I want to completely overwrite usage information from commander js:
Usage: name [options]
Options:
-V, --version output the version number
-h, --help display help for command
to create my own. However, I cannot find option to do that.
I want to completely overwrite usage information from commander js:
Usage: name [options]
Options:
-V, --version output the version number
-h, --help display help for command
to create my own. However, I cannot find option to do that.
From the README: https://github.com/tj/commander.js
The built-in help is formatted using the Help class. You can configure the Help behaviour by modifying data properties and methods using
.configureHelp(), or by subclassing using.createHelp()if you prefer.
.usage and .name
These allow you to customise the usage description in the first line of the help.