gobanos / cargo-aoc

446 stars 47 forks source link

Cascade options down from cargo aoc to cargo aoc <bench/input> #106

Open zekesonxx opened 12 months ago

zekesonxx commented 12 months ago

cargo-aoc currently ignores arguments in bench and input from the higher level

For an example:

$ cargo aoc -d1 bench

feels like it should benchmark day 1, but it instead benchmarks the current day.

This patch cascades the relevant options down through the subcommands, so this can be clearer.