CommandGroup
A set of commands grouped together under a common name.
struct CommandGroup
A set of commands grouped together under a common name.
struct CommandGroup
import ArgumentParser
Straightforward, type-safe argument parsing for Swift.
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
init(name: String, subcommands: [ParsableCommand.Type])
Create a command group.
let name: String
The name of the command group that will be displayed in help.
let subcommands: [ParsableCommand.Type]
The list of subcommands that are part of this group.