Skip to content

AntonioMrtz/adventjs-cli

Repository files navigation

🎄 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 init

This 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.

About

🎄The all-in-one command-line tool for AdventJS challenges by @midudev. Save hours of repetitive setup with a single command and focus on solving, not configuring.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages