Skip to content

Command line interface to interact with Codeforces

License

Notifications You must be signed in to change notification settings

farbodsz/codeforces-cli

Repository files navigation

codeforces-cli

Hackage Build Status

Command line interface to interact with Codeforces.

demo-gif

Features

  • View/filter contests and problems
  • Watch contest standings and submissions
  • Calculate rating after a virtual contest
  • List rating changes for each contest
  • And much more!

Installation

The pre-compiled binary file can be found on the releases page.

Download it and place it in a directory in your PATH. For example, ~/.local/bin/cf.

Alternatively, you can get it through Haskell Stack, by installing the codeforces-cli package:

stack install codeforces-cli

Usage

Codeforces CLI v0.1.0

Usage: cf COMMAND

Available options:
  -h,--help                Show this help text

Available commands:
  agenda                   Upcoming contests. Alias for contests --upcoming
  contests                 List of contests
  info                     Show the problems and your problem results of a
                           contest
  friends                  List your friends (must be authenticated)
  open                     Open a contest in the browser
  problems                 View and filter problem sets
  ratings                  Rating changes of a user
  setup                    Setup your configuration file
  standings                Standings table of a contest
  status                   Recent submissions of a user
  user                     Information about a user
  virtual                  Calculate your rating after a virtual contest, to
                           find what it would be if you competed live

Documentation

A help page for the CLI is available via cf --help.

The package's documentation is available on Hackage.

About

Command line interface to interact with Codeforces

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published