public static int RunOne(CommandContext _context, DayArgs args) { try { AocRunner.RunOne(args.ProgramString()); } catch (NoDayFound) { System.Console.WriteLine($@"Could not find day {args.ProgramString()} possible days: {string.Join(", ", AocRunner.Days().Select(day => day.GetType().Name))} "); } return(0); }
public static int TestAll(CommandContext _context) { AocRunner.TestAll(); return(0); }
public static int RunLast(CommandContext _context) { AocRunner.RunLast(); return(0); }