public class Shell
extends java.lang.Object
Constructor and Description |
---|
Shell(java.util.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(java.util.List<org.springframework.boot.cli.command.Command> commands) throws java.io.IOException
Shell
instance.commands
- Commandsjava.io.IOException
- on error