11 references to ConfigNotFound
aspire (5)
Commands\ConfigCommand.cs (2)
105return CliExitCodes.ConfigNotFound; 403return CliExitCodes.ConfigNotFound;
Commands\SecretDeleteCommand.cs (1)
62return CommandResult.Failure(CliExitCodes.ConfigNotFound, string.Format(CultureInfo.CurrentCulture, SecretCommandStrings.SecretNotFound, key.EscapeMarkup()));
Commands\SecretGetCommand.cs (1)
53return CommandResult.Failure(CliExitCodes.ConfigNotFound, string.Format(CultureInfo.CurrentCulture, SecretCommandStrings.SecretNotFound, key.EscapeMarkup()));
Commands\TemplateManagementCommand.cs (1)
218return CommandResult.Failure(CliExitCodes.ConfigNotFound,
Aspire.Cli.Tests (6)
Commands\NewCommandLocalTemplateTests.SourceManagement.cs (1)
289Assert.Equal(CliExitCodes.ConfigNotFound, await root.Parse("template source remove missing").InvokeAsync().DefaultTimeout());
Commands\SecretCommandTests.cs (4)
671Assert.Equal(CliExitCodes.ConfigNotFound, defaultGetExitCode); 681Assert.Equal(CliExitCodes.ConfigNotFound, deletedGetExitCode); 718Assert.Equal(CliExitCodes.ConfigNotFound, await command.Parse($"secret get --environment Production Parameters:key {projectOption}").InvokeAsync().DefaultTimeout()); 900Assert.Equal(CliExitCodes.ConfigNotFound, await command.Parse($"secret get Parameters:key -e {originalEnvironment} {projectOption}").InvokeAsync().DefaultTimeout());
Commands\TemplateSourceStartupTests.cs (1)
69[InlineData("template --nologo source remove missing", false, CliExitCodes.ConfigNotFound)]