Пример #1
0
        public static void ShellPrompt()
        {
            Console.Write(ShellUtil.MsgPrefix("root >"));
            var input = Console.ReadLine();
            var split = input.Split(' ');

            ShellUtil.RunCommand(split[0], split);
        }
Пример #2
0
 protected override void BeforeRun()
 {
     shellUtil = new ShellUtil();
     shellUtil.InitiallizeSession();
 }
Пример #3
0
 protected override void Run()
 {
     ShellUtil.ShellPrompt();
 }