Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@haozibi/vsc-leetcode-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
leetcode-cli
Note: This repository is forked from leetcode-cli for temporary usage. Note: Copy cookie from webbrowser and Using leetcode user -c can temporary fix can't login problem.
A productive cli tool to enjoy leetcode!
Great thanks to leetcode.com, a really awesome website!
⦙ Releases ⦙ Install ⦙ Docs ⦙ Commands ⦙ Advanced ⦙ Plugins ⦙
- A very EFFICIENT way to fight questions.
- CACHING questions to ease offline thinking.
- GENERATING source code before coding.
- Live TEST and SUBMIT with leetcode.com.
- Download your previous SUBMISSION.
- Trace your coding STATUS.
- AUTO LOGIN among multiple agents with single account.
- Multiple THEMES support.
- More PLUGINS to enjoy extra features!
Screenshot

Quick Start
Read help first $ leetcode help
Login with your leetcode account $ leetcode user -l
Login with third party account--GitHub $ leetcode user -g
Login with third party account--LinkedIn $ leetcode user -i
Cookie login with cookie $ leetcode user -c
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