blob: e1b59d3c39bd6a944ded78a3407674005c792d4d (
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
|
using CommandLine;
using CommandLine.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.ShortcutGenerator.CLI
{
public class Options
{
[Option('s', Required = true, HelpText = "Source application file.")]
public String SourcePath { get; set; }
[Option('d', Required = true, HelpText = "Target shortcut file.")]
public String TargetPath { get; set; }
[HelpOption]
public string GetUsage()
{
return HelpText.AutoBuild(this,
(HelpText current) => HelpText.DefaultParsingErrorsHandler(this, current));
}
}
}
|