lib

community-002 · 968 concepts · page 1 of 10

showing 100 of 968

yargs.mjs|title=yargs dsl tests positional allows an implied argument to be specified|occurrence=1 1 test · 3525 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests positional allows a choices array to be specified|occurrence=1 1 test · 3518 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests positional allows a conflicting argument to be specified|occurrence=1 1 test · 3495 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests positional allows a coerce method to be provided|occurrence=1 1 test · 3531 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests positional populates array with appropriate arguments|occurrence=1 1 test · 3474 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests parse can be called multiple times with the same behavior|occurrence=1 1 test · 3485 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests positional allows normalize to be specified|occurrence=1 1 test · 3469 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 1 test · 3487 LOC · 18 files · introduces 1 test · 2 LOC · 1 file
command.mjs|title=Command async builder allows positionals to be configured asynchronously|occurrence=1 1 test · 3442 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests command accepts a module with a 'builder' and 'handler' key|occurrence=1 1 test · 3344 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command positional arguments does not overwrite options in argv if variadic|occurrence=1 2 tests · 3386 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 1 test · 3390 LOC · 18 files · introduces 1 test · 4 LOC · 1 file
yargs.mjs|title=yargs dsl tests positional allows a number type to be specified|occurrence=1 1 test · 3385 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests positional allows an alias to be provided|occurrence=1 1 test · 3373 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command help command displays command help appropriately|occurrence=1 1 test · 3373 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 1 test · 3342 LOC · 18 files · introduces 1 test · 1 LOC · 1 file
yargs.mjs|title=yargs dsl tests positional allows a boolean type to be specified|occurrence=1 1 test · 3380 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command should kick along [demand] configuration to commands|occurrence=1 1 test · 3300 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints strict does not fire command if validation fails|occurrence=1 1 test · 3319 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware applyBeforeValidation=true runs before validation|occurrence=1 1 test · 3297 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
string|occurrence=1 1 test · 3330 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command async displays error and appropriate help message when handler fails|occurrence=1 1 test · 3265 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests demand fails in strict mode with extra positionals|occurrence=1 1 test · 3306 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests strictOptions allows strict options to be turned off|occurrence=1 1 test · 3321 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.ts ×1 2 tests · 3284 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
command.mjs|title=Command global parsing hints coerce defaults to applying coerce rules globally|occurrence=1 1 test · 3306 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 1 test · 3272 LOC · 18 files · introduces 1 test · 5 LOC · 1 file
yargs-factory.ts ×2 1 test · 3310 LOC · 18 files · introduces 1 test · 23 LOC · 1 file
yargs.mjs|title=yargs dsl tests async argv returns promise that can be caught if rejected|occurrence=1 2 tests · 3245 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command async returns promise that can be caught, when fail(false)|occurrence=1 1 test · 3245 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints validation applies demandOption globally|occurrence=1 1 test · 3267 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests demand should recognize context variables in strict mode|occurrence=1 1 test · 3271 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests bug #1758 does not drop .0 if flag is configured as string|occurrence=1 5 tests · 3228 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command variadic fails if required arguments are missing|occurrence=1 1 test · 3244 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 1 test · 3230 LOC · 18 files · introduces 1 test · 4 LOC · 1 file
command.mjs|title=Command async builder allows command to be defined in async builder|occurrence=1 1 test · 3271 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command missing positional arguments fails if a required argument is missing|occurrence=1 2 tests · 3240 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests positional shows that variadic positional arguments are arrays|occurrence=1 1 test · 3227 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-test.mjs|title=ESM hierarchy of commands allows array of commands to be registered|occurrence=1 1 test · 3247 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 2 tests · 3249 LOC · 18 files · introduces 0 tests · 6 LOC · 1 file
yargs.mjs|title=yargs dsl tests positional allows a defaultDescription to be set|occurrence=1 1 test · 3221 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints validation resets custom check if global is false|occurrence=1 2 tests · 3252 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests positional indicates that <foo> positional arguments are required|occurrence=1 1 test · 3218 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests async argv returns promise that resolves argv on success|occurrence=1 1 test · 3219 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command async returns promise that resolves arguments once handler succeeds|occurrence=1 2 tests · 3219 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 3 tests · 3222 LOC · 18 files · introduces 1 test · 6 LOC · 1 file
command.ts ×1 1 test · 3125 LOC · 18 files · introduces 1 test · 1 LOC · 1 file
yargs.mjs|title=yargs dsl tests async parse calls parse callback once async handler has resolved|occurrence=1 2 tests · 3216 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command default commands allows command to be run when alias is default command|occurrence=1 1 test · 3214 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints aliases defaults to applying aliases globally|occurrence=1 1 test · 3260 LOC · 18 files · introduces 1 test · 0 LOC · 0 files