.env · workflow

Séparateur ENV — Divisez un .env en dev/staging/prod

Collez un fichier .env combiné et divisez-le par préfixe (DEV_, PROD_) ou par marqueurs de commentaires. Sortez plusieurs fichiers prêts à commiter.

Be the first to rate
.env.dev
3 keys
DATABASE_URL=postgres://localhost/dev
LOG_LEVEL=debug
SHARED_API_VERSION=v2
.env.prod
3 keys
DATABASE_URL=postgres://prod.example.com/app
LOG_LEVEL=info
SHARED_API_VERSION=v2
.env.test
2 keys
DATABASE_URL=postgres://localhost/test
SHARED_API_VERSION=v2
Full tool page:/env-splitter