grizzled

cmd

package cmd

Classes and objects to aid in the construction of line-oriented command interpreters. This package is very similar, in concept, to the Python cmd module (though its implementation differs quite a bit).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. cmd
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait BlockCommandHandler extends NoCompletionsHandler

    A block command is one that consists of multiple input lines between some sort of start and end indicator.

  2. sealed abstract class Command extends AnyRef

    Mapped commands.

  3. sealed abstract class CommandAction extends AnyRef

    Actions returned by handlers.

  4. trait CommandHandler extends AnyRef

    Trait for an object (or class) that handles a single command.

  5. abstract class CommandInterpreter extends AnyRef

    Base class for command interpreters.

  6. trait HiddenCommandHandler extends NoCompletionsHandler

    The handler trait for a hidden command.

  7. class HistoryHandler extends CommandHandler

    Simple history command handler.

  8. case class KnownCommand(handler: CommandHandler, fullInputLine: String, name: String, args: String) extends Command with Product with Serializable

  9. trait NoCompletionsHandler extends CommandHandler

    Mixed in to indicate no completions are available.

  10. class RedoHandler extends CommandHandler

    Simple "redo command" handler.

  11. case class UnknownCommand(fullInputLine: String, name: String, args: String) extends Command with Product with Serializable

Value Members

  1. object CmdUtil

    Miscellaneous useful utility functions.

  2. object EOFCommand extends Command with Product with Serializable

  3. object EmptyCommand extends Command with Product with Serializable

  4. object KeepGoing extends CommandAction with Product with Serializable

  5. object Stop extends CommandAction with Product with Serializable

  6. def error(msg: String): Unit

Inherited from AnyRef

Inherited from Any

Ungrouped