yargs-factory.ts ×1
Frontier kind: Code frontier
unlabeled · c_a4a5b16b9a25
36 tests · 2247 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 a choices array to be specified|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:
validation.mjs|title=validation tests choices succeeds when demandOption is true and valid choice is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
validation.mjs|title=validation tests choices succeeds when demandOption is false and no choice is provided|occurrence=1, validation.mjs|title=validation tests choices succeeds when demandOption is not provided and no choice is provided|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
usage.mjs|title=usage tests positional displays choices array|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices for first positional|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices for nested command|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices for second positional after option|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) options choices should not be display with positional choices|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices for positional with prefix|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:
completion, --get-yargs-completions, …) completes choices for first positional|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) completes choices for second positional after option|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) completes choices for nested command|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) options choices should not be display with positional choices|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) completes choices for positional with prefix|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.ts ×1 — Ancestor (broader)
Introduced files:
completion, --get-yargs-completions, …) completes choices if previous option or one of its aliases requires a choice and a partial choice has been entered|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) completes choices if previous option or one of its aliases requires a choice and space has been entered|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) completes choices if previous option or one of its aliases requires a choice|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) completes choices if previous option requires a choice and a partial choice has been entered|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) completes choices if previous option requires a choice and space has been entered|occurrence=1 — Ancestor (broader)
Introduced tests:
completion, --get-yargs-completions, …) completes choices if previous option requires a choice|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 choices should output choices when defined for non-hidden options|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices if previous option or one of its aliases requires a choice and a partial choice has been entered|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices if previous option or one of its aliases requires a choice and space has been entered|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices if previous option or one of its aliases requires a choice|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices if previous option requires a choice and a partial choice has been entered|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices if previous option requires a choice and space has been entered|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.mjs|title=Completion default completion behavior calling yargs(--get-yargs-completions, …) completes choices if previous option requires a choice|occurrence=1 — Ancestor (broader)
Introduced tests:
middleware.mjs|title=middleware async coerce allows error to be caught|occurrence=1 — Ancestor (broader)
Introduced tests:
completion.ts ×1 — Ancestor (broader)
Introduced files:
completion.ts ×3 — Ancestor (broader)
Introduced files:
middleware.mjs|title=middleware async coerce applies coerce before validation|occurrence=1 — Ancestor (broader)
Introduced tests:
usage.ts ×1 — Ancestor (broader)
Introduced files:
yargs.mjs|title=yargs dsl tests should ignore a missing array choice with an empty default|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs.mjs|title=yargs dsl tests should allow a valid choice|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×28 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×5 — 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:
usage.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×9 — 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 ×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.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: 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
1006
1007
if ( opt . choices ) {
1009
>
}
1010
1011
if ( opt . coerce ) {