Shopify / shadowenv

reversible directory-local environment variable manipulations
https://shopify.github.io/shadowenv/
MIT License
396 stars 18 forks source link

Implement `shadowenv exec --dir <dir>`: #60

Closed burke closed 5 years ago

burke commented 5 years ago

This causes shadowenv exec to load the shadowenv from a given directory, rather than the current directory, but still execute the command provided from the current directory after loading that other environment.

I've also removed the short form (-d) for shadowenv exec --shadowenv-data, since it just became very confusing. I don't think anyone was really using that, so removing it should be ok.