lib

community-002 · 968 concepts · page 2 of 10

showing 100 of 968

validation.mjs|title=validation tests demand interprets max relative to command|occurrence=1 1 test · 3207 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests demand interprets min relative to command|occurrence=1 1 test · 3209 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command executes a command via alias|occurrence=1 1 test · 3208 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware async it allows middleware rejection to be caught|occurrence=1 2 tests · 3194 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command commandDir supports nested subcommands|occurrence=1 1 test · 3171 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command positional arguments populates inner argv with positional arguments|occurrence=1 7 tests · 3213 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware async fails when the promise returned by the middleware rejects|occurrence=1 1 test · 3169 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command handles positional arguments if command is invoked using .parse()|occurrence=1 1 test · 3209 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests commands can bump up preserved groups|occurrence=1 1 test · 3145 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests .coerce() supports a global option within command|occurrence=1 1 test · 3225 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints types applies choices type globally|occurrence=1 1 test · 3225 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command variadic only allows the last argument to be variadic|occurrence=1 22 tests · 3208 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests commands should display global non empty groups for subcommands|occurrence=1 1 test · 3141 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests command accepts an object for describing a command's options|occurrence=1 1 test · 3140 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware async check success allows async check to be used with command|occurrence=1 1 test · 3200 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests commands allows global option to be disabled|occurrence=1 2 tests · 3141 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests commands should display global non empty groups for commands|occurrence=1 3 tests · 3140 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests positional displays choices array|occurrence=1 1 test · 3211 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests positional displays type information|occurrence=1 1 test · 3189 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests positional displays aliases appropriately|occurrence=1 1 test · 3195 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests getHelp should allow help to be output for failed command|occurrence=1 2 tests · 3161 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints defaults applies defaults globally|occurrence=1 1 test · 3177 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.ts ×1 4 tests · 3195 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
usage.mjs|title=usage tests commands can add to preserved groups|occurrence=1 2 tests · 3137 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware async calls an async middleware only once for nested subcommands|occurrence=1 1 test · 3185 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
usage.mjs|title=usage tests positional should display help section for positionals|occurrence=1 2 tests · 3180 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command does not require builder function to return|occurrence=1 1 test · 3175 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 1 test · 3034 LOC · 18 files · introduces 1 test · 1 LOC · 1 file
command.mjs|title=Command allows async exception in handler to be caught|occurrence=1 5 tests · 3155 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command async fails when the promise returned by the command handler rejects|occurrence=1 1 test · 3154 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.ts ×2 2 tests · 3147 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
usage.mjs|title=usage tests commands preserves global wrap() for commands that do not override it|occurrence=1 1 test · 3125 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command positional arguments does not load config twice when command executed|occurrence=1 1 test · 3096 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs-factory.ts ×1 3 tests · 3126 LOC · 18 files · introduces 1 test · 3 LOC · 1 file
usage.mjs|title=usage tests commands allows a command to override global wrap()|occurrence=1 1 test · 3121 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware applies aliases before middleware is called|occurrence=1 2 tests · 3219 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.ts ×3 3 tests · 3139 LOC · 18 files · introduces 0 tests · 5 LOC · 1 file
command.mjs|title=Command usage allows you to configure a default command|occurrence=1 1 test · 3075 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware doesn't modify globalMiddleware array when executing middleware|occurrence=1 1 test · 3170 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.ts ×2 2 tests · 3065 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
yargs.mjs|title=yargs dsl tests getHelp should allow help to be output for successful command|occurrence=1 1 test · 3135 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints config loads config for command by default|occurrence=1 1 test · 3149 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
middleware.mjs|title=middleware runs the middleware before reaching the handler|occurrence=1 9 tests · 3160 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.mjs|title=validation tests strictCommands succeeds in parse if command is known|occurrence=1 1 test · 3144 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
yargs.mjs|title=yargs dsl tests parserConfiguration supports --unknown-options-as-args|occurrence=1 1 test · 3157 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
validation.ts ×1 2 tests · 3142 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
command.ts ×1 13 tests · 3113 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
middleware.ts ×1 6 tests · 3118 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
command.ts ×1 6 tests · 3109 LOC · 18 files · introduces 0 tests · 1 LOC · 1 file
command.mjs|title=Command allows command handler to be invoked repeatedly when help is enabled|occurrence=1 1 test · 3122 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints types applies array type globally|occurrence=1 2 tests · 3125 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command global parsing hints strict allows a command to override global`|occurrence=1 3 tests · 3123 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command invokes command handler repeatedly if parse() is called multiple times|occurrence=1 4 tests · 3119 LOC · 18 files · introduces 1 test · 0 LOC · 0 files
command.mjs|title=Command should support numeric commands|occurrence=1 2 tests · 3120 LOC · 18 files · introduces 1 test · 0 LOC · 0 files