Instance Propertyswift-argument-parser 1.6.1ArgumentParser
subcommands
The list of subcommands that are part of this group.
let subcommands: [any ParsableCommand.Type]
The list of subcommands that are part of this group.
let subcommands: [any ParsableCommand.Type]
s14ArgumentParser12CommandGroupV11subcommandsSayAA08ParsableC0_pXpGvp
What are these?218D9
import ArgumentParser
Straightforward, type-safe argument parsing for Swift.
struct CommandGroup
A set of commands grouped together under a common name.
protocol ParsableCommand : ParsableArguments
A type that can be executed as part of a nested tree of commands.
init(name: String, subcommands: [any ParsableCommand.Type])
Create a command group.
let name: String
The name of the command group that will be displayed in help.