leetcode-cli

doc Crates.io Crates.io LICENSE

ref to leetcode-cli, rust version, spec

Note

(only support OSX temporarily)

Please make sure you have logined in leetcode.com with chrome.

Not Available for Now

If you need to, keep time on me...expect to launch at v0.3.0.

Building

cargo install leetcode-cli

RoadMap

list before the first weekend of 2020.

Usage

```sh leetcode 0.1.4 clearloop udtrokia@163.com Leet your code in command-line.

USAGE: leetcode [FLAGS] [SUBCOMMAND]

FLAGS: -d, --debug debug mode -h, --help Prints help information -V, --version Prints version information

SUBCOMMANDS: help Prints this message or the help of the given subcommand(s) list List problems [aliases: ls] ```

leetcode-list

``` leetcode-list List problems

USAGE: leetcode list [FLAGS] [OPTIONS] [keyword]

FLAGS: -h, --help Prints help information -s, --stat Show statistics of listed problems -V, --version Prints version information

OPTIONS: -c, --category Fliter problems by category name [alogrithms, database, shell] -q, --query Fliter questions by conditions: Uppercase means negative e = easy E = m+h m = medium M = e+h h = hard H = e+m d = done D = not done l = locked L = not locked s = starred S = not starred

ARGS: Keyword in select query

EXAMPLES: leetcode list List all questions leetcode list array List questions that has "array" in name leetcode list -c database List questions that in database category leetcode list -q eD List questions that with easy level and not done ```

LICENSE

MIT