mage
mage copied to clipboard
Support working directory in `sh` package
This is primarily to enable passing in a working directory for the command, and adds functional options (instead of adding another variant of the existing commands).
I didn't see https://github.com/magefile/mage/pull/444 before I opened this, but this PR does preserve the existing public interface of sh
so it may be a bit easier to swallow.