Required Instance Propertyheckj.formic 0.3.0Formic
inquiry
The command to use to get the state for this resource.
var inquiry: (any Command) { get }
The command to use to get the state for this resource.
var inquiry: (any Command) { get }
import Formic
๐ Swift library to support IT Automation tasks. ๐ ๐
protocol ParsedResource : Resource
A resource that provides an inquiry command and parser to return the state of the resource.
protocol Command : Hashable, Identifiable, Sendable
A type that represents a command, run locally or remotely.
static func parse(_ output: Data) throws -> Self?
Returns the resource, if it exists, from the output of the shell command, otherwise nil.