Awesome
aoc-cli-python
A plugin for the opinionated scaffolder for Advent of Code that generates scaffolds to write and execute solutions in python.
Installation
aoc-cli-python
is the default plugin used by aoc-cli
and thus is installed when you install the lattter.
pip install aoc-cli
Usage
Scaffold a project with
aoc init --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 <part> (1 or 2) file for the day
aoc submit <part>
executes the function specified in <part> (1 or 2) file for the day, then submits the answer to the form
aoc open
opens the current day in the browser