Skip to content

Files

Latest commit

078d0e5 Β· Dec 10, 2024

History

History
49 lines (31 loc) Β· 1.04 KB

README.md

File metadata and controls

49 lines (31 loc) Β· 1.04 KB

Advent πŸŽ„βœ¨

This repository contains my solutions for Advent of Code and Advent of TypeScript, all written in TypeScript. πŸŽ…πŸ§‘β€πŸŽ„ Use the CLI included in the repo to run and test the solutions.

Installation 🎁

Make sure you have pnpm installed, then clone this repository and navigate to its directory.

pnpm install

Usage πŸ›·

Run the CLI using the dev command and specify one of the subcommands:

Advent of Code ❄️

pnpm dev aoc -y <year> <file>
  • -y, --year: Specify the year (defaults to the current year).
  • <file>: The challenge file number to execute (e.g., 1, 03).

Example:

pnpm dev aoc -y 2023 01

Advent of TypeScript 🌟

pnpm dev aot -y <year> <file>
  • -y, --year: Specify the year (defaults to the current year).
  • <file>: The TypeScript file number to check (e.g., 2, 04).

Example:

pnpm dev aot -y 2023 02

License πŸŽ„

This project is licensed under the MIT License. Feel free to share, modify, and enjoy! ✨