A simple set of scripts to easily utilize Leetcode CLI.
Scripts are declared in package.json, and work as follows:
npm run help
: print this menunpm run read problem_number
: print the problem's prompt to terminalnpm run start problem_number
: create and open a javascript file with the prompt and template in placenpm run submit problem_number
: submit the problemnpm run test problem_number test_case
: test the problem against a test case stringnpm run list
: list all problems