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

Lagoon CLI config files in unexpected location #274

Open
smlx opened this issue Apr 20, 2023 · 0 comments
Open

Lagoon CLI config files in unexpected location #274

smlx opened this issue Apr 20, 2023 · 0 comments

Comments

@smlx
Copy link
Member

smlx commented Apr 20, 2023

Describe the bug
~/.lagoon.yml and ~/.lagoon.update is non-standard and makes it difficult to find lagoon-cli configuration files.

To Reproduce
Steps to reproduce the behavior:

  1. Run lagoon-cli.
  2. See ~/.lagoon.yml and ~/.lagoon.update appear.

Expected behavior
According to the XDG Base Directory Spec.:

  • .lagoon.yml should be in e.g. $XDG_CONFIG_HOME/lagoon/config.yml
  • .lagoon.update should be in e.g. $XDG_STATE_HOME/lagoon/update

It would be nice if lagoon-cli followed this convention 🙂

Screenshots
n/a

Desktop (please complete the following information):

  • OS: Debian Linux

Additional context
There's a nice library that takes care of this in a cross platform way here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants