# Package org.codehaus.groovy.tools.shell

## Package org.codehaus.groovy.tools.shell Description

Provides support for the Groovy Shell (aka. `groovysh`).

- Interface Summary
  Interface | Description
  --- | ---
  Command | Provides the interface required for command extensions.
  Evaluator |
  Parsing |

- Class Summary
  Class | Description
  --- | ---
  AnsiDetector |
  BufferManager | Manages the shells buffers.
  CommandAlias | Provides simple command aliasing.
  CommandRegistry | A registry of shell Command instances which may be executed.
  CommandSupport | Support for Command instances.
  CommandsMultiCompleter | Completer for interactive shells.
  ComplexCommandSupport | Support for more complex commands.
  Groovysh | An interactive shell for evaluating Groovy code from the command-line (aka. groovysh).
  IO | Container for input/output handles.
  IO.Verbosity |
  InteractiveShellRunner | Support for running a Shell interactively using the JLine library.
  Interpreter | Helper to interpret a source buffer.
  Main | A Main instance has a Groovysh member representing the shell, and a startGroovysh() method to run an interactive shell.
  ParseCode | Container for the parse code.
  ParseStatus | Container for parse status details.
  Parser | Provides a facade over the parser to recognize valid Groovy syntax.
  PatchedCandidateListCompletionHandler | jline completion handler displays ANSIfied candidates nicely, but does not de-ANSIfy when adding to the prompt :-(
  PatchedConsoleReader |
  RelaxedParser | A relaxed parser, which tends to allow more, but won't really catch valid syntax errors.
  RigidParser | A more rigid parser which catches more syntax errors, but also tends to barf on stuff that is really valid from time to time.
  Shell | A simple shell for invoking commands from a command-line.
  ShellRunner | Support for running a Shell.

- Exception Summary
  Exception | Description
  --- | ---
  CommandException | Thrown to indicate a problem with command execution.

- Error Summary
  Error | Description
  --- | ---
  ExitNotification | Notification to signal the shell to exit.