Commit 73c0a88
authored
Refactor: config setup (#146)
Refactor configuration setup with registry pattern and improved organization
- Extract configuration file names as constants to avoid duplication
- Implement ToolConfigCreator interface with registry pattern for tool config creation
- Break down large functions into smaller, focused functions for better maintainability
- Add centralized writeConfigFile helper with consistent error handling
- Remove code duplication in tool configuration creation logic
- Improve error handling and logging utilities
- Add missing revive tool to DefaultToolLanguageMap
- Replace direct file operations with constants from constants package1 parent c691b6d commit 73c0a88
2 files changed
+368
-338
lines changed
0 commit comments