Class CliParser<T>
java.lang.Object
com.github.rvesse.airline.parser.AbstractParser<T>
com.github.rvesse.airline.parser.AbstractCommandParser<T>
com.github.rvesse.airline.parser.command.CliParser<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(GlobalMetadata<T> metadata, Iterable<String> args) parseWithResult(GlobalMetadata<T> metadata, Iterable<String> args) protected voidvalidate(ParseState<T> state) Validates the parser stateMethods inherited from class AbstractCommandParser
applyAliases, parseCommand, parseCommandOptionsAndArguments, parseGroup, tryParse, tryParse, tryParseMethods inherited from class AbstractParser
getTypeConverter
-
Constructor Details
-
CliParser
public CliParser()
-
-
Method Details
-
parseWithResult
-
parse
-
validate
Validates the parser stateThis includes things like verifying we ended in an appropriate state, that all required options and arguments were present etc
- Parameters:
state- Parser state
-