native macOS codings agent orchestrator prowl.onev.cat
Something went wrong. Try again.
Swift
123456789101112131415161718192021222324252627282930import ArgumentParserimport ProwlCLIShared
struct ProfilesCommand: ParsableCommand { static let configuration = CommandConfiguration( commandName: "profiles", abstract: "Inspect configured Agent Profiles.", subcommands: [ProfilesListCommand.self] )}
struct ProfilesListCommand: ParsableCommand { static let configuration = CommandConfiguration( commandName: "list", abstract: "List enabled and disabled Agent Profiles with runtime availability." )
@OptionGroup var options: GlobalOptions
mutating func run() throws { try CLIExecution.run(command: "profiles", output: options.outputMode, colorEnabled: options.colorEnabled) { let envelope = CommandEnvelope( output: options.outputMode, command: .profiles(ProfilesInput()) ) try CLIRunner.execute(envelope) } }}