-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.json
65 lines (65 loc) · 1.24 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"preload": "preload.js",
"logo": "logo.png",
"features": [
{
"code": "post",
"explain": "发布暂存区内容/直接发布",
"cmds": [
"Post",
"发布",
"发送",
"Memos",
{
"type": "over",
"label": "发布"
}
]
},
{
"code": "append",
"explain": "添加文本/资源到暂存区",
"cmds": [
{
"type": "over",
"label": "添加文本"
},
{
"type": "files",
"label": "添加资源",
"fileType": "file"
}
]
},
{
"code": "clear",
"explain": "清空暂存区",
"cmds": [
"Clear",
"清空"
]
},
{
"code": "token",
"explain": "设置 Access Token",
"cmds": [
{
"type": "regex",
"label": "设置 Access Token",
"match": "/eyJhbGciOiJIUzI1NiIsImtpZCI6InYxIiwidHlwIjoiSldUIn0\\..*\\..*/"
}
]
},
{
"code": "url",
"explain": "设置 URL",
"cmds": [
{
"type": "regex",
"label": "设置 URL",
"match": "/(http|https):\\/\\/([\\w.]+\\/?)\\S*/"
}
]
}
]
}