feat: add --submit <part> option to cargo solve (#25)

* remove `--year` flag in favor of `.config/config.toml`
* cleanup option handling for `cargo solve`
This commit is contained in:
Felix Spöttel
2023-10-21 14:46:19 +02:00
committed by GitHub
parent 1c8ea27eae
commit d10ec0573e
7 changed files with 145 additions and 29 deletions

10
.cargo/config.toml Normal file
View File

@@ -0,0 +1,10 @@
[alias]
scaffold = "run --bin scaffold --quiet --release -- "
download = "run --bin download --quiet --release -- "
read = "run --bin read --quiet --release -- "
solve = "run --bin solve --quiet --release -- "
all = "run"
[env]
AOC_YEAR = "2022"