Awesome
leetcode-cli
<img src="https://github.com/skygragon/leetcode-cli/raw/master/docs/logo.png" align="right">A productive cli tool to enjoy leetcode!
Great thanks to leetcode.com, a really awesome website!
⦙ Releases ⦙ Install ⦙ Docs ⦙ Commands ⦙ Advanced ⦙ Plugins ⦙
- A very <kbd>EFFICIENT</kbd> way to fight questions.
- <kbd>CACHING</kbd> questions to ease offline thinking.
- <kbd>GENERATING</kbd> source code before coding.
- Live <kbd>TEST</kbd> and <kbd>SUBMIT</kbd> with leetcode.com.
- Download your previous <kbd>SUBMISSION</kbd>.
- Trace your coding <kbd>STATUS</kbd>.
- <kbd>AUTO LOGIN</kbd> among multiple agents with single account.
- Multiple <kbd>THEMES</kbd> support.
- More <kbd>PLUGINS</kbd> to enjoy extra features!
Screenshot
<kbd><img src="https://github.com/skygragon/leetcode-cli/raw/master/docs/screenshots/intro.2018.01.13.gif" /></kbd>
Quick Start
Read help first $ leetcode help
Login with your leetcode account $ leetcode user -l
Browse all questions $ leetcode list
Choose one question $ leetcode show 1 -g -l cpp
Coding it!
Run test(s) and pray... $ leetcode test ./two-sum.cpp -t '[3,2,4]\n7'
Submit final solution! $ leetcode submit ./two-sum.cpp