The CircleCI CLI is awesome, and definitely makes it much easier to tinker with 2.0 builds in a tight feedback loop.
Some of my build steps rely on environment variables provided by CircleCI (for example, any environment variables specified in the project settings UI in CircleCI, or AWS credentials).
It would be super useful when running
circleci build locally, to be able to pass in my own custom environment variables, so that I can mimic the way the UI lets you set variables.
Specifically, I’m trying to test out a set of AWS credentials and their permissions for the deploy step, and I’d rather not write these credentials to disk (I use aws-vault to obtain short-lived secrets, which get passed to the child command as environment variables).