A program that allows you to submit codes on cses through google chrome from your terminal.
Set up dependencies and password by running the bash script bot-dependencies.sh
This will also ask for the path to a program that the user wishes to use repeatedly for submissions (Can be left as blank string)
$ bash bot-dependencies.sh
This can be run again to reset passwords and code location (or you could just modify /secret/user-key)
Run the main python script by -
$ python main.py
This can also be made into an alias in ~/.bashrc
$ quit
- quits the browser
- quits program
$ open <task number>
- Opens the task's page on chrome
- lists tasks name on terminal
- lists task section
If providing absolute path - $ submit <task number> <location of code>
If using preset path - $ submit <task number> -p
- Submits code
- Prints verdict