Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 879 Bytes

MANPAGE.md

File metadata and controls

51 lines (31 loc) · 879 Bytes

% ADVENT-OF-CODE(1) Version 2024.21.0

NAME

advent-of-code — CLI for solving Advent of Code problems

SYNOPSIS

| advent-of-code [year] [day] [part] < [input-file] | advent-of-code [-h|--help|-v|--version]

DESCRIPTION

Solves Advent of Code (https://adventofcode.com) problems.

The year, day and part is specified as program arguments.

The problem input should be supplied on stdin (see example).

Options

-h, --help

: Prints brief usage information.

-v, --version

: Prints the current version number.

EXAMPLES

Solve the second part of the first day in 2022:

advent-of-code 2022 1 2 < path/to/input-file.txt

BUGS

Bugs can be reported on GitHub: https://github.com/fornwall/advent-of-code/issues

AUTHOR

Fredrik Fornwall <fredrik@fornwall.net>