usage.ts ×1
Frontier kind: Code frontier
unlabeled · c_15747d5fa6cc
8 tests · 2698 LOC · 18 files · introduces 0 tests · 6 LOC · 2 files
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 6 lines · 2 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.
Introduced files, introduced tests, and structurally relevant concept specialization 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 · 0 introduced LOC usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: string} in sub-command|occurrence=1, usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: boolean} in sub-command|occurrence=1 · 0 introduced LOC usage.mjs|title=usage te… 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 · 0 introduced LOC usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: true} should show [deprecated]|occurrence=1, usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: string} should show [deprecated: string]|occurrence=1 · 0 introduced LOC usage.mjs|title=usage te… yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 6 introduced LOC yargs-factory.ts ×1 usage.ts ×2 · 10 introduced LOC usage.ts ×2 usage.ts ×2 · 8 introduced LOC usage.ts ×2 yargs-factory.ts ×1 · 1 introduced LOC yargs-factory.ts ×1 usage.ts ×2 · 6 introduced LOC usage.ts ×2 usage.ts ×1 · 2 introduced LOC usage.ts ×1 usage.ts ×17 · 142 introduced LOC usage.ts ×17 yargs-factory.ts ×3 · 5 introduced LOC yargs-factory.ts ×3 yargs-factory.ts ×1 · 3 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 5 introduced LOC yargs-factory.ts ×1 usage.ts ×3 · 3 introduced LOC usage.ts ×3 command.ts ×1 · 1 introduced LOC command.ts ×1 usage.ts ×1 · 4 introduced LOC usage.ts ×1 usage.ts ×1 · 1 introduced LOC usage.ts ×1 usage.ts ×19 · 125 introduced LOC usage.ts ×19 yargs-factory.ts ×1 · 6 introduced LOC yargs-factory.ts ×1 set-blocking.ts ×3 · 10 introduced LOC set-blocking.ts ×3 yargs-factory.ts ×1 · 4 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×2 · 53 introduced LOC yargs-factory.ts ×2 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×3 · 3 introduced LOC yargs-factory.ts ×3 usage.ts ×2 · 8 introduced LOC usage.ts ×2 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×28 · 76 introduced LOC yargs-factory.ts ×28 middleware.ts ×3 · 13 introduced LOC middleware.ts ×3 yargs-factory.ts ×3 · 10 introduced LOC yargs-factory.ts ×3 yargs-factory.ts ×2 · 9 introduced LOC yargs-factory.ts ×2 yargs-factory.ts ×2 · 3 introduced LOC yargs-factory.ts ×2 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×5 · 66 introduced LOC yargs-factory.ts ×5 yargs-factory.ts ×5 · 11 introduced LOC yargs-factory.ts ×5 yargs-factory.ts ×5 · 20 introduced LOC yargs-factory.ts ×5 usage.ts ×1 · 1 introduced LOC usage.ts ×1 yargs-factory.ts ×1 · 1 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×2 · 8 introduced LOC yargs-factory.ts ×2 usage.ts ×1 · 10 introduced LOC usage.ts ×1 yargs-factory.ts ×9 · 72 introduced LOC yargs-factory.ts ×9 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 4 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 3 introduced LOC yargs-factory.ts ×1 usage.ts ×1 · 6 introduced LOC usage.ts ×1 usage.ts ×1 · 1 introduced LOC usage.ts ×1 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 4 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 3 introduced LOC yargs-factory.ts ×1 usage.mjs|title=usage tests $0 is detected correctly for a basic script|occurrence=1, usage.mjs|title=usage tests $0 is detected correctly when dirname contains "iojs"|occurrence=1, +1 · 0 introduced LOC usage.mjs|title=usage te… yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×2 · 7 introduced LOC yargs-factory.ts ×2 command.ts ×1 · 2 introduced LOC command.ts ×1 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 20 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×1 · 2 introduced LOC yargs-factory.ts ×1 yargs-factory.ts ×35 · 577 introduced LOC yargs-factory.ts ×35 yargs-factory.ts ×124 · 1015 introduced LOC yargs-factory.ts ×124 argsert.ts ×1 · 1 introduced LOC argsert.ts ×1 argsert.mjs|title=Argsert allows for any type if * is provided|occurrence=1, argsert.mjs|title=Argsert should ignore trailing undefined values|occurrence=1 · 0 introduced LOC argsert.mjs|title=Argser… argsert.ts ×1 · 2 introduced LOC argsert.ts ×1 argsert.ts ×1 · 7 introduced LOC argsert.ts ×1 argsert.ts ×1 · 1 introduced LOC argsert.ts ×1 argsert.ts ×1 · 7 introduced LOC argsert.ts ×1 argsert.ts ×1 · 2 introduced LOC argsert.ts ×1 argsert.ts ×1 · 1 introduced LOC argsert.ts ×1 argsert.ts ×2 · 3 introduced LOC argsert.ts ×2 argsert.ts ×3 · 6 introduced LOC argsert.ts ×3 parse-command.ts ×1 · 4 introduced LOC parse-command.ts ×1 parse-command.ts ×1 · 5 introduced LOC parse-command.ts ×1 parse-command.ts ×3 · 19 introduced LOC parse-command.ts ×3 process-argv.ts ×1 · 5 introduced LOC process-argv.ts ×1 process-argv.ts ×3 · 14 introduced LOC process-argv.ts ×3 argsert.ts ×1 · 3 introduced LOC argsert.ts ×1 apply-extends.ts ×4 · 9 introduced LOC apply-extends.ts ×4 argsert.ts ×4 · 27 introduced LOC argsert.ts ×4 obj-filter.ts ×2 · 10 introduced LOC obj-filter.ts ×2 argsert.ts ×3 · 13 introduced LOC argsert.ts ×3 common-types.ts ×4 · 134 introduced LOC common-types.ts ×4 process-argv.ts ×5 · 13 introduced LOC process-argv.ts ×5 is-promise.ts ×2 · 7 introduced LOC is-promise.ts ×2 parse-command.ts ×1 · 6 introduced LOC parse-command.ts ×1 parse-command.ts ×2 · 14 introduced LOC parse-command.ts ×2 yerror.ts ×2 · 4 introduced LOC yerror.ts ×2 is-promise.ts ×1 · 1 introduced LOC is-promise.ts ×1 lib/argsert.ts · 101 LOC lib/argsert.ts lib/command.ts · 876 LOC lib/command.ts lib/completion-templates.ts · 58 LOC lib/completion-templates… lib/completion.ts · 414 LOC lib/completion.ts lib/middleware.ts · 134 LOC lib/middleware.ts lib/parse-command.ts · 44 LOC lib/parse-command.ts lib/typings/common-types.ts · 145 LOC typings/common-types.ts lib/usage.ts · 835 LOC lib/usage.ts lib/utils/apply-extends.ts · 79 LOC utils/apply-extends.ts lib/utils/is-promise.ts · 9 LOC utils/is-promise.ts lib/utils/levenshtein.ts · 72 LOC utils/levenshtein.ts lib/utils/maybe-async-result.ts · 28 LOC utils/maybe-async-result… lib/utils/obj-filter.ts · 14 LOC utils/obj-filter.ts lib/utils/process-argv.ts · 36 LOC utils/process-argv.ts lib/utils/set-blocking.ts · 21 LOC utils/set-blocking.ts lib/validation.ts · 520 LOC lib/validation.ts lib/yargs-factory.ts · 2437 LOC lib/yargs-factory.ts lib/yerror.ts · 9 LOC lib/yerror.ts helpers.mjs|title=helpers Parser exposes functional argument parser|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/helpers.mjs|title=helpers Parser exposes functional argument parser|occurrence=1 helpers.mjs|title=helper… platform-shim-test.mjs|title=platform-shim y18n __ behaves like sprintf|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/platform-shim-test.mjs|title=platform-shim y18n __ behaves like sprintf|occurrence=1 platform-shim-test.mjs|t… platform-shim-test.mjs|title=platform-shim y18n __n uses first string if singular|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/platform-shim-test.mjs|title=platform-shim y18n __n uses first string if singular|occurrence=1 platform-shim-test.mjs|t… platform-shim-test.mjs|title=platform-shim y18n __n uses second string if plural|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:esm|file=test/esm/platform-shim-test.mjs|title=platform-shim y18n __n uses second string if plural|occurrence=1 platform-shim-test.mjs|t… argsert.mjs|title=Argsert allows for any type if * is provided|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/argsert.mjs|title=Argsert allows for any type if * is provided|occurrence=1 argsert.mjs|title=Argser… argsert.mjs|title=Argsert does not warn if optional argument is not provided|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/argsert.mjs|title=Argsert does not warn if optional argument is not provided|occurrence=1 argsert.mjs|title=Argser… argsert.mjs|title=Argsert does not warn if optional argument is valid|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/argsert.mjs|title=Argsert does not warn if optional argument is valid|occurrence=1 argsert.mjs|title=Argser… argsert.mjs|title=Argsert should ignore trailing undefined values|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/argsert.mjs|title=Argsert should ignore trailing undefined values|occurrence=1 argsert.mjs|title=Argser… argsert.mjs|title=Argsert supports null as special type|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/argsert.mjs|title=Argsert supports null as special type|occurrence=1 argsert.mjs|title=Argser… is-promise.mjs|title=isPromise returns `false` if passed object has no `then` property|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/is-promise.mjs|title=isPromise returns `false` if passed object has no `then` property|occurrence=1 is-promise.mjs|title=isP… is-promise.mjs|title=isPromise returns `false` if some falsy value is passed|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/is-promise.mjs|title=isPromise returns `false` if some falsy value is passed|occurrence=1 is-promise.mjs|title=isP… is-promise.mjs|title=isPromise returns `false` on non promise value|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/is-promise.mjs|title=isPromise returns `false` on non promise value|occurrence=1 is-promise.mjs|title=isP… parse-command.mjs|title=parseCommand should throw if no command is specified|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/parse-command.mjs|title=parseCommand should throw if no command is specified|occurrence=1 parse-command.mjs|title=… parser.mjs|title=should expose yargs-parser as Parser|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/parser.mjs|title=should expose yargs-parser as Parser|occurrence=1 parser.mjs|title=should … usage.mjs|title=usage tests $0 is detected correctly for a basic script|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly for a basic script|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests $0 is detected correctly when dirname contains "iojs"|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly when dirname contains "iojs"|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests $0 is detected correctly when dirname contains "node"|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests $0 is detected correctly when dirname contains "node"|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x) in a sub-command|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x) in a sub-command|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x) should show [deprecated]|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x) should show [deprecated]|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x, string) in a sub-command|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x, string) in a sub-command|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x, string) should show [deprecated: string]|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests deprecate options using .deprecateOption(x, [string]) .deprecateOption(x, string) should show [deprecated: string]|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: boolean} in sub-command|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: boolean} in sub-command|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: string} in sub-command|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: string} in sub-command|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: string} should show [deprecated: string]|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: string} should show [deprecated: string]|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: true} should show [deprecated]|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: true} should show [deprecated]|occurrence=1 usage.mjs|title=usage te… usage.mjs|title=usage tests version option when an option or alias "version" is set does not emit warning if version is disabled|occurrence=1 · introduced test · mocha:v1|namespace=yargs@4153e0f097aeaf43a71a2530db6dda51dff2c544:main|file=test/usage.mjs|title=usage tests version option when an option or alias "version" is set does not emit warning if version is disabled|occurrence=1 usage.mjs|title=usage te… Focused concept · usage.ts ×1 · 6 introduced LOC usage.ts ×1
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:
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:
usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: string} in sub-command|occurrence=1, usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: boolean} in sub-command|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 deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: true} should show [deprecated]|occurrence=1, usage.mjs|title=usage tests deprecate options using .option(x, {deprecate: [boolean%7Cstring]}) {deprecated: string} should show [deprecated: string]|occurrence=1 — Ancestor (broader)
Introduced tests:
yargs-factory.ts ×1 — Ancestor (broader)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
usage.ts ×2 — Descendant (narrower)
Introduced files:
usage.ts ×2 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
usage.ts ×2 — Descendant (narrower)
Introduced files:
usage.ts ×1 — Descendant (narrower)
Introduced files:
usage.ts ×17 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×3 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
usage.ts ×3 — Descendant (narrower)
Introduced files:
command.ts ×1 — Descendant (narrower)
Introduced files:
usage.ts ×1 — Descendant (narrower)
Introduced files:
usage.ts ×1 — Descendant (narrower)
Introduced files:
usage.ts ×19 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
set-blocking.ts ×3 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×2 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×3 — Descendant (narrower)
Introduced files:
usage.ts ×2 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×28 — Descendant (narrower)
Introduced files:
middleware.ts ×3 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×3 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×2 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×2 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×5 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×5 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×5 — Descendant (narrower)
Introduced files:
usage.ts ×1 — 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:
usage.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 ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
yargs-factory.ts ×1 — Descendant (narrower)
Introduced files:
usage.mjs|title=usage tests $0 is detected correctly for a basic script|occurrence=1, usage.mjs|title=usage tests $0 is detected correctly when dirname contains "iojs"|occurrence=1, +1 — Descendant (narrower)
Introduced tests:
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 ×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:
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.
2 files ranked by introduced lines: 6 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
lib/yargs-factory.ts 4 introduced LOC · 1 range
Open complete file
678
}
679
deprecateOption ( option : string , message : string | boolean ) : YargsInstance {
680
>
argsert ( '<string> [string|boolean]' , [ option , message ], arguments . length );
yargs-factory.ts
681
>
this . # options . deprecatedOptions [ option ] = message ;
682
>
return this ;
683
>
}
684
describe (
685
keys : string | string [] | Dictionary < string >,
lib/usage.ts 2 introduced LOC · 1 range
Open complete file
425
426
const deprecatedExtra = ( deprecated? : string | boolean ) =>
427
>
typeof deprecated === 'string'
usage.ts
428
>
? `[ ${ __ ( 'deprecated: %s' , deprecated ) } ]`
429
: `[ ${ __ ( 'deprecated' ) } ]` ;
430