rubyconfig / config

Easiest way to add multi-environment yaml settings to Rails, Sinatra, Padrino and other Ruby projects.
Other
2.1k stars 231 forks source link

Feature Request: Rake Task to generate env-file #324

Open pglombardo opened 2 years ago

pglombardo commented 2 years ago

I use this gem for Password Pusher and it's been a huge help in centralizing config and simplifying customization.

I would like a way to generate an env-file for Docker. This file would have all possible environment variables taken from settings.yml and commented out by default.

Then my users can customize/uncomment the file as needed and pass that file to Docker.

I may go ahead and create a PR myself but wanted to see if someone has already done this or if it's on the roadmap.

pkuczynski commented 2 years ago

Nobody ever requested this feature. So I guess you are looking for export or save function? Feel free to create a PR for it.