/
zazu.json
45 lines (45 loc) · 965 Bytes
/
zazu.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
{
"name": "gh",
"version": "1.0.1",
"description": "Find and open a repo.",
"blocks": {
"input": [
{
"id": "gh",
"args": "Optional",
"prefix": "gh",
"script": "src/index.js",
"space": true,
"type": "PrefixScript",
"connections": ["Open"]
},
{
"id": "gh-reload",
"icon": "fa-refresh",
"keyword": "reload",
"title": "Reload GitHub repos",
"type": "Keyword",
"connections": ["Reload"]
}
],
"output": [
{
"id": "Open",
"type": "OpenInBrowser",
"url": "{value}"
},
{
"id": "Reload",
"type": "UserScript",
"script": "src/reload.js",
"connections": ["Notify"]
},
{
"id": "Notify",
"type": "SendNotification",
"title": "GitHub repos reloaded",
"message": "The list of repos was updated"
}
]
}
}