LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

envx

Environment variable management tool

TLDR

Load environment from .env file
$ envx load [.env]
copy
Export current environment to file
$ envx export [filename.env]
copy
Run command with specific environment
$ envx run -e [KEY=VALUE] -- [command]
copy
Check for required variables
$ envx check [REQUIRED_VAR1] [REQUIRED_VAR2]
copy

SYNOPSIS

envx [command] [options] [arguments]

DESCRIPTION

envx is an environment variable management tool that provides utilities for loading, exporting, and manipulating environment configurations. It supports .env files, variable expansion, and temporary environment modifications.The tool is useful for managing environment configurations across different environments (development, staging, production) and ensuring required variables are present before running applications.

PARAMETERS

load [FILE]

Load environment variables from file
export [FILE]
Export current environment to file
run [options] -- COMMAND
Run command with modified environment
check VARIABLES
Verify required variables are set
-e, --env KEY=VALUE
Set environment variable
-f, --file FILE
Specify environment file
--expand
Expand variable references in values
--override
Override existing variables
-v, --version
Display version and exit
-h, --help
Display help and exit

INSTALL

yay -S envx
copy

CAVEATS

Variable expansion may have security implications with untrusted input. .env file format may vary between tools. System environment variables are protected from modification in some cases.

HISTORY

envx was created to provide a consistent way to manage environment variables across projects and environments.

SEE ALSO

env(1), direnv(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid