leetcode-cli
Note - Not Available for Now
(only support OSX temporarily)
Please make sure you have logined in leetcode.com
with chrome
.
Features
- the edit flow —— solution files will generate automatically!
- doc support,
lc-rs
can compile the annotation of your solutions to markdown!- btw, generate a site is easy for
lc-rs
!
- btw, generate a site is easy for
- support local signal to keep coding as longer as you want.
Building
cargo install leetcode-cli
Usage
)
Example
For example, if your config is:
[]
= "code"
[]
= "rust"
= "emacs"
1. pick a question:
leetcode pick 1
lc-rs
will generate 1.two-sum.alogrithms
at ~/.leetcode/code/1.two-sum.algorithms.rs
2. edit it
leetcode edit 1
3. The emacs
will be with you
coding...
4. test it.
leetcode test 1
5. submit it
leetcode submit 1
PR
PR is welcome, here it is.
LICENSE
MIT