new Command()
- Source:
Methods
-
cli() → {CLI}
-
- Source:
Returns:
-
the command line interface, can be null
-
- Type
- CLI
-
complete(completion)
-
Perform command completion, when the command is done completing it should call or )} method to signal completion is done.
Parameters:
Name Type Description completionCompletion the completion object - Source:
-
name() → {string}
-
- Source:
Returns:
-
the command name
-
- Type
- string
-
process(process)
-
Process the command, when the command is done processing it should call the CommandProcess#end method.
Parameters:
Name Type Description processCommandProcess the command process - Source: