Store environment variables for projects in a central SQLite database!
- Automatically export/unexport environments when entering/leaving directories
- Need an environment variable in more than one environment? Create a reference to it instead of copying it.
I'm using envelope
personally, but I can't recommend it for anyone else to use until I have more features and tab completion. The CLI interface is also not stable.
scoop bucket add bbkane https://github.com/bbkane/scoop-bucket
scoop install bbkane/envelope
- Download Mac/Linux/Windows executable: GitHub releases
- Go:
go install go.bbkane.com/envelope@latest
- Build with goreleaser after cloning:
goreleaser --snapshot --skip-publish --clean
Other shells not yet supported
eval "$(envelope shell zsh init)"
See Go Project Notes for notes on development tooling and CI/CD setup (including demo gif generation)
Install:
brew install k1LoW/tap/tbls
Run:
# get a fresh db
go run . env list --db-path tmp.db
tbls doc --rm-dist
Generate ./sqlite/sqlite/sqlcgen
go generate ./...