| Package | Description |
|---|---|
| com.github.rvesse.airline.builder | |
| com.github.rvesse.airline.model | |
| com.github.rvesse.airline.parser.options |
| Modifier and Type | Field and Description |
|---|---|
protected List<OptionParser<C>> |
ParserBuilder.optionParsers |
| Modifier and Type | Method and Description |
|---|---|
ParserBuilder<C> |
ParserBuilder.withOptionParser(OptionParser<C> optionParser)
Configures the CLI to use the given option parser
|
ParserBuilder<C> |
ParserBuilder.withOptionParsers(OptionParser<C>... optionParsers)
Configures the CLI to use the given option parsers
|
| Modifier and Type | Method and Description |
|---|---|
List<OptionParser<T>> |
ParserMetadata.getOptionParsers()
Gets the option parsers to use
|
| Constructor and Description |
|---|
ParserMetadata(CommandFactory<T> commandFactory,
List<OptionParser<T>> optionParsers,
TypeConverter typeConverter,
ParserErrorHandler errorHandler,
boolean allowAbbreviateCommands,
boolean allowAbbreviatedOptions,
List<AliasMetadata> aliases,
UserAliasesSource<T> userAliases,
boolean aliasesOverrideBuiltIns,
boolean aliasesMayChain,
char forceBuiltInPrefix,
String argumentsSeparator,
String flagNegationPrefix) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNameValueOptionParser<T>
Abstract option parser for options that are specified in
--name=value style while the separator character (in
this example =) can be configured as desired. |
class |
AbstractOptionParser<T>
Abstract option parser that provides some useful helper methods to derived classes
|
class |
ClassicGetOptParser<T>
An options parsing that parses options given in classic get-opt style where multiple options may be concatenated
together, potentially including a value for the last option in the concatenation.
|
class |
GreedyClassicGetOptParser<T>
Greedy variant of the
ClassicGetOptParser that allows consuming values that could otherwise be treated as
options in their own right. |
class |
GreedyMaybeListValueOptionParser<T>
A variation on the
MaybeListValueOptionParser that is greedy |
class |
ListValueOptionParser<T>
An options parser that requires the values to be a
non-whitespace separated list
|
class |
LongGetOptParser<T>
An options parser that supports the GNU Get Opt long style i.e.
|
class |
MaybeListValueOptionParser<T>
An options parser that expects the name and value(s) to be white space separated e.g.
|
class |
MaybePairValueOptionParser<T>
An options parser that expects the name and values to be white space
separated e.g.
|
class |
StandardOptionParser<T>
An options parser that expects the name and value(s) to be white space
separated e.g.
|
Copyright © 2012–2022. All rights reserved.