View Source mix aoc.run (aoc v0.14.0)

Runs your solution with the corresponding year/day input from priv/inputs.

Usage

mix aoc.run [options]

Options

  • -y, --year <integer> - Year of the puzzle. Defaults to today's year or custom default.
  • -d, --day <integer> - Day of the puzzle. Defaults to today's day or custom default.
  • -p, --part <integer> - Part of the puzzle. Defaults to both parts.
  • -b, --benchmark - Runs the solution parts repeatedly for 5 seconds to print statistics about execution time. Defaults to false.
  • --help - Displays this help.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(argv)

Callback implementation for Mix.Task.run/1.