native macOS codings agent orchestrator prowl.onev.cat
Something went wrong. Try again.
Swift
123456789101112131415161718192021222324// ProwlCLI/Commands/ListCommand.swift
import ArgumentParserimport ProwlCLIShared
struct ListCommand: ParsableCommand { static let configuration = CommandConfiguration( commandName: "list", abstract: "List all worktrees, tabs, and panes." )
@OptionGroup var options: GlobalOptions
mutating func run() throws { try CLIExecution.run(command: "list", output: options.outputMode, colorEnabled: options.colorEnabled) { let envelope = CommandEnvelope( output: options.outputMode, command: .list(ListInput()) ) try CLIRunner.execute(envelope) } }}