Fan

 

class

fansh::Shell

sys::Obj
  fansh::Shell

Fan Shell

Slots

commandSource

Bool command(Str line)

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

dumpScopeSource

Void dumpScope()

Run the scope command.

findInScopeSource

Var findInScope(Str name)

helpSource

Void help()

Run the help command.

inSource

InStream in := Sys.in

outSource

OutStream out := Sys.out

quitSource

Void quit()

Run the quit command.

runSource

Void run()

Run the shell main loop.