/ Search - type / Modes - type M Star on GitHub - 5.7k

dotenvx get

KEY --strict

Exit with code 1 if any errors are encountered - like a missing key, missing .env file, or decryption failure.

Usage

$ dotenvx get DOES_NOT_EXIST --strict
[MISSING_KEY] missing key (DOES_NOT_EXIST)