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.

Source

dumpScope

Void dumpScope()

Run the scope command.

Source

findInScope

Var findInScope(Str name)

Source

help

Void help()

Run the help command.

Source

in

InStream in := Sys.in

Source

out

OutStream out := Sys.out

Source

quit

Void quit()

Run the quit command.

Source

run

Void run()

Run the shell main loop.

Source