LogoLogo
HomeAPIBlog
3.0.0-SNAPSHOT
3.0.0-SNAPSHOT
  • INTRODUCTION
    • Getting Started
      • Running Local Development Servers
      • Beginner Tutorial: Hello World
      • Beginner Tutorial: Hello Database
      • Tutorial: Wheels, AJAX, and You
    • Frameworks and Wheels
    • Requirements
    • Manual Installation
    • Upgrading
    • Screencasts
  • Command Line Tools
    • CLI Overview
    • Quick Start Guide
    • Command Reference
      • Core Commands
        • wheels init
        • wheels info
        • wheels reload
        • wheels deps
        • wheels destroy
        • wheels watch
      • Code Generation
        • 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
      • Database Commands
        • wheels dbmigrate info
        • wheels dbmigrate latest
        • wheels dbmigrate up
        • wheels dbmigrate down
        • wheels dbmigrate reset
        • wheels dbmigrate exec
        • wheels dbmigrate create blank
        • wheels dbmigrate create table
        • wheels dbmigrate create column
        • wheels dbmigrate remove table
        • wheels db schema
        • wheels db seed
      • Testing Commands
        • wheels test
        • wheels test run
        • wheels test coverage
        • wheels test debug
      • Configuration Commands
        • wheels config list
        • wheels config set
        • wheels config env
      • Environment Management
        • wheels env
        • wheels env setup
        • wheels env list
        • wheels env switch
      • Plugin Management
        • wheels plugins
        • wheels plugins list
        • wheels plugins install
        • wheels plugins remove
      • Code Analysis
        • wheels analyze
        • wheels analyze code
        • wheels analyze performance
        • wheels analyze security
      • Security Commands
        • wheels security
        • wheels security scan
      • Performance Commands
        • wheels optimize
        • wheels optimize performance
      • Documentation Commands
        • wheels docs
        • wheels docs generate
        • wheels docs serve
      • CI/CD Commands
        • wheels ci init
      • Docker Commands
        • wheels docker init
        • wheels docker deploy
      • Deployment Commands
        • 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
    • CLI Development Guides
      • Creating Commands
      • Service Architecture
      • Migrations Guide
      • Testing Guide
  • Working with Wheels
    • Conventions
    • Configuration and Defaults
    • Directory Structure
    • Switching Environments
    • Testing Your Application
    • Using the Test Environment
    • Contributing to Wheels
    • Submitting Pull Requests
    • Documenting your Code
  • Handling Requests with Controllers
    • Request Handling
    • Rendering Content
    • Redirecting Users
    • Sending Files
    • Sending Email
    • Responding with Multiple Formats
    • Using the Flash
    • Using Filters
    • Verification
    • Event Handlers
    • Routing
    • URL Rewriting
      • Apache
      • IIS
      • Tomcat
      • Nginx
    • Obfuscating URLs
    • Caching
    • Nesting Controllers
    • CORS Requests
  • Displaying Views to Users
    • Pages
    • Partials
    • Linking Pages
    • Layouts
    • Form Helpers and Showing Errors
    • Displaying Links for Pagination
    • Date, Media, and Text Helpers
    • Creating Custom View Helpers
    • Localization
  • Database Interaction Through Models
    • Object Relational Mapping
    • Creating Records
    • Reading Records
    • Updating Records
    • Deleting Records
    • Column Statistics
    • Dynamic Finders
    • Getting Paginated Data
    • Associations
    • Nested Properties
    • Object Validation
    • Object Callbacks
    • Calculated Properties
    • Transactions
    • Dirty Records
    • Soft Delete
    • Automatic Time Stamps
    • Database Migrations
      • Migrations in Production
    • Using Multiple Data Sources
  • Plugins
    • Installing and Using Plugins
    • Developing Plugins
    • Publishing Plugins
  • Project Documentation
    • Overview
  • External Links
    • Source Code
    • Issue Tracker
    • Sponsor Us
    • Community
Powered by GitBook
LogoLogo
On this page
  • Synopsis
  • Description
  • Options
  • Examples
  • List all settings
  • Filter by pattern
  • Show specific category
  • Export as JSON
  • Show with sources
  • Environment-specific
  • Output Example
  • Basic Output
  • Verbose Output
  • Configuration Categories
  • Database
  • Cache
  • Security
  • URLs/Routing
  • Development
  • Filtering Options
  • By Pattern
  • By Category
  • Output Formats
  • Table (Default)
  • JSON
  • YAML
  • Environment Variables
  • Source Information
  • Source Types
  • Source Priority
  • Advanced Usage
  • Compare Environments
  • Audit Configuration
  • Export for Documentation
  • Integration
  • CI/CD Usage
  • Monitoring
  • Special Values
  • Hidden Values
  • Complex Values
  • Best Practices
  • Troubleshooting
  • Missing Settings
  • Incorrect Values
  • Notes
  • See Also

Was this helpful?

Edit on GitHub
Export as PDF
  1. Command Line Tools
  2. Command Reference
  3. Configuration Commands

wheels config list

List all configuration settings for your Wheels application.

Synopsis

wheels config list [options]

Description

The wheels config list command displays all configuration settings for your Wheels application. It shows current values, defaults, and helps you understand your application's configuration state.

Options

Option
Description
Default

--filter

Filter settings by name or pattern

Show all

--category

Filter by category (database, cache, security, etc.)

All

--format

