8 references to ForceOption
Microsoft.TemplateEngine.Cli (8)
Commands\install\BaseInstallCommand.cs (1)
22
Options.Add(
ForceOption
);
Commands\install\InstallCommandArgs.cs (1)
33
Force = parseResult.GetValue(BaseInstallCommand.
ForceOption
);
TemplatePackageCoordinator.cs (2)
1006
Reporter.Error.WriteLine(LocalizableStrings.TemplatePackageCoordinator_lnstall_Error_AlreadyInstalled_Hint, BaseInstallCommand.
ForceOption
.Aliases.First());
1007
Reporter.Error.WriteCommand(Example.For<InstallCommand>(parseResult).WithArgument(BaseInstallCommand.NameArgument, packageToInstall).WithOption(BaseInstallCommand.
ForceOption
));
TemplatePackageDisplay.cs (4)
159
_reporterError.WriteLine(LocalizableStrings.TemplatePackageCoordinator_lnstall_Error_AlreadyInstalled_Hint, BaseInstallCommand.
ForceOption
.Name);
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
));
202
_reporterError.WriteCommand(Example.For<InstallCommand>(parseResult).WithArgument(BaseInstallCommand.NameArgument, packageToInstall).WithOption(BaseInstallCommand.
ForceOption
));