Skip to content

feat(cli): add sort passthrough wrapper - #3495

Open
nightcityblade wants to merge 1 commit into
rtk-ai:developfrom
nightcityblade:feat/issue-3491
Open

nightcityblade wants to merge 1 commit into
rtk-ai:developfrom
nightcityblade:feat/issue-3491

Conversation

@nightcityblade

Copy link
Copy Markdown

Summary

  • Add a recognized rtk sort subcommand that delegates arguments and standard streams to native sort.
  • Avoid the Clap parse failure and generic fallback round trip for rtk sort invocations.
  • Fixes feat: add rtk sort wrapper (low priority) #3491.

Test plan

  • cargo fmt --all --check && cargo clippy --all-targets && cargo test
  • Manual testing: piped duplicate lines through target/debug/rtk sort -u and verified sorted, unique output; verified native invalid-option exit code propagation.

Important: All PRs must target the develop branch (not master).
See CONTRIBUTING.md for details.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


nightcityblade seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@pszymkowiak

Copy link
Copy Markdown
Collaborator

Thanks for the contribution! Before we can review and merge this, the CLA needs to be signed. The CLAassistant bot left the link above, it only takes a minute. Once it's signed we'll pick the review up.

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.

feat: add rtk sort wrapper (low priority)

3 participants