Output format (table, json, yaml, env)

table

--show-defaults

Include default values

false

--show-source

Show where setting is defined

false

--environment

Show for specific environment

Current

--verbose

Show detailed information

false

--help

Show help information

Examples

List all settings

wheels config list

Filter by pattern

wheels config list --filter=cache
wheels config list --filter="database*"

Show specific category

wheels config list --category=security

Export as JSON

wheels config list --format=json > config.json

Show with sources

wheels config list --show-source --show-defaults

Environment-specific

wheels config list --environment=production

Output Example

Basic Output

Wheels Configuration Settings
============================

Setting                          Value
-------------------------------- --------------------------------
dataSourceName                   wheels_dev
environment                      development
reloadPassword                   ********
showDebugInformation            true
showErrorInformation            true
cacheFileChecking               false
cacheQueries                    false
cacheActions                    false
urlRewriting                    partial
assetQueryString                true
assetPaths                      true

Verbose Output

Wheels Configuration Settings
============================

Database Settings
-----------------
dataSourceName                   wheels_dev
  Source: /config/development/settings.cfm
  Default: wheels
  Type: string
  
dataSourceUserName              [not set]
  Source: default
  Default: 
  Type: string

Cache Settings
--------------
cacheQueries                    false
  Source: /config/development/settings.cfm
  Default: false
  Type: boolean
  Description: Cache database query results

Configuration Categories

Database

  • dataSourceName - Primary datasource

  • dataSourceUserName - Database username

  • dataSourcePassword - Database password

  • database - Database name

Cache

  • cacheQueries - Cache query results

  • cacheActions - Cache action output

  • cachePages - Cache full pages

  • cachePartials - Cache partial views

  • cacheFileChecking - Check file modifications

Security

  • reloadPassword - Application reload password

  • showDebugInformation - Show debug info

  • showErrorInformation - Show error details

  • encryptionKey - Data encryption key

  • sessionTimeout - Session duration

URLs/Routing

  • urlRewriting - URL rewriting mode

  • assetQueryString - Add version to assets

  • assetPaths - Use asset paths

Development

  • environment - Current environment

  • hostName - Application hostname

  • deletePluginDirectories - Remove plugin dirs

  • overwritePlugins - Allow plugin overwrites

Filtering Options

By Pattern

# All cache settings
wheels config list --filter=cache*

# Settings containing "database"
wheels config list --filter=*database*

# Specific setting
wheels config list --filter=reloadPassword

By Category

# Database settings only
wheels config list --category=database

# Security settings
wheels config list --category=security

# Multiple categories
wheels config list --category=database,cache

Output Formats

Table (Default)

Human-readable table format

JSON

wheels config list --format=json
{
  "settings": {
    "dataSourceName": "wheels_dev",
    "environment": "development",
    "cacheQueries": false
  }
}

YAML

wheels config list --format=yaml
settings:
  dataSourceName: wheels_dev
  environment: development
  cacheQueries: false

Environment Variables

wheels config list --format=env
WHEELS_DATASOURCE=wheels_dev
WHEELS_ENVIRONMENT=development
WHEELS_CACHE_QUERIES=false

Source Information

When using --show-source:

Source Types

  • File: Specific configuration file

  • Environment: Environment variable

  • Default: Framework default

  • Plugin: Set by plugin

  • Runtime: Set during runtime

Source Priority

  1. Runtime settings (highest)

  2. Environment variables

  3. Environment-specific config

  4. Base configuration

  5. Plugin settings

  6. Framework defaults (lowest)

Advanced Usage

Compare Environments

# Compare dev and production
wheels config list --environment=development > dev.json
wheels config list --environment=production > prod.json
diff dev.json prod.json

Audit Configuration

# Find non-default settings
wheels config list --show-defaults | grep -v "default"

# Find security issues
wheels config list --category=security --check

Export for Documentation

# Markdown format
wheels config list --format=markdown > CONFIG.md

# Include descriptions
wheels config list --verbose --format=markdown

Integration

CI/CD Usage

# Verify required settings
required="dataSourceName,reloadPassword"
wheels config list --format=json | jq --arg req "$required" '
  .settings | with_entries(select(.key | IN($req | split(","))))
'

Monitoring

# Check for changes
wheels config list --format=json > config-current.json
diff config-baseline.json config-current.json

Special Values

Hidden Values

Sensitive settings show as asterisks:

  • Passwords: ********

  • Keys: ****...****

  • Secrets: [hidden]

Complex Values

  • Arrays: ["item1", "item2"]

  • Structs: {key: "value"}

  • Functions: [function]

Best Practices

  1. Regular Audits: Check configuration regularly

  2. Document Changes: Track setting modifications

  3. Environment Parity: Keep environments similar

  4. Secure Secrets: Don't expose sensitive data

  5. Version Control: Track configuration files

Troubleshooting

Missing Settings

  • Check environment-specific files

  • Verify file permissions

  • Look for syntax errors

Incorrect Values

  • Check source precedence

  • Verify environment variables

  • Review recent changes

Notes

  • Some settings require restart to take effect

  • Sensitive values are automatically hidden

  • Custom settings from plugins included

  • Performance impact minimal

See Also

PreviousConfiguration CommandsNextwheels config set

Last updated 2 days ago

Was this helpful?

- Set configuration values

- Environment configuration

- Environment management

wheels config set
wheels config env
wheels env
Configuration Guide