Package-level declarations
Types
Thrown by a Converter when a raw string cannot be converted to the target type.
Parses an argument list against a CommandSpec.
Builds a positional argument, named after the property it is assigned to. The call you end with decides the property's type:
A trailing list argument, reached via ArgumentBuilder.multiple. Resolves to an empty list when no positionals remain, unless required is set.
Accepts, case-insensitively, true/false, 1/0, yes/no, y/n, and on/off.
Builds a boolean flag. A flag name means true, a negation name means false, and absence means default.
An optional positional argument, reached via ArgumentBuilder.optional. Resolves to null when absent.
Builds a value-bearing option. The call you end with decides the property's type:
A repeatable option, reached via OptionBuilder.multiple. Resolves to an empty list when the option never appears, unless required is set.
A declared command-line parameter: an OptionSpec, FlagSpec, or ArgumentSpec.
The typed result of a successful parse, keyed by each parameter's canonical name.
An option that always resolves to a value, reached via OptionBuilder.required or OptionBuilder.default.
Thrown when --version is present and CommandSpec.version is set. cli prints rendered and exits 0.