Command Line Tools
wheels plugin update:all
wheels plugin update:all
Section titled “wheels plugin update:all”Update all installed Wheels plugins to their latest versions from ForgeBox.
wheels plugin update:all [--dryRun]Parameters
Section titled “Parameters”| Parameter | Required | Type | Description |
|---|---|---|---|
dryRun | No | boolean | Preview updates without actually installing them |
Description
Section titled “Description”The plugin update:all command checks all installed plugins in the /plugins folder against ForgeBox and updates any outdated plugins to their latest versions. It provides a clear summary of what will be updated and handles each plugin update sequentially.
Features
Section titled “Features”- Checks all plugins for updates in one command
- Color-coded status indicators for each plugin
- Detailed update summary
- dryRun mode to preview changes
- Individual plugin update tracking
- Helpful error reporting
Examples
Section titled “Examples”Update all plugins
Section titled “Update all plugins”wheels plugin update:allOutput (with updates available):
=========================================================== Checking for Plugin Updates===========================================================
bcrypt [OUTDATED] 0.0.3 -> 0.0.4 shortcodes [OUTDATED] 0.0.3 -> 0.0.4 wheels-test [OK] v1.0.0
===========================================================
Found 2 outdated plugins
Updating Plugins:
Plugin Current Latest Status---------------------------------------------------------------bcrypt 0.0.3 0.0.4 [UPDATE]shortcodes 0.0.3 0.0.4 [UPDATE]
-----------------------------------------------------------
Updating bcrypt from 0.0.3 to 0.0.4...[CommandBox installation output...][OK] bcrypt updated successfully
Updating shortcodes from 0.0.3 to 0.0.4...[CommandBox installation output...][OK] shortcodes updated successfully
=========================================================== Update Summary===========================================================
[OK] 2 plugins updated successfully
Updated plugins: - bcrypt (0.0.3 -> 0.0.4) - shortcodes (0.0.3 -> 0.0.4)
Commands: wheels plugin list View all installed plugins wheels plugin outdated Check for more updatesAll plugins up to date
Section titled “All plugins up to date”wheels plugin update:allOutput:
=========================================================== Checking for Plugin Updates===========================================================
bcrypt [OK] v0.0.4 shortcodes [OK] v0.0.4 wheels-test [OK] v1.0.0
===========================================================
[OK] All plugins are already up to date!
No updates required.
Commands: wheels plugin list View all installed plugins wheels plugin outdated Check for updatesdryRun mode (preview only)
Section titled “dryRun mode (preview only)”wheels plugin update:all --dryRunOutput:
=========================================================== Checking for Plugin Updates (DRY RUN)===========================================================
bcrypt [OUTDATED] 0.0.3 -> 0.0.4 shortcodes [OUTDATED] 0.0.3 -> 0.0.4 wheels-test [OK] v1.0.0
===========================================================
Found 2 outdated plugins
Would Update:
Plugin Current Latest---------------------------------------------------------------bcrypt 0.0.3 0.0.4shortcodes 0.0.3 0.0.4
-----------------------------------------------------------
[DRY RUN] No updates performed
To perform these updates: wheels plugin update:allWith some failures
Section titled “With some failures”wheels plugin update:allOutput:
=========================================================== Checking for Plugin Updates===========================================================
bcrypt [OUTDATED] 0.0.3 -> 0.0.4 problematic-plugin [ERROR] Could not check version shortcodes [OK] v0.0.4
===========================================================
Found 1 outdated plugin
Updating Plugins:
Plugin Current Latest Status---------------------------------------------------------------bcrypt 0.0.3 0.0.4 [UPDATE]
-----------------------------------------------------------
Updating bcrypt from 0.0.3 to 0.0.4...[CommandBox installation output...][OK] bcrypt updated successfully
=========================================================== Update Summary===========================================================
[OK] 1 plugin updated successfully
Updated plugins: - bcrypt (0.0.3 -> 0.0.4)
Could not check 1 plugin: - problematic-plugin
Commands: wheels plugin list View all installed plugins wheels plugin outdated Check for more updatesNo plugins installed
Section titled “No plugins installed”wheels plugin update:allOutput:
=========================================================== Checking for Plugin Updates===========================================================
No plugins installed in /plugins folderInstall plugins with: wheels plugin install <plugin-name>Update Process
Section titled “Update Process”- Display Header: Shows command is checking for updates
- Plugin Discovery: Scans
/pluginsfolder for installed plugins - Version Checking: Queries ForgeBox for each plugin’s latest version
- Status Display: Shows color-coded status for each plugin
- Update List: Displays table of plugins that need updating
- Sequential Updates: Updates each plugin one at a time
- Progress Tracking: Shows success/failure for each update
- Summary Report: Displays final update statistics
- Helpful Commands: Suggests next steps
Status Indicators
Section titled “Status Indicators”During checking, each plugin displays:
- [OUTDATED] (yellow) - Update available, will be updated
- [OK] (green) - Already at latest version
- [ERROR] (red) - Could not check version
During updates:
- [UPDATE] (yellow) - Plugin will be updated
- [OK] (green) - Update completed successfully
- [ERROR] (red) - Update failed
dryRun Mode
Section titled “dryRun Mode”Use --dryRun to preview updates without actually performing them. This is useful for:
- Checking what would be updated before committing
- Testing in CI/CD pipelines
- Reviewing changes before production updates
- Planning maintenance windows
wheels plugin update:all --dryRunThe dryRun mode:
- Checks all plugins for updates
- Shows what would be updated
- Does NOT download or install anything
- Provides command to perform actual updates
Update Strategy
Section titled “Update Strategy”The command updates plugins sequentially:
- One plugin at a time (safer than parallel)
- Continues updating even if one fails
- Tracks success/failure for each plugin
- Provides detailed summary at the end
Error Handling
Section titled “Error Handling”Version Check Failures
Section titled “Version Check Failures”Plugins where version cannot be checked are listed separately and skipped for updates.
Update Failures
Section titled “Update Failures”If a plugin update fails:
- The failure is tracked
- Other updates continue
- Error is reported in summary
- Plugin can be updated individually later
Network Issues
Section titled “Network Issues”If ForgeBox cannot be reached:
=========================================================== Checking for Plugin Updates===========================================================
bcrypt [ERROR] Could not check version shortcodes [ERROR] Could not check version
===========================================================
[ERROR] Unable to check for updates
Could not check 2 plugins due to network issues.Please check your internet connection and try again.Best Practices
Section titled “Best Practices”- Regular Updates: Run weekly or monthly to stay current
- Test First: Always test updates in development before production
- Use dryRun: Preview updates with
--dryRunbefore applying - Read Release Notes: Check ForgeBox for breaking changes
- Commit First: Commit your code before updating plugins
- Update Individually: For critical plugins, use
wheels plugin update <name>
Integration with Other Commands
Section titled “Integration with Other Commands”Check Before Updating
Section titled “Check Before Updating”# See which plugins are outdatedwheels plugin outdated
# Update all outdated pluginswheels plugin update:allUpdate Individual Plugins
Section titled “Update Individual Plugins”# Update all plugins except onewheels plugin update:all --dryRun # See what would updatewheels plugin update plugin1 # Update individuallywheels plugin update plugin2- Only updates plugins from
/pluginsfolder - Only works with
cfwheels-pluginstype packages - Updates are performed sequentially (not in parallel)
- Each update is independent - failures don’t affect other updates
- Requires internet connection to query ForgeBox and download updates
- Version checks are performed in real-time (not cached)
- Progress is shown for each plugin update
- After updates, plugins may require application reload
- Failed updates can be retried individually with
wheels plugin update <name> - The command does NOT update plugins that are already at latest version
See Also
Section titled “See Also”- wheels plugin update - Update a single plugin
- wheels plugin outdated - Check for outdated plugins
- wheels plugin list - List installed plugins
- wheels plugin info - View plugin details