/// <summary> /// Main entry point. /// </summary> /// <param name="args"></param> public static void Main(string[] args) { InitAdl(); float start = Timer.MS; // Load assembly Console.WriteLine(CliHeader, start); if (args.Length != 0) { string[][] execs = SplitExecutions(args); foreach (var execution in execs) { new CLI(execution); } } else { //Not empty... Just special. #if RELEASE Console.WriteLine(HelpText); #elif DEBUG CLI c; string[] arf; bool exit = false; do { arf = Console.ReadLine().Pack(" ").ToArray(); if (arf.Contains("exit")) { exit = true; } c = new CLI(arf); Debug.RemoveAllOutputStreams(); Logger.ResetWarnErrorCounter(); c = null; } while (!exit); #endif } }
public override void RunArgs(string[] args) { CLI.Main(args); }