Creates a DocometCommander instance
The base command name
Base command name
The Command object from commander
StaticpackagePackage JSON (name | version)
Add a help text
The help text
DocometCommander instance
Add an option
Option flags
Option description
Required flag
OptionaldefaultValue: stringDefault value
Choices for the option
DocometCommander instance
Convert to a JSON object
The JSON object representation
Convert to a string
The string representation
StaticnewCreates a DocometCommander instance
The arguments for the constructor
DocometCommander instance
StaticrunRuns the command asynchronously
The callback function
A Promise that resolves when the command execution is complete
Commander
See