envset
envset is a CLI for setting environment variables in .env files. this is something you may have never considered needing a specialized tool for. and you don't. but just like updating a git config it's just more fun doing it with a command.
installation
available on 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 all key value pairs
# print a single value
# print all keys
delete variables
about
this cli was thrown together quickly with aider, i also put up a blog post explaining why i made this.