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

Outputs the on adventofcode.com URL for a puzzle.

Useful to use in custom shell commands.

Note that due to Elixir compilation outputs you may need to grep for the URL. For instance:

xdg-open $(mix aoc.url | grep 'https')

Usage

mix aoc.url [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.
  • --help - Displays this help.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(argv)

Callback implementation for Mix.Task.run/1.