run --convention

Load env files using the nextjs or flow naming convention

dotenvx run

$ dotenvx run --convention

Usage

Choose nextjs or flow. Convention files that do not exist are skipped unless strict mode is enabled.


$ dotenvx run --convention nextjs -- node index.js

$ dotenvx run --convention flow -- node index.js

markdown