lib

community-002 · 968 concepts · page 5 of 10

showing 100 of 968

command.ts ×2 12 tests · 2754 LOC · 18 files · introduces 0 tests · 6 LOC · 1 file
yargs-factory.ts ×1 9 tests · 2679 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
middleware.mjs|title=middleware async coerce allows error to be caught|occurrence=1 1 test · 2609 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests getHelp should display top-level help with no command given|occurrence=1 1 test · 2648 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.ts ×1 4 tests · 2763 LOC · 18 files · introduces 0 tests · 8 LOC · 1 file
completion.ts ×1 6 tests · 2626 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
command.ts ×1 8 tests · 2676 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
validation.mjs|title=validation tests config outputs an error returned by the parsing function|occurrence=1 1 test · 2675 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests help option should not show both dashed and camelCase aliases|occurrence=1 1 test · 2665 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
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
validation.mjs|title=validation tests config outputs an error if thrown by the parsing function|occurrence=1 2 tests · 2656 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
completion.ts ×1 5 tests · 2552 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
completion.ts ×3 14 tests · 2618 LOC · 18 files · introduces 0 tests · 10 LOC · 1 file
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
yargs-factory.ts ×1 9 tests · 2656 LOC · 18 files · introduces 0 tests · 16 LOC · 1 file
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 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
completion.ts ×2 5 tests · 2535 LOC · 18 files · introduces 0 tests · 9 LOC · 1 file
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-factory.ts ×2 7 tests · 2669 LOC · 18 files · introduces 0 tests · 5 LOC · 1 file
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
completion, --get-yargs-completions, …) works if command has no options|occurrence=1 5 tests · 2606 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
yargs-factory.ts ×1 5 tests · 2667 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
command.ts ×1 193 tests · 2684 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
command.ts ×1 7 tests · 2719 LOC · 18 files · introduces 0 tests · 10 LOC · 1 file
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
usage.ts ×1 8 tests · 2669 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
yargs.mjs|title=yargs dsl tests .coerce() argv includes coerced aliases|occurrence=1 4 tests · 2574 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.ts ×8 102 tests · 2671 LOC · 18 files · introduces 0 tests · 39 LOC · 1 file
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
completion.ts ×1 11 tests · 2554 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
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 with strict() option set with hyphens in options works with aliases|occurrence=1 4 tests · 2551 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests wrap should not indent usage when no wrap is specified|occurrence=1 2 tests · 2630 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests strict mode does not fail for hidden options|occurrence=1 3 tests · 2513 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 2 tests · 2638 LOC · 18 files · introduces 0 tests · 5 LOC · 1 file
completion.mjs|title=Completion bash returns a list of commands as completion suggestions|occurrence=1 2 tests · 2552 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
completion.mjs|title=Completion zsh returns a list of commands as completion suggestions|occurrence=1 2 tests · 2554 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
usage.mjs|title=usage tests with strict() option set with hyphens in options accepts valid options|occurrence=1 7 tests · 2513 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.ts ×1 33 tests · 2679 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
command.mjs|title=Command commandDir supports a "visit" function option|occurrence=1 9 tests · 2649 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
validation.ts ×2 3 tests · 2521 LOC · 18 files · introduces 0 tests · 12 LOC · 1 file
command.ts ×4 13 tests · 2642 LOC · 18 files · introduces 0 tests · 46 LOC · 2 files
usage.ts ×1 1 test · 2613 LOC · 18 files · introduces 1 test · 3 LOC · 1 file