mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Remove Version feature from Headerer (unused)
This commit is contained in:
@@ -1,33 +0,0 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
using SabreTools.Core;
|
|
||||||
using SabreTools.Help;
|
|
||||||
|
|
||||||
namespace Headerer.Features
|
|
||||||
{
|
|
||||||
internal class Version : BaseFeature
|
|
||||||
{
|
|
||||||
public const string Value = "Version";
|
|
||||||
|
|
||||||
public Version()
|
|
||||||
{
|
|
||||||
Name = Value;
|
|
||||||
Flags.AddRange(["v", "version"]);
|
|
||||||
Description = "Prints version";
|
|
||||||
_featureType = ParameterType.Flag;
|
|
||||||
LongDescription = "Prints current program version.";
|
|
||||||
|
|
||||||
// Common Features
|
|
||||||
AddCommonFeatures();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override bool ProcessFeatures(Dictionary<string, Feature?> features)
|
|
||||||
{
|
|
||||||
// If the base fails, just fail out
|
|
||||||
if (!base.ProcessFeatures(features))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
logger.User($"Headerer version: {Globals.Version}");
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user