__ ___
/\ \__ /\_ \ __
__ \ \ ,_\ ___\//\ \ /\_\
/'__'\ \ \ \/ /'___\\ \ \ \/\ \
/\ \L\.\_\ \ \_/\ \__/ \_\ \_\ \ \
\ \__/.\_\\ \__\ \____\/\____\\ \_\
\/__/\/_/ \/__/\/____/\/____/ \/_/
Command line interface for AtCoder (unofficial)
go get -u github.com/gky360/atcli
# Configuration
# See also https://github.com/gky360/atsrv for more details about ATSRV_AUTH_TOKEN
export ATSRV_USER_ID=your_atcoder_user_id
export ATCLI_ROOT=~/atcoder
export ATCLI_CPP_TEMPLATE_PATH=$ATCLI_ROOT/templates/Main.cpp
export ATSRV_AUTH_TOKEN=$(cat /dev/urandom | base64 | fold -w 32 | head -n 1)
# Join contest
atcli join
# Create directories for tasks
atcli clone
# Build your source code
atcli build d
# Test your source code with sample cases downloaded by `atcli clone`
atcli test d # always build your source code
atcli test d --skip-build # skip build if possible
atcli test d sample01 # run with a specified sample input
# Submit your source code to AtCoder
atcli submit d
# Get info from AtCoder
atcli get
atcli get contest
atcli get task [d]
atcli get submission [2167890 | -t d]
See atcli --help
for more deatils.
fetching test cases used in judges on AtCoder-> Done in v0.1.0templating your source code-> Done in v0.1.0- writing tests