Interface CommandParser
- All Known Implementing Classes:
DefaultCommandParser
public interface CommandParser
Interface for parsing input for a
Command. A command is always identified by a
set of words like command subcommand1 subcommand2 and where the remaining part
is expected to be a set of arguments and/or key/value pairs of options. The
ParsedInput API holds the parsed result.- Since:
- 4.0.0
- Author:
- Janne Valkealahti, Piotr Olaszewski, Mahmoud Ben Hassine
- See Also:
-
Method Summary
-
Method Details
-
parse
Parse raw input into aParsedInput.- Parameters:
input- the raw input- Returns:
- the parsed input
- Since:
- 4.0.0
-