public class Shell extends Object
| Constructor and Description |
|---|
Shell(List<org.springframework.boot.cli.command.Command> commands)
Create a new
Shell instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleSigInt()
Final handle an interrup signal (CTRL-C)
|
void |
run()
Run the shell until the user exists.
|
public Shell(List<org.springframework.boot.cli.command.Command> commands) throws IOException
Shell instance.IOException