3rd party plugins for leetcode-cli
Plugin | Description |
---|---|
company.js | Filter question by company tag. |
cpp.lint.js | Run cpplint to check syntax before running test. |
cpp.run.js | Run cpp code locally for debugging purpose. |
You can install the plugins in either ways below:
$ leetcode install <plugin file>
Copy the plugin file to the sub folder lib/plugins/
where leetcode-cli installed.
E.g. On Linux/Mac, the path would be like: /usr/local/lib/node_modules/leetcode-cli/lib/plugins/
Tips: You can find the path by running npm
, check the last line of the output.