Package com.aspectran.shell.command.option
package com.aspectran.shell.command.option
A simple API for presenting, processing and validating a command line interface.
-
ClassDescriptionThrown when more than one option in an option group has been provided.Exception thrown when an option can't be identified from a partial name.Created: 2019-01-18The default command option parser.A formatter of help messages for command line options.Thrown when a required option has not been provided.Thrown when an option requiring a value is not provided with a value.Describes a single command-line option.A nested builder class to create
Option
instances using descriptive methods.A group of mutually exclusive options.A class that implements thisOptionParser
interface can parse a String array according to theOptions
specified and return aParsedOptions
.Base for Exceptions thrown during parsing of a command-line.Main entry-point into the library.Contains useful helper methods for classes within this package.Supported Option value types.Represents list of arguments parsed against aOptions
descriptor.Exception thrown during parsing signalling an unrecognized option was seen.