-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
63 lines (63 loc) · 1.51 KB
/
config.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
{
"pkg": [
{
"name": "brew",
"flow": [
{
"cmd": "brew update",
"re": ""
},
{
"cmd": "brew outdated -v",
"re": "(?m)^(?P<pkg>.*) \\((?P<current>.*)\\) < (?P<available>.*)$"
}
],
"upgrade": "brew upgrade"
},
{
"name": "rbenv",
"flow": [
{
"cmd": "rbenv versions",
"re": "(?m)^.{2}(?P<current>(?P<pkg>(?P<family>[^\\n]*)(?P<major>\\d+\\.\\d+))\\S+)"
},
{
"cmd": "rbenv install --list",
"re": "(?m)^(?P<available>(?P<pkg>(?P<family>[^\\n0-9]*)(?P<major>\\d+\\.\\d+))\\S*)"
}
]
},
{
"name": "rustup",
"flow": [
{
"cmd": "rustup check",
"re": "(?m)^(?P<pkg>.*) - [^:]*: (?P<current>\\S+)(?:[^>]* -> (?P<available>\\S+) .*)?$"
}
]
},
{
"name": "nvm",
"shell": "sh -lc",
"flow": [
{
"cmd": "nvm ls --no-alias --no-colors",
"re": "(?m)^(?:->)?\\s+(?P<current>(?P<pkg>(?P<family>\\D+)(?P<major>\\d+))\\.\\d+\\.\\d+)"
},
{
"cmd": "nvm ls-remote --no-colors",
"re": "(?m)^(?:->)?\\s+(?P<available>(?P<pkg>(?P<family>\\D+)(?P<major>\\d+))\\.\\d+\\.\\d+)"
}
]
},
{
"name": "pip3",
"flow": [
{
"cmd": "pip3 list --outdated",
"re": "(?m)^(?P<pkg>\\S*?)\\s+(?P<current>\\S*?\\d\\S*?)\\s+(?P<available>\\S*?\\d\\S*?)\\s"
}
]
}
]
}