Skip to content

Commit e507251

Browse files
committed
feat: rename command day => solve
clearer distinction between scaffold and solve.
1 parent 3fb88bc commit e507251

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.cargo/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
scaffold = "run --bin scaffold -- "
33
download = "run --bin download -- "
44

5-
day = "run --bin"
5+
solve = "run --bin"
66
all = "run"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ Puzzle inputs are not checked into git. [Reasoning](https://old.reddit.com/r/adv
7676
### Run solutions for a day
7777

7878
```sh
79-
# example: `cargo day 01`
80-
cargo day <day>
79+
# example: `cargo solve 01`
80+
cargo solve <day>
8181

8282
# output:
8383
# Running `target/debug/01`
@@ -90,7 +90,7 @@ cargo day <day>
9090
# 9 (elapsed: 33.18µs)
9191
```
9292

93-
`day` is an alias for `cargo run --bin`. To run an optimized version for benchmarking, append the `--release` flag.
93+
`solve` is an alias for `cargo run --bin`. To run an optimized version for benchmarking, append the `--release` flag.
9494

9595
Displayed _timings_ show the raw execution time of your solution without overhead (e.g. file reads).
9696

0 commit comments

Comments
 (0)