Spectre.Console
Last updated
Last updated
using Spectre.Console;
AnsiConsole.Markup("[bold red]Hello, World![/]");var table = new Table();
table.AddColumn("Name");
table.AddColumn("Age");
table.AddRow("Alice", "30");
table.AddRow("Bob", "25");
AnsiConsole.Render(table);AnsiConsole.Progress()
.Start(ctx => {
var task = ctx.AddTask("[green]Processing...[/]");
while (!task.IsFinished)
{
task.Increment(10);
Thread.Sleep(500);
}
});