wheels generate app-wizard
Interactive wizard for creating a new Wheels application.
Synopsis
Description
The wheels generate app-wizard
command provides an interactive, step-by-step wizard for creating a new Wheels application. It guides you through all configuration options with helpful prompts and explanations, making it ideal for beginners or when you want to explore all available options.
Options
--expert
Show advanced options
false
--skip-install
Skip dependency installation
false
--help
Show help information
Interactive Process
Step 1: Application Name
Must be alphanumeric with hyphens/underscores
Used for directory and configuration names
Step 2: Template Selection
Step 3: Target Directory
Defaults to
./{app-name}
Can specify absolute or relative path
Step 4: Database Configuration
Step 5: Additional Features
Step 6: CFML Engine
Step 7: Security Settings
Step 8: Review & Confirm
Wizard Flow
Expert Mode
Enable expert mode for additional options:
Additional prompts in expert mode:
Custom server ports
JVM settings
Environment-specific configurations
Advanced routing options
Custom plugin repositories
Build tool integration
Configuration Profiles
Save and reuse configurations:
Save Profile
Use Profile
List Profiles
Feature Descriptions
Bootstrap CSS
Includes Bootstrap 5.x
Responsive grid system
Pre-styled components
Example layouts
jQuery Library
Latest jQuery version
AJAX helpers configured
Example usage in views
Sample Authentication
User model with secure passwords
Login/logout controllers
Session management
Protected routes example
API Documentation
OpenAPI/Swagger setup
Auto-generated documentation
Interactive API explorer
Docker Configuration
Multi-stage Dockerfile
docker-compose.yml
Development & production configs
Database containers
Post-Creation Steps
After successful creation, the wizard displays:
Error Handling
The wizard handles common issues:
Invalid names: Suggests valid alternatives
Existing directories: Offers to overwrite or choose new location
Missing dependencies: Provides installation instructions
Configuration errors: Allows editing before creation
Validation Rules
Application Name
Start with letter
Alphanumeric plus
-
and_
No spaces or special characters
Not a reserved word
Directory Path
Must be writable
Cannot be system directory
Warns if not empty
Passwords
Minimum 6 characters
Strength indicator
Confirmation required
Customization
Custom Templates
Add templates to ~/.wheels/templates/
:
Template Configuration
template.json
:
Integration
CI/CD Pipeline
Generate with CI configuration:
Includes:
.github/workflows/test.yml
Build configuration
Deployment scripts
IDE Configuration
Generate with IDE files:
Includes:
.vscode/settings.json
.vscode/launch.json
.editorconfig
Best Practices
Run wizard in empty directory
Choose descriptive application names
Configure database early
Enable security features for production
Save profiles for team consistency
Review all settings before confirming
Common Use Cases
API-Only Application
Choose Base@BE template
Skip Bootstrap/jQuery
Enable API documentation
Configure CORS settings
Traditional Web Application
Choose Base template
Include Bootstrap/jQuery
Add sample authentication
Configure session management
Microservice
Choose Base@BE template
Configure Docker
Set specific ports
Minimal dependencies
Troubleshooting
Wizard Freezes
Check terminal compatibility
Try
--no-interactive
modeCheck system resources
Installation Fails
Verify internet connection
Check CommandBox version
Try
--skip-install
and install manually
Configuration Issues
Review generated
.wheels-cli.json
Check
server.json
settingsVerify file permissions
See Also
Last updated
Was this helpful?