Render focused catalog command help#13
Merged
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📜 Recent review details🔇 Additional comments (1)
Walkthrough서버 카탈로그 메타데이터를 통해 특정 명령( Changes포커스된 도움말 렌더링
Sequence DiagramsequenceDiagram
participant User
participant parseCommand
participant runHelp
participant focusedHelpTarget
participant printFocusedCommandHelp
participant printCatalogHelp
User->>parseCommand: craken channel messages --help
parseCommand->>parseCommand: --help 감지 시 Action="help" 설정
parseCommand->>runHelp: cmd 전달
runHelp->>focusedHelpTarget: cmd.Resource/Action 조합 조회
alt 특정 명령 매칭
focusedHelpTarget-->>runHelp: cliCommand, route 반환
runHelp->>printFocusedCommandHelp: 포커스된 도움말 렌더링
printFocusedCommandHelp->>User: Usage/옵션/응답 예시 출력
else 매칭 실패
focusedHelpTarget-->>runHelp: nil 반환
runHelp->>printCatalogHelp: 전체 카탈로그 도움말 렌더링
printCatalogHelp->>User: 전역 도움말 출력
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
craken <resource> <action> --helpwhen the server catalog advertises a matching command.craken --helpbehavior as the broad catalog view.Validation
Fixes #8
Related: corca-ai/craken-agents#292
Summary by CodeRabbit
릴리스 노트
New Features
--help플래그를 사용할 때 해당 명령의 사용법, 옵션, 응답 예시 등을 우선 표시합니다.Documentation
Tests