env-setter

Crates.ioenv-setter
lib.rsenv-setter
version1.0.1
created_at2025-09-27 16:13:48.207102+00
updated_at2025-09-27 16:14:31.186212+00
descriptionruns commands with env variables from (multiple) env files
homepage
repository
max_upload_size
id1857452
size2,798
(jlo62)

documentation

README

env-setter is a dead simple environment variable setter that runs a command.

usage: env-setter -fFILE1 -FFILE2 COMMAND COMMAND_ARGS

FILE? has the format:

# This is a comment
# don't use any other than $USER and $HOME

XDG_CONFIG_HOME=$HOME/.config
XDG_CACHE_HOME=$HOME/.cache
XDG_DATA_HOME=$HOME/.local/share
XDG_STATE_HOME=$HOME/.local/state

XDG_DATA_DIRS=/usr/local/share:/usr/share
XDG_CONFIG_DIRS=/etc/xdg
Commit count: 0

cargo fmt