diff --git a/FEATURES.md b/FEATURES.md index a1bdb2f2..21e5aac5 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -195,4 +195,4 @@ AND json_extract(front_matter, '$.category') = 'technical'; --- -*MarkiTect represents a paradigm shift from simple markdown processing to comprehensive document lifecycle management with performance guarantees and relational capabilities.* \ No newline at end of file +*MarkiTect represents a paradigm shift from simple markdown processing to comprehensive document lifecycle management with performance guarantees and relational capabilities.* diff --git a/cli/commands/issues.py b/cli/commands/issues.py index 8cf42df0..4f2a4b11 100644 --- a/cli/commands/issues.py +++ b/cli/commands/issues.py @@ -34,10 +34,8 @@ class IssueCommands: def show_issue(self, issue_number: int) -> None: """Show detailed issue information.""" try: - # For now, delegate to existing implementation - # This would be refactored to use services + presenters - from tddai_cli import show_issue as legacy_show_issue - legacy_show_issue(issue_number) + issue_data = self.service.get_issue_details(issue_number) + IssueView.show_issue_details(issue_data) except TddaiError as e: OutputFormatter.exit_with_error(str(e)) @@ -110,9 +108,7 @@ class IssueCommands: def analyze_coverage(self, issue_number: int) -> None: """Analyze test coverage for a specific issue.""" try: - # For now, delegate to existing implementation - # This would be refactored to use services + presenters - from tddai_cli import analyze_coverage as legacy_analyze_coverage - legacy_analyze_coverage(issue_number) + coverage_data = self.service.analyze_coverage(issue_number) + IssueView.show_coverage_analysis(coverage_data) except TddaiError as e: OutputFormatter.exit_with_error(str(e)) \ No newline at end of file