20 releases

0.2.0 Nov 30, 2021
0.1.1 Oct 3, 2020
0.1.0 May 4, 2020
0.0.9 Apr 23, 2020
0.0.2 Jan 29, 2020

#1522 in Command line utilities

MIT license

190KB
5K SLoC

acick

jobs crates.io docs codecov

                           __
                __        /\ \
   __      ___ /\_\    ___\ \ \/'\
 /'__`\   /'___\/\ \  /'___\ \ , <
/\ \L\.\_/\ \__/\ \ \/\ \__/\ \ \\`\
\ \__/.\_\ \____\\ \_\ \____\\ \_\ \_\
 \/__/\/_/\/____/ \/_/\/____/ \/_/\/_/

Command line tools for programming contests.

Features

  • Supports some online programming contest services
  • Downloads samples as YAML
  • Downloads system testcases
  • Compiles and tests your source code with downloaded samples
  • Submits your source code

Requirements

  • OS: Linux / OS X / Windows

Installation

Use install.sh to install binary release.

$ curl -sSf -L https://raw.githubusercontent.com/gky360/acick/master/install.sh | sh

Or use cargo to build from source.

$ cargo install acick

Usage

acick 0.2.0

USAGE:
    acick [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
    -y, --assume-yes    Assumes "yes" as answer to all prompts and run non-interactively
    -h, --help          Prints help information
    -q, --quiet         Hides any messages except the final outcome of commands
    -V, --version       Prints version information

OPTIONS:
    -b, --base-dir <base-dir>    Sets path to the directory that contains a config file
        --output <output>        Specifies the format of output [default: default]  [possible values: default, debug,
                                 json, yaml]

SUBCOMMANDS:
    fetch     Fetches problems from service [aliases: f]
    help      Prints this message or the help of the given subcommand(s)
    init      Creates config file
    login     Logs in to service [aliases: l]
    logout    Logs out from all services
    me        Gets info of user currently logged in to service
    show      Shows current config
    submit    Submits source code to service [aliases: s]
    test      Tests source code with sample inputs and outputs [aliases: t]

License

Released under the MIT license.

Dependencies

~45–62MB
~1M SLoC