1 write to _interactionService
aspire (1)
Templating\CliTemplateFactory.cs (1)
64
_interactionService
= interactionService;
16 references to _interactionService
aspire (16)
Templating\CliTemplateFactory.cs (3)
207
_interactionService
.DisplaySubtleMessage(result.StandardOutput.TrimEnd());
215
_interactionService
.DisplayError(message);
219
_interactionService
.DisplaySubtleMessage(message);
Templating\CliTemplateFactory.EmptyTemplate.cs (7)
20
_interactionService
.DisplayError("Language selection is required.");
27
_interactionService
.DisplayError($"Unknown language: '{languageId}'");
80
_interactionService
.DisplayError($"Failed to create project files: {ex.Message}");
84
_interactionService
.DisplaySuccess($"Created {language.DisplayName.EscapeMarkup()} project at {outputPath.EscapeMarkup()}");
85
_interactionService
.DisplayMessage(KnownEmojis.Information, "Run 'aspire run' to start your AppHost.");
102
useLocalhostTld = await
_interactionService
.PromptForSelectionAsync(
116
_interactionService
.DisplayMessage(KnownEmojis.CheckMark, TemplatingStrings.UseLocalhostTld_UsingLocalhostTld);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (6)
23
_interactionService
.DisplayError("Unable to determine Aspire version for the TypeScript starter template.");
61
_interactionService
.DisplayError($"Failed to create project files: {ex.Message}");
68
_interactionService
.DisplayError("npm is not installed or not found in PATH. Please install Node.js and try again.");
77
_interactionService
.DisplaySubtleMessage("npm install had warnings or errors. You may need to run 'npm install' manually after dependencies are available.");
81
_interactionService
.DisplaySuccess($"Created TypeScript starter project at {outputPath.EscapeMarkup()}");
82
_interactionService
.DisplayMessage(KnownEmojis.Information, "Run 'aspire run' to start your AppHost.");