Updated worker to show upsert issue messages.
All checks were successful
ci / build-test (push) Successful in 2m36s
ci / publish-image (push) Has been skipped

This commit is contained in:
2026-03-07 00:03:18 -05:00
parent 1d40013837
commit 1e01edf1b7
7 changed files with 53 additions and 11 deletions

View File

@@ -30,6 +30,26 @@ public static class CliUi
AnsiConsole.Write(panel);
}
public static void PageErrors(string productId, string[] messages)
{
if (messages.Length == 0)
return;
var grid = new Grid().AddColumn();
foreach (string message in messages )
{
grid.AddRow($"[red]{Escape(message)}[/]");
}
var panel = new Panel(grid)
.Header($"[bold]{productId}[/]")
.Border(BoxBorder.Rounded)
.Padding(1, 0, 1, 0);
AnsiConsole.Write(panel);
}
public static void Warning(string message) =>
AnsiConsole.MarkupLine($"[yellow]⚠ {Escape(message)}[/]");