8 references to ConfigNotFound
aspire (4)
Commands\ConfigCommand.cs (2)
104return CliExitCodes.ConfigNotFound; 397return CliExitCodes.ConfigNotFound;
Commands\SecretDeleteCommand.cs (1)
63return 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()));
Aspire.Cli.Tests (4)
Commands\SecretCommandTests.cs (4)
114Assert.Equal(CliExitCodes.ConfigNotFound, defaultGetExitCode); 124Assert.Equal(CliExitCodes.ConfigNotFound, deletedGetExitCode); 161Assert.Equal(CliExitCodes.ConfigNotFound, await command.Parse($"secret get --environment Production Parameters:key {projectOption}").InvokeAsync().DefaultTimeout()); 343Assert.Equal(CliExitCodes.ConfigNotFound, await command.Parse($"secret get Parameters:key -e {originalEnvironment} {projectOption}").InvokeAsync().DefaultTimeout());