| Package | Description |
|---|---|
| net.dpml.cli.builder |
Helpers supporting the construction of a commandline model.
|
| net.dpml.cli.commandline |
Commandline implementation.
|
| net.dpml.cli.option |
Options implementation include command, group, switch and property abstractions.
|
| net.dpml.cli.util |
Commandline utilities including help formatter.
|
| Modifier and Type | Method and Description |
|---|---|
Group |
GroupBuilder.create()
Creates a new Group instance
|
| Modifier and Type | Method and Description |
|---|---|
DefaultOptionBuilder |
DefaultOptionBuilder.withChildren(Group newChildren)
Use this child Group
|
CommandBuilder |
CommandBuilder.withChildren(Group newChildren)
Specifies the children for the next
Command
that is created. |
SwitchBuilder |
SwitchBuilder.withChildren(Group newChildren)
Use this child Group
|
| Modifier and Type | Method and Description |
|---|---|
void |
Parser.setGroup(Group group)
Sets the Group of options to parse against
|
| Modifier and Type | Class and Description |
|---|---|
class |
GroupImpl
An implementation of Group
|
| Modifier and Type | Method and Description |
|---|---|
Group |
ParentImpl.getChildren()
Return any children.
|
| Constructor and Description |
|---|
Command(java.lang.String preferredName,
java.lang.String description,
java.util.Set aliases,
boolean required,
Argument argument,
Group children,
int id)
Creates a new Command instance.
|
DefaultOption(java.lang.String shortPrefix,
java.lang.String longPrefix,
boolean burstEnabled,
java.lang.String preferredName,
java.lang.String description,
java.util.Set aliases,
java.util.Set burstAliases,
boolean required,
Argument argument,
Group children,
int id)
Creates a new DefaultOption
|
ParentImpl(Argument argument,
Group children,
java.lang.String description,
int id,
boolean required)
Creation of a new ParaentImpl.
|
Switch(java.lang.String enabledPrefix,
java.lang.String disabledPrefix,
java.lang.String preferredName,
java.util.Set aliases,
java.lang.String description,
boolean required,
Argument argument,
Group children,
int id,
java.lang.Boolean switchDefault)
Creates a new Switch with the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
Group |
HelpFormatter.getGroup()
Return the group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HelpFormatter.setGroup(Group group)
Sets the Group of Options to document
|