Package picocli
Class CommandLine.Model
- java.lang.Object
-
- picocli.CommandLine.Model
-
- Enclosing class:
- CommandLine
public static final class CommandLine.Model extends Object
This class provides a namespace for classes and interfaces that model concepts and attributes of command line interfaces in picocli.- Since:
- 3.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandLine.Model.ArgSpecModels the shared attributes ofCommandLine.Model.OptionSpecandCommandLine.Model.PositionalParamSpec.static classCommandLine.Model.CommandSpecTheCommandSpecclass models a command specification, including the options, positional parameters and subcommands supported by the command, as well as attributes for the version help message and the usage help message of the command.static interfaceCommandLine.Model.IGetterCustomizable getter for obtaining the current value of an option or positional parameter.static interfaceCommandLine.Model.ISetterCustomizable setter for modifying the value of an option or positional parameter.static classCommandLine.Model.MessagesUtility class for getting resource bundle strings.static classCommandLine.Model.OptionSpecTheOptionSpecclass models aspects of a named option of a command, including whether it is required or optional, the option parameters supported (or required) by the option, and attributes for the usage help message describing the option.static classCommandLine.Model.ParserSpecModels parser configuration specification.static classCommandLine.Model.PositionalParamSpecThePositionalParamSpecclass models aspects of a positional parameter of a command, including whether it is required or optional, and attributes for the usage help message describing the positional parameter.static classCommandLine.Model.UnmatchedArgsBindingThis class allows applications to specify a custom binding that will be invoked for unmatched arguments.static classCommandLine.Model.UsageMessageSpecModels the usage help message specification and can be used to customize the usage help message.
-