logo

class

fansh::Shell

sys::Obj
  fansh::Shell

Fan Shell

Slots

command

Bool command(Str line)

If the line maps to a command function, then run it and return true. Otherwise return false.

dumpScope

Void dumpScope()

Run the scope command.

findInScope

Var findInScope(Str name)

help

Void help()

Run the help command.

in

InStream in

out

OutStream out

quit

Void quit()

Run the quit command.

run

Void run()

Run the shell main loop.