feat: remove status messages and make --debug require --verbose - #11
Conversation
Removes all status messages like "Fetching peak ###" from CLI output. CLI is now silent by default except for data output and errors. Changes: - Remove all _status() calls and the function itself - Add validation requiring --verbose flag when using --debug - Update --debug help text to indicate it requires --verbose - Update CLAUDE.md logging guidelines and documentation - Update README.md sample outputs to remove status messages - Fix mypy type errors in date filter code Users who want logging should use --verbose for INFO logs or --verbose --debug for DEBUG logs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
WalkthroughThis PR migrates the project from dual master/main branch support to main-only, updates logging to be silent by default with new --debug/--verbose guidelines, and removes status message functions from the CLI to suppress progress output during execution. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes The changes span multiple file types with mixed complexity: configuration updates are straightforward (branch reference removals), documentation is largely descriptive, but the CLI refactoring involves logic removal and new validation patterns that warrant attention. Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
💤 Files with no reviewable changes (2)
🧰 Additional context used📓 Path-based instructions (6){peakbagger,tests,scripts}/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
peakbagger/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
peakbagger/{cli.py,formatters.py}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
peakbagger/{logging_config.py,cli.py}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
{peakbagger/cli.py,peakbagger/client.py}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
CLAUDE.md📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (6)📚 Learning: 2025-10-23T23:51:41.271ZApplied to files:
📚 Learning: 2025-10-23T23:51:41.271ZApplied to files:
📚 Learning: 2025-10-23T23:51:41.271ZApplied to files:
📚 Learning: 2025-10-23T23:51:41.271ZApplied to files:
📚 Learning: 2025-10-23T23:51:41.271ZApplied to files:
📚 Learning: 2025-10-23T23:51:41.271ZApplied to files:
🧬 Code graph analysis (1)peakbagger/cli.py (1)
🪛 Ruff (0.14.1)peakbagger/cli.py66-66: Avoid specifying long messages outside the exception class (TRY003) 🔇 Additional comments (9)
Comment |
# [1.5.0](v1.4.0...v1.5.0) (2025-10-24) ### Bug Fixes * disable text wrapping in all Rich tables and fix JSON output ([#12](#12)) ([3377472](3377472)) ### Features * additional --verbose and --debug logging options ([#8](#8)) ([1faa61c](1faa61c)) * remove status messages and make --debug require --verbose ([#11](#11)) ([336ed7a](336ed7a))
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Changes
_status()calls and the unused function--verboseflag when using--debug--debughelp text to indicate it requires--verboseBehavior
Before:
After:
Test plan
--verboseshows INFO logs--verbose --debugshows DEBUG logs--debugwithout--verboseshows error🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Changes