BadScript 2
Loading...
Searching...
No Matches
Options_HelpText_Ordering.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
4{
5
6 [Verb("verb1")]
8 {
9 [Option('a', "alpha", Required = true)]
10 public string alphaOption { get; set; }
11
12 [Option('b', "alpha2", Required = true)]
13 public string alphaTwoOption { get; set; }
14
15 [Option('d', "charlie", Required = false)]
16 public string deltaOption { get; set; }
17
18 [Option('c', "bravo", Required = false)]
19 public string charlieOption { get; set; }
20
21 [Option('f', "foxtrot", Required = false)]
22 public string foxOption { get; set; }
23
24 [Option('e', "echo", Required = false)]
25 public string echoOption { get; set; }
26
27 [Value(0)] public string someExtraOption { get; set; }
28 }
29
30 [Verb("verb2")]
32 {
33 [Option('a', "alpha", Required = true)]
34 public string alphaOption { get; set; }
35
36 [Option('b', "alpha2", Required = true)]
37 public string alphaTwoOption { get; set; }
38
39 [Option('c', "bravo", Required = false)]
40 public string charlieOption { get; set; }
41
42 [Option('d', "charlie", Required = false)]
43 public string deltaOption { get; set; }
44 }
45}