Required Static Methodheckj.formic 0.3.0Formic

parse(_:)

Returns the resource, if it exists, from the output of the shell command, otherwise nil.

Resource.swift:27
static func parse(_ output: Data) throws -> Self?

Parameters

output

The string output of the shell command.

Throws

Any errors parsing the output.