public class Usage extends Object
Usage represents a command usage.| Constructor and Description |
|---|
Usage(String synopsis)
Constructs a new
Usage with the specified command syntax. |
| Modifier and Type | Method and Description |
|---|---|
void |
option(String opt,
boolean required,
String description) |
void |
option(String opt,
boolean required,
String description,
String arg) |
void |
option(String opt,
String longOpt,
boolean required,
String description) |
void |
option(String opt,
String longOpt,
boolean required,
String description,
String arg) |
Set<org.eiichiro.ash.Usage.Option> |
options() |
String |
synopsis()
Returns the command synopsis.
|
String |
toString() |
public Usage(String synopsis)
Usage with the specified command syntax.synopsis - Command synopsis.Copyright © 2014-2019 Eiichiro Uchiumi. All Rights Reserved.