39 references to ConfigCommandStrings
aspire (39)
Commands\ConfigCommand.cs (38)
25
: base("config",
ConfigCommandStrings
.Description, features, updateNotifier, executionContext, interactionService, telemetry)
55
ConfigCommandStrings
.ExtensionActionPrompt,
71
Description =
ConfigCommandStrings
.GetCommand_KeyArgumentDescription
75
: base("get",
ConfigCommandStrings
.GetCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
96
var key = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.GetCommand_PromptForKey, required: true, cancellationToken: cancellationToken);
121
Description =
ConfigCommandStrings
.SetCommand_KeyArgumentDescription
125
Description =
ConfigCommandStrings
.SetCommand_ValueArgumentDescription
129
Description =
ConfigCommandStrings
.SetCommand_GlobalArgumentDescription
133
: base("set",
ConfigCommandStrings
.SetCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
165
var key = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.SetCommand_PromptForKey, required: true, cancellationToken: cancellationToken);
166
var value = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.SetCommand_PromptForValue, required: true, cancellationToken: cancellationToken);
168
ConfigCommandStrings
.SetCommand_PromptForGlobal,
170
g => g ?
ConfigCommandStrings
.SetCommand_PromptForGlobal_GlobalOption :
ConfigCommandStrings
.SetCommand_PromptForGlobal_LocalOption,
182
? string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeySetGlobally, key,
184
: string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeySetLocally, key,
200
: BaseConfigSubCommand("list",
ConfigCommandStrings
.ListCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
227
InteractionService.DisplayMessage("information",
ConfigCommandStrings
.NoConfigurationValuesFound);
236
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.LocalConfigurationHeader}:**");
245
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.LocalConfigurationHeader}:**");
246
InteractionService.DisplayPlainText($" {
ConfigCommandStrings
.NoLocalConfigurationFound}");
253
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.GlobalConfigurationHeader}:**");
263
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.GlobalConfigurationHeader}:**");
264
InteractionService.DisplayPlainText($" {
ConfigCommandStrings
.NoGlobalConfigurationFound}");
275
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.AvailableFeaturesHeader}:**");
287
Description =
ConfigCommandStrings
.DeleteCommand_KeyArgumentDescription
291
Description =
ConfigCommandStrings
.DeleteCommand_GlobalArgumentDescription
295
: base("delete",
ConfigCommandStrings
.DeleteCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
319
var key = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.DeleteCommand_PromptForKey, required: true, cancellationToken: cancellationToken);
329
ConfigCommandStrings
.DeleteCommand_PromptForGlobal,
347
InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeyDeletedGlobally, key));
351
InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeyDeletedLocally, key));
375
: base("info",
ConfigCommandStrings
.InfoCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
382
Description =
ConfigCommandStrings
.InfoCommand_JsonOptionDescription
426
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.InfoCommand_LocalSettingsPath}:**");
429
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.InfoCommand_GlobalSettingsPath}:**");
432
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.InfoCommand_AvailableFeatures}:**");
438
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.InfoCommand_SettingsProperties}:**");
Resources\ConfigCommandStrings.Designer.cs (1)
41
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Cli.Resources.ConfigCommandStrings", typeof(
ConfigCommandStrings
).Assembly);