aoc-cli
An opinionated scaffolder for Advent of Code
Installation
pip install aoc-cli
Optionally install language-specific plugins such as pip install aoc-cli-deno
.
Usage
Scaffold a project with
aoc init --language <python> --year <current year if december, else previous year> --location .
All other subcommands are directory aware:
*Note: plugins (specified with the --language flag) may alter the functionality below but in general...
aoc get
downloads the input for the day
aoc run <part>
executes the function specified in (1 or 2) file for the day
aoc submit <part>
executes the function specified in (1 or 2) file for the day, then submits the answer to the form
aoc open
opens the current day in the browser