OptionDef
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Constructors
Concrete methods
Adds a callback function.
Adds a callback function.
Attributes
Adds opt/arg under this command.
Adds opt/arg under this command.
Attributes
Adds a callback function.
Adds a callback function.
Attributes
Hides the option in any usage text.
Hides the option in any usage text.
Attributes
Adds key name used in the usage text.
Adds key name used in the usage text.
Attributes
Adds key and value names used in the usage text.
Adds key and value names used in the usage text.
Attributes
Allows the argument to appear at most n
times.
Allows the argument to appear at most n
times.
Attributes
Requires the option to appear at least n
times.
Requires the option to appear at least n
times.
Attributes
Changes the option to be optional.
Changes the option to be optional.
Attributes
Requires the option to appear at least once.
Requires the option to appear at least once.
Attributes
Adds description in the usage text.
Adds description in the usage text.
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Allows the argument to appear multiple times.
Allows the argument to appear multiple times.
Attributes
Adds custom validation.
Adds custom validation.
Attributes
Adds value name used in the usage text.
Adds value name used in the usage text.
Attributes
provides a default to fallback to, e.g. for System.getenv
provides a default to fallback to, e.g. for System.getenv