[CLI] Add colors to help message

This commit is contained in:
VaDiM
2024-02-08 22:35:48 +03:00
parent 70213e3012
commit 6fe12d274f
3 changed files with 55 additions and 45 deletions

View File

@ -4,15 +4,17 @@
{
public string Name { get; }
public string Description { get; }
public string Example { get; }
public T Value { get; set; }
public T DefaultValue { get; }
public HelpGroups HelpGroup { get; }
public bool IsFlag { get; }
public Option(T optionDefaultValue, string optionName, string optionDescription, HelpGroups optionHelpGroup, bool isFlag)
public Option(T optionDefaultValue, string optionName, string optionDescription, string optionExample, HelpGroups optionHelpGroup, bool isFlag)
{
Name = optionName;
Description = optionDescription;
Example = optionExample;
DefaultValue = optionDefaultValue;
Value = DefaultValue;
HelpGroup = optionHelpGroup;