Selector/Selector.CLI/Program.cs

18 lines
500 B
C#
Raw Normal View History

using System.CommandLine;
namespace Selector.CLI
{
public static class Program
{
public static void Main(string[] args)
{
var cmd = new HostRootCommand();
cmd.AddCommand(new ScrobbleCommand("scrobble", "Manipulate scrobbles"));
2022-02-18 22:13:16 +00:00
cmd.AddCommand(new MigrateCommand("migrate", "Migrate database"));
cmd.AddCommand(new SpotifyHistoryCommand("history", "Insert Spotify history"));
cmd.Invoke(args);
}
}
}