Repository navigation
docs: replace old spt name in CLI code comments - #561
Conversation
The comments above the CLI functions in cli_app.rs still used the old spotify-tui binary name (e.g. // spt playback -t). Also fixes three comments that named a nonexistent query subcommand: the --limit flag belongs to both list and search, the list comment now says spotatui list, and the search comment says spotatui search SEARCH (the query is positional, there is no -s), matching clap.rs. Comment-only change; no function or subcommand names were touched. Fixes LargeModGames#556 Co-Authored-By: Claude <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: LargeModGames/spotatui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughCLI command comments now use the ChangesCLI command comments
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other · Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to The CLI comments now use the correct binary name and examples. No actionable merge risk remains. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
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 |
Fixes #556.
The 13
// spt ...comments insrc/cli/cli_app.rsstill used the old spotify-tui binary name. Also fixed the three comments that named a nonexistentquerysubcommand, per the issue andsrc/cli/clap.rs:update_query_limits: now notes--limitbelongs to bothlistandsearchlist: nowspotatui list ...query: nowspotatui search SEARCH ...(the query is positional in clap.rs, there is no-s)Comment-only change; function and subcommand names are untouched.
Verified:
grep -n '// spt\|// .*\bquery\b' src/cli/cli_app.rsprints nothing;cargo fmt --all -- --checkpasses.Co-Authored-By: Claude [email protected]
Summary by CodeRabbit
spotatuicommand name.