[][src]Crate leetcode_cli

doc Crates.io Crates.io LICENSE

ref to leetcode-cli, rust version.

Note

(OS X support for now)

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.

Installaion

cargo install leetcode-cli

Usage

leetcode

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 <category>    Fliter problems by category name
                                 [alogrithms, database, shell]
    -q, --query <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>    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

Modules

cache

Save bad network's ass.

cfg

Soft-link with config.toml

cli

Clap commander

cmds

All subcommands in leetcode-cli

err

Errors in leetcode-cli

flag

flags in leetcode-cli

helper

Convert i32 to specific digits string.

plugins

leetcode-cil plugins + chrome cookie parser + leetcode API