-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.json
86 lines (86 loc) · 2.13 KB
/
menu.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"StartMenu": "Main Menu",
"MenuRow": 3,
"MenuCol": 10,
"MenuItemsRowOffset" : 3,
"ItemDescCol" : 45,
"ItemDescWidth" : 25,
"MenuTitleColor" : "green",
"MenuDescColor" : "magenta",
"MenuIndexColor" : "yellow",
"MenuSelIndexColor" : "red",
"MenuSelDescColor" : "yellow",
"CommandsToExec": [
"less",
"more"
],
"Menus": [
{
"Name": "Main Menu",
"Description": "This is where it all begins",
"Items": [
{
"Name": "List it",
"Command": "ls -lah",
"Description": "Runs a list command using the -lah parameters"
},
{
"Name": "Menu 2",
"Menu": "M2",
"Description": "Jump to a different menu."
},
{
"Name": "A different Menu ",
"Menu": "M4",
"Description": "Jump to menu 4."
}
]
},
{
"Name": "M2",
"Description": "The sub menu of all sub menus",
"Items": [
{
"Name": "List the DIR, duh",
"Command": "ls",
"Description": "Runs the ls command. Equiv of dir in DOS!"
},
{
"Name": "FUN",
"Command": "echo curl up'n'die"
},
{
"Name": "The depths",
"Menu": "M3"
}
]
},
{
"Name": "M3",
"Description": "Plumbing the depths",
"Items": [
{
"Name": "Cat's are not dogs",
"Command": "cat menu.json",
"Description": "Dogs are definitely better than cats. Cats are hunter killers."
}
]
},
{
"Name": "M4",
"Description": "Secret Squirrel menu",
"Items": [
{
"Name": "Need head",
"Command": "head menu.json",
"Description": "Everyone likes a little head."
},
{
"Name": "Got tail",
"Command": "tail menu.json",
"Description": "Grab a piece of tail."
}
]
}
]
}