dotenvx get KEY --ignore
Ignore specific error codes.
$ dotenvx get HELLO --ignore=MISSING_ENV_FILE
Ignore multiple error codes by separating them with spaces.
$ dotenvx get HELLO --ignore=MISSING_ENV_FILE MISSING_KEY
You can also set DOTENV_CONFIG_IGNORE. Its value is a comma-separated list.
$ DOTENV_CONFIG_IGNORE=MISSING_ENV_FILE,OTHER dotenvx get HELLO