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 db create
wheels db drop
wheels db setup
wheels db reset
wheels db status
wheels db version
wheels db rollback
wheels db seed
wheels db dump
wheels db restore
wheels db shell
wheels db schema
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 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
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
Using Multiple Data Sources
wheels ci init
This command works correctly without options (parameters). Option support is under development and will be available soon.
Initialize continuous integration configuration for your Wheels application.
Synopsis
wheels ci init [provider] [options]
Description
The wheels ci init
command sets up continuous integration (CI) configuration files for your Wheels application. It generates CI/CD pipeline configurations for popular CI providers like GitHub Actions, GitLab CI, Jenkins, and others.
Arguments
| Argument | Description | Default |
|----------|-------------|---------|
| provider
| CI provider to configure (github, gitlab, jenkins, travis, circle) | github
|
Options
| Option | Description |
|--------|-------------|
| --template
| Use a specific template (basic, full, minimal) |
| --branch
| Default branch name | main
|
| --engines
| CFML engines to test (lucee5, lucee6, adobe2018, adobe2021, adobe2023) | All engines |
| --databases
| Databases to test against (h2, mysql, postgresql, sqlserver) | h2
|
| --force
| Overwrite existing CI configuration |
| --help
| Show help information |
Examples
Initialize GitHub Actions
wheels ci init github
Initialize with specific engines
wheels ci init github --engines=lucee6,adobe2023
Initialize with multiple databases
wheels ci init github --databases=mysql,postgresql
Initialize GitLab CI
wheels ci init gitlab --branch=develop
Use full template with force overwrite
wheels ci init github --template=full --force
What It Does
-
Creates CI configuration files in the appropriate location:
- GitHub Actions:
.github/workflows/ci.yml
- GitLab CI:
.gitlab-ci.yml
- Jenkins:
Jenkinsfile
- Travis CI:
.travis.yml
- CircleCI:
.circleci/config.yml
- GitHub Actions:
-
Configures test matrix for:
- Multiple CFML engines
- Multiple database systems
- Different operating systems (if supported)
-
Sets up common CI tasks:
- Dependency installation
- Database setup
- Test execution
- Code coverage reporting
- Artifact generation
Generated Configuration
Example GitHub Actions configuration:
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
cfengine: [lucee5, lucee6, adobe2023]
database: [h2]
steps:
- uses: actions/checkout@v4
- name: Setup CommandBox
uses: ortus-solutions/setup-commandbox@v2
- name: Install dependencies
run: box install
- name: Start server
run: box server start cfengine=${{ matrix.cfengine }}
- name: Run tests
run: box testbox run
Templates
Basic Template
- Single engine and database
- Essential test execution
- Minimal configuration
Full Template
- Multiple engines and databases
- Code coverage
- Deployment steps
- Notifications
Minimal Template
- Bare minimum for CI
- Quick setup
- No extras
Use Cases
- New Project Setup: Quickly add CI/CD to a new Wheels project
- Migration: Move from one CI provider to another
- Standardization: Apply consistent CI configuration across projects
- Multi-Engine Testing: Ensure compatibility across CFML engines
Notes
- Requires a valid Wheels application structure
- Some providers may require additional authentication setup
- Database services are configured as Docker containers where possible
- The command respects existing
.gitignore
patterns
See Also
- wheels test - Run tests locally
- wheels docker init - Initialize Docker configuration
- wheels deploy - Deployment commands
- Synopsis
- Arguments
- Options
- Examples
- Initialize GitHub Actions
- Initialize with specific engines
- Initialize with multiple databases
- Initialize GitLab CI
- Use full template with force overwrite
- What It Does
- Generated Configuration
- Templates
- Basic Template
- Full Template
- Minimal Template
- Use Cases
- Notes
- See Also