- Source:
Classes
Methods
-
<static> CommandBuilder.command(cli) → {CommandBuilder}
-
Create a new commmand with its CLI descriptor. This command can then retrieve the parsed CommandProcess#commandLine when it executes to know get the command arguments and options.
Parameters:
Name Type Description cli
CLI the cli to use Returns:
the command- Type
- CommandBuilder