Extract out Help namespace

This commit is contained in:
Matt Nadareski
2020-12-07 13:57:26 -08:00
parent 8d593c585c
commit 6423e46b53
52 changed files with 721 additions and 685 deletions

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.IO;
using SabreTools.Help;
using SabreTools.Library.DatFiles;
using SabreTools.Library.DatItems;
@@ -16,9 +17,9 @@ namespace SabreTools.Features
Name = Value;
Flags = new List<string>() { "-d", "--d2d", "--dfd" };
Description = "Create DAT(s) from an input directory";
_featureType = Library.Help.FeatureType.Flag;
_featureType = ParameterType.Flag;
LongDescription = "Create a DAT file from an input directory or set of files. By default, this will output a DAT named based on the input directory and the current date. It will also treat all archives as possible games and add all three hashes (CRC, MD5, SHA-1) for each file.";
Features = new Dictionary<string, Library.Help.Feature>();
Features = new Dictionary<string, Help.Feature>();
// Hash Features
AddFeature(SkipMd5Flag);
@@ -52,7 +53,7 @@ namespace SabreTools.Features
AddFeature(ThreadsInt32Input);
}
public override void ProcessFeatures(Dictionary<string, Library.Help.Feature> features)
public override void ProcessFeatures(Dictionary<string, Help.Feature> features)
{
base.ProcessFeatures(features);