aspire config delete command
Цей контент ще не доступний вашою мовою.
This article applies to: ✔️ Aspire CLI 9.4.0 and later versions
aspire config delete - Delete a configuration value.
Synopsis
Section titled “Synopsis”aspire config delete <key> [options]Description
Section titled “Description”The aspire config delete command deletes a config value by key name.
Aspire supports a local and global settings file. Settings defined in a local settings file override those set in the global settings file.
-
Local settings
A local settings file is stored at
.aspire/settings.jsonunder the current directory. -
Global settings
The global settings file is stored at
$HOME/.aspire/settings.json.
The command returns the following exit codes:
0—The command succeeded.1—The supplied key doesn’t exist in the config file, or the config file is missing.
Arguments
Section titled “Arguments”The following arguments are available:
-
keyThe configuration key to delete.
Options
Section titled “Options”The following options are available:
-
-g, --globalDelete the configuration value from the global
$HOME/.aspire/settings.jsoninstead of the local settings file. -
-?, -h, --helpPrints help and usage documentation for the available commands and options.
-
-d, --debugEnable debug logging to the console, which prints detailed information about what .NET Aspire CLI is doing when a command is run.
-
--wait-for-debuggerWait for a debugger to attach before running a command.