DP-PatMe2Mqtt/PatMe2Mqtt/SyncCmd.cs
2023-05-26 15:52:45 +02:00

15 lines
332 B
C#

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();
}
}
}