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

dotenvx run

--ignore

Ignore specific error codes.

Usage

$ dotenvx run --ignore=MISSING_ENV_FILE -- yourcommand

Ignore multiple error codes by separating them with spaces.

$ dotenvx run --ignore=MISSING_ENV_FILE MISSING_KEY -- yourcommand

You can also set DOTENV_CONFIG_IGNORE. Its value is a comma-separated list.

$ DOTENV_CONFIG_IGNORE=MISSING_ENV_FILE,OTHER dotenvx run -- yourcommand