lib

455 root concepts · page 7 of 10

usage.mjs|title=usage tests group does not print the 'Options:' group if no keys are in it|occurrence=1 1 test · 2689 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
completion.mjs|title=Completion bash avoids interruption from default command|occurrence=1 1 test · 2585 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
completion.mjs|title=Completion zsh avoids interruption from default command|occurrence=1 1 test · 2587 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests default serializes object and array defaults|occurrence=1 1 test · 2674 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests required arguments still requires argument if 'type' hints are given|occurrence=1 1 test · 2660 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints version applies version globally|occurrence=1 1 test · 2678 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware async coerce applies coerce before validation|occurrence=1 1 test · 2583 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
usage.mjs|title=usage tests showHelp should call the correct console.log method when specified|occurrence=1 1 test · 2607 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests exitProcess should not call process.exit on error if disabled|occurrence=1 1 test · 2558 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests .coerce() argv does not include stripped dashes|occurrence=1 1 test · 2581 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests .coerce() shows coerced option in help|occurrence=1 1 test · 2589 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests showHelp should call the callback to print when specified|occurrence=1 1 test · 2600 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests implies allows key to be specified with option shorthand|occurrence=1 1 test · 2531 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests group displays alias keys appropriately within a grouping|occurrence=1 1 test · 2690 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests help option should display usage|occurrence=1 1 test · 2656 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests demandOption allows demandOption in option shorthand|occurrence=1 1 test · 2512 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command builder helpOrVersionSet --version|occurrence=1 1 test · 2654 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests strictCommands fails with error if command is unknown|occurrence=1 1 test · 2554 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests group allows multiple options to be grouped at the same time|occurrence=1 1 test · 2653 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests showHelp should not run default command|occurrence=1 1 test · 2593 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests conflicts allows key to be specified with option shorthand|occurrence=1 1 test · 2501 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
completion.mjs|title=Completion bash avoids interruption from command recommendations|occurrence=1 1 test · 2559 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
completion.mjs|title=Completion zsh avoids interruption from command recommendations|occurrence=1 1 test · 2561 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests allows setting help and version with aliases and custom description|occurrence=1 1 test · 2663 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
completion, --get-yargs-completions, …) avoids repeating already included commands|occurrence=1 1 test · 2531 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.ts ×1 1 test · 2613 LOC · 18 files · introduces 1 test · 3 LOC · 1 file
yargs.mjs|title=yargs dsl tests should ignore a missing array choice with an empty default|occurrence=1 1 test · 2526 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×2 1 test · 2568 LOC · 18 files · introduces 1 test · 5 LOC · 1 file
middleware.mjs|title=middleware should run even if no command is matched|occurrence=1 1 test · 2541 LOC · 18 files · introduces 1 test · 0 LOC · 0 files