-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCommandLineOptions.cs
More file actions
30 lines (22 loc) · 1.24 KB
/
CommandLineOptions.cs
File metadata and controls
30 lines (22 loc) · 1.24 KB
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
namespace DeveloperInTheFlow.FactoryGenerator
{
using CommandLine;
using CommandLine.Text;
public class CommandLineOptions
{
#region Public Properties
[Option('a', "attribute-import-list", Required = false, HelpText = "Attributes to import", Default = "")]
public string AttributeImportList { get; set; }
[Option("teamcity-output", Required = false, HelpText = "Enable TeamCity output", Default = false)]
public bool EnableTeamCityOutput { get; set; }
[Option('s', "solution", Required = true, HelpText = "The path to the solution file to process")]
public string SolutionPath { get; set; }
[Option('t', "templatePath", Required = false, HelpText = "The path of the template that will be used for generating factories.", Default = "DefaultTemplate.render")]
public string TemplatePath { get; set; }
[Option('d', "doc", Required = false, HelpText = "Import XML documentation into generated factories", Default = false)]
public bool WriteXmlDoc { get; set; }
[Option('f', "force", Required = false, HelpText = "Force regeneration, don't check file hashes", Default = false)]
public bool ForceGeneration { get; set; }
#endregion
}
}