env:init
Creates a new environment for the current project.Prompts
- Select an environment type (e.g., Production, Staging)
- Select a base environment or choose
Standalone
- If
--name
isn’t provided:- Choose from suggested names or
Custom name
- If custom, enter a slug-formatted name
- Choose from suggested names or
env:pull
Downloads an environment file from Ghostable to the local machine.Prompts
- Pick which environment to pull (if
--environment
not provided) - Choose the file format (with a Default option)
- Confirm that you want to overwrite any existing file
env:push
Uploads your local environment file to Ghostable.Prompts
- Pick the environment to push (if
--environment
not provided) - Confirm before overwriting the server’s environment
- If the environment doesn’t exist locally, warns and offers to create it
env:diff
Compares local environment variables with those stored in Ghostable.Prompts
- Select which environment to diff (if
--environment
not provided) - Displays variables categorized as added, updated, or removed
env:validate
Sends your local environment file to Ghostable for validation.Prompts
- Select which environment to validate (if
--environment
not provided) - Validation errors, if any, are listed