Crates.io | satori-cli |
lib.rs | satori-cli |
version | 1.0.1 |
source | src |
created_at | 2021-11-27 19:43:44.347991 |
updated_at | 2021-11-27 20:32:49.17564 |
description | Command line program to submit solutions on code testing platform Satori |
homepage | |
repository | https://github.com/dominik-korsa/satori-cli |
max_upload_size | |
id | 488534 |
size | 68,039 |
Command line program to submit solutions on the code testing platform Satori
satori set-username YOUR_SATORI_USERNAME
(you can skip this step and use the SATORI_USERNAME
env variable instead)
Add a comment anywhere in the solution code, containing the problem URL, for example:
#include <iostream>
// https://satori.tcs.uj.edu.pl/contest/0123456/problems/0123456
int main() {}
Run
satori submit solution-filename.cpp
Type your Satori password if prompted or provide it as SATORI_PASSWORD
.
You can enable the --ci
flag to prevent asking for password if the env variable is not specified. This is useful for scripting.
If you want to open the results page in your default web browser automatically, use the --open
(-o
) flag.
This program doesn't store your password. Instead it stores a session token (in the form of a cookie). This is why the program might ask you for your password multiple times.