lib
community-002 · 968 concepts · page 7 of 10
showing 100 of 968
+yargs.mjs|title=yargs dsl tests .coerce() allows an error to be handled by fail() handler|occurrence=1
1 test · 2425 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion async getCompletion allows completions to be awaited|occurrence=1
1 test · 2458 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion bash getCompletion() returns default completion to callback|occurrence=1
1 test · 2455 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion completion() passes current arg for completion and the parsed arguments thus far to custom function|occurrence=1
1 test · 2455 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion zsh getCompletion() returns default completion to callback|occurrence=1
1 test · 2457 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests implies doesn't fail if implied key (with "no" in the name) is set|occurrence=1
9 tests · 2428 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+middleware.mjs|title=middleware async check success returns promise if check and middleware is async|occurrence=1
2 tests · 2423 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+validation.mjs|title=validation tests implies doesn't fail if implied key exists with value 0|occurrence=1, validation.mjs|title=validation tests implies doesn't fail if implied key exists with value false|occurrence=1
13 tests · 2425 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+validation.mjs|title=validation tests demandCommand treats positionals in "--" towards count requirement|occurrence=1
1 test · 2420 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parseAsync returns promise when parse is asynchronous|occurrence=1
1 test · 2418 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+middleware.mjs|title=middleware async $0 applies global middleware when no commands are provided, with implied $0|occurrence=1
4 tests · 2409 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf should apply default configurations from extended packages|occurrence=1, yargs.mjs|title=yargs dsl tests pkgConf should apply extended configurations from cwd when no path is given|occurrence=1
2 tests · 2426 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests config allows a parsing function to be provided as a second argument|occurrence=1
1 test · 2398 LOC · 18 files · introduces 1 test · 0 LOC · 0 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
2 tests · 2364 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+middleware.mjs|title=middleware synchronous $0 applies global middleware when no commands are provided|occurrence=1
3 tests · 2403 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests should not print usage string if help() is called without arguments|occurrence=1
1 test · 2401 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests bug #1758 continues to parse values in _ as numbers, when they look like numbers|occurrence=1
2 tests · 2375 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf should use value from package.json, if argv value is using default value|occurrence=1
2 tests · 2416 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parseAsync returns promise when parse is synchronous|occurrence=1
1 test · 2381 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 in the general case|occurrence=1
6 tests · 2373 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf should apply value from config object to all aliases|occurrence=1
1 test · 2435 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests config allows to pass a configuration object|occurrence=1
9 tests · 2404 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should not remove the 1st argument of bundled electron apps|occurrence=1
1 test · 2370 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 array|occurrence=1
1 test · 2371 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+completion.mjs|title=Completion completion() if a promise is returned, completions can be asynchronous|occurrence=1
1 test · 2429 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests should return a valid result when default is set for an alias|occurrence=1
3 tests · 2418 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+usage.mjs|title=usage tests should return a valid result when setting defaults for singles|occurrence=1
5 tests · 2380 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests stop parsing populates argv._ with unparsed arguments after "--"|occurrence=1
3 tests · 2374 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests normalize normalizes paths passed as arguments|occurrence=1, yargs.mjs|title=yargs dsl tests normalize normalizes path when when it is updated|occurrence=1
2 tests · 2365 LOC · 18 files · introduces 2 tests · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests pkgConf handles an invalid package.json|occurrence=1
9 tests · 2371 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests number accepts number arguments when a number type is specified|occurrence=1
2 tests · 2365 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parse parses an array|occurrence=1
18 tests · 2361 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parserConfiguration overrides the default parser configuration|occurrence=1
8 tests · 2364 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 .argv is called|occurrence=1
9 tests · 2361 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests parse allows an optional context object to be provided|occurrence=1, yargs.mjs|title=yargs dsl tests parse overrides parsed value of argv with context object|occurrence=1
2 tests · 2361 LOC · 18 files · introduces 2 tests · 0 LOC · 0 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
120 tests · 2360 LOC · 18 files · introduces 4 tests · 0 LOC · 0 files
+yargs.mjs|title=yargs dsl tests should not pollute the prototype does not pollute, when .parse() is called|occurrence=1
21 tests · 2359 LOC · 18 files · introduces 1 test · 0 LOC · 0 files