@poindexter.json/codewars-cli

1.0.6 • Public • Published

codewars-cli

https://www.npmjs.com/package/@poindexter.json/codewars-cli

Codewars CLI parses a user's codewars solutions and outputs them in a github README.md format.

Options:
      --help      Show help                                             [boolean]
      --version   Show version number                                   [boolean]
  -u, --username  Username or ID of the codewars user                   [string] [required]
  -t, --token     'remember_user_token' value from codewars cookie      [string] [required]
  -f, --filename  Filename to output codewars solutions as markdown     [string] [default: "README.md"]

Example output

Quick Overview

npx @poindexter.json/codewars-cli --username=*codewars username or ID* --token=*remember_user_token from codewars cookie*

example:

npx @poindexter.json/codewars-cli --username=jsonpoindxter --token=BAhbCFsGSSIdN...

Codewars Token

The codewars 'remember_user_token' is required in order to fetch a user's solutions since the codewars API or UI does not currently allow this. The 'remember_user_token' is created after a succesful login to codewars and stored in the web browsers cookies.

How to view cookies

Readme

Keywords

Package Sidebar

Install

npm i @poindexter.json/codewars-cli

Weekly Downloads

8

Version

1.0.6

License

MIT

Unpacked Size

7.86 kB

Total Files

3

Last publish

Collaborators

  • poindexter.json