1 write to _interactionService
aspire (1)
Commands\NewCommand.cs (1)
34
_interactionService
= interactionService;
11 references to _interactionService
aspire (11)
Commands\NewCommand.cs (11)
122
var candidatePackages = await
_interactionService
.ShowStatusAsync(
147
var templateInstallResult = await
_interactionService
.ShowStatusAsync<(int ExitCode, string? TemplateVersion)>(
162
_interactionService
.DisplayLines(templateInstallCollector.GetLines());
163
_interactionService
.DisplayError($"The template installation failed with exit code {templateInstallResult.ExitCode}. For more information run with --debug switch.");
167
_interactionService
.DisplayMessage($"package", $"Using project templates version: {templateInstallResult.TemplateVersion}");
170
var newProjectExitCode = await
_interactionService
.ShowStatusAsync(
189
_interactionService
.DisplayLines(newProjectCollector.GetLines());
190
_interactionService
.DisplayError($"Project creation failed with exit code {newProjectExitCode}. For more information run with --debug switch.");
196
_interactionService
.DisplaySuccess($"Project created successfully in {outputPath}.");
202
_interactionService
.DisplayCancellationMessage();
207
_interactionService
.DisplayError($"An error occurred while trusting the certificates: {ex.Message}");