Skip to content
Myr

Link to Help class in configure-help.js and README.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Raine Revere · committed by Abe Tomoaki · parent f4c7349 · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:examples/configure-help.js+2 added
modified:Readme.md+1 added-1 removed
917 unmodified lines
918- `sortSubcommands`: sort the subcommands alphabetically919- `sortOptions`: sort the options alphabetically920- `showGlobalOptions`: show a section with the global options from the parent command(s)921922There are methods getting the visible lists of arguments, options, and subcommands. There are methods for formatting the items in the lists, with each item having a _term_ and _description_. Take a look at `.formatHelp()` to see how they are used.922You can override any method on the [Help](./lib/help.js) class. There are methods getting the visible lists of arguments, options, and subcommands. There are methods for formatting the items in the lists, with each item having a _term_ and _description_. Take a look at `.formatHelp()` to see how they are used.923924Example file: [configure-help.js](./examples/configure-help.js)925926```js
203 unmodified lines