rtk-ai/rtk

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

Open

#2,047 opened on May 22, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
area:clienhancementhelp wantedpriority:low

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (Avg merge 11d 1h) (45 merged PRs in 30d)

Description

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

Contributor guide