wheels plugin search
Search for available Wheels plugins on ForgeBox.
Synopsis
wheels plugin search [query] [--format=<format>] [--orderBy=<field>]CommandBox Parameter Syntax
This command supports multiple parameter formats:
Positional parameters:
wheels plugin search bcrypt(search query)Named parameters:
query=value(e.g.,query=auth,format=json)Flag parameters:
--flag=value(e.g.,--format=json,--orderBy=downloads)
Parameter Mixing Rules:
✅ ALLOWED:
Positional:
wheels plugin search bcryptPositional + flags:
wheels plugin search auth --format=jsonAll named:
query=bcrypt format=json orderBy=downloadsNamed + flags:
query=auth --format=json
❌ NOT ALLOWED:
Positional + named for same param:
wheels plugin search bcrypt query=other
Recommendation: Use positional for query, flags for options: wheels plugin search auth --format=json --orderBy=downloads
Parameters
query
No
string
-
(empty)
Search term to filter plugins
format
No
string
table, json
table
Output format for the results
orderBy
No
string
name, downloads, updated
downloads
Sort results by specified field
Description
The plugin search command searches ForgeBox for available cfwheels-plugins type packages. You can search for all plugins or filter by keywords. Results can be sorted by name, downloads, or last updated date.
Features
Searches only
cfwheels-pluginstype packagesFilters results by search term
Multiple sort options
Color-coded, formatted output
JSON export support
Dynamic column widths
Examples
Search all plugins
wheels plugin searchOutput:
===========================================================
  Searching ForgeBox for Wheels Plugins
===========================================================
Found 5 plugins:
Name                          Version     Downloads   Description
-------------------------------------------------------------------------------
cfwheels-bcrypt               1.0.2       4393        CFWheels 2.x plugin helper meth...
shortcodes                    0.0.4       189         Shortcodes Plugin for CFWheels
cfwheels-authenticateThis     2.0.0       523         Adds bCrypt authentication helpe...
cfwheels-jwt                  2.1.0       412         CFWheels plugin for encoding and...
cfwheels-htmx-plugin          1.0.0       678         HTMX Plugin for CFWheels
-----------------------------------------------------------
Commands:
  wheels plugin install <name>    Install a plugin
  wheels plugin info <name>       View plugin detailsSearch for specific plugin
wheels plugin search bcryptOutput:
===========================================================
  Searching ForgeBox for Wheels Plugins
===========================================================
Search term: bcrypt
Found 1 plugin:
Name                    Version     Downloads   Description
-----------------------------------------------------------------------
cfwheels-bcrypt         1.0.2       4393        CFWheels 2.x plugin helper meth...
-----------------------------------------------------------
Commands:
  wheels plugin install <name>    Install a plugin
  wheels plugin info <name>       View plugin detailsNo results found
wheels plugin search nonexistentOutput:
===========================================================
  Searching ForgeBox for Wheels Plugins
===========================================================
Search term: nonexistent
No plugins found matching 'nonexistent'
Try:
  wheels plugin search <different-keyword>
  wheels plugin list --availableSort by name
wheels plugin search --orderBy=nameResults will be sorted alphabetically by plugin name.
Sort by last updated
wheels plugin search --orderBy=updatedResults will be sorted by most recently updated plugins first.
Export as JSON
wheels plugin search --format=jsonOutput:
{
  "plugins": [
    {
      "name": "CFWheels bCrypt",
      "slug": "cfwheels-bcrypt",
      "version": "1.0.2",
      "description": "CFWheels 2.x plugin helper methods for the bCrypt Java Lib",
      "author": "neokoenig",
      "downloads": 4393,
      "updateDate": "2022-05-30T02:09:07+00:00"
    },
    {
      "name": "Shortcodes",
      "slug": "shortcodes",
      "version": "0.0.4",
      "description": "Shortcodes Plugin for CFWheels",
      "author": "neokoenig",
      "downloads": 189,
      "updateDate": "2017-05-16T09:03:02+00:00"
    }
  ],
  "count": 2,
  "query": ""
}How It Works
Execute ForgeBox Command: Runs
forgebox show type=cfwheels-pluginsto get all pluginsParse Output: Scans the formatted output for lines containing
Slug: "plugin-slug"Extract Slugs: Uses regex to extract slug values from quoted strings
Filter by Query: If search term provided, only processes slugs containing that term
Fetch Details: For each matching slug, calls
forgebox.getEntry(slug)to get:Plugin title and description
Latest version (from
latestVersion.version)Author username (from
user.username)Download count (from
hits)Last updated date
Sort Results: Sorts plugins by specified order (downloads, name, or updated date)
Format Output: Displays in table or JSON format with dynamic column widths
Sort Options
downloads (default)
Sorts by number of downloads, most popular first. Best for finding widely-used plugins.
name
Sorts alphabetically by plugin name. Best for browsing all available plugins.
updated
Sorts by last update date, most recent first. Best for finding actively maintained plugins.
Search Tips
Broad Search: Start with general terms like "auth" or "cache"
Case Insensitive: Search is case-insensitive
Partial Matching: Matches plugins containing the search term anywhere in the slug
Popular First: Default sort shows most downloaded plugins first
Empty Query: Run without query to see all available plugins
Output Formats
Table Format (Default)
Color-coded columns (cyan names, green versions, yellow downloads)
Dynamic column widths based on content
Truncated descriptions with ellipsis
Clear section headers and dividers
Helpful command suggestions
JSON Format
Structured data for programmatic use
Includes plugin count
Includes search query
Complete plugin information
Integration with Other Commands
After finding plugins:
# View detailed information
wheels plugin info cfwheels-bcrypt
# Install directly
wheels plugin install cfwheels-bcrypt
# List installed plugins
wheels plugin listPerformance Notes
Fetches all
cfwheels-pluginsfrom ForgeBoxFilters results client-side
Queries detailed info for each matching plugin
May take a few seconds for large result sets
Results are not cached (always fresh)
Error Handling
If ForgeBox cannot be reached:
[ERROR] Error searching for plugins
Error: Connection timeoutIf no plugins of type cfwheels-plugins exist:
No plugins found
Try:
  wheels plugin search <different-keyword>
  wheels plugin list --availableNotes
Only searches
cfwheels-pluginstype packagesRequires internet connection to query ForgeBox
Search is performed against plugin slugs
Results include version, downloads, and description
Dynamic table formatting adjusts to content
Some plugins may not have complete metadata
Plugins without valid metadata are skipped
See Also
wheels plugin info - View detailed plugin information
wheels plugin install - Install a plugin
wheels plugin list - List installed plugins
wheels plugin outdated - Check for plugin updates
Last updated
Was this helpful?

