BadScript 2
Loading...
Searching...
No Matches
Options_With_Similar_Names.cs
Go to the documentation of this file.
1// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
2
3using System.Collections.Generic;
4
6{
8 {
9 [Option("deploy", Separator = ',', HelpText= "Projects to deploy")]
10 public IEnumerable<string> Deploys { get; set; }
11
12 [Option("profile", Required = true, HelpText = "Profile to use when restoring and publishing")]
13 public string Profile { get; set; }
14
15 [Option("configure-profile", Required = true, HelpText = "Profile to use for Configure")]
16 public string ConfigureProfile { get; set; }
17 }
18
20 {
21 [Option('f', "flag", HelpText = "Flag")]
22 public bool Flag { get; set; }
23
24 [Option('c', "categories", Required = false, Separator = ',', HelpText = "Categories")]
25 public IEnumerable<string> Categories { get; set; }
26
27 [Option('j', "jobId", Required = true, HelpText = "Texts.ExplainJob")]
28 public int JobId { get; set; }
29 }
30
31}