-
Notifications
You must be signed in to change notification settings - Fork 10
PR #7: Command Cleanup & Documentation #397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
SafeDep Report SummaryNo dependency changes detected. Nothing to scan. This report is generated by SafeDep Github App |
ce2bb20 to
f3b3028
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #397 +/- ##
==========================================
+ Coverage 79.76% 80.70% +0.94%
==========================================
Files 79 77 -2
Lines 7846 7736 -110
==========================================
- Hits 6258 6243 -15
+ Misses 1343 1248 -95
Partials 245 245 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f3b3028 to
4de4e85
Compare
This was referenced Nov 22, 2025
Owner
Author
9 tasks
Owner
Author
Merge activity
|
No backward compatibility per requirements. Users should use 'scan' or 'ci' commands instead. BREAKING CHANGE: query and analyze commands removed Part of output standardization feature. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Output format examples (text, JSON, CSV, SARIF) - Verbosity level documentation - Exit code behavior table - Usage examples for all commands Part of output standardization feature. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Complete flag documentation for all commands - Output format reference with schemas - Exit code reference table - Usage examples Part of output standardization feature. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
4de4e85 to
4d2c8ec
Compare
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
Final PR in the output standardization stack. Removes deprecated
queryandanalyzecommands and adds comprehensive documentation for all output formats, verbosity levels, and exit codes.Changes
Deprecated Commands Removed
cmd/query.go- Removed entirelycmd/query_test.go- Removed entirelycmd/analyze.go- Removed entirelymain_test.go- Updated to remove references to deprecated commandsBREAKING CHANGE: No backward compatibility provided per requirements.
Documentation Updates
README.md
docs/CLI.md (New)
Verification Tests
cmd/command_cleanup_test.go: Integration tests verifying:querycommand returns "unknown command"analyzecommand returns "unknown command"Test Results
All tests passing ✅
Documentation Examples
Scan Command
CI Command
Exit Code Behavior
Migration Notes
Breaking Changes
querycommand removed: Usescancommand insteadanalyzecommand removed: Usescanorcicommand insteadNon-Breaking
scanandcicommands continue to workChecklist
Stacked PRs
This PR stacks on top of:
This is the final PR in the output standardization feature stack.
Verification
Commands removed successfully:
Valid commands work:
🤖 Generated with Claude Code