| Package | Description |
|---|---|
| net.dpml.cli.builder |
Helpers supporting the construction of a commandline model.
|
| Modifier and Type | Method and Description |
|---|---|
CommandBuilder |
CommandBuilder.reset()
Resets the CommandBuilder to the defaults for a new Command.
|
CommandBuilder |
CommandBuilder.withArgument(Argument newArgument)
Specifies the argument for the next
Command
that is created. |
CommandBuilder |
CommandBuilder.withChildren(Group newChildren)
Specifies the children for the next
Command
that is created. |
CommandBuilder |
CommandBuilder.withDescription(java.lang.String newDescription)
Specifies the description for the next
Command
that is created. |
CommandBuilder |
CommandBuilder.withId(int newId)
Specifies the id for the next
Command that is created. |
CommandBuilder |
CommandBuilder.withName(java.lang.String name)
Specifies the name for the next
Command
that is created. |
CommandBuilder |
CommandBuilder.withRequired(boolean newRequired)
Specifies whether the next
Command created is
required or not. |