/leetcode-cli-plugins

3rd party plugins for leetcode-cli

Primary LanguageJavaScriptMIT LicenseMIT

leetcode-cli-plugins

3rd party plugins for leetcode-cli.

Plugins

Name Description Enhanced Commands
company Filter questions by company or tags list
cookie.chrome Don't expire Chrome's session on same computer login
cookie.firefox Don't expire Firefox's session on same computer login
cpp.lint C++ code syntax check test
cpp.run Test C++ code locally test
github Commit accpeted code to GitHub submit
leetcode.cn Fight questions from leetcode-cn.com
lintcode Fight questions from lintcode.com list show test submit user
solution.discuss Fetch top voted solution show

Quick Start

$ leetcode plugin -i <name>                          # install
$ leetcode plugin -d <name>                          # disable
$ leetcode plugin -e <name>                          # enable
$ leetcode plugin -D <name>                          # delete

$ leetcode plugin -c <name>                          # show config
$ leetcode config plugins:<name>                     # show config
$ leetcode config plugins:<name>:<key> <value>       # set config
$ leetcode config -d plugins:<name>                  # delete config

Example

$ leetcode plugin -i company                         # install compnay
$ leetcode plugin -D compnay                         # delete company

$ leetcode plugin -c github                          # show github plugin config
$ leetcode config plugins:github                     # show github plugin config
$ leetcode config plugins:github:token 12345678      # set github plugin config
$ leetcode config -d plugins:github                  # delete github plugin config