Package | Description |
---|---|
org.refcodes.console |
Getting started:
Consider you have a tool called "foo-bar" to be invoked with the below
allowed argument combinations (syntax):
foo-bar [{ -a | -d }] -f <file>
"foo-bar" can be invoked either with an optional "-a" or with an optional
"-d" switch, but not both of them at the same time, and a file
"-f <file>" must be provided, else the passed arguments are rejected as
not being valid.
|
org.refcodes.console.impls |
Implementations:
The
impls package contains implementations of the types defined
by this artifact. |
Modifier and Type | Method and Description |
---|---|
default List<? extends Operand<?>> |
ArgsParser.evalArgs(List<String> aArgs)
Same as
ArgsParser.evalArgs(String[]) with the difference that the elements
representing the arguments are passed as a list instead of an array. |
List<? extends Operand<?>> |
ArgsParser.evalArgs(String[] aArgs)
Evaluates the provided command line arguments and determines the
according values by evaluating the root
Condition . |
Modifier and Type | Method and Description |
---|---|
List<? extends Operand<?>> |
ArgsParserImpl.evalArgs(String[] aArgs) |
Copyright © 2016. All rights reserved.