JD2022-TU1/main/tools/modules/JD.Nas.Reporting.Console.Module/ReportingConsoleOption.cs

16 lines
673 B
C#

namespace JD.Nas.Reporting.Console.Module
{
using CommandLine;
using Plume.Interfaces.CommandLines;
[Verb("report", HelpText = "Start a nas reporting")]
public class ReportingConsoleOption : ICommandLineOption
{
[Option(shortName: 'c', longName: "configurationFilePath", Default = null, HelpText = "Set path to found the configuration file of nas reporting")]
public string ConfigurationFilePath { get; set; }
[Option(shortName: 'a', longName: "apiUrlForConfiguration", Default = null, HelpText = "Set url to get the configuration file of nas reporting")]
public string ApiUrlForConfiguration { get; set; }
}
}