4
4
5
5
3rd party plugins for leetcode-cli.
6
6
7
- See what [ leetcode-cli] ( https://github.com/skygragon/leetcode-cli ) is.
7
+ * what is [ leetcode-cli] ( https://github.com/skygragon/leetcode-cli )
8
+ * how to use [ leetcode-cli plugins] ( https://skygragon.github.io/leetcode-cli/commands#plugin )
9
+ * how to use [ leetcode-cli configs] ( https://skygragon.github.io/leetcode-cli/advanced#configuration )
8
10
9
11
## Plugins
10
12
@@ -19,53 +21,24 @@ See what [leetcode-cli](https://github.com/skygragon/leetcode-cli) is.
19
21
| [ lintcode] ( /docs/lintcode.md ) | Fight questions from lintcode.com| ` list ` ` show ` ` test ` ` submit ` ` user ` |
20
22
| [ solution.discuss] ( /docs/solution.discuss.md ) | Fetch top voted solution| ` show ` |
21
23
22
- ## HOWTO
24
+ ## Quick Start
23
25
24
- ### Install
26
+ $ leetcode plugin -i <name> # install
27
+ $ leetcode plugin -d <name> # disable
28
+ $ leetcode plugin -e <name> # enable
29
+ $ leetcode plugin -D <name> # delete
25
30
26
- Install plugin from this GitHub repo:
31
+ $ leetcode plugin -c <name> # show config
32
+ $ leetcode config plugins:<name> # show config
33
+ $ leetcode config plugins:<name>:<key> <value> # set config
34
+ $ leetcode config -d plugins:<name> # delete config
27
35
28
- $ leetcode plugin -i <name>
29
-
30
- * Example*
36
+ ** Example**
31
37
32
- $ leetcode plugin -i company
38
+ $ leetcode plugin -i company # install compnay
39
+ $ leetcode plugin -D compnay # delete company
33
40
34
- ** NOTE: Check [ leetcode-cli's plugin guide] ( https://skygragon.github.io/leetcode-cli/commands#plugin ) for more details.**
35
-
36
- ### Configuration
37
-
38
- Some plugins could be configured with your customized options. Please read plugin's doc to see the details.
39
-
40
- * Example*
41
-
42
- Take ` gitHub ` plugin for example:
43
-
44
- Set configs:
45
-
46
- $ leetcode config plugins:github:token 12345678
47
-
48
- Show configs:
49
-
50
- $ leetcode config plugins:github
51
- $ leetcode plugin -c github
52
-
53
- Delete configs:
54
-
55
- $ leetcode config -d plugins:github
56
-
57
- ** NOTE: Check [ leetcode-cli's configuration guide] ( https://skygragon.github.io/leetcode-cli/advanced#configuration ) for more details.**
58
-
59
- ### Management
60
-
61
- Disable:
62
-
63
- $ leetcode plugin -d <name>
64
-
65
- Enable:
66
-
67
- $ leetcode plugin -e <name>
68
-
69
- Delete:
70
-
71
- $ leetcode plugin -D <name>
41
+ $ leetcode plugin -c github # show github plugin config
42
+ $ leetcode config plugins:github # show github plugin config
43
+ $ leetcode config plugins:github:token 12345678 # set github plugin config
44
+ $ leetcode config -d plugins:github # delete github plugin config
0 commit comments