Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 747e00f

Browse files
committed
Update README.md
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 499c48f commit 747e00f

File tree

1 file changed

+40
-10
lines changed

1 file changed

+40
-10
lines changed

README.md

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
3rd party plugins for leetcode-cli.
33

44
|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`|
78
|[cpp.lint](/docs/cpp.lint.md)|C++ code syntax check|`test`|
89
|[cpp.run](/docs/cpp.run.md)|Test C++ code locally|`test`|
910
|[github](/docs/github.md)|Commit accpeted code to GitHub|`submit`|
@@ -12,22 +13,51 @@
1213

1314
## HOWTO
1415

15-
You can install the plugins in either ways below:
16+
### Install
1617

17-
### Quick Install
18+
Install plugin from this GitHub repo:
1819

19-
Install from GitHub:
20-
21-
$ leetcode plugin -i <plugin name>
20+
$ leetcode plugin -i <name>
2221

2322
*Example*
2423

2524
$ leetcode plugin -i company
2625

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.**
2827

2928
### Configuration
3029

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:
3262

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

Comments
 (0)