Class SetupShell
java.lang.Object
dev.getelements.elements.setup.commands.SetupShell
- All Implemented Interfaces:
SetupCommand
,AutoCloseable
-
Field Summary
Fields inherited from interface dev.getelements.elements.setup.SetupCommand
STDERR, STDIN, STDOUT
-
Constructor Summary
ConstructorsConstructorDescriptionSetupShell
(org.jline.terminal.Terminal terminal, org.jline.reader.LineReader lineReader) -
Method Summary
-
Constructor Details
-
SetupShell
@Inject public SetupShell(org.jline.terminal.Terminal terminal, org.jline.reader.LineReader lineReader) throws IOException - Throws:
IOException
-
-
Method Details
-
start
-
run
Description copied from interface:SetupCommand
Passed to the command after it has been instantiated by the IoC system.- Specified by:
run
in interfaceSetupCommand
- Parameters:
args
-- Throws:
Exception
-
close
Description copied from interface:SetupCommand
Closes the command.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSetupCommand
- Throws:
Exception
-