Command Line Tools
wheels plugin outdated
wheels plugin outdated
Section titled “wheels plugin outdated”Check for outdated Wheels plugins that have newer versions available on ForgeBox.
wheels plugin outdated [--format=<format>]Parameters
Section titled “Parameters”| Parameter | Required | Type | Options | Default | Description |
|---|---|---|---|---|---|
format | No | string | table, json | table | Output format for outdated plugin list |
Description
Section titled “Description”The plugins outdated command checks all installed plugins in the /plugins folder against ForgeBox to identify which ones have updates available. It performs real-time version checks and displays the results in a clear, formatted output.
Features
Section titled “Features”- Checks only
cfwheels-pluginstype packages - Real-time version checking via ForgeBox
- Color-coded status indicators
- Detailed version comparison
- Helpful update commands
Examples
Section titled “Examples”Check for outdated plugins
Section titled “Check for outdated plugins”wheels plugin outdatedOutput (with outdated plugins):
=========================================================== Checking for Plugin Updates===========================================================
bcrypt [OUTDATED] 0.0.3 -> 0.0.4 shortcodes [OK] v0.0.4 wheels-test [OK] v1.0.0
===========================================================
Found 1 outdated plugin:
Plugin Current Latest-----------------------------------------------bcrypt 0.0.3 0.0.4
-----------------------------------------------------------
Commands:
wheels plugin update bcryptOutput (all up to date):
=========================================================== Checking for Plugin Updates===========================================================
bcrypt [OK] v0.0.4 shortcodes [OK] v0.0.4 wheels-test [OK] v1.0.0
===========================================================
[OK] All plugins are up to date!Output (with errors):
=========================================================== Checking for Plugin Updates===========================================================
bcrypt [OK] v0.0.4 problematic-plugin [ERROR] Could not check version shortcodes [OK] v0.0.4
===========================================================
[OK] All plugins are up to date!
Could not check 1 plugin:
- problematic-pluginMultiple outdated plugins
Section titled “Multiple outdated plugins”wheels plugin outdatedOutput:
=========================================================== 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:
Plugin Current Latest-----------------------------------------------bcrypt 0.0.3 0.0.4shortcodes 0.0.3 0.0.4
-----------------------------------------------------------
Commands:
Update all outdated plugins: wheels plugin update:all
Update specific plugin: wheels plugin update <plugin-name>Export as JSON
Section titled “Export as JSON”wheels plugin outdated --format=jsonOutput:
{ "outdated": [ { "name": "bcrypt", "slug": "cfwheels-bcrypt", "currentVersion": "0.0.3", "latestVersion": "0.0.4" }, { "name": "shortcodes", "slug": "cfwheels-shortcodes", "currentVersion": "0.0.3", "latestVersion": "0.0.4" } ], "count": 2, "errors": []}Status Indicators
Section titled “Status Indicators”During checking, each plugin displays:
- [OUTDATED] (yellow) - Newer version available
- [OK] (green) - Already at latest version
- [ERROR] (red) - Could not check version (network issue, plugin not on ForgeBox, etc.)
How It Works
Section titled “How It Works”- Plugin Discovery: Scans
/pluginsfolder for installed plugins - Version Query: Uses
forgebox showcommand for each plugin to get latest version - Version Comparison: Cleans and compares version strings (strips non-numeric characters)
- Display Results: Shows outdated plugins with current and latest versions
- Update Suggestions: Provides appropriate update commands
Version Comparison
Section titled “Version Comparison”The command performs string-based version comparison after cleaning:
- Removes non-numeric characters except dots (e.g., “v0.0.4” becomes “0.0.4”)
- Compares cleaned versions for equality
- Marks as outdated if versions differ
Update Strategies
Section titled “Update Strategies”Update Single Plugin
Section titled “Update Single Plugin”wheels plugin update bcryptUpdate All Outdated Plugins
Section titled “Update All Outdated Plugins”wheels plugin update:allError Handling
Section titled “Error Handling”Network Issues
Section titled “Network Issues”If ForgeBox cannot be reached, the plugin is marked with [ERROR] and listed separately.
No Plugins Installed
Section titled “No Plugins Installed”=========================================================== Checking for Plugin Updates===========================================================
No plugins installed in /plugins folderInstall plugins with: wheels plugin install <plugin-name>- Only checks plugins from
/pluginsfolder (not box.json dependencies) - Only works with
cfwheels-pluginstype packages - Requires internet connection to query ForgeBox
- Version check is performed in real-time (not cached)
- Plugins are checked sequentially with status updates
- Use
wheels plugin update:allto update all outdated plugins at once - Dynamic table formatting adjusts column widths based on content
See Also
Section titled “See Also”- wheels plugin update - Update a single plugin
- wheels plugin update:all - Update all plugins
- wheels plugin list - List installed plugins
- wheels plugin info - Show plugin details