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