GitHub - spgyip/leetcode-cli: A cli tool to enjoy leetcode!

Skip to content

Navigation Menu

Sign in

Appearance settings

This repository is forked from skygragon/leetcode-cli. It seems the source repository is not maintained, I fix some issues here.

  • Fix warnings message caused by old dependencies.
  • Fix leetcode show ID fail.

leetcode-cli

A productive cli tool to enjoy leetcode!

Great thanks to leetcode.com, a really awesome website!

ReleasesInstallDocsCommandsAdvancedPlugins

Screenshot

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

Languages

  • JavaScript 98.2%
  • Shell 1.1%
  • Other 0.7%