Open mdirshaddev opened 3 years ago
+1 for this. Would be a pretty nice addition!
Hi! Thanks for opening this issue. Netlify CLI does not currently provide a simple way to set multiple env variables, however we could loop on a list and set them one by one.
Would you be willing to open a Pull request? It should check if we have an environment input, and based on that loop on every key to set it with the CLI.
Reference for the CLI is here https://cli.netlify.com/commands/env
Hey! I'm interested in contributing. Did this feature already get implemented? I didn't see an assignee or PR tied to this issue.
Hello @cmdecker95! I don't think it has no, feel free to open a PR, contributions are always welcome! Sorry for the late reply, days are hectic at work right now
@jsmrcaga thanks! And totally understandable, same here.
Now, it's possible to import env variables from file
netlify env:import fileName
https://cli.netlify.com/commands/env/
Hey @jonybekov ! Thanks for the doc!
Would you be able to implement this in a pull request?
Hey @jonybekov ! Thanks for the doc!
Would you be able to implement this in a pull request?
Alright. Let me take a look
Basically what i am suggesting a feature where a user will be able to pass variable which will link up with netlify environment variables.