İçeriğe geç

aspire config command

Bu içerik henüz dilinizde mevcut değil.

aspire config - Manage configuration settings.

Aspire CLI
aspire config [command] [options]

The aspire config command manages the Aspire CLI config settings.

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.json under the current directory.

  • Global settings

    The global settings file is stored at $HOME/.aspire/settings.json.

The following options are available:

  • -?, -h, --help

    Prints help and usage documentation for the available commands and options.

  • -d, --debug

    Enable debug logging to the console, which prints detailed information about what Aspire CLI is doing when a command is run.

  • --wait-for-debugger

    Wait for a debugger to attach before running a command.

The following commands are available:

CommandStatusFunction
aspire config listStableList all configuration values.
aspire config get <key>StableGet a configuration value.
aspire config set <key> <value>StableSet a configuration value.
aspire config delete <key>StableDelete a configuration value.

The following config settings are available:

SettingDescription
appHostPathPath to default AppHost project.
features.defaultWatchEnabledEnable watch mode by default for run command.
features.dotnetSdkInstallationEnabledEnable automatic .NET SDK installation.
features.execCommandEnabledEnable exec command.
features.minimumSdkCheckEnabledEnforce minimum SDK version.
features.orphanDetectionWithTimestampEnabledUse timestamp-based orphan detection.
features.packageSearchDiskCachingEnabledCache package search results on disk.
features.runningInstanceDetectionEnabledEnable detection of already running instances.
features.showAllTemplatesShow all templates including experimental ones.
features.showDeprecatedPackagesShow deprecated packages.
features.stagingChannelEnabledUse staging channel packages.
features.updateNotificationsEnabledShow update notifications.