Module com.github.rvesse.airline
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 void
validate
(ParseState<T> state) Validates the parser stateMethods inherited from class com.github.rvesse.airline.parser.AbstractCommandParser
applyAliases, parseCommand, parseCommandOptionsAndArguments, parseGroup, tryParse, tryParse, tryParse
Methods inherited from class com.github.rvesse.airline.parser.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
-