wheels config env
Manage environment-specific configuration for your Wheels application.
Usage
Parameters
action
- (Required) Action to perform:list
,create
,copy
source
- (Optional) Source environment for copy actiontarget
- (Optional) Target environment for create or copy action
Description
The wheels config env
command provides tools for managing environment-specific configurations. It helps you list, create, and copy configurations between different environments.
Examples
List all environments
Create a new environment
Copy environment configuration
Actions
List Environments
Display all available environments:
Output:
Create Environment
Create a new environment configuration:
This creates a new environment configuration file at /config/staging/settings.cfm
.
Copy Environment
Copy configuration from one environment to another:
This copies all settings from the development environment to the staging environment, preserving environment-specific values like datasource names.
Notes
Some operations require application restart
Sensitive values protected by default
Changes logged for audit purposes
Use templates for consistency
See Also
wheels config list - List all settings
wheels config set - Set configuration values
wheels env - Environment management
Last updated
Was this helpful?