-
Group prefix
Declaration
Swift
public let name: String? -
Declaration
Swift
public func executables() -> [_ExecutableCommand] -
Add a group prefix to these commands.
NOTE: Only one group prefix is supported. So calling
.group(_:)on a Group will not do anythingDeclaration
Swift
public func group(_ group: String) -> Group -
Create a new
GroupDeclaration
Swift
public init(_ name: String? = nil, @CommandBuilder commands: () -> Commands)Parameters
nameOptionally provide a group prefix. All commands in this group will be prefixed with this.
commandsCommands in this group.
View on GitHub
Group Structure Reference