envset
envset is a command-line tool for setting environment variables in a .env file. it allows you to easily add or update environment variables without manually editing the .env file.
this cli was thrown together quickly with aider, i also put up a blog post explaining why i made this.
installation
avaialble via homebrew and cargo:
usage
set variables
# basic usage
# pipe in stdin, useful for copying stuff from one env to another
|
# .env in the cwd is default, but you can use a different path
# avoid clobbering existing values
get variables
# print a single value
# print all key value pairs
# print all keys
delete variables