org.crsh.cli
Annotation Type Argument
-
@Target(value={FIELD,PARAMETER,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
public @interface Argument
A command argument.
Optional Element Summary |
Class<? extends Completer> |
completer
The completer type to complete this option value. |
String |
name
The argument name, this value is optional and is only used in the documentation. |
boolean |
unquote
Indicates whether or not the value should be unquoted. |
name
public abstract String name
-
The argument name, this value is optional and is only used in the documentation.
-
-
- Returns:
- the argument name
- Default:
- ""
unquote
public abstract boolean unquote
-
Indicates whether or not the value should be unquoted.
-
-
- Returns:
- the unquote value
- Default:
- true
completer
public abstract Class<? extends Completer> completer
-
The completer type to complete this option value.
-
-
- Returns:
- the completer type
- Default:
- org.crsh.cli.completers.EmptyCompleter.class
Copyright © 2014 eXo Platform SAS. All Rights Reserved.