Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[config] Add support for default config file locations #574

Open
eskultety opened this issue Jul 16, 2024 · 0 comments
Open

[config] Add support for default config file locations #574

eskultety opened this issue Jul 16, 2024 · 0 comments
Labels
config Pull requests/issues related to our tool's configuration enhancement New feature or request

Comments

@eskultety
Copy link
Member

Currently we only support configuration via a YAML config file passed explicitly on the CLI via the --config-file option. That is not ergonomic enough and we could benefit somewhat from supporting some default locations for the file:

  • $XDG_CONFIG_HOME/cachi2/config.yaml (alternatively omit the cachi2 subdirectory)
  • $HOME/.config/cachi2/config.yaml (alternatively omit the cachi2 subdirectory)
  • $PWD

Suggested by: @brunoapimentel

@eskultety eskultety added the enhancement New feature or request label Jul 16, 2024
@eskultety eskultety added the config Pull requests/issues related to our tool's configuration label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Pull requests/issues related to our tool's configuration enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant