SYMBOL INDEX (317 symbols across 45 files) FILE: examples/arguments-custom-processing.js function myParseInt (line 10) | function myParseInt(value) { function mySum (line 20) | function mySum(value, total) { FILE: examples/color-help-replacement.mjs class MyHelp (line 20) | class MyHelp extends Help { method constructor (line 21) | constructor() { method prepareContext (line 26) | prepareContext(contextOptions) { method displayWidth (line 33) | displayWidth(str) { method boxWrap (line 37) | boxWrap(str, width) { method styleTitle (line 41) | styleTitle(str) { method styleCommandText (line 44) | styleCommandText(str) { method styleCommandDescription (line 47) | styleCommandDescription(str) { method styleDescriptionText (line 50) | styleDescriptionText(str) { method styleOptionText (line 53) | styleOptionText(str) { method styleArgumentText (line 56) | styleArgumentText(str) { method styleSubcommandText (line 59) | styleSubcommandText(str) { class MyCommand (line 64) | class MyCommand extends Command { method createCommand (line 65) | createCommand(name) { method createHelp (line 68) | createHelp() { FILE: examples/configure-output.js function errorColor (line 4) | function errorColor(str) { FILE: examples/custom-command-class.js class CommandWithTrace (line 6) | class CommandWithTrace extends commander.Command { method createCommand (line 7) | createCommand(name) { function inspectCommand (line 15) | function inspectCommand(command) { FILE: examples/global-options-added.js class MyRootCommand (line 16) | class MyRootCommand extends Command { method createCommand (line 17) | createCommand(name) { FILE: examples/help-centered.mjs class MyHelp (line 6) | class MyHelp extends Help { method formatItem (line 7) | formatItem(term, termWidth, description, helper) { class MyCommand (line 17) | class MyCommand extends Command { method createCommand (line 18) | createCommand(name) { method createHelp (line 21) | createHelp() { FILE: examples/man-style-help.mjs function formatItem (line 5) | function formatItem(term, termWidth, description, helper) { FILE: examples/nestedCommands.js function makeHeatCommand (line 21) | function makeHeatCommand() { FILE: examples/options-custom-processing.js function myParseInt (line 10) | function myParseInt(value) { function increaseVerbosity (line 19) | function increaseVerbosity(dummyValue, previous) { function collect (line 23) | function collect(value, previous) { function commaSeparatedList (line 27) | function commaSeparatedList(value) { FILE: lib/argument.js class Argument (line 3) | class Argument { method constructor (line 13) | constructor(name, description) { method name (line 48) | name() { method _collectValue (line 56) | _collectValue(value, previous) { method default (line 73) | default(value, description) { method argParser (line 86) | argParser(fn) { method choices (line 98) | choices(values) { method argRequired (line 119) | argRequired() { method argOptional (line 129) | argOptional() { function humanReadableArgName (line 143) | function humanReadableArgName(arg) { FILE: lib/command.js class Command (line 13) | class Command extends EventEmitter { method constructor (line 20) | constructor(name) { method copyInheritedSettings (line 99) | copyInheritedSettings(sourceCommand) { method _getCommandAndAncestors (line 121) | _getCommandAndAncestors() { method command (line 155) | command(nameAndArgs, actionOptsOrExecDesc, execOpts) { method createCommand (line 192) | createCommand(name) { method createHelp (line 203) | createHelp() { method configureHelp (line 215) | configureHelp(configuration) { method configureOutput (line 245) | configureOutput(configuration) { method showHelpAfterError (line 261) | showHelpAfterError(displayHelp = true) { method showSuggestionAfterError (line 273) | showSuggestionAfterError(displaySuggestion = true) { method addCommand (line 288) | addCommand(cmd, opts) { method createArgument (line 316) | createArgument(name, description) { method argument (line 336) | argument(name, description, parseArg, defaultValue) { method arguments (line 359) | arguments(names) { method addArgument (line 375) | addArgument(argument) { method helpCommand (line 409) | helpCommand(enableOrNameAndArgs, description) { method addHelpCommand (line 443) | addHelpCommand(helpCommand, deprecatedDescription) { method _getHelpCommand (line 463) | _getHelpCommand() { method hook (line 487) | hook(event, listener) { method exitOverride (line 508) | exitOverride(fn) { method _exit (line 533) | _exit(exitCode, code, message) { method action (line 556) | action(fn) { method createOption (line 585) | createOption(flags, description) { method _callParseArg (line 599) | _callParseArg(target, value, previous, invalidArgumentMessage) { method _registerOption (line 619) | _registerOption(option) { method _registerCommand (line 644) | _registerCommand(command) { method addOption (line 670) | addOption(option) { method _optionEx (line 741) | _optionEx(config, flags, description, fn, defaultValue) { method option (line 788) | option(flags, description, parseArg, defaultValue) { method requiredOption (line 805) | requiredOption(flags, description, parseArg, defaultValue) { method combineFlagAndOptionalValue (line 826) | combineFlagAndOptionalValue(combine = true) { method allowUnknownOption (line 837) | allowUnknownOption(allowUnknown = true) { method allowExcessArguments (line 848) | allowExcessArguments(allowExcess = true) { method enablePositionalOptions (line 861) | enablePositionalOptions(positional = true) { method passThroughOptions (line 875) | passThroughOptions(passThrough = true) { method _checkForBrokenPassThrough (line 885) | _checkForBrokenPassThrough() { method storeOptionsAsProperties (line 905) | storeOptionsAsProperties(storeAsProperties = true) { method getOptionValue (line 925) | getOptionValue(key) { method setOptionValue (line 940) | setOptionValue(key, value) { method setOptionValueWithSource (line 953) | setOptionValueWithSource(key, value, source) { method getOptionValueSource (line 971) | getOptionValueSource(key) { method getOptionValueSourceWithGlobals (line 983) | getOptionValueSourceWithGlobals(key) { method _prepareUserArgs (line 1001) | _prepareUserArgs(argv, parseOptions) { method parse (line 1090) | parse(argv, parseOptions) { method parseAsync (line 1119) | async parseAsync(argv, parseOptions) { method _prepareForParse (line 1127) | _prepareForParse() { method saveStateBeforeParse (line 1141) | saveStateBeforeParse() { method restoreStateBeforeParse (line 1158) | restoreStateBeforeParse() { method _checkForMissingExecutable (line 1183) | _checkForMissingExecutable(executableFile, executableDir, subcommandNa... method _executeSubCommand (line 1202) | _executeSubCommand(subcommand, args) { method _dispatchSubcommand (line 1352) | _dispatchSubcommand(commandName, operands, unknown) { method _dispatchHelpCommand (line 1380) | _dispatchHelpCommand(subcommandName) { method _checkNumberOfArguments (line 1403) | _checkNumberOfArguments() { method _processArguments (line 1428) | _processArguments() { method _chainOrCall (line 1481) | _chainOrCall(promise, fn) { method _chainOrCallHooks (line 1499) | _chainOrCallHooks(promise, event) { method _chainOrCallSubCommandHook (line 1531) | _chainOrCallSubCommandHook(promise, subCommand, event) { method _parseCommand (line 1550) | _parseCommand(operands, unknown) { method _findCommand (line 1649) | _findCommand(name) { method _findOption (line 1664) | _findOption(arg) { method _checkForMissingMandatoryOptions (line 1675) | _checkForMissingMandatoryOptions() { method _checkForConflictingLocalOptions (line 1694) | _checkForConflictingLocalOptions() { method _checkForConflictingOptions (line 1723) | _checkForConflictingOptions() { method parseOptions (line 1748) | parseOptions(args) { method opts (line 1902) | opts() { method optsWithGlobals (line 1924) | optsWithGlobals() { method error (line 1940) | error(message, errorOptions) { method _parseOptionsEnv (line 1966) | _parseOptionsEnv() { method _parseOptionsImplied (line 1996) | _parseOptionsImplied() { method missingArgument (line 2034) | missingArgument(name) { method optionMissingArgument (line 2046) | optionMissingArgument(option) { method missingMandatoryOptionValue (line 2058) | missingMandatoryOptionValue(option) { method _conflictingOption (line 2070) | _conflictingOption(option, conflictingOption) { method unknownOption (line 2114) | unknownOption(flag) { method _excessArguments (line 2146) | _excessArguments(receivedArgs) { method unknownCommand (line 2162) | unknownCommand() { method version (line 2195) | version(str, flags, description) { method description (line 2218) | description(str, argsDescription) { method summary (line 2234) | summary(str) { method alias (line 2249) | alias(alias) { method aliases (line 2289) | aliases(aliases) { method usage (line 2304) | usage(str) { method name (line 2331) | name(str) { method helpGroup (line 2344) | helpGroup(heading) { method commandsGroup (line 2363) | commandsGroup(heading) { method optionsGroup (line 2382) | optionsGroup(heading) { method _initOptionGroup (line 2392) | _initOptionGroup(option) { method _initCommandGroup (line 2401) | _initCommandGroup(cmd) { method nameFromFilename (line 2419) | nameFromFilename(filename) { method executableDir (line 2437) | executableDir(path) { method helpInformation (line 2450) | helpInformation(contextOptions) { method _getOutputContext (line 2475) | _getOutputContext(contextOptions) { method outputHelp (line 2505) | outputHelp(contextOptions) { method helpOption (line 2559) | helpOption(flags, description) { method _getHelpOption (line 2592) | _getHelpOption() { method addHelpOption (line 2607) | addHelpOption(option) { method help (line 2621) | help(contextOptions) { method addHelpText (line 2656) | addHelpText(position, text) { method _outputHelpIfRequested (line 2686) | _outputHelpIfRequested(args) { function incrementNodeInspectorPort (line 2705) | function incrementNodeInspectorPort(args) { function useColor (line 2752) | function useColor() { FILE: lib/error.js class CommanderError (line 4) | class CommanderError extends Error { method constructor (line 11) | constructor(exitCode, code, message) { class InvalidArgumentError (line 25) | class InvalidArgumentError extends CommanderError { method constructor (line 30) | constructor(message) { FILE: lib/help.js class Help (line 12) | class Help { method constructor (line 13) | constructor() { method prepareContext (line 29) | prepareContext(contextOptions) { method visibleCommands (line 40) | visibleCommands(cmd) { method compareOptions (line 62) | compareOptions(a, b) { method visibleOptions (line 79) | visibleOptions(cmd) { method visibleGlobalOptions (line 112) | visibleGlobalOptions(cmd) { method visibleArguments (line 139) | visibleArguments(cmd) { method subcommandTerm (line 162) | subcommandTerm(cmd) { method optionTerm (line 182) | optionTerm(option) { method argumentTerm (line 193) | argumentTerm(argument) { method longestSubcommandTermLength (line 205) | longestSubcommandTermLength(cmd, helper) { method longestOptionTermLength (line 224) | longestOptionTermLength(cmd, helper) { method longestGlobalOptionTermLength (line 241) | longestGlobalOptionTermLength(cmd, helper) { method longestArgumentTermLength (line 258) | longestArgumentTermLength(cmd, helper) { method commandUsage (line 276) | commandUsage(cmd) { method commandDescription (line 300) | commandDescription(cmd) { method subcommandDescription (line 313) | subcommandDescription(cmd) { method optionDescription (line 325) | optionDescription(option) { method argumentDescription (line 372) | argumentDescription(argument) { method formatItemList (line 403) | formatItemList(heading, items, helper) { method groupItems (line 417) | groupItems(unsortedItems, visibleItems, getGroup) { method formatHelp (line 443) | formatHelp(cmd, helper) { method displayWidth (line 535) | displayWidth(str) { method styleTitle (line 545) | styleTitle(str) { method styleUsage (line 549) | styleUsage(str) { method styleCommandDescription (line 563) | styleCommandDescription(str) { method styleOptionDescription (line 566) | styleOptionDescription(str) { method styleSubcommandDescription (line 569) | styleSubcommandDescription(str) { method styleArgumentDescription (line 572) | styleArgumentDescription(str) { method styleDescriptionText (line 575) | styleDescriptionText(str) { method styleOptionTerm (line 578) | styleOptionTerm(str) { method styleSubcommandTerm (line 581) | styleSubcommandTerm(str) { method styleArgumentTerm (line 594) | styleArgumentTerm(str) { method styleOptionText (line 597) | styleOptionText(str) { method styleArgumentText (line 600) | styleArgumentText(str) { method styleSubcommandText (line 603) | styleSubcommandText(str) { method styleCommandText (line 606) | styleCommandText(str) { method padWidth (line 618) | padWidth(cmd, helper) { method preformatted (line 633) | preformatted(str) { method formatItem (line 650) | formatItem(term, termWidth, description, helper) { method boxWrap (line 695) | boxWrap(str, width) { function stripColor (line 740) | function stripColor(str) { FILE: lib/option.js class Option (line 3) | class Option { method constructor (line 11) | constructor(flags, description) { method default (line 47) | default(value, description) { method preset (line 65) | preset(arg) { method conflicts (line 82) | conflicts(names) { method implies (line 100) | implies(impliedOptionValues) { method env (line 120) | env(name) { method argParser (line 132) | argParser(fn) { method makeOptionMandatory (line 144) | makeOptionMandatory(mandatory = true) { method hideHelp (line 156) | hideHelp(hide = true) { method _collectValue (line 165) | _collectValue(value, previous) { method choices (line 181) | choices(values) { method name (line 203) | name() { method attributeName (line 217) | attributeName() { method helpGroup (line 230) | helpGroup(heading) { method is (line 243) | is(arg) { method isBoolean (line 256) | isBoolean() { class DualOptions (line 268) | class DualOptions { method constructor (line 272) | constructor(options) { method valueFromOption (line 297) | valueFromOption(value, option) { function camelcase (line 316) | function camelcase(str) { function splitOptionFlags (line 328) | function splitOptionFlags(flags) { FILE: lib/suggestSimilar.js function editDistance (line 3) | function editDistance(a, b) { function suggestSimilar (line 56) | function suggestSimilar(word, candidates) { FILE: tests/argument.custom-processing.test.js function justSayNo (line 169) | function justSayNo(value) { FILE: tests/command.action.test.js function delay (line 115) | async function delay() { function getTestCases (line 128) | function getTestCases(arg) { FILE: tests/command.allowExcessArguments.test.js function configureCommand (line 8) | function configureCommand(cmd) { FILE: tests/command.argumentVariations.test.js function getSingleArgCases (line 90) | function getSingleArgCases(arg) { function getMultipleArgCases (line 112) | function getMultipleArgCases(arg1, arg2) { FILE: tests/command.createArgument.test.js class MyArgument (line 3) | class MyArgument extends commander.Argument { method constructor (line 4) | constructor(name, description) { class MyCommand (line 10) | class MyCommand extends commander.Command { method createArgument (line 11) | createArgument(name, description) { method createCommand (line 16) | createCommand(name) { FILE: tests/command.createHelp.test.js class MyHelp (line 4) | class MyHelp extends commander.Help { method formatHelp (line 5) | formatHelp(cmd, helper) { class MyCommand (line 10) | class MyCommand extends commander.Command { method createHelp (line 11) | createHelp() { FILE: tests/command.createOption.test.js class MyOption (line 3) | class MyOption extends commander.Option { method constructor (line 4) | constructor(flags, description) { class MyCommand (line 10) | class MyCommand extends commander.Command { method createOption (line 11) | createOption(flags, description) { FILE: tests/command.default.test.js function makeProgram (line 29) | function makeProgram() { function makeProgram (line 61) | function makeProgram() { FILE: tests/command.executableSubcommand.mock.test.js function makeSystemError (line 8) | function makeSystemError(code) { FILE: tests/command.executableSubcommand.search.test.js function extractMockSpawnArgs (line 11) | function extractMockSpawnArgs(mock) { function extractMockSpawnCommand (line 18) | function extractMockSpawnCommand(mock) { FILE: tests/command.exitOverride.test.js function expectCommanderError (line 11) | function expectCommanderError(err, exitCode, code, message) { function justSayNo (line 355) | function justSayNo(value) { function justSayNo (line 378) | function justSayNo(value) { function justSayNo (line 449) | function justSayNo(value) { FILE: tests/command.parse.test.js function collect (line 269) | function collect(value, previous) { function increaseVerbosity (line 283) | function increaseVerbosity(dummyValue, previous) { FILE: tests/command.parseOptions.test.js function createProgram1032 (line 14) | function createProgram1032() { function createProgram (line 56) | function createProgram() { function createProgram (line 243) | function createProgram() { FILE: tests/command.positionalOptions.test.js function makeProgram (line 7) | function makeProgram() { function makeProgram (line 76) | function makeProgram() { function makeProgram (line 151) | function makeProgram() { function makeProgram (line 219) | function makeProgram() { function makeProgram (line 291) | function makeProgram() { function makeProgram (line 335) | function makeProgram() { function makeProgram (line 393) | function makeProgram() { function makeProgram (line 462) | function makeProgram() { function makeProgram (line 494) | function makeProgram() { FILE: tests/command.showHelpAfterError.test.js function makeProgram (line 6) | function makeProgram() { FILE: tests/command.showSuggestionAfterError.test.js function getSuggestion (line 3) | function getSuggestion(program, arg) { FILE: tests/createCommand.test.js class MyClass (line 11) | class MyClass extends commander.Command { method constructor (line 12) | constructor(name) { method createCommand (line 17) | createCommand(name) { function createCustom (line 27) | function createCustom(name) { FILE: tests/esm-imports-test.mjs function check (line 19) | function check(condition, explanation) { function checkClass (line 26) | function checkClass(obj, name) { FILE: tests/help.stripAnsi.test.js constant ESC (line 7) | const ESC = '\u001b'; constant CSI (line 8) | const CSI = ESC + '['; FILE: tests/help.style.test.js function red (line 3) | function red(str) { function stripRed (line 7) | function stripRed(str) { function displayWidth (line 10) | function displayWidth(str) { function makeProgram (line 16) | function makeProgram() { function makeProgram (line 232) | function makeProgram(hasColors) { FILE: tests/help.suggestion.test.js function getSuggestion (line 6) | function getSuggestion(program, arg) { FILE: tests/incrementNodeInspectorPort.test.js function makeProgram (line 29) | function makeProgram() { function extractMockExecArgs (line 38) | function extractMockExecArgs(mock) { FILE: tests/options.bool.combo.test.js function createPepperProgram (line 8) | function createPepperProgram() { function createPepperProgramWithDefault (line 49) | function createPepperProgramWithDefault(defaultValue) { function createPepperProgramWithDefaultAndPreset (line 122) | function createPepperProgramWithDefaultAndPreset() { FILE: tests/options.conflicts.test.js function makeProgram (line 5) | function makeProgram() { FILE: tests/options.custom-processing.test.js function myParseInt (line 3) | function myParseInt(value, dummyPrevious) { function increaseVerbosity (line 8) | function increaseVerbosity(dummyValue, previous) { function collect (line 12) | function collect(value, previous) { function commaSeparatedList (line 16) | function commaSeparatedList(value, dummyPrevious) { FILE: tests/options.values.test.js function createPortProgram (line 12) | function createPortProgram() { function createPortProgram (line 46) | function createPortProgram() { FILE: tests/program.test.js function checkClass (line 20) | function checkClass(obj, name) { FILE: tests/ts-imports.test.ts function checkClass (line 17) | function checkClass(obj: object, name: string): void { FILE: typings/index.d.ts type LiteralUnion (line 12) | type LiteralUnion = class CommanderError (line 16) | class CommanderError extends Error { class InvalidArgumentError (line 31) | class InvalidArgumentError extends CommanderError { type ErrorOptions (line 40) | interface ErrorOptions { class Argument (line 48) | class Argument { class Option (line 95) | class Option { class Help (line 210) | class Help { type HelpConfiguration (line 340) | type HelpConfiguration = Partial; type ParseOptions (line 342) | interface ParseOptions { type HelpContext (line 345) | interface HelpContext { type AddHelpTextContext (line 349) | interface AddHelpTextContext { type OutputConfiguration (line 354) | interface OutputConfiguration { type AddHelpTextPosition (line 367) | type AddHelpTextPosition = 'beforeAll' | 'before' | 'after' | 'afterAll'; type HookEvent (line 368) | type HookEvent = 'preSubcommand' | 'preAction' | 'postAction'; type OptionValueSource (line 370) | type OptionValueSource = type OptionValues (line 374) | type OptionValues = Record; class Command (line 376) | class Command { type CommandOptions (line 1094) | interface CommandOptions { type ExecutableCommandOptions (line 1100) | interface ExecutableCommandOptions extends CommandOptions { type ParseOptionsResult (line 1104) | interface ParseOptionsResult { FILE: typings/index.test-d.ts function myParseInt (line 168) | function myParseInt(value: string): number { function increaseVerbosity (line 172) | function increaseVerbosity(dummyValue: string, previous: number): number { function collect (line 176) | function collect(value: string, previous: string[]): string[] { function commaSeparatedList (line 180) | function commaSeparatedList(value: string): string[] { type MyCheeseOption (line 384) | interface MyCheeseOption { class MyCommand (line 509) | class MyCommand extends commander.Command { method createCommand (line 510) | createCommand(name?: string): MyCommand { method myFunction (line 514) | myFunction(): void {