Package | Description |
---|---|
org.springframework.boot.cli |
Main entry point of the Spring Boot CLI.
|
org.springframework.boot.cli.command |
Command infrastructure for the CLI.
|
org.springframework.boot.cli.command.archive |
CLI commands for creating jars and wars.
|
org.springframework.boot.cli.command.core |
Core CLI commands.
|
org.springframework.boot.cli.command.encodepassword |
CLI command for password encoding.
|
org.springframework.boot.cli.command.grab |
CLI command for grabbing dependencies.
|
org.springframework.boot.cli.command.init |
CLI command for initializing a new application using Spring Initializr.
|
org.springframework.boot.cli.command.install |
CLI commands for installing and uninstalling CLI dependencies.
|
org.springframework.boot.cli.command.run |
Classes for running CLI applications.
|
org.springframework.boot.cli.command.shell |
Classes for running a nested shell in the CLI.
|
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 |
---|---|
Collection<Command> |
CommandFactory.getCommands()
Returns the CLI
Command s. |
protected List<Command> |
CommandRunner.getCommands() |
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 |
EncodePasswordCommand
Command to encode passwords for use with Spring Security. |
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 © 2020 Pivotal Software, Inc.. All rights reserved.