Skip to content

Introduce shared human output formatter - #392

Merged
yacosta738 merged 1 commit into
mainfrom
feat/shared-human-output-formatter
May 1, 2026
Merged

Introduce shared human output formatter#392
yacosta738 merged 1 commit into
mainfrom
feat/shared-human-output-formatter

Conversation

@yacosta738

Copy link
Copy Markdown
Contributor

Summary

  • Adds a shared src/output.rs module for human CLI formatting.
  • Migrates skill command output formatting to the shared module.
  • Removes the old command-specific skill_fmt module.
  • Preserves JSON output, exit codes, color detection, and non-interactive behavior.

Closes #385

Verification

  • cargo test output::tests
  • cargo test commands::skill
  • cargo test
  • cargo fmt --check
  • cargo run -- skill list --help

@coderabbitai

coderabbitai Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@yacosta738 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 57 minutes and 58 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a012932f-52ae-4202-b77f-f3384351a6b9

📥 Commits

Reviewing files that changed from the base of the PR and between c008f7c and dcaf855.

📒 Files selected for processing (4)
  • src/commands/mod.rs
  • src/commands/skill.rs
  • src/main.rs
  • src/output.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/shared-human-output-formatter

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
Review rate limit: 0/1 reviews remaining, refill in 57 minutes and 58 seconds.

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

@sentry

sentry Bot commented May 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.23810% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/output.rs 96.03% 4 Missing ⚠️
src/commands/skill.rs 75.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@sonarqubecloud

sonarqubecloud Bot commented May 1, 2026

Copy link
Copy Markdown

@yacosta738
yacosta738 merged commit 51587ce into main May 1, 2026
23 of 24 checks passed
@yacosta738
yacosta738 deleted the feat/shared-human-output-formatter branch May 1, 2026 12:30
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.

Introduce a shared human output formatter for CLI commands

1 participant