gobanos / cargo-aoc

437 stars 47 forks source link

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

Open zekesonxx opened 9 months ago

zekesonxx commented 9 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.