-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathplugin.json
More file actions
45 lines (45 loc) · 1.18 KB
/
Copy pathplugin.json
File metadata and controls
45 lines (45 loc) · 1.18 KB
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
{
"schemaVersion": 1,
"id": "example.system-info",
"name": "System Info",
"description": "Small external plugin example for inspecting a connected host.",
"version": "1.0.0",
"author": "VibeShell Example",
"category": "operations",
"icon": "wrench",
"permissions": ["remote_exec"],
"sessionTypes": ["ssh"],
"entry": {
"type": "commands",
"actions": [
{
"id": "kernel",
"name": "Kernel",
"description": "Show the remote operating system and kernel version.",
"program": "uname",
"args": ["-a"]
},
{
"id": "users",
"name": "Logged-in users",
"description": "Show users currently logged in to the remote host.",
"program": "who"
},
{
"id": "resolve-host",
"name": "Resolve hostname",
"description": "Resolve one hostname through the remote host's configured resolver.",
"program": "getent",
"args": ["hosts", "{{input.hostname}}"],
"inputs": [
{
"id": "hostname",
"label": "Hostname",
"placeholder": "example.com",
"required": true
}
]
}
]
}
}