mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
RombaSharp split Features too
This commit is contained in:
28
RombaSharp/Features/Version.cs
Normal file
28
RombaSharp/Features/Version.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using SabreTools.Library.Data;
|
||||
using SabreTools.Library.Help;
|
||||
|
||||
namespace RombaSharp.Features
|
||||
{
|
||||
internal class Version : BaseFeature
|
||||
{
|
||||
public const string Value = "Version";
|
||||
|
||||
public Version()
|
||||
{
|
||||
Name = Value;
|
||||
Flags = new List<string>() { "version" };
|
||||
Description = "Prints version";
|
||||
_featureType = FeatureType.Flag;
|
||||
LongDescription = "Prints version.";
|
||||
Features = new Dictionary<string, Feature>();
|
||||
}
|
||||
|
||||
public override void ProcessFeatures(Dictionary<string, Feature> features)
|
||||
{
|
||||
base.ProcessFeatures(features);
|
||||
Globals.Logger.User($"RombaSharp version: {Constants.Version}");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user