-
-
Notifications
You must be signed in to change notification settings - Fork 859
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 dotenv as a cli command (like cross-env) #181
Conversation
1 similar comment
I think this would be better as its own module. I was going to suggest naming it "dotenv-cli" but looks like someone is already wrapping this module to make a CLI. Happy to link to one or both in the README |
My bad, i've not checked if a similar module exists. But in my point of vue, import a cli in the same module is a better way than a separates repositories. I usually use dotenv for client side and server side development, and is a convenient way to use the same module (as an universal development). Moreover, it is easier to manage and follow the evolution of this feature like that. I've fixed tests coverage, It's up to you if this addition it is worth it See ya ! |
I need this feature for web bundler usage (eg: broswerify + envify) for inject environment variables forwarded by .env file.
Thanks.