mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
29 lines
760 B
C#
29 lines
760 B
C#
using System.Collections.Generic;
|
|
|
|
using SabreTools.Core;
|
|
using SabreTools.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 = ParameterType.Flag;
|
|
LongDescription = "Prints version.";
|
|
Features = new Dictionary<string, Feature>();
|
|
}
|
|
|
|
public override void ProcessFeatures(Dictionary<string, Feature> features)
|
|
{
|
|
base.ProcessFeatures(features);
|
|
logger.User($"RombaSharp version: {Constants.Version}");
|
|
}
|
|
}
|
|
}
|