Files
quantconnect--lean/Configuration/CommandLineOption.cs
T
2026-07-13 13:02:50 +08:00

36 lines
926 B
C#

using McMaster.Extensions.CommandLineUtils;
namespace QuantConnect.Configuration
{
/// <summary>
/// Auxiliary class to keep information about a specific command line option
/// </summary>
public class CommandLineOption
{
/// <summary>
/// Command line option type
/// </summary>
public CommandOptionType Type { get; }
/// <summary>
/// Command line option description
/// </summary>
public string Description { get; }
/// <summary>
/// Command line option name
/// </summary>
public string Name { get; }
/// <summary>
/// Command line option constructor
/// </summary>
public CommandLineOption(string name, CommandOptionType type, string description = "")
{
Type = type;
Description = description;
Name = name;
}
}
}