Selector/Selector.CLI/Command/Scrobble/Scrobble.cs

17 lines
488 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);
}
}
}