-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOptions.cs
More file actions
32 lines (30 loc) · 906 Bytes
/
Copy pathOptions.cs
File metadata and controls
32 lines (30 loc) · 906 Bytes
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
32
using CommandLine;
using CommandLine.Text;
using System.Collections.Generic;
namespace AddZoomMetadata
{
class Options
{
[Option('d', "start-date",
SetName = "multipleEntry",
Required = false,
HelpText = "Process all media entries created after date")
]
public string strDate { get; set; }
public Options()
{
strDate = DateTime.MinValue.ToShortDateString();
}
[Usage(ApplicationAlias = "AddZoomMetadata")]
public static IEnumerable<Example> Examples
{
get
{
return new List<Example>() {
new Example("Process all media entries after date. Create XML output",
new Options { strDate = "2020-01-01", })
};
}
}
}
}