dotenvx gitignore --pattern

Gitignore specific pattern(s) of .env files.

$ dotenvx gitignore --pattern .env.keys
▣ ignored .env.keys (.gitignore)