static void Promt() { while (Work) { Console.Write(">"); var cmd = Console.ReadLine(); Parser.Run(cmd); } }
static void Main(string[] args) { Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; Parser = Parser.Create(args); // For test //Parser.Run("test begin"); if (args.Length == 0) { // promt commands //Parser.Run("promt"); // or help here Parser.Run("/?"); } //Console.ReadKey(); }