-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Introduce gp command to add env from .env file #12243
Comments
Hey @thisisommore 👋 As a workaround for now you can use the following to save your time: while read -r line; do {
[[ ! "$line" =~ ^\# ]] && gp env "$line";
} done < .env |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@axonasif can this be never stale? |
@thisisommore let's comment each time when stalebot tries to close this issue 🙂 |
@axonasif can we add |
I added it to one of your other issue that was also stale. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is your feature request related to a problem? Please describe
When we have .env file with variables already there and we want to persist that in gitpod way using
gp env
we have to manually run the commandgp env KEY=value
for each variable, which decreases my productivity for setting new reposDescribe the behaviour you'd like
I would like to run command which reads and specified file like .env and persist that key and values of environment variables for that repo, like what
gp env
does.For example
$ gp env-read .env > 13 Environments added
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: