envset
envset is a CLI for setting environment variables in .env files.
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.