cf-tool-rs
A Rust implement for https://github.com/xalanq/cf-tool
WIP. Pull Requests / Contributions are welcomed!
How to Configure?
Configure File should in ~/.config/cf-tool-rs/config.toml
:
session_file="/tmp/cf-tool.session"
handle="woshiluo"
code_suffix=".cpp"
language_id="54"
session_file
: Save cookies in this file.handle
: Your codeforces handlecode_suffix
: Source code filename suffixlanguage_id
: The language's id which you want to submit. (You can check your language's id in this file https://github.com/woshiluo/cf-tool/blob/master/client/langs.go)
Usage
Three Subcommands
race
: If the contest has not started yet, program will count down. If it has started, the program will parse this contest's problem in./
./ parse
: Parse this problem's sample-cases and write in current dir.submit
: Your current dir should be like
, the program will submit/
..
TO-DO
- login
- parse
- race
- public contest
- login
- Countdown
- submit
- config file
- session file
- Colorful output
Interested
- watch
- test
- list
Not Interested
- Template