I've been working on a small open-source CLI project written in Node.JS that I've been dying to show off cause it really took lots of effort. Hopefully, it will be worth for someone.
Feel free to contribute or open an issue! I'll keep adding new features to it. Lmk if you want any features added.
I'm using a powershell script for generating files like yours but it creates given number of files, for example "g 3" creates A.cpp, B.cpp, C.cpp, in.txt, out.txt. Maybe you can update yours like that. Great tool btw :D
Hi, thanks for letting me know!
I have added this feature in the new version v0.1.8. If you want to parse testcases for a whole contest use the
cf generate --contest <id>
command. It will check for all problems available in the contest and make directories for each of them. I have made this folder structure keeping in mind the ease of usingcf judge
and text editors too, so users can justcd
into the problem folder and runcf judge
to check if their code passes all the tests.