busser / murmur

Pass secrets as environment variables to a process
Apache License 2.0
120 stars 7 forks source link

Expose ResolveAll for usage as a library #471

Open Resonance1584 opened 6 months ago

Resonance1584 commented 6 months ago

I have a use case where I want to use murmur in golang integration tests within Visual Studio Code. VS Code has an option to set a .env file e.g. go.testEnvFile in settings, but as far as I can tell there isn't a way to run murmur before the test or debug is started from within the ide e.g. when clicking "debug test" above a test function.

If ResolveAll is exposed outside of internal I can call it from within the tests and manually set the env vars to their secrets, would you be open to moving this outside of the internal package?

christianking-gitlab commented 5 months ago

This is something that I would like as well. I have forked the repo and implemented this, and I will submit a PR for the changes.