Shopify / shadowenv

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

Implement `shadowenv exec` #48

Closed burke closed 5 years ago

burke commented 5 years ago

This implements shadowenv exec, which loads the Shadowenv from the current directory before executing the provided command.

I figured out how to make a group of mutually-exclusive options with Clap too, so I added that where applicable in the app definition.


Closes https://github.com/Shopify/shadowenv/issues/46

burke commented 5 years ago

Comments addressed. Thanks for pointing out remove_var; I skimmed the docs and missed it somehow.