Package | Description |
---|---|
com.github.rvesse.airline.builder |
Modifier and Type | Field and Description |
---|---|
protected ParserBuilder<C> |
CliBuilder.parserBuilder |
Modifier and Type | Method and Description |
---|---|
ParserBuilder<C> |
ParserBuilder.withAliasesChaining() |
ParserBuilder<C> |
ParserBuilder.withAliasesOverridingBuiltIns() |
ParserBuilder<C> |
ParserBuilder.withArgumentsSeparator(String separator)
Sets the arguments separator, this is a token used to indicate the point
at which no further options will be seen and all further tokens should be
treated as arguments.
|
ParserBuilder<C> |
ParserBuilder.withCommandAbbreviation() |
ParserBuilder<C> |
ParserBuilder.withCommandFactory(CommandFactory<C> commandFactory) |
ParserBuilder<C> |
ParserBuilder.withDefaultCommandFactory() |
ParserBuilder<C> |
ParserBuilder.withDefaultErrorHandler() |
ParserBuilder<C> |
ParserBuilder.withDefaultNumericTypeConverter()
Indicates that default numeric type conversion should be used
|
ParserBuilder<C> |
ParserBuilder.withDefaultOptionParsers()
Configures the CLI to use the default set of option parsers in addition
to any previously registered
|
ParserBuilder<C> |
ParserBuilder.withDefaultTypeConverter() |
ParserBuilder<C> |
ParserBuilder.withErrorHandler(ParserErrorHandler errorHandler) |
ParserBuilder<C> |
ParserBuilder.withFlagNegationPrefix(String prefix)
Sets the flag negation prefix, this is used to determine whether to set a
flag option (a zero arity option) to
false rather than the usual
behaviour of setting it to true . |
ParserBuilder<C> |
ParserBuilder.withNumericTypeConverter(NumericTypeConverter converter)
Indicates the desired numeric type converter to use, this is passed as an
argument to the given type converter
|
ParserBuilder<C> |
ParserBuilder.withOnlyDefaultOptionParsers()
Configures the CLI to use only the default set of option parsers
|
ParserBuilder<C> |
ParserBuilder.withOptionAbbreviation() |
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
|
ParserBuilder<C> |
CliBuilder.withParser() |
ParserBuilder<C> |
ParserBuilder.withTypeConverter(TypeConverter converter) |
ParserBuilder<C> |
ParserBuilder.withUserAliases(String programName)
Reads in user aliases from the default configuration file in the default
location.
|
ParserBuilder<C> |
ParserBuilder.withUserAliases(String programName,
String searchLocation)
Reads in user aliases from the default configuration file in the default
location
|
ParserBuilder<C> |
ParserBuilder.withUserAliases(String filename,
String prefix,
String... searchLocations)
Reads in user aliases from the default configuration file in the default
location
|
Copyright © 2012–2017. All rights reserved.