Repository navigation
env-swap v1.0.0
Environment file swapper utility for quick switching between .env files.
Installation
Windows:
- Download
env-swap-1.0.0-win-x64.zip - Extract
env-swap.exeto a directory in your PATH - Run
env-swap --helpto get started
Linux:
- Download
env-swap-1.0.0-linux-x64.tar.gz - Extract:
tar -xzf env-swap-1.0.0-linux-x64.tar.gz - Make executable:
chmod +x env-swap - Move to PATH:
sudo mv env-swap /usr/local/bin/ - Run
env-swap --helpto get started
Usage Instructions (auto-generated from --help)
Usage:
env-swap [environment] - Switch to environment
env-swap [environment] [target] - Switch to environment (custom target file)
env-swap [environment] --local - Switch to environment (copy to .env.local)
env-swap --add [name] [path] [--allow-missing] - Add environment file path
env-swap --list - List all available environments
What's Changed
- Full changelog available in commit history
Full Changelog: https://github.com/devcutler/env-swap/commits/v1.0.0