feat(cli): register fix/ auto-remediation tools in COMMAND_MAP #228

Closed
opened 2026-05-31 14:12:40 +00:00 by jmiller · 2 comments
Owner

Problem

All 4 fix/ auto-remediation tools are inaccessible via bin/moko. They have wrappers in wrappers/ but those are also not registered.

Affected Files

File Proposed Command
fix/fix_line_endings.php fix:line-endings
fix/fix_tabs.php fix:tabs
fix/fix_trailing_spaces.php fix:trailing
fix/fix_permissions.php fix:permissions

Acceptance Criteria

  • All 4 fix tools registered in bin/moko COMMAND_MAP
  • php bin/moko list shows Fix group
  • Each tool responds to --help
## Problem All 4 `fix/` auto-remediation tools are inaccessible via `bin/moko`. They have wrappers in `wrappers/` but those are also not registered. ## Affected Files | File | Proposed Command | |------|------------------| | `fix/fix_line_endings.php` | `fix:line-endings` | | `fix/fix_tabs.php` | `fix:tabs` | | `fix/fix_trailing_spaces.php` | `fix:trailing` | | `fix/fix_permissions.php` | `fix:permissions` | ## Acceptance Criteria - [ ] All 4 fix tools registered in `bin/moko` COMMAND_MAP - [ ] `php bin/moko list` shows `Fix` group - [ ] Each tool responds to `--help`
jmiller added the buildpriority: high labels 2026-05-31 14:12:40 +00:00
Author
Owner

Branch created: feature/228-feat-cli-register-fix-auto-remediation-t

git fetch origin
git checkout feature/228-feat-cli-register-fix-auto-remediation-t
Branch created: [`feature/228-feat-cli-register-fix-auto-remediation-t`](https://git.mokoconsulting.tech/MokoConsulting/moko-platform/src/branch/feature/228-feat-cli-register-fix-auto-remediation-t) ```bash git fetch origin git checkout feature/228-feat-cli-register-fix-auto-remediation-t ```
Author
Owner

All 4 fix tools registered as fix:line-endings, fix:tabs, fix:trailing, fix:permissions. Also fixed autoloader path bug (../../vendor -> ../vendor) in all 4 scripts that prevented them from loading when invoked via bin/moko.

All 4 fix tools registered as `fix:line-endings`, `fix:tabs`, `fix:trailing`, `fix:permissions`. Also fixed autoloader path bug (`../../vendor` -> `../vendor`) in all 4 scripts that prevented them from loading when invoked via `bin/moko`.
Sign in to join this conversation.
No labels build priority: high
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#228