Package | Description |
---|---|
com.github.rvesse.airline | |
com.github.rvesse.airline.parser.command | |
com.github.rvesse.airline.parser.errors.handlers |
Modifier and Type | Method and Description |
---|---|
ParseResult<C> |
SingleCommand.parseWithResult(Iterable<String> args)
Parses the arguments to produce a result.
|
ParseResult<C> |
Cli.parseWithResult(Iterable<String> args)
Parses the arguments to produce a result.
|
ParseResult<C> |
SingleCommand.parseWithResult(String... args)
Parses the arguments to produce a result.
|
ParseResult<C> |
Cli.parseWithResult(String... args)
Parses the arguments to produce a result.
|
Modifier and Type | Method and Description |
---|---|
<T> boolean |
HelpOption.showHelpIfErrors(ParseResult<T> result)
Shows help if any parsing errors were detected.
|
<T> boolean |
HelpOption.showHelpIfErrors(ParseResult<T> result,
boolean printErrors)
Shows help if any parsing errors were detected
|
<T> boolean |
HelpOption.showHelpIfErrors(ParseResult<T> result,
boolean printErrors,
CommandUsageGenerator generator)
Shows help if any parsing errors were detected
|
Modifier and Type | Method and Description |
---|---|
ParseResult<T> |
CliParser.parseWithResult(GlobalMetadata<T> metadata,
Iterable<String> args) |
ParseResult<T> |
SingleCommandParser.parseWithResult(ParserMetadata<T> parserConfig,
CommandMetadata commandMetadata,
Iterable<GlobalRestriction> restrictions,
Iterable<String> args) |
Modifier and Type | Method and Description |
---|---|
<T> ParseResult<T> |
ParserErrorHandler.finished(ParseState<T> state)
Prepares the parser result
|
<T> ParseResult<T> |
FailFast.finished(ParseState<T> state) |
<T> ParseResult<T> |
FailAll.finished(ParseState<T> state) |
<T> ParseResult<T> |
CollectAll.finished(ParseState<T> state) |
Copyright © 2012–2017. All rights reserved.