lib

455 root concepts · page 1 of 10

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
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
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
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
yargs-factory.ts ×1 1 test · 3276 LOC · 18 files · introduces 1 test · 4 LOC · 1 file