24 references to SecretCommandStrings
aspire (24)
Commands\SecretCommand.cs (1)
24
: base("secret",
SecretCommandStrings
.Description, services)
Commands\SecretDeleteCommand.cs (5)
19
Description =
SecretCommandStrings
.KeyDeleteArgumentDescription
27
: base("delete",
SecretCommandStrings
.DeleteDescription, services)
44
return CommandResult.Failure(CliExitCodes.FailedToFindProject,
SecretCommandStrings
.CouldNotFindAppHost);
49
return CommandResult.Failure(CliExitCodes.ConfigNotFound, string.Format(CultureInfo.CurrentCulture,
SecretCommandStrings
.SecretNotFound, key.EscapeMarkup()));
53
InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
SecretCommandStrings
.SecretDeleteSuccess, key));
Commands\SecretGetCommand.cs (4)
20
Description =
SecretCommandStrings
.KeyRetrieveArgumentDescription
28
: base("get",
SecretCommandStrings
.GetDescription, services)
45
return CommandResult.Failure(CliExitCodes.FailedToFindProject,
SecretCommandStrings
.CouldNotFindAppHost);
51
return CommandResult.Failure(CliExitCodes.ConfigNotFound, string.Format(CultureInfo.CurrentCulture,
SecretCommandStrings
.SecretNotFound, key.EscapeMarkup()));
Commands\SecretListCommand.cs (6)
22
Description =
SecretCommandStrings
.FormatOptionDescription
30
: base("list",
SecretCommandStrings
.ListDescription, services)
46
return CommandResult.Failure(CliExitCodes.FailedToFindProject,
SecretCommandStrings
.CouldNotFindAppHost);
68
InteractionService.DisplayMessage(KnownEmojis.Information,
SecretCommandStrings
.NoSecretsConfigured);
73
table.AddBoldColumn(
SecretCommandStrings
.KeyColumnHeader, noWrap: true);
74
table.AddBoldColumn(
SecretCommandStrings
.ValueColumnHeader);
Commands\SecretPathCommand.cs (2)
21
: base("path",
SecretCommandStrings
.PathDescription, services)
35
return CommandResult.Failure(CliExitCodes.FailedToFindProject,
SecretCommandStrings
.CouldNotFindAppHost);
Commands\SecretSetCommand.cs (5)
18
Description =
SecretCommandStrings
.KeyArgumentDescription
23
Description =
SecretCommandStrings
.ValueArgumentDescription
31
: base("set",
SecretCommandStrings
.SetDescription, services)
52
return CommandResult.Failure(CliExitCodes.FailedToFindProject,
SecretCommandStrings
.CouldNotFindAppHost);
58
InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
SecretCommandStrings
.SecretSetSuccess, key));
Resources\SecretCommandStrings.Designer.cs (1)
8
private static readonly System.Resources.ResourceManager s_resourceManager = new("Aspire.Cli.Resources.SecretCommandStrings", typeof(
SecretCommandStrings
).Assembly);