1 write to TypeOption
Microsoft.TemplateEngine.Cli (1)
Commands\create\TemplateCommand.cs (1)
88TypeOption = SharedOptionsFactory.CreateTypeOption();
9 references to TypeOption
Microsoft.TemplateEngine.Cli (9)
Commands\create\InstantiateCommand.Help.cs (2)
308if (template.TypeOption != null) 310optionsToShow.Add(template.TypeOption);
Commands\create\TemplateCommand.cs (3)
89TypeOption.Description = SymbolStrings.TemplateCommand_Option_Type; 90TypeOption.FromAmongCaseInsensitive(new[] { templateType }); 91Options.Add(TypeOption);
Commands\create\TemplateCommandArgs.cs (2)
30if (command.TypeOption != null) 32Type = parseResult.GetValueForOptionOrNull(command.TypeOption);
Commands\create\TemplateResult.cs (2)
45IsTypeMatch = templateCommand.TypeOption == null || !parseResult.HasErrorFor(templateCommand.TypeOption, out _),