yargs-factory.ts ×3
Frontier kind: Code frontier
unlabeled · c_4e8c50239f99
623 tests · 2018 LOC · 18 files · introduces 0 tests · 10 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
3 ranges 10 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.
yargs-factory.ts ×3 — Focused concept
Introduced files:
command.mjs|title=Command global parsing hints coerce should not be applied multiple times for nested commands|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 positional allows normalize 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:
command.mjs|title=Command positional arguments does not overwrite options in argv if variadic|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:
yargs.mjs|title=yargs dsl tests positional allows a default to be set|occurrence=1, yargs.mjs|title=yargs dsl tests positional defaults array with no arguments to []|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests positional allows an alias to be provided|occurrence=1 — Ancestor (broader)
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:
middleware.mjs|title=middleware applyBeforeValidation=true applies aliases before middleware is called, for global middleware|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command should kick along [demand] configuration to commands|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware applyBeforeValidation=true runs before validation|occurrence=1 — Ancestor (broader)
Introduced tests:
string|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests .coerce() returns camelcase args for a command|occurrence=1, yargs.mjs|title=yargs dsl tests .coerce() supports positional and variadic args for a command|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests when exitProcess is false fail() is invoked with yargs instance as third argument|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command global parsing hints validation applies demandOption globally|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware async check failure allows error to be caught before calling command and middleware|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command variadic allows camel-case, variadic arguments, and strict mode to be combined|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware async check failure allows error to be caught before calling command|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests positional shows that variadic positional arguments are arrays|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests positional allows a defaultDescription to be set|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command positional aliases allows variadic and positional arguments to be combined|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests default command should display options (with descriptions) on failed default command|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command positional arguments handles -- in conjunction with positional arguments|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command variadic allows optional arguments to be variadic|occurrence=1, command.mjs|title=Command variadic does not fail if zero optional arguments are provided|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command positional arguments continues to support populate-- for commands, post #1457|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware async it allows middleware rejection to be caught|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware async fails when the promise returned by the middleware rejects|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:
command.mjs|title=Command global parsing hints types applies choices type globally|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:
command.mjs|title=Command async fails when the promise returned by the command handler rejects|occurrence=1 — Ancestor (broader)
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:
command.mjs|title=Command positional arguments does not load config twice when command executed|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware async it awaits middleware before awaiting handler, when applyBeforeValidation is "false"|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×2 — Ancestor (broader)
Introduced files:
middleware.mjs|title=middleware runs the middleware before reaching the handler|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×1 — Ancestor (broader)
Introduced files:
middleware.mjs|title=middleware async $0 applies middleware before performing validation, with explicit $0|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×1 — Ancestor (broader)
Introduced files:
middleware.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×1 — Ancestor (broader)
Introduced files:
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:
validation.mjs|title=validation tests demand fails in strict mode with extra positionals for default command|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:
middleware.mjs|title=middleware applyBeforeValidation=true still throws error when async middleware is used|occurrence=1 — Ancestor (broader)
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=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests choices fails when demandOption is true and choice is not provided|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests check callback has access to options|occurrence=1, validation.mjs|title=validation tests check does not fail if error is not thrown in check callback, and true is returned|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests check fails if error is thrown in check callback|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:
usage.mjs|title=usage tests commands should not show hidden commands|occurrence=1, usage.mjs|title=usage tests commands should output a list of available commands|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
command.mjs|title=Command default commands allows default command to be set as alias|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command does not coerce number from positional with leading "+"|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.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:
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 when exitProcess is false fail() when command() throws error fail() is called with the original error object as the second parameter|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:
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:
validation.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests should display example on fail|occurrence=1 — Ancestor (broader)
Introduced tests:
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:
usage.mjs|title=usage tests wrap should wrap the left-hand-column if it takes up more than 50%25 of the screen|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 "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:
yargs.mjs|title=yargs dsl tests exitProcess should set exit process to true, if no argument provided|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware synchronous $0 applies global middleware when default command is provided, with explicit $0|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:
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 showHelp should not run handler or middleware|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 showHelpOnFail should display user supplied message|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command default commands executes default command if no positional arguments given|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
middleware.mjs|title=middleware async coerce allows error to be caught|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.ts ×1 — Ancestor (broader)
Introduced files:
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 default serializes object and array defaults|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.mjs|title=yargs dsl tests .coerce() argv does not include stripped dashes|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×1 — Ancestor (broader)
Introduced files:
validation.mjs|title=validation tests demandOption allows demandOption in option shorthand|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests .coerce() coerce still works when key used for coerce is not explicitly present in argv|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×8 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
validation.ts ×2 — Ancestor (broader)
Introduced files:
command.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests command does not recommend a similar command if no similar command exists|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests demand fails when a required argument is missing|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware async check failure allows failed check to be caught|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
validation.ts ×2 — Ancestor (broader)
Introduced files:
validation.ts ×3 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests should not require config object for an option|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests demandOption allows an array of options to be demanded|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests choices fails with one invalid value|occurrence=1, validation.mjs|title=validation tests choices fails with case-insensitive value|occurrence=1, +3 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests .coerce() allows an error to be handled by fail() handler|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
middleware.mjs|title=middleware async $0 applies global middleware when no commands are provided, with implied $0|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
validation.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests exitProcess when exitProcess is set to false and a failure occurs should throw an exception|occurrence=1, yargs.mjs|title=yargs dsl tests exitProcess when exitProcess is set to false and a failure occurs should output the errors to stderr once|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware synchronous $0 applies global middleware when no commands are provided|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×2 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests should not print usage string if help() is called without arguments|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests should not remove the 1st argument of bundled electron apps|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×5 — Ancestor (broader)
Introduced files:
validation.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
command.ts ×3 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests should return a valid result when setting defaults for singles|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
validation.ts ×3 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests parse parses a quoted string|occurrence=1, yargs.mjs|title=yargs dsl tests parse parses a simple string|occurrence=1, +2 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests should not pollute the prototype does not pollute, when .parse() is called|occurrence=1 — Ancestor (broader)
Introduced tests:
command.ts ×8 — Ancestor (broader)
Introduced files:
validation.ts ×7 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
validation.mjs|title=validation tests config should raise an appropriate error if JSON file is not found|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.ts ×1 — Ancestor (broader)
Introduced files:
validation.ts ×3 — Ancestor (broader)
Introduced files:
command.ts ×2 — 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:
middleware.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
validation.ts ×3 — Ancestor (broader)
Introduced files:
usage.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:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
validation.ts ×3 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×3 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
maybe-async-result.ts ×1 — Ancestor (broader)
Introduced files:
validation.ts ×3 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
usage.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:
middleware.ts ×3 — Ancestor (broader)
Introduced files:
usage.ts ×19 — Ancestor (broader)
Introduced files:
usage.ts ×4 — Ancestor (broader)
Introduced files:
validation.ts ×4 — Ancestor (broader)
Introduced files:
usage.ts ×5 — Ancestor (broader)
Introduced files:
maybe-async-result.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — 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:
maybe-async-result.ts ×4 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
middleware.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 ×5 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×9 — 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 ×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 ×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: 10 introduced LOC across 3 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
lib/yargs-factory.ts 10 introduced LOC · 3 ranges
Open complete file
2173
);
2174
}
2176
>
// Handle 'help' and 'version' options
2177
>
// if we haven't already output help!
2178
>
if ( ! this . # hasOutput ) {
2179
if ( helpOptSet ) {
2180
if ( this . # exitProcess ) setBlocking ( true );
2191
}
2192
}
2194
>
// Check if any of the options to skip validation were provided
2195
if ( ! skipValidation && this . # options . skipValidation . length > 0 ) {
2196
skipValidation = Object . keys ( argv ). some (
2199
);
2200
}
2202
>
// If the help or version options were used and exitProcess is false,
2203
>
// or if explicitly skipped, we won't run validations.
2204
>
if ( ! skipValidation ) {
2205
if ( parsed . error ) throw new YError ( parsed . error . message );
2206