usage.ts ×1
Frontier kind: Code frontier
unlabeled · c_6dc053947ac2
261 tests · 2191 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 1 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
usage.ts ×1 — Focused concept
Introduced files:
yargs.mjs|title=yargs dsl tests positional allows an implied argument to be specified|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests positional allows a choices array to be specified|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse commands preserves top-level config when parse is called multiple times|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests positional allows a conflicting argument to be specified|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests with strict() option set should wrap whitespace in quotes if provided as an unknown argument|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests default command should display help output for nested default command on failure|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests help message caching should not display a cached help message for the next parsing|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests usage for default command positional should contain the expected output for showHelp|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command should kick along [demand] configuration to commands|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command global parsing hints strict does not fire command if validation fails|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests async argv caches deeply nested help output, so that it can be output by showHelp()|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs.mjs|title=yargs dsl tests async argv caches nested help output, so that it can be output by showHelp()|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests async parse caches deeply nested help output, so that it can be output by showHelp()|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests positional shows that variadic positional arguments are arrays|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests async parse caches nested help output, so that it can be output by showHelp()|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests positional indicates that <foo> positional arguments are required|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests default command should display options (with descriptions) on failed default command|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests help message caching should display proper usage when an async handler fails|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command default only should contain the expected output for showHelp, when exception occurs|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands should display global non empty groups for subcommands|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests command accepts an object for describing a command's options|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands allows global option to be disabled|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands should display global non empty groups for commands|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests positional displays choices array|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests positional displays type information|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests positional displays aliases appropriately|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests getHelp should allow help to be output for failed command|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command multiple should contain the expected output for getHelp when called from within handler|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests positional should display help section for positionals|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests usage for default command multiple should contain the expected output for showHelp when called from within handler|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
command.mjs|title=Command global parsing hints coerce should bubble errors thrown by coerce function inside commands|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x) in a sub-command|occurrence=1, usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x, string) in a sub-command|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests getHelp should allow help to be output for successful command|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests getHelp should use cached help message for nested synchronous commands|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse commands resets errors when parse is called multiple times|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests with strict() option set should fail given an option argument without a corresponding description|occurrence=1, usage.mjs|title=usage tests with strict() option set should fail given multiple option arguments without corresponding descriptions|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command default only should contain the expected output for getHelp when called from within handler|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse commands does not invoke command handler if output is populated|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests wrap should wrap argument descriptions onto multiple lines|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command default only should contain the expected output for showHelp when called from within handler|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests async builder positional should contain the expected output for --help|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests default command should display positionals that have been configured|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command positional should contain the expected output for --help|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests demand option with boolean flag with demand option should report missing required arguments|occurrence=1, usage.mjs|title=usage tests demand option with boolean flag with required option should report missing required arguments|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands allows a builder function to override default usage() string|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests demand options using .demand() missing argument message given if one command, but an argument not on the list is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests demand options using .demand() missing command message if all the required arguments exist, but not enough commands are provided|occurrence=2 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests demand options using .demand() missing command message if all the required arguments exist, but not enough commands are provided|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs.mjs|title=yargs dsl tests command skips executing root-level command if builder's help is executed|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands does not display $0 twice when default commands are enabled|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command global parsing hints groups should apply custom option groups globally|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands displays given command chain with positional args in default usage for subcommand with builder object|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
command.mjs|title=Command global parsing hints help applies help globally|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands displays given command chain with positional args in default usage for subcommand with builder function|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command global parsing hints describe flags an option as global if a description is set|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands allows a builder to add more than one usage with multiple usage calls|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests should print a single line when failing and default is set for an alias|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
command.mjs|title=Command builder helpOrVersionSet --help|occurrence=1, command.mjs|title=Command async builder helpOrVersionSet --help|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests commands allows a builder to disable usage with null after multiple usage calls|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests should return a custom failure message when not enough non-hyphenated arguments are found after a demand count|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests should return a failure message when not enough non-hyphenated arguments are found after a demand count|occurrence=1 — Ancestor (broader)
Introduced tests:
max demanded count allows a customer error message to be provided|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests required arguments with requiresArg method should show a failure message if a required option is missing|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
command.mjs|title=Command async builder does not print to stdout when parse callback is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
max demanded count outputs an error if '_' count is above max|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests required arguments with options object should show a failure message if a required option is missing|occurrence=1, usage.mjs|title=usage tests required arguments with options object should show a failure message if more than one required option is missing|occurrence=1 — Ancestor (broader)
Introduced tests:
max demanded count outputs an error if '_' count is below min|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests reset does not invoke parse with an error if reset has been called and option is not global|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests demand options should not show a custom message if msg is null|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests demand options using .demand() using .require() should show an error along with the missing arguments on demand fail|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests demand options using .demand() should show an error along with the missing arguments on demand fail|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command multiple should contain the expected output for --help|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests should display a failed message when check condition fails|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests wrap should wrap the usage string|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs.mjs|title=yargs dsl tests positional allows positionals to be defined for default command|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests should display missing arguments when check fails with a thrown exception|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse resets error state between calls to parse|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs.mjs|title=yargs dsl tests showHelpOnFail should display custom failure message, if string is provided as first argument|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests default command should display top-level help with no command given|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests wrap should align span columns when ansi colors are used in a description|occurrence=1, usage.mjs|title=usage tests wrap should align span columns when ansi colors are not used in a description|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests "nargs" with "array" should raise error if not enough values follow nargs key|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse gets passed argv as second argument|occurrence=1, yargs.mjs|title=yargs dsl tests function passed as second argument to parse gets passed error as first argument|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests showHelpOnFail calling with no arguments should default to displaying help|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests strictOptions fails if option is unknown|occurrence=1, validation.mjs|title=validation tests strictOptions applies strict options when commands are invoked|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs.mjs|title=yargs dsl tests exitProcess should set exit process to true, if no argument provided|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
$0 if it has no aliases|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests requiresArg fails when a required argument value of type array is missing|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests requiresArg fails when a required argument value of type number is missing|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests requiresArg fails when a required argument value of type string is missing|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests accepts an object for implies|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests requiresArg fails when a required argument value of type boolean is missing|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests allows multiple option calls to not clobber description|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests when exitProcess is false when check fails with a thrown exception should display missing arguments once|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests group allows an an option to be placed in an alternative group|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests showHelp should not run handler or middleware|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests demandCommand should return a custom failure message when too many non-hyphenated arguments are found after a demand count|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests help option should use 2 dashes for general 1-digit usage|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests help option should use single dashes for 1-digit boolean alias usage|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests getHelp should not run handler or middleware|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command default only should contain the expected output for --help|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests group allows group to be provided in the options object|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests choices should not output choices when defined for hidden options|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests hidden options --help should display all options except for hidden ones even in a group|occurrence=1, usage.mjs|title=usage tests hidden options --help should display all groups except for ones with only hidden options|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests help option should use 2 dashes for multiple-digit alias usage|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x) should show [deprecated]|occurrence=1, usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x, string) should show [deprecated: string]|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command multiple should contain the expected output for showHelp|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests choices should output choices when defined for non-hidden options|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests help option should use single dashes for 1-digit boolean key usage|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests hidden options --help should display all options except for hidden ones|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests array should indicate when an option is an array|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×3 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests help option when exitProcess is false should not validate arguments (nargs)|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command multiple should contain the expected output for getHelp|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests help option when exitProcess is false should not validate arguments (required argument)|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests scriptName should display user supplied scriptName|occurrence=1, usage.mjs|title=usage tests scriptName should not alter the user supplied scriptName|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests parse parses process.parse() if no arguments are provided|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests getHelp should display top-level help with no command given|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests config outputs an error returned by the parsing function|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests config outputs an error if thrown by the parsing function|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests required arguments still requires argument if 'type' hints are given|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests showHelp should call the correct console.log method when specified|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests showHelp should show help regardless of whether argv has been called|occurrence=1, usage.mjs|title=usage tests showHelp should print the help using console.error when no arguments were specified|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests .coerce() shows coerced option in help|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests showHelp should call the callback to print when specified|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command default only should contain the expected output for showhelp|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests group displays alias keys appropriately within a grouping|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests help option should display usage|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests config should be displayed in the help message|occurrence=1, validation.mjs|title=validation tests config should allow help message to be overridden|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests getHelp should run parse() and return help, if parse() not yet called|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests should add --help as an option for printing usage text if help() is called without arguments|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse gets passed output as third argument|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests showHelp should not run default command|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests usage for default command default only should contain the expected output for getHelp|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests wrap should not indent usage when no wrap is specified|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests allows setting help and version with aliases and custom description|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests locale uses locale string for help option default desc on .help().locale()|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests locale uses locale string for help option default desc on .locale().help()|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×4 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests group allows a group to be provided as the only information about an option|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×3 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse does not print to stdout|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse does not call callback if subsequently called without callback|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests .help() enables `--help` option and `help` command without arguments|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse reinstates original exitProcess setting after invocation|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×2 — Ancestor (broader)
Introduced files:
command.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×3 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests cjk should calculate width of cjk text correctly|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×4 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×3 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×19 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×3 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×5 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×2 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×9 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
usage.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×2 — Descendant (narrower)
Introduced files:
command.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×35 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×124 — Descendant (narrower)
Introduced files:
Introduced tests:
argsert.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
argsert.mjs|title=Argsert allows for any type if * is provided|occurrence=1, argsert.mjs|title=Argsert should ignore trailing undefined values|occurrence=1 — Descendant (narrower)
Introduced tests:
argsert.ts ×1 — Descendant (narrower)
Introduced files:
argsert.ts ×1 — Descendant (narrower)
Introduced files:
argsert.ts ×1 — Descendant (narrower)
Introduced files:
argsert.ts ×1 — Descendant (narrower)
Introduced files:
argsert.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
argsert.ts ×2 — Descendant (narrower)
Introduced files:
argsert.ts ×3 — Descendant (narrower)
Introduced files:
parse-command.ts ×1 — Descendant (narrower)
Introduced files:
parse-command.ts ×1 — Descendant (narrower)
Introduced files:
parse-command.ts ×3 — Descendant (narrower)
Introduced files:
process-argv.ts ×1 — Descendant (narrower)
Introduced files:
process-argv.ts ×3 — Descendant (narrower)
Introduced files:
argsert.ts ×1 — Descendant (narrower)
Introduced files:
apply-extends.ts ×4 — Descendant (narrower)
Introduced files:
Introduced tests:
argsert.ts ×4 — Descendant (narrower)
Introduced files:
obj-filter.ts ×2 — Descendant (narrower)
Introduced files:
argsert.ts ×3 — Descendant (narrower)
Introduced files:
common-types.ts ×4 — Descendant (narrower)
Introduced files:
process-argv.ts ×5 — Descendant (narrower)
Introduced files:
Introduced tests:
is-promise.ts ×2 — Descendant (narrower)
Introduced files:
Introduced tests:
parse-command.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
parse-command.ts ×2 — Descendant (narrower)
Introduced files:
yerror.ts ×2 — Descendant (narrower)
Introduced files:
is-promise.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 1 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
lib/usage.ts 1 introduced LOC · 1 range
Open complete file
583
584
self . hasCachedHelpMessage = function () {
585
>
return !! cachedHelpMessage ;
usage.ts
586
};
587