48 references to WriteCommand
Microsoft.TemplateEngine.Cli (48)
Commands\BaseCommand.cs (2)
97Reporter.Output.WriteCommand(Example.For<InstantiateCommand>(args.ParseResult).WithArgument(InstantiateCommand.ShortNameArgument, usedCommandAlias)); 117Reporter.Output.WriteCommand(Example.For<TNew>(parseResult).WithHelpOption().ToString().Yellow());
Commands\create\InstantiateCommand.cs (5)
480reporter.WriteCommand(example); 506reporter.WriteCommand(example); 516reporter.WriteCommand( 525reporter.WriteCommand( 537reporter.WriteCommand(
Commands\create\InstantiateCommand.NoMatchHandling.cs (1)
163reporter.WriteCommand(example);
Commands\create\TemplateCommand.cs (1)
243reporter.WriteCommand(Example.FromExistingTokens(templateArgs.ParseResult).WithOption(SharedOptions.ForceOption));
TemplateInvoker.cs (5)
240Reporter.Output.WriteCommand(Example.For<NewCommand>(templateArgs.ParseResult).WithOption(NewCommand.DebugRebuildCacheOption)); 256Reporter.Output.WriteCommand(Example.For<UninstallCommand>(templateArgs.ParseResult).WithArgument(BaseUninstallCommand.NameArgument, templatePackage.DisplayName)); 259Reporter.Output.WriteCommand(Example.For<InstallCommand>(templateArgs.ParseResult).WithArgument(BaseInstallCommand.NameArgument, templatePackage.DisplayName)); 268Reporter.Error.WriteCommand( 292Reporter.Error.WriteCommand(Example.FromExistingTokens(templateArgs.ParseResult).WithOption(SharedOptions.ForceOption));
TemplateListCoordinator.cs (7)
76Reporter.Output.WriteCommand( 121Reporter.Error.WriteCommand( 129Reporter.Error.WriteCommand( 164Reporter.Output.WriteCommand( 172Reporter.Output.WriteCommand( 180Reporter.Output.WriteCommand( 186Reporter.Output.WriteCommand(
TemplatePackageCoordinator.cs (12)
152Reporter.Output.WriteCommand( 171Reporter.Output.WriteCommand( 643reporter.WriteCommand( 743Reporter.Error.WriteCommand( 751Reporter.Error.WriteCommand( 761Reporter.Error.WriteCommand( 770Reporter.Error.WriteCommand( 843Reporter.Output.WriteCommand( 848Reporter.Output.WriteCommand( 855Reporter.Output.WriteCommand( 920Reporter.Output.WriteCommand( 1007Reporter.Error.WriteCommand(Example.For<InstallCommand>(parseResult).WithArgument(BaseInstallCommand.NameArgument, packageToInstall).WithOption(BaseInstallCommand.ForceOption));
TemplatePackageDisplay.cs (10)
54_reporterOutput.WriteCommand( 73_reporterOutput.WriteCommand( 160_reporterError.WriteCommand(Example.For<InstallCommand>(parseResult).WithArgument(BaseInstallCommand.NameArgument, packageToInstall).WithOption(BaseInstallCommand.ForceOption)); 189_reporterError.WriteCommand(Example.For<InstallCommand>(parseResult).WithArgument(BaseInstallCommand.NameArgument, packageToInstall).WithOption(BaseInstallCommand.ForceOption)); 201_reporterError.WriteCommand(Example.For<UninstallCommand>(parseResult).WithArgument(BaseUninstallCommand.NameArgument, packageToInstall)); 202_reporterError.WriteCommand(Example.For<InstallCommand>(parseResult).WithArgument(BaseInstallCommand.NameArgument, packageToInstall).WithOption(BaseInstallCommand.ForceOption)); 266Reporter.Output.WriteCommand( 302Reporter.Output.WriteCommand( 307Reporter.Output.WriteCommand( 314Reporter.Output.WriteCommand(
TemplateSearch\CliTemplateSearchCoordinator.cs (5)
94Reporter.Output.WriteCommand( 100Reporter.Output.WriteCommand( 258Reporter.Error.WriteCommand( 264Reporter.Error.WriteCommand( 270Reporter.Error.WriteCommand(