-
Notifications
You must be signed in to change notification settings - Fork 0
/
Options.cs
31 lines (21 loc) · 1.15 KB
/
Options.cs
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
30
31
using CommandLine;
namespace OctopusVarChecker
{
public class Options
{
[Option('u', "display-var-usage", Default = false, HelpText = "Display var usage")]
public bool DisplayVariableUsage { get; set; }
[Option("octopus-host", Required = false, Default = "", HelpText = "Octopus URL")]
public string OctopusUrl { get; set; }
[Option("api-key", Required = false, Default = "", HelpText = "Octopus Api Key")]
public string ApiKey { get; set; }
[Option("project-name", Required = false, Default = "", HelpText = "Octopus project name")]
public string OctopusProjectName { get; set; }
[Option("config-path", Required = false, Default = "", HelpText = "Path to the web.release.config, without trailing '/'")]
public string ConfigFilePath { get; set; }
[Option('p', "paginate-results", Required = false, Default = false, HelpText = "Display results page by page")]
public bool PaginateResults { get; set; }
[Option("ignore-dmz", Required = false, Default = false, HelpText = "Ignore _dmz environments")]
public bool IgnoreDmz { get; set; }
}
}