@Retention(value=RUNTIME) public @interface Option
| Modifier and Type | Required Element and Description |
|---|---|
String |
description
Description to print in the usage.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
alias
Alias to use instead of the property name for the option.
|
boolean |
autonomous
Should be set to
true if this option can be used without
the required arguments (for example: help option or version option). |
public abstract String description
public abstract String alias
Useful to change an option name from camelCase to dash-case.
Copyright © 2018. All rights reserved.