2021-05-23 23:30:14 +02:00

23 lines
597 B
C#

using Generator.Commands;
using Spectre.Console.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");
config.AddCommand<SampleCommand>("samples");
});
return app.Run(args);
}
}
}