Spectre.Console
provides application model to bind args[]
to git-style commands.
var app = new CommandApp();
app.Configure(c =>
{
c.AddCommand<ExportBots>("scrape");
c.AddCommand<ListBots>("list");
c.AddCommand<DownloadBot>("download")
.WithExample(new[] {"download", "--random"});
});
await app.RunAsync(args);
dotnet run -- -h
dotnet run -- scrape
dotnet run -- list
โ๐ https://www.nuget.org/packages/Spectre.Console.Extensions.Table
dotnet run -- download
โ๐ https://www.nuget.org/packages/Spectre.Console.Extensions.Progress