1 write to InteractionService
aspire (1)
Commands\BaseCommand.cs (1)
36InteractionService = interactionService;
268 references to InteractionService
aspire (268)
Commands\AddCommand.cs (15)
89if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller, InteractionService, _features, Telemetry, _hostEnvironment, cancellationToken)) 112var packagesWithChannels = await InteractionService.ShowStatusAsync( 162InteractionService.DisplayError(AddCommandStrings.NoPackagesFound); 222InteractionService.DisplayMessage("information_source", AddCommandStrings.StoppedRunningInstance); 226InteractionService.DisplayError(AddCommandStrings.UnableToStopRunningInstances); 231var success = await InteractionService.ShowStatusAsync( 240InteractionService.DisplayLines(outputCollector.GetLines()); 242InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageInstallationFailed, ExitCodeConstants.FailedToAddPackage, ExecutionContext.LogFilePath)); 246InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.PackageAddedSuccessfully, selectedNuGetPackage.Package.Id, selectedNuGetPackage.Package.Version)); 251return HandleProjectLocatorException(ex, InteractionService, Telemetry); 255InteractionService.DisplayCancellationMessage(); 261InteractionService.DisplayError(ex.Message); 268InteractionService.DisplayLines(outputCollector.GetLines()); 272InteractionService.DisplayError(errorMessage); 318InteractionService.DisplaySubtleMessage(string.Format(CultureInfo.CurrentCulture, AddCommandStrings.NoPackagesMatchedSearchTerm, searchTerm));
Commands\BaseCommand.cs (1)
66InteractionService.DisplayEmptyLine();
Commands\CacheCommand.cs (4)
22var clearCommand = new ClearCommand(InteractionService, features, updateNotifier, executionContext, telemetry); 153InteractionService.DisplayMessage("information", CacheCommandStrings.CacheAlreadyEmpty); 157InteractionService.DisplaySuccess(CacheCommandStrings.CacheCleared); 166InteractionService.DisplayError(errorMessage);
Commands\ConfigCommand.cs (45)
32var getCommand = new GetCommand(configurationService, InteractionService, features, updateNotifier, executionContext, telemetry); 33var setCommand = new SetCommand(configurationService, InteractionService, features, updateNotifier, executionContext, telemetry); 34var listCommand = new ListCommand(configurationService, InteractionService, features, updateNotifier, executionContext, telemetry); 35var deleteCommand = new DeleteCommand(configurationService, InteractionService, features, updateNotifier, executionContext, telemetry); 36var infoCommand = new InfoCommand(configurationService, InteractionService, features, updateNotifier, executionContext, telemetry); 89InteractionService.DisplayError(ErrorStrings.ConfigurationKeyRequired); 98var key = await InteractionService.PromptForStringAsync(ConfigCommandStrings.GetCommand_PromptForKey, required: true, cancellationToken: cancellationToken); 108InteractionService.DisplayPlainText(value); 113InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ErrorStrings.ConfigurationKeyNotFound, key)); 152InteractionService.DisplayError(ErrorStrings.ConfigurationKeyRequired); 158InteractionService.DisplayError(ErrorStrings.ConfigurationValueRequired); 167var key = await InteractionService.PromptForStringAsync(ConfigCommandStrings.SetCommand_PromptForKey, required: true, cancellationToken: cancellationToken); 168var value = await InteractionService.PromptForStringAsync(ConfigCommandStrings.SetCommand_PromptForValue, required: true, cancellationToken: cancellationToken); 169var isGlobal = await InteractionService.PromptForSelectionAsync( 183InteractionService.DisplaySuccess(isGlobal 195InteractionService.DisplayError(errorMessage); 213if (InteractionService is ExtensionInteractionService extensionInteractionService) 229InteractionService.DisplayMessage("information", ConfigCommandStrings.NoConfigurationValuesFound); 259InteractionService.DisplayEmptyLine(); 260InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.AvailableFeaturesHeader}:**"); 264InteractionService.DisplayMarkupLine($" [cyan]{feature.Name.EscapeMarkup()}[/] [dim](default: {defaultText})[/]"); 265InteractionService.DisplayMarkupLine($" [dim]{feature.Description.EscapeMarkup()}[/]"); 267InteractionService.DisplayEmptyLine(); 268InteractionService.DisplayMarkupLine($" [dim]{ConfigCommandStrings.SetFeatureHint.EscapeMarkup()}[/]"); 327InteractionService.DisplayError(ErrorStrings.ConfigurationKeyRequired); 336var key = await InteractionService.PromptForStringAsync(ConfigCommandStrings.DeleteCommand_PromptForKey, required: true, cancellationToken: cancellationToken); 341InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ErrorStrings.ConfigurationKeyNotFound, key)); 345var isGlobal = await InteractionService.PromptForSelectionAsync( 364InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedGlobally, key)); 368InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, ConfigCommandStrings.ConfigurationKeyDeletedLocally, key)); 375InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, ErrorStrings.ConfigurationKeyNotFound, key)); 383InteractionService.DisplayError(errorMessage); 432if (InteractionService is ConsoleInteractionService consoleService) 439InteractionService.DisplayPlainText(json); 444InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.InfoCommand_LocalSettingsPath}:**"); 445InteractionService.DisplayPlainText($" {localPath}"); 446InteractionService.DisplayEmptyLine(); 447InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.InfoCommand_GlobalSettingsPath}:**"); 448InteractionService.DisplayPlainText($" {globalPath}"); 449InteractionService.DisplayEmptyLine(); 450InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.InfoCommand_AvailableFeatures}:**"); 453InteractionService.DisplayMarkupLine($" [cyan]{feature.Name.EscapeMarkup()}[/] - {feature.Description.EscapeMarkup()} [dim](default: {feature.DefaultValue})[/]"); 455InteractionService.DisplayEmptyLine(); 456InteractionService.DisplayMarkdown($"**{ConfigCommandStrings.InfoCommand_SettingsProperties}:**"); 460InteractionService.DisplayMarkupLine($" {requiredText}[cyan]{property.Name.EscapeMarkup()}[/] ([yellow]{property.Type}[/]) - {property.Description.EscapeMarkup()}");
Commands\DocsGetCommand.cs (4)
71var doc = await InteractionService.ShowStatusAsync( 77InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.DocumentNotFound, slug)); 85InteractionService.DisplayRawText(json, ConsoleOutput.Standard); 92InteractionService.DisplayRawText(formatted, ConsoleOutput.Standard);
Commands\DocsListCommand.cs (4)
58var docs = await InteractionService.ShowStatusAsync( 64InteractionService.DisplayError(DocsCommandStrings.NoDocumentationAvailable); 72InteractionService.DisplayRawText(json, ConsoleOutput.Standard); 76InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.FoundDocumentationPages, docs.Count));
Commands\DocsSearchCommand.cs (4)
72var response = await InteractionService.ShowStatusAsync( 78InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.NoResultsFound, query)); 86InteractionService.DisplayRawText(json, ConsoleOutput.Standard); 90InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture, DocsCommandStrings.FoundSearchResults, response.Results.Count, query));
Commands\DoctorCommand.cs (2)
48var results = await InteractionService.ShowStatusAsync( 86InteractionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\ExecCommand.cs (23)
82if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller, InteractionService, _features, Telemetry, _hostEnvironment, cancellationToken)) 98InteractionService.DisplayError(ExecCommandStrings.TargetResourceNotSpecified); 106InteractionService.DisplayError(ExecCommandStrings.NoCommandSpecified); 114InteractionService.DisplayError(ExecCommandStrings.FailedToParseCommand); 140InteractionService.DisplayError(ErrorStrings.CommandNotSupportedWithSingleFileAppHost); 152appHostCompatibilityCheck = await AppHostHelper.CheckAppHostCompatibilityAsync(_runner, InteractionService, effectiveAppHostProjectFile, Telemetry, ExecutionContext.WorkingDirectory, ExecutionContext.LogFilePath, cancellationToken); 191backchannel = await InteractionService.ShowStatusAsync( 199InteractionService.DisplayMessage("bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 209commandExitCode = await InteractionService.ShowStatusAsync<int?>( 218InteractionService.WriteConsoleLog(output.Text, output.LineNumber, output.Type, output.IsErrorMessage); 232_ = await InteractionService.ShowStatusAsync<int>( 253InteractionService.DisplayLines(runOutputCollector.GetLines()); 254InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, RunCommandStrings.ProjectCouldNotBeRun, ExecutionContext.LogFilePath)); 264InteractionService.DisplayLines(runOutputCollector.GetLines()); 265InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, RunCommandStrings.ProjectCouldNotBeRun, ExecutionContext.LogFilePath)); 271InteractionService.DisplayCancellationMessage(); 276return HandleProjectLocatorException(ex, InteractionService, Telemetry); 281return InteractionService.DisplayIncompatibleVersionError( 290InteractionService.DisplayError(errorMessage); 297InteractionService.DisplayError(errorMessage); 298InteractionService.DisplayLines(runOutputCollector.GetLines()); 305InteractionService.DisplayError(errorMessage); 306InteractionService.DisplayLines(runOutputCollector.GetLines());
Commands\ExtensionInternalCommand.cs (1)
52InteractionService.DisplayRawText(json, ConsoleOutput.Standard);
Commands\InitCommand.cs (59)
150InteractionService.DisplayError($"Unknown language: {selectedProject.LanguageId}"); 154InteractionService.DisplayEmptyLine(); 155InteractionService.DisplayMessage("information", $"Creating {languageInfo.DisplayName} AppHost..."); 156InteractionService.DisplayEmptyLine(); 162if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller, InteractionService, _features, Telemetry, _hostEnvironment, cancellationToken)) 175InteractionService.DisplayEmptyLine(); 176InteractionService.DisplayMessage("information", string.Format(CultureInfo.CurrentCulture, InitCommandStrings.SolutionDetected, initContext.SelectedSolutionFile.Name)); 177InteractionService.DisplayEmptyLine(); 182InteractionService.DisplayEmptyLine(); 183InteractionService.DisplayMessage("information", InitCommandStrings.NoSolutionFoundCreatingSingleFileAppHost); 184InteractionService.DisplayEmptyLine(); 194var (getSolutionExitCode, solutionProjects) = await InteractionService.ShowStatusAsync("Reading solution...", async () => 210InteractionService.DisplayLines(initContext.GetSolutionProjectsOutputCollector.GetLines()); 211InteractionService.DisplayError("Failed to get projects from solution."); 217_ = await InteractionService.ShowStatusAsync("Evaluating existing projects...", async () => 227InteractionService.DisplayMessage("check_mark", InitCommandStrings.SolutionAlreadyInitialized); 243InteractionService.DisplayEmptyLine(); 244InteractionService.DisplayMarkdown(addExecutableProjectsMessage); 245InteractionService.DisplayEmptyLine(); 247var selectedProjects = await InteractionService.PromptForSelectionsAsync( 258InteractionService.DisplayEmptyLine(); 259InteractionService.DisplayMessage("information", "The following projects will be added to the AppHost:"); 260InteractionService.DisplayEmptyLine(); 264InteractionService.DisplayMessage("check_box_with_check", project.ProjectFile.Name); 276InteractionService.DisplayEmptyLine(); 277InteractionService.DisplayMarkdown(addServiceDefaultsMessage); 278InteractionService.DisplayEmptyLine(); 287var selection = await InteractionService.PromptForSelectionAsync( 300initContext.ProjectsToAddServiceDefaultsTo = await InteractionService.PromptForSelectionsAsync( 318var nugetConfigPrompter = new NuGetConfigPrompter(InteractionService); 335var templateInstallResult = await InteractionService.ShowStatusAsync( 357InteractionService.DisplayLines(initContext.InstallTemplateOutputCollector.GetLines()); 358InteractionService.DisplayError("Failed to install Aspire templates."); 363var createResult = await InteractionService.ShowStatusAsync( 384InteractionService.DisplayLines(initContext.NewProjectOutputCollector.GetLines()); 385InteractionService.DisplayError($"Failed to create Aspire projects. Exit code: {createResult}"); 396InteractionService.DisplayError("Failed to find created AppHost or ServiceDefaults projects in template output."); 418var addAppHostResult = await InteractionService.ShowStatusAsync( 437InteractionService.DisplayLines(initContext.AddAppHostToSolutionOutputCollector.GetLines()); 438InteractionService.DisplayError($"Failed to add AppHost project to solution. Exit code: {addAppHostResult}"); 444var addServiceDefaultsResult = await InteractionService.ShowStatusAsync( 463InteractionService.DisplayLines(initContext.AddServiceDefaultsToSolutionOutputCollector.GetLines()); 464InteractionService.DisplayError($"Failed to add ServiceDefaults project to solution. Exit code: {addServiceDefaultsResult}"); 477var addRefResult = await InteractionService.ShowStatusAsync( 495InteractionService.DisplayLines(outputCollector.GetLines()); 496InteractionService.DisplayError($"Failed to add reference to {Path.GetFileNameWithoutExtension(project.ProjectFile.Name)}."); 511var addRefResult = await InteractionService.ShowStatusAsync( 529InteractionService.DisplayLines(outputCollector.GetLines()); 530InteractionService.DisplayError($"Failed to add ServiceDefaults reference to {Path.GetFileNameWithoutExtension(project.ProjectFile.Name)}."); 539InteractionService.DisplaySuccess(InitCommandStrings.AspireInitializationComplete); 563InteractionService.DisplayMessage("check_mark", $"{appHostFileName} already exists in this directory."); 572InteractionService.DisplaySuccess($"Created {appHostFileName}"); 573InteractionService.DisplayMessage("information", $"Run 'aspire run' to start your AppHost."); 583InteractionService.DisplayError("Single-file AppHost template not found."); 602InteractionService.DisplaySuccess(InitCommandStrings.AspireInitializationComplete); 726var packagesFromChannels = await InteractionService.ShowStatusAsync("Searching for available template versions...", async () => 776InteractionService.DisplayEmptyLine(); 777InteractionService.DisplayMarkdown(templateSelectionMessage); 778InteractionService.DisplayEmptyLine();
Commands\McpInitCommand.cs (2)
60InteractionService.DisplayMarkupLine($"[yellow]⚠ {McpCommandStrings.DeprecatedCommandWarning}[/]"); 61InteractionService.DisplayEmptyLine();
Commands\McpStartCommand.cs (1)
39InteractionService.DisplayMarkupLine($"[yellow]⚠ {McpCommandStrings.DeprecatedCommandWarning}[/]");
Commands\NewCommand.cs (7)
134var templateCommand = new TemplateCommand(template, ExecuteAsync, _features, _updateNotifier, _executionContext, InteractionService, Telemetry); 173InteractionService.DisplayError($"Unknown language: '{explicitLanguage}'"); 182if (!await SdkInstallHelper.EnsureSdkInstalledAsync(_sdkInstaller, InteractionService, _features, Telemetry, _hostEnvironment, cancellationToken)) 197if (templateResult.OutputPath is not null && ExtensionHelper.IsExtensionHost(InteractionService, out var extensionInteractionService, out _)) 237InteractionService.DisplaySuccess($"Created {language.DisplayName} project at {outputPath}"); 238InteractionService.DisplayMessage("information", "Run 'aspire run' to start your AppHost."); 240if (ExtensionHelper.IsExtensionHost(InteractionService, out var extensionInteractionService, out _))
Commands\PipelineCommandBase.cs (28)
173InteractionService.DisplayMessage("bug", InteractionServiceStrings.WaitingForDebuggerToAttachToAppHost); 176var backchannel = await InteractionService.ShowStatusAsync($":hammer_and_wrench: {GetProgressMessage(parseResult)}", async () => 221InteractionService.DisplayLines(outputCollector.GetLines()); 243InteractionService.DisplayError(canceledMessage); 250return HandleProjectLocatorException(ex, InteractionService, Telemetry); 263InteractionService.DisplayError(ex.Message); 272InteractionService.DisplayError(errorMessage); 275InteractionService.DisplayLines(outputCollector.GetLines()); 285InteractionService.DisplayError(errorMessage); 288InteractionService.DisplayLines(outputCollector.GetLines()); 298InteractionService.DisplayError(errorMessage); 301InteractionService.DisplayLines(outputCollector.GetLines()); 338InteractionService.DisplaySubtleMessage($"[[DEBUG]] Step {stepCounter++}: {statusText}", escapeMarkup: false); 347InteractionService.DisplaySubtleMessage($"[[DEBUG]] Step {activity.Data.Id}: {status} - {statusText}", escapeMarkup: false); 382InteractionService.DisplaySubtleMessage(formattedMessage, escapeMarkup: false); 393InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.Id} ({stepId}): {status} - {statusText}", escapeMarkup: false); 397InteractionService.DisplaySubtleMessage($"[[DEBUG]] {completionMessage}", escapeMarkup: false); 403InteractionService.DisplaySubtleMessage($"[[DEBUG]] Task {activity.Data.Id} ({stepId}): {statusText}", escapeMarkup: false); 415InteractionService.DisplaySubtleMessage($"[[DEBUG]] {OperationCompletedPrefix}: {status} - {statusText}", escapeMarkup: false); 754InteractionService.DisplayError(error); 760InputType.Text => await InteractionService.PromptForStringAsync( 766InputType.SecretText => await InteractionService.PromptForStringAsync( 775InputType.Boolean => (await InteractionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(), 779_ => await InteractionService.PromptForStringAsync(promptText, defaultValue: input.Value?.EscapeMarkup(), required: input.Required, cancellationToken: cancellationToken) 787return await InteractionService.PromptForStringAsync(promptText, defaultValue: input.Value?.EscapeMarkup(), required: input.Required, cancellationToken: cancellationToken); 801var (value, displayText) = await InteractionService.PromptForSelectionAsync( 809return await InteractionService.PromptForStringAsync(promptText, defaultValue: input.Value?.EscapeMarkup(), required: input.Required, cancellationToken: cancellationToken); 829return await InteractionService.PromptForStringAsync(
Commands\ResourceCommandBase.cs (2)
92InteractionService.DisplayError(result.ErrorMessage); 98InteractionService,
Commands\RunCommand.cs (21)
118if (ExtensionHelper.IsExtensionHost(InteractionService, out _, out _)) 138var isExtensionHost = ExtensionHelper.IsExtensionHost(InteractionService, out _, out _); 152InteractionService.DisplayError(RunCommandStrings.FormatRequiresDetach); 161InteractionService.DisplayError(RunCommandStrings.NoBuildNotSupportedWithWatchMode); 173if (ExtensionHelper.IsExtensionHost(InteractionService, out var extensionInteractionService, out _) 199InteractionService.DisplayError("Unrecognized app host type."); 214InteractionService.DisplayMessage("warning", RunCommandStrings.IsolatedModeRunningInstanceWarning); 249InteractionService.DisplayLines(outputCollector.GetLines()); 251InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.ProjectCouldNotBeBuilt, ExecutionContext.LogFilePath)); 256var backchannel = await InteractionService.ShowStatusAsync( 264var dashboardUrls = await InteractionService.ShowStatusAsync( 270InteractionService.DisplayError(RunCommandStrings.DashboardFailedToStart); 335if (ExtensionHelper.IsExtensionHost(InteractionService, out var extInteractionService, out _)) 346InteractionService.DisplayCancellationMessage(); 351return HandleProjectLocatorException(ex, InteractionService, Telemetry); 356return InteractionService.DisplayIncompatibleVersionError(ex, ex.AspireHostingVersion ?? ex.RequiredCapability); 362InteractionService.DisplayError(errorMessage); 369InteractionService.DisplayError(errorMessage); 371InteractionService.DisplayMessage("page_facing_up", string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath.EscapeMarkup())); 378InteractionService.DisplayError(errorMessage); 380InteractionService.DisplayMessage("page_facing_up", string.Format(CultureInfo.CurrentCulture, InteractionServiceStrings.SeeLogsAt, ExecutionContext.LogFilePath.EscapeMarkup()));
Commands\Sdk\SdkDumpCommand.cs (8)
82InteractionService.DisplayError($"Integration project not found: {integrationProject.FullName}"); 88InteractionService.DisplayError($"Expected a .csproj file, got: {integrationProject.Extension}"); 95InteractionService.DisplayError("Cannot specify both --json and --ci. Choose one format."); 107return await InteractionService.ShowStatusAsync( 130InteractionService.DisplayError("SDK dump is only available with .NET SDK installed."); 153InteractionService.DisplayError("Failed to build capability scanner."); 156InteractionService.DisplayMessage("wrench", line.EscapeMarkup()); 201InteractionService.DisplaySuccess($"Capabilities written to {outputFile.FullName}");
Commands\Sdk\SdkGenerateCommand.cs (8)
72InteractionService.DisplayError($"Integration project not found: {integrationProject.FullName}"); 78InteractionService.DisplayError($"Expected a .csproj file, got: {integrationProject.Extension}"); 86InteractionService.DisplayError($"Unsupported language: {language}"); 96return await InteractionService.ShowStatusAsync( 129InteractionService.DisplayError("SDK generation is only available with .NET SDK installed."); 155InteractionService.DisplayError("Failed to build SDK generation server."); 158InteractionService.DisplayMessage("wrench", line.EscapeMarkup()); 197InteractionService.DisplaySuccess($"Generated {generatedFiles.Count} files in {outputDir.FullName}");
Commands\SetupCommand.cs (7)
55InteractionService.DisplayError("Could not determine the CLI executable path."); 67InteractionService.DisplayError("Could not determine the installation path."); 73var exitCode = await InteractionService.ShowStatusAsync( 84InteractionService.DisplayMessage("information", "This CLI binary does not contain an embedded bundle. No extraction needed."); 88InteractionService.DisplayMessage("white_check_mark", "Bundle is already extracted and up to date. Use --force to re-extract."); 92InteractionService.DisplayMessage("white_check_mark", $"Bundle extracted to {installPath}"); 96InteractionService.DisplayError($"Bundle was extracted to {installPath} but layout validation failed.");
Commands\UpdateCommand.cs (22)
116InteractionService.DisplayMessage("information", UpdateCommandStrings.DotNetToolSelfUpdateMessage); 117InteractionService.DisplayPlainText(" dotnet tool update -g Aspire.Cli"); 123InteractionService.DisplayError("CLI self-update is not available in this environment."); 133InteractionService.DisplayCancellationMessage(); 177channel = await InteractionService.PromptForSelectionAsync( 205var shouldUpdateCli = await InteractionService.ConfirmAsync( 221InteractionService.DisplayError(message); 228InteractionService.DisplayError(message); 239var shouldUpdateCli = await InteractionService.ConfirmAsync( 251return HandleProjectLocatorException(ex, InteractionService, Telemetry); 255InteractionService.DisplayCancellationMessage(); 275channel = await InteractionService.PromptForSelectionAsync( 288InteractionService.DisplayError("Unable to determine the current executable path."); 292InteractionService.DisplayMessage("package", $"Current CLI location: {currentExePath}"); 293InteractionService.DisplayMessage("up_arrow", $"Updating to channel: {channel}"); 319InteractionService.DisplayCancellationMessage(); 326InteractionService.DisplayError(errorMessage); 353InteractionService.DisplayMessage("package", "Extracting new CLI..."); 368InteractionService.DisplayMessage("floppy_disk", "Backing up current CLI..."); 381InteractionService.DisplayMessage("wrench", $"Installing new CLI to {installDir}..."); 408InteractionService.DisplayMessage("information", $"Note: {installDir} is not in your PATH. Add it to use the updated CLI globally."); 499InteractionService.DisplaySuccess($"Updated to version: {version}");