- main
Entry point to the CLI command. The default implementation uses args4j to parse
command line argumen
- clone
Obtains a copy of the command for invocation.
- getName
Gets the command name. For example, if the CLI is invoked as java -jar cli.jar foo arg1 arg2 arg4, o
- getTransportAuthentication
Returns the identity of the client as determined at the CLI transport level.
When the CLI connectio
- loadStoredAuthentication
Loads the persisted authentication information from ClientAuthenticationCache.
- printUsage
- printUsageSummary
Called while producing usage. This is a good method to override to render the
general description of
- registerOptionHandlers
Auto-discovers OptionHandlers and add them to the given command line parser.
- all
Returns all the registered CLICommands.
- getCurrent
If the calling thread is in the middle of executing a CLI command, return it.
Otherwise null.
- getShortDescription
Gets the quick summary of what this command does. Used by the help command to
generate the list of c
- run
Executes the command, and return the exit code. This is an internal contract
between CLICommand and