2022-02-18 19:47:11 +00:00
|
|
|
|
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);
|
2022-02-24 00:27:34 +00:00
|
|
|
|
|
|
|
|
|
var mapCommand = new ScrobbleMapCommand("map", "map last.fm data to spotify uris");
|
|
|
|
|
AddCommand(mapCommand);
|
2022-02-18 19:47:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|