yargs-factory.ts ×1
Frontier kind: Code frontier
unlabeled · c_31a1c7026f11
710 tests · 1905 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 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 ×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:
yargs.mjs|title=yargs dsl tests positional allows a coerce method to be provided|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests parse can be called multiple times with the same behavior|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
command.mjs|title=Command async builder allows positionals to be configured asynchronously|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command global parsing hints coerce should not add aliases to argv if strip-aliased config is true|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:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs.mjs|title=yargs dsl tests command accepts a module with a keys 'command', 'describe', 'builder', and 'handler'|occurrence=1 — Ancestor (broader)
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 a number type to be specified|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:
command.mjs|title=Command help command displays command help appropriately|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:
yargs.mjs|title=yargs dsl tests positional allows a boolean type to be specified|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 global parsing hints strict does not fire command if validation fails|occurrence=1 — Ancestor (broader)
Introduced tests:
string|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command async displays error and appropriate help message when handler fails|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests demand should recognize context variables in strict mode, when running sub-commands|occurrence=1 — Ancestor (broader)
Introduced tests:
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-factory.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs.mjs|title=yargs dsl tests async argv returns promise that can be caught if rejected|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command async returns promise that can be caught, when fail(false)|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:
validation.mjs|title=validation tests conflicts should not fail if conflicting argument is provided, without argument with conflict|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command should allow positional arguments for inner commands in strict mode, when no handler is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests demand should recognize context variables in strict mode|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command global parsing hints strict does not fail strict check due to positional command arguments|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command global parsing hints validation allows each builder to specify own 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:
yargs.mjs|title=yargs dsl tests bug #1758 does not drop .0 if flag is configured as string|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 argv returns deeply nested promise that resolves argv on success|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-test.mjs|title=ESM hierarchy of commands allows array of commands to be registered|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 allows an array of commands to be provided|occurrence=1, yargs-test.mjs|title=ESM hierarchy of commands allows array of subcommands to be registered|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:
yargs.mjs|title=yargs dsl tests async argv returns promise that resolves argv on success|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command async returns promise that resolves arguments once handler succeeds|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
command.mjs|title=Command positional aliases allows variadic and positional arguments to be combined|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command allows builder function to return parsed argv|occurrence=1, command.mjs|title=Command allows builder function to parse argv without returning|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests async parse calls parse callback once async handler has resolved|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command default commands allows command to be run when alias is default command|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command default commands does not execute default command if another command is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command executes a command via alias|occurrence=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:
command.mjs|title=Command positional aliases allows an alias to be defined for an optional positional argument|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command positional aliases allows several aliases to be defined for an optional positional argument|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command positional arguments populates inner argv with positional arguments|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command handles positional arguments if command is invoked using .parse()|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command variadic only allows the last argument to be variadic|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command builder helpOrVersionSet cmd|occurrence=1, yargs.mjs|title=yargs dsl tests function passed as second argument to parse commands populates argv appropriately when parse is called multiple times|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 positional displays choices array|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests positional should display help section for positionals|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests commands preserves global wrap() for commands that do not override it|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests commands allows a command to override global wrap()|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:
command.mjs|title=Command global parsing hints config loads config for command by default|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 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:
command.mjs|title=Command global parsing hints describe flags an option as global if a description is set|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command builder helpOrVersionSet help|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests function passed as second argument to parse commands populates output appropriately when parse is called multiple times|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:
completion.mjs|title=Completion bash does not complete hidden options for command|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs-factory.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
yargs.mjs|title=yargs dsl tests locale handles a missing locale|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests command executes top-level help if no handled command is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests locale allows a locale other than the default 'en' to be specified|occurrence=1 — Ancestor (broader)
Introduced tests:
$0 if it has no aliases|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests defaultDescription using option() without default() should prefer given desc over function desc|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests command does not print command recommendation if help message will be shown|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 defaultDescription using option() with default() should prefer option() desc over default() function|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests .help() with .alias() uses multi-char (but not single-char) help alias as command|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests defaultDescription using option() with default() should prefer option() desc when given last|occurrence=1, usage.mjs|title=usage tests defaultDescription using option() with default() should prefer default() desc when given last|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests showHelp should not run handler or middleware|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests defaultDescription using option() without default() should output given desc with default value|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 defaultDescription using option() without default() should output given desc without default value|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 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 commands should list a module command only once|occurrence=1 — Ancestor (broader)
Introduced tests:
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 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.mjs|title=usage tests group only displays a duplicated option once per group|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×3 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests commands displays aliases for commands that have them (with wrap)|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:
command.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests normalizeAliases should display 'required' string in help message if set for alias|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests group does not print the 'Options:' group if no keys are in it|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests normalizeAliases should display 'type' number in help message if set for alias|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 if a named function is provided, should use name rather than (generated-value)|occurrence=1, usage.mjs|title=usage tests default should indicate that the default is a generated-value, if function is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests default serializes object and array defaults|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.mjs|title=usage tests default default-description take precedence if one is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
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:
usage.mjs|title=usage tests normalizeAliases should display 'description' string in help message if set for alias|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests normalizeAliases should display 'type' string in help message if set for alias|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:
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 group allows multiple options to be grouped at the same time|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.mjs|title=usage tests showHelp should not run default command|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion bash avoids interruption from command recommendations|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion zsh avoids interruption from command recommendations|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests locale properly translates a region-specific locale file|occurrence=1 — Ancestor (broader)
Introduced tests:
command.mjs|title=Command commandDir supports a "visit" function option|occurrence=1 — Ancestor (broader)
Introduced tests:
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:
yargs.mjs|title=yargs dsl tests .help() enables `--help` option and `help` command without arguments|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
levenshtein.ts ×2 — 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:
usage.ts ×4 — 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 ×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:
usage.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×3 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×2 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
usage.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 ×1 — 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:
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 ×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:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
command.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 ×2 — Ancestor (broader)
Introduced files:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
maybe-async-result.ts ×4 — 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:
command.ts ×1 — Ancestor (broader)
Introduced files:
usage.ts ×2 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests locale uses english as a default locale|occurrence=1, yargs.mjs|title=yargs dsl tests locale detects the operating system's locale|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×2 — 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:
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: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
lib/yargs-factory.ts 2 introduced LOC · 1 range
Open complete file
880
}
881
locale ( locale? : string ) : YargsInstance | string {
883
>
if ( locale === undefined ) {
884
this [ kGuessLocale ]();
885
return this . # shim . y18n . getLocale ();