Hi everyone, cfs is a command line tool which utilizes Codeforces API to view problems, contests, blogs, user details and submissions right in the terminal.
Setup
pip install cfs
OR
git clone https://github.com/prasoonbatham11/cfcli.git
python3 setup.py install
Good work. Really liked the interface. Problem showing feature can be improved though.
Thanks. Yes, unfortunately there's no api to retrieve problem statements so I had to scrape the web page. And couldn't find a library to render the scraped web page to markdown. For now I've put it in Todo. Will work on the issue. Thanks for the feedback!
Can we download our past submissions collectively, and also can we submit our codes during contest using this CLI?
Yes you can view past submissions using the following command:
This will open the detailed submissions in a paged format. You can refer to this link for more use cases of the command.
Currently you can't submit solutions as there are no write functions in the codeforces API. But I've added this in todo. Will try for a workaround.
Thanks. Really good work on the interface btw.