nctu-oj-cli

CLI for NCTU OJ

NCTU OJ CLI

CLI for NCTU OJ

Installation

  1. Clone this repository.
$ git clone https://github.com/c910335/nctu-oj-cli.git
$ cd nctu-oj-cli
  1. Compile it.
$ shards build
  1. Edit the configuration file.
$ cp config.sample.yml config.yml
$ vim config.yml

Usage

$ bin/nctu_oj 
Usage:
  bin/nctu_oj [flags...] [arg...]

CLI for NCTU OJ (https://oj.nctu.me)

Flags:
  --help      # Displays help for the current command.

Subcommands:
  codes       # Download all AC codes.
  scoreboard  # Generate a scoreboard into scoreboard.html
  testdata    # Upload test data

Contributing

  1. Fork it (https://github.com/c910335/nctu-oj-cli/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Github statistic:
  • 2
  • 0
  • 0
  • 1
  • 0
  • 6 days ago

License:

MIT License

Links: