Skip to content

CLI/Fix Wheels plugin management commands and documentation#1727

Merged
zainforbjs merged 3 commits intodevelopfrom
cli/wheels-plugin-commands
Sep 10, 2025
Merged

CLI/Fix Wheels plugin management commands and documentation#1727
zainforbjs merged 3 commits intodevelopfrom
cli/wheels-plugin-commands

Conversation

@zainforbjs
Copy link
Copy Markdown
Contributor

Fixed plugin installation and listing functionality to work with actual Wheels
plugin structure:

Plugin Installation (PluginService.cfc)

  • Fixed invalid packageService.getPackage() method call that was causing plugin validation failures
  • Updated plugin installation to detect Wheels applications vs CLI projects and handle them appropriately
  • Fixed path resolution issues by using proper fileSystemUtil.resolvePath() method
  • Fixed CFML syntax errors with unescaped # characters and backslashes in strings

Plugin Listing (PluginService.cfc, list.cfc)

  • Fixed plugins list command to read from /plugins folder instead of only checking box.json
  • Implemented proper table format output matching documentation specifications
  • Added support for all documented parameters: --global, --format=json, --available
  • Fixed ConfigService injection and method calls for global plugin listing

Documentation Updates

  • Updated plugin command guides to remove "coming soon" warnings
  • Standardized output formats and parameter descriptions
  • Aligned command behavior with documented specifications

Bug Fixes

  • Resolved path resolution issues on Windows systems
  • Fixed multiple CFML compilation errors preventing command execution
  • Corrected plugin detection logic to work with actual Wheels application structure

Result: wheels plugin install and wheels plugin list commands now work correctly
according to documentation, properly installing plugins to /plugins folder and
detecting installed plugins from zip files.

Fixed plugin installation and listing functionality to work with actual Wheels
  plugin structure:

  Plugin Installation (PluginService.cfc)

  - Fixed invalid packageService.getPackage() method call that was causing plugin
  validation failures
  - Updated plugin installation to detect Wheels applications vs CLI projects and
  handle them appropriately
  - Fixed path resolution issues by using proper fileSystemUtil.resolvePath() method
  - Fixed CFML syntax errors with unescaped # characters and backslashes in strings

  Plugin Listing (PluginService.cfc, list.cfc)

  - Fixed plugins list command to read from /plugins folder instead of only checking
   box.json
  - Implemented proper table format output matching documentation specifications
  - Added support for all documented parameters: --global, --format=json,
  --available
  - Fixed ConfigService injection and method calls for global plugin listing

  Documentation Updates

  - Updated plugin command guides to remove "coming soon" warnings
  - Standardized output formats and parameter descriptions
  - Aligned command behavior with documented specifications

  Bug Fixes

  - Resolved path resolution issues on Windows systems
  - Fixed multiple CFML compilation errors preventing command execution
  - Corrected plugin detection logic to work with actual Wheels application
  structure

  Result: wheels plugin install and wheels plugin list commands now work correctly
  according to documentation, properly installing plugins to /plugins folder and
  detecting installed plugins from zip files.
- Removed argument --global from both commands (list, install)
- Enhanced table format for list command
- Removed extra (useless) code from PluginServcie file
@zainforbjs zainforbjs marked this pull request as ready for review September 10, 2025 13:36
@zainforbjs zainforbjs merged commit abde915 into develop Sep 10, 2025
33 checks passed
@zainforbjs zainforbjs deleted the cli/wheels-plugin-commands branch September 10, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant