Lean  $LEAN_TAG$
CommandLineOption.cs
1 using McMaster.Extensions.CommandLineUtils;
2 
4 {
5  /// <summary>
6  /// Auxiliary class to keep information about a specific command line option
7  /// </summary>
8  public class CommandLineOption
9  {
10  /// <summary>
11  /// Command line option type
12  /// </summary>
13  public CommandOptionType Type { get; }
14 
15  /// <summary>
16  /// Command line option description
17  /// </summary>
18  public string Description { get; }
19 
20  /// <summary>
21  /// Command line option name
22  /// </summary>
23  public string Name { get; }
24 
25  /// <summary>
26  /// Command line option contructor
27  /// </summary>
28  public CommandLineOption(string name, CommandOptionType type, string description = "")
29  {
30  Type = type;
31  Description = description;
32  Name = name;
33  }
34  }
35 }