|
2 | 2 | 3rd party plugins for leetcode-cli.
|
3 | 3 |
|
4 | 4 | |Plugin|Description|Enhanced Commands|
|
5 |
| -|-|-|-| |
6 |
| -|[company](/docs/company.md)|Filter questions by company|`list`| |
| 5 | +|------|-----------|-----------------| |
| 6 | +|[company](/docs/company.md)|Filter questions by company or tags|`list`| |
| 7 | +|[cookie.chrome](/docs/cookie.chrome.md)|Don't expire Chrome's session on same computer|`login`| |
7 | 8 | |[cpp.lint](/docs/cpp.lint.md)|C++ code syntax check|`test`|
|
8 | 9 | |[cpp.run](/docs/cpp.run.md)|Test C++ code locally|`test`|
|
9 | 10 | |[github](/docs/github.md)|Commit accpeted code to GitHub|`submit`|
|
|
12 | 13 |
|
13 | 14 | ## HOWTO
|
14 | 15 |
|
15 |
| -You can install the plugins in either ways below: |
| 16 | +### Install |
16 | 17 |
|
17 |
| -### Quick Install |
| 18 | +Install plugin from this GitHub repo: |
18 | 19 |
|
19 |
| -Install from GitHub: |
20 |
| - |
21 |
| - $ leetcode plugin -i <plugin name> |
| 20 | + $ leetcode plugin -i <name> |
22 | 21 |
|
23 | 22 | *Example*
|
24 | 23 |
|
25 | 24 | $ leetcode plugin -i company
|
26 | 25 |
|
27 |
| -To manage the installed plugins, please check [leetcode-cli's user guide](https://skygragon.github.io/leetcode-cli/commands#plugin). |
| 26 | +**NOTE: Check [leetcode-cli's plugin guide](https://skygragon.github.io/leetcode-cli/commands#plugin) for more details.** |
28 | 27 |
|
29 | 28 | ### Configuration
|
30 | 29 |
|
31 |
| -Some plugins could be configured with your customized options. |
| 30 | +Some plugins could be configured with your customized options. Please read plugin's doc to see the details. |
| 31 | + |
| 32 | +*Example* |
| 33 | + |
| 34 | +Take `gitHub` plugin for example: |
| 35 | + |
| 36 | +Set configs: |
| 37 | + |
| 38 | + $ leetcode config plugins.github.token 12345678 |
| 39 | + |
| 40 | +Show configs: |
| 41 | + |
| 42 | + $ leetcode config plugins.github |
| 43 | + $ leetcode plugin -c github |
| 44 | + |
| 45 | +Delete configs: |
| 46 | + |
| 47 | + $ leetcode config -d plugins.github |
| 48 | + |
| 49 | +**NOTE: Check [leetcode-cli's configuration guide](https://skygragon.github.io/leetcode-cli/advanced#configuration) for more details.** |
| 50 | + |
| 51 | +### Management |
| 52 | + |
| 53 | +Disable: |
| 54 | + |
| 55 | + $ leetcode plugin -d <name> |
| 56 | + |
| 57 | +Enable: |
| 58 | + |
| 59 | + $ leetcode plugin -e <name> |
| 60 | + |
| 61 | +Delete: |
32 | 62 |
|
33 |
| -Check [leetcode-cli's configuration](https://skygragon.github.io/leetcode-cli/advanced#configuration) for more details. |
| 63 | + $ leetcode plugin -D <name> |
0 commit comments