Follow the XDG base directory specification
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
According to the [XDG base directory specification](https://specifications.freedesktop.org/basedir/latest/), you should look at environment variables like XDG_DATA_HOME and XDG_CONFIG_HOME to determine where user files should be saved. Creating a ~/.aspire folder is not good practice, because it makes the user's home directory more bloated and many of us want to control what we have in there. Having a lot of folders in the home directory makes it more difficult to navigate, even if they're hidden, because we do still regularly have to navigate among the hidden folders.
Contributor guide
Research direction
Search the repository for the code that creates the ~/.aspire directory and inspect any tests covering its storage paths. Check how XDG_DATA_HOME and XDG_CONFIG_HOME are handled, then verify that user files are saved under the XDG locations instead of ~/.aspire.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100