3 references to CreateAuthorOption
Microsoft.TemplateEngine.Cli (2)
Commands\FilterOptionDefinition.cs (1)
26
optionFactory: () => SharedOptionsFactory.
CreateAuthorOption
(),
TemplateSearch\CliTemplateSearchCoordinator.cs (1)
268
.WithOption(SharedOptionsFactory.
CreateAuthorOption
(), "Microsoft"));
Microsoft.TemplateEngine.Cli.UnitTests (1)
ParserTests\SearchTests.cs (1)
281
Assert.Equal("dotnet new search [<template-name>] --author Microsoft", Example.For<NewCommand>(parseResult).WithSubcommand<SearchCommand>().WithArgument(BaseSearchCommand.NameArgument).WithOption(SharedOptionsFactory.
CreateAuthorOption
(), "Microsoft"));