lib

455 root concepts · page 2 of 10

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
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
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-factory.ts ×1 1 test · 3257 LOC · 18 files · introduces 1 test · 2 LOC · 1 file
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.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
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.ts ×1 1 test · 3125 LOC · 18 files · introduces 1 test · 1 LOC · 1 file
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
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
command.mjs|title=Command commandDir supports nested subcommands|occurrence=1 1 test · 3171 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