Goal is to enable injecting in the commands values coming from
I'm not settled on a syntax right now but it must support arguments.
Maybe something like
[jobs.ex-ask]
vars.MSRV = "cargo::msrv"
command = [
"cargo",
"+${MSRV}",
"check",
"--all-targets",
]
# A task dedicated to checking cargo can be compiled with the MSRV
[jobs.check-msrv]
vars.example_name = {
source = "user::input",
question = "Name of the example to run?"
}
command = ["cargo", "run", "--example", "${example_name}"]
Goal is to enable injecting in the commands values coming from
cargo +1.77 checktask (see Cargo.lock should be compatible with MSRV #407)I'm not settled on a syntax right now but it must support arguments.
Maybe something like