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
Add a .list()
method to Dotenv
#19
Conversation
@pwoolcoc thanks! |
@cdimascio I see you added and then commented out an iterator for it -- are you planning on un-commenting that at some point? that would work for me just as well as a list would, tbh |
@pwoolcoc yes. I commented it out as it needed some work. The types weren't working out well on the Java side. I believe I have it resolved now All in all, I borrowed many of your ideas The change is available in v4.1.0. It should make it to MavenCentral within ~24hours |
@pwoolcoc FYI: If you want to try it out before it makes it to MavenCentral you can get it from JCenter with the following: If you need it more quickly you can resolve to JCenter with the following:
Maven
|
@pwoolcoc would love to checkout your gradle plugin once its ready to go. sounds interesting! |
There's also a usage blurb in the documentation |
this looks great, thanks! this will work perfectly for me :) I'll let you know when i have published my plugin |
@all-contributors please add @pwoolcoc for ideas |
I've put up a pull request to add @pwoolcoc! 🎉 |
Currently, I am writing a gradle plugin for .env files, and it would be nice to be able to iterate over the list of variables that were defined in the .env file