Package com.io7m.idstore.shell.admin

# Interface IdAShellType

All Superinterfaces:
  `AutoCloseable`

All Known Implementing Classes:
  `IdAShell`

public interface IdAShellType extends AutoCloseable
The interface to shells.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Collection<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