Optional
allowWhether to allow positional arguments
true
Optional
envEnvironment object to read/write. Defaults process.env
.
No effect if envPrefix
is not set.
Optional
envPrefix to use when reading/writing the environment variables
If not specified, environment behavior will not be available.
Optional
stopStop parsing flags and opts at the first positional argument.
This is to support cases like cmd [flags] <subcmd> [options]
, where
each subcommand may have different options. This effectively treats
any positional as a --
argument. Only relevant if allowPositionals
is true.
To do subcommands, set this option, look at the first positional, and parse the remaining positionals as appropriate.
false
Optional
usageA short usage string. If not provided, will be generated from the options provided, but that can of course be rather verbose if there are a lot of options.
Generated using TypeDoc
Options provided to the Jack constructor