Reverse engineered prompt

Build me a small Go command line tool called envman that lets me save and reuse environment variables for different projects without constantly exporting and unsetting them by hand.

I want it to create an environment store file in the current folder, let me add values by key, and then run any command with those saved variables loaded just for that run. It should feel like an easy way to switch between different env sets for different projects and also work as a bridge between tools in a CI flow where one step saves values and another step reads them.

Please support adding values directly, from standard input, or from a file so longer or multi line values are easy to store. I also want sensitive values to be marked and redacted from logs. Keep the store human readable, probably as a simple yaml file, and make sure running a command does not leak those vars into later shell sessions.

Include a clean CLI with commands like init, add, and run, plus sensible errors and basic docs or examples. Look up current docs online if you need to.

Want more depth? Deep Reverse