Selector/Selector.CLI/Command/Scrobble/Scrobble.cs
andy fbbd42f97a working scrobble mapping command
added scrobble mapping repo
2022-02-24 00:27:34 +00:00

20 lines
621 B
C#

using System.CommandLine;
namespace Selector.CLI
{
public class ScrobbleCommand : Command
{
public ScrobbleCommand(string name, string description = null) : base(name, description)
{
var saveCommand = new ScrobbleSaveCommand("save", "save scrobbles to database");
AddCommand(saveCommand);
var clearCommand = new ScrobbleClearCommand("clear", "clear user scrobbles");
AddCommand(clearCommand);
var mapCommand = new ScrobbleMapCommand("map", "map last.fm data to spotify uris");
AddCommand(mapCommand);
}
}
}