public static void ShellPrompt() { Console.Write(ShellUtil.MsgPrefix("root >")); var input = Console.ReadLine(); var split = input.Split(' '); ShellUtil.RunCommand(split[0], split); }
protected override void BeforeRun() { shellUtil = new ShellUtil(); shellUtil.InitiallizeSession(); }
protected override void Run() { ShellUtil.ShellPrompt(); }