Add day 10

This commit is contained in:
2022-12-12 15:21:15 +01:00
parent 94e9159f8e
commit fe91c0f07a
2 changed files with 282 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ var days = Assembly.GetAssembly(typeof(Day))!.GetTypes()
var select = new SelectionPrompt<Day>()
.Title("[cyan]Select a [yellow]day[/] to run:[/]")
.AddChoices(days.Reverse());
.AddChoices(days.OrderByDescending(d => d.Number));
var selectedDay = AnsiConsole.Prompt(select);