26 references to ConfigCommandStrings
aspire (26)
Commands\ConfigCommand.cs (25)
24
: base("config",
ConfigCommandStrings
.Description, features, updateNotifier, executionContext, interactionService)
57
ConfigCommandStrings
.ExtensionActionPrompt,
72
: base("get",
ConfigCommandStrings
.GetCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService)
76
Description =
ConfigCommandStrings
.GetCommand_KeyArgumentDescription
97
var key = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.GetCommand_PromptForKey, required: true, cancellationToken: cancellationToken);
121
: base("set",
ConfigCommandStrings
.SetCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService)
125
Description =
ConfigCommandStrings
.SetCommand_KeyArgumentDescription
131
Description =
ConfigCommandStrings
.SetCommand_ValueArgumentDescription
137
Description =
ConfigCommandStrings
.SetCommand_GlobalArgumentDescription
167
var key = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.SetCommand_PromptForKey, required: true, cancellationToken: cancellationToken);
168
var value = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.SetCommand_PromptForValue, required: true, cancellationToken: cancellationToken);
170
ConfigCommandStrings
.SetCommand_PromptForGlobal,
172
g => g ?
ConfigCommandStrings
.SetCommand_PromptForGlobal_GlobalOption :
ConfigCommandStrings
.SetCommand_PromptForGlobal_LocalOption,
184
? string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeySetGlobally, key,
186
: string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeySetLocally, key,
200
: BaseConfigSubCommand("list",
ConfigCommandStrings
.ListCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService)
225
InteractionService.DisplayMessage("information",
ConfigCommandStrings
.NoConfigurationValuesFound);
238
: base("delete",
ConfigCommandStrings
.DeleteCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService)
242
Description =
ConfigCommandStrings
.DeleteCommand_KeyArgumentDescription
248
Description =
ConfigCommandStrings
.DeleteCommand_GlobalArgumentDescription
271
var key = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.DeleteCommand_PromptForKey, required: true, cancellationToken: cancellationToken);
281
ConfigCommandStrings
.DeleteCommand_PromptForGlobal,
299
InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeyDeletedGlobally, key));
303
InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeyDeletedLocally, key));
Resources\ConfigCommandStrings.Designer.cs (1)
41
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Cli.Resources.ConfigCommandStrings", typeof(
ConfigCommandStrings
).Assembly);