Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.51 KB

README.md

File metadata and controls

61 lines (39 loc) · 1.51 KB

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 release --snapshot --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 ./...