#cargo-command #cargo #cargo-subcommand #command-arguments #subcommand #plugin

app cargo-q

A Cargo subcommand for running multiple Cargo commands sequentially or in parallel

8 releases

new 0.2.0 Mar 8, 2025
0.1.6 Mar 7, 2025
0.1.5 Jan 21, 2025

#136 in Cargo plugins

Download history 82/week @ 2025-01-12 377/week @ 2025-01-19 10/week @ 2025-01-26 10/week @ 2025-02-02 60/week @ 2025-03-02

60 downloads per month

Apache-2.0

18KB
435 lines

cargo-q

A Cargo subcommand for running multiple Cargo commands sequentially or in parallel.

Installation

cargo install cargo-q

Features

  • Run multiple Cargo commands sequentially
  • Commands are separated by spaces
  • Support parallel execution for commands
  • Verbose mode for detailed output

Usage

Run a Single Command

cargo q check

Run Multiple Commands

# Run commands sequentially
cargo q check test      # Runs check, then test

Commands with Arguments

# For commands with arguments
cargo q "test --no-run"   # Run test with --no-run flag
cargo q "test --features feature1"  # Use quotes for complex arguments

Parallel Execution

# Run commands in parallel
cargo q -p check test      # Run both commands in parallel
cargo q --parallel check test   # Same as above

Verbose Output

cargo q -v check test       # Show detailed output
cargo q --verbose check test  # Same as above

License

Licensed under Apache-2.0 license (LICENSE or http://opensource.org/licenses/Apache-2.0)

Dependencies

~1–1.7MB
~31K SLoC