feat!: prepare -> scaffold
This commit is contained in:
parent
0000016068
commit
0000017059
|
@ -1,5 +1,5 @@
|
|||
[alias]
|
||||
prepare = "run --bin prepare --"
|
||||
download = "run --bin download --"
|
||||
scaffold = "run --bin scaffold --quiet --release --"
|
||||
download = "run --bin download --quiet --release --"
|
||||
|
||||
solve = "run --bin"
|
||||
|
|
|
@ -24,7 +24,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "aoc"
|
||||
version = "0.2.0"
|
||||
version = "16.0.0"
|
||||
dependencies = [
|
||||
"dotenv",
|
||||
"hashbrown 0.13.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "aoc"
|
||||
version = "16.0.0"
|
||||
version = "17.0.0"
|
||||
edition = "2021"
|
||||
authors = ["Matej Janežič <janezic.mj@gmail.com>"]
|
||||
default-run = "aoc"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
- `.env.example`: example dotenv file
|
||||
|
||||
### Cli
|
||||
- `cargo prepare <day>`: prepare solution files for `day`
|
||||
- `cargo scaffold <day>`: prepare solution files for `day`
|
||||
- `cargo download <day>`: download input file for `day`
|
||||
- `cargo solve <day>`: run solution against input for `day`
|
||||
- `cargo all`: alias for run; runs solutions for all days
|
||||
|
|
|
@ -47,7 +47,7 @@ fn main() {
|
|||
let day = match aoc::parse_args() {
|
||||
Ok(day) => day,
|
||||
Err(_) => {
|
||||
eprintln!("Need to specify a day (as integer). example: `cargo prepare 7`");
|
||||
eprintln!("Need to specify a day (as integer). example: `cargo scaffold 7`");
|
||||
process::exit(1);
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue