Skip to content

docs: replace old spt name in CLI code comments - #561

Merged
LargeModGames merged 1 commit into
LargeModGames:mainfrom
yvoolab:cli-comments-556
Sep 23, 2026
Merged

LargeModGames merged 1 commit into
LargeModGames:mainfrom
yvoolab:cli-comments-556

Conversation

@yvoolab

@yvoolab yvoolab commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #556.

The 13 // spt ... comments in src/cli/cli_app.rs still used the old spotify-tui binary name. Also fixed the three comments that named a nonexistent query subcommand, per the issue and src/cli/clap.rs:

  • above update_query_limits: now notes --limit belongs to both list and search
  • above list: now spotatui list ...
  • above query: now spotatui 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.rs prints nothing; cargo fmt --all -- --check passes.

Co-Authored-By: Claude [email protected]

Summary by CodeRabbit

  • Documentation
    • Updated CLI command comments to use the spotatui command name.

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]>
@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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 configuration

Configuration used: Repository: LargeModGames/spotatui/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 4e3aaffc-4db3-4e66-a644-2636f2bf0f7f

📥 Commits

Reviewing files that changed from the base of the PR and between f6bbbeb and 93388e2.

📒 Files selected for processing (1)
  • src/cli/cli_app.rs

Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review.


📝 Walkthrough

Walkthrough

CLI command comments now use the spotatui name instead of spt. Some comments also use updated subcommand examples. The jump implementation is unchanged.

Changes

CLI command comments

Layer / File(s) Summary
Update CLI command comments
src/cli/cli_app.rs
Comments above CLI functions use spotatui instead of spt. The search-limit and search examples also use updated subcommand names.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other · Severity of issue fixed: Low

Merge Risk: ⚪ Minimal · up to 93388

The CLI comments now use the correct binary name and examples. No actionable merge risk remains.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title uses the allowed docs: conventional-commit prefix and clearly describes the comment-only change from spt to spotatui.
Linked Issues check ✅ Passed Issue #556 requires comment-only updates in src/cli/cli_app.rs. The diff updates all 13 CLI comments from spt to spotatui. It changes the limit comment to spotatui list/search --limit LIMIT, t…
Out of Scope Changes check ✅ Passed The whole-PR diff contains changes only in comments in src/cli/cli_app.rs. The changes directly implement Issue #556. No unrelated source, function, or behavior changes are present.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
✨ Simplify code
  • Create a new PR

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@LargeModGames
LargeModGames merged commit e956d3d into LargeModGames:main Sep 23, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace the old spt name in the CLI code comments

2 participants