Package com.io7m.idstore.shell.admin
Interface IdAShellType
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
IdAShell
The interface to shells.
-
Method Summary
Modifier and TypeMethodDescriptionCollection
<com.io7m.quarrel.core.QCommandType> commands()
int
exitCode()
void
run()
Run the shell until the user asks it to exit (or it reaches EOF).Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
commands
Collection<com.io7m.quarrel.core.QCommandType> commands()- Returns:
- The set of commands exposed by the shell
-
run
void run()Run the shell until the user asks it to exit (or it reaches EOF). -
exitCode
int exitCode()- Returns:
- The shell exit code
-