Construct the yargs command instance for imperative. Provides the ability to define Imperative commands to Yargs.
Parameter object contains parms for Imperative/Yargs and command response objects
The command line.
Command response parameters - controls command response processing when help and command handlers are invoked
The command definition document
Environmental variable name prefix used to construct configuration environmental variables.
The help generator factory for creating help generators for the commands
The Yargs parent object - used to obtain parent handlers.
Profile manager factory (for creating managers of certain types)
Prompt phrase which indicates the user would like to be prompted for an argument's value with a hidden text prompt
The root command name for the CLI.
The Yargs instance to define the command.
Parameter object contains parms for Imperative/Yargs and command response objects
TODO: REMOVE THIS, workaround for yargs.fail() problem
Accessor for the command line
Returns a copy of the definition.
: A copy of the definition.
Accessor for the Environmental variable prefix
Accessor for the help generator factory.
Get the array of parents.
: The array of parents.
Accessor for the profile manager factory
Accessor for the CLI prompt phrase
Accessor for the command response parms (for subclasses)
Accessor for the root command name for the CLI
Returns the Yargs instance.
: The Yargs instance.
Construct the Bright command definition "tree" - the full definition document including all parents.
: The command definition "tree".
Define the command to Yargs - Accepts the callback to be invoked when this command has executed.
Execute the help Command for the definition.
Execute the web help Command for the definition.
Build The Bright Yargs response for the callback. Includes the Bright command response and status info.
Get examples for all commands of a group
Generated using TypeDoc
Abstract Yargs Bright Command - Contains base methods for defining commands and groups