Parser
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass ParsedArgument[AnyVal]class BaseArgumentclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Add a default argument to the current parser
Add a default argument to the current parser
the deepest used parser's default argument will take precedent
Type parameters
- T
-
the type of the value of the default argument
Value parameters
- name
-
the name of the default argument
- value
-
the value the default argument is supposed to take
Attributes
- Returns
-
the parser itself to chain commands
add a flag
add a flag
Value parameters
- description
-
the description of what the flag affects
- long
-
the long name of the flag
- name
-
the name of the flag
- short
-
the short name of the flag
Attributes
- Returns
-
the parser itself to chain commands
add an optional argument
add an optional argument
Type parameters
- T
-
the type of the final value of the argument
Value parameters
- default
-
the default value if no argument is provided by the user
- description
-
the description for the optional argument
- long
-
the long name for the optional argument
- name
-
the name of the optional argument
- process
-
the function to process the cmd line string to the argument type
- short
-
the short name for the optional argument
Attributes
- Returns
-
the parser itself to chain commands
add a positional argument
add a positional argument
Value parameters
- name
-
the name of the positional argument
Attributes
- Returns
-
the parser itself to chain commands
add a positional argument
add a positional argument
Type parameters
- T
-
the type of the finally parsed positional argument after parsing
Value parameters
- description
-
the description of the argument
- name
-
the name of the positional argument
- process
-
the function to process the cmd line string to the argument type
Attributes
- Returns
-
the parser itself to chain commands
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product