Programmatic interface for the CLI, useful for unit testing
Command-line argument strings
A promise resolving to the command action's return value
Run the command-line interface, console.log the result, and exit
Command line arguments parsed and passed into the command
action. Defaults to process.argv.slice(2)
in Node.js.
A promise resolving to the command's exit code
Split a command line into args and call ICli.run
A command line
A promise resolving to the command's exit code
A command-line interface (CLI) created by
Cli