Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 875 Bytes

Build.md

File metadata and controls

28 lines (22 loc) · 875 Bytes

Build

This command combines the environment variables in all your separate .env.* (.env.app, .env.auth, .env.db, ...) files into a single .env file.

Example

envman build production --key=production-env-key

Usage

build [options] [--] [<directories>]...

Arguments

Argument Description Default
directories Directories of env files ["."]

Options

Option Description Default
--key Key file for decryption

Notes

  • Environment variables that are commented out will not be built into the .env file.
  • If a key is not provided, encrypted variables will be skipped.
  • Setting up a git hook for this tool is encouraged. You can use composer-git-hooks (shameless plug), or something else you prefer