Skip to content

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

@dataders

Description

@dataders

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions