Skip to content

fix: redirect help content to stdout#5530

Open
remyleone wants to merge 8 commits intomainfrom
help_command
Open

fix: redirect help content to stdout#5530
remyleone wants to merge 8 commits intomainfrom
help_command

Conversation

@remyleone
Copy link
Copy Markdown
Member

Closes #5513

Copilot AI review requested due to automatic review settings April 27, 2026 10:11
@remyleone remyleone self-assigned this Apr 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the CLI’s Cobra configuration so that --help/help content is emitted to stdout (per GNU CLI conventions), addressing issue #5513 and improving pipe/grep usability.

Changes:

  • Route Cobra command output (SetOut) from stderr to stdout for the root command.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread core/cobra_builder.go
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.34%. Comparing base (c1274be) to head (dd9e9f8).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5530   +/-   ##
=======================================
  Coverage   50.34%   50.34%           
=======================================
  Files         325      325           
  Lines       77694    77694           
=======================================
  Hits        39114    39114           
  Misses      37096    37096           
  Partials     1484     1484           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@remyleone remyleone requested a review from a team as a code owner April 27, 2026 15:08
@remyleone remyleone requested review from yfodil and removed request for a team April 27, 2026 15:08
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.

Help message should be printed to stdout not stderr

3 participants