Package | Description |
---|---|
org.springframework.boot.cli.command |
Command infrastructure for the CLI.
|
org.springframework.boot.cli.command.core |
Core CLI commands.
|
org.springframework.boot.cli.command.options |
Support classes for handling command line options.
|
org.springframework.boot.cli.command.shell |
Classes for running a nested shell in the CLI.
|
org.springframework.boot.cli.command.status |
CLI command status.
|
Modifier and Type | Method and Description |
---|---|
ExitStatus |
Command.run(String... args)
Run the command.
|
ExitStatus |
OptionParsingCommand.run(String... args) |
protected ExitStatus |
CommandRunner.run(String... args)
Parse the arguments and run a suitable command.
|
Modifier and Type | Method and Description |
---|---|
ExitStatus |
HintCommand.run(String... args) |
ExitStatus |
HelpCommand.run(String... args) |
ExitStatus |
VersionCommand.run(String... args) |
Modifier and Type | Method and Description |
---|---|
protected ExitStatus |
OptionHandler.run(joptsimple.OptionSet options)
Run the command using the specified parsed
OptionSet . |
ExitStatus |
OptionHandler.run(String... args) |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
PromptCommand.run(String... strings) |
ExitStatus |
ShellCommand.run(String... args) |
Modifier and Type | Field and Description |
---|---|
static ExitStatus |
ExitStatus.ERROR
Generic "not OK" exit status with non-zero exit code and hangup=true.
|
static ExitStatus |
ExitStatus.OK
Generic "OK" exit status with zero exit code and hangup=false.
|
Modifier and Type | Method and Description |
---|---|
ExitStatus |
ExitStatus.hangup()
Convert the existing code to a hangup.
|