blob: 4293f0fc7a8622f7979b2b7629056d8e6926d8ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using CommandLine;
using CommandLine.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.AlarmParametersGenerator
{
public class Options
{
[Option('i', Required = true, HelpText = "Source excel file.")]
public String ExcelFile { get; set; }
[Option('o', Required = true, HelpText = "Output file path.")]
public String OutputFile { get; set; }
[ParserState]
public IParserState LastParserState { get; set; }
[HelpOption]
public string GetUsage()
{
return HelpText.AutoBuild(this,
(HelpText current) => HelpText.DefaultParsingErrorsHandler(this, current));
}
}
}
|