Skip to content

Store project environmental files in a central database

License

Notifications You must be signed in to change notification settings

bbkane/envelope

Repository files navigation

envelope

./demo.gif

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.

Project Status

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.

Install

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

Initialize in ~/.zshrc

Other shells not yet supported

eval "$(envelope shell zsh init)"

Dev Notes

See Go Project Notes for notes on development tooling and CI/CD setup (including demo gif generation)

Generate ./dbdoc with tbls

Install:

brew install k1LoW/tap/tbls

Run:

# get a fresh db
go run . env list --db-path tmp.db
tbls doc --rm-dist
go generate ./...

About

Store project environmental files in a central database

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published