The initialization options for this CLI
The initialization options for this CLI
The logger to be used by this CLI
The unique run ID this CLI is executing
A process can have only one CLI execution at a time
Override this to add shared args, options, middleware, or modify yargs parser configuration
(you can do almost anything specified in yargs API
The current args
The updated args
Returns a list of command file paths to load to the parser
Defaults to .ts/.js files in the {@link cliInitOptions.commandsDir} path (excluding ones starting with abstract
)
Override this to implement your own filtering scheme
Loads the command modules from disk
The run completion promise to be passed to the commands
The initialized command objects
Builds the full init options from the user's partial options and the default options
The user's partial options
The full init options
Creates a completion promise to be used by the CLI commands
This is needed since yargs doesn't fully support async parsing (See issue 1420 for details)
The completion promise
Initialize logger engine (if needed)
Provide cli arguments via a json settings file
Called automatically by runFromArgs
The pre-parsed arguments object
Execute the CLI for a given set of arguments
A preprocessed set of arguments or the process run arguments
Generated using TypeDoc
The CLI
Extend this to add functionality and customization