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

贡献者指南