43 references to WriteCommand
Microsoft.TemplateEngine.Cli (43)
Commands\BaseCommand.cs (2)
131Reporter.Output.WriteCommand(example); 151Reporter.Output.WriteCommand(Example.For<TNewCommand>(parseResult).WithHelpOption().ToString().Yellow());
Commands\create\InstantiateCommand.cs (5)
451reporter.WriteCommand(example); 477reporter.WriteCommand(example); 487reporter.WriteCommand( 496reporter.WriteCommand( 508reporter.WriteCommand(
Commands\create\InstantiateCommand.NoMatchHandling.cs (1)
165reporter.WriteCommand(example);
Commands\create\TemplateCommand.cs (1)
258reporter.WriteCommand(Example.FromExistingTokens<TemplateCommand>(templateArgs.ParseResult).WithOption(c => c.ForceOption));
TemplateInvoker.cs (5)
242Reporter.Output.WriteCommand(Example.For<NewCommand>(templateArgs.ParseResult).WithOption(c => c.Definition.DebugRebuildCacheOption)); 258Reporter.Output.WriteCommand(Example.For<UninstallCommand>(templateArgs.ParseResult).WithArguments(templatePackage.DisplayName)); 261Reporter.Output.WriteCommand(Example.For<InstallCommand>(templateArgs.ParseResult).WithArguments(templatePackage.DisplayName)); 270Reporter.Error.WriteCommand( 294Reporter.Error.WriteCommand(Example.FromExistingTokens<TemplateCommand>(templateArgs.ParseResult).WithOption(c => c.ForceOption));
TemplateListCoordinator.cs (7)
77Reporter.Output.WriteCommand( 122Reporter.Error.WriteCommand( 130Reporter.Error.WriteCommand( 165Reporter.Output.WriteCommand( 173Reporter.Output.WriteCommand( 181Reporter.Output.WriteCommand( 187Reporter.Output.WriteCommand(
TemplatePackageCoordinator.cs (7)
149Reporter.Output.WriteCommand( 168Reporter.Output.WriteCommand( 640reporter.WriteCommand( 740Reporter.Error.WriteCommand( 748Reporter.Error.WriteCommand( 758Reporter.Error.WriteCommand( 767Reporter.Error.WriteCommand(
TemplatePackageDisplay.cs (10)
55_reporterOutput.WriteCommand( 74_reporterOutput.WriteCommand( 161_reporterError.WriteCommand(Example.For<InstallCommand>(parseResult).WithArguments(packageToInstall).WithOption(c => c.Definition.ForceOption)); 190_reporterError.WriteCommand(Example.For<InstallCommand>(parseResult).WithArguments(packageToInstall).WithOption(c => c.Definition.ForceOption)); 202_reporterError.WriteCommand(Example.For<UninstallCommand>(parseResult).WithArguments(packageToInstall)); 203_reporterError.WriteCommand(Example.For<InstallCommand>(parseResult).WithArguments(packageToInstall).WithOption(c => c.Definition.ForceOption)); 267Reporter.Output.WriteCommand( 303Reporter.Output.WriteCommand( 308Reporter.Output.WriteCommand( 315Reporter.Output.WriteCommand(
TemplateSearch\CliTemplateSearchCoordinator.cs (5)
95Reporter.Output.WriteCommand( 101Reporter.Output.WriteCommand( 259Reporter.Error.WriteCommand( 265Reporter.Error.WriteCommand( 271Reporter.Error.WriteCommand(