rtk-ai/rtk

Feature request: support cargo-task (cargo task) subcommand

Open

#2,047 建立於 2026年5月22日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Rust (2,914 fork)batch import
area:clienhancementhelp wantedpriority:low

倉庫指標

Star
 (48,085 star)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

Feature request

cargo task (from the cargo-task crate) is not currently supported as an rtk cargo subcommand. Calls to cargo task <name> pass through unfiltered.

Use case

cargo-task is used for project-defined task runners (similar to make targets but written in Rust). Output can be verbose and benefit from RTK's compaction — similar to how rtk cargo build strips Compiling lines.

Suggested behavior

Add rtk cargo task with compact output (strip task preamble lines, surface errors and final status). The rewrite registry should map cargo task *rtk cargo task *.

Environment

  • rtk 0.40.0

貢獻者指南