Skip to content

aoc

CLI interface for aoc package.

Usage:

$ aoc [OPTIONS] COMMAND [ARGS]...

Options:

  • -v, --version: Print the current version.
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • day1: Command for running day1 stars
  • day2: Command for running day2 stars
  • day3: Command for running day3 stars
  • day4: Command for running day4 stars
  • day5: Command for running day5 stars
  • debug-version-info: Print debug information to terminal.

aoc day1

Command for running day1 stars

Usage:

$ aoc day1 [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • part1: Calculate the sum of all the first and...
  • part2: Calculate the sum of all the first and...

aoc day1 part1

Calculate the sum of all the first and last digits on each line concatenated together.

Usage:

$ aoc day1 part1 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day1.txt]

Options:

  • --help: Show this message and exit.

aoc day1 part2

Calculate the sum of all the first and last number words or digits on each line concatenated together.

Usage:

$ aoc day1 part2 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day1.txt]

Options:

  • --help: Show this message and exit.

aoc day2

Command for running day2 stars

Usage:

$ aoc day2 [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • part1: Calculate the sum of all Game IDs
  • part2: Calculate the sum of all Game Powers

aoc day2 part1

Calculate the sum of all Game IDs

Usage:

$ aoc day2 part1 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day2.txt]

Options:

  • --help: Show this message and exit.

aoc day2 part2

Calculate the sum of all Game Powers

Usage:

$ aoc day2 part2 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day2.txt]

Options:

  • --help: Show this message and exit.

aoc day3

Command for running day3 stars

Usage:

$ aoc day3 [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • part1: Calculate the sum of engine parts.
  • part2: Calculate the sum of all gears

aoc day3 part1

Calculate the sum of engine parts.

Usage:

$ aoc day3 part1 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day3.txt]

Options:

  • --help: Show this message and exit.

aoc day3 part2

Calculate the sum of all gears

Usage:

$ aoc day3 part2 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day3.txt]

Options:

  • --help: Show this message and exit.

aoc day4

Command for running day4 stars

Usage:

$ aoc day4 [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • part1: Calculate the sum of all the scratch card...
  • part2: Count the total number of scratch cards

aoc day4 part1

Calculate the sum of all the scratch card scores

Usage:

$ aoc day4 part1 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day4.txt]

Options:

  • --help: Show this message and exit.

aoc day4 part2

Count the total number of scratch cards

Usage:

$ aoc day4 part2 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day4.txt]

Options:

  • --help: Show this message and exit.

aoc day5

Command for running day5 stars

Usage:

$ aoc day5 [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • part1: Calculate the nearest location for planting.

aoc day5 part1

Calculate the nearest location for planting.

Usage:

$ aoc day5 part1 [OPTIONS] [INPUT_PATH]

Arguments:

  • [INPUT_PATH]: Path to file containing the input [default: data/day5.txt]

Options:

  • --help: Show this message and exit.

aoc debug-version-info

Print debug information to terminal.

Usage:

$ aoc debug-version-info [OPTIONS]

Options:

  • --help: Show this message and exit.