BadScript 2
Loading...
Searching...
No Matches
BadHtmlSystemSettings.cs
Go to the documentation of this file.
1using CommandLine;
2
4
9{
13 [Option('f', "files", Required = false, HelpText = "The files to run.")]
14 public IEnumerable<string> Files { get; set; } = Enumerable.Empty<string>();
15
19 [Option("model", Required = false, HelpText = "The Model that the templates will use")]
20 public string Model { get; set; } = string.Empty;
21
25 [Option('d', "debug", Required = false, HelpText = "Set flag to Attach a Debugger.")]
26 public bool Debug { get; set; }
27
31 [Option(
32 'r',
33 "remote",
34 Required = false,
35 HelpText = "Specifies the Remote Console Host port. If not specified the remote host will not be started"
36 )]
37 public int RemotePort { get; set; } = -1;
38
42 [Option("skipEmptyNodes", Required = false, HelpText = "If enabled, empty text nodes will be skipped.")]
43 public bool SkipEmptyTextNodes { get; set; } = false;
44
48 [Option('m', "minify", Required = false, HelpText = "If enabled, the output will be minified.")]
49 public bool Minify { get; set; } = false;
50}
Settings for the Html Template Engine System.
bool Debug
If Enabled, the Debugger will be attached to the process.
bool Minify
Indicates if the output should be minified.
string Model
The Model that the templates will use.
int RemotePort
If Specified the Remote Console will be started on the specified port.
bool SkipEmptyTextNodes
Indicates if empty HTML Text nodes should be skipped.
IEnumerable< string > Files
The Template Files to run.
Contains the 'html' console command implementation.