@dxos/cli 0.1.54 → 0.1.55-main.0618d91

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.
Files changed (226) hide show
  1. package/README.md +426 -176
  2. package/bin/dev +1 -2
  3. package/dist/src/base-command.d.ts +10 -1
  4. package/dist/src/base-command.d.ts.map +1 -1
  5. package/dist/src/base-command.js +59 -11
  6. package/dist/src/base-command.js.map +1 -1
  7. package/dist/src/commands/agent/list.d.ts +19 -1
  8. package/dist/src/commands/agent/list.d.ts.map +1 -1
  9. package/dist/src/commands/agent/list.js +25 -39
  10. package/dist/src/commands/agent/list.js.map +1 -1
  11. package/dist/src/commands/agent/restart.d.ts +1 -0
  12. package/dist/src/commands/agent/restart.d.ts.map +1 -1
  13. package/dist/src/commands/agent/restart.js +2 -2
  14. package/dist/src/commands/agent/restart.js.map +1 -1
  15. package/dist/src/commands/agent/start.d.ts +4 -2
  16. package/dist/src/commands/agent/start.d.ts.map +1 -1
  17. package/dist/src/commands/agent/start.js +21 -8
  18. package/dist/src/commands/agent/start.js.map +1 -1
  19. package/dist/src/commands/agent/stop.d.ts +1 -0
  20. package/dist/src/commands/agent/stop.d.ts.map +1 -1
  21. package/dist/src/commands/agent/stop.js +10 -5
  22. package/dist/src/commands/agent/stop.js.map +1 -1
  23. package/dist/src/commands/app/create.d.ts +1 -0
  24. package/dist/src/commands/app/create.d.ts.map +1 -1
  25. package/dist/src/commands/app/create.js +3 -3
  26. package/dist/src/commands/app/create.js.map +1 -1
  27. package/dist/src/commands/app/open.d.ts +1 -0
  28. package/dist/src/commands/app/open.d.ts.map +1 -1
  29. package/dist/src/commands/app/publish.d.ts +1 -0
  30. package/dist/src/commands/app/publish.d.ts.map +1 -1
  31. package/dist/src/commands/debug/{stats.d.ts → diagnostics.d.ts} +8 -6
  32. package/dist/src/commands/debug/diagnostics.d.ts.map +1 -0
  33. package/dist/src/commands/debug/diagnostics.js +56 -0
  34. package/dist/src/commands/debug/diagnostics.js.map +1 -0
  35. package/dist/src/commands/debug/generate.d.ts +25 -0
  36. package/dist/src/commands/debug/generate.d.ts.map +1 -0
  37. package/dist/src/commands/debug/generate.js +75 -0
  38. package/dist/src/commands/debug/generate.js.map +1 -0
  39. package/dist/src/commands/debug/metrics.d.ts +10 -0
  40. package/dist/src/commands/debug/metrics.d.ts.map +1 -0
  41. package/dist/src/commands/debug/metrics.js +43 -0
  42. package/dist/src/commands/debug/metrics.js.map +1 -0
  43. package/dist/src/commands/{tunnel/set.d.ts → debug/status.d.ts} +4 -5
  44. package/dist/src/commands/debug/status.d.ts.map +1 -0
  45. package/dist/src/commands/debug/status.js +34 -0
  46. package/dist/src/commands/debug/status.js.map +1 -0
  47. package/dist/src/commands/device/list.d.ts +18 -0
  48. package/dist/src/commands/device/list.d.ts.map +1 -1
  49. package/dist/src/commands/device/list.js +5 -0
  50. package/dist/src/commands/device/list.js.map +1 -1
  51. package/dist/src/commands/function/dev-server.d.ts +1 -0
  52. package/dist/src/commands/function/dev-server.d.ts.map +1 -1
  53. package/dist/src/commands/halo/credential/list.d.ts +9 -0
  54. package/dist/src/commands/halo/credential/list.d.ts.map +1 -1
  55. package/dist/src/commands/halo/credential/list.js +7 -7
  56. package/dist/src/commands/halo/credential/list.js.map +1 -1
  57. package/dist/src/commands/halo/{index.d.ts → identity.d.ts} +2 -2
  58. package/dist/src/commands/halo/identity.d.ts.map +1 -0
  59. package/dist/src/commands/halo/{index.js → identity.js} +7 -6
  60. package/dist/src/commands/halo/identity.js.map +1 -0
  61. package/dist/src/commands/halo/join.d.ts +2 -0
  62. package/dist/src/commands/halo/join.d.ts.map +1 -1
  63. package/dist/src/commands/halo/join.js +20 -13
  64. package/dist/src/commands/halo/join.js.map +1 -1
  65. package/dist/src/commands/halo/share.d.ts +1 -0
  66. package/dist/src/commands/halo/share.d.ts.map +1 -1
  67. package/dist/src/commands/halo/share.js +1 -1
  68. package/dist/src/commands/halo/share.js.map +1 -1
  69. package/dist/src/commands/kube/auth.js +1 -1
  70. package/dist/src/commands/kube/auth.js.map +1 -1
  71. package/dist/src/commands/kube/deploy.d.ts +1 -0
  72. package/dist/src/commands/kube/deploy.d.ts.map +1 -1
  73. package/dist/src/commands/kube/deploy.js +16 -25
  74. package/dist/src/commands/kube/deploy.js.map +1 -1
  75. package/dist/src/commands/reset/index.d.ts +1 -0
  76. package/dist/src/commands/reset/index.d.ts.map +1 -1
  77. package/dist/src/commands/reset/index.js +12 -7
  78. package/dist/src/commands/reset/index.js.map +1 -1
  79. package/dist/src/commands/shell/index.d.ts +0 -1
  80. package/dist/src/commands/shell/index.d.ts.map +1 -1
  81. package/dist/src/commands/shell/index.js +0 -4
  82. package/dist/src/commands/shell/index.js.map +1 -1
  83. package/dist/src/commands/space/close.d.ts +9 -0
  84. package/dist/src/commands/space/close.d.ts.map +1 -0
  85. package/dist/src/commands/space/close.js +20 -0
  86. package/dist/src/commands/space/close.js.map +1 -0
  87. package/dist/src/commands/space/create.d.ts.map +1 -1
  88. package/dist/src/commands/space/create.js +9 -5
  89. package/dist/src/commands/space/create.js.map +1 -1
  90. package/dist/src/commands/space/epoch.d.ts +0 -17
  91. package/dist/src/commands/space/epoch.d.ts.map +1 -1
  92. package/dist/src/commands/space/epoch.js +2 -21
  93. package/dist/src/commands/space/epoch.js.map +1 -1
  94. package/dist/src/commands/space/info.d.ts +10 -0
  95. package/dist/src/commands/space/info.d.ts.map +1 -0
  96. package/dist/src/commands/space/info.js +29 -0
  97. package/dist/src/commands/space/info.js.map +1 -0
  98. package/dist/src/commands/space/join.d.ts +1 -0
  99. package/dist/src/commands/space/join.d.ts.map +1 -1
  100. package/dist/src/commands/space/join.js +18 -22
  101. package/dist/src/commands/space/join.js.map +1 -1
  102. package/dist/src/commands/space/list.d.ts +4 -0
  103. package/dist/src/commands/space/list.d.ts.map +1 -1
  104. package/dist/src/commands/space/list.js +48 -4
  105. package/dist/src/commands/space/list.js.map +1 -1
  106. package/dist/src/commands/space/members.d.ts +4 -3
  107. package/dist/src/commands/space/members.d.ts.map +1 -1
  108. package/dist/src/commands/space/members.js +6 -19
  109. package/dist/src/commands/space/members.js.map +1 -1
  110. package/dist/src/commands/space/{invite.d.ts → open.d.ts} +3 -3
  111. package/dist/src/commands/space/open.d.ts.map +1 -0
  112. package/dist/src/commands/space/open.js +20 -0
  113. package/dist/src/commands/space/open.js.map +1 -0
  114. package/dist/src/commands/space/query.d.ts +10 -0
  115. package/dist/src/commands/space/query.d.ts.map +1 -0
  116. package/dist/src/commands/space/query.js +39 -0
  117. package/dist/src/commands/space/query.js.map +1 -0
  118. package/dist/src/commands/space/share.d.ts +21 -0
  119. package/dist/src/commands/space/share.d.ts.map +1 -0
  120. package/dist/src/commands/space/share.js +62 -0
  121. package/dist/src/commands/space/share.js.map +1 -0
  122. package/dist/src/commands/tunnel/index.d.ts +21 -0
  123. package/dist/src/commands/tunnel/index.d.ts.map +1 -0
  124. package/dist/src/commands/tunnel/index.js +41 -0
  125. package/dist/src/commands/tunnel/index.js.map +1 -0
  126. package/dist/src/commands/tunnel/list.d.ts.map +1 -1
  127. package/dist/src/commands/tunnel/list.js +3 -4
  128. package/dist/src/commands/tunnel/list.js.map +1 -1
  129. package/dist/src/components/App.d.ts +10 -0
  130. package/dist/src/components/App.d.ts.map +1 -0
  131. package/dist/src/components/App.js +38 -0
  132. package/dist/src/components/App.js.map +1 -0
  133. package/dist/src/components/SpaceTable.d.ts +10 -0
  134. package/dist/src/components/SpaceTable.d.ts.map +1 -0
  135. package/dist/src/components/SpaceTable.js +60 -0
  136. package/dist/src/components/SpaceTable.js.map +1 -0
  137. package/dist/src/components/SystemTable.d.ts +8 -0
  138. package/dist/src/components/SystemTable.d.ts.map +1 -0
  139. package/dist/src/components/SystemTable.js +87 -0
  140. package/dist/src/components/SystemTable.js.map +1 -0
  141. package/dist/src/components/index.d.ts +4 -0
  142. package/dist/src/components/index.d.ts.map +1 -0
  143. package/dist/src/components/index.js +23 -0
  144. package/dist/src/components/index.js.map +1 -0
  145. package/dist/src/errors.d.ts +4 -0
  146. package/dist/src/errors.d.ts.map +1 -0
  147. package/dist/src/errors.js +13 -0
  148. package/dist/src/errors.js.map +1 -0
  149. package/dist/src/help.d.ts.map +1 -1
  150. package/dist/src/help.js +9 -1
  151. package/dist/src/help.js.map +1 -1
  152. package/dist/src/timeouts.d.ts +2 -0
  153. package/dist/src/timeouts.d.ts.map +1 -0
  154. package/dist/src/timeouts.js +9 -0
  155. package/dist/src/timeouts.js.map +1 -0
  156. package/dist/src/util/agents.d.ts +3 -0
  157. package/dist/src/util/agents.d.ts.map +1 -0
  158. package/dist/src/util/agents.js +44 -0
  159. package/dist/src/util/agents.js.map +1 -0
  160. package/dist/src/util/credentials.d.ts +11 -0
  161. package/dist/src/util/credentials.d.ts.map +1 -0
  162. package/dist/src/util/credentials.js +63 -0
  163. package/dist/src/util/credentials.js.map +1 -0
  164. package/dist/src/util/devices.d.ts +7 -0
  165. package/dist/src/util/devices.d.ts.map +1 -0
  166. package/dist/src/util/devices.js +29 -0
  167. package/dist/src/util/devices.js.map +1 -0
  168. package/dist/src/util/index.d.ts +8 -5
  169. package/dist/src/util/index.d.ts.map +1 -1
  170. package/dist/src/util/index.js +8 -5
  171. package/dist/src/util/index.js.map +1 -1
  172. package/dist/src/util/{invitation.d.ts → invitations.d.ts} +1 -1
  173. package/dist/src/util/invitations.d.ts.map +1 -0
  174. package/dist/src/util/{invitation.js → invitations.js} +2 -2
  175. package/dist/src/util/invitations.js.map +1 -0
  176. package/dist/src/util/provider/digital-ocean.js +11 -7
  177. package/dist/src/util/provider/digital-ocean.js.map +1 -1
  178. package/dist/src/util/random.d.ts +13 -0
  179. package/dist/src/util/random.d.ts.map +1 -0
  180. package/dist/src/util/random.js +27 -0
  181. package/dist/src/util/random.js.map +1 -0
  182. package/dist/src/util/spaces.d.ts +29 -0
  183. package/dist/src/util/spaces.d.ts.map +1 -0
  184. package/dist/src/util/spaces.js +173 -0
  185. package/dist/src/util/spaces.js.map +1 -0
  186. package/dist/src/util/telemetryrc.json +2 -2
  187. package/dist/src/util/{test-util.d.ts → testing.d.ts} +1 -1
  188. package/dist/src/util/testing.d.ts.map +1 -0
  189. package/dist/src/util/{test-util.js → testing.js} +1 -1
  190. package/dist/src/util/testing.js.map +1 -0
  191. package/dist/src/util/{util.d.ts → types.d.ts} +1 -3
  192. package/dist/src/util/types.d.ts.map +1 -0
  193. package/dist/src/util/types.js +20 -0
  194. package/dist/src/util/types.js.map +1 -0
  195. package/oclif.manifest.json +1435 -527
  196. package/package.json +21 -25
  197. package/dist/src/commands/debug/stats.d.ts.map +0 -1
  198. package/dist/src/commands/debug/stats.js +0 -58
  199. package/dist/src/commands/debug/stats.js.map +0 -1
  200. package/dist/src/commands/halo/index.d.ts.map +0 -1
  201. package/dist/src/commands/halo/index.js.map +0 -1
  202. package/dist/src/commands/space/index.d.ts +0 -6
  203. package/dist/src/commands/space/index.d.ts.map +0 -1
  204. package/dist/src/commands/space/index.js +0 -19
  205. package/dist/src/commands/space/index.js.map +0 -1
  206. package/dist/src/commands/space/invite.d.ts.map +0 -1
  207. package/dist/src/commands/space/invite.js +0 -48
  208. package/dist/src/commands/space/invite.js.map +0 -1
  209. package/dist/src/commands/tunnel/set.d.ts.map +0 -1
  210. package/dist/src/commands/tunnel/set.js +0 -42
  211. package/dist/src/commands/tunnel/set.js.map +0 -1
  212. package/dist/src/util/credential.d.ts +0 -4
  213. package/dist/src/util/credential.d.ts.map +0 -1
  214. package/dist/src/util/credential.js +0 -33
  215. package/dist/src/util/credential.js.map +0 -1
  216. package/dist/src/util/invitation.d.ts.map +0 -1
  217. package/dist/src/util/invitation.js.map +0 -1
  218. package/dist/src/util/print.d.ts +0 -26
  219. package/dist/src/util/print.d.ts.map +0 -1
  220. package/dist/src/util/print.js +0 -118
  221. package/dist/src/util/print.js.map +0 -1
  222. package/dist/src/util/test-util.d.ts.map +0 -1
  223. package/dist/src/util/test-util.js.map +0 -1
  224. package/dist/src/util/util.d.ts.map +0 -1
  225. package/dist/src/util/util.js +0 -41
  226. package/dist/src/util/util.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.54",
