static void Main(string[] args) { if (args.Any(x => !string.IsNullOrEmpty(x) && x.Contains("-d"))) { while (!Debugger.IsAttached) { } } var commandLine = Environment.CommandLine; var runner = new ZMRunner(); runner.Run(commandLine); }
public void can_run() { var runner = new ZMRunner(); runner.Run("zm p new"); runner.Run("zm r db/c db/run \"foo navi\""); }