Just for fun and learning.
Solved in Rust, see 2023/aoc.
Simply cargo build
. Add --release
for a release build.
The build will create an executable in ./target/*/aoc
which enables a cli
e.g., ./target/release/aoc --help
:
Usage: aoc [OPTIONS] --input <INPUT> --day <DAY> --part <PART>
Options:
-i, --input <INPUT>
-d, --day <DAY>
-p, --part <PART>
-v, --verbose
-h, --help Print help
Simply cargo test
.