An open API service indexing awesome lists of open source software.

https://github.com/eutro/advent-of-code-racket

Racket package for fetching Advent of Code input.
https://github.com/eutro/advent-of-code-racket

Last synced: 4 months ago
JSON representation

Racket package for fetching Advent of Code input.

Awesome Lists containing this project

README

          

# advent-of-code

Racket package for fetching Advent of Code input.

# CLI Usage

After installing with `raco pkg install advent-of-code`:

---

```sh
raco aoc [-y year] [-d day]
```

Fetch the puzzle input for a given day.

---

```sh
raco aoc [-y year] [-d day] -a
```

Submit an answer for the given puzzle.

---

Notes:

- `year` defaults to the latest Advent of Code, if not specified.
- `day` defaults to the current day of the month, capped at 25.
- `session` is a valid `session` cookie. Defaults to the contents of
`session.key` in this package's install directory. You will be
prompted for this if it is not available.

For more details, run `raco help aoc` or `raco aoc --help`.