robin_cli_tool 1.2.0

A CLI tool to run scripts for any project
Documentation
{
  "scripts": {
    "me": { "cmd": "echo \"`whoami`\"", "desc": "Print the current user" },
    "update": { "cmd": "cargo update", "desc": "Update dependencies in Cargo.lock" },
    "lint": { "cmd": "cargo clippy -- -D warnings", "desc": "Lint with clippy, failing on any warning" },
    "fmt:fix": { "cmd": "cargo fmt --all", "desc": "Format all code in place" },
    "clean": { "cmd": "cargo clean", "desc": "Remove the target/ build directory" },
    "release": {
      "cmd": [
        "cargo build --release",
        "cargo test",
        "cargo clippy -- -D warnings"
      ],
      "desc": "Build release, run tests, then lint (pre-release gate)"
    },
    "check": { "cmd": "cargo check", "desc": "Type-check without producing binaries" },
    "install": { "cmd": "cargo install --path .", "desc": "Install robin from the local source" },
    "build": { "cmd": "cargo build --release", "desc": "Build an optimized release binary" },
    "doc": { "cmd": "cargo doc --no-deps --open", "desc": "Build and open the crate docs" },
    "bench": { "cmd": "cargo bench", "desc": "Run the benchmarks" },
    "publish": { "cmd": "cargo publish", "desc": "Publish the crate to crates.io" },
    "test": { "cmd": "cargo test", "desc": "Run the full test suite" },
    "fmt": { "cmd": "cargo fmt --all -- --check", "desc": "Check formatting without modifying files" },
    "build:mode": { "cmd": "cargo build --{{mode=[debug, release]}}", "desc": "Build in a chosen mode (debug or release)" },
    "test:type": { "cmd": "cargo test --{{type=[lib, doc, all]}}", "desc": "Run a chosen test subset (lib, doc, or all)" },
    "serve": { "cmd": "echo starting on port ${PORT:-8080}", "desc": "Demo of ${PORT:-8080} env-var default substitution" }
  }
}