Functions

f
define(
repl: ReplContext,
commands: Record<string, ReplCommand>
): void

Registers commands on the server under their own names and every alias.

f
failureText(result: Repl.ReplResult): string

A failed result, in the words its kind earns.

Interfaces

I
ReplCommand

One command the prompt answers to: the sentence .help prints beside it, and what typing it does.

I
ReplContext

Everything a command may need that is not its argument.