Represents information about an argument to a command line program.
Represents information about an argument to a command line program.
the name of the argument as presented on the command line
the (optional) name of the group in which the argument exists
the optional flag character for the argument if it has one
the name of the type of the argument (for collection arguments, the type in the collection)
the minimum number of values that must be specified
the maximum number of values that may be specified
the seq of default values, as strings
if true the argument is sensitive and values should not be re-displayed
the description of the argument
Represents the metadata about a command line program that may be consumed externally to generate documentation etc.
Represents the metadata about a command line program that may be consumed externally to generate documentation etc.
the name of the program / command
the clp group name of the program
whether or not the program is marked as hidden
the description/documentation for the program in MarkDown format
the ordered Seq of arguments the program takes
The result type when a single command is successfully parsed.
The result type when a parsing failure occurrs.
Represents the group to which command line programs belong.
Trait representing the results of trying to parse commands, and sub-commands, in sopt.
The result type when a command/sub-command pair are successfully parsed.
The assumed width of the terminal.
Finds classes that extend the given type within the specified packages.
Finds classes that extend the given type within the specified packages.
the type of the commands to find
one or more fully qualified packages (e.g. com.fulcrumgenomics.sopt')
whether or not to include programs marked as hidden
the resulting set of command classes
Inspect a command class that is annotated with clp and arg annotations.
Parses a command line for a single command.
Parses a command line for a single command. Expects that the command name is the first value in the arguments, and that the remainder are arguments to the command.
the parent type of all command classes
the name of the toolkit, to be printed in usage statements
the ordered sequence of arguments from the command line
the set of possible command classes to select from
the result of parsing the command
Parses a command line for a command/sub-command pair.
Parses a command line for a command/sub-command pair. The arguments should contain, in order, any arguments to the primary command, the name of the sub-command, and then the arguments to the sub-command.
the type of the command class
the parent type of all the subcommands
the name of the toolkit, to be printed in usage statements
the ordered sequence of arguments from the command line
the set of possible subcommand classes to select from
the result of parsing the command
Facade into Sopt that allows for both parsing of command lines to generate command objects and also inspection of command classes.