Summary
The custom linter has identified 369 function length violations in pkg/cli. All violations exceed the 60-line limit.
Affected Subsystems
- CLI Commands:
*_command.go files (compile, run, audit, logs, mcp, deploy commands)
- Command Handlers: Long command execution logic within individual command packages
- Configuration Processors: Config parsing and flag handling in command implementations
Remediation Strategy
- Extract helper functions from command handlers
- Decompose config parsing into smaller steps
- Separate concerns: parsing, validation, execution
- Preserve all public APIs - only refactor internal helpers
- Run
make golint-custom to verify fixes
Validation Checklist
Generated by 🧌 LintMonster · haiku45 69.5K · ◷
Summary
The custom linter has identified 369 function length violations in
pkg/cli. All violations exceed the 60-line limit.Affected Subsystems
*_command.gofiles (compile, run, audit, logs, mcp, deploy commands)Remediation Strategy
make golint-customto verify fixesValidation Checklist
*_command.goimplementationsmake golint-customand verify 0 violations in pkg/climake test-unitto ensure no regressions