# Codeforces Tool. Reborn. This is a *minimally* working clone of [cf-tool](https://github.com/xalanq/cf-tool), written in Python. Only C++ templates are supported, it's ugly, but it works. # How to run ```sh git clone https://github.com/wzrayyy/cftool-reborn cd cftool-reborn python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` You can now run it with `python3 ./main.py`, or add a helper script `cf` to your `PATH`. Run `cf config` to set your login details or configure a template. # TODO - [ ] error handling - [ ] pretty colors - [ ] custom tests - [ ] methods below ```python clone_parser = subparsers.add_parser('clone', help = "Clone a contest locally.") open_parser = subparsers.add_parser('open', help = "Open a problem in the browser.") pull_parser = subparsers.add_parser('pull', help = "Fetch submissions from Codeforces.") race_parser = subparsers.add_parser('race', help = "Set up a virtual contest.") sid_parser = subparsers.add_parser('sid', help = "Use default web browser to open the submission page.") stand_parser = subparsers.add_parser('stand', help = "Show the contest standings.") watch_parser = subparsers.add_parser('watch', help = "Watch the first 10 submissions of current contest") ```