parent
a6405f2edb
commit
7d663f1407
2 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ cargo clippy
|
||||||
|
|
||||||
### Download puzzle inputs via aoc-cli
|
### Download puzzle inputs via aoc-cli
|
||||||
|
|
||||||
1. Install [`aoc-cli`](https://github.com/scarvalhojr/aoc-cli/) via cargo: `cargo install aoc-cli`.
|
1. Install [`aoc-cli`](https://github.com/scarvalhojr/aoc-cli/) via cargo: `cargo install aoc-cli --version 0.5.0`.
|
||||||
2. Create an `.adventofcode.session` file in your home directory and paste your session cookie[^1] into it. To get this, press F12 anywhere on the Advent of Code website to open your browser developer tools. Look in your Cookies under the Application or Storage tab, and copy out the `session` cookie value.
|
2. Create an `.adventofcode.session` file in your home directory and paste your session cookie[^1] into it. To get this, press F12 anywhere on the Advent of Code website to open your browser developer tools. Look in your Cookies under the Application or Storage tab, and copy out the `session` cookie value.
|
||||||
|
|
||||||
Once installed, you can use the [download command](#download-input-for-a-day).
|
Once installed, you can use the [download command](#download-input-for-a-day).
|
||||||
|
|
|
@ -64,7 +64,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_args.append(&mut vec![
|
cmd_args.append(&mut vec![
|
||||||
"--file".into(),
|
"--input-file".into(),
|
||||||
tmp_file_path.to_string_lossy().to_string(),
|
tmp_file_path.to_string_lossy().to_string(),
|
||||||
"--day".into(),
|
"--day".into(),
|
||||||
args.day.to_string(),
|
args.day.to_string(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue