leetcode-cli
CLI tool to interact with LeetCode, it’s simplify process and give you tool to automate test submissions, list problems, etc.
Typical workflow:
- List problems:
leetcode l stack
,stack
is optional filter. - Pick (save & read) problem in configured directory:
leetcode p 155|less
. - Edit problem in configured editor:
leetcode e <problem_id>
. - Test problem:
leetcode t <problem_id>
. - Submit (eXecute) problem:
leetcode x <problem_id>
.
Example of output: