using Azaion.Missions.E2E.Reporting; if (args.Length is < 2 or > 3) { Console.Error.WriteLine("usage: trxtocsv []"); Console.Error.WriteLine(" When the test assembly path is supplied, [Trait] attributes are"); Console.Error.WriteLine(" reflected back into the Category / Traces CSV columns."); return 64; } var trxPath = args[0]; var csvPath = args[1]; var dllPath = args.Length == 3 ? args[2] : null; try { var n = TrxToCsvPostProcessor.Run(trxPath, csvPath, dllPath); Console.WriteLine($"[trxtocsv] wrote {n} rows to {csvPath}"); return 0; } catch (FileNotFoundException ex) { Console.Error.WriteLine($"[trxtocsv] {ex.Message}"); return 2; }