ErrLookup › tj/commander.js

tj/commander.js

node.js command-line interfaces made easy · JavaScript · 10 source files

Analyzed at ba6d13ddb4 on 2026-08-03. 26 documented errors.

Code / MessageTypeSeverityTags
Allowed choices are .
validation error validation, choices, argument, commander, user-input
Not a number.
validation error commander, argument-parsing, validation, cli
outputHelp callback must return a string or a Buffer
exception error help, deprecation, callback, commander
' ' does not exist - if ' ' is not meant to be an…
exception critical commander, executable-subcommand, file-system, packaging, cli
Can not call parse again when storeOptionsAsProperties is…
exception error commander, parse, option-storage, reparse, configuration
option creation failed due to
exception error option, flags, validation, commander
Command alias can't be the same as its name
exception error commander, alias, configuration, validation
passThroughOptions cannot be used for
exception error commander, positional-options, passthrough, configuration
option creation failed due to
exception error option, flags, validation, commander
Unexpected value for position to addHelpText. Expecting one…
exception error help, validation, commander
cannot add alias ' ' to command ' ' as already have command
exception error commander, alias, conflict, configuration
option creation failed due to no flags found in
exception error option, flags, validation, commander
option creation failed due to
exception error option, flags, validation, commander
' ' not executable
exception critical commander, executable-subcommand, permissions, eacces, filesystem
a default value for a required argument is never used
exception error commander, argument, default-value, configuration
option creation failed due to
exception error option, flags, validation, commander
cannot add command ' ' as already have command
exception error commander, subcommand, conflict, alias, configuration
To add an Option object use addOption() instead of option()…
exception error commander, option, api-misuse, configuration
Cannot add option ' ' '`} due to conflicting flag ' ' -…
exception error commander, option, conflict, flag, configuration
first parameter to parse must be array or undefined
exception error commander, parse, argv, api-misuse
call .storeOptionsAsProperties() before adding options
exception error commander, option-storage, ordering, configuration
unexpected parse option
exception error commander, parse, parse-options, api-misuse
Unexpected value for event passed to hook
exception error commander, hook, lifecycle, configuration
Command passed to .addCommand() must have a name - specify…
exception error commander, subcommand, addcommand, configuration
only the last argument can be variadic
exception error commander, argument, variadic, configuration
call .storeOptionsAsProperties() before setting option…
exception error commander, option-storage, ordering, configuration