fix: compatibility with aoc-cli@^0.5.0

closes #11
This commit is contained in:
Felix Spöttel 2022-11-29 14:08:49 +01:00
parent a6405f2edb
commit 7d663f1407
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ cargo clippy
### 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.
Once installed, you can use the [download command](#download-input-for-a-day).

View File

@ -64,7 +64,7 @@ fn main() {
}
cmd_args.append(&mut vec![
"--file".into(),
"--input-file".into(),
tmp_file_path.to_string_lossy().to_string(),
"--day".into(),
args.day.to_string(),