loadConsole method

void loadConsole()

Implementation

void loadConsole () {
  stdin.lineMode = true;
  final console = Console(theme: DefaultTheme());

  cli.register([
    MakeEvent(console),
    MakeCommand(console),
    MakeSharedState(console),
    MakeModule(console),
    MakeService(console),
    CompileExecutable(console),
    CompileJavascript(console),
    Help(console, cli),
  ]);
}