Files
SabreTools/RombaSharp/Features/Shutdown.cs
2021-02-03 11:10:19 -08:00

31 lines
867 B
C#

using System.Collections.Generic;
using SabreTools.Help;
namespace RombaSharp.Features
{
internal class Shutdown : BaseFeature
{
public const string Value = "Shutdown";
public Shutdown()
{
Name = Value;
Flags = new List<string>() { "shutdown" };
Description = "Gracefully shuts down server.";
_featureType = ParameterType.Flag;
LongDescription = "Gracefully shuts down server saving all the cached data.";
Features = new Dictionary<string, Feature>();
// Common Features
AddCommonFeatures();
}
public override void ProcessFeatures(Dictionary<string, Feature> features)
{
base.ProcessFeatures(features);
logger.User("This feature is not yet implemented: shutdown");
}
}
}