Skip to content

Commit 7d663f1

Browse files
committed
fix: compatibility with aoc-cli@^0.5.0
closes #11
1 parent a6405f2 commit 7d663f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ cargo clippy
141141

142142
### Download puzzle inputs via aoc-cli
143143

144-
1. Install [`aoc-cli`](https://github.com/scarvalhojr/aoc-cli/) via cargo: `cargo install aoc-cli`.
144+
1. Install [`aoc-cli`](https://github.com/scarvalhojr/aoc-cli/) via cargo: `cargo install aoc-cli --version 0.5.0`.
145145
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.
146146

147147
Once installed, you can use the [download command](#download-input-for-a-day).

src/bin/download.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn main() {
6464
}
6565

6666
cmd_args.append(&mut vec![
67-
"--file".into(),
67+
"--input-file".into(),
6868
tmp_file_path.to_string_lossy().to_string(),
6969
"--day".into(),
7070
args.day.to_string(),

0 commit comments

Comments
 (0)