public static int Main(string[] args) { try { var a = new Args(args); var fixer = new Fixer(a.SpecFlowPath, a.TestFramework); fixer.Fix(a.WorkingDirectory); PrintUsingColor("SpecFlow fixed.", ConsoleColor.Green); return(0); } catch (Exception e) { PrintUsingColor("Error: " + e.Message, ConsoleColor.Red); return(-1); } }
public static int Main(string[] args) { try { var a = new Args(args); var fixer = new Fixer(a.SpecFlowPath, a.TestFramework); fixer.Fix(a.WorkingDirectory); PrintUsingColor("SpecFlow fixed.", ConsoleColor.Green); return 0; } catch (Exception e) { PrintUsingColor("Error: " + e.Message, ConsoleColor.Red); return -1; } }