Skip to main content

An unofficial CLI for CodeWars.

Project description

codewars-cli

An unofficial CLI for CodeWars.

Configuration

You need to set the CW_SESSION_ID and CW_REMEMBER_USER_TOKEN environment variables which you can grab from your cookies.

Rich will look at MANPAGER then the PAGER environment variables (MANPAGER takes priority) to get the pager command. On Linux and macOS you can set one of these to less -r to display the description with ANSI styles.

Installation

You can install codewars-cli using pip:

pip install codewars-cli

Usage

$ codewars-cli --help
Usage: codewars-cli [OPTIONS] COMMAND [ARGS]...

  An unofficial CLI for CodeWars.

Options:
  --help  Show this message and exit.

Commands:
  attempt   Attempt to pass the full test suite.
  practice  Search for a kata.
  submit    Submit your solution.
  test      Test against the sample tests.
  train     Choose a kata to solve.

You can do the same for each subcommand.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codewars_cli-0.1.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

codewars_cli-0.1.1-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page