CLI Syncing
Pull remote env versions to local files and push local changes as new versions.
Commands
envx pull [options]
envx push --changelog "message"Options Table
| Command | Flag | Description |
|---|---|---|
| pull | -f --file <filePath> | Write output to custom env path. |
| pull | -e --environment <environment> | Override configured environment. |
| pull | -v, --version <version> | Pull a specific remote version. |
| pull | --no-backup | Skip local backup before pull. |
| pull | --backup-path <backupPath> | Set custom backup file path. |
| pull | --no-config | Do not persist env/version to config. |
| pull | --no-override | Merge instead of overriding local env file. |
| push | -c, --changelog <changelog> | Required changelog message for version creation. |
Usage Examples
envx pull --environment staging --version 4 --file .env.staging
envx pull --no-backup --no-config --no-override
envx push --changelog "Rotate DB credentials"