If you need to, keep time on me...expect to launch at v0.3.0.
and,
the DEADLINE is Sub Jan 5 23:59:59 CST 2020
.
(only support OSX temporarily)
Please make sure you have logined in leetcode.com
with chrome
.
What's the difference between lc-rs
(this repo) and skygragon's leetcode-cli?
Here two features in this lc-rs
:
lc-rs
can compile the annotation of your solutions to markdown!
lc-rs
!For example, if your config is:
```toml [storage] code = "code"
[code] lang = "rust" editor = "emacs" ```
After pick a question:
leetcode pick 1
lc-rs
will generate 1.two-sum.alogrithms
at ~/.leetcode/code/1.two-sum.algorithms.rs
And you want to edit it, so:
leetcode edit 1
Emacs will be with you, and then, test and submit is just:
leetcode test 1
leetcode submit 1
Enjoy Coding!
cargo install leetcode-cli
```sh leetcode 0.1.6 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: cache Manage Cache [aliases: cc] list List problems [aliases: ls] stat Show simple chart about submissions [aliases: st] help Prints this message or the help of the given subcommand(s) ```
``` 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
ARGS:
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 ```
``` leetcode-cache Manage cache
USAGE: leetcode cache [FLAGS]
FLAGS: -d, --delete Delete cache -u, --update Update cache -h, --help Prints help information -V, --version Prints version information ```
MIT