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