Created a cli for copying test cases and tempalte file for codeforces question

Revision en1, by HKNain, 2026-06-21 19:39:18

Ok, so I created this CLI which you can run on your computer. It helps you parse codeforces problem into folders and run them, right now it works only for c++ files, but we might upscale it.

You can install it by running the following command npm install -g cpt-cli-hknain then run cpt and hit enter. should see something like this -->

https://codeforces.me/8c2e20/Screenshot 2026-06-21 132912.pn

The commands are as follows :- 1. template set/show :- helps you set your template file for questions, your default boilerplate. 2. parse :- it parses the question and testcases locally. 3. test :- it tests your solution.cpp file(generated along side testcase) for input files and tells if it passed, failed, time limmit exceeded and difference in outputs.

/predownloaded/a2/73/a27310d2d157d8166c11139476fc6cc4e5f67c22.png

I am constantly open for your feedbacks, here — https://forms.gle/gp9szHAGbRGh37EC7

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English HKNain 2026-06-21 19:40:26 174
en1 English HKNain 2026-06-21 19:39:18 1039 Initial revision (published)