2
+ "version": "0.1.55-main.0618d91",
3
3
  "commands": {
4
4
  "agent:list": {
5
5
  "id": "agent:list",
@@ -13,8 +13,7 @@
13
13
  "json": {
14
14
  "name": "json",
15
15
  "type": "boolean",
16
- "description": "Format output as json.",
17
- "helpGroup": "GLOBAL",
16
+ "description": "Output as JSON.",
18
17
  "allowNo": false
19
18
  },
20
19
  "dry-run": {
@@ -54,18 +53,103 @@
54
53
  "no-agent": {
55
54
  "name": "no-agent",
56
55
  "type": "boolean",
57
- "description": "Auto-start agent.",
56
+ "description": "Run command without agent.",
58
57
  "allowNo": false
59
58
  },
60
59
  "timeout": {
61
60
  "name": "timeout",
62
61
  "type": "option",
63
- "description": "Timeout in seconds.",
62
+ "description": "Timeout (ms).",
64
63
  "multiple": false,
65
- "default": 30,
64
+ "default": 60000,
66
65
  "aliases": [
67
66
  "t"
68
67
  ]
68
+ },
69
+ "no-wait": {
70
+ "name": "no-wait",
71
+ "type": "boolean",
72
+ "description": "Do not wait for space to be ready.",
73
+ "allowNo": false
74
+ },
75
+ "columns": {
76
+ "name": "columns",
77
+ "type": "option",
78
+ "description": "only show provided columns (comma-separated)",
79
+ "multiple": false,
80
+ "exclusive": [
81
+ "extended"
82
+ ]
83
+ },
84
+ "sort": {
85
+ "name": "sort",
86
+ "type": "option",
87
+ "description": "property to sort by (prepend '-' for descending)",
88
+ "multiple": false
89
+ },
90
+ "filter": {
91
+ "name": "filter",
92
+ "type": "option",
93
+ "description": "filter property by partial string matching, ex: name=foo",
94
+ "multiple": false
95
+ },
96
+ "csv": {
97
+ "name": "csv",
98
+ "type": "boolean",
99
+ "description": "output is csv format [alias: --output=csv]",
100
+ "allowNo": false,
101
+ "exclusive": [
102
+ "no-truncate"
103
+ ]
104
+ },
105
+ "output": {
106
+ "name": "output",
107
+ "type": "option",
108
+ "description": "output in a more machine friendly format",
109
+ "multiple": false,
110
+ "options": [
111
+ "csv",
112
+ "json",
113
+ "yaml"
114
+ ],
115
+ "exclusive": [
116
+ "no-truncate",
117
+ "csv"
118
+ ]
119
+ },
120
+ "extended": {
121
+ "name": "extended",
122
+ "type": "boolean",
123
+ "char": "x",
124
+ "description": "show extra columns",
125
+ "allowNo": false,
126
+ "exclusive": [
127
+ "columns"
128
+ ]
129
+ },
130
+ "no-truncate": {
131
+ "name": "no-truncate",
132
+ "type": "boolean",
133
+ "description": "do not truncate output to fit screen",
134
+ "allowNo": false,
135
+ "exclusive": [
136
+ "csv"
137
+ ]
138
+ },
139
+ "no-header": {
140
+ "name": "no-header",
141
+ "type": "boolean",
142
+ "description": "hide table header from output",
143
+ "allowNo": false,
144
+ "exclusive": [
145
+ "csv"
146
+ ]
147
+ },
148
+ "live": {
149
+ "name": "live",
150
+ "type": "boolean",
151
+ "description": "Live update.",
152
+ "allowNo": false
69
153
  }
70
154
  },
71
155
  "args": {}
@@ -122,19 +206,25 @@
122
206
  "no-agent": {
123
207
  "name": "no-agent",
124
208
  "type": "boolean",
125
- "description": "Auto-start agent.",
209
+ "description": "Run command without agent.",
126
210
  "allowNo": false
127
211
  },
128
212
  "timeout": {
129
213
  "name": "timeout",
130
214
  "type": "option",
131
- "description": "Timeout in seconds.",
215
+ "description": "Timeout (ms).",
132
216
  "multiple": false,
133
- "default": 30,
217
+ "default": 60000,
134
218
  "aliases": [
135
219
  "t"
136
220
  ]
137
221
  },
222
+ "no-wait": {
223
+ "name": "no-wait",
224
+ "type": "boolean",
225
+ "description": "Do not wait for space to be ready.",
226
+ "allowNo": false
227
+ },
138
228
  "force": {
139
229
  "name": "force",
140
230
  "type": "boolean",
@@ -196,19 +286,25 @@
196
286
  "no-agent": {
197
287
  "name": "no-agent",
198
288
  "type": "boolean",
199
- "description": "Auto-start agent.",
289
+ "description": "Run command without agent.",
200
290
  "allowNo": false
201
291
  },
202
292
  "timeout": {
203
293
  "name": "timeout",
204
294
  "type": "option",
205
- "description": "Timeout in seconds.",
295
+ "description": "Timeout (ms).",
206
296
  "multiple": false,
207
- "default": 30,
297
+ "default": 60000,
208
298
  "aliases": [
209
299
  "t"
210
300
  ]
211
301
  },
302
+ "no-wait": {
303
+ "name": "no-wait",
304
+ "type": "boolean",
305
+ "description": "Do not wait for space to be ready.",
306
+ "allowNo": false
307
+ },
212
308
  "foreground": {
213
309
  "name": "foreground",
214
310
  "type": "boolean",
@@ -216,14 +312,14 @@
216
312
  "description": "Run in foreground.",
217
313
  "allowNo": false
218
314
  },
219
- "web-socket": {
220
- "name": "web-socket",
315
+ "ws": {
316
+ "name": "ws",
221
317
  "type": "option",
222
318
  "description": "Expose web socket port.",
223
319
  "helpValue": "port",
224
320
  "multiple": false,
225
321
  "aliases": [
226
- "ws"
322
+ "web-socket"
227
323
  ]
228
324
  },
229
325
  "echo": {
@@ -238,6 +334,12 @@
238
334
  "type": "boolean",
239
335
  "description": "Run epoch monitoring.",
240
336
  "allowNo": false
337
+ },
338
+ "metrics": {
339
+ "name": "metrics",
340
+ "type": "boolean",
341
+ "description": "Start metrics recording.",
342
+ "allowNo": false
241
343
  }
242
344
  },
243
345
  "args": {}
@@ -294,19 +396,25 @@
294
396
  "no-agent": {
295
397
  "name": "no-agent",
296
398
  "type": "boolean",
297
- "description": "Auto-start agent.",
399
+ "description": "Run command without agent.",
298
400
  "allowNo": false
299
401
  },
300
402
  "timeout": {
301
403
  "name": "timeout",
302
404
  "type": "option",
303
- "description": "Timeout in seconds.",
405
+ "description": "Timeout (ms).",
304
406
  "multiple": false,
305
- "default": 30,
407
+ "default": 60000,
306
408
  "aliases": [
307
409
  "t"
308
410
  ]
309
411
  },
412
+ "no-wait": {
413
+ "name": "no-wait",
414
+ "type": "boolean",
415
+ "description": "Do not wait for space to be ready.",
416
+ "allowNo": false
417
+ },
310
418
  "all": {
311
419
  "name": "all",
312
420
  "type": "boolean",
@@ -374,19 +482,25 @@
374
482
  "no-agent": {
375
483
  "name": "no-agent",
376
484
  "type": "boolean",
377
- "description": "Auto-start agent.",
485
+ "description": "Run command without agent.",
378
486
  "allowNo": false
379
487
  },
380
488
  "timeout": {
381
489
  "name": "timeout",
382
490
  "type": "option",
383
- "description": "Timeout in seconds.",
491
+ "description": "Timeout (ms).",
384
492
  "multiple": false,
385
- "default": 30,
493
+ "default": 60000,
386
494
  "aliases": [
387
495
  "t"
388
496
  ]
389
497
  },
498
+ "no-wait": {
499
+ "name": "no-wait",
500
+ "type": "boolean",
501
+ "description": "Do not wait for space to be ready.",
502
+ "allowNo": false
503
+ },
390
504
  "tag": {
391
505
  "name": "tag",
392
506
  "type": "option",
@@ -475,18 +589,24 @@
475
589
  "no-agent": {
476
590
  "name": "no-agent",
477
591
  "type": "boolean",
478
- "description": "Auto-start agent.",
592
+ "description": "Run command without agent.",
479
593
  "allowNo": false
480
594
  },
481
595
  "timeout": {
482
596
  "name": "timeout",
483
597
  "type": "option",
484
- "description": "Timeout in seconds.",
598
+ "description": "Timeout (ms).",
485
599
  "multiple": false,
486
- "default": 30,
600
+ "default": 60000,
487
601
  "aliases": [
488
602
  "t"
489
603
  ]
604
+ },
605
+ "no-wait": {
606
+ "name": "no-wait",
607
+ "type": "boolean",
608
+ "description": "Do not wait for space to be ready.",
609
+ "allowNo": false
490
610
  }
491
611
  },
492
612
  "args": {}
@@ -544,19 +664,25 @@
544
664
  "no-agent": {
545
665
  "name": "no-agent",
546
666
  "type": "boolean",
547
- "description": "Auto-start agent.",
667
+ "description": "Run command without agent.",
548
668
  "allowNo": false
549
669
  },
550
670
  "timeout": {
551
671
  "name": "timeout",
552
672
  "type": "option",
553
- "description": "Timeout in seconds.",
673
+ "description": "Timeout (ms).",
554
674
  "multiple": false,
555
- "default": 30,
675
+ "default": 60000,
556
676
  "aliases": [
557
677
  "t"
558
678
  ]
559
679
  },
680
+ "no-wait": {
681
+ "name": "no-wait",
682
+ "type": "boolean",
683
+ "description": "Do not wait for space to be ready.",
684
+ "allowNo": false
685
+ },
560
686
  "instances": {
561
687
  "name": "instances",
562
688
  "type": "option",
@@ -631,19 +757,25 @@
631
757
  "no-agent": {
632
758
  "name": "no-agent",
633
759
  "type": "boolean",
634
- "description": "Auto-start agent.",
760
+ "description": "Run command without agent.",
635
761
  "allowNo": false
636
762
  },
637
763
  "timeout": {
638
764
  "name": "timeout",
639
765
  "type": "option",
640
- "description": "Timeout in seconds.",
766
+ "description": "Timeout (ms).",
641
767
  "multiple": false,
642
- "default": 30,
768
+ "default": 60000,
643
769
  "aliases": [
644
770
  "t"
645
771
  ]
646
772
  },
773
+ "no-wait": {
774
+ "name": "no-wait",
775
+ "type": "boolean",
776
+ "description": "Do not wait for space to be ready.",
777
+ "allowNo": false
778
+ },
647
779
  "configPath": {
648
780
  "name": "configPath",
649
781
  "type": "option",
@@ -724,30 +856,46 @@
724
856
  "no-agent": {
725
857
  "name": "no-agent",
726
858
  "type": "boolean",
727
- "description": "Auto-start agent.",
859
+ "description": "Run command without agent.",
728
860
  "allowNo": false
729
861
  },
730
862
  "timeout": {
731
863
  "name": "timeout",
732
864
  "type": "option",
733
- "description": "Timeout in seconds.",
865
+ "description": "Timeout (ms).",
734
866
  "multiple": false,
735
- "default": 30,
867
+ "default": 60000,
736
868
  "aliases": [
737
869
  "t"
738
870
  ]
871
+ },
872
+ "no-wait": {
873
+ "name": "no-wait",
874
+ "type": "boolean",
875
+ "description": "Do not wait for space to be ready.",
876
+ "allowNo": false
739
877
  }
740
878
  },
741
879
  "args": {}
742
880
  },
743
- "debug:stats": {
744
- "id": "debug:stats",
745
- "description": "Output debug stats.",
881
+ "debug:diagnostics": {
882
+ "id": "debug:diagnostics",
883
+ "description": "Create diagnostics report.",
746
884
  "strict": true,
747
885
  "pluginName": "@dxos/cli",
748
886
  "pluginAlias": "@dxos/cli",
749
887
  "pluginType": "core",
750
888
  "aliases": [],
889
+ "examples": [
890
+ {
891
+ "description": "Inspect diagnostics.",
892
+ "command": "dx debug diagnostics --json --truncate | jq -r '.metrics'"
893
+ },
894
+ {
895
+ "description": "Upload diagnostics to GitHub.",
896
+ "command": "dx debug diagnostics --json --truncate | gh gist create --filename diagnostics.json"
897
+ }
898
+ ],
751
899
  "flags": {
752
900
  "json": {
753
901
  "name": "json",
@@ -764,7 +912,8 @@
764
912
  "verbose": {
765
913
  "name": "verbose",
766
914
  "type": "boolean",
767
- "description": "Verbose output.",
915
+ "char": "v",
916
+ "description": "Verbose output",
768
917
  "allowNo": false
769
918
  },
770
919
  "profile": {
@@ -791,23 +940,29 @@
791
940
  "no-agent": {
792
941
  "name": "no-agent",
793
942
  "type": "boolean",
794
- "description": "Auto-start agent.",
943
+ "description": "Run command without agent.",
795
944
  "allowNo": false
796
945
  },
797
946
  "timeout": {
798
947
  "name": "timeout",
799
948
  "type": "option",
800
- "description": "Timeout in seconds.",
949
+ "description": "Timeout (ms).",
801
950
  "multiple": false,
802
- "default": 30,
951
+ "default": 60000,
803
952
  "aliases": [
804
953
  "t"
805
954
  ]
806
955
  },
956
+ "no-wait": {
957
+ "name": "no-wait",
958
+ "type": "boolean",
959
+ "description": "Do not wait for space to be ready.",
960
+ "allowNo": false
961
+ },
807
962
  "humanize": {
808
963
  "name": "humanize",
809
964
  "type": "boolean",
810
- "description": "Humanized keys.",
965
+ "description": "Humanize keys.",
811
966
  "allowNo": false
812
967
  },
813
968
  "truncate": {
@@ -819,9 +974,9 @@
819
974
  },
820
975
  "args": {}
821
976
  },
822
- "device": {
823
- "id": "device",
824
- "description": "Show device info.",
977
+ "debug:generate": {
978
+ "id": "debug:generate",
979
+ "description": "Generate test data.",
825
980
  "strict": true,
826
981
  "pluginName": "@dxos/cli",
827
982
  "pluginAlias": "@dxos/cli",
@@ -831,8 +986,7 @@
831
986
  "json": {
832
987
  "name": "json",
833
988
  "type": "boolean",
834
- "description": "Format output as json.",
835
- "helpGroup": "GLOBAL",
989
+ "description": "Output as JSON.",
836
990
  "allowNo": false
837
991
  },
838
992
  "dry-run": {
@@ -872,25 +1026,70 @@
872
1026
  "no-agent": {
873
1027
  "name": "no-agent",
874
1028
  "type": "boolean",
875
- "description": "Auto-start agent.",
1029
+ "description": "Run command without agent.",
876
1030
  "allowNo": false
877
1031
  },
878
1032
  "timeout": {
879
1033
  "name": "timeout",
880
1034
  "type": "option",
881
- "description": "Timeout in seconds.",
1035
+ "description": "Timeout (ms).",
882
1036
  "multiple": false,
883
- "default": 30,
1037
+ "default": 60000,
884
1038
  "aliases": [
885
1039
  "t"
886
1040
  ]
1041
+ },
1042
+ "no-wait": {
1043
+ "name": "no-wait",
1044
+ "type": "boolean",
1045
+ "description": "Do not wait for space to be ready.",
1046
+ "allowNo": false
1047
+ },
1048
+ "interval": {
1049
+ "name": "interval",
1050
+ "type": "option",
1051
+ "description": "Interval between mutations (ms).",
1052
+ "multiple": false,
1053
+ "default": 0
1054
+ },
1055
+ "jitter": {
1056
+ "name": "jitter",
1057
+ "type": "option",
1058
+ "description": "Inverval variance (ms).",
1059
+ "multiple": false,
1060
+ "default": 0
1061
+ },
1062
+ "objects": {
1063
+ "name": "objects",
1064
+ "type": "option",
1065
+ "description": "Number of objects.",
1066
+ "multiple": false,
1067
+ "default": 0
1068
+ },
1069
+ "mutations": {
1070
+ "name": "mutations",
1071
+ "type": "option",
1072
+ "description": "Number of mutations.",
1073
+ "multiple": false,
1074
+ "default": 0
1075
+ },
1076
+ "epoch": {
1077
+ "name": "epoch",
1078
+ "type": "option",
1079
+ "description": "Number of mutations per epoch.",
1080
+ "multiple": false
887
1081
  }
888
1082
  },
889
- "args": {}
1083
+ "args": {
1084
+ "key": {
1085
+ "name": "key",
1086
+ "description": "Space key head in hex."
1087
+ }
1088
+ }
890
1089
  },
891
- "device:list": {
892
- "id": "device:list",
893
- "description": "Show device info.",
1090
+ "debug:metrics": {
1091
+ "id": "debug:metrics",
1092
+ "description": "Control metrics.",
894
1093
  "strict": true,
895
1094
  "pluginName": "@dxos/cli",
896
1095
  "pluginAlias": "@dxos/cli",
@@ -941,38 +1140,41 @@
941
1140
  "no-agent": {
942
1141
  "name": "no-agent",
943
1142
  "type": "boolean",
944
- "description": "Auto-start agent.",
1143
+ "description": "Run command without agent.",
945
1144
  "allowNo": false
946
1145
  },
947
1146
  "timeout": {
948
1147
  "name": "timeout",
949
1148
  "type": "option",
950
- "description": "Timeout in seconds.",
1149
+ "description": "Timeout (ms).",
951
1150
  "multiple": false,
952
- "default": 30,
1151
+ "default": 60000,
953
1152
  "aliases": [
954
1153
  "t"
955
1154
  ]
1155
+ },
1156
+ "no-wait": {
1157
+ "name": "no-wait",
1158
+ "type": "boolean",
1159
+ "description": "Do not wait for space to be ready.",
1160
+ "allowNo": false
956
1161
  }
957
1162
  },
958
- "args": {}
1163
+ "args": {
1164
+ "command": {
1165
+ "name": "command",
1166
+ "description": "Control metrics recording."
1167
+ }
1168
+ }
959
1169
  },
960
- "function:dev-server": {
961
- "id": "function:dev-server",
962
- "description": "Development server.",
1170
+ "debug:status": {
1171
+ "id": "debug:status",
1172
+ "description": "Display status.",
963
1173
  "strict": true,
964
1174
  "pluginName": "@dxos/cli",
965
1175
  "pluginAlias": "@dxos/cli",
966
1176
  "pluginType": "core",
967
- "aliases": [
968
- "function:dev"
969
- ],
970
- "examples": [
971
- {
972
- "description": "Run with TypeScript support.",
973
- "command": "dx function dev-server -r ts-node/register --verbose"
974
- }
975
- ],
1177
+ "aliases": [],
976
1178
  "flags": {
977
1179
  "json": {
978
1180
  "name": "json",
@@ -1017,47 +1219,42 @@
1017
1219
  "no-agent": {
1018
1220
  "name": "no-agent",
1019
1221
  "type": "boolean",
1020
- "description": "Auto-start agent.",
1222
+ "description": "Run command without agent.",
1021
1223
  "allowNo": false
1022
1224
  },
1023
1225
  "timeout": {
1024
1226
  "name": "timeout",
1025
1227
  "type": "option",
1026
- "description": "Timeout in seconds.",
1228
+ "description": "Timeout (ms).",
1027
1229
  "multiple": false,
1028
- "default": 30,
1230
+ "default": 60000,
1029
1231
  "aliases": [
1030
1232
  "t"
1031
1233
  ]
1032
1234
  },
1033
- "require": {
1034
- "name": "require",
1035
- "type": "option",
1036
- "multiple": true,
1037
- "default": [
1038
- "ts-node/register"
1039
- ],
1040
- "aliases": [
1041
- "r"
1042
- ]
1235
+ "no-wait": {
1236
+ "name": "no-wait",
1237
+ "type": "boolean",
1238
+ "description": "Do not wait for space to be ready.",
1239
+ "allowNo": false
1043
1240
  },
1044
- "manifest": {
1045
- "name": "manifest",
1241
+ "interval": {
1242
+ "name": "interval",
1046
1243
  "type": "option",
1244
+ "description": "Update interval (ms).",
1047
1245
  "multiple": false,
1048
- "default": "functions.yml"
1246
+ "default": 1000
1049
1247
  }
1050
1248
  },
1051
1249
  "args": {}
1052
1250
  },
1053
- "function:exec": {
1054
- "id": "function:exec",
1055
- "description": "Invoke function.",
1251
+ "device": {
1252
+ "id": "device",
1253
+ "description": "Show device info.",
1056
1254
  "strict": true,
1057
1255
  "pluginName": "@dxos/cli",
1058
1256
  "pluginAlias": "@dxos/cli",
1059
1257
  "pluginType": "core",
1060
- "state": "deprecated",
1061
1258
  "aliases": [],
1062
1259
  "flags": {
1063
1260
  "json": {
@@ -1104,43 +1301,41 @@
1104
1301
  "no-agent": {
1105
1302
  "name": "no-agent",
1106
1303
  "type": "boolean",
1107
- "description": "Auto-start agent.",
1304
+ "description": "Run command without agent.",
1108
1305
  "allowNo": false
1109
1306
  },
1110
1307
  "timeout": {
1111
1308
  "name": "timeout",
1112
1309
  "type": "option",
1113
- "description": "Timeout in seconds.",
1310
+ "description": "Timeout (ms).",
1114
1311
  "multiple": false,
1115
- "default": 30,
1312
+ "default": 60000,
1116
1313
  "aliases": [
1117
1314
  "t"
1118
1315
  ]
1316
+ },
1317
+ "no-wait": {
1318
+ "name": "no-wait",
1319
+ "type": "boolean",
1320
+ "description": "Do not wait for space to be ready.",
1321
+ "allowNo": false
1119
1322
  }
1120
1323
  },
1121
- "args": {
1122
- "name": {
1123
- "name": "name",
1124
- "description": "Function name.",
1125
- "required": true
1126
- }
1127
- }
1324
+ "args": {}
1128
1325
  },
1129
- "function:list": {
1130
- "id": "function:list",
1131
- "description": "List functions.",
1326
+ "device:list": {
1327
+ "id": "device:list",
1328
+ "description": "Show device info.",
1132
1329
  "strict": true,
1133
1330
  "pluginName": "@dxos/cli",
1134
1331
  "pluginAlias": "@dxos/cli",
1135
1332
  "pluginType": "core",
1136
- "state": "deprecated",
1137
1333
  "aliases": [],
1138
1334
  "flags": {
1139
1335
  "json": {
1140
1336
  "name": "json",
1141
1337
  "type": "boolean",
1142
- "description": "Format output as json.",
1143
- "helpGroup": "GLOBAL",
1338
+ "description": "Output as JSON.",
1144
1339
  "allowNo": false
1145
1340
  },
1146
1341
  "dry-run": {
@@ -1180,112 +1375,122 @@
1180
1375
  "no-agent": {
1181
1376
  "name": "no-agent",
1182
1377
  "type": "boolean",
1183
- "description": "Auto-start agent.",
1378
+ "description": "Run command without agent.",
1184
1379
  "allowNo": false
1185
1380
  },
1186
1381
  "timeout": {
1187
1382
  "name": "timeout",
1188
1383
  "type": "option",
1189
- "description": "Timeout in seconds.",
1384
+ "description": "Timeout (ms).",
1190
1385
  "multiple": false,
1191
- "default": 30,
1386
+ "default": 60000,
1192
1387
  "aliases": [
1193
1388
  "t"
1194
1389
  ]
1195
- }
1196
- },
1197
- "args": {}
1198
- },
1199
- "function:logs": {
1200
- "id": "function:logs",
1201
- "description": "Get function logs.",
1202
- "strict": true,
1203
- "pluginName": "@dxos/cli",
1204
- "pluginAlias": "@dxos/cli",
1205
- "pluginType": "core",
1206
- "state": "deprecated",
1207
- "aliases": [],
1208
- "flags": {
1209
- "json": {
1210
- "name": "json",
1211
- "type": "boolean",
1212
- "description": "Format output as json.",
1213
- "helpGroup": "GLOBAL",
1214
- "allowNo": false
1215
- },
1216
- "dry-run": {
1217
- "name": "dry-run",
1218
- "type": "boolean",
1219
- "description": "Dry run.",
1220
- "allowNo": false
1221
1390
  },
1222
- "verbose": {
1223
- "name": "verbose",
1391
+ "no-wait": {
1392
+ "name": "no-wait",
1224
1393
  "type": "boolean",
1225
- "char": "v",
1226
- "description": "Verbose output",
1394
+ "description": "Do not wait for space to be ready.",
1227
1395
  "allowNo": false
1228
1396
  },
1229
- "profile": {
1230
- "name": "profile",
1397
+ "columns": {
1398
+ "name": "columns",
1231
1399
  "type": "option",
1232
- "description": "User profile.",
1400
+ "description": "only show provided columns (comma-separated)",
1233
1401
  "multiple": false,
1234
- "default": "default"
1235
- },
1236
- "config": {
1237
- "name": "config",
1402
+ "exclusive": [
1403
+ "extended"
1404
+ ]
1405
+ },
1406
+ "sort": {
1407
+ "name": "sort",
1238
1408
  "type": "option",
1239
- "description": "Config file.",
1240
- "helpValue": "path",
1409
+ "description": "property to sort by (prepend '-' for descending)",
1410
+ "multiple": false
1411
+ },
1412
+ "filter": {
1413
+ "name": "filter",
1414
+ "type": "option",
1415
+ "description": "filter property by partial string matching, ex: name=foo",
1416
+ "multiple": false
1417
+ },
1418
+ "csv": {
1419
+ "name": "csv",
1420
+ "type": "boolean",
1421
+ "description": "output is csv format [alias: --output=csv]",
1422
+ "allowNo": false,
1423
+ "exclusive": [
1424
+ "no-truncate"
1425
+ ]
1426
+ },
1427
+ "output": {
1428
+ "name": "output",
1429
+ "type": "option",
1430
+ "description": "output in a more machine friendly format",
1241
1431
  "multiple": false,
1242
- "dependsOn": [
1243
- "profile"
1432
+ "options": [
1433
+ "csv",
1434
+ "json",
1435
+ "yaml"
1244
1436
  ],
1245
- "default": "/home/runner/.config/dx/profile/default.yml",
1246
- "aliases": [
1247
- "c"
1437
+ "exclusive": [
1438
+ "no-truncate",
1439
+ "csv"
1248
1440
  ]
1249
1441
  },
1250
- "no-agent": {
1251
- "name": "no-agent",
1442
+ "extended": {
1443
+ "name": "extended",
1252
1444
  "type": "boolean",
1253
- "description": "Auto-start agent.",
1254
- "allowNo": false
1445
+ "char": "x",
1446
+ "description": "show extra columns",
1447
+ "allowNo": false,
1448
+ "exclusive": [
1449
+ "columns"
1450
+ ]
1255
1451
  },
1256
- "timeout": {
1257
- "name": "timeout",
1258
- "type": "option",
1259
- "description": "Timeout in seconds.",
1260
- "multiple": false,
1261
- "default": 30,
1262
- "aliases": [
1263
- "t"
1452
+ "no-truncate": {
1453
+ "name": "no-truncate",
1454
+ "type": "boolean",
1455
+ "description": "do not truncate output to fit screen",
1456
+ "allowNo": false,
1457
+ "exclusive": [
1458
+ "csv"
1459
+ ]
1460
+ },
1461
+ "no-header": {
1462
+ "name": "no-header",
1463
+ "type": "boolean",
1464
+ "description": "hide table header from output",
1465
+ "allowNo": false,
1466
+ "exclusive": [
1467
+ "csv"
1264
1468
  ]
1265
1469
  }
1266
1470
  },
1267
- "args": {
1268
- "name": {
1269
- "name": "name",
1270
- "description": "Function name.",
1271
- "required": true
1272
- }
1273
- }
1471
+ "args": {}
1274
1472
  },
1275
- "halo:create": {
1276
- "id": "halo:create",
1277
- "description": "Create HALO.",
1473
+ "function:dev-server": {
1474
+ "id": "function:dev-server",
1475
+ "description": "Development server.",
1278
1476
  "strict": true,
1279
1477
  "pluginName": "@dxos/cli",
1280
1478
  "pluginAlias": "@dxos/cli",
1281
1479
  "pluginType": "core",
1282
- "aliases": [],
1480
+ "aliases": [
1481
+ "function:dev"
1482
+ ],
1483
+ "examples": [
1484
+ {
1485
+ "description": "Run with TypeScript support.",
1486
+ "command": "dx function dev-server -r ts-node/register --verbose"
1487
+ }
1488
+ ],
1283
1489
  "flags": {
1284
1490
  "json": {
1285
1491
  "name": "json",
1286
1492
  "type": "boolean",
1287
- "description": "Format output as json.",
1288
- "helpGroup": "GLOBAL",
1493
+ "description": "Output as JSON.",
1289
1494
  "allowNo": false
1290
1495
  },
1291
1496
  "dry-run": {
@@ -1325,35 +1530,53 @@
1325
1530
  "no-agent": {
1326
1531
  "name": "no-agent",
1327
1532
  "type": "boolean",
1328
- "description": "Auto-start agent.",
1533
+ "description": "Run command without agent.",
1329
1534
  "allowNo": false
1330
1535
  },
1331
1536
  "timeout": {
1332
1537
  "name": "timeout",
1333
1538
  "type": "option",
1334
- "description": "Timeout in seconds.",
1539
+ "description": "Timeout (ms).",
1335
1540
  "multiple": false,
1336
- "default": 30,
1541
+ "default": 60000,
1337
1542
  "aliases": [
1338
1543
  "t"
1339
1544
  ]
1545
+ },
1546
+ "no-wait": {
1547
+ "name": "no-wait",
1548
+ "type": "boolean",
1549
+ "description": "Do not wait for space to be ready.",
1550
+ "allowNo": false
1551
+ },
1552
+ "require": {
1553
+ "name": "require",
1554
+ "type": "option",
1555
+ "multiple": true,
1556
+ "default": [
1557
+ "ts-node/register"
1558
+ ],
1559
+ "aliases": [
1560
+ "r"
1561
+ ]
1562
+ },
1563
+ "manifest": {
1564
+ "name": "manifest",
1565
+ "type": "option",
1566
+ "multiple": false,
1567
+ "default": "functions.yml"
1340
1568
  }
1341
1569
  },
1342
- "args": {
1343
- "displayName": {
1344
- "name": "displayName",
1345
- "description": "Display name",
1346
- "required": true
1347
- }
1348
- }
1570
+ "args": {}
1349
1571
  },
1350
- "halo": {
1351
- "id": "halo",
1352
- "description": "Show HALO profile.",
1572
+ "function:exec": {
1573
+ "id": "function:exec",
1574
+ "description": "Invoke function.",
1353
1575
  "strict": true,
1354
1576
  "pluginName": "@dxos/cli",
1355
1577
  "pluginAlias": "@dxos/cli",
1356
1578
  "pluginType": "core",
1579
+ "state": "deprecated",
1357
1580
  "aliases": [],
1358
1581
  "flags": {
1359
1582
  "json": {
@@ -1400,35 +1623,49 @@
1400
1623
  "no-agent": {
1401
1624
  "name": "no-agent",
1402
1625
  "type": "boolean",
1403
- "description": "Auto-start agent.",
1626
+ "description": "Run command without agent.",
1404
1627
  "allowNo": false
1405
1628
  },
1406
1629
  "timeout": {
1407
1630
  "name": "timeout",
1408
1631
  "type": "option",
1409
- "description": "Timeout in seconds.",
1632
+ "description": "Timeout (ms).",
1410
1633
  "multiple": false,
1411
- "default": 30,
1634
+ "default": 60000,
1412
1635
  "aliases": [
1413
1636
  "t"
1414
1637
  ]
1638
+ },
1639
+ "no-wait": {
1640
+ "name": "no-wait",
1641
+ "type": "boolean",
1642
+ "description": "Do not wait for space to be ready.",
1643
+ "allowNo": false
1415
1644
  }
1416
1645
  },
1417
- "args": {}
1646
+ "args": {
1647
+ "name": {
1648
+ "name": "name",
1649
+ "description": "Function name.",
1650
+ "required": true
1651
+ }
1652
+ }
1418
1653
  },
1419
- "halo:join": {
1420
- "id": "halo:join",
1421
- "description": "Join HALO (device) invitation.",
1654
+ "function:list": {
1655
+ "id": "function:list",
1656
+ "description": "List functions.",
1422
1657
  "strict": true,
1423
1658
  "pluginName": "@dxos/cli",
1424
1659
  "pluginAlias": "@dxos/cli",
1425
1660
  "pluginType": "core",
1661
+ "state": "deprecated",
1426
1662
  "aliases": [],
1427
1663
  "flags": {
1428
1664
  "json": {
1429
1665
  "name": "json",
1430
1666
  "type": "boolean",
1431
- "description": "Output as JSON.",
1667
+ "description": "Format output as json.",
1668
+ "helpGroup": "GLOBAL",
1432
1669
  "allowNo": false
1433
1670
  },
1434
1671
  "dry-run": {
@@ -1468,35 +1705,36 @@
1468
1705
  "no-agent": {
1469
1706
  "name": "no-agent",
1470
1707
  "type": "boolean",
1471
- "description": "Auto-start agent.",
1708
+ "description": "Run command without agent.",
1472
1709
  "allowNo": false
1473
1710
  },
1474
1711
  "timeout": {
1475
1712
  "name": "timeout",
1476
1713
  "type": "option",
1477
- "description": "Timeout in seconds.",
1714
+ "description": "Timeout (ms).",
1478
1715
  "multiple": false,
1479
- "default": 30,
1716
+ "default": 60000,
1480
1717
  "aliases": [
1481
1718
  "t"
1482
1719
  ]
1483
1720
  },
1484
- "invitation": {
1485
- "name": "invitation",
1486
- "type": "option",
1487
- "description": "Invitation code",
1488
- "multiple": false
1721
+ "no-wait": {
1722
+ "name": "no-wait",
1723
+ "type": "boolean",
1724
+ "description": "Do not wait for space to be ready.",
1725
+ "allowNo": false
1489
1726
  }
1490
1727
  },
1491
1728
  "args": {}
1492
1729
  },
1493
- "halo:share": {
1494
- "id": "halo:share",
1495
- "description": "Create HALO (device) invitation.",
1730
+ "function:logs": {
1731
+ "id": "function:logs",
1732
+ "description": "Get function logs.",
1496
1733
  "strict": true,
1497
1734
  "pluginName": "@dxos/cli",
1498
1735
  "pluginAlias": "@dxos/cli",
1499
1736
  "pluginType": "core",
1737
+ "state": "deprecated",
1500
1738
  "aliases": [],
1501
1739
  "flags": {
1502
1740
  "json": {
@@ -1543,31 +1781,37 @@
1543
1781
  "no-agent": {
1544
1782
  "name": "no-agent",
1545
1783
  "type": "boolean",
1546
- "description": "Auto-start agent.",
1784
+ "description": "Run command without agent.",
1547
1785
  "allowNo": false
1548
1786
  },
1549
1787
  "timeout": {
1550
1788
  "name": "timeout",
1551
1789
  "type": "option",
1552
- "description": "Timeout in seconds.",
1790
+ "description": "Timeout (ms).",
1553
1791
  "multiple": false,
1554
- "default": 30,
1792
+ "default": 60000,
1555
1793
  "aliases": [
1556
1794
  "t"
1557
1795
  ]
1558
1796
  },
1559
- "noCode": {
1560
- "name": "noCode",
1797
+ "no-wait": {
1798
+ "name": "no-wait",
1561
1799
  "type": "boolean",
1562
- "description": "Flag that specifies if secret auth code is not required",
1800
+ "description": "Do not wait for space to be ready.",
1563
1801
  "allowNo": false
1564
1802
  }
1565
1803
  },
1566
- "args": {}
1804
+ "args": {
1805
+ "name": {
1806
+ "name": "name",
1807
+ "description": "Function name.",
1808
+ "required": true
1809
+ }
1810
+ }
1567
1811
  },
1568
- "kube:auth": {
1569
- "id": "kube:auth",
1570
- "description": "Authenticate with KUBE.",
1812
+ "halo:create": {
1813
+ "id": "halo:create",
1814
+ "description": "Create HALO.",
1571
1815
  "strict": true,
1572
1816
  "pluginName": "@dxos/cli",
1573
1817
  "pluginAlias": "@dxos/cli",
@@ -1618,25 +1862,37 @@
1618
1862
  "no-agent": {
1619
1863
  "name": "no-agent",
1620
1864
  "type": "boolean",
1621
- "description": "Auto-start agent.",
1865
+ "description": "Run command without agent.",
1622
1866
  "allowNo": false
1623
1867
  },
1624
1868
  "timeout": {
1625
1869
  "name": "timeout",
1626
1870
  "type": "option",
1627
- "description": "Timeout in seconds.",
1871
+ "description": "Timeout (ms).",
1628
1872
  "multiple": false,
1629
- "default": 30,
1873
+ "default": 60000,
1630
1874
  "aliases": [
1631
1875
  "t"
1632
1876
  ]
1877
+ },
1878
+ "no-wait": {
1879
+ "name": "no-wait",
1880
+ "type": "boolean",
1881
+ "description": "Do not wait for space to be ready.",
1882
+ "allowNo": false
1633
1883
  }
1634
1884
  },
1635
- "args": {}
1885
+ "args": {
1886
+ "displayName": {
1887
+ "name": "displayName",
1888
+ "description": "Display name",
1889
+ "required": true
1890
+ }
1891
+ }
1636
1892
  },
1637
- "kube:deploy": {
1638
- "id": "kube:deploy",
1639
- "description": "Deploy KUBE.",
1893
+ "halo:identity": {
1894
+ "id": "halo:identity",
1895
+ "description": "Show HALO identity.",
1640
1896
  "strict": true,
1641
1897
  "pluginName": "@dxos/cli",
1642
1898
  "pluginAlias": "@dxos/cli",
@@ -1646,7 +1902,8 @@
1646
1902
  "json": {
1647
1903
  "name": "json",
1648
1904
  "type": "boolean",
1649
- "description": "Output as JSON.",
1905
+ "description": "Format output as json.",
1906
+ "helpGroup": "GLOBAL",
1650
1907
  "allowNo": false
1651
1908
  },
1652
1909
  "dry-run": {
@@ -1686,51 +1943,31 @@
1686
1943
  "no-agent": {
1687
1944
  "name": "no-agent",
1688
1945
  "type": "boolean",
1689
- "description": "Auto-start agent.",
1946
+ "description": "Run command without agent.",
1690
1947
  "allowNo": false
1691
1948
  },
1692
1949
  "timeout": {
1693
1950
  "name": "timeout",
1694
1951
  "type": "option",
1695
- "description": "Timeout in seconds.",
1952
+ "description": "Timeout (ms).",
1696
1953
  "multiple": false,
1697
- "default": 30,
1954
+ "default": 60000,
1698
1955
  "aliases": [
1699
1956
  "t"
1700
1957
  ]
1701
1958
  },
1702
- "hostname": {
1703
- "name": "hostname",
1704
- "type": "option",
1705
- "description": "Hostname",
1706
- "required": true,
1707
- "multiple": false
1708
- },
1709
- "provider": {
1710
- "name": "provider",
1711
- "type": "option",
1712
- "description": "Cloud Provider",
1713
- "multiple": false,
1714
- "default": "digitalocean"
1715
- },
1716
- "accessToken": {
1717
- "name": "accessToken",
1718
- "type": "option",
1719
- "description": "Access token for seeding admin identity",
1720
- "multiple": false
1721
- },
1722
- "dev": {
1723
- "name": "dev",
1959
+ "no-wait": {
1960
+ "name": "no-wait",
1724
1961
  "type": "boolean",
1725
- "description": "Deploy latest version from dev channel",
1962
+ "description": "Do not wait for space to be ready.",
1726
1963
  "allowNo": false
1727
1964
  }
1728
1965
  },
1729
1966
  "args": {}
1730
1967
  },
1731
- "reset": {
1732
- "id": "reset",
1733
- "description": "Reset user data.",
1968
+ "halo:join": {
1969
+ "id": "halo:join",
1970
+ "description": "Join HALO (device) invitation.",
1734
1971
  "strict": true,
1735
1972
  "pluginName": "@dxos/cli",
1736
1973
  "pluginAlias": "@dxos/cli",
@@ -1780,31 +2017,43 @@
1780
2017
  "no-agent": {
1781
2018
  "name": "no-agent",
1782
2019
  "type": "boolean",
1783
- "description": "Auto-start agent.",
2020
+ "description": "Run command without agent.",
1784
2021
  "allowNo": false
1785
2022
  },
1786
2023
  "timeout": {
1787
2024
  "name": "timeout",
1788
2025
  "type": "option",
1789
- "description": "Timeout in seconds.",
2026
+ "description": "Timeout (ms).",
1790
2027
  "multiple": false,
1791
- "default": 30,
2028
+ "default": 60000,
1792
2029
  "aliases": [
1793
2030
  "t"
1794
2031
  ]
1795
2032
  },
1796
- "force": {
1797
- "name": "force",
2033
+ "no-wait": {
2034
+ "name": "no-wait",
1798
2035
  "type": "boolean",
1799
- "description": "Force delete.",
2036
+ "description": "Do not wait for space to be ready.",
1800
2037
  "allowNo": false
2038
+ },
2039
+ "invitation": {
2040
+ "name": "invitation",
2041
+ "type": "option",
2042
+ "description": "Invitation code",
2043
+ "multiple": false
2044
+ },
2045
+ "secret": {
2046
+ "name": "secret",
2047
+ "type": "option",
2048
+ "description": "Invitation secret",
2049
+ "multiple": false
1801
2050
  }
1802
2051
  },
1803
2052
  "args": {}
1804
2053
  },
1805
- "shell": {
1806
- "id": "shell",
1807
- "description": "Interactive shell.",
2054
+ "halo:share": {
2055
+ "id": "halo:share",
2056
+ "description": "Create HALO (device) invitation.",
1808
2057
  "strict": true,
1809
2058
  "pluginName": "@dxos/cli",
1810
2059
  "pluginAlias": "@dxos/cli",
@@ -1814,8 +2063,9 @@
1814
2063
  "json": {
1815
2064
  "name": "json",
1816
2065
  "type": "boolean",
1817
- "description": "Output as JSON.",
1818
- "allowNo": false
2066
+ "description": "Format output as json.",
2067
+ "helpGroup": "GLOBAL",
2068
+ "allowNo": false
1819
2069
  },
1820
2070
  "dry-run": {
1821
2071
  "name": "dry-run",
@@ -1854,25 +2104,37 @@
1854
2104
  "no-agent": {
1855
2105
  "name": "no-agent",
1856
2106
  "type": "boolean",
1857
- "description": "Auto-start agent.",
2107
+ "description": "Run command without agent.",
1858
2108
  "allowNo": false
1859
2109
  },
1860
2110
  "timeout": {
1861
2111
  "name": "timeout",
1862
2112
  "type": "option",
1863
- "description": "Timeout in seconds.",
2113
+ "description": "Timeout (ms).",
1864
2114
  "multiple": false,
1865
- "default": 30,
2115
+ "default": 60000,
1866
2116
  "aliases": [
1867
2117
  "t"
1868
2118
  ]
2119
+ },
2120
+ "no-wait": {
2121
+ "name": "no-wait",
2122
+ "type": "boolean",
2123
+ "description": "Do not wait for space to be ready.",
2124
+ "allowNo": false
2125
+ },
2126
+ "noCode": {
2127
+ "name": "noCode",
2128
+ "type": "boolean",
2129
+ "description": "Flag that specifies if secret auth code is not required",
2130
+ "allowNo": false
1869
2131
  }
1870
2132
  },
1871
2133
  "args": {}
1872
2134
  },
1873
- "space:create": {
1874
- "id": "space:create",
1875
- "description": "Create space.",
2135
+ "kube:auth": {
2136
+ "id": "kube:auth",
2137
+ "description": "Authenticate with KUBE.",
1876
2138
  "strict": true,
1877
2139
  "pluginName": "@dxos/cli",
1878
2140
  "pluginAlias": "@dxos/cli",
@@ -1923,29 +2185,31 @@
1923
2185
  "no-agent": {
1924
2186
  "name": "no-agent",
1925
2187
  "type": "boolean",
1926
- "description": "Auto-start agent.",
2188
+ "description": "Run command without agent.",
1927
2189
  "allowNo": false
1928
2190
  },
1929
2191
  "timeout": {
1930
2192
  "name": "timeout",
1931
2193
  "type": "option",
1932
- "description": "Timeout in seconds.",
2194
+ "description": "Timeout (ms).",
1933
2195
  "multiple": false,
1934
- "default": 30,
2196
+ "default": 60000,
1935
2197
  "aliases": [
1936
2198
  "t"
1937
2199
  ]
2200
+ },
2201
+ "no-wait": {
2202
+ "name": "no-wait",
2203
+ "type": "boolean",
2204
+ "description": "Do not wait for space to be ready.",
2205
+ "allowNo": false
1938
2206
  }
1939
2207
  },
1940
- "args": {
1941
- "name": {
1942
- "name": "name"
1943
- }
1944
- }
2208
+ "args": {}
1945
2209
  },
1946
- "space:epoch": {
1947
- "id": "space:epoch",
1948
- "description": "Create new epoch.",
2210
+ "kube:deploy": {
2211
+ "id": "kube:deploy",
2212
+ "description": "Deploy KUBE.",
1949
2213
  "strict": true,
1950
2214
  "pluginName": "@dxos/cli",
1951
2215
  "pluginAlias": "@dxos/cli",
@@ -1995,103 +2259,137 @@
1995
2259
  "no-agent": {
1996
2260
  "name": "no-agent",
1997
2261
  "type": "boolean",
1998
- "description": "Auto-start agent.",
2262
+ "description": "Run command without agent.",
1999
2263
  "allowNo": false
2000
2264
  },
2001
2265
  "timeout": {
2002
2266
  "name": "timeout",
2003
2267
  "type": "option",
2004
- "description": "Timeout in seconds.",
2268
+ "description": "Timeout (ms).",
2005
2269
  "multiple": false,
2006
- "default": 30,
2270
+ "default": 60000,
2007
2271
  "aliases": [
2008
2272
  "t"
2009
2273
  ]
2010
2274
  },
2011
- "columns": {
2012
- "name": "columns",
2013
- "type": "option",
2014
- "description": "only show provided columns (comma-separated)",
2015
- "multiple": false,
2016
- "exclusive": [
2017
- "extended"
2018
- ]
2275
+ "no-wait": {
2276
+ "name": "no-wait",
2277
+ "type": "boolean",
2278
+ "description": "Do not wait for space to be ready.",
2279
+ "allowNo": false
2019
2280
  },
2020
- "sort": {
2021
- "name": "sort",
2281
+ "hostname": {
2282
+ "name": "hostname",
2022
2283
  "type": "option",
2023
- "description": "property to sort by (prepend '-' for descending)",
2284
+ "description": "Hostname",
2285
+ "required": true,
2024
2286
  "multiple": false
2025
2287
  },
2026
- "filter": {
2027
- "name": "filter",
2288
+ "provider": {
2289
+ "name": "provider",
2028
2290
  "type": "option",
2029
- "description": "filter property by partial string matching, ex: name=foo",
2291
+ "description": "Cloud Provider",
2292
+ "multiple": false,
2293
+ "default": "digitalocean"
2294
+ },
2295
+ "accessToken": {
2296
+ "name": "accessToken",
2297
+ "type": "option",
2298
+ "description": "Access token for seeding admin identity",
2030
2299
  "multiple": false
2031
2300
  },
2032
- "csv": {
2033
- "name": "csv",
2301
+ "dev": {
2302
+ "name": "dev",
2034
2303
  "type": "boolean",
2035
- "description": "output is csv format [alias: --output=csv]",
2036
- "allowNo": false,
2037
- "exclusive": [
2038
- "no-truncate"
2039
- ]
2304
+ "description": "Deploy latest version from dev channel",
2305
+ "allowNo": false
2306
+ }
2307
+ },
2308
+ "args": {}
2309
+ },
2310
+ "reset": {
2311
+ "id": "reset",
2312
+ "description": "Reset user data.",
2313
+ "strict": true,
2314
+ "pluginName": "@dxos/cli",
2315
+ "pluginAlias": "@dxos/cli",
2316
+ "pluginType": "core",
2317
+ "aliases": [],
2318
+ "flags": {
2319
+ "json": {
2320
+ "name": "json",
2321
+ "type": "boolean",
2322
+ "description": "Output as JSON.",
2323
+ "allowNo": false
2040
2324
  },
2041
- "output": {
2042
- "name": "output",
2325
+ "dry-run": {
2326
+ "name": "dry-run",
2327
+ "type": "boolean",
2328
+ "description": "Dry run.",
2329
+ "allowNo": false
2330
+ },
2331
+ "verbose": {
2332
+ "name": "verbose",
2333
+ "type": "boolean",
2334
+ "char": "v",
2335
+ "description": "Verbose output",
2336
+ "allowNo": false
2337
+ },
2338
+ "profile": {
2339
+ "name": "profile",
2043
2340
  "type": "option",
2044
- "description": "output in a more machine friendly format",
2341
+ "description": "User profile.",
2045
2342
  "multiple": false,
2046
- "options": [
2047
- "csv",
2048
- "json",
2049
- "yaml"
2343
+ "default": "default"
2344
+ },
2345
+ "config": {
2346
+ "name": "config",
2347
+ "type": "option",
2348
+ "description": "Config file.",
2349
+ "helpValue": "path",
2350
+ "multiple": false,
2351
+ "dependsOn": [
2352
+ "profile"
2050
2353
  ],
2051
- "exclusive": [
2052
- "no-truncate",
2053
- "csv"
2354
+ "default": "/home/runner/.config/dx/profile/default.yml",
2355
+ "aliases": [
2356
+ "c"
2054
2357
  ]
2055
2358
  },
2056
- "extended": {
2057
- "name": "extended",
2359
+ "no-agent": {
2360
+ "name": "no-agent",
2058
2361
  "type": "boolean",
2059
- "char": "x",
2060
- "description": "show extra columns",
2061
- "allowNo": false,
2062
- "exclusive": [
2063
- "columns"
2362
+ "description": "Run command without agent.",
2363
+ "allowNo": false
2364
+ },
2365
+ "timeout": {
2366
+ "name": "timeout",
2367
+ "type": "option",
2368
+ "description": "Timeout (ms).",
2369
+ "multiple": false,
2370
+ "default": 60000,
2371
+ "aliases": [
2372
+ "t"
2064
2373
  ]
2065
2374
  },
2066
- "no-truncate": {
2067
- "name": "no-truncate",
2375
+ "no-wait": {
2376
+ "name": "no-wait",
2068
2377
  "type": "boolean",
2069
- "description": "do not truncate output to fit screen",
2070
- "allowNo": false,
2071
- "exclusive": [
2072
- "csv"
2073
- ]
2378
+ "description": "Do not wait for space to be ready.",
2379
+ "allowNo": false
2074
2380
  },
2075
- "no-header": {
2076
- "name": "no-header",
2381
+ "force": {
2382
+ "name": "force",
2077
2383
  "type": "boolean",
2078
- "description": "hide table header from output",
2079
- "allowNo": false,
2080
- "exclusive": [
2081
- "csv"
2082
- ]
2384
+ "description": "Force delete.",
2385
+ "allowNo": false
2083
2386
  }
2084
2387
  },
2085
- "args": {
2086
- "key": {
2087
- "name": "key",
2088
- "description": "Space key head in hex."
2089
- }
2090
- }
2388
+ "args": {}
2091
2389
  },
2092
- "space": {
2093
- "id": "space",
2094
- "description": "List spaces.",
2390
+ "shell": {
2391
+ "id": "shell",
2392
+ "description": "Interactive shell.",
2095
2393
  "strict": true,
2096
2394
  "pluginName": "@dxos/cli",
2097
2395
  "pluginAlias": "@dxos/cli",
@@ -2141,25 +2439,31 @@
2141
2439
  "no-agent": {
2142
2440
  "name": "no-agent",
2143
2441
  "type": "boolean",
2144
- "description": "Auto-start agent.",
2442
+ "description": "Run command without agent.",
2145
2443
  "allowNo": false
2146
2444
  },
2147
2445
  "timeout": {
2148
2446
  "name": "timeout",
2149
2447
  "type": "option",
2150
- "description": "Timeout in seconds.",
2448
+ "description": "Timeout (ms).",
2151
2449
  "multiple": false,
2152
- "default": 30,
2450
+ "default": 60000,
2153
2451
  "aliases": [
2154
2452
  "t"
2155
2453
  ]
2454
+ },
2455
+ "no-wait": {
2456
+ "name": "no-wait",
2457
+ "type": "boolean",
2458
+ "description": "Do not wait for space to be ready.",
2459
+ "allowNo": false
2156
2460
  }
2157
2461
  },
2158
2462
  "args": {}
2159
2463
  },
2160
- "space:invite": {
2161
- "id": "space:invite",
2162
- "description": "Create space invitation.",
2464
+ "space:close": {
2465
+ "id": "space:close",
2466
+ "description": "Close space.",
2163
2467
  "strict": true,
2164
2468
  "pluginName": "@dxos/cli",
2165
2469
  "pluginAlias": "@dxos/cli",
@@ -2209,30 +2513,35 @@
2209
2513
  "no-agent": {
2210
2514
  "name": "no-agent",
2211
2515
  "type": "boolean",
2212
- "description": "Auto-start agent.",
2516
+ "description": "Run command without agent.",
2213
2517
  "allowNo": false
2214
2518
  },
2215
2519
  "timeout": {
2216
2520
  "name": "timeout",
2217
2521
  "type": "option",
2218
- "description": "Timeout in seconds.",
2522
+ "description": "Timeout (ms).",
2219
2523
  "multiple": false,
2220
- "default": 30,
2524
+ "default": 60000,
2221
2525
  "aliases": [
2222
2526
  "t"
2223
2527
  ]
2528
+ },
2529
+ "no-wait": {
2530
+ "name": "no-wait",
2531
+ "type": "boolean",
2532
+ "description": "Do not wait for space to be ready.",
2533
+ "allowNo": false
2224
2534
  }
2225
2535
  },
2226
2536
  "args": {
2227
2537
  "key": {
2228
- "name": "key",
2229
- "required": true
2538
+ "name": "key"
2230
2539
  }
2231
2540
  }
2232
2541
  },
2233
- "space:join": {
2234
- "id": "space:join",
2235
- "description": "Join space invitation",
2542
+ "space:create": {
2543
+ "id": "space:create",
2544
+ "description": "Create space.",
2236
2545
  "strict": true,
2237
2546
  "pluginName": "@dxos/cli",
2238
2547
  "pluginAlias": "@dxos/cli",
@@ -2242,7 +2551,8 @@
2242
2551
  "json": {
2243
2552
  "name": "json",
2244
2553
  "type": "boolean",
2245
- "description": "Output as JSON.",
2554
+ "description": "Format output as json.",
2555
+ "helpGroup": "GLOBAL",
2246
2556
  "allowNo": false
2247
2557
  },
2248
2558
  "dry-run": {
@@ -2282,37 +2592,35 @@
2282
2592
  "no-agent": {
2283
2593
  "name": "no-agent",
2284
2594
  "type": "boolean",
2285
- "description": "Auto-start agent.",
2595
+ "description": "Run command without agent.",
2286
2596
  "allowNo": false
2287
2597
  },
2288
2598
  "timeout": {
2289
2599
  "name": "timeout",
2290
2600
  "type": "option",
2291
- "description": "Timeout in seconds.",
2601
+ "description": "Timeout (ms).",
2292
2602
  "multiple": false,
2293
- "default": 30,
2603
+ "default": 60000,
2294
2604
  "aliases": [
2295
2605
  "t"
2296
2606
  ]
2297
2607
  },
2298
- "invitation": {
2299
- "name": "invitation",
2300
- "type": "option",
2301
- "description": "Invitation code",
2302
- "multiple": false
2303
- },
2304
- "secret": {
2305
- "name": "secret",
2306
- "type": "option",
2307
- "description": "Invitation secret",
2308
- "multiple": false
2608
+ "no-wait": {
2609
+ "name": "no-wait",
2610
+ "type": "boolean",
2611
+ "description": "Do not wait for space to be ready.",
2612
+ "allowNo": false
2309
2613
  }
2310
2614
  },
2311
- "args": {}
2615
+ "args": {
2616
+ "name": {
2617
+ "name": "name"
2618
+ }
2619
+ }
2312
2620
  },
2313
- "space:list": {
2314
- "id": "space:list",
2315
- "description": "List spaces.",
2621
+ "space:epoch": {
2622
+ "id": "space:epoch",
2623
+ "description": "Create new epoch.",
2316
2624
  "strict": true,
2317
2625
  "pluginName": "@dxos/cli",
2318
2626
  "pluginAlias": "@dxos/cli",
@@ -2322,7 +2630,8 @@
2322
2630
  "json": {
2323
2631
  "name": "json",
2324
2632
  "type": "boolean",
2325
- "description": "Output as JSON.",
2633
+ "description": "Format output as json.",
2634
+ "helpGroup": "GLOBAL",
2326
2635
  "allowNo": false
2327
2636
  },
2328
2637
  "dry-run": {
@@ -2362,52 +2671,302 @@
2362
2671
  "no-agent": {
2363
2672
  "name": "no-agent",
2364
2673
  "type": "boolean",
2365
- "description": "Auto-start agent.",
2674
+ "description": "Run command without agent.",
2366
2675
  "allowNo": false
2367
2676
  },
2368
2677
  "timeout": {
2369
2678
  "name": "timeout",
2370
2679
  "type": "option",
2371
- "description": "Timeout in seconds.",
2680
+ "description": "Timeout (ms).",
2372
2681
  "multiple": false,
2373
- "default": 30,
2682
+ "default": 60000,
2374
2683
  "aliases": [
2375
2684
  "t"
2376
2685
  ]
2377
2686
  },
2378
- "columns": {
2379
- "name": "columns",
2380
- "type": "option",
2381
- "description": "only show provided columns (comma-separated)",
2382
- "multiple": false,
2383
- "exclusive": [
2384
- "extended"
2385
- ]
2386
- },
2387
- "sort": {
2388
- "name": "sort",
2389
- "type": "option",
2390
- "description": "property to sort by (prepend '-' for descending)",
2391
- "multiple": false
2392
- },
2393
- "filter": {
2394
- "name": "filter",
2395
- "type": "option",
2396
- "description": "filter property by partial string matching, ex: name=foo",
2397
- "multiple": false
2398
- },
2399
- "csv": {
2400
- "name": "csv",
2687
+ "no-wait": {
2688
+ "name": "no-wait",
2401
2689
  "type": "boolean",
2402
- "description": "output is csv format [alias: --output=csv]",
2403
- "allowNo": false,
2404
- "exclusive": [
2405
- "no-truncate"
2406
- ]
2407
- },
2408
- "output": {
2409
- "name": "output",
2410
- "type": "option",
2690
+ "description": "Do not wait for space to be ready.",
2691
+ "allowNo": false
2692
+ }
2693
+ },
2694
+ "args": {
2695
+ "key": {
2696
+ "name": "key",
2697
+ "description": "Space key head in hex."
2698
+ }
2699
+ }
2700
+ },
2701
+ "space:info": {
2702
+ "id": "space:info",
2703
+ "description": "Show space info.",
2704
+ "strict": true,
2705
+ "pluginName": "@dxos/cli",
2706
+ "pluginAlias": "@dxos/cli",
2707
+ "pluginType": "core",
2708
+ "aliases": [],
2709
+ "flags": {
2710
+ "json": {
2711
+ "name": "json",
2712
+ "type": "boolean",
2713
+ "description": "Format output as json.",
2714
+ "helpGroup": "GLOBAL",
2715
+ "allowNo": false
2716
+ },
2717
+ "dry-run": {
2718
+ "name": "dry-run",
2719
+ "type": "boolean",
2720
+ "description": "Dry run.",
2721
+ "allowNo": false
2722
+ },
2723
+ "verbose": {
2724
+ "name": "verbose",
2725
+ "type": "boolean",
2726
+ "char": "v",
2727
+ "description": "Verbose output",
2728
+ "allowNo": false
2729
+ },
2730
+ "profile": {
2731
+ "name": "profile",
2732
+ "type": "option",
2733
+ "description": "User profile.",
2734
+ "multiple": false,
2735
+ "default": "default"
2736
+ },
2737
+ "config": {
2738
+ "name": "config",
2739
+ "type": "option",
2740
+ "description": "Config file.",
2741
+ "helpValue": "path",
2742
+ "multiple": false,
2743
+ "dependsOn": [
2744
+ "profile"
2745
+ ],
2746
+ "default": "/home/runner/.config/dx/profile/default.yml",
2747
+ "aliases": [
2748
+ "c"
2749
+ ]
2750
+ },
2751
+ "no-agent": {
2752
+ "name": "no-agent",
2753
+ "type": "boolean",
2754
+ "description": "Run command without agent.",
2755
+ "allowNo": false
2756
+ },
2757
+ "timeout": {
2758
+ "name": "timeout",
2759
+ "type": "option",
2760
+ "description": "Timeout (ms).",
2761
+ "multiple": false,
2762
+ "default": 60000,
2763
+ "aliases": [
2764
+ "t"
2765
+ ]
2766
+ },
2767
+ "no-wait": {
2768
+ "name": "no-wait",
2769
+ "type": "boolean",
2770
+ "description": "Do not wait for space to be ready.",
2771
+ "allowNo": false
2772
+ }
2773
+ },
2774
+ "args": {
2775
+ "key": {
2776
+ "name": "key"
2777
+ }
2778
+ }
2779
+ },
2780
+ "space:join": {
2781
+ "id": "space:join",
2782
+ "description": "Join space invitation",
2783
+ "strict": true,
2784
+ "pluginName": "@dxos/cli",
2785
+ "pluginAlias": "@dxos/cli",
2786
+ "pluginType": "core",
2787
+ "aliases": [],
2788
+ "flags": {
2789
+ "json": {
2790
+ "name": "json",
2791
+ "type": "boolean",
2792
+ "description": "Output as JSON.",
2793
+ "allowNo": false
2794
+ },
2795
+ "dry-run": {
2796
+ "name": "dry-run",
2797
+ "type": "boolean",
2798
+ "description": "Dry run.",
2799
+ "allowNo": false
2800
+ },
2801
+ "verbose": {
2802
+ "name": "verbose",
2803
+ "type": "boolean",
2804
+ "char": "v",
2805
+ "description": "Verbose output",
2806
+ "allowNo": false
2807
+ },
2808
+ "profile": {
2809
+ "name": "profile",
2810
+ "type": "option",
2811
+ "description": "User profile.",
2812
+ "multiple": false,
2813
+ "default": "default"
2814
+ },
2815
+ "config": {
2816
+ "name": "config",
2817
+ "type": "option",
2818
+ "description": "Config file.",
2819
+ "helpValue": "path",
2820
+ "multiple": false,
2821
+ "dependsOn": [
2822
+ "profile"
2823
+ ],
2824
+ "default": "/home/runner/.config/dx/profile/default.yml",
2825
+ "aliases": [
2826
+ "c"
2827
+ ]
2828
+ },
2829
+ "no-agent": {
2830
+ "name": "no-agent",
2831
+ "type": "boolean",
2832
+ "description": "Run command without agent.",
2833
+ "allowNo": false
2834
+ },
2835
+ "timeout": {
2836
+ "name": "timeout",
2837
+ "type": "option",
2838
+ "description": "Timeout (ms).",
2839
+ "multiple": false,
2840
+ "default": 60000,
2841
+ "aliases": [
2842
+ "t"
2843
+ ]
2844
+ },
2845
+ "no-wait": {
2846
+ "name": "no-wait",
2847
+ "type": "boolean",
2848
+ "description": "Do not wait for space to be ready.",
2849
+ "allowNo": false
2850
+ },
2851
+ "invitation": {
2852
+ "name": "invitation",
2853
+ "type": "option",
2854
+ "description": "Invitation code",
2855
+ "multiple": false
2856
+ },
2857
+ "secret": {
2858
+ "name": "secret",
2859
+ "type": "option",
2860
+ "description": "Invitation secret",
2861
+ "multiple": false
2862
+ }
2863
+ },
2864
+ "args": {}
2865
+ },
2866
+ "space:list": {
2867
+ "id": "space:list",
2868
+ "description": "List spaces.",
2869
+ "strict": true,
2870
+ "pluginName": "@dxos/cli",
2871
+ "pluginAlias": "@dxos/cli",
2872
+ "pluginType": "core",
2873
+ "aliases": [],
2874
+ "flags": {
2875
+ "json": {
2876
+ "name": "json",
2877
+ "type": "boolean",
2878
+ "description": "Output as JSON.",
2879
+ "allowNo": false
2880
+ },
2881
+ "dry-run": {
2882
+ "name": "dry-run",
2883
+ "type": "boolean",
2884
+ "description": "Dry run.",
2885
+ "allowNo": false
2886
+ },
2887
+ "verbose": {
2888
+ "name": "verbose",
2889
+ "type": "boolean",
2890
+ "char": "v",
2891
+ "description": "Verbose output",
2892
+ "allowNo": false
2893
+ },
2894
+ "profile": {
2895
+ "name": "profile",
2896
+ "type": "option",
2897
+ "description": "User profile.",
2898
+ "multiple": false,
2899
+ "default": "default"
2900
+ },
2901
+ "config": {
2902
+ "name": "config",
2903
+ "type": "option",
2904
+ "description": "Config file.",
2905
+ "helpValue": "path",
2906
+ "multiple": false,
2907
+ "dependsOn": [
2908
+ "profile"
2909
+ ],
2910
+ "default": "/home/runner/.config/dx/profile/default.yml",
2911
+ "aliases": [
2912
+ "c"
2913
+ ]
2914
+ },
2915
+ "no-agent": {
2916
+ "name": "no-agent",
2917
+ "type": "boolean",
2918
+ "description": "Run command without agent.",
2919
+ "allowNo": false
2920
+ },
2921
+ "timeout": {
2922
+ "name": "timeout",
2923
+ "type": "option",
2924
+ "description": "Timeout (ms).",
2925
+ "multiple": false,
2926
+ "default": 60000,
2927
+ "aliases": [
2928
+ "t"
2929
+ ]
2930
+ },
2931
+ "no-wait": {
2932
+ "name": "no-wait",
2933
+ "type": "boolean",
2934
+ "description": "Do not wait for space to be ready.",
2935
+ "allowNo": false
2936
+ },
2937
+ "columns": {
2938
+ "name": "columns",
2939
+ "type": "option",
2940
+ "description": "only show provided columns (comma-separated)",
2941
+ "multiple": false,
2942
+ "exclusive": [
2943
+ "extended"
2944
+ ]
2945
+ },
2946
+ "sort": {
2947
+ "name": "sort",
2948
+ "type": "option",
2949
+ "description": "property to sort by (prepend '-' for descending)",
2950
+ "multiple": false
2951
+ },
2952
+ "filter": {
2953
+ "name": "filter",
2954
+ "type": "option",
2955
+ "description": "filter property by partial string matching, ex: name=foo",
2956
+ "multiple": false
2957
+ },
2958
+ "csv": {
2959
+ "name": "csv",
2960
+ "type": "boolean",
2961
+ "description": "output is csv format [alias: --output=csv]",
2962
+ "allowNo": false,
2963
+ "exclusive": [
2964
+ "no-truncate"
2965
+ ]
2966
+ },
2967
+ "output": {
2968
+ "name": "output",
2969
+ "type": "option",
2411
2970
  "description": "output in a more machine friendly format",
2412
2971
  "multiple": false,
2413
2972
  "options": [
@@ -2439,21 +2998,257 @@
2439
2998
  "csv"
2440
2999
  ]
2441
3000
  },
2442
- "no-header": {
2443
- "name": "no-header",
3001
+ "no-header": {
3002
+ "name": "no-header",
3003
+ "type": "boolean",
3004
+ "description": "hide table header from output",
3005
+ "allowNo": false,
3006
+ "exclusive": [
3007
+ "csv"
3008
+ ]
3009
+ },
3010
+ "live": {
3011
+ "name": "live",
3012
+ "type": "boolean",
3013
+ "description": "Live update.",
3014
+ "allowNo": false
3015
+ }
3016
+ },
3017
+ "args": {}
3018
+ },
3019
+ "space:members": {
3020
+ "id": "space:members",
3021
+ "description": "List space members.",
3022
+ "strict": true,
3023
+ "pluginName": "@dxos/cli",
3024
+ "pluginAlias": "@dxos/cli",
3025
+ "pluginType": "core",
3026
+ "aliases": [],
3027
+ "flags": {
3028
+ "json": {
3029
+ "name": "json",
3030
+ "type": "boolean",
3031
+ "description": "Output as JSON.",
3032
+ "allowNo": false
3033
+ },
3034
+ "dry-run": {
3035
+ "name": "dry-run",
3036
+ "type": "boolean",
3037
+ "description": "Dry run.",
3038
+ "allowNo": false
3039
+ },
3040
+ "verbose": {
3041
+ "name": "verbose",
3042
+ "type": "boolean",
3043
+ "char": "v",
3044
+ "description": "Verbose output",
3045
+ "allowNo": false
3046
+ },
3047
+ "profile": {
3048
+ "name": "profile",
3049
+ "type": "option",
3050
+ "description": "User profile.",
3051
+ "multiple": false,
3052
+ "default": "default"
3053
+ },
3054
+ "config": {
3055
+ "name": "config",
3056
+ "type": "option",
3057
+ "description": "Config file.",
3058
+ "helpValue": "path",
3059
+ "multiple": false,
3060
+ "dependsOn": [
3061
+ "profile"
3062
+ ],
3063
+ "default": "/home/runner/.config/dx/profile/default.yml",
3064
+ "aliases": [
3065
+ "c"
3066
+ ]
3067
+ },
3068
+ "no-agent": {
3069
+ "name": "no-agent",
3070
+ "type": "boolean",
3071
+ "description": "Run command without agent.",
3072
+ "allowNo": false
3073
+ },
3074
+ "timeout": {
3075
+ "name": "timeout",
3076
+ "type": "option",
3077
+ "description": "Timeout (ms).",
3078
+ "multiple": false,
3079
+ "default": 60000,
3080
+ "aliases": [
3081
+ "t"
3082
+ ]
3083
+ },
3084
+ "no-wait": {
3085
+ "name": "no-wait",
3086
+ "type": "boolean",
3087
+ "description": "Do not wait for space to be ready.",
3088
+ "allowNo": false
3089
+ },
3090
+ "columns": {
3091
+ "name": "columns",
3092
+ "type": "option",
3093
+ "description": "only show provided columns (comma-separated)",
3094
+ "multiple": false,
3095
+ "exclusive": [
3096
+ "extended"
3097
+ ]
3098
+ },
3099
+ "sort": {
3100
+ "name": "sort",
3101
+ "type": "option",
3102
+ "description": "property to sort by (prepend '-' for descending)",
3103
+ "multiple": false
3104
+ },
3105
+ "filter": {
3106
+ "name": "filter",
3107
+ "type": "option",
3108
+ "description": "filter property by partial string matching, ex: name=foo",
3109
+ "multiple": false
3110
+ },
3111
+ "csv": {
3112
+ "name": "csv",
3113
+ "type": "boolean",
3114
+ "description": "output is csv format [alias: --output=csv]",
3115
+ "allowNo": false,
3116
+ "exclusive": [
3117
+ "no-truncate"
3118
+ ]
3119
+ },
3120
+ "output": {
3121
+ "name": "output",
3122
+ "type": "option",
3123
+ "description": "output in a more machine friendly format",
3124
+ "multiple": false,
3125
+ "options": [
3126
+ "csv",
3127
+ "json",
3128
+ "yaml"
3129
+ ],
3130
+ "exclusive": [
3131
+ "no-truncate",
3132
+ "csv"
3133
+ ]
3134
+ },
3135
+ "extended": {
3136
+ "name": "extended",
3137
+ "type": "boolean",
3138
+ "char": "x",
3139
+ "description": "show extra columns",
3140
+ "allowNo": false,
3141
+ "exclusive": [
3142
+ "columns"
3143
+ ]
3144
+ },
3145
+ "no-truncate": {
3146
+ "name": "no-truncate",
3147
+ "type": "boolean",
3148
+ "description": "do not truncate output to fit screen",
3149
+ "allowNo": false,
3150
+ "exclusive": [
3151
+ "csv"
3152
+ ]
3153
+ },
3154
+ "no-header": {
3155
+ "name": "no-header",
3156
+ "type": "boolean",
3157
+ "description": "hide table header from output",
3158
+ "allowNo": false,
3159
+ "exclusive": [
3160
+ "csv"
3161
+ ]
3162
+ }
3163
+ },
3164
+ "args": {
3165
+ "key": {
3166
+ "name": "key",
3167
+ "description": "Space key head in hex."
3168
+ }
3169
+ }
3170
+ },
3171
+ "space:open": {
3172
+ "id": "space:open",
3173
+ "description": "Open space.",
3174
+ "strict": true,
3175
+ "pluginName": "@dxos/cli",
3176
+ "pluginAlias": "@dxos/cli",
3177
+ "pluginType": "core",
3178
+ "aliases": [],
3179
+ "flags": {
3180
+ "json": {
3181
+ "name": "json",
3182
+ "type": "boolean",
3183
+ "description": "Output as JSON.",
3184
+ "allowNo": false
3185
+ },
3186
+ "dry-run": {
3187
+ "name": "dry-run",
3188
+ "type": "boolean",
3189
+ "description": "Dry run.",
3190
+ "allowNo": false
3191
+ },
3192
+ "verbose": {
3193
+ "name": "verbose",
3194
+ "type": "boolean",
3195
+ "char": "v",
3196
+ "description": "Verbose output",
3197
+ "allowNo": false
3198
+ },
3199
+ "profile": {
3200
+ "name": "profile",
3201
+ "type": "option",
3202
+ "description": "User profile.",
3203
+ "multiple": false,
3204
+ "default": "default"
3205
+ },
3206
+ "config": {
3207
+ "name": "config",
3208
+ "type": "option",
3209
+ "description": "Config file.",
3210
+ "helpValue": "path",
3211
+ "multiple": false,
3212
+ "dependsOn": [
3213
+ "profile"
3214
+ ],
3215
+ "default": "/home/runner/.config/dx/profile/default.yml",
3216
+ "aliases": [
3217
+ "c"
3218
+ ]
3219
+ },
3220
+ "no-agent": {
3221
+ "name": "no-agent",
3222
+ "type": "boolean",
3223
+ "description": "Run command without agent.",
3224
+ "allowNo": false
3225
+ },
3226
+ "timeout": {
3227
+ "name": "timeout",
3228
+ "type": "option",
3229
+ "description": "Timeout (ms).",
3230
+ "multiple": false,
3231
+ "default": 60000,
3232
+ "aliases": [
3233
+ "t"
3234
+ ]
3235
+ },
3236
+ "no-wait": {
3237
+ "name": "no-wait",
2444
3238
  "type": "boolean",
2445
- "description": "hide table header from output",
2446
- "allowNo": false,
2447
- "exclusive": [
2448
- "csv"
2449
- ]
3239
+ "description": "Do not wait for space to be ready.",
3240
+ "allowNo": false
2450
3241
  }
2451
3242
  },
2452
- "args": {}
3243
+ "args": {
3244
+ "key": {
3245
+ "name": "key"
3246
+ }
3247
+ }
2453
3248
  },
2454
- "space:members": {
2455
- "id": "space:members",
2456
- "description": "List space members.",
3249
+ "space:query": {
3250
+ "id": "space:query",
3251
+ "description": "Query database.",
2457
3252
  "strict": true,
2458
3253
  "pluginName": "@dxos/cli",
2459
3254
  "pluginAlias": "@dxos/cli",
@@ -2463,7 +3258,8 @@
2463
3258
  "json": {
2464
3259
  "name": "json",
2465
3260
  "type": "boolean",
2466
- "description": "Output as JSON.",
3261
+ "description": "Format output as json.",
3262
+ "helpGroup": "GLOBAL",
2467
3263
  "allowNo": false
2468
3264
  },
2469
3265
  "dry-run": {
@@ -2503,91 +3299,112 @@
2503
3299
  "no-agent": {
2504
3300
  "name": "no-agent",
2505
3301
  "type": "boolean",
2506
- "description": "Auto-start agent.",
3302
+ "description": "Run command without agent.",
2507
3303
  "allowNo": false
2508
3304
  },
2509
3305
  "timeout": {
2510
3306
  "name": "timeout",
2511
3307
  "type": "option",
2512
- "description": "Timeout in seconds.",
3308
+ "description": "Timeout (ms).",
2513
3309
  "multiple": false,
2514
- "default": 30,
3310
+ "default": 60000,
2515
3311
  "aliases": [
2516
3312
  "t"
2517
3313
  ]
2518
3314
  },
2519
- "columns": {
2520
- "name": "columns",
2521
- "type": "option",
2522
- "description": "only show provided columns (comma-separated)",
2523
- "multiple": false,
2524
- "exclusive": [
2525
- "extended"
2526
- ]
3315
+ "no-wait": {
3316
+ "name": "no-wait",
3317
+ "type": "boolean",
3318
+ "description": "Do not wait for space to be ready.",
3319
+ "allowNo": false
3320
+ }
3321
+ },
3322
+ "args": {
3323
+ "key": {
3324
+ "name": "key",
3325
+ "description": "Space key head in hex."
3326
+ }
3327
+ }
3328
+ },
3329
+ "space:share": {
3330
+ "id": "space:share",
3331
+ "description": "Create space invitation.",
3332
+ "strict": true,
3333
+ "pluginName": "@dxos/cli",
3334
+ "pluginAlias": "@dxos/cli",
3335
+ "pluginType": "core",
3336
+ "aliases": [],
3337
+ "flags": {
3338
+ "json": {
3339
+ "name": "json",
3340
+ "type": "boolean",
3341
+ "description": "Output as JSON.",
3342
+ "allowNo": false
2527
3343
  },
2528
- "sort": {
2529
- "name": "sort",
3344
+ "dry-run": {
3345
+ "name": "dry-run",
3346
+ "type": "boolean",
3347
+ "description": "Dry run.",
3348
+ "allowNo": false
3349
+ },
3350
+ "verbose": {
3351
+ "name": "verbose",
3352
+ "type": "boolean",
3353
+ "char": "v",
3354
+ "description": "Verbose output",
3355
+ "allowNo": false
3356
+ },
3357
+ "profile": {
3358
+ "name": "profile",
2530
3359
  "type": "option",
2531
- "description": "property to sort by (prepend '-' for descending)",
2532
- "multiple": false
3360
+ "description": "User profile.",
3361
+ "multiple": false,
3362
+ "default": "default"
2533
3363
  },
2534
- "filter": {
2535
- "name": "filter",
3364
+ "config": {
3365
+ "name": "config",
2536
3366
  "type": "option",
2537
- "description": "filter property by partial string matching, ex: name=foo",
2538
- "multiple": false
3367
+ "description": "Config file.",
3368
+ "helpValue": "path",
3369
+ "multiple": false,
3370
+ "dependsOn": [
3371
+ "profile"
3372
+ ],
3373
+ "default": "/home/runner/.config/dx/profile/default.yml",
3374
+ "aliases": [
3375
+ "c"
3376
+ ]
2539
3377
  },
2540
- "csv": {
2541
- "name": "csv",
3378
+ "no-agent": {
3379
+ "name": "no-agent",
2542
3380
  "type": "boolean",
2543
- "description": "output is csv format [alias: --output=csv]",
2544
- "allowNo": false,
2545
- "exclusive": [
2546
- "no-truncate"
2547
- ]
3381
+ "description": "Run command without agent.",
3382
+ "allowNo": false
2548
3383
  },
2549
- "output": {
2550
- "name": "output",
3384
+ "timeout": {
3385
+ "name": "timeout",
2551
3386
  "type": "option",
2552
- "description": "output in a more machine friendly format",
3387
+ "description": "Timeout in milliseconds.",
2553
3388
  "multiple": false,
2554
- "options": [
2555
- "csv",
2556
- "json",
2557
- "yaml"
2558
- ],
2559
- "exclusive": [
2560
- "no-truncate",
2561
- "csv"
2562
- ]
3389
+ "default": 5000
2563
3390
  },
2564
- "extended": {
2565
- "name": "extended",
3391
+ "no-wait": {
3392
+ "name": "no-wait",
2566
3393
  "type": "boolean",
2567
- "char": "x",
2568
- "description": "show extra columns",
2569
- "allowNo": false,
2570
- "exclusive": [
2571
- "columns"
2572
- ]
3394
+ "description": "Do not wait for space to be ready.",
3395
+ "allowNo": false
2573
3396
  },
2574
- "no-truncate": {
2575
- "name": "no-truncate",
3397
+ "multiple": {
3398
+ "name": "multiple",
2576
3399
  "type": "boolean",
2577
- "description": "do not truncate output to fit screen",
2578
- "allowNo": false,
2579
- "exclusive": [
2580
- "csv"
2581
- ]
3400
+ "description": "Multiple use.",
3401
+ "allowNo": false
2582
3402
  },
2583
- "no-header": {
2584
- "name": "no-header",
3403
+ "no-auth": {
3404
+ "name": "no-auth",
2585
3405
  "type": "boolean",
2586
- "description": "hide table header from output",
2587
- "allowNo": false,
2588
- "exclusive": [
2589
- "csv"
2590
- ]
3406
+ "description": "Skip authentication challenge.",
3407
+ "allowNo": false
2591
3408
  }
2592
3409
  },
2593
3410
  "args": {
@@ -2597,9 +3414,9 @@
2597
3414
  }
2598
3415
  }
2599
3416
  },
2600
- "tunnel:list": {
2601
- "id": "tunnel:list",
2602
- "description": "List tunnels.",
3417
+ "tunnel": {
3418
+ "id": "tunnel",
3419
+ "description": "Enable or disable tunnel.",
2603
3420
  "strict": true,
2604
3421
  "pluginName": "@dxos/cli",
2605
3422
  "pluginAlias": "@dxos/cli",
@@ -2609,8 +3426,7 @@
2609
3426
  "json": {
2610
3427
  "name": "json",
2611
3428
  "type": "boolean",
2612
- "description": "Format output as json.",
2613
- "helpGroup": "GLOBAL",
3429
+ "description": "Output as JSON.",
2614
3430
  "allowNo": false
2615
3431
  },
2616
3432
  "dry-run": {
@@ -2650,25 +3466,44 @@
2650
3466
  "no-agent": {
2651
3467
  "name": "no-agent",
2652
3468
  "type": "boolean",
2653
- "description": "Auto-start agent.",
3469
+ "description": "Run command without agent.",
2654
3470
  "allowNo": false
2655
3471
  },
2656
3472
  "timeout": {
2657
3473
  "name": "timeout",
2658
3474
  "type": "option",
2659
- "description": "Timeout in seconds.",
3475
+ "description": "Timeout (ms).",
2660
3476
  "multiple": false,
2661
- "default": 30,
3477
+ "default": 60000,
2662
3478
  "aliases": [
2663
3479
  "t"
2664
3480
  ]
3481
+ },
3482
+ "no-wait": {
3483
+ "name": "no-wait",
3484
+ "type": "boolean",
3485
+ "description": "Do not wait for space to be ready.",
3486
+ "allowNo": false
3487
+ },
3488
+ "name": {
3489
+ "name": "name",
3490
+ "type": "option",
3491
+ "description": "Tunnel name",
3492
+ "multiple": false,
3493
+ "default": "papa-lake-california-texas"
2665
3494
  }
2666
3495
  },
2667
- "args": {}
3496
+ "args": {
3497
+ "command": {
3498
+ "name": "command",
3499
+ "description": "Start.",
3500
+ "required": true
3501
+ }
3502
+ }
2668
3503
  },
2669
- "tunnel:set": {
2670
- "id": "tunnel:set",
2671
- "description": "Enable or disable tunnel.",
3504
+ "tunnel:list": {
3505
+ "id": "tunnel:list",
3506
+ "description": "List tunnels.",
2672
3507
  "strict": true,
2673
3508
  "pluginName": "@dxos/cli",
2674
3509
  "pluginAlias": "@dxos/cli",
@@ -2678,7 +3513,8 @@
2678
3513
  "json": {
2679
3514
  "name": "json",
2680
3515
  "type": "boolean",
2681
- "description": "Output as JSON.",
3516
+ "description": "Format output as json.",
3517
+ "helpGroup": "GLOBAL",
2682
3518
  "allowNo": false
2683
3519
  },
2684
3520
  "dry-run": {
@@ -2718,36 +3554,23 @@
2718
3554
  "no-agent": {
2719
3555
  "name": "no-agent",
2720
3556
  "type": "boolean",
2721
- "description": "Auto-start agent.",
3557
+ "description": "Run command without agent.",
2722
3558
  "allowNo": false
2723
3559
  },
2724
3560
  "timeout": {
2725
3561
  "name": "timeout",
2726
3562
  "type": "option",
2727
- "description": "Timeout in seconds.",
3563
+ "description": "Timeout (ms).",
2728
3564
  "multiple": false,
2729
- "default": 30,
3565
+ "default": 60000,
2730
3566
  "aliases": [
2731
3567
  "t"
2732
3568
  ]
2733
3569
  },
2734
- "app": {
2735
- "name": "app",
2736
- "type": "option",
2737
- "description": "Application name",
2738
- "required": true,
2739
- "multiple": false
2740
- },
2741
- "enabled": {
2742
- "name": "enabled",
2743
- "type": "boolean",
2744
- "description": "Enable tunnel.",
2745
- "allowNo": false
2746
- },
2747
- "disabled": {
2748
- "name": "disabled",
3570
+ "no-wait": {
3571
+ "name": "no-wait",
2749
3572
  "type": "boolean",
2750
- "description": "Disable tunnel.",
3573
+ "description": "Do not wait for space to be ready.",
2751
3574
  "allowNo": false
2752
3575
  }
2753
3576
  },
@@ -2805,18 +3628,24 @@
2805
3628
  "no-agent": {
2806
3629
  "name": "no-agent",
2807
3630
  "type": "boolean",
2808
- "description": "Auto-start agent.",
3631
+ "description": "Run command without agent.",
2809
3632
  "allowNo": false
2810
3633
  },
2811
3634
  "timeout": {
2812
3635
  "name": "timeout",
2813
3636
  "type": "option",
2814
- "description": "Timeout in seconds.",
3637
+ "description": "Timeout (ms).",
2815
3638
  "multiple": false,
2816
- "default": 30,
3639
+ "default": 60000,
2817
3640
  "aliases": [
2818
3641
  "t"
2819
3642
  ]
3643
+ },
3644
+ "no-wait": {
3645
+ "name": "no-wait",
3646
+ "type": "boolean",
3647
+ "description": "Do not wait for space to be ready.",
3648
+ "allowNo": false
2820
3649
  }
2821
3650
  },
2822
3651
  "args": {
@@ -2879,19 +3708,98 @@
2879
3708
  "no-agent": {
2880
3709
  "name": "no-agent",
2881
3710
  "type": "boolean",
2882
- "description": "Auto-start agent.",
3711
+ "description": "Run command without agent.",
2883
3712
  "allowNo": false
2884
3713
  },
2885
3714
  "timeout": {
2886
3715
  "name": "timeout",
2887
3716
  "type": "option",
2888
- "description": "Timeout in seconds.",
3717
+ "description": "Timeout (ms).",
2889
3718
  "multiple": false,
2890
- "default": 30,
3719
+ "default": 60000,
2891
3720
  "aliases": [
2892
3721
  "t"
2893
3722
  ]
2894
3723
  },
3724
+ "no-wait": {
3725
+ "name": "no-wait",
3726
+ "type": "boolean",
3727
+ "description": "Do not wait for space to be ready.",
3728
+ "allowNo": false
3729
+ },
3730
+ "columns": {
3731
+ "name": "columns",
3732
+ "type": "option",
3733
+ "description": "only show provided columns (comma-separated)",
3734
+ "multiple": false,
3735
+ "exclusive": [
3736
+ "extended"
3737
+ ]
3738
+ },
3739
+ "sort": {
3740
+ "name": "sort",
3741
+ "type": "option",
3742
+ "description": "property to sort by (prepend '-' for descending)",
3743
+ "multiple": false
3744
+ },
3745
+ "filter": {
3746
+ "name": "filter",
3747
+ "type": "option",
3748
+ "description": "filter property by partial string matching, ex: name=foo",
3749
+ "multiple": false
3750
+ },
3751
+ "csv": {
3752
+ "name": "csv",
3753
+ "type": "boolean",
3754
+ "description": "output is csv format [alias: --output=csv]",
3755
+ "allowNo": false,
3756
+ "exclusive": [
3757
+ "no-truncate"
3758
+ ]
3759
+ },
3760
+ "output": {
3761
+ "name": "output",
3762
+ "type": "option",
3763
+ "description": "output in a more machine friendly format",
3764
+ "multiple": false,
3765
+ "options": [
3766
+ "csv",
3767
+ "json",
3768
+ "yaml"
3769
+ ],
3770
+ "exclusive": [
3771
+ "no-truncate",
3772
+ "csv"
3773
+ ]
3774
+ },
3775
+ "extended": {
3776
+ "name": "extended",
3777
+ "type": "boolean",
3778
+ "char": "x",
3779
+ "description": "show extra columns",
3780
+ "allowNo": false,
3781
+ "exclusive": [
3782
+ "columns"
3783
+ ]
3784
+ },
3785
+ "no-truncate": {
3786
+ "name": "no-truncate",
3787
+ "type": "boolean",
3788
+ "description": "do not truncate output to fit screen",
3789
+ "allowNo": false,
3790
+ "exclusive": [
3791
+ "csv"
3792
+ ]
3793
+ },
3794
+ "no-header": {
3795
+ "name": "no-header",
3796
+ "type": "boolean",
3797
+ "description": "hide table header from output",
3798
+ "allowNo": false,
3799
+ "exclusive": [
3800
+ "csv"
3801
+ ]
3802
+ },
2895
3803
  "type": {
2896
3804
  "name": "type",
2897
3805
  "type": "option",