System.REPL.Command

Command class

data Command m i a

oneOf

subcommand

Running commands

runCommand

runSingleCommand

runSingleCommandIf

Making REPLs

makeREPL

makeREPLSimple

Exceptions

data SomeREPLError

data SomeCommandError

data MalformedParamsError

data TooFewParamsError

data TooManyParamsError

Dealing with arguments

readArgs

getName

defCommandTest

quoteArg

Helpers

summarizeCommands

Making commands

makeCommand

makeCommand1

makeCommand2

makeCommand3

makeCommand4

makeCommand5

makeCommand6

makeCommand7

makeCommand8

makeCommandN

Example commands.

noOpCmd

defExitCmd

defHelpCmd

defErrorHandler