devhelm 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/alert-channels/test.js +2 -5
- package/dist/commands/alert-channels/test.js.map +1 -1
- package/dist/commands/api-keys/revoke.js +1 -2
- package/dist/commands/api-keys/revoke.js.map +1 -1
- package/dist/commands/auth/login.js +7 -12
- package/dist/commands/auth/login.js.map +1 -1
- package/dist/commands/auth/me.js +6 -8
- package/dist/commands/auth/me.js.map +1 -1
- package/dist/commands/data/services/status.js +2 -5
- package/dist/commands/data/services/status.js.map +1 -1
- package/dist/commands/data/services/uptime.js +5 -8
- package/dist/commands/data/services/uptime.js.map +1 -1
- package/dist/commands/dependencies/track.js +2 -5
- package/dist/commands/dependencies/track.js.map +1 -1
- package/dist/commands/deploy/force-unlock.js +57 -0
- package/dist/commands/deploy/force-unlock.js.map +1 -0
- package/dist/commands/deploy/index.js +234 -0
- package/dist/commands/deploy/index.js.map +1 -0
- package/dist/commands/incidents/resolve.js +2 -7
- package/dist/commands/incidents/resolve.js.map +1 -1
- package/dist/commands/init.js +102 -27
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/monitors/pause.js +2 -5
- package/dist/commands/monitors/pause.js.map +1 -1
- package/dist/commands/monitors/results.js +7 -10
- package/dist/commands/monitors/results.js.map +1 -1
- package/dist/commands/monitors/resume.js +2 -5
- package/dist/commands/monitors/resume.js.map +1 -1
- package/dist/commands/monitors/test.js +2 -5
- package/dist/commands/monitors/test.js.map +1 -1
- package/dist/commands/monitors/versions/get.js +22 -0
- package/dist/commands/monitors/versions/get.js.map +1 -0
- package/dist/commands/monitors/versions/list.js +29 -0
- package/dist/commands/monitors/versions/list.js.map +1 -0
- package/dist/commands/notification-policies/test.js +1 -2
- package/dist/commands/notification-policies/test.js.map +1 -1
- package/dist/commands/plan.js +96 -0
- package/dist/commands/plan.js.map +1 -0
- package/dist/commands/status.js +4 -6
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/validate.js +79 -39
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/webhooks/test.js +2 -5
- package/dist/commands/webhooks/test.js.map +1 -1
- package/dist/lib/api-client.js +38 -4
- package/dist/lib/api-client.js.map +1 -1
- package/dist/lib/auth.js +6 -1
- package/dist/lib/auth.js.map +1 -1
- package/dist/lib/base-command.js +3 -0
- package/dist/lib/base-command.js.map +1 -1
- package/dist/lib/crud-commands.js +12 -23
- package/dist/lib/crud-commands.js.map +1 -1
- package/dist/lib/descriptions.generated.js +7 -3
- package/dist/lib/descriptions.generated.js.map +1 -1
- package/dist/lib/errors.js +2 -13
- package/dist/lib/errors.js.map +1 -1
- package/dist/lib/output.js.map +1 -1
- package/dist/lib/resource-types.js +2 -0
- package/dist/lib/resource-types.js.map +1 -0
- package/dist/lib/resources.js +24 -7
- package/dist/lib/resources.js.map +1 -1
- package/dist/lib/typed-api.js +15 -0
- package/dist/lib/typed-api.js.map +1 -0
- package/dist/lib/yaml/applier.js +117 -0
- package/dist/lib/yaml/applier.js.map +1 -0
- package/dist/lib/yaml/differ.js +166 -0
- package/dist/lib/yaml/differ.js.map +1 -0
- package/dist/lib/yaml/entitlements.js +69 -0
- package/dist/lib/yaml/entitlements.js.map +1 -0
- package/dist/lib/yaml/handlers.js +480 -0
- package/dist/lib/yaml/handlers.js.map +1 -0
- package/dist/lib/yaml/index.js +10 -0
- package/dist/lib/yaml/index.js.map +1 -0
- package/dist/lib/yaml/interpolation.js +77 -0
- package/dist/lib/yaml/interpolation.js.map +1 -0
- package/dist/lib/yaml/parser.js +140 -0
- package/dist/lib/yaml/parser.js.map +1 -0
- package/dist/lib/yaml/resolver.js +54 -0
- package/dist/lib/yaml/resolver.js.map +1 -0
- package/dist/lib/yaml/schema.js +42 -0
- package/dist/lib/yaml/schema.js.map +1 -0
- package/dist/lib/yaml/state.js +43 -0
- package/dist/lib/yaml/state.js.map +1 -0
- package/dist/lib/yaml/transform.js +182 -0
- package/dist/lib/yaml/transform.js.map +1 -0
- package/dist/lib/yaml/types.js +7 -0
- package/dist/lib/yaml/types.js.map +1 -0
- package/dist/lib/yaml/validator.js +433 -0
- package/dist/lib/yaml/validator.js.map +1 -0
- package/oclif.manifest.json +535 -264
- package/package.json +3 -1
- package/dist/commands/incidents/delete.js +0 -4
- package/dist/commands/incidents/delete.js.map +0 -1
- package/dist/commands/incidents/update.js +0 -4
- package/dist/commands/incidents/update.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -39,6 +39,98 @@
|
|
|
39
39
|
"init.js"
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
|
+
"plan": {
|
|
43
|
+
"aliases": [],
|
|
44
|
+
"args": {},
|
|
45
|
+
"description": "Show what \"devhelm deploy\" would change without applying",
|
|
46
|
+
"examples": [
|
|
47
|
+
"<%= config.bin %> plan",
|
|
48
|
+
"<%= config.bin %> plan -f monitors.yml",
|
|
49
|
+
"<%= config.bin %> plan --prune",
|
|
50
|
+
"<%= config.bin %> plan --prune-all",
|
|
51
|
+
"<%= config.bin %> plan --detailed-exitcode",
|
|
52
|
+
"<%= config.bin %> plan -o json"
|
|
53
|
+
],
|
|
54
|
+
"flags": {
|
|
55
|
+
"file": {
|
|
56
|
+
"char": "f",
|
|
57
|
+
"description": "Config file or directory (can be specified multiple times)",
|
|
58
|
+
"name": "file",
|
|
59
|
+
"default": [
|
|
60
|
+
"devhelm.yml"
|
|
61
|
+
],
|
|
62
|
+
"hasDynamicHelp": false,
|
|
63
|
+
"multiple": true,
|
|
64
|
+
"type": "option"
|
|
65
|
+
},
|
|
66
|
+
"prune": {
|
|
67
|
+
"description": "Include deletions of CLI-managed resources not in config",
|
|
68
|
+
"name": "prune",
|
|
69
|
+
"allowNo": false,
|
|
70
|
+
"type": "boolean"
|
|
71
|
+
},
|
|
72
|
+
"prune-all": {
|
|
73
|
+
"description": "Include deletions of ALL resources not in config, including those not managed by the CLI",
|
|
74
|
+
"name": "prune-all",
|
|
75
|
+
"allowNo": false,
|
|
76
|
+
"type": "boolean"
|
|
77
|
+
},
|
|
78
|
+
"detailed-exitcode": {
|
|
79
|
+
"description": "Return exit code 10 if plan has changes (for CI)",
|
|
80
|
+
"name": "detailed-exitcode",
|
|
81
|
+
"allowNo": false,
|
|
82
|
+
"type": "boolean"
|
|
83
|
+
},
|
|
84
|
+
"output": {
|
|
85
|
+
"char": "o",
|
|
86
|
+
"description": "Output format (text or json)",
|
|
87
|
+
"name": "output",
|
|
88
|
+
"default": "text",
|
|
89
|
+
"hasDynamicHelp": false,
|
|
90
|
+
"multiple": false,
|
|
91
|
+
"options": [
|
|
92
|
+
"text",
|
|
93
|
+
"json"
|
|
94
|
+
],
|
|
95
|
+
"type": "option"
|
|
96
|
+
},
|
|
97
|
+
"api-url": {
|
|
98
|
+
"description": "Override API base URL",
|
|
99
|
+
"name": "api-url",
|
|
100
|
+
"hasDynamicHelp": false,
|
|
101
|
+
"multiple": false,
|
|
102
|
+
"type": "option"
|
|
103
|
+
},
|
|
104
|
+
"api-token": {
|
|
105
|
+
"description": "Override API token",
|
|
106
|
+
"name": "api-token",
|
|
107
|
+
"hasDynamicHelp": false,
|
|
108
|
+
"multiple": false,
|
|
109
|
+
"type": "option"
|
|
110
|
+
},
|
|
111
|
+
"verbose": {
|
|
112
|
+
"char": "v",
|
|
113
|
+
"description": "Show verbose output",
|
|
114
|
+
"name": "verbose",
|
|
115
|
+
"allowNo": false,
|
|
116
|
+
"type": "boolean"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"hasDynamicHelp": false,
|
|
120
|
+
"hiddenAliases": [],
|
|
121
|
+
"id": "plan",
|
|
122
|
+
"pluginAlias": "devhelm",
|
|
123
|
+
"pluginName": "devhelm",
|
|
124
|
+
"pluginType": "core",
|
|
125
|
+
"strict": true,
|
|
126
|
+
"enableJsonFlag": false,
|
|
127
|
+
"isESM": true,
|
|
128
|
+
"relativePath": [
|
|
129
|
+
"dist",
|
|
130
|
+
"commands",
|
|
131
|
+
"plan.js"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
42
134
|
"status": {
|
|
43
135
|
"aliases": [],
|
|
44
136
|
"args": {},
|
|
@@ -107,12 +199,40 @@
|
|
|
107
199
|
"name": "file"
|
|
108
200
|
}
|
|
109
201
|
},
|
|
110
|
-
"description": "Validate a devhelm.yml configuration file",
|
|
202
|
+
"description": "Validate a devhelm.yml configuration file against the full schema",
|
|
111
203
|
"examples": [
|
|
112
204
|
"<%= config.bin %> validate",
|
|
113
|
-
"<%= config.bin %> validate devhelm.yml"
|
|
205
|
+
"<%= config.bin %> validate devhelm.yml",
|
|
206
|
+
"<%= config.bin %> validate --strict",
|
|
207
|
+
"<%= config.bin %> validate -o json"
|
|
114
208
|
],
|
|
115
|
-
"flags": {
|
|
209
|
+
"flags": {
|
|
210
|
+
"strict": {
|
|
211
|
+
"description": "Fail on warnings (unresolved cross-references, etc.)",
|
|
212
|
+
"name": "strict",
|
|
213
|
+
"allowNo": false,
|
|
214
|
+
"type": "boolean"
|
|
215
|
+
},
|
|
216
|
+
"skip-env": {
|
|
217
|
+
"description": "Skip environment variable interpolation (syntax check only)",
|
|
218
|
+
"name": "skip-env",
|
|
219
|
+
"allowNo": false,
|
|
220
|
+
"type": "boolean"
|
|
221
|
+
},
|
|
222
|
+
"output": {
|
|
223
|
+
"char": "o",
|
|
224
|
+
"description": "Output format (text or json)",
|
|
225
|
+
"name": "output",
|
|
226
|
+
"default": "text",
|
|
227
|
+
"hasDynamicHelp": false,
|
|
228
|
+
"multiple": false,
|
|
229
|
+
"options": [
|
|
230
|
+
"text",
|
|
231
|
+
"json"
|
|
232
|
+
],
|
|
233
|
+
"type": "option"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
116
236
|
"hasDynamicHelp": false,
|
|
117
237
|
"hiddenAliases": [],
|
|
118
238
|
"id": "validate",
|
|
@@ -1204,15 +1324,15 @@
|
|
|
1204
1324
|
"dependencies:delete": {
|
|
1205
1325
|
"aliases": [],
|
|
1206
1326
|
"args": {
|
|
1207
|
-
"
|
|
1208
|
-
"description": "dependency
|
|
1209
|
-
"name": "
|
|
1327
|
+
"subscriptionId": {
|
|
1328
|
+
"description": "dependency subscriptionId",
|
|
1329
|
+
"name": "subscriptionId",
|
|
1210
1330
|
"required": true
|
|
1211
1331
|
}
|
|
1212
1332
|
},
|
|
1213
1333
|
"description": "Delete a dependency",
|
|
1214
1334
|
"examples": [
|
|
1215
|
-
"<%= config.bin %> dependencies delete <
|
|
1335
|
+
"<%= config.bin %> dependencies delete <subscriptionId>"
|
|
1216
1336
|
],
|
|
1217
1337
|
"flags": {
|
|
1218
1338
|
"output": {
|
|
@@ -1270,15 +1390,15 @@
|
|
|
1270
1390
|
"dependencies:get": {
|
|
1271
1391
|
"aliases": [],
|
|
1272
1392
|
"args": {
|
|
1273
|
-
"
|
|
1274
|
-
"description": "dependency
|
|
1275
|
-
"name": "
|
|
1393
|
+
"subscriptionId": {
|
|
1394
|
+
"description": "dependency subscriptionId",
|
|
1395
|
+
"name": "subscriptionId",
|
|
1276
1396
|
"required": true
|
|
1277
1397
|
}
|
|
1278
1398
|
},
|
|
1279
|
-
"description": "Get a dependency by
|
|
1399
|
+
"description": "Get a dependency by subscriptionId",
|
|
1280
1400
|
"examples": [
|
|
1281
|
-
"<%= config.bin %> dependencies get <
|
|
1401
|
+
"<%= config.bin %> dependencies get <subscriptionId>"
|
|
1282
1402
|
],
|
|
1283
1403
|
"flags": {
|
|
1284
1404
|
"output": {
|
|
@@ -1517,13 +1637,6 @@
|
|
|
1517
1637
|
"hasDynamicHelp": false,
|
|
1518
1638
|
"multiple": false,
|
|
1519
1639
|
"type": "option"
|
|
1520
|
-
},
|
|
1521
|
-
"color": {
|
|
1522
|
-
"description": "Hex color code (defaults to #6B7280 if omitted)",
|
|
1523
|
-
"name": "color",
|
|
1524
|
-
"hasDynamicHelp": false,
|
|
1525
|
-
"multiple": false,
|
|
1526
|
-
"type": "option"
|
|
1527
1640
|
}
|
|
1528
1641
|
},
|
|
1529
1642
|
"hasDynamicHelp": false,
|
|
@@ -1789,13 +1902,6 @@
|
|
|
1789
1902
|
"hasDynamicHelp": false,
|
|
1790
1903
|
"multiple": false,
|
|
1791
1904
|
"type": "option"
|
|
1792
|
-
},
|
|
1793
|
-
"color": {
|
|
1794
|
-
"description": "New color hex code",
|
|
1795
|
-
"name": "color",
|
|
1796
|
-
"hasDynamicHelp": false,
|
|
1797
|
-
"multiple": false,
|
|
1798
|
-
"type": "option"
|
|
1799
1905
|
}
|
|
1800
1906
|
},
|
|
1801
1907
|
"hasDynamicHelp": false,
|
|
@@ -1814,27 +1920,21 @@
|
|
|
1814
1920
|
"update.js"
|
|
1815
1921
|
]
|
|
1816
1922
|
},
|
|
1817
|
-
"
|
|
1923
|
+
"deploy:force-unlock": {
|
|
1818
1924
|
"aliases": [],
|
|
1819
1925
|
"args": {},
|
|
1820
|
-
"description": "
|
|
1926
|
+
"description": "Force-release a stuck deploy lock on the current workspace",
|
|
1821
1927
|
"examples": [
|
|
1822
|
-
"<%= config.bin %>
|
|
1928
|
+
"<%= config.bin %> deploy force-unlock",
|
|
1929
|
+
"<%= config.bin %> deploy force-unlock --yes"
|
|
1823
1930
|
],
|
|
1824
1931
|
"flags": {
|
|
1825
|
-
"
|
|
1826
|
-
"char": "
|
|
1827
|
-
"description": "
|
|
1828
|
-
"name": "
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1831
|
-
"multiple": false,
|
|
1832
|
-
"options": [
|
|
1833
|
-
"table",
|
|
1834
|
-
"json",
|
|
1835
|
-
"yaml"
|
|
1836
|
-
],
|
|
1837
|
-
"type": "option"
|
|
1932
|
+
"yes": {
|
|
1933
|
+
"char": "y",
|
|
1934
|
+
"description": "Skip confirmation prompt",
|
|
1935
|
+
"name": "yes",
|
|
1936
|
+
"allowNo": false,
|
|
1937
|
+
"type": "boolean"
|
|
1838
1938
|
},
|
|
1839
1939
|
"api-url": {
|
|
1840
1940
|
"description": "Override API base URL",
|
|
@@ -1856,46 +1956,139 @@
|
|
|
1856
1956
|
"name": "verbose",
|
|
1857
1957
|
"allowNo": false,
|
|
1858
1958
|
"type": "boolean"
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
"hasDynamicHelp": false,
|
|
1962
|
+
"hiddenAliases": [],
|
|
1963
|
+
"id": "deploy:force-unlock",
|
|
1964
|
+
"pluginAlias": "devhelm",
|
|
1965
|
+
"pluginName": "devhelm",
|
|
1966
|
+
"pluginType": "core",
|
|
1967
|
+
"strict": true,
|
|
1968
|
+
"enableJsonFlag": false,
|
|
1969
|
+
"isESM": true,
|
|
1970
|
+
"relativePath": [
|
|
1971
|
+
"dist",
|
|
1972
|
+
"commands",
|
|
1973
|
+
"deploy",
|
|
1974
|
+
"force-unlock.js"
|
|
1975
|
+
]
|
|
1976
|
+
},
|
|
1977
|
+
"deploy": {
|
|
1978
|
+
"aliases": [],
|
|
1979
|
+
"args": {},
|
|
1980
|
+
"description": "Deploy devhelm.yml configuration to the DevHelm API",
|
|
1981
|
+
"examples": [
|
|
1982
|
+
"<%= config.bin %> deploy",
|
|
1983
|
+
"<%= config.bin %> deploy --yes",
|
|
1984
|
+
"<%= config.bin %> deploy -f monitors.yml",
|
|
1985
|
+
"<%= config.bin %> deploy --prune --yes",
|
|
1986
|
+
"<%= config.bin %> deploy --prune-all --yes",
|
|
1987
|
+
"<%= config.bin %> deploy --dry-run",
|
|
1988
|
+
"<%= config.bin %> deploy --dry-run --detailed-exitcode",
|
|
1989
|
+
"<%= config.bin %> deploy -o json --yes"
|
|
1990
|
+
],
|
|
1991
|
+
"flags": {
|
|
1992
|
+
"file": {
|
|
1993
|
+
"char": "f",
|
|
1994
|
+
"description": "Config file or directory (can be specified multiple times)",
|
|
1995
|
+
"name": "file",
|
|
1996
|
+
"default": [
|
|
1997
|
+
"devhelm.yml"
|
|
1998
|
+
],
|
|
1864
1999
|
"hasDynamicHelp": false,
|
|
1865
|
-
"multiple":
|
|
2000
|
+
"multiple": true,
|
|
1866
2001
|
"type": "option"
|
|
1867
2002
|
},
|
|
1868
|
-
"
|
|
1869
|
-
"
|
|
1870
|
-
"
|
|
1871
|
-
"
|
|
2003
|
+
"yes": {
|
|
2004
|
+
"char": "y",
|
|
2005
|
+
"description": "Skip confirmation prompt (for CI)",
|
|
2006
|
+
"name": "yes",
|
|
2007
|
+
"allowNo": false,
|
|
2008
|
+
"type": "boolean"
|
|
2009
|
+
},
|
|
2010
|
+
"prune": {
|
|
2011
|
+
"description": "Delete CLI-managed resources not present in config",
|
|
2012
|
+
"name": "prune",
|
|
2013
|
+
"allowNo": false,
|
|
2014
|
+
"type": "boolean"
|
|
2015
|
+
},
|
|
2016
|
+
"prune-all": {
|
|
2017
|
+
"description": "Delete ALL resources not in config, including those not managed by the CLI (use with caution)",
|
|
2018
|
+
"name": "prune-all",
|
|
2019
|
+
"allowNo": false,
|
|
2020
|
+
"type": "boolean"
|
|
2021
|
+
},
|
|
2022
|
+
"dry-run": {
|
|
2023
|
+
"description": "Show what would change without applying (same as \"devhelm plan\")",
|
|
2024
|
+
"name": "dry-run",
|
|
2025
|
+
"allowNo": false,
|
|
2026
|
+
"type": "boolean"
|
|
2027
|
+
},
|
|
2028
|
+
"detailed-exitcode": {
|
|
2029
|
+
"description": "Return exit code 10 if dry-run has changes (for CI)",
|
|
2030
|
+
"name": "detailed-exitcode",
|
|
2031
|
+
"allowNo": false,
|
|
2032
|
+
"type": "boolean"
|
|
2033
|
+
},
|
|
2034
|
+
"output": {
|
|
2035
|
+
"char": "o",
|
|
2036
|
+
"description": "Output format (text or json)",
|
|
2037
|
+
"name": "output",
|
|
2038
|
+
"default": "text",
|
|
1872
2039
|
"hasDynamicHelp": false,
|
|
1873
2040
|
"multiple": false,
|
|
1874
2041
|
"options": [
|
|
1875
|
-
"
|
|
1876
|
-
"
|
|
1877
|
-
"MAINTENANCE"
|
|
2042
|
+
"text",
|
|
2043
|
+
"json"
|
|
1878
2044
|
],
|
|
1879
2045
|
"type": "option"
|
|
1880
2046
|
},
|
|
1881
|
-
"
|
|
1882
|
-
"description": "
|
|
1883
|
-
"name": "
|
|
2047
|
+
"force-unlock": {
|
|
2048
|
+
"description": "Force-break an existing deploy lock before acquiring",
|
|
2049
|
+
"name": "force-unlock",
|
|
2050
|
+
"allowNo": false,
|
|
2051
|
+
"type": "boolean"
|
|
2052
|
+
},
|
|
2053
|
+
"no-lock": {
|
|
2054
|
+
"description": "Skip deploy locking (not recommended for team use)",
|
|
2055
|
+
"name": "no-lock",
|
|
2056
|
+
"allowNo": false,
|
|
2057
|
+
"type": "boolean"
|
|
2058
|
+
},
|
|
2059
|
+
"lock-timeout": {
|
|
2060
|
+
"description": "Seconds to wait for a conflicting lock to release (0 = fail immediately)",
|
|
2061
|
+
"name": "lock-timeout",
|
|
2062
|
+
"default": 0,
|
|
1884
2063
|
"hasDynamicHelp": false,
|
|
1885
2064
|
"multiple": false,
|
|
1886
2065
|
"type": "option"
|
|
1887
2066
|
},
|
|
1888
|
-
"
|
|
1889
|
-
"description": "
|
|
1890
|
-
"name": "
|
|
2067
|
+
"api-url": {
|
|
2068
|
+
"description": "Override API base URL",
|
|
2069
|
+
"name": "api-url",
|
|
1891
2070
|
"hasDynamicHelp": false,
|
|
1892
2071
|
"multiple": false,
|
|
1893
2072
|
"type": "option"
|
|
2073
|
+
},
|
|
2074
|
+
"api-token": {
|
|
2075
|
+
"description": "Override API token",
|
|
2076
|
+
"name": "api-token",
|
|
2077
|
+
"hasDynamicHelp": false,
|
|
2078
|
+
"multiple": false,
|
|
2079
|
+
"type": "option"
|
|
2080
|
+
},
|
|
2081
|
+
"verbose": {
|
|
2082
|
+
"char": "v",
|
|
2083
|
+
"description": "Show verbose output",
|
|
2084
|
+
"name": "verbose",
|
|
2085
|
+
"allowNo": false,
|
|
2086
|
+
"type": "boolean"
|
|
1894
2087
|
}
|
|
1895
2088
|
},
|
|
1896
2089
|
"hasDynamicHelp": false,
|
|
1897
2090
|
"hiddenAliases": [],
|
|
1898
|
-
"id": "
|
|
2091
|
+
"id": "deploy",
|
|
1899
2092
|
"pluginAlias": "devhelm",
|
|
1900
2093
|
"pluginName": "devhelm",
|
|
1901
2094
|
"pluginType": "core",
|
|
@@ -1905,22 +2098,16 @@
|
|
|
1905
2098
|
"relativePath": [
|
|
1906
2099
|
"dist",
|
|
1907
2100
|
"commands",
|
|
1908
|
-
"
|
|
1909
|
-
"
|
|
2101
|
+
"deploy",
|
|
2102
|
+
"index.js"
|
|
1910
2103
|
]
|
|
1911
2104
|
},
|
|
1912
|
-
"incidents:
|
|
2105
|
+
"incidents:create": {
|
|
1913
2106
|
"aliases": [],
|
|
1914
|
-
"args": {
|
|
1915
|
-
|
|
1916
|
-
"description": "incident id",
|
|
1917
|
-
"name": "id",
|
|
1918
|
-
"required": true
|
|
1919
|
-
}
|
|
1920
|
-
},
|
|
1921
|
-
"description": "Delete a incident",
|
|
2107
|
+
"args": {},
|
|
2108
|
+
"description": "Create a new incident",
|
|
1922
2109
|
"examples": [
|
|
1923
|
-
"<%= config.bin %> incidents
|
|
2110
|
+
"<%= config.bin %> incidents create"
|
|
1924
2111
|
],
|
|
1925
2112
|
"flags": {
|
|
1926
2113
|
"output": {
|
|
@@ -1957,11 +2144,46 @@
|
|
|
1957
2144
|
"name": "verbose",
|
|
1958
2145
|
"allowNo": false,
|
|
1959
2146
|
"type": "boolean"
|
|
2147
|
+
},
|
|
2148
|
+
"title": {
|
|
2149
|
+
"description": "Short summary of the incident",
|
|
2150
|
+
"name": "title",
|
|
2151
|
+
"required": true,
|
|
2152
|
+
"hasDynamicHelp": false,
|
|
2153
|
+
"multiple": false,
|
|
2154
|
+
"type": "option"
|
|
2155
|
+
},
|
|
2156
|
+
"severity": {
|
|
2157
|
+
"description": "Incident severity: DOWN, DEGRADED, or MAINTENANCE",
|
|
2158
|
+
"name": "severity",
|
|
2159
|
+
"required": true,
|
|
2160
|
+
"hasDynamicHelp": false,
|
|
2161
|
+
"multiple": false,
|
|
2162
|
+
"options": [
|
|
2163
|
+
"DOWN",
|
|
2164
|
+
"DEGRADED",
|
|
2165
|
+
"MAINTENANCE"
|
|
2166
|
+
],
|
|
2167
|
+
"type": "option"
|
|
2168
|
+
},
|
|
2169
|
+
"monitor-id": {
|
|
2170
|
+
"description": "Monitor to associate with this incident",
|
|
2171
|
+
"name": "monitor-id",
|
|
2172
|
+
"hasDynamicHelp": false,
|
|
2173
|
+
"multiple": false,
|
|
2174
|
+
"type": "option"
|
|
2175
|
+
},
|
|
2176
|
+
"body": {
|
|
2177
|
+
"description": "Detailed description or context for the incident",
|
|
2178
|
+
"name": "body",
|
|
2179
|
+
"hasDynamicHelp": false,
|
|
2180
|
+
"multiple": false,
|
|
2181
|
+
"type": "option"
|
|
1960
2182
|
}
|
|
1961
2183
|
},
|
|
1962
2184
|
"hasDynamicHelp": false,
|
|
1963
2185
|
"hiddenAliases": [],
|
|
1964
|
-
"id": "incidents:
|
|
2186
|
+
"id": "incidents:create",
|
|
1965
2187
|
"pluginAlias": "devhelm",
|
|
1966
2188
|
"pluginName": "devhelm",
|
|
1967
2189
|
"pluginType": "core",
|
|
@@ -1972,7 +2194,7 @@
|
|
|
1972
2194
|
"dist",
|
|
1973
2195
|
"commands",
|
|
1974
2196
|
"incidents",
|
|
1975
|
-
"
|
|
2197
|
+
"create.js"
|
|
1976
2198
|
]
|
|
1977
2199
|
},
|
|
1978
2200
|
"incidents:get": {
|
|
@@ -2174,108 +2396,7 @@
|
|
|
2174
2396
|
"resolve.js"
|
|
2175
2397
|
]
|
|
2176
2398
|
},
|
|
2177
|
-
"
|
|
2178
|
-
"aliases": [],
|
|
2179
|
-
"args": {
|
|
2180
|
-
"id": {
|
|
2181
|
-
"description": "incident id",
|
|
2182
|
-
"name": "id",
|
|
2183
|
-
"required": true
|
|
2184
|
-
}
|
|
2185
|
-
},
|
|
2186
|
-
"description": "Update a incident",
|
|
2187
|
-
"examples": [
|
|
2188
|
-
"<%= config.bin %> incidents update <id>"
|
|
2189
|
-
],
|
|
2190
|
-
"flags": {
|
|
2191
|
-
"output": {
|
|
2192
|
-
"char": "o",
|
|
2193
|
-
"description": "Output format",
|
|
2194
|
-
"name": "output",
|
|
2195
|
-
"default": "table",
|
|
2196
|
-
"hasDynamicHelp": false,
|
|
2197
|
-
"multiple": false,
|
|
2198
|
-
"options": [
|
|
2199
|
-
"table",
|
|
2200
|
-
"json",
|
|
2201
|
-
"yaml"
|
|
2202
|
-
],
|
|
2203
|
-
"type": "option"
|
|
2204
|
-
},
|
|
2205
|
-
"api-url": {
|
|
2206
|
-
"description": "Override API base URL",
|
|
2207
|
-
"name": "api-url",
|
|
2208
|
-
"hasDynamicHelp": false,
|
|
2209
|
-
"multiple": false,
|
|
2210
|
-
"type": "option"
|
|
2211
|
-
},
|
|
2212
|
-
"api-token": {
|
|
2213
|
-
"description": "Override API token",
|
|
2214
|
-
"name": "api-token",
|
|
2215
|
-
"hasDynamicHelp": false,
|
|
2216
|
-
"multiple": false,
|
|
2217
|
-
"type": "option"
|
|
2218
|
-
},
|
|
2219
|
-
"verbose": {
|
|
2220
|
-
"char": "v",
|
|
2221
|
-
"description": "Show verbose output",
|
|
2222
|
-
"name": "verbose",
|
|
2223
|
-
"allowNo": false,
|
|
2224
|
-
"type": "boolean"
|
|
2225
|
-
},
|
|
2226
|
-
"title": {
|
|
2227
|
-
"description": "Short summary of the incident",
|
|
2228
|
-
"name": "title",
|
|
2229
|
-
"required": true,
|
|
2230
|
-
"hasDynamicHelp": false,
|
|
2231
|
-
"multiple": false,
|
|
2232
|
-
"type": "option"
|
|
2233
|
-
},
|
|
2234
|
-
"severity": {
|
|
2235
|
-
"description": "Incident severity: DOWN, DEGRADED, or MAINTENANCE",
|
|
2236
|
-
"name": "severity",
|
|
2237
|
-
"required": true,
|
|
2238
|
-
"hasDynamicHelp": false,
|
|
2239
|
-
"multiple": false,
|
|
2240
|
-
"options": [
|
|
2241
|
-
"DOWN",
|
|
2242
|
-
"DEGRADED",
|
|
2243
|
-
"MAINTENANCE"
|
|
2244
|
-
],
|
|
2245
|
-
"type": "option"
|
|
2246
|
-
},
|
|
2247
|
-
"monitor-id": {
|
|
2248
|
-
"description": "Monitor to associate with this incident",
|
|
2249
|
-
"name": "monitor-id",
|
|
2250
|
-
"hasDynamicHelp": false,
|
|
2251
|
-
"multiple": false,
|
|
2252
|
-
"type": "option"
|
|
2253
|
-
},
|
|
2254
|
-
"body": {
|
|
2255
|
-
"description": "Detailed description or context for the incident",
|
|
2256
|
-
"name": "body",
|
|
2257
|
-
"hasDynamicHelp": false,
|
|
2258
|
-
"multiple": false,
|
|
2259
|
-
"type": "option"
|
|
2260
|
-
}
|
|
2261
|
-
},
|
|
2262
|
-
"hasDynamicHelp": false,
|
|
2263
|
-
"hiddenAliases": [],
|
|
2264
|
-
"id": "incidents:update",
|
|
2265
|
-
"pluginAlias": "devhelm",
|
|
2266
|
-
"pluginName": "devhelm",
|
|
2267
|
-
"pluginType": "core",
|
|
2268
|
-
"strict": true,
|
|
2269
|
-
"enableJsonFlag": false,
|
|
2270
|
-
"isESM": true,
|
|
2271
|
-
"relativePath": [
|
|
2272
|
-
"dist",
|
|
2273
|
-
"commands",
|
|
2274
|
-
"incidents",
|
|
2275
|
-
"update.js"
|
|
2276
|
-
]
|
|
2277
|
-
},
|
|
2278
|
-
"monitors:create": {
|
|
2399
|
+
"monitors:create": {
|
|
2279
2400
|
"aliases": [],
|
|
2280
2401
|
"args": {},
|
|
2281
2402
|
"description": "Create a new monitor",
|
|
@@ -3365,7 +3486,7 @@
|
|
|
3365
3486
|
"type": "boolean"
|
|
3366
3487
|
},
|
|
3367
3488
|
"name": {
|
|
3368
|
-
"description": "Human-readable name for this policy",
|
|
3489
|
+
"description": "Human-readable name for this policy; null preserves current",
|
|
3369
3490
|
"name": "name",
|
|
3370
3491
|
"hasDynamicHelp": false,
|
|
3371
3492
|
"multiple": false,
|
|
@@ -3379,7 +3500,7 @@
|
|
|
3379
3500
|
"type": "option"
|
|
3380
3501
|
},
|
|
3381
3502
|
"enabled": {
|
|
3382
|
-
"description": "Whether this policy is enabled",
|
|
3503
|
+
"description": "Whether this policy is enabled; null preserves current",
|
|
3383
3504
|
"name": "enabled",
|
|
3384
3505
|
"allowNo": true,
|
|
3385
3506
|
"type": "boolean"
|
|
@@ -4806,18 +4927,18 @@
|
|
|
4806
4927
|
"update.js"
|
|
4807
4928
|
]
|
|
4808
4929
|
},
|
|
4809
|
-
"
|
|
4930
|
+
"auth:context:create": {
|
|
4810
4931
|
"aliases": [],
|
|
4811
4932
|
"args": {
|
|
4812
|
-
"
|
|
4813
|
-
"description": "
|
|
4814
|
-
"name": "
|
|
4933
|
+
"name": {
|
|
4934
|
+
"description": "Context name",
|
|
4935
|
+
"name": "name",
|
|
4815
4936
|
"required": true
|
|
4816
4937
|
}
|
|
4817
4938
|
},
|
|
4818
|
-
"description": "
|
|
4939
|
+
"description": "Create a new auth context",
|
|
4819
4940
|
"examples": [
|
|
4820
|
-
"<%= config.bin %>
|
|
4941
|
+
"<%= config.bin %> auth context create staging --api-url https://staging-api.devhelm.io --token sk_..."
|
|
4821
4942
|
],
|
|
4822
4943
|
"flags": {
|
|
4823
4944
|
"output": {
|
|
@@ -4854,11 +4975,25 @@
|
|
|
4854
4975
|
"name": "verbose",
|
|
4855
4976
|
"allowNo": false,
|
|
4856
4977
|
"type": "boolean"
|
|
4978
|
+
},
|
|
4979
|
+
"token": {
|
|
4980
|
+
"description": "API token",
|
|
4981
|
+
"name": "token",
|
|
4982
|
+
"required": true,
|
|
4983
|
+
"hasDynamicHelp": false,
|
|
4984
|
+
"multiple": false,
|
|
4985
|
+
"type": "option"
|
|
4986
|
+
},
|
|
4987
|
+
"set-current": {
|
|
4988
|
+
"description": "Set as current context",
|
|
4989
|
+
"name": "set-current",
|
|
4990
|
+
"allowNo": false,
|
|
4991
|
+
"type": "boolean"
|
|
4857
4992
|
}
|
|
4858
4993
|
},
|
|
4859
4994
|
"hasDynamicHelp": false,
|
|
4860
4995
|
"hiddenAliases": [],
|
|
4861
|
-
"id": "
|
|
4996
|
+
"id": "auth:context:create",
|
|
4862
4997
|
"pluginAlias": "devhelm",
|
|
4863
4998
|
"pluginName": "devhelm",
|
|
4864
4999
|
"pluginType": "core",
|
|
@@ -4868,24 +5003,23 @@
|
|
|
4868
5003
|
"relativePath": [
|
|
4869
5004
|
"dist",
|
|
4870
5005
|
"commands",
|
|
4871
|
-
"
|
|
4872
|
-
"
|
|
4873
|
-
"
|
|
5006
|
+
"auth",
|
|
5007
|
+
"context",
|
|
5008
|
+
"create.js"
|
|
4874
5009
|
]
|
|
4875
5010
|
},
|
|
4876
|
-
"
|
|
5011
|
+
"auth:context:delete": {
|
|
4877
5012
|
"aliases": [],
|
|
4878
5013
|
"args": {
|
|
4879
|
-
"
|
|
4880
|
-
"description": "
|
|
4881
|
-
"name": "
|
|
5014
|
+
"name": {
|
|
5015
|
+
"description": "Context name to delete",
|
|
5016
|
+
"name": "name",
|
|
4882
5017
|
"required": true
|
|
4883
5018
|
}
|
|
4884
5019
|
},
|
|
4885
|
-
"description": "
|
|
5020
|
+
"description": "Delete an auth context",
|
|
4886
5021
|
"examples": [
|
|
4887
|
-
"<%= config.bin %>
|
|
4888
|
-
"<%= config.bin %> data services uptime aws-ec2 --period 30d"
|
|
5022
|
+
"<%= config.bin %> auth context delete staging"
|
|
4889
5023
|
],
|
|
4890
5024
|
"flags": {
|
|
4891
5025
|
"output": {
|
|
@@ -4922,26 +5056,72 @@
|
|
|
4922
5056
|
"name": "verbose",
|
|
4923
5057
|
"allowNo": false,
|
|
4924
5058
|
"type": "boolean"
|
|
5059
|
+
}
|
|
5060
|
+
},
|
|
5061
|
+
"hasDynamicHelp": false,
|
|
5062
|
+
"hiddenAliases": [],
|
|
5063
|
+
"id": "auth:context:delete",
|
|
5064
|
+
"pluginAlias": "devhelm",
|
|
5065
|
+
"pluginName": "devhelm",
|
|
5066
|
+
"pluginType": "core",
|
|
5067
|
+
"strict": true,
|
|
5068
|
+
"enableJsonFlag": false,
|
|
5069
|
+
"isESM": true,
|
|
5070
|
+
"relativePath": [
|
|
5071
|
+
"dist",
|
|
5072
|
+
"commands",
|
|
5073
|
+
"auth",
|
|
5074
|
+
"context",
|
|
5075
|
+
"delete.js"
|
|
5076
|
+
]
|
|
5077
|
+
},
|
|
5078
|
+
"auth:context": {
|
|
5079
|
+
"aliases": [],
|
|
5080
|
+
"args": {},
|
|
5081
|
+
"description": "Show the current auth context",
|
|
5082
|
+
"examples": [
|
|
5083
|
+
"<%= config.bin %> auth context"
|
|
5084
|
+
],
|
|
5085
|
+
"flags": {
|
|
5086
|
+
"output": {
|
|
5087
|
+
"char": "o",
|
|
5088
|
+
"description": "Output format",
|
|
5089
|
+
"name": "output",
|
|
5090
|
+
"default": "table",
|
|
5091
|
+
"hasDynamicHelp": false,
|
|
5092
|
+
"multiple": false,
|
|
5093
|
+
"options": [
|
|
5094
|
+
"table",
|
|
5095
|
+
"json",
|
|
5096
|
+
"yaml"
|
|
5097
|
+
],
|
|
5098
|
+
"type": "option"
|
|
4925
5099
|
},
|
|
4926
|
-
"
|
|
4927
|
-
"description": "
|
|
4928
|
-
"name": "
|
|
4929
|
-
"default": "30d",
|
|
5100
|
+
"api-url": {
|
|
5101
|
+
"description": "Override API base URL",
|
|
5102
|
+
"name": "api-url",
|
|
4930
5103
|
"hasDynamicHelp": false,
|
|
4931
5104
|
"multiple": false,
|
|
4932
5105
|
"type": "option"
|
|
4933
5106
|
},
|
|
4934
|
-
"
|
|
4935
|
-
"description": "
|
|
4936
|
-
"name": "
|
|
5107
|
+
"api-token": {
|
|
5108
|
+
"description": "Override API token",
|
|
5109
|
+
"name": "api-token",
|
|
4937
5110
|
"hasDynamicHelp": false,
|
|
4938
5111
|
"multiple": false,
|
|
4939
5112
|
"type": "option"
|
|
5113
|
+
},
|
|
5114
|
+
"verbose": {
|
|
5115
|
+
"char": "v",
|
|
5116
|
+
"description": "Show verbose output",
|
|
5117
|
+
"name": "verbose",
|
|
5118
|
+
"allowNo": false,
|
|
5119
|
+
"type": "boolean"
|
|
4940
5120
|
}
|
|
4941
5121
|
},
|
|
4942
5122
|
"hasDynamicHelp": false,
|
|
4943
5123
|
"hiddenAliases": [],
|
|
4944
|
-
"id": "
|
|
5124
|
+
"id": "auth:context",
|
|
4945
5125
|
"pluginAlias": "devhelm",
|
|
4946
5126
|
"pluginName": "devhelm",
|
|
4947
5127
|
"pluginType": "core",
|
|
@@ -4951,23 +5131,17 @@
|
|
|
4951
5131
|
"relativePath": [
|
|
4952
5132
|
"dist",
|
|
4953
5133
|
"commands",
|
|
4954
|
-
"
|
|
4955
|
-
"
|
|
4956
|
-
"
|
|
5134
|
+
"auth",
|
|
5135
|
+
"context",
|
|
5136
|
+
"index.js"
|
|
4957
5137
|
]
|
|
4958
5138
|
},
|
|
4959
|
-
"auth:context:
|
|
5139
|
+
"auth:context:list": {
|
|
4960
5140
|
"aliases": [],
|
|
4961
|
-
"args": {
|
|
4962
|
-
|
|
4963
|
-
"description": "Context name",
|
|
4964
|
-
"name": "name",
|
|
4965
|
-
"required": true
|
|
4966
|
-
}
|
|
4967
|
-
},
|
|
4968
|
-
"description": "Create a new auth context",
|
|
5141
|
+
"args": {},
|
|
5142
|
+
"description": "List all auth contexts",
|
|
4969
5143
|
"examples": [
|
|
4970
|
-
"<%= config.bin %> auth context
|
|
5144
|
+
"<%= config.bin %> auth context list"
|
|
4971
5145
|
],
|
|
4972
5146
|
"flags": {
|
|
4973
5147
|
"output": {
|
|
@@ -5004,25 +5178,78 @@
|
|
|
5004
5178
|
"name": "verbose",
|
|
5005
5179
|
"allowNo": false,
|
|
5006
5180
|
"type": "boolean"
|
|
5181
|
+
}
|
|
5182
|
+
},
|
|
5183
|
+
"hasDynamicHelp": false,
|
|
5184
|
+
"hiddenAliases": [],
|
|
5185
|
+
"id": "auth:context:list",
|
|
5186
|
+
"pluginAlias": "devhelm",
|
|
5187
|
+
"pluginName": "devhelm",
|
|
5188
|
+
"pluginType": "core",
|
|
5189
|
+
"strict": true,
|
|
5190
|
+
"enableJsonFlag": false,
|
|
5191
|
+
"isESM": true,
|
|
5192
|
+
"relativePath": [
|
|
5193
|
+
"dist",
|
|
5194
|
+
"commands",
|
|
5195
|
+
"auth",
|
|
5196
|
+
"context",
|
|
5197
|
+
"list.js"
|
|
5198
|
+
]
|
|
5199
|
+
},
|
|
5200
|
+
"auth:context:use": {
|
|
5201
|
+
"aliases": [],
|
|
5202
|
+
"args": {
|
|
5203
|
+
"name": {
|
|
5204
|
+
"description": "Context name to activate",
|
|
5205
|
+
"name": "name",
|
|
5206
|
+
"required": true
|
|
5207
|
+
}
|
|
5208
|
+
},
|
|
5209
|
+
"description": "Switch to a different auth context",
|
|
5210
|
+
"examples": [
|
|
5211
|
+
"<%= config.bin %> auth context use staging"
|
|
5212
|
+
],
|
|
5213
|
+
"flags": {
|
|
5214
|
+
"output": {
|
|
5215
|
+
"char": "o",
|
|
5216
|
+
"description": "Output format",
|
|
5217
|
+
"name": "output",
|
|
5218
|
+
"default": "table",
|
|
5219
|
+
"hasDynamicHelp": false,
|
|
5220
|
+
"multiple": false,
|
|
5221
|
+
"options": [
|
|
5222
|
+
"table",
|
|
5223
|
+
"json",
|
|
5224
|
+
"yaml"
|
|
5225
|
+
],
|
|
5226
|
+
"type": "option"
|
|
5007
5227
|
},
|
|
5008
|
-
"
|
|
5009
|
-
"description": "API
|
|
5010
|
-
"name": "
|
|
5011
|
-
"required": true,
|
|
5228
|
+
"api-url": {
|
|
5229
|
+
"description": "Override API base URL",
|
|
5230
|
+
"name": "api-url",
|
|
5012
5231
|
"hasDynamicHelp": false,
|
|
5013
5232
|
"multiple": false,
|
|
5014
5233
|
"type": "option"
|
|
5015
5234
|
},
|
|
5016
|
-
"
|
|
5017
|
-
"description": "
|
|
5018
|
-
"name": "
|
|
5235
|
+
"api-token": {
|
|
5236
|
+
"description": "Override API token",
|
|
5237
|
+
"name": "api-token",
|
|
5238
|
+
"hasDynamicHelp": false,
|
|
5239
|
+
"multiple": false,
|
|
5240
|
+
"type": "option"
|
|
5241
|
+
},
|
|
5242
|
+
"verbose": {
|
|
5243
|
+
"char": "v",
|
|
5244
|
+
"description": "Show verbose output",
|
|
5245
|
+
"name": "verbose",
|
|
5019
5246
|
"allowNo": false,
|
|
5020
5247
|
"type": "boolean"
|
|
5021
5248
|
}
|
|
5022
5249
|
},
|
|
5023
5250
|
"hasDynamicHelp": false,
|
|
5024
5251
|
"hiddenAliases": [],
|
|
5025
|
-
"id": "auth:context:
|
|
5252
|
+
"id": "auth:context:use",
|
|
5026
5253
|
"pluginAlias": "devhelm",
|
|
5027
5254
|
"pluginName": "devhelm",
|
|
5028
5255
|
"pluginType": "core",
|
|
@@ -5034,21 +5261,21 @@
|
|
|
5034
5261
|
"commands",
|
|
5035
5262
|
"auth",
|
|
5036
5263
|
"context",
|
|
5037
|
-
"
|
|
5264
|
+
"use.js"
|
|
5038
5265
|
]
|
|
5039
5266
|
},
|
|
5040
|
-
"
|
|
5267
|
+
"data:services:status": {
|
|
5041
5268
|
"aliases": [],
|
|
5042
5269
|
"args": {
|
|
5043
|
-
"
|
|
5044
|
-
"description": "
|
|
5045
|
-
"name": "
|
|
5270
|
+
"slug": {
|
|
5271
|
+
"description": "Service slug",
|
|
5272
|
+
"name": "slug",
|
|
5046
5273
|
"required": true
|
|
5047
5274
|
}
|
|
5048
5275
|
},
|
|
5049
|
-
"description": "
|
|
5276
|
+
"description": "Get the current status of a service",
|
|
5050
5277
|
"examples": [
|
|
5051
|
-
"<%= config.bin %>
|
|
5278
|
+
"<%= config.bin %> data services status aws-ec2"
|
|
5052
5279
|
],
|
|
5053
5280
|
"flags": {
|
|
5054
5281
|
"output": {
|
|
@@ -5089,7 +5316,7 @@
|
|
|
5089
5316
|
},
|
|
5090
5317
|
"hasDynamicHelp": false,
|
|
5091
5318
|
"hiddenAliases": [],
|
|
5092
|
-
"id": "
|
|
5319
|
+
"id": "data:services:status",
|
|
5093
5320
|
"pluginAlias": "devhelm",
|
|
5094
5321
|
"pluginName": "devhelm",
|
|
5095
5322
|
"pluginType": "core",
|
|
@@ -5099,17 +5326,24 @@
|
|
|
5099
5326
|
"relativePath": [
|
|
5100
5327
|
"dist",
|
|
5101
5328
|
"commands",
|
|
5102
|
-
"
|
|
5103
|
-
"
|
|
5104
|
-
"
|
|
5329
|
+
"data",
|
|
5330
|
+
"services",
|
|
5331
|
+
"status.js"
|
|
5105
5332
|
]
|
|
5106
5333
|
},
|
|
5107
|
-
"
|
|
5334
|
+
"data:services:uptime": {
|
|
5108
5335
|
"aliases": [],
|
|
5109
|
-
"args": {
|
|
5110
|
-
|
|
5336
|
+
"args": {
|
|
5337
|
+
"slug": {
|
|
5338
|
+
"description": "Service slug",
|
|
5339
|
+
"name": "slug",
|
|
5340
|
+
"required": true
|
|
5341
|
+
}
|
|
5342
|
+
},
|
|
5343
|
+
"description": "Get uptime data for a service",
|
|
5111
5344
|
"examples": [
|
|
5112
|
-
"<%= config.bin %>
|
|
5345
|
+
"<%= config.bin %> data services uptime aws-ec2",
|
|
5346
|
+
"<%= config.bin %> data services uptime aws-ec2 --period 30d"
|
|
5113
5347
|
],
|
|
5114
5348
|
"flags": {
|
|
5115
5349
|
"output": {
|
|
@@ -5146,11 +5380,26 @@
|
|
|
5146
5380
|
"name": "verbose",
|
|
5147
5381
|
"allowNo": false,
|
|
5148
5382
|
"type": "boolean"
|
|
5383
|
+
},
|
|
5384
|
+
"period": {
|
|
5385
|
+
"description": "Time period (7d, 30d, 90d)",
|
|
5386
|
+
"name": "period",
|
|
5387
|
+
"default": "30d",
|
|
5388
|
+
"hasDynamicHelp": false,
|
|
5389
|
+
"multiple": false,
|
|
5390
|
+
"type": "option"
|
|
5391
|
+
},
|
|
5392
|
+
"granularity": {
|
|
5393
|
+
"description": "Data granularity (hourly, daily)",
|
|
5394
|
+
"name": "granularity",
|
|
5395
|
+
"hasDynamicHelp": false,
|
|
5396
|
+
"multiple": false,
|
|
5397
|
+
"type": "option"
|
|
5149
5398
|
}
|
|
5150
5399
|
},
|
|
5151
5400
|
"hasDynamicHelp": false,
|
|
5152
5401
|
"hiddenAliases": [],
|
|
5153
|
-
"id": "
|
|
5402
|
+
"id": "data:services:uptime",
|
|
5154
5403
|
"pluginAlias": "devhelm",
|
|
5155
5404
|
"pluginName": "devhelm",
|
|
5156
5405
|
"pluginType": "core",
|
|
@@ -5160,17 +5409,29 @@
|
|
|
5160
5409
|
"relativePath": [
|
|
5161
5410
|
"dist",
|
|
5162
5411
|
"commands",
|
|
5163
|
-
"
|
|
5164
|
-
"
|
|
5165
|
-
"
|
|
5412
|
+
"data",
|
|
5413
|
+
"services",
|
|
5414
|
+
"uptime.js"
|
|
5166
5415
|
]
|
|
5167
5416
|
},
|
|
5168
|
-
"
|
|
5417
|
+
"monitors:versions:get": {
|
|
5169
5418
|
"aliases": [],
|
|
5170
|
-
"args": {
|
|
5171
|
-
|
|
5419
|
+
"args": {
|
|
5420
|
+
"id": {
|
|
5421
|
+
"description": "Monitor ID",
|
|
5422
|
+
"name": "id",
|
|
5423
|
+
"required": true
|
|
5424
|
+
},
|
|
5425
|
+
"version": {
|
|
5426
|
+
"description": "Version number",
|
|
5427
|
+
"name": "version",
|
|
5428
|
+
"required": true
|
|
5429
|
+
}
|
|
5430
|
+
},
|
|
5431
|
+
"description": "Get a specific version snapshot for a monitor",
|
|
5172
5432
|
"examples": [
|
|
5173
|
-
"<%= config.bin %>
|
|
5433
|
+
"<%= config.bin %> monitors versions get 42 3",
|
|
5434
|
+
"<%= config.bin %> monitors versions get 42 3 -o json"
|
|
5174
5435
|
],
|
|
5175
5436
|
"flags": {
|
|
5176
5437
|
"output": {
|
|
@@ -5211,7 +5472,7 @@
|
|
|
5211
5472
|
},
|
|
5212
5473
|
"hasDynamicHelp": false,
|
|
5213
5474
|
"hiddenAliases": [],
|
|
5214
|
-
"id": "
|
|
5475
|
+
"id": "monitors:versions:get",
|
|
5215
5476
|
"pluginAlias": "devhelm",
|
|
5216
5477
|
"pluginName": "devhelm",
|
|
5217
5478
|
"pluginType": "core",
|
|
@@ -5221,23 +5482,25 @@
|
|
|
5221
5482
|
"relativePath": [
|
|
5222
5483
|
"dist",
|
|
5223
5484
|
"commands",
|
|
5224
|
-
"
|
|
5225
|
-
"
|
|
5226
|
-
"
|
|
5485
|
+
"monitors",
|
|
5486
|
+
"versions",
|
|
5487
|
+
"get.js"
|
|
5227
5488
|
]
|
|
5228
5489
|
},
|
|
5229
|
-
"
|
|
5490
|
+
"monitors:versions:list": {
|
|
5230
5491
|
"aliases": [],
|
|
5231
5492
|
"args": {
|
|
5232
|
-
"
|
|
5233
|
-
"description": "
|
|
5234
|
-
"name": "
|
|
5493
|
+
"id": {
|
|
5494
|
+
"description": "Monitor ID",
|
|
5495
|
+
"name": "id",
|
|
5235
5496
|
"required": true
|
|
5236
5497
|
}
|
|
5237
5498
|
},
|
|
5238
|
-
"description": "
|
|
5499
|
+
"description": "List version history for a monitor",
|
|
5239
5500
|
"examples": [
|
|
5240
|
-
"<%= config.bin %>
|
|
5501
|
+
"<%= config.bin %> monitors versions list 42",
|
|
5502
|
+
"<%= config.bin %> monitors versions list 42 --limit 5",
|
|
5503
|
+
"<%= config.bin %> monitors versions list 42 -o json"
|
|
5241
5504
|
],
|
|
5242
5505
|
"flags": {
|
|
5243
5506
|
"output": {
|
|
@@ -5274,11 +5537,19 @@
|
|
|
5274
5537
|
"name": "verbose",
|
|
5275
5538
|
"allowNo": false,
|
|
5276
5539
|
"type": "boolean"
|
|
5540
|
+
},
|
|
5541
|
+
"limit": {
|
|
5542
|
+
"description": "Number of versions to show",
|
|
5543
|
+
"name": "limit",
|
|
5544
|
+
"default": 20,
|
|
5545
|
+
"hasDynamicHelp": false,
|
|
5546
|
+
"multiple": false,
|
|
5547
|
+
"type": "option"
|
|
5277
5548
|
}
|
|
5278
5549
|
},
|
|
5279
5550
|
"hasDynamicHelp": false,
|
|
5280
5551
|
"hiddenAliases": [],
|
|
5281
|
-
"id": "
|
|
5552
|
+
"id": "monitors:versions:list",
|
|
5282
5553
|
"pluginAlias": "devhelm",
|
|
5283
5554
|
"pluginName": "devhelm",
|
|
5284
5555
|
"pluginType": "core",
|
|
@@ -5288,11 +5559,11 @@
|
|
|
5288
5559
|
"relativePath": [
|
|
5289
5560
|
"dist",
|
|
5290
5561
|
"commands",
|
|
5291
|
-
"
|
|
5292
|
-
"
|
|
5293
|
-
"
|
|
5562
|
+
"monitors",
|
|
5563
|
+
"versions",
|
|
5564
|
+
"list.js"
|
|
5294
5565
|
]
|
|
5295
5566
|
}
|
|
5296
5567
|
},
|
|
5297
|
-
"version": "0.1.
|
|
5568
|
+
"version": "0.1.5"
|
|
5298
5569
|
}
|