7 references to GetDotNetToolUpdateCommand
aspire (4)
Commands\UpdateCommand.cs (1)
124
return DotNetToolDetection.
GetDotNetToolUpdateCommand
(_processPathProvider.ProcessPath);
Interaction\ConsoleInteractionService.cs (1)
462
updateCommand = DotNetToolDetection.
GetDotNetToolUpdateCommand
(_processPathProvider.ProcessPath)
Utils\CliUpdateNotifier.cs (1)
142
: DotNetToolDetection.
GetDotNetToolUpdateCommand
(processPathProvider.ProcessPath)
Utils\DotNetToolDetection.cs (1)
24
return
GetDotNetToolUpdateCommand
(processPath) is not null;
Aspire.Cli.Tests (3)
Utils\DotNetToolDetectionTests.cs (3)
48
Assert.Equal($"dotnet tool update --tool-path \"{toolPath}\" Aspire.Cli", DotNetToolDetection.
GetDotNetToolUpdateCommand
(processPath));
68
Assert.Equal($"dotnet tool update --tool-path \"{toolPath}\" Aspire.Cli", DotNetToolDetection.
GetDotNetToolUpdateCommand
(processPath));
76
Assert.Equal("dotnet tool update -g Aspire.Cli", DotNetToolDetection.
GetDotNetToolUpdateCommand
(processPath));