Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
A common pattern on Linux systems is for applications to have a central configuration file (or files) on a well known path. This makes it easy to backup and transfer preferred defaults between machines as well as giving an convenient single place to review configuration settings for an app.
Additionally, with the new aspire
CLI tool, there's the opportunity for convenient querying and updating of configuration via the CLI similar to something like git config
.
Describe the solution you'd like
We should consider support for a central configuration file to allow users to configure desired defaults for any Aspire project. This should live in a well known location that matches the convention for a given operating system.
Additionally, we should consider adding configuration commands to the Aspire CLI tool to support reading and writing configuration values.
Since Aspire runs as the current user, it's probably reasonable to consider a user specific configuration file under the OS equivalent of the $XDG_CONFIG_HOME
environment variable on Linux, such as %LOCALAPPDATA%
on Windows.
Additional context
No response