adventjs-cli
v1.7.2
Published
Spin up your AdventJS challenges by @midudev in seconds! πβ‘
Readme
π adventjs-cli
The all-in-one command-line tool for AdventJS challenges. Save hours of repetitive setup with a single command and focus on solving, not configuring.
- Generates a TypeScript solution template, problem docs, and unit tests
- Fully preconfigured environment with debugging, linting, formatting, and CI
- Consistent workflow every year, built from personal experience
π How to use it
1οΈβ£ Initialize your project
Start by initializing your AdventJS project:
npx adventjs-cli initThis command will guide you through a step-by-step setup.
The tool will create a new folder (adventjs-YYYY) with all necessary configuration files and a ready-to-use project structure.
2οΈβ£ Generate boilerplate for a specific day
Once your project is initialized, generate the starter files for any challenge day:
npx adventjs-cli g <day>Replace <day> with the challenge day number (e.g., 1, 5, 25).
Example:
npx adventjs-cli g 1π§ Dev docs
Follow dev docs for more info.
