Mutable Command Builder
constructor(name: String, description: Description = Description.empty(), aliases: Array<String> = emptyArray(), commandManager: CommandManager<C>)
Create a new MutableCommandBuilder
Parameters
name
name for the root command node
description
description for the root command node
aliases
aliases for the root command node
command Manager
the command manager which will own this command
constructor(name: String, description: Description = Description.empty(), aliases: Array<String> = emptyArray(), commandManager: CommandManager<C>, lambda: MutableCommandBuilder<C>.() -> Unit)
Create a new MutableCommandBuilder and invoke the provided receiver lambda on it
Parameters
name
name for the root command node
description
description for the root command node
aliases
aliases for the root command node
command Manager
the command manager which will own this command
lambda
receiver lambda which will be invoked on the new builder
Create a new MutableCommandBuilder