A lightweight command-line tool to scaffold Project Euler problems in C or Julia.
It creates a problem folder with a timing-ready solution template and a Markdown file containing the problem statement (fetched from Project Euler’s public minimal endpoint).
curl -fsSL https://raw.githubusercontent.com/arnav-42/euler-cli/main/install.sh | bashThis installs the euler command to /usr/local/bin.
euler p=10 lang=c
euler p=10 lang=juliaThis creates:
p10/
├── main.c # or main.jl
└── p10.md
main.c/main.jl: solution skeleton with timingp10.md: problem statement in Markdown
- bash
- curl
- pandoc
sudo rm /usr/local/bin/euler- In this repository, generated
p*/folders are local test artifacts and are ignored. - When using
eulerin your own Project Euler repository, the generated folders are intended to be committed as part of your solutions.