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