| Interface | Description |
|---|---|
| Command |
A single command that can be run from the CLI.
|
| CommandFactory |
Factory used to create CLI
Commands. |
| Class | Description |
|---|---|
| AbstractCommand |
Abstract
Command implementation. |
| CommandRunner |
Main class used to run
Commands. |
| HelpExample |
An example that can be displayed in the help.
|
| OptionParsingCommand |
Base class for a
Command that parse options using an OptionHandler. |
| Enum | Description |
|---|---|
| CommandException.Option |
Specific options understood by the
CommandRunner. |
| Exception | Description |
|---|---|
| CommandException |
Runtime exception wrapper that defines additional
CommandException.Options that are understood
by the CommandRunner. |
| NoHelpCommandArgumentsException |
Exception used to when the help command is called without arguments.
|
| NoSuchCommandException |
Exception used when a command is not found.
|
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.