Static Propertyheckj.formic 0.3.0Formic
inquiry
OperatingSystem.swift:16static var inquiry: (any Command) { get }
static var inquiry: (any Command) { get }
import Formic
๐ Swift library to support IT Automation tasks. ๐ ๐
struct OperatingSystem
The kind of operating system.
protocol Command : Hashable, Identifiable, Sendable
A type that represents a command, run locally or remotely.
init(_ kind: KindOfOperatingSystem)
Creates a new resource instance for the kind of operating system you provide.
init(_ name: String)
Creates a new instance of the resource based on the string you provide.
static func parse(_ output: Data) -> OperatingSystem?
Returns the state of the resource from the output of the shell command.
var inquiry: (any Command) { get }
let name: KindOfOperatingSystem
The kind of operating system.
enum KindOfOperatingSystem
The types of operating system this resource can represent.