Add support for a dir parameter in hooks for specifying the working directory.
Fix a bug with --var parsing where it wasn't handling an = in the value correctly.
Since https://github.com/gruntwork-io/boilerplate/pull/125 is a hackday and not likely to merge soon, I moved these improvements into a separate PR so we can get them merged ASAP. Also, in this separate PR, I added automated tests for these improvements.
Description
This PR extracts two improvements from https://github.com/gruntwork-io/boilerplate/pull/125:
dir
parameter in hooks for specifying the working directory.--var
parsing where it wasn't handling an=
in the value correctly.Since https://github.com/gruntwork-io/boilerplate/pull/125 is a hackday and not likely to merge soon, I moved these improvements into a separate PR so we can get them merged ASAP. Also, in this separate PR, I added automated tests for these improvements.
TODOs
Read the Gruntwork contribution guidelines.
Release Notes (draft)
Added / Removed / Updated [X].
Migration Guide