44 references to ConfigCommandStrings
aspire (44)
Commands\ConfigCommand.cs (43)
27
: base("config",
ConfigCommandStrings
.Description, features, updateNotifier, executionContext, interactionService, telemetry)
57
ConfigCommandStrings
.ExtensionActionPrompt,
73
Description =
ConfigCommandStrings
.GetCommand_KeyArgumentDescription
77
: base("get",
ConfigCommandStrings
.GetCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
98
var key = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.GetCommand_PromptForKey, required: true, cancellationToken: cancellationToken);
123
Description =
ConfigCommandStrings
.SetCommand_KeyArgumentDescription
127
Description =
ConfigCommandStrings
.SetCommand_ValueArgumentDescription
131
Description =
ConfigCommandStrings
.SetCommand_GlobalArgumentDescription
135
: base("set",
ConfigCommandStrings
.SetCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
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,
205
Description =
ConfigCommandStrings
.ListCommand_AllOptionDescription
209
: base("list",
ConfigCommandStrings
.ListCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
245
InteractionService.DisplayMessage(KnownEmojis.Information,
ConfigCommandStrings
.NoConfigurationValuesFound);
252
var keyWidth = MaxWidth(
ConfigCommandStrings
.HeaderKey, localConfig.Keys, globalConfig.Keys);
253
var valueWidth = MaxWidth(
ConfigCommandStrings
.HeaderValue, localConfig.Values, globalConfig.Values);
257
ConfigCommandStrings
.LocalConfigurationHeader,
259
ConfigCommandStrings
.NoLocalConfigurationFound,
267
ConfigCommandStrings
.GlobalConfigurationHeader,
269
ConfigCommandStrings
.NoGlobalConfigurationFound,
286
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.AvailableFeaturesHeader}:**");
297
InteractionService.DisplayMarkupLine($" [dim]{
ConfigCommandStrings
.SetFeatureHint.EscapeMarkup()}[/]");
301
InteractionService.DisplayMarkupLine($" [dim]{
ConfigCommandStrings
.ListCommand_AllFeaturesHint.EscapeMarkup()}[/]");
323
table.AddBoldColumn(
ConfigCommandStrings
.HeaderKey, width: keyWidth);
324
table.AddBoldColumn(
ConfigCommandStrings
.HeaderValue, width: valueWidth);
348
Description =
ConfigCommandStrings
.DeleteCommand_KeyArgumentDescription
352
Description =
ConfigCommandStrings
.DeleteCommand_GlobalArgumentDescription
356
: base("delete",
ConfigCommandStrings
.DeleteCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
380
var key = await InteractionService.PromptForStringAsync(
ConfigCommandStrings
.DeleteCommand_PromptForKey, required: true, cancellationToken: cancellationToken);
390
ConfigCommandStrings
.DeleteCommand_PromptForGlobal,
408
InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeyDeletedGlobally, key));
412
InteractionService.DisplaySuccess(string.Format(CultureInfo.CurrentCulture,
ConfigCommandStrings
.ConfigurationKeyDeletedLocally, key));
436
: base("info",
ConfigCommandStrings
.InfoCommand_Description, features, updateNotifier, configurationService, executionContext, interactionService, telemetry)
443
Description =
ConfigCommandStrings
.InfoCommand_JsonOptionDescription
489
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.InfoCommand_LocalSettingsPath}:**");
492
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.InfoCommand_GlobalSettingsPath}:**");
495
InteractionService.DisplayMarkdown($"**{
ConfigCommandStrings
.InfoCommand_AvailableFeatures}:**");
501
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);