| Package | Description |
|---|---|
| org.springframework.shell |
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
|
| org.springframework.shell.command | |
| org.springframework.shell.context | |
| org.springframework.shell.jline |
Contains classes that leverage the JLine library to hook into the Spring Shell REPL.
|
| org.springframework.shell.result |
Contains strategies for dealing with results of commands.
|
| Constructor and Description |
|---|
Shell(ResultHandlerService resultHandlerService,
CommandCatalog commandRegistry,
org.jline.terminal.Terminal terminal,
ShellContext shellContext,
ExitCodeMappings exitCodeMappings) |
| Modifier and Type | Method and Description |
|---|---|
static CommandCatalog |
CommandCatalog.of(Collection<CommandResolver> resolvers,
ShellContext shellContext)
Gets an instance of a default
CommandCatalog. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultShellContext
Default implementation of a
ShellContext. |
| Constructor and Description |
|---|
InteractiveShellRunner(org.jline.reader.LineReader lineReader,
PromptProvider promptProvider,
Shell shell,
ShellContext shellContext) |
NonInteractiveShellRunner(Shell shell,
ShellContext shellContext) |
| Modifier and Type | Method and Description |
|---|---|
ThrowableResultHandler |
ResultHandlerConfig.throwableResultHandler(org.jline.terminal.Terminal terminal,
CommandCatalog commandCatalog,
ShellContext shellContext,
org.springframework.beans.factory.ObjectProvider<InteractiveShellRunner> interactiveApplicationRunner) |
| Constructor and Description |
|---|
ThrowableResultHandler(org.jline.terminal.Terminal terminal,
CommandCatalog commandCatalog,
ShellContext shellContext,
org.springframework.beans.factory.ObjectProvider<InteractiveShellRunner> interactiveRunner) |
Copyright © 2023. All rights reserved.