You could run the test cases and submit the code right from your CLI. Atleast for codeforces you could do it. For reference, you could check out: * [codeforces.com/settings/api](https://codeforces.com/settings/api) and generate a Key and a Secret.