/
asias
/
new
Обзор
Документация
Войти
/
asias
/
new
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
new
/
node_modules
/
commander
/
..
lib
project
8 месяцев назад
typings
project
8 месяцев назад
LICENSE
project
8 месяцев назад
Readme.md
project
8 месяцев назад
esm.mjs
project
8 месяцев назад
index.js
project
8 месяцев назад
package-support.json
project
8 месяцев назад
package.json
project
8 месяцев назад
Commander.js
Installation
Declaring program variable
Options
Common option types, boolean and value
Default option value
Other option types, negatable boolean and boolean|value
Required option
Variadic option
Version option
More configuration
Custom option processing
Commands
Command-arguments
More configuration
Custom argument processing
Action handler
Stand-alone executable (sub)commands
Life cycle hooks
Automated help
Custom help
Display help after errors
Display help from code
.usage and .name
.helpOption(flags, description)
.addHelpCommand()
More configuration
Custom event listeners
Bits and pieces
.parse() and .parseAsync()
Parsing Configuration
Legacy options as properties
TypeScript
createCommand()
Node options such as `--harmony`
Debugging stand-alone executable subcommands
Override exit and output handling
Additional documentation
Examples
Support
Commander for enterprise
Readme.md