1
0
mirror of https://github.com/nsnail/spectre.console.git synced 2025-04-27 21:52:51 +08:00
2020-12-06 15:41:45 +01:00

22 lines
528 B
C#

using Generator.Commands;
using Spectre.Cli;
namespace Generator
{
public static class Program
{
public static int Main(string[] args)
{
var app = new CommandApp();
app.Configure(config =>
{
config.AddCommand<ColorGeneratorCommand>("colors");
config.AddCommand<EmojiGeneratorCommand>("emoji");
config.AddCommand<SpinnerGeneratorCommand>("spinners");
});
return app.Run(args);
}
}
}