https://github.com/kappq/codewars-cli
An unofficial CLI for CodeWars.
https://github.com/kappq/codewars-cli
cli codewars coding-challenge
Last synced: 5 months ago
JSON representation
An unofficial CLI for CodeWars.
- Host: GitHub
- URL: https://github.com/kappq/codewars-cli
- Owner: kappq
- License: mit
- Created: 2022-12-28T18:26:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-16T18:47:25.000Z (about 3 years ago)
- Last Synced: 2026-01-05T22:28:11.531Z (6 months ago)
- Topics: cli, codewars, coding-challenge
- Language: Python
- Homepage: https://pypi.org/project/codewars-cli/
- Size: 25.4 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 --help
Usage: codewars [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 also check the help for each subcommand.