diff --git a/SabreTools.CommandLine/CommandSet.cs b/SabreTools.CommandLine/CommandSet.cs index 5f74713..feb2222 100644 --- a/SabreTools.CommandLine/CommandSet.cs +++ b/SabreTools.CommandLine/CommandSet.cs @@ -46,6 +46,15 @@ namespace SabreTools.CommandLine /// public CommandSet() { } + /// + /// Create a new CommandSet with a printable header + /// + /// Custom commandline header to be printed when outputting help + public CommandSet(string header) + { + _header.Add(header); + } + /// /// Create a new CommandSet with a printable header /// @@ -55,6 +64,17 @@ namespace SabreTools.CommandLine _header.AddRange(header); } + /// + /// Create a new CommandSet with a printable header + /// + /// Custom commandline header to be printed when outputting help + /// Custom commandline footer to be printed when outputting help + public CommandSet(string header, string footer) + { + _header.Add(header); + _footer.Add(footer); + } + /// /// Create a new CommandSet with a printable header ///