1.0.0 • Published 11 months ago
@bryan-hoang/aoc-cli v1.0.0
@bryan-hoang/aoc-cli
An Advent of Code command-line tool.
Table of Contents
Install
# ✨ Auto-detect
npx nypm install -g @bryan-hoang/aoc-cli
# npm
npm install -g @bryan-hoang/aoc-cli
# yarn
yarn add -g @bryan-hoang/aoc-cli
# pnpm
pnpm install -g @bryan-hoang/aoc-cli
# bun
bun install -g @bryan-hoang/aoc-cli
# deno
deno install -g @bryan-hoang/aoc-cli
# Running the tool
aoc <args>
# or
aoc-cli <args>or
# npm
npx @bryan-hoang/aoc-cli@latest <args>
# pnpm
pnpm dlx @bryan-hoang/aoc-cli@latest <args>
# bun
bunx @bryan-hoang/aoc-cli@latest <args>
# deno
deno run -A npm:@bryan-hoang/aoc-cli@latest <args>Usage
$ aoc help
An Advent of Code command-line tool
USAGE aoc [OPTIONS] submit|download|help
COMMANDS
submit Submit puzzle answer
download Save puzzle description and input to files
help Print this message or the help of the given subcommand(s)
OPTIONS
-d, --day <DAY> Puzzle day [default: last unlocked day (during Advent of Code month)]
-y, --year <YEAR> Puzzle year [default: year of current or last Advent of Code event]
-s, --session-file <PATH> Path to session cookie file [default: /home/bryan/.config/advent-of-code/session-cookie.txt]
-h, --help Print help information
--version Print version informationMaintainers
Contributing
PRs accepted.
Small note: if editing the README, please conform to the standard-readme specification.
License
MIT © 2024 Bryan Hoang
🤖 auto updated with automd