private static void StartExportCommand(string[] args) { string path = "dump.txt"; if (args.Length > 0) { path = args[0]; } Manager.BeginExport(path); Manager.ExportSyncData = true; }
private static void StartExportCommand(string[] args) { string path = "dump.txt"; if (args.Length > 0) { if (args[0].Contains(".")) { path = args[0]; args = TrimArray(args, 1); } } Manager.BeginExport(path, args); Manager.ExportSyncData = true; }