DP-PatMe2Mqtt/PatMe2Mqtt/SyncCmd.cs

15 lines
332 B
C#
Raw Permalink Normal View History

2023-05-26 15:26:16 +02:00
namespace PatMe2Mqtt
{
public sealed class SyncCmd : Cmd
{
public override string Name => "patme2mqtt";
public override string HelpMessage => "Manually pushes the PatMe stats to MQTT.";
public override void Run(string arguments)
{
Service.Plugin.SyncAll();
}
}
}