lib
community-001 · 81 concepts · page 1 of 1
+usage.mjs|title=usage tests defaultDescription using positional() with default() should prefer positional() desc over default() function|occurrence=1
2 tests · 3206 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests defaultDescription using positional() with default() should prefer default() desc when given last|occurrence=1, usage.mjs|title=usage tests defaultDescription using positional() with default() should prefer positional() desc when given last|occurrence=1
2 tests · 3204 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+usage.mjs|title=usage tests defaultDescription using positional() without default() should output given desc with default value|occurrence=1
2 tests · 3198 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command preserves top-level envPrefix|occurrence=1
1 test · 3135 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command commandDir allows commands files to be written as ESM modules|occurrence=1
3 tests · 3079 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+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
2 tests · 2754 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+usage.mjs|title=usage tests hidden options --help should display --custom-show-hidden|occurrence=1, usage.mjs|title=usage tests hidden options --help should display all options with --custom-show-hidden|occurrence=1
2 tests · 2715 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+usage.mjs|title=usage tests help option when exitProcess is false should not validate arguments (nargs)|occurrence=1
1 test · 2750 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests default default-description take precedence if one is provided|occurrence=1
1 test · 2679 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests locale properly translates a region-specific locale file|occurrence=1
2 tests · 2642 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parsing --value as a value in -f=--value and --bar=--value should work with nargs|occurrence=1
5 tests · 2465 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests narg allows key to be specified with option shorthand|occurrence=1
6 tests · 2464 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should not pollute the prototype does not pollute, when options are set|occurrence=1
1 test · 2470 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests narg accepts a hash of keys and counts|occurrence=1
1 test · 2388 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests narg accepts a key as the first argument and a count as the second|occurrence=1
8 tests · 2384 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests accepts an object for aliases|occurrence=1
1 test · 2421 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf uses values from package.json|occurrence=1, yargs.mjs|title=yargs dsl tests pkgConf allows an alternative cwd to be specified|occurrence=1
7 tests · 2397 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+completion.mjs|title=Completion completion() allows a custom function to be registered for completion|occurrence=1
1 test · 2442 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf is cool with a key not existing|occurrence=1
3 tests · 2390 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests should allow you to set default values for a hash of options|occurrence=1
1 test · 2384 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf doesn't mess up other pkg lookups when cwd is specified|occurrence=1
2 tests · 2348 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests global does not reset a global options when reset is called|occurrence=1
2 tests · 2057 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests global should expose an options short-hand for declaring global options|occurrence=1
3 tests · 2054 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command API accepts module (with command array) as 1st argument|occurrence=1, command.mjs|title=Command API accepts module (with command array and aliases array) as 1st argument|occurrence=1, +2
4 tests · 2056 LOC · 18 files · introduces 4 tests · 0 LOC · 0 files
+command.mjs|title=Command API accepts module (desc key, builder function) as 1st argument|occurrence=1, command.mjs|title=Command API accepts module (description key, builder function) as 1st argument|occurrence=1
2 tests · 2054 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+command.mjs|title=Command API accepts array, string as first 2 arguments|occurrence=1
1 test · 2032 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command API accepts module (missing describe, builder function) as 1st argument|occurrence=1
1 test · 2045 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command positional arguments ignores positional args for aliases|occurrence=1
1 test · 2032 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command API accepts module (false describe, builder function) as 1st argument|occurrence=1
7 tests · 2041 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command API accepts array, boolean as first 2 arguments|occurrence=1
2 tests · 2021 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+command.mjs|title=Command API accepts function as 3rd argument|occurrence=1, command.mjs|title=Command ignores extra spaces in command string|occurrence=1, +2
12 tests · 2032 LOC · 18 files · introduces 4 tests · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests global should not reset implications of global options|occurrence=1
1 test · 1997 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests global should not reset usage descriptions of global options|occurrence=1
4 tests · 1963 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests showVersion should call the callback to print when specified|occurrence=1
1 test · 1966 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests choices accepts an object|occurrence=1
1 test · 1947 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests choices accepts a string and array|occurrence=1
19 tests · 1943 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests showHidden should set show-hidden option|occurrence=1, yargs.mjs|title=yargs dsl tests showHidden should set custom-show-hidden option|occurrence=1
2 tests · 1918 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files