Loading...

CLI Overview

Quick Start Guide

wheels info

wheels reload

wheels deps

wheels destroy

wheels watch

wheels generate app

wheels generate app-wizard

wheels generate controller

wheels generate model

wheels generate view

wheels generate property

wheels generate route

wheels generate resource

wheels generate api-resource

wheels generate frontend

wheels generate test

wheels generate snippets

wheels scaffold

wheels test

wheels test run

wheels test coverage

wheels test debug

wheels config list

wheels config set

wheels config env

wheels env

wheels env setup

wheels env list

wheels env switch

wheels environment

wheels console

wheels runner

wheels server

wheels server start

wheels server stop

wheels server restart

wheels server status

wheels server log

wheels server open

wheels plugins

wheels plugins list

wheels plugins install

wheels plugins remove

wheels analyze

wheels analyze code

wheels analyze performance

wheels analyze security

wheels security

wheels security scan

wheels optimize

wheels optimize performance

wheels docs

wheels docs generate

wheels docs serve

wheels ci init

wheels docker init

wheels docker deploy

wheels deploy

wheels deploy audit

wheels deploy exec

wheels deploy hooks

wheels deploy init

wheels deploy lock

wheels deploy logs

wheels deploy proxy

wheels deploy push

wheels deploy rollback

wheels deploy secrets

wheels deploy setup

wheels deploy status

wheels deploy stop

Configuration Management

Creating Commands

Service Architecture

Migrations Guide

Testing Guide

Ask or search...
Ctrl K
Loading...

wheels config env (Coming Soon)

This command may not work as expected. A complete and stable version is coming soon.

Manage environment-specific configuration for your Wheels application.

Usage

wheels config env <action> [source] [target]

Parameters

  • action - (Required) Action to perform: list, create, copy
  • source - (Optional) Source environment for copy action
  • target - (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

wheels config env list

Create a new environment

wheels config env create production

Copy environment configuration

wheels config env copy development production

Actions

List Environments

Display all available environments:

wheels config env list

Output:

Available Environments:
----------------------
• development (active)
• testing
• maintenance  
• production

Create Environment

Create a new environment configuration:

wheels config env create staging

This creates a new environment configuration file at /config/staging/settings.cfm.

Copy Environment

Copy configuration from one environment to another:

wheels config env copy development staging

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