Skip to content

Package io.github.qishr.cascara.common.util

Class Model

java.lang.Object
        io.github.qishr.cascara.common.util.CommandLine.Model

Enclosing Class:
    io.github.qishr.cascara.common.util.CommandLine


public static final class Model

This class provides a namespace for classes and interfaces that model concepts and attributes of command line interfaces in picocli.

Nested Class Summary

Modifier and Type Class Description
public static io.github.qishr.cascara.common.util.CommandLine.Model.ArgGroupSpec The ArgGroupSpec class models a ArgGroup of arguments (options, positional parameters or a mixture of the two).
public static abstract io.github.qishr.cascara.common.util.CommandLine.Model.ArgSpec Models the shared attributes of OptionSpec and PositionalParamSpec.
public static io.github.qishr.cascara.common.util.CommandLine.Model.CommandSpec The CommandSpec class 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.
public static io.github.qishr.cascara.common.util.CommandLine.Model.Messages Utility class for getting resource bundle strings.
public static io.github.qishr.cascara.common.util.CommandLine.Model.MethodParam Command method parameter, similar to java.lang.reflect.Parameter (not available before Java 8).
public static io.github.qishr.cascara.common.util.CommandLine.Model.OptionSpec The OptionSpec class models aspects of a named option of a CommandSpec, 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.
public static io.github.qishr.cascara.common.util.CommandLine.Model.ParserSpec Models parser configuration specification.
public static io.github.qishr.cascara.common.util.CommandLine.Model.PositionalParamSpec The PositionalParamSpec class models aspects of a positional parameter of a CommandSpec, including whether it is required or optional, and attributes for the usage help message describing the positional parameter.
public static io.github.qishr.cascara.common.util.CommandLine.Model.UnmatchedArgsBinding This class allows applications to specify a custom binding that will be invoked for unmatched arguments.
public static io.github.qishr.cascara.common.util.CommandLine.Model.UsageMessageSpec Models the usage help message specification and can be used to customize the usage help message.