Modifier and Type | Method and Description |
---|---|
Collection<Command> |
DefaultCommandFactory.getCommands() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCommand
Abstract
Command implementation. |
class |
OptionParsingCommand
Base class for a
Command that parse options using an OptionHandler . |
Modifier and Type | Method and Description |
---|---|
Command |
CommandRunner.findCommand(String name)
Find a command by name.
|
Modifier and Type | Method and Description |
---|---|
protected List<Command> |
CommandRunner.getCommands() |
Collection<Command> |
CommandFactory.getCommands()
Returns the CLI
Command s. |
Iterator<Command> |
CommandRunner.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
CommandRunner.addCommand(Command command)
Add the specified command.
|
protected void |
CommandRunner.afterRun(Command command)
Subclass hook called after a command has run.
|
protected void |
CommandRunner.beforeRun(Command command)
Subclass hook called before a command is run.
|
boolean |
CommandRunner.isOptionCommand(Command command)
Returns if the specified command is an option command.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandRunner.addCommands(Iterable<Command> commands)
Add the specified commands.
|
Modifier and Type | Class and Description |
---|---|
class |
JarCommand
Command to create a self-contained executable jar file from a CLI application. |
class |
WarCommand
Command to create a self-contained executable jar file from a CLI application. |
Modifier and Type | Class and Description |
---|---|
class |
HelpCommand
Internal
Command used for 'help' requests. |
class |
HintCommand
Internal
Command to provide hints for shell auto-completion. |
class |
VersionCommand
Command to display the 'version' number. |
Modifier and Type | Class and Description |
---|---|
class |
GrabCommand
Command to grab the dependencies of one or more Groovy scripts. |
Modifier and Type | Class and Description |
---|---|
class |
InitCommand
Command that initializes a project using Spring initializr. |
Modifier and Type | Class and Description |
---|---|
class |
InstallCommand
Command to install additional dependencies into the CLI. |
class |
UninstallCommand
Command to uninstall dependencies from the CLI's lib/ext directory. |
Modifier and Type | Class and Description |
---|---|
class |
RunCommand
Command to 'run' a groovy script or scripts. |
Modifier and Type | Class and Description |
---|---|
class |
PromptCommand
|
class |
ShellCommand
Command to start a nested REPL shell. |
Constructor and Description |
---|
CommandCompleter(jline.console.ConsoleReader consoleReader,
jline.console.completer.ArgumentCompleter.ArgumentDelimiter argumentDelimiter,
Iterable<Command> commands) |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.