Skip to content
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

Ablity to select a subset of the environmental variable #6

Open
ghost opened this issue Nov 27, 2018 · 0 comments
Open

Ablity to select a subset of the environmental variable #6

ghost opened this issue Nov 27, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 27, 2018

Currently bens exports all the environmental variables from the yaml file when calling the "environmental" command. If you use the same yaml files for different projects that all require different overlapping subsets of the variables this can make cleaning the environment files you don't need out of the environment difficult. This issues can be worked around with some shell scripting:

eval $(bens environment | grep -E '(var1)|(var3)'

but a built in option could be cleaner:

eval $(bens environement -e var1 -e var2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants