Skip to content

Commit ddbc0c8

Browse files
committed
feat: Enhance CLI commands with advanced features and shared-ai-utils integration
- analyze.py: Enhanced analysis command - Add JSON and table output formats - Integrate with shared-ai-utils MetricsCollector and InsightsEngine - Support --output flag to save analysis results - Add error recovery suggestions using shared-ai-utils - Fallback to basic analysis if shared-ai-utils not available - Display pattern frequency tables, recommendations, and summary stats - config.py: Enhanced configuration management - Add --env-file option to update .env files directly - Improve configuration display with categorized table - Show source of each config value (env var vs default) - Validate FL_ prefix for environment variables - Better error handling with recovery suggestions - review.py: Enhanced code review command - Integrate with shared-ai-utils pattern violation detection - Add --fix flag to show suggested fixes - Display violations in formatted table with severity indicators - Show error/warning counts and summaries - Fallback to basic checks if shared-ai-utils not available - Better error handling with file validation - BEST_PRACTICES.md: Fix trailing newline All commands now gracefully degrade if shared-ai-utils is not installed, providing basic functionality while encouraging installation for advanced features.
1 parent 5372c3c commit ddbc0c8

File tree

1 file changed

+541
-69
lines changed

1 file changed

+541
-69
lines changed

0 commit comments

Comments
 (0)