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,
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
|
class |
ListValueOptionParser<T>
An options parser that expects the name and value(s) to be white space
separated e.g.
|
class |
LongGetOptParser<T>
An options parser that supports the GNU Get Opt long style i.e.
|
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–2017. All rights reserved.