31 references to Option
rzc (31)
CommandLine\CommandLineApplication.cs (2)
380
OptionHelp =
Option
(template, "Show help information", CommandOptionType.NoValue);
406
OptionVersion =
Option
(template, "Show version information", CommandOptionType.NoValue);
DiscoverCommand.cs (7)
25
TagHelperManifest =
Option
("-o", "output file", CommandOptionType.SingleValue);
26
ProjectDirectory =
Option
("-p", "project root directory", CommandOptionType.SingleValue);
27
Version =
Option
("-v|--version", "Razor language version", CommandOptionType.SingleValue);
28
Configuration =
Option
("-c", "Razor configuration name", CommandOptionType.SingleValue);
29
ExtensionNames =
Option
("-n", "extension name", CommandOptionType.MultipleValue);
30
ExtensionFilePaths =
Option
("-e", "extension file path", CommandOptionType.MultipleValue);
31
UseSourceGenerator =
Option
("--use-source-generator", "host the Razor source generator instead of the engine", CommandOptionType.NoValue);
GenerateCommand.cs (18)
22
Sources =
Option
("-s", ".cshtml files to compile", CommandOptionType.MultipleValue);
23
Outputs =
Option
("-o", "Generated output file path", CommandOptionType.MultipleValue);
24
RelativePaths =
Option
("-r", "Relative path", CommandOptionType.MultipleValue);
25
FileKinds =
Option
("-k", "File kind", CommandOptionType.MultipleValue);
26
CssScopeSources =
Option
("-cssscopedinput", ".razor file with scoped CSS", CommandOptionType.MultipleValue);
27
CssScopeValues =
Option
("-cssscopevalue", "CSS scope value for .razor file with scoped CSS", CommandOptionType.MultipleValue);
28
ProjectDirectory =
Option
("-p", "project root directory", CommandOptionType.SingleValue);
29
TagHelperManifest =
Option
("-t", "tag helper manifest file", CommandOptionType.SingleValue);
30
Version =
Option
("-v|--version", "Razor language version", CommandOptionType.SingleValue);
31
Configuration =
Option
("-c", "Razor configuration name", CommandOptionType.SingleValue);
32
ExtensionNames =
Option
("-n", "extension name", CommandOptionType.MultipleValue);
33
ExtensionFilePaths =
Option
("-e", "extension file path", CommandOptionType.MultipleValue);
34
RootNamespace =
Option
("--root-namespace", "root namespace for generated code", CommandOptionType.SingleValue);
35
CSharpLanguageVersion =
Option
("--csharp-language-version", "csharp language version generated code", CommandOptionType.SingleValue);
36
GenerateDeclaration =
Option
("--generate-declaration", "Generate declaration", CommandOptionType.NoValue);
37
SupportLocalizedComponentNames =
Option
("--support-localized-component-names", "support localized component names", CommandOptionType.NoValue);
38
Assemblies =
Option
("-a", "reference assemblies used for tag helper discovery (source generator mode)", CommandOptionType.MultipleValue);
39
UseSourceGenerator =
Option
("--use-source-generator", "host the Razor source generator instead of the engine", CommandOptionType.NoValue);
ServerCommand.cs (2)
18
Pipe =
Option
("-p|--pipe", "name of named pipe", CommandOptionType.SingleValue);
19
KeepAlive =
Option
("-k|--keep-alive", "sets the default idle timeout for the server in seconds", CommandOptionType.SingleValue);
ShutdownCommand.cs (2)
14
Pipe =
Option
("-p|--pipe", "name of named pipe", CommandOptionType.SingleValue);
15
Wait =
Option
("-w|--wait", "wait for shutdown", CommandOptionType.NoValue);