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

Use XDG standard for finding config files? #1417

Open
mvz opened this issue Sep 12, 2018 · 6 comments
Open

Use XDG standard for finding config files? #1417

mvz opened this issue Sep 12, 2018 · 6 comments

Comments

@mvz
Copy link
Collaborator

mvz commented Sep 12, 2018

I still need to look into it more, but this looks interesting: https://rubyworks.github.io/xdg/

@mvz mvz added the discussion label Sep 12, 2018
@troessner
Copy link
Owner

The idea is nice but the last commit for this project is from 2012 :-/

@troessner
Copy link
Owner

@mvz should we close this one?

@mvz
Copy link
Collaborator Author

mvz commented Oct 7, 2018

I still think it's a good idea, but that gem probably won't help us. I relabeled it for now.

@bkuhlmann
Copy link

bkuhlmann commented Dec 12, 2018

ℹ️ If it's of interest, I have the Runcom gem which implements the XDG spec (partially, more support is in the works). I use it for all of my CLIs. I extracted this functionality to a gem because I ran into this issue too and wanted to solve the problem once and use in multiple CLIs.

@mvz
Copy link
Collaborator Author

mvz commented Dec 12, 2018

Thanks, @bkuhlmann, that looks like a good alternative for Rubyworks' abandoned project.

@bkuhlmann
Copy link

ℹ️ If it helps, since I last posted above, I've adopted the XDG gem now. The XDG gem is a Ruby implementation of the spec while Runcom is a layer on top of XDG which provides developer nicities which deviate/enhance the XDG spec. 😉

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

3 participants