BadScript 2
Loading...
Searching...
No Matches
Options_With_Value_Sequence_And_Normal_Option.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.
2using System.Collections.Generic;
3
5{
7 {
8 [Option('c', "compress",
9 HelpText = "Compress Match Pattern, Pipe Separated (|) ",
10 Separator = '|',
11 Default = new[]
12 {
13 "*.txt", "*.log", "*.ini"
14 })]
15 public IEnumerable<string> Compress { get; set; }
16
17 [Value(0,
18 HelpText = "Input Directories.",
19 Required = true)]
20 public IEnumerable<string> InputDirs { get; set; }
21
22
23 [Option('n', "name",
24 HelpText = "Metadata Name.",
25 Default = "WILDCARD")]
26 public string Name { get; set; }
27 }
28}