public interface ArgumentContainer
Modifier and Type | Method and Description |
---|---|
Argument |
addArgument(String... nameOrFlags)
Creates new
Argument , adds it to this container and returns it. |
ArgumentContainer |
description(String description)
Sets the description for the arguments of this container.
|
Argument addArgument(String... nameOrFlags)
Creates new Argument
, adds it to this container and returns it.
The nameOrFlags
is either a single name of positional argument or
a list of option strings for named argument, e.g. foo
or
-f, --foo
.
ArgumentContainer description(String description)
description
- The description of this container.Copyright © 2012–2017. All rights reserved.