@xano/cli 0.0.60 → 0.0.61
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/oclif.manifest.json
CHANGED
|
@@ -1,40 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"auth": {
|
|
4
|
-
"aliases": [],
|
|
5
|
-
"args": {},
|
|
6
|
-
"description": "Authenticate with Xano via browser login",
|
|
7
|
-
"examples": [
|
|
8
|
-
"$ xano auth\nOpening browser for Xano login...\nWaiting for authentication...\nAuthenticated as John Doe (john@example.com)\n? Select an instance: US-1 (Production)\n? Profile name: default\nProfile 'default' created successfully!",
|
|
9
|
-
"$ xano auth --origin https://custom.xano.com\nOpening browser for Xano login at https://custom.xano.com..."
|
|
10
|
-
],
|
|
11
|
-
"flags": {
|
|
12
|
-
"origin": {
|
|
13
|
-
"char": "o",
|
|
14
|
-
"description": "Xano account origin URL",
|
|
15
|
-
"name": "origin",
|
|
16
|
-
"default": "https://app.xano.com",
|
|
17
|
-
"hasDynamicHelp": false,
|
|
18
|
-
"multiple": false,
|
|
19
|
-
"type": "option"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"hasDynamicHelp": false,
|
|
23
|
-
"hiddenAliases": [],
|
|
24
|
-
"id": "auth",
|
|
25
|
-
"pluginAlias": "@xano/cli",
|
|
26
|
-
"pluginName": "@xano/cli",
|
|
27
|
-
"pluginType": "core",
|
|
28
|
-
"strict": true,
|
|
29
|
-
"enableJsonFlag": false,
|
|
30
|
-
"isESM": true,
|
|
31
|
-
"relativePath": [
|
|
32
|
-
"dist",
|
|
33
|
-
"commands",
|
|
34
|
-
"auth",
|
|
35
|
-
"index.js"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
3
|
"update": {
|
|
39
4
|
"aliases": [],
|
|
40
5
|
"args": {},
|
|
@@ -86,14 +51,54 @@
|
|
|
86
51
|
"index.js"
|
|
87
52
|
]
|
|
88
53
|
},
|
|
89
|
-
"
|
|
54
|
+
"auth": {
|
|
90
55
|
"aliases": [],
|
|
91
56
|
"args": {},
|
|
92
|
-
"description": "
|
|
57
|
+
"description": "Authenticate with Xano via browser login",
|
|
93
58
|
"examples": [
|
|
94
|
-
"$ xano
|
|
95
|
-
"$ xano
|
|
96
|
-
|
|
59
|
+
"$ xano auth\nOpening browser for Xano login...\nWaiting for authentication...\nAuthenticated as John Doe (john@example.com)\n? Select an instance: US-1 (Production)\n? Profile name: default\nProfile 'default' created successfully!",
|
|
60
|
+
"$ xano auth --origin https://custom.xano.com\nOpening browser for Xano login at https://custom.xano.com..."
|
|
61
|
+
],
|
|
62
|
+
"flags": {
|
|
63
|
+
"origin": {
|
|
64
|
+
"char": "o",
|
|
65
|
+
"description": "Xano account origin URL",
|
|
66
|
+
"name": "origin",
|
|
67
|
+
"default": "https://app.xano.com",
|
|
68
|
+
"hasDynamicHelp": false,
|
|
69
|
+
"multiple": false,
|
|
70
|
+
"type": "option"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"hasDynamicHelp": false,
|
|
74
|
+
"hiddenAliases": [],
|
|
75
|
+
"id": "auth",
|
|
76
|
+
"pluginAlias": "@xano/cli",
|
|
77
|
+
"pluginName": "@xano/cli",
|
|
78
|
+
"pluginType": "core",
|
|
79
|
+
"strict": true,
|
|
80
|
+
"enableJsonFlag": false,
|
|
81
|
+
"isESM": true,
|
|
82
|
+
"relativePath": [
|
|
83
|
+
"dist",
|
|
84
|
+
"commands",
|
|
85
|
+
"auth",
|
|
86
|
+
"index.js"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"platform:get": {
|
|
90
|
+
"aliases": [],
|
|
91
|
+
"args": {
|
|
92
|
+
"platform_id": {
|
|
93
|
+
"description": "Platform ID to retrieve",
|
|
94
|
+
"name": "platform_id",
|
|
95
|
+
"required": true
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"description": "Get details of a specific platform",
|
|
99
|
+
"examples": [
|
|
100
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
101
|
+
"$ xano platform get 23629 -o json"
|
|
97
102
|
],
|
|
98
103
|
"flags": {
|
|
99
104
|
"profile": {
|
|
@@ -115,33 +120,6 @@
|
|
|
115
120
|
"allowNo": false,
|
|
116
121
|
"type": "boolean"
|
|
117
122
|
},
|
|
118
|
-
"color": {
|
|
119
|
-
"char": "c",
|
|
120
|
-
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
121
|
-
"name": "color",
|
|
122
|
-
"required": false,
|
|
123
|
-
"hasDynamicHelp": false,
|
|
124
|
-
"multiple": false,
|
|
125
|
-
"type": "option"
|
|
126
|
-
},
|
|
127
|
-
"description": {
|
|
128
|
-
"char": "d",
|
|
129
|
-
"description": "Description for the new branch",
|
|
130
|
-
"name": "description",
|
|
131
|
-
"required": false,
|
|
132
|
-
"hasDynamicHelp": false,
|
|
133
|
-
"multiple": false,
|
|
134
|
-
"type": "option"
|
|
135
|
-
},
|
|
136
|
-
"label": {
|
|
137
|
-
"char": "l",
|
|
138
|
-
"description": "Label for the new branch",
|
|
139
|
-
"name": "label",
|
|
140
|
-
"required": true,
|
|
141
|
-
"hasDynamicHelp": false,
|
|
142
|
-
"multiple": false,
|
|
143
|
-
"type": "option"
|
|
144
|
-
},
|
|
145
123
|
"output": {
|
|
146
124
|
"char": "o",
|
|
147
125
|
"description": "Output format",
|
|
@@ -155,30 +133,11 @@
|
|
|
155
133
|
"json"
|
|
156
134
|
],
|
|
157
135
|
"type": "option"
|
|
158
|
-
},
|
|
159
|
-
"source": {
|
|
160
|
-
"char": "s",
|
|
161
|
-
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
162
|
-
"name": "source",
|
|
163
|
-
"required": false,
|
|
164
|
-
"default": "v1",
|
|
165
|
-
"hasDynamicHelp": false,
|
|
166
|
-
"multiple": false,
|
|
167
|
-
"type": "option"
|
|
168
|
-
},
|
|
169
|
-
"workspace": {
|
|
170
|
-
"char": "w",
|
|
171
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
172
|
-
"name": "workspace",
|
|
173
|
-
"required": false,
|
|
174
|
-
"hasDynamicHelp": false,
|
|
175
|
-
"multiple": false,
|
|
176
|
-
"type": "option"
|
|
177
136
|
}
|
|
178
137
|
},
|
|
179
138
|
"hasDynamicHelp": false,
|
|
180
139
|
"hiddenAliases": [],
|
|
181
|
-
"id": "
|
|
140
|
+
"id": "platform:get",
|
|
182
141
|
"pluginAlias": "@xano/cli",
|
|
183
142
|
"pluginName": "@xano/cli",
|
|
184
143
|
"pluginType": "core",
|
|
@@ -188,25 +147,18 @@
|
|
|
188
147
|
"relativePath": [
|
|
189
148
|
"dist",
|
|
190
149
|
"commands",
|
|
191
|
-
"
|
|
192
|
-
"
|
|
150
|
+
"platform",
|
|
151
|
+
"get",
|
|
193
152
|
"index.js"
|
|
194
153
|
]
|
|
195
154
|
},
|
|
196
|
-
"
|
|
155
|
+
"platform:list": {
|
|
197
156
|
"aliases": [],
|
|
198
|
-
"args": {
|
|
199
|
-
|
|
200
|
-
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
201
|
-
"name": "branch_label",
|
|
202
|
-
"required": true
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
157
|
+
"args": {},
|
|
158
|
+
"description": "List all platforms",
|
|
206
159
|
"examples": [
|
|
207
|
-
"$ xano
|
|
208
|
-
"$ xano
|
|
209
|
-
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
160
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
161
|
+
"$ xano platform list --output json"
|
|
210
162
|
],
|
|
211
163
|
"flags": {
|
|
212
164
|
"profile": {
|
|
@@ -228,14 +180,6 @@
|
|
|
228
180
|
"allowNo": false,
|
|
229
181
|
"type": "boolean"
|
|
230
182
|
},
|
|
231
|
-
"force": {
|
|
232
|
-
"char": "f",
|
|
233
|
-
"description": "Skip confirmation prompt",
|
|
234
|
-
"name": "force",
|
|
235
|
-
"required": false,
|
|
236
|
-
"allowNo": false,
|
|
237
|
-
"type": "boolean"
|
|
238
|
-
},
|
|
239
183
|
"output": {
|
|
240
184
|
"char": "o",
|
|
241
185
|
"description": "Output format",
|
|
@@ -249,20 +193,11 @@
|
|
|
249
193
|
"json"
|
|
250
194
|
],
|
|
251
195
|
"type": "option"
|
|
252
|
-
},
|
|
253
|
-
"workspace": {
|
|
254
|
-
"char": "w",
|
|
255
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
256
|
-
"name": "workspace",
|
|
257
|
-
"required": false,
|
|
258
|
-
"hasDynamicHelp": false,
|
|
259
|
-
"multiple": false,
|
|
260
|
-
"type": "option"
|
|
261
196
|
}
|
|
262
197
|
},
|
|
263
198
|
"hasDynamicHelp": false,
|
|
264
199
|
"hiddenAliases": [],
|
|
265
|
-
"id": "
|
|
200
|
+
"id": "platform:list",
|
|
266
201
|
"pluginAlias": "@xano/cli",
|
|
267
202
|
"pluginName": "@xano/cli",
|
|
268
203
|
"pluginType": "core",
|
|
@@ -272,25 +207,21 @@
|
|
|
272
207
|
"relativePath": [
|
|
273
208
|
"dist",
|
|
274
209
|
"commands",
|
|
275
|
-
"
|
|
276
|
-
"
|
|
210
|
+
"platform",
|
|
211
|
+
"list",
|
|
277
212
|
"index.js"
|
|
278
213
|
]
|
|
279
214
|
},
|
|
280
|
-
"
|
|
215
|
+
"function:create": {
|
|
281
216
|
"aliases": [],
|
|
282
|
-
"args": {
|
|
283
|
-
|
|
284
|
-
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
285
|
-
"name": "branch_label",
|
|
286
|
-
"required": true
|
|
287
|
-
}
|
|
288
|
-
},
|
|
289
|
-
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
217
|
+
"args": {},
|
|
218
|
+
"description": "Create a new function in a workspace",
|
|
290
219
|
"examples": [
|
|
291
|
-
"$ xano
|
|
292
|
-
"$ xano
|
|
293
|
-
"$ xano
|
|
220
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
221
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
222
|
+
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
223
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
224
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
294
225
|
],
|
|
295
226
|
"flags": {
|
|
296
227
|
"profile": {
|
|
@@ -312,28 +243,24 @@
|
|
|
312
243
|
"allowNo": false,
|
|
313
244
|
"type": "boolean"
|
|
314
245
|
},
|
|
315
|
-
"
|
|
316
|
-
"char": "
|
|
317
|
-
"
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"type": "option"
|
|
323
|
-
},
|
|
324
|
-
"description": {
|
|
325
|
-
"char": "d",
|
|
326
|
-
"description": "New description for the branch",
|
|
327
|
-
"name": "description",
|
|
246
|
+
"edit": {
|
|
247
|
+
"char": "e",
|
|
248
|
+
"dependsOn": [
|
|
249
|
+
"file"
|
|
250
|
+
],
|
|
251
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
252
|
+
"name": "edit",
|
|
328
253
|
"required": false,
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"type": "option"
|
|
254
|
+
"allowNo": false,
|
|
255
|
+
"type": "boolean"
|
|
332
256
|
},
|
|
333
|
-
"
|
|
334
|
-
"char": "
|
|
335
|
-
"description": "
|
|
336
|
-
"
|
|
257
|
+
"file": {
|
|
258
|
+
"char": "f",
|
|
259
|
+
"description": "Path to file containing XanoScript code",
|
|
260
|
+
"exclusive": [
|
|
261
|
+
"stdin"
|
|
262
|
+
],
|
|
263
|
+
"name": "file",
|
|
337
264
|
"required": false,
|
|
338
265
|
"hasDynamicHelp": false,
|
|
339
266
|
"multiple": false,
|
|
@@ -353,9 +280,20 @@
|
|
|
353
280
|
],
|
|
354
281
|
"type": "option"
|
|
355
282
|
},
|
|
283
|
+
"stdin": {
|
|
284
|
+
"char": "s",
|
|
285
|
+
"description": "Read XanoScript code from stdin",
|
|
286
|
+
"exclusive": [
|
|
287
|
+
"file"
|
|
288
|
+
],
|
|
289
|
+
"name": "stdin",
|
|
290
|
+
"required": false,
|
|
291
|
+
"allowNo": false,
|
|
292
|
+
"type": "boolean"
|
|
293
|
+
},
|
|
356
294
|
"workspace": {
|
|
357
295
|
"char": "w",
|
|
358
|
-
"description": "Workspace ID (
|
|
296
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
359
297
|
"name": "workspace",
|
|
360
298
|
"required": false,
|
|
361
299
|
"hasDynamicHelp": false,
|
|
@@ -365,7 +303,7 @@
|
|
|
365
303
|
},
|
|
366
304
|
"hasDynamicHelp": false,
|
|
367
305
|
"hiddenAliases": [],
|
|
368
|
-
"id": "
|
|
306
|
+
"id": "function:create",
|
|
369
307
|
"pluginAlias": "@xano/cli",
|
|
370
308
|
"pluginName": "@xano/cli",
|
|
371
309
|
"pluginType": "core",
|
|
@@ -375,25 +313,30 @@
|
|
|
375
313
|
"relativePath": [
|
|
376
314
|
"dist",
|
|
377
315
|
"commands",
|
|
378
|
-
"
|
|
379
|
-
"
|
|
316
|
+
"function",
|
|
317
|
+
"create",
|
|
380
318
|
"index.js"
|
|
381
319
|
]
|
|
382
320
|
},
|
|
383
|
-
"
|
|
321
|
+
"function:edit": {
|
|
384
322
|
"aliases": [],
|
|
385
323
|
"args": {
|
|
386
|
-
"
|
|
387
|
-
"description": "
|
|
388
|
-
"name": "
|
|
389
|
-
"required":
|
|
324
|
+
"function_id": {
|
|
325
|
+
"description": "Function ID to edit",
|
|
326
|
+
"name": "function_id",
|
|
327
|
+
"required": false
|
|
390
328
|
}
|
|
391
329
|
},
|
|
392
|
-
"description": "
|
|
330
|
+
"description": "Edit a function in a workspace",
|
|
393
331
|
"examples": [
|
|
394
|
-
"$ xano
|
|
395
|
-
"$ xano
|
|
396
|
-
"$ xano
|
|
332
|
+
"$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
333
|
+
"$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
334
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
335
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
336
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
337
|
+
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
338
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
339
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
397
340
|
],
|
|
398
341
|
"flags": {
|
|
399
342
|
"profile": {
|
|
@@ -415,6 +358,26 @@
|
|
|
415
358
|
"allowNo": false,
|
|
416
359
|
"type": "boolean"
|
|
417
360
|
},
|
|
361
|
+
"edit": {
|
|
362
|
+
"char": "e",
|
|
363
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
364
|
+
"name": "edit",
|
|
365
|
+
"required": false,
|
|
366
|
+
"allowNo": false,
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
},
|
|
369
|
+
"file": {
|
|
370
|
+
"char": "f",
|
|
371
|
+
"description": "Path to file containing XanoScript code",
|
|
372
|
+
"exclusive": [
|
|
373
|
+
"stdin"
|
|
374
|
+
],
|
|
375
|
+
"name": "file",
|
|
376
|
+
"required": false,
|
|
377
|
+
"hasDynamicHelp": false,
|
|
378
|
+
"multiple": false,
|
|
379
|
+
"type": "option"
|
|
380
|
+
},
|
|
418
381
|
"output": {
|
|
419
382
|
"char": "o",
|
|
420
383
|
"description": "Output format",
|
|
@@ -429,9 +392,27 @@
|
|
|
429
392
|
],
|
|
430
393
|
"type": "option"
|
|
431
394
|
},
|
|
395
|
+
"publish": {
|
|
396
|
+
"description": "Publish the function after editing",
|
|
397
|
+
"name": "publish",
|
|
398
|
+
"required": false,
|
|
399
|
+
"allowNo": false,
|
|
400
|
+
"type": "boolean"
|
|
401
|
+
},
|
|
402
|
+
"stdin": {
|
|
403
|
+
"char": "s",
|
|
404
|
+
"description": "Read XanoScript code from stdin",
|
|
405
|
+
"exclusive": [
|
|
406
|
+
"file"
|
|
407
|
+
],
|
|
408
|
+
"name": "stdin",
|
|
409
|
+
"required": false,
|
|
410
|
+
"allowNo": false,
|
|
411
|
+
"type": "boolean"
|
|
412
|
+
},
|
|
432
413
|
"workspace": {
|
|
433
414
|
"char": "w",
|
|
434
|
-
"description": "Workspace ID (
|
|
415
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
435
416
|
"name": "workspace",
|
|
436
417
|
"required": false,
|
|
437
418
|
"hasDynamicHelp": false,
|
|
@@ -441,7 +422,7 @@
|
|
|
441
422
|
},
|
|
442
423
|
"hasDynamicHelp": false,
|
|
443
424
|
"hiddenAliases": [],
|
|
444
|
-
"id": "
|
|
425
|
+
"id": "function:edit",
|
|
445
426
|
"pluginAlias": "@xano/cli",
|
|
446
427
|
"pluginName": "@xano/cli",
|
|
447
428
|
"pluginType": "core",
|
|
@@ -451,25 +432,28 @@
|
|
|
451
432
|
"relativePath": [
|
|
452
433
|
"dist",
|
|
453
434
|
"commands",
|
|
454
|
-
"
|
|
455
|
-
"
|
|
435
|
+
"function",
|
|
436
|
+
"edit",
|
|
456
437
|
"index.js"
|
|
457
438
|
]
|
|
458
439
|
},
|
|
459
|
-
"
|
|
440
|
+
"function:get": {
|
|
460
441
|
"aliases": [],
|
|
461
442
|
"args": {
|
|
462
|
-
"
|
|
463
|
-
"description": "
|
|
464
|
-
"name": "
|
|
443
|
+
"function_id": {
|
|
444
|
+
"description": "Function ID",
|
|
445
|
+
"name": "function_id",
|
|
465
446
|
"required": false
|
|
466
447
|
}
|
|
467
448
|
},
|
|
468
|
-
"description": "
|
|
449
|
+
"description": "Get a specific function from a workspace",
|
|
469
450
|
"examples": [
|
|
470
|
-
"$ xano
|
|
471
|
-
"$ xano
|
|
472
|
-
"$ xano
|
|
451
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
452
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
453
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
454
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
455
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
456
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
473
457
|
],
|
|
474
458
|
"flags": {
|
|
475
459
|
"profile": {
|
|
@@ -491,6 +475,20 @@
|
|
|
491
475
|
"allowNo": false,
|
|
492
476
|
"type": "boolean"
|
|
493
477
|
},
|
|
478
|
+
"include_draft": {
|
|
479
|
+
"description": "Include draft version",
|
|
480
|
+
"name": "include_draft",
|
|
481
|
+
"required": false,
|
|
482
|
+
"allowNo": false,
|
|
483
|
+
"type": "boolean"
|
|
484
|
+
},
|
|
485
|
+
"include_xanoscript": {
|
|
486
|
+
"description": "Include XanoScript in response",
|
|
487
|
+
"name": "include_xanoscript",
|
|
488
|
+
"required": false,
|
|
489
|
+
"allowNo": false,
|
|
490
|
+
"type": "boolean"
|
|
491
|
+
},
|
|
494
492
|
"output": {
|
|
495
493
|
"char": "o",
|
|
496
494
|
"description": "Output format",
|
|
@@ -501,14 +499,24 @@
|
|
|
501
499
|
"multiple": false,
|
|
502
500
|
"options": [
|
|
503
501
|
"summary",
|
|
504
|
-
"json"
|
|
502
|
+
"json",
|
|
503
|
+
"xs"
|
|
505
504
|
],
|
|
506
505
|
"type": "option"
|
|
506
|
+
},
|
|
507
|
+
"workspace": {
|
|
508
|
+
"char": "w",
|
|
509
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
510
|
+
"name": "workspace",
|
|
511
|
+
"required": false,
|
|
512
|
+
"hasDynamicHelp": false,
|
|
513
|
+
"multiple": false,
|
|
514
|
+
"type": "option"
|
|
507
515
|
}
|
|
508
516
|
},
|
|
509
517
|
"hasDynamicHelp": false,
|
|
510
518
|
"hiddenAliases": [],
|
|
511
|
-
"id": "
|
|
519
|
+
"id": "function:get",
|
|
512
520
|
"pluginAlias": "@xano/cli",
|
|
513
521
|
"pluginName": "@xano/cli",
|
|
514
522
|
"pluginType": "core",
|
|
@@ -518,25 +526,20 @@
|
|
|
518
526
|
"relativePath": [
|
|
519
527
|
"dist",
|
|
520
528
|
"commands",
|
|
521
|
-
"
|
|
522
|
-
"
|
|
529
|
+
"function",
|
|
530
|
+
"get",
|
|
523
531
|
"index.js"
|
|
524
532
|
]
|
|
525
533
|
},
|
|
526
|
-
"
|
|
534
|
+
"function:list": {
|
|
527
535
|
"aliases": [],
|
|
528
|
-
"args": {
|
|
529
|
-
|
|
530
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
531
|
-
"name": "branch_label",
|
|
532
|
-
"required": true
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
536
|
+
"args": {},
|
|
537
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
536
538
|
"examples": [
|
|
537
|
-
"$ xano
|
|
538
|
-
"$ xano
|
|
539
|
-
"$ xano
|
|
539
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
540
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
541
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
542
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
540
543
|
],
|
|
541
544
|
"flags": {
|
|
542
545
|
"profile": {
|
|
@@ -558,14 +561,33 @@
|
|
|
558
561
|
"allowNo": false,
|
|
559
562
|
"type": "boolean"
|
|
560
563
|
},
|
|
561
|
-
"
|
|
562
|
-
"
|
|
563
|
-
"
|
|
564
|
-
"name": "force",
|
|
564
|
+
"include_draft": {
|
|
565
|
+
"description": "Include draft functions",
|
|
566
|
+
"name": "include_draft",
|
|
565
567
|
"required": false,
|
|
566
568
|
"allowNo": false,
|
|
567
569
|
"type": "boolean"
|
|
568
570
|
},
|
|
571
|
+
"include_xanoscript": {
|
|
572
|
+
"description": "Include XanoScript in response",
|
|
573
|
+
"name": "include_xanoscript",
|
|
574
|
+
"required": false,
|
|
575
|
+
"allowNo": false,
|
|
576
|
+
"type": "boolean"
|
|
577
|
+
},
|
|
578
|
+
"order": {
|
|
579
|
+
"description": "Sort order",
|
|
580
|
+
"name": "order",
|
|
581
|
+
"required": false,
|
|
582
|
+
"default": "desc",
|
|
583
|
+
"hasDynamicHelp": false,
|
|
584
|
+
"multiple": false,
|
|
585
|
+
"options": [
|
|
586
|
+
"asc",
|
|
587
|
+
"desc"
|
|
588
|
+
],
|
|
589
|
+
"type": "option"
|
|
590
|
+
},
|
|
569
591
|
"output": {
|
|
570
592
|
"char": "o",
|
|
571
593
|
"description": "Output format",
|
|
@@ -580,9 +602,36 @@
|
|
|
580
602
|
],
|
|
581
603
|
"type": "option"
|
|
582
604
|
},
|
|
605
|
+
"page": {
|
|
606
|
+
"description": "Page number for pagination",
|
|
607
|
+
"name": "page",
|
|
608
|
+
"required": false,
|
|
609
|
+
"default": 1,
|
|
610
|
+
"hasDynamicHelp": false,
|
|
611
|
+
"multiple": false,
|
|
612
|
+
"type": "option"
|
|
613
|
+
},
|
|
614
|
+
"per_page": {
|
|
615
|
+
"description": "Number of results per page",
|
|
616
|
+
"name": "per_page",
|
|
617
|
+
"required": false,
|
|
618
|
+
"default": 50,
|
|
619
|
+
"hasDynamicHelp": false,
|
|
620
|
+
"multiple": false,
|
|
621
|
+
"type": "option"
|
|
622
|
+
},
|
|
623
|
+
"sort": {
|
|
624
|
+
"description": "Sort field",
|
|
625
|
+
"name": "sort",
|
|
626
|
+
"required": false,
|
|
627
|
+
"default": "created_at",
|
|
628
|
+
"hasDynamicHelp": false,
|
|
629
|
+
"multiple": false,
|
|
630
|
+
"type": "option"
|
|
631
|
+
},
|
|
583
632
|
"workspace": {
|
|
584
633
|
"char": "w",
|
|
585
|
-
"description": "Workspace ID (
|
|
634
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
586
635
|
"name": "workspace",
|
|
587
636
|
"required": false,
|
|
588
637
|
"hasDynamicHelp": false,
|
|
@@ -592,7 +641,7 @@
|
|
|
592
641
|
},
|
|
593
642
|
"hasDynamicHelp": false,
|
|
594
643
|
"hiddenAliases": [],
|
|
595
|
-
"id": "
|
|
644
|
+
"id": "function:list",
|
|
596
645
|
"pluginAlias": "@xano/cli",
|
|
597
646
|
"pluginName": "@xano/cli",
|
|
598
647
|
"pluginType": "core",
|
|
@@ -602,21 +651,25 @@
|
|
|
602
651
|
"relativePath": [
|
|
603
652
|
"dist",
|
|
604
653
|
"commands",
|
|
605
|
-
"
|
|
606
|
-
"
|
|
654
|
+
"function",
|
|
655
|
+
"list",
|
|
607
656
|
"index.js"
|
|
608
657
|
]
|
|
609
658
|
},
|
|
610
|
-
"
|
|
659
|
+
"branch:edit": {
|
|
611
660
|
"aliases": [],
|
|
612
|
-
"args": {
|
|
613
|
-
|
|
661
|
+
"args": {
|
|
662
|
+
"branch_label": {
|
|
663
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
664
|
+
"name": "branch_label",
|
|
665
|
+
"required": true
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
614
669
|
"examples": [
|
|
615
|
-
"$ xano
|
|
616
|
-
"$ xano
|
|
617
|
-
"$ xano
|
|
618
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
619
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
670
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
671
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
672
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
620
673
|
],
|
|
621
674
|
"flags": {
|
|
622
675
|
"profile": {
|
|
@@ -638,24 +691,28 @@
|
|
|
638
691
|
"allowNo": false,
|
|
639
692
|
"type": "boolean"
|
|
640
693
|
},
|
|
641
|
-
"
|
|
642
|
-
"char": "
|
|
643
|
-
"
|
|
644
|
-
|
|
645
|
-
],
|
|
646
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
647
|
-
"name": "edit",
|
|
694
|
+
"color": {
|
|
695
|
+
"char": "c",
|
|
696
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
697
|
+
"name": "color",
|
|
648
698
|
"required": false,
|
|
649
|
-
"
|
|
650
|
-
"
|
|
699
|
+
"hasDynamicHelp": false,
|
|
700
|
+
"multiple": false,
|
|
701
|
+
"type": "option"
|
|
651
702
|
},
|
|
652
|
-
"
|
|
653
|
-
"char": "
|
|
654
|
-
"description": "
|
|
655
|
-
"
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
"
|
|
703
|
+
"description": {
|
|
704
|
+
"char": "d",
|
|
705
|
+
"description": "New description for the branch",
|
|
706
|
+
"name": "description",
|
|
707
|
+
"required": false,
|
|
708
|
+
"hasDynamicHelp": false,
|
|
709
|
+
"multiple": false,
|
|
710
|
+
"type": "option"
|
|
711
|
+
},
|
|
712
|
+
"label": {
|
|
713
|
+
"char": "l",
|
|
714
|
+
"description": "New label for the branch",
|
|
715
|
+
"name": "label",
|
|
659
716
|
"required": false,
|
|
660
717
|
"hasDynamicHelp": false,
|
|
661
718
|
"multiple": false,
|
|
@@ -675,20 +732,9 @@
|
|
|
675
732
|
],
|
|
676
733
|
"type": "option"
|
|
677
734
|
},
|
|
678
|
-
"stdin": {
|
|
679
|
-
"char": "s",
|
|
680
|
-
"description": "Read XanoScript code from stdin",
|
|
681
|
-
"exclusive": [
|
|
682
|
-
"file"
|
|
683
|
-
],
|
|
684
|
-
"name": "stdin",
|
|
685
|
-
"required": false,
|
|
686
|
-
"allowNo": false,
|
|
687
|
-
"type": "boolean"
|
|
688
|
-
},
|
|
689
735
|
"workspace": {
|
|
690
736
|
"char": "w",
|
|
691
|
-
"description": "Workspace ID (
|
|
737
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
692
738
|
"name": "workspace",
|
|
693
739
|
"required": false,
|
|
694
740
|
"hasDynamicHelp": false,
|
|
@@ -698,7 +744,7 @@
|
|
|
698
744
|
},
|
|
699
745
|
"hasDynamicHelp": false,
|
|
700
746
|
"hiddenAliases": [],
|
|
701
|
-
"id": "
|
|
747
|
+
"id": "branch:edit",
|
|
702
748
|
"pluginAlias": "@xano/cli",
|
|
703
749
|
"pluginName": "@xano/cli",
|
|
704
750
|
"pluginType": "core",
|
|
@@ -708,71 +754,46 @@
|
|
|
708
754
|
"relativePath": [
|
|
709
755
|
"dist",
|
|
710
756
|
"commands",
|
|
711
|
-
"
|
|
712
|
-
"
|
|
757
|
+
"branch",
|
|
758
|
+
"edit",
|
|
713
759
|
"index.js"
|
|
714
760
|
]
|
|
715
761
|
},
|
|
716
|
-
"
|
|
762
|
+
"branch:get": {
|
|
717
763
|
"aliases": [],
|
|
718
764
|
"args": {
|
|
719
|
-
"
|
|
720
|
-
"description": "
|
|
721
|
-
"name": "
|
|
722
|
-
"required":
|
|
765
|
+
"branch_label": {
|
|
766
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
767
|
+
"name": "branch_label",
|
|
768
|
+
"required": true
|
|
723
769
|
}
|
|
724
770
|
},
|
|
725
|
-
"description": "
|
|
771
|
+
"description": "Get details for a specific branch",
|
|
726
772
|
"examples": [
|
|
727
|
-
"$ xano
|
|
728
|
-
"$ xano
|
|
729
|
-
"$ xano
|
|
730
|
-
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
731
|
-
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
732
|
-
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
733
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
734
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
773
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
774
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
775
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
735
776
|
],
|
|
736
777
|
"flags": {
|
|
737
778
|
"profile": {
|
|
738
|
-
"char": "p",
|
|
739
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
740
|
-
"env": "XANO_PROFILE",
|
|
741
|
-
"name": "profile",
|
|
742
|
-
"required": false,
|
|
743
|
-
"hasDynamicHelp": false,
|
|
744
|
-
"multiple": false,
|
|
745
|
-
"type": "option"
|
|
746
|
-
},
|
|
747
|
-
"verbose": {
|
|
748
|
-
"char": "v",
|
|
749
|
-
"description": "Show detailed request/response information",
|
|
750
|
-
"env": "XANO_VERBOSE",
|
|
751
|
-
"name": "verbose",
|
|
752
|
-
"required": false,
|
|
753
|
-
"allowNo": false,
|
|
754
|
-
"type": "boolean"
|
|
755
|
-
},
|
|
756
|
-
"edit": {
|
|
757
|
-
"char": "e",
|
|
758
|
-
"description": "Open file in editor before updating function (requires --file)",
|
|
759
|
-
"name": "edit",
|
|
760
|
-
"required": false,
|
|
761
|
-
"allowNo": false,
|
|
762
|
-
"type": "boolean"
|
|
763
|
-
},
|
|
764
|
-
"file": {
|
|
765
|
-
"char": "f",
|
|
766
|
-
"description": "Path to file containing XanoScript code",
|
|
767
|
-
"exclusive": [
|
|
768
|
-
"stdin"
|
|
769
|
-
],
|
|
770
|
-
"name": "file",
|
|
779
|
+
"char": "p",
|
|
780
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
781
|
+
"env": "XANO_PROFILE",
|
|
782
|
+
"name": "profile",
|
|
771
783
|
"required": false,
|
|
772
784
|
"hasDynamicHelp": false,
|
|
773
785
|
"multiple": false,
|
|
774
786
|
"type": "option"
|
|
775
787
|
},
|
|
788
|
+
"verbose": {
|
|
789
|
+
"char": "v",
|
|
790
|
+
"description": "Show detailed request/response information",
|
|
791
|
+
"env": "XANO_VERBOSE",
|
|
792
|
+
"name": "verbose",
|
|
793
|
+
"required": false,
|
|
794
|
+
"allowNo": false,
|
|
795
|
+
"type": "boolean"
|
|
796
|
+
},
|
|
776
797
|
"output": {
|
|
777
798
|
"char": "o",
|
|
778
799
|
"description": "Output format",
|
|
@@ -787,27 +808,9 @@
|
|
|
787
808
|
],
|
|
788
809
|
"type": "option"
|
|
789
810
|
},
|
|
790
|
-
"publish": {
|
|
791
|
-
"description": "Publish the function after editing",
|
|
792
|
-
"name": "publish",
|
|
793
|
-
"required": false,
|
|
794
|
-
"allowNo": false,
|
|
795
|
-
"type": "boolean"
|
|
796
|
-
},
|
|
797
|
-
"stdin": {
|
|
798
|
-
"char": "s",
|
|
799
|
-
"description": "Read XanoScript code from stdin",
|
|
800
|
-
"exclusive": [
|
|
801
|
-
"file"
|
|
802
|
-
],
|
|
803
|
-
"name": "stdin",
|
|
804
|
-
"required": false,
|
|
805
|
-
"allowNo": false,
|
|
806
|
-
"type": "boolean"
|
|
807
|
-
},
|
|
808
811
|
"workspace": {
|
|
809
812
|
"char": "w",
|
|
810
|
-
"description": "Workspace ID (
|
|
813
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
811
814
|
"name": "workspace",
|
|
812
815
|
"required": false,
|
|
813
816
|
"hasDynamicHelp": false,
|
|
@@ -817,7 +820,7 @@
|
|
|
817
820
|
},
|
|
818
821
|
"hasDynamicHelp": false,
|
|
819
822
|
"hiddenAliases": [],
|
|
820
|
-
"id": "
|
|
823
|
+
"id": "branch:get",
|
|
821
824
|
"pluginAlias": "@xano/cli",
|
|
822
825
|
"pluginName": "@xano/cli",
|
|
823
826
|
"pluginType": "core",
|
|
@@ -827,28 +830,19 @@
|
|
|
827
830
|
"relativePath": [
|
|
828
831
|
"dist",
|
|
829
832
|
"commands",
|
|
830
|
-
"
|
|
831
|
-
"
|
|
833
|
+
"branch",
|
|
834
|
+
"get",
|
|
832
835
|
"index.js"
|
|
833
836
|
]
|
|
834
837
|
},
|
|
835
|
-
"
|
|
838
|
+
"branch:create": {
|
|
836
839
|
"aliases": [],
|
|
837
|
-
"args": {
|
|
838
|
-
|
|
839
|
-
"description": "Function ID",
|
|
840
|
-
"name": "function_id",
|
|
841
|
-
"required": false
|
|
842
|
-
}
|
|
843
|
-
},
|
|
844
|
-
"description": "Get a specific function from a workspace",
|
|
840
|
+
"args": {},
|
|
841
|
+
"description": "Create a new branch by cloning from an existing branch",
|
|
845
842
|
"examples": [
|
|
846
|
-
"$ xano
|
|
847
|
-
"$ xano
|
|
848
|
-
"$ xano
|
|
849
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
850
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
851
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
843
|
+
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
844
|
+
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
845
|
+
"$ xano branch create --label staging --color \"#ebc346\" --output json\n{\n \"created_at\": \"2024-02-11T10:00:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
852
846
|
],
|
|
853
847
|
"flags": {
|
|
854
848
|
"profile": {
|
|
@@ -870,19 +864,32 @@
|
|
|
870
864
|
"allowNo": false,
|
|
871
865
|
"type": "boolean"
|
|
872
866
|
},
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
"
|
|
867
|
+
"color": {
|
|
868
|
+
"char": "c",
|
|
869
|
+
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
870
|
+
"name": "color",
|
|
876
871
|
"required": false,
|
|
877
|
-
"
|
|
878
|
-
"
|
|
872
|
+
"hasDynamicHelp": false,
|
|
873
|
+
"multiple": false,
|
|
874
|
+
"type": "option"
|
|
879
875
|
},
|
|
880
|
-
"
|
|
881
|
-
"
|
|
882
|
-
"
|
|
876
|
+
"description": {
|
|
877
|
+
"char": "d",
|
|
878
|
+
"description": "Description for the new branch",
|
|
879
|
+
"name": "description",
|
|
883
880
|
"required": false,
|
|
884
|
-
"
|
|
885
|
-
"
|
|
881
|
+
"hasDynamicHelp": false,
|
|
882
|
+
"multiple": false,
|
|
883
|
+
"type": "option"
|
|
884
|
+
},
|
|
885
|
+
"label": {
|
|
886
|
+
"char": "l",
|
|
887
|
+
"description": "Label for the new branch",
|
|
888
|
+
"name": "label",
|
|
889
|
+
"required": true,
|
|
890
|
+
"hasDynamicHelp": false,
|
|
891
|
+
"multiple": false,
|
|
892
|
+
"type": "option"
|
|
886
893
|
},
|
|
887
894
|
"output": {
|
|
888
895
|
"char": "o",
|
|
@@ -894,14 +901,23 @@
|
|
|
894
901
|
"multiple": false,
|
|
895
902
|
"options": [
|
|
896
903
|
"summary",
|
|
897
|
-
"json"
|
|
898
|
-
"xs"
|
|
904
|
+
"json"
|
|
899
905
|
],
|
|
900
906
|
"type": "option"
|
|
901
907
|
},
|
|
908
|
+
"source": {
|
|
909
|
+
"char": "s",
|
|
910
|
+
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
911
|
+
"name": "source",
|
|
912
|
+
"required": false,
|
|
913
|
+
"default": "v1",
|
|
914
|
+
"hasDynamicHelp": false,
|
|
915
|
+
"multiple": false,
|
|
916
|
+
"type": "option"
|
|
917
|
+
},
|
|
902
918
|
"workspace": {
|
|
903
919
|
"char": "w",
|
|
904
|
-
"description": "Workspace ID (
|
|
920
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
905
921
|
"name": "workspace",
|
|
906
922
|
"required": false,
|
|
907
923
|
"hasDynamicHelp": false,
|
|
@@ -911,7 +927,7 @@
|
|
|
911
927
|
},
|
|
912
928
|
"hasDynamicHelp": false,
|
|
913
929
|
"hiddenAliases": [],
|
|
914
|
-
"id": "
|
|
930
|
+
"id": "branch:create",
|
|
915
931
|
"pluginAlias": "@xano/cli",
|
|
916
932
|
"pluginName": "@xano/cli",
|
|
917
933
|
"pluginType": "core",
|
|
@@ -921,20 +937,25 @@
|
|
|
921
937
|
"relativePath": [
|
|
922
938
|
"dist",
|
|
923
939
|
"commands",
|
|
924
|
-
"
|
|
925
|
-
"
|
|
940
|
+
"branch",
|
|
941
|
+
"create",
|
|
926
942
|
"index.js"
|
|
927
943
|
]
|
|
928
944
|
},
|
|
929
|
-
"
|
|
945
|
+
"branch:delete": {
|
|
930
946
|
"aliases": [],
|
|
931
|
-
"args": {
|
|
932
|
-
|
|
947
|
+
"args": {
|
|
948
|
+
"branch_label": {
|
|
949
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
950
|
+
"name": "branch_label",
|
|
951
|
+
"required": true
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
933
955
|
"examples": [
|
|
934
|
-
"$ xano
|
|
935
|
-
"$ xano
|
|
936
|
-
"$ xano
|
|
937
|
-
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
956
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
957
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
958
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
938
959
|
],
|
|
939
960
|
"flags": {
|
|
940
961
|
"profile": {
|
|
@@ -956,33 +977,14 @@
|
|
|
956
977
|
"allowNo": false,
|
|
957
978
|
"type": "boolean"
|
|
958
979
|
},
|
|
959
|
-
"
|
|
960
|
-
"
|
|
961
|
-
"
|
|
962
|
-
"
|
|
963
|
-
"allowNo": false,
|
|
964
|
-
"type": "boolean"
|
|
965
|
-
},
|
|
966
|
-
"include_xanoscript": {
|
|
967
|
-
"description": "Include XanoScript in response",
|
|
968
|
-
"name": "include_xanoscript",
|
|
980
|
+
"force": {
|
|
981
|
+
"char": "f",
|
|
982
|
+
"description": "Skip confirmation prompt",
|
|
983
|
+
"name": "force",
|
|
969
984
|
"required": false,
|
|
970
985
|
"allowNo": false,
|
|
971
986
|
"type": "boolean"
|
|
972
987
|
},
|
|
973
|
-
"order": {
|
|
974
|
-
"description": "Sort order",
|
|
975
|
-
"name": "order",
|
|
976
|
-
"required": false,
|
|
977
|
-
"default": "desc",
|
|
978
|
-
"hasDynamicHelp": false,
|
|
979
|
-
"multiple": false,
|
|
980
|
-
"options": [
|
|
981
|
-
"asc",
|
|
982
|
-
"desc"
|
|
983
|
-
],
|
|
984
|
-
"type": "option"
|
|
985
|
-
},
|
|
986
988
|
"output": {
|
|
987
989
|
"char": "o",
|
|
988
990
|
"description": "Output format",
|
|
@@ -997,36 +999,9 @@
|
|
|
997
999
|
],
|
|
998
1000
|
"type": "option"
|
|
999
1001
|
},
|
|
1000
|
-
"page": {
|
|
1001
|
-
"description": "Page number for pagination",
|
|
1002
|
-
"name": "page",
|
|
1003
|
-
"required": false,
|
|
1004
|
-
"default": 1,
|
|
1005
|
-
"hasDynamicHelp": false,
|
|
1006
|
-
"multiple": false,
|
|
1007
|
-
"type": "option"
|
|
1008
|
-
},
|
|
1009
|
-
"per_page": {
|
|
1010
|
-
"description": "Number of results per page",
|
|
1011
|
-
"name": "per_page",
|
|
1012
|
-
"required": false,
|
|
1013
|
-
"default": 50,
|
|
1014
|
-
"hasDynamicHelp": false,
|
|
1015
|
-
"multiple": false,
|
|
1016
|
-
"type": "option"
|
|
1017
|
-
},
|
|
1018
|
-
"sort": {
|
|
1019
|
-
"description": "Sort field",
|
|
1020
|
-
"name": "sort",
|
|
1021
|
-
"required": false,
|
|
1022
|
-
"default": "created_at",
|
|
1023
|
-
"hasDynamicHelp": false,
|
|
1024
|
-
"multiple": false,
|
|
1025
|
-
"type": "option"
|
|
1026
|
-
},
|
|
1027
1002
|
"workspace": {
|
|
1028
1003
|
"char": "w",
|
|
1029
|
-
"description": "Workspace ID (
|
|
1004
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1030
1005
|
"name": "workspace",
|
|
1031
1006
|
"required": false,
|
|
1032
1007
|
"hasDynamicHelp": false,
|
|
@@ -1036,7 +1011,7 @@
|
|
|
1036
1011
|
},
|
|
1037
1012
|
"hasDynamicHelp": false,
|
|
1038
1013
|
"hiddenAliases": [],
|
|
1039
|
-
"id": "
|
|
1014
|
+
"id": "branch:delete",
|
|
1040
1015
|
"pluginAlias": "@xano/cli",
|
|
1041
1016
|
"pluginName": "@xano/cli",
|
|
1042
1017
|
"pluginType": "core",
|
|
@@ -1046,24 +1021,25 @@
|
|
|
1046
1021
|
"relativePath": [
|
|
1047
1022
|
"dist",
|
|
1048
1023
|
"commands",
|
|
1049
|
-
"
|
|
1050
|
-
"
|
|
1024
|
+
"branch",
|
|
1025
|
+
"delete",
|
|
1051
1026
|
"index.js"
|
|
1052
1027
|
]
|
|
1053
1028
|
},
|
|
1054
|
-
"
|
|
1029
|
+
"branch:list": {
|
|
1055
1030
|
"aliases": [],
|
|
1056
1031
|
"args": {
|
|
1057
|
-
"
|
|
1058
|
-
"description": "
|
|
1059
|
-
"name": "
|
|
1060
|
-
"required":
|
|
1032
|
+
"workspace_id": {
|
|
1033
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1034
|
+
"name": "workspace_id",
|
|
1035
|
+
"required": false
|
|
1061
1036
|
}
|
|
1062
1037
|
},
|
|
1063
|
-
"description": "
|
|
1038
|
+
"description": "List all branches in a workspace",
|
|
1064
1039
|
"examples": [
|
|
1065
|
-
"$ xano
|
|
1066
|
-
"$ xano
|
|
1040
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
1041
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
1042
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
1067
1043
|
],
|
|
1068
1044
|
"flags": {
|
|
1069
1045
|
"profile": {
|
|
@@ -1102,7 +1078,7 @@
|
|
|
1102
1078
|
},
|
|
1103
1079
|
"hasDynamicHelp": false,
|
|
1104
1080
|
"hiddenAliases": [],
|
|
1105
|
-
"id": "
|
|
1081
|
+
"id": "branch:list",
|
|
1106
1082
|
"pluginAlias": "@xano/cli",
|
|
1107
1083
|
"pluginName": "@xano/cli",
|
|
1108
1084
|
"pluginType": "core",
|
|
@@ -1112,18 +1088,25 @@
|
|
|
1112
1088
|
"relativePath": [
|
|
1113
1089
|
"dist",
|
|
1114
1090
|
"commands",
|
|
1115
|
-
"
|
|
1116
|
-
"
|
|
1091
|
+
"branch",
|
|
1092
|
+
"list",
|
|
1117
1093
|
"index.js"
|
|
1118
1094
|
]
|
|
1119
1095
|
},
|
|
1120
|
-
"
|
|
1096
|
+
"branch:set_live": {
|
|
1121
1097
|
"aliases": [],
|
|
1122
|
-
"args": {
|
|
1123
|
-
|
|
1098
|
+
"args": {
|
|
1099
|
+
"branch_label": {
|
|
1100
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
1101
|
+
"name": "branch_label",
|
|
1102
|
+
"required": true
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
1124
1106
|
"examples": [
|
|
1125
|
-
"$ xano
|
|
1126
|
-
"$ xano
|
|
1107
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
1108
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
1109
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
1127
1110
|
],
|
|
1128
1111
|
"flags": {
|
|
1129
1112
|
"profile": {
|
|
@@ -1145,6 +1128,14 @@
|
|
|
1145
1128
|
"allowNo": false,
|
|
1146
1129
|
"type": "boolean"
|
|
1147
1130
|
},
|
|
1131
|
+
"force": {
|
|
1132
|
+
"char": "f",
|
|
1133
|
+
"description": "Skip confirmation prompt",
|
|
1134
|
+
"name": "force",
|
|
1135
|
+
"required": false,
|
|
1136
|
+
"allowNo": false,
|
|
1137
|
+
"type": "boolean"
|
|
1138
|
+
},
|
|
1148
1139
|
"output": {
|
|
1149
1140
|
"char": "o",
|
|
1150
1141
|
"description": "Output format",
|
|
@@ -1158,11 +1149,20 @@
|
|
|
1158
1149
|
"json"
|
|
1159
1150
|
],
|
|
1160
1151
|
"type": "option"
|
|
1152
|
+
},
|
|
1153
|
+
"workspace": {
|
|
1154
|
+
"char": "w",
|
|
1155
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1156
|
+
"name": "workspace",
|
|
1157
|
+
"required": false,
|
|
1158
|
+
"hasDynamicHelp": false,
|
|
1159
|
+
"multiple": false,
|
|
1160
|
+
"type": "option"
|
|
1161
1161
|
}
|
|
1162
1162
|
},
|
|
1163
1163
|
"hasDynamicHelp": false,
|
|
1164
1164
|
"hiddenAliases": [],
|
|
1165
|
-
"id": "
|
|
1165
|
+
"id": "branch:set_live",
|
|
1166
1166
|
"pluginAlias": "@xano/cli",
|
|
1167
1167
|
"pluginName": "@xano/cli",
|
|
1168
1168
|
"pluginType": "core",
|
|
@@ -1172,8 +1172,8 @@
|
|
|
1172
1172
|
"relativePath": [
|
|
1173
1173
|
"dist",
|
|
1174
1174
|
"commands",
|
|
1175
|
-
"
|
|
1176
|
-
"
|
|
1175
|
+
"branch",
|
|
1176
|
+
"set_live",
|
|
1177
1177
|
"index.js"
|
|
1178
1178
|
]
|
|
1179
1179
|
},
|
|
@@ -1599,32 +1599,6 @@
|
|
|
1599
1599
|
"index.js"
|
|
1600
1600
|
]
|
|
1601
1601
|
},
|
|
1602
|
-
"profile:workspace": {
|
|
1603
|
-
"aliases": [],
|
|
1604
|
-
"args": {},
|
|
1605
|
-
"description": "Print the workspace ID for the default profile",
|
|
1606
|
-
"examples": [
|
|
1607
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1608
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1609
|
-
],
|
|
1610
|
-
"flags": {},
|
|
1611
|
-
"hasDynamicHelp": false,
|
|
1612
|
-
"hiddenAliases": [],
|
|
1613
|
-
"id": "profile:workspace",
|
|
1614
|
-
"pluginAlias": "@xano/cli",
|
|
1615
|
-
"pluginName": "@xano/cli",
|
|
1616
|
-
"pluginType": "core",
|
|
1617
|
-
"strict": true,
|
|
1618
|
-
"enableJsonFlag": false,
|
|
1619
|
-
"isESM": true,
|
|
1620
|
-
"relativePath": [
|
|
1621
|
-
"dist",
|
|
1622
|
-
"commands",
|
|
1623
|
-
"profile",
|
|
1624
|
-
"workspace",
|
|
1625
|
-
"index.js"
|
|
1626
|
-
]
|
|
1627
|
-
},
|
|
1628
1602
|
"release:create": {
|
|
1629
1603
|
"aliases": [],
|
|
1630
1604
|
"args": {},
|
|
@@ -1820,6 +1794,51 @@
|
|
|
1820
1794
|
"index.js"
|
|
1821
1795
|
]
|
|
1822
1796
|
},
|
|
1797
|
+
"profile:wizard": {
|
|
1798
|
+
"aliases": [],
|
|
1799
|
+
"args": {},
|
|
1800
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1801
|
+
"examples": [
|
|
1802
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1803
|
+
],
|
|
1804
|
+
"flags": {
|
|
1805
|
+
"name": {
|
|
1806
|
+
"char": "n",
|
|
1807
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1808
|
+
"name": "name",
|
|
1809
|
+
"required": false,
|
|
1810
|
+
"hasDynamicHelp": false,
|
|
1811
|
+
"multiple": false,
|
|
1812
|
+
"type": "option"
|
|
1813
|
+
},
|
|
1814
|
+
"origin": {
|
|
1815
|
+
"char": "o",
|
|
1816
|
+
"description": "Xano instance origin URL",
|
|
1817
|
+
"name": "origin",
|
|
1818
|
+
"required": false,
|
|
1819
|
+
"default": "https://app.xano.com",
|
|
1820
|
+
"hasDynamicHelp": false,
|
|
1821
|
+
"multiple": false,
|
|
1822
|
+
"type": "option"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
"hasDynamicHelp": false,
|
|
1826
|
+
"hiddenAliases": [],
|
|
1827
|
+
"id": "profile:wizard",
|
|
1828
|
+
"pluginAlias": "@xano/cli",
|
|
1829
|
+
"pluginName": "@xano/cli",
|
|
1830
|
+
"pluginType": "core",
|
|
1831
|
+
"strict": true,
|
|
1832
|
+
"enableJsonFlag": false,
|
|
1833
|
+
"isESM": true,
|
|
1834
|
+
"relativePath": [
|
|
1835
|
+
"dist",
|
|
1836
|
+
"commands",
|
|
1837
|
+
"profile",
|
|
1838
|
+
"wizard",
|
|
1839
|
+
"index.js"
|
|
1840
|
+
]
|
|
1841
|
+
},
|
|
1823
1842
|
"release:edit": {
|
|
1824
1843
|
"aliases": [],
|
|
1825
1844
|
"args": {
|
|
@@ -2072,51 +2091,6 @@
|
|
|
2072
2091
|
"index.js"
|
|
2073
2092
|
]
|
|
2074
2093
|
},
|
|
2075
|
-
"profile:wizard": {
|
|
2076
|
-
"aliases": [],
|
|
2077
|
-
"args": {},
|
|
2078
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
2079
|
-
"examples": [
|
|
2080
|
-
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
2081
|
-
],
|
|
2082
|
-
"flags": {
|
|
2083
|
-
"name": {
|
|
2084
|
-
"char": "n",
|
|
2085
|
-
"description": "Profile name (skip prompt if provided)",
|
|
2086
|
-
"name": "name",
|
|
2087
|
-
"required": false,
|
|
2088
|
-
"hasDynamicHelp": false,
|
|
2089
|
-
"multiple": false,
|
|
2090
|
-
"type": "option"
|
|
2091
|
-
},
|
|
2092
|
-
"origin": {
|
|
2093
|
-
"char": "o",
|
|
2094
|
-
"description": "Xano instance origin URL",
|
|
2095
|
-
"name": "origin",
|
|
2096
|
-
"required": false,
|
|
2097
|
-
"default": "https://app.xano.com",
|
|
2098
|
-
"hasDynamicHelp": false,
|
|
2099
|
-
"multiple": false,
|
|
2100
|
-
"type": "option"
|
|
2101
|
-
}
|
|
2102
|
-
},
|
|
2103
|
-
"hasDynamicHelp": false,
|
|
2104
|
-
"hiddenAliases": [],
|
|
2105
|
-
"id": "profile:wizard",
|
|
2106
|
-
"pluginAlias": "@xano/cli",
|
|
2107
|
-
"pluginName": "@xano/cli",
|
|
2108
|
-
"pluginType": "core",
|
|
2109
|
-
"strict": true,
|
|
2110
|
-
"enableJsonFlag": false,
|
|
2111
|
-
"isESM": true,
|
|
2112
|
-
"relativePath": [
|
|
2113
|
-
"dist",
|
|
2114
|
-
"commands",
|
|
2115
|
-
"profile",
|
|
2116
|
-
"wizard",
|
|
2117
|
-
"index.js"
|
|
2118
|
-
]
|
|
2119
|
-
},
|
|
2120
2094
|
"release:import": {
|
|
2121
2095
|
"aliases": [],
|
|
2122
2096
|
"args": {},
|
|
@@ -2696,90 +2670,6 @@
|
|
|
2696
2670
|
"index.js"
|
|
2697
2671
|
]
|
|
2698
2672
|
},
|
|
2699
|
-
"tenant:delete": {
|
|
2700
|
-
"aliases": [],
|
|
2701
|
-
"args": {
|
|
2702
|
-
"tenant_name": {
|
|
2703
|
-
"description": "Tenant name to delete",
|
|
2704
|
-
"name": "tenant_name",
|
|
2705
|
-
"required": true
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2709
|
-
"examples": [
|
|
2710
|
-
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2711
|
-
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2712
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2713
|
-
],
|
|
2714
|
-
"flags": {
|
|
2715
|
-
"profile": {
|
|
2716
|
-
"char": "p",
|
|
2717
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2718
|
-
"env": "XANO_PROFILE",
|
|
2719
|
-
"name": "profile",
|
|
2720
|
-
"required": false,
|
|
2721
|
-
"hasDynamicHelp": false,
|
|
2722
|
-
"multiple": false,
|
|
2723
|
-
"type": "option"
|
|
2724
|
-
},
|
|
2725
|
-
"verbose": {
|
|
2726
|
-
"char": "v",
|
|
2727
|
-
"description": "Show detailed request/response information",
|
|
2728
|
-
"env": "XANO_VERBOSE",
|
|
2729
|
-
"name": "verbose",
|
|
2730
|
-
"required": false,
|
|
2731
|
-
"allowNo": false,
|
|
2732
|
-
"type": "boolean"
|
|
2733
|
-
},
|
|
2734
|
-
"force": {
|
|
2735
|
-
"char": "f",
|
|
2736
|
-
"description": "Skip confirmation prompt",
|
|
2737
|
-
"name": "force",
|
|
2738
|
-
"required": false,
|
|
2739
|
-
"allowNo": false,
|
|
2740
|
-
"type": "boolean"
|
|
2741
|
-
},
|
|
2742
|
-
"output": {
|
|
2743
|
-
"char": "o",
|
|
2744
|
-
"description": "Output format",
|
|
2745
|
-
"name": "output",
|
|
2746
|
-
"required": false,
|
|
2747
|
-
"default": "summary",
|
|
2748
|
-
"hasDynamicHelp": false,
|
|
2749
|
-
"multiple": false,
|
|
2750
|
-
"options": [
|
|
2751
|
-
"summary",
|
|
2752
|
-
"json"
|
|
2753
|
-
],
|
|
2754
|
-
"type": "option"
|
|
2755
|
-
},
|
|
2756
|
-
"workspace": {
|
|
2757
|
-
"char": "w",
|
|
2758
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2759
|
-
"name": "workspace",
|
|
2760
|
-
"required": false,
|
|
2761
|
-
"hasDynamicHelp": false,
|
|
2762
|
-
"multiple": false,
|
|
2763
|
-
"type": "option"
|
|
2764
|
-
}
|
|
2765
|
-
},
|
|
2766
|
-
"hasDynamicHelp": false,
|
|
2767
|
-
"hiddenAliases": [],
|
|
2768
|
-
"id": "tenant:delete",
|
|
2769
|
-
"pluginAlias": "@xano/cli",
|
|
2770
|
-
"pluginName": "@xano/cli",
|
|
2771
|
-
"pluginType": "core",
|
|
2772
|
-
"strict": true,
|
|
2773
|
-
"enableJsonFlag": false,
|
|
2774
|
-
"isESM": true,
|
|
2775
|
-
"relativePath": [
|
|
2776
|
-
"dist",
|
|
2777
|
-
"commands",
|
|
2778
|
-
"tenant",
|
|
2779
|
-
"delete",
|
|
2780
|
-
"index.js"
|
|
2781
|
-
]
|
|
2782
|
-
},
|
|
2783
2673
|
"tenant:deploy_platform": {
|
|
2784
2674
|
"aliases": [],
|
|
2785
2675
|
"args": {
|
|
@@ -2863,19 +2753,20 @@
|
|
|
2863
2753
|
"index.js"
|
|
2864
2754
|
]
|
|
2865
2755
|
},
|
|
2866
|
-
"tenant:
|
|
2756
|
+
"tenant:delete": {
|
|
2867
2757
|
"aliases": [],
|
|
2868
2758
|
"args": {
|
|
2869
2759
|
"tenant_name": {
|
|
2870
|
-
"description": "Tenant name to
|
|
2760
|
+
"description": "Tenant name to delete",
|
|
2871
2761
|
"name": "tenant_name",
|
|
2872
2762
|
"required": true
|
|
2873
2763
|
}
|
|
2874
2764
|
},
|
|
2875
|
-
"description": "
|
|
2765
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2876
2766
|
"examples": [
|
|
2877
|
-
"$ xano tenant
|
|
2878
|
-
"$ xano tenant
|
|
2767
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2768
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2769
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2879
2770
|
],
|
|
2880
2771
|
"flags": {
|
|
2881
2772
|
"profile": {
|
|
@@ -2897,6 +2788,14 @@
|
|
|
2897
2788
|
"allowNo": false,
|
|
2898
2789
|
"type": "boolean"
|
|
2899
2790
|
},
|
|
2791
|
+
"force": {
|
|
2792
|
+
"char": "f",
|
|
2793
|
+
"description": "Skip confirmation prompt",
|
|
2794
|
+
"name": "force",
|
|
2795
|
+
"required": false,
|
|
2796
|
+
"allowNo": false,
|
|
2797
|
+
"type": "boolean"
|
|
2798
|
+
},
|
|
2900
2799
|
"output": {
|
|
2901
2800
|
"char": "o",
|
|
2902
2801
|
"description": "Output format",
|
|
@@ -2911,15 +2810,6 @@
|
|
|
2911
2810
|
],
|
|
2912
2811
|
"type": "option"
|
|
2913
2812
|
},
|
|
2914
|
-
"release": {
|
|
2915
|
-
"char": "r",
|
|
2916
|
-
"description": "Release name to deploy",
|
|
2917
|
-
"name": "release",
|
|
2918
|
-
"required": true,
|
|
2919
|
-
"hasDynamicHelp": false,
|
|
2920
|
-
"multiple": false,
|
|
2921
|
-
"type": "option"
|
|
2922
|
-
},
|
|
2923
2813
|
"workspace": {
|
|
2924
2814
|
"char": "w",
|
|
2925
2815
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2932,7 +2822,7 @@
|
|
|
2932
2822
|
},
|
|
2933
2823
|
"hasDynamicHelp": false,
|
|
2934
2824
|
"hiddenAliases": [],
|
|
2935
|
-
"id": "tenant:
|
|
2825
|
+
"id": "tenant:delete",
|
|
2936
2826
|
"pluginAlias": "@xano/cli",
|
|
2937
2827
|
"pluginName": "@xano/cli",
|
|
2938
2828
|
"pluginType": "core",
|
|
@@ -2943,23 +2833,23 @@
|
|
|
2943
2833
|
"dist",
|
|
2944
2834
|
"commands",
|
|
2945
2835
|
"tenant",
|
|
2946
|
-
"
|
|
2836
|
+
"delete",
|
|
2947
2837
|
"index.js"
|
|
2948
2838
|
]
|
|
2949
2839
|
},
|
|
2950
|
-
"tenant:
|
|
2840
|
+
"tenant:deploy_release": {
|
|
2951
2841
|
"aliases": [],
|
|
2952
2842
|
"args": {
|
|
2953
2843
|
"tenant_name": {
|
|
2954
|
-
"description": "Tenant name to
|
|
2844
|
+
"description": "Tenant name to deploy to",
|
|
2955
2845
|
"name": "tenant_name",
|
|
2956
2846
|
"required": true
|
|
2957
2847
|
}
|
|
2958
2848
|
},
|
|
2959
|
-
"description": "
|
|
2849
|
+
"description": "Deploy a release to a tenant",
|
|
2960
2850
|
"examples": [
|
|
2961
|
-
"$ xano tenant
|
|
2962
|
-
"$ xano tenant
|
|
2851
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2852
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2963
2853
|
],
|
|
2964
2854
|
"flags": {
|
|
2965
2855
|
"profile": {
|
|
@@ -2995,6 +2885,15 @@
|
|
|
2995
2885
|
],
|
|
2996
2886
|
"type": "option"
|
|
2997
2887
|
},
|
|
2888
|
+
"release": {
|
|
2889
|
+
"char": "r",
|
|
2890
|
+
"description": "Release name to deploy",
|
|
2891
|
+
"name": "release",
|
|
2892
|
+
"required": true,
|
|
2893
|
+
"hasDynamicHelp": false,
|
|
2894
|
+
"multiple": false,
|
|
2895
|
+
"type": "option"
|
|
2896
|
+
},
|
|
2998
2897
|
"workspace": {
|
|
2999
2898
|
"char": "w",
|
|
3000
2899
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3007,7 +2906,7 @@
|
|
|
3007
2906
|
},
|
|
3008
2907
|
"hasDynamicHelp": false,
|
|
3009
2908
|
"hiddenAliases": [],
|
|
3010
|
-
"id": "tenant:
|
|
2909
|
+
"id": "tenant:deploy_release",
|
|
3011
2910
|
"pluginAlias": "@xano/cli",
|
|
3012
2911
|
"pluginName": "@xano/cli",
|
|
3013
2912
|
"pluginType": "core",
|
|
@@ -3018,7 +2917,7 @@
|
|
|
3018
2917
|
"dist",
|
|
3019
2918
|
"commands",
|
|
3020
2919
|
"tenant",
|
|
3021
|
-
"
|
|
2920
|
+
"deploy_release",
|
|
3022
2921
|
"index.js"
|
|
3023
2922
|
]
|
|
3024
2923
|
},
|
|
@@ -3151,19 +3050,19 @@
|
|
|
3151
3050
|
"index.js"
|
|
3152
3051
|
]
|
|
3153
3052
|
},
|
|
3154
|
-
"tenant:
|
|
3053
|
+
"tenant:get": {
|
|
3155
3054
|
"aliases": [],
|
|
3156
3055
|
"args": {
|
|
3157
3056
|
"tenant_name": {
|
|
3158
|
-
"description": "Tenant name to
|
|
3057
|
+
"description": "Tenant name to retrieve",
|
|
3159
3058
|
"name": "tenant_name",
|
|
3160
3059
|
"required": true
|
|
3161
3060
|
}
|
|
3162
3061
|
},
|
|
3163
|
-
"description": "
|
|
3062
|
+
"description": "Get details of a specific tenant",
|
|
3164
3063
|
"examples": [
|
|
3165
|
-
"$ xano tenant
|
|
3166
|
-
"$ xano tenant
|
|
3064
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3065
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3167
3066
|
],
|
|
3168
3067
|
"flags": {
|
|
3169
3068
|
"profile": {
|
|
@@ -3199,14 +3098,6 @@
|
|
|
3199
3098
|
],
|
|
3200
3099
|
"type": "option"
|
|
3201
3100
|
},
|
|
3202
|
-
"url-only": {
|
|
3203
|
-
"char": "u",
|
|
3204
|
-
"description": "Print the URL without opening the browser",
|
|
3205
|
-
"name": "url-only",
|
|
3206
|
-
"required": false,
|
|
3207
|
-
"allowNo": false,
|
|
3208
|
-
"type": "boolean"
|
|
3209
|
-
},
|
|
3210
3101
|
"workspace": {
|
|
3211
3102
|
"char": "w",
|
|
3212
3103
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3219,7 +3110,7 @@
|
|
|
3219
3110
|
},
|
|
3220
3111
|
"hasDynamicHelp": false,
|
|
3221
3112
|
"hiddenAliases": [],
|
|
3222
|
-
"id": "tenant:
|
|
3113
|
+
"id": "tenant:get",
|
|
3223
3114
|
"pluginAlias": "@xano/cli",
|
|
3224
3115
|
"pluginName": "@xano/cli",
|
|
3225
3116
|
"pluginType": "core",
|
|
@@ -3230,7 +3121,7 @@
|
|
|
3230
3121
|
"dist",
|
|
3231
3122
|
"commands",
|
|
3232
3123
|
"tenant",
|
|
3233
|
-
"
|
|
3124
|
+
"get",
|
|
3234
3125
|
"index.js"
|
|
3235
3126
|
]
|
|
3236
3127
|
},
|
|
@@ -3303,6 +3194,89 @@
|
|
|
3303
3194
|
"index.js"
|
|
3304
3195
|
]
|
|
3305
3196
|
},
|
|
3197
|
+
"tenant:impersonate": {
|
|
3198
|
+
"aliases": [],
|
|
3199
|
+
"args": {
|
|
3200
|
+
"tenant_name": {
|
|
3201
|
+
"description": "Tenant name to impersonate",
|
|
3202
|
+
"name": "tenant_name",
|
|
3203
|
+
"required": true
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3207
|
+
"examples": [
|
|
3208
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3209
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3210
|
+
],
|
|
3211
|
+
"flags": {
|
|
3212
|
+
"profile": {
|
|
3213
|
+
"char": "p",
|
|
3214
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3215
|
+
"env": "XANO_PROFILE",
|
|
3216
|
+
"name": "profile",
|
|
3217
|
+
"required": false,
|
|
3218
|
+
"hasDynamicHelp": false,
|
|
3219
|
+
"multiple": false,
|
|
3220
|
+
"type": "option"
|
|
3221
|
+
},
|
|
3222
|
+
"verbose": {
|
|
3223
|
+
"char": "v",
|
|
3224
|
+
"description": "Show detailed request/response information",
|
|
3225
|
+
"env": "XANO_VERBOSE",
|
|
3226
|
+
"name": "verbose",
|
|
3227
|
+
"required": false,
|
|
3228
|
+
"allowNo": false,
|
|
3229
|
+
"type": "boolean"
|
|
3230
|
+
},
|
|
3231
|
+
"output": {
|
|
3232
|
+
"char": "o",
|
|
3233
|
+
"description": "Output format",
|
|
3234
|
+
"name": "output",
|
|
3235
|
+
"required": false,
|
|
3236
|
+
"default": "summary",
|
|
3237
|
+
"hasDynamicHelp": false,
|
|
3238
|
+
"multiple": false,
|
|
3239
|
+
"options": [
|
|
3240
|
+
"summary",
|
|
3241
|
+
"json"
|
|
3242
|
+
],
|
|
3243
|
+
"type": "option"
|
|
3244
|
+
},
|
|
3245
|
+
"url-only": {
|
|
3246
|
+
"char": "u",
|
|
3247
|
+
"description": "Print the URL without opening the browser",
|
|
3248
|
+
"name": "url-only",
|
|
3249
|
+
"required": false,
|
|
3250
|
+
"allowNo": false,
|
|
3251
|
+
"type": "boolean"
|
|
3252
|
+
},
|
|
3253
|
+
"workspace": {
|
|
3254
|
+
"char": "w",
|
|
3255
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3256
|
+
"name": "workspace",
|
|
3257
|
+
"required": false,
|
|
3258
|
+
"hasDynamicHelp": false,
|
|
3259
|
+
"multiple": false,
|
|
3260
|
+
"type": "option"
|
|
3261
|
+
}
|
|
3262
|
+
},
|
|
3263
|
+
"hasDynamicHelp": false,
|
|
3264
|
+
"hiddenAliases": [],
|
|
3265
|
+
"id": "tenant:impersonate",
|
|
3266
|
+
"pluginAlias": "@xano/cli",
|
|
3267
|
+
"pluginName": "@xano/cli",
|
|
3268
|
+
"pluginType": "core",
|
|
3269
|
+
"strict": true,
|
|
3270
|
+
"enableJsonFlag": false,
|
|
3271
|
+
"isESM": true,
|
|
3272
|
+
"relativePath": [
|
|
3273
|
+
"dist",
|
|
3274
|
+
"commands",
|
|
3275
|
+
"tenant",
|
|
3276
|
+
"impersonate",
|
|
3277
|
+
"index.js"
|
|
3278
|
+
]
|
|
3279
|
+
},
|
|
3306
3280
|
"tenant:pull": {
|
|
3307
3281
|
"aliases": [],
|
|
3308
3282
|
"args": {
|
|
@@ -3568,7 +3542,158 @@
|
|
|
3568
3542
|
},
|
|
3569
3543
|
"hasDynamicHelp": false,
|
|
3570
3544
|
"hiddenAliases": [],
|
|
3571
|
-
"id": "unit_test:list",
|
|
3545
|
+
"id": "unit_test:list",
|
|
3546
|
+
"pluginAlias": "@xano/cli",
|
|
3547
|
+
"pluginName": "@xano/cli",
|
|
3548
|
+
"pluginType": "core",
|
|
3549
|
+
"strict": true,
|
|
3550
|
+
"enableJsonFlag": false,
|
|
3551
|
+
"isESM": true,
|
|
3552
|
+
"relativePath": [
|
|
3553
|
+
"dist",
|
|
3554
|
+
"commands",
|
|
3555
|
+
"unit_test",
|
|
3556
|
+
"list",
|
|
3557
|
+
"index.js"
|
|
3558
|
+
]
|
|
3559
|
+
},
|
|
3560
|
+
"unit_test:run": {
|
|
3561
|
+
"aliases": [],
|
|
3562
|
+
"args": {
|
|
3563
|
+
"unit_test_id": {
|
|
3564
|
+
"description": "ID of the unit test to run",
|
|
3565
|
+
"name": "unit_test_id",
|
|
3566
|
+
"required": true
|
|
3567
|
+
}
|
|
3568
|
+
},
|
|
3569
|
+
"description": "Run a unit test",
|
|
3570
|
+
"examples": [
|
|
3571
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3572
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3573
|
+
],
|
|
3574
|
+
"flags": {
|
|
3575
|
+
"profile": {
|
|
3576
|
+
"char": "p",
|
|
3577
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3578
|
+
"env": "XANO_PROFILE",
|
|
3579
|
+
"name": "profile",
|
|
3580
|
+
"required": false,
|
|
3581
|
+
"hasDynamicHelp": false,
|
|
3582
|
+
"multiple": false,
|
|
3583
|
+
"type": "option"
|
|
3584
|
+
},
|
|
3585
|
+
"verbose": {
|
|
3586
|
+
"char": "v",
|
|
3587
|
+
"description": "Show detailed request/response information",
|
|
3588
|
+
"env": "XANO_VERBOSE",
|
|
3589
|
+
"name": "verbose",
|
|
3590
|
+
"required": false,
|
|
3591
|
+
"allowNo": false,
|
|
3592
|
+
"type": "boolean"
|
|
3593
|
+
},
|
|
3594
|
+
"output": {
|
|
3595
|
+
"char": "o",
|
|
3596
|
+
"description": "Output format",
|
|
3597
|
+
"name": "output",
|
|
3598
|
+
"required": false,
|
|
3599
|
+
"default": "summary",
|
|
3600
|
+
"hasDynamicHelp": false,
|
|
3601
|
+
"multiple": false,
|
|
3602
|
+
"options": [
|
|
3603
|
+
"summary",
|
|
3604
|
+
"json"
|
|
3605
|
+
],
|
|
3606
|
+
"type": "option"
|
|
3607
|
+
},
|
|
3608
|
+
"workspace": {
|
|
3609
|
+
"char": "w",
|
|
3610
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3611
|
+
"name": "workspace",
|
|
3612
|
+
"required": false,
|
|
3613
|
+
"hasDynamicHelp": false,
|
|
3614
|
+
"multiple": false,
|
|
3615
|
+
"type": "option"
|
|
3616
|
+
}
|
|
3617
|
+
},
|
|
3618
|
+
"hasDynamicHelp": false,
|
|
3619
|
+
"hiddenAliases": [],
|
|
3620
|
+
"id": "unit_test:run",
|
|
3621
|
+
"pluginAlias": "@xano/cli",
|
|
3622
|
+
"pluginName": "@xano/cli",
|
|
3623
|
+
"pluginType": "core",
|
|
3624
|
+
"strict": true,
|
|
3625
|
+
"enableJsonFlag": false,
|
|
3626
|
+
"isESM": true,
|
|
3627
|
+
"relativePath": [
|
|
3628
|
+
"dist",
|
|
3629
|
+
"commands",
|
|
3630
|
+
"unit_test",
|
|
3631
|
+
"run",
|
|
3632
|
+
"index.js"
|
|
3633
|
+
]
|
|
3634
|
+
},
|
|
3635
|
+
"workspace:create": {
|
|
3636
|
+
"aliases": [],
|
|
3637
|
+
"args": {
|
|
3638
|
+
"name": {
|
|
3639
|
+
"description": "Name of the workspace",
|
|
3640
|
+
"name": "name",
|
|
3641
|
+
"required": true
|
|
3642
|
+
}
|
|
3643
|
+
},
|
|
3644
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
3645
|
+
"examples": [
|
|
3646
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
3647
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
3648
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
3649
|
+
],
|
|
3650
|
+
"flags": {
|
|
3651
|
+
"profile": {
|
|
3652
|
+
"char": "p",
|
|
3653
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3654
|
+
"env": "XANO_PROFILE",
|
|
3655
|
+
"name": "profile",
|
|
3656
|
+
"required": false,
|
|
3657
|
+
"hasDynamicHelp": false,
|
|
3658
|
+
"multiple": false,
|
|
3659
|
+
"type": "option"
|
|
3660
|
+
},
|
|
3661
|
+
"verbose": {
|
|
3662
|
+
"char": "v",
|
|
3663
|
+
"description": "Show detailed request/response information",
|
|
3664
|
+
"env": "XANO_VERBOSE",
|
|
3665
|
+
"name": "verbose",
|
|
3666
|
+
"required": false,
|
|
3667
|
+
"allowNo": false,
|
|
3668
|
+
"type": "boolean"
|
|
3669
|
+
},
|
|
3670
|
+
"description": {
|
|
3671
|
+
"char": "d",
|
|
3672
|
+
"description": "Description for the workspace",
|
|
3673
|
+
"name": "description",
|
|
3674
|
+
"required": false,
|
|
3675
|
+
"hasDynamicHelp": false,
|
|
3676
|
+
"multiple": false,
|
|
3677
|
+
"type": "option"
|
|
3678
|
+
},
|
|
3679
|
+
"output": {
|
|
3680
|
+
"char": "o",
|
|
3681
|
+
"description": "Output format",
|
|
3682
|
+
"name": "output",
|
|
3683
|
+
"required": false,
|
|
3684
|
+
"default": "summary",
|
|
3685
|
+
"hasDynamicHelp": false,
|
|
3686
|
+
"multiple": false,
|
|
3687
|
+
"options": [
|
|
3688
|
+
"summary",
|
|
3689
|
+
"json"
|
|
3690
|
+
],
|
|
3691
|
+
"type": "option"
|
|
3692
|
+
}
|
|
3693
|
+
},
|
|
3694
|
+
"hasDynamicHelp": false,
|
|
3695
|
+
"hiddenAliases": [],
|
|
3696
|
+
"id": "workspace:create",
|
|
3572
3697
|
"pluginAlias": "@xano/cli",
|
|
3573
3698
|
"pluginName": "@xano/cli",
|
|
3574
3699
|
"pluginType": "core",
|
|
@@ -3578,24 +3703,25 @@
|
|
|
3578
3703
|
"relativePath": [
|
|
3579
3704
|
"dist",
|
|
3580
3705
|
"commands",
|
|
3581
|
-
"
|
|
3582
|
-
"
|
|
3706
|
+
"workspace",
|
|
3707
|
+
"create",
|
|
3583
3708
|
"index.js"
|
|
3584
3709
|
]
|
|
3585
3710
|
},
|
|
3586
|
-
"
|
|
3711
|
+
"workspace:delete": {
|
|
3587
3712
|
"aliases": [],
|
|
3588
3713
|
"args": {
|
|
3589
|
-
"
|
|
3590
|
-
"description": "ID
|
|
3591
|
-
"name": "
|
|
3714
|
+
"workspace_id": {
|
|
3715
|
+
"description": "Workspace ID to delete",
|
|
3716
|
+
"name": "workspace_id",
|
|
3592
3717
|
"required": true
|
|
3593
3718
|
}
|
|
3594
3719
|
},
|
|
3595
|
-
"description": "
|
|
3720
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
3596
3721
|
"examples": [
|
|
3597
|
-
"$ xano
|
|
3598
|
-
"$ xano
|
|
3722
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
3723
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
3724
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3599
3725
|
],
|
|
3600
3726
|
"flags": {
|
|
3601
3727
|
"profile": {
|
|
@@ -3617,6 +3743,14 @@
|
|
|
3617
3743
|
"allowNo": false,
|
|
3618
3744
|
"type": "boolean"
|
|
3619
3745
|
},
|
|
3746
|
+
"force": {
|
|
3747
|
+
"char": "f",
|
|
3748
|
+
"description": "Skip confirmation prompt",
|
|
3749
|
+
"name": "force",
|
|
3750
|
+
"required": false,
|
|
3751
|
+
"allowNo": false,
|
|
3752
|
+
"type": "boolean"
|
|
3753
|
+
},
|
|
3620
3754
|
"output": {
|
|
3621
3755
|
"char": "o",
|
|
3622
3756
|
"description": "Output format",
|
|
@@ -3630,20 +3764,11 @@
|
|
|
3630
3764
|
"json"
|
|
3631
3765
|
],
|
|
3632
3766
|
"type": "option"
|
|
3633
|
-
},
|
|
3634
|
-
"workspace": {
|
|
3635
|
-
"char": "w",
|
|
3636
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3637
|
-
"name": "workspace",
|
|
3638
|
-
"required": false,
|
|
3639
|
-
"hasDynamicHelp": false,
|
|
3640
|
-
"multiple": false,
|
|
3641
|
-
"type": "option"
|
|
3642
3767
|
}
|
|
3643
3768
|
},
|
|
3644
3769
|
"hasDynamicHelp": false,
|
|
3645
3770
|
"hiddenAliases": [],
|
|
3646
|
-
"id": "
|
|
3771
|
+
"id": "workspace:delete",
|
|
3647
3772
|
"pluginAlias": "@xano/cli",
|
|
3648
3773
|
"pluginName": "@xano/cli",
|
|
3649
3774
|
"pluginType": "core",
|
|
@@ -3653,8 +3778,8 @@
|
|
|
3653
3778
|
"relativePath": [
|
|
3654
3779
|
"dist",
|
|
3655
3780
|
"commands",
|
|
3656
|
-
"
|
|
3657
|
-
"
|
|
3781
|
+
"workspace",
|
|
3782
|
+
"delete",
|
|
3658
3783
|
"index.js"
|
|
3659
3784
|
]
|
|
3660
3785
|
},
|
|
@@ -3749,19 +3874,21 @@
|
|
|
3749
3874
|
"index.js"
|
|
3750
3875
|
]
|
|
3751
3876
|
},
|
|
3752
|
-
"
|
|
3877
|
+
"workspace:edit": {
|
|
3753
3878
|
"aliases": [],
|
|
3754
3879
|
"args": {
|
|
3755
|
-
"
|
|
3756
|
-
"description": "ID
|
|
3757
|
-
"name": "
|
|
3758
|
-
"required":
|
|
3880
|
+
"workspace_id": {
|
|
3881
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3882
|
+
"name": "workspace_id",
|
|
3883
|
+
"required": false
|
|
3759
3884
|
}
|
|
3760
3885
|
},
|
|
3761
|
-
"description": "
|
|
3886
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
3762
3887
|
"examples": [
|
|
3763
|
-
"$ xano
|
|
3764
|
-
"$ xano
|
|
3888
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
3889
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
3890
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
3891
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
3765
3892
|
],
|
|
3766
3893
|
"flags": {
|
|
3767
3894
|
"profile": {
|
|
@@ -3783,97 +3910,24 @@
|
|
|
3783
3910
|
"allowNo": false,
|
|
3784
3911
|
"type": "boolean"
|
|
3785
3912
|
},
|
|
3786
|
-
"
|
|
3787
|
-
"char": "
|
|
3788
|
-
"description": "
|
|
3789
|
-
"name": "
|
|
3790
|
-
"required": false,
|
|
3791
|
-
"allowNo": false,
|
|
3792
|
-
"type": "boolean"
|
|
3793
|
-
},
|
|
3794
|
-
"output": {
|
|
3795
|
-
"char": "o",
|
|
3796
|
-
"description": "Output format",
|
|
3797
|
-
"name": "output",
|
|
3913
|
+
"description": {
|
|
3914
|
+
"char": "d",
|
|
3915
|
+
"description": "New description for the workspace",
|
|
3916
|
+
"name": "description",
|
|
3798
3917
|
"required": false,
|
|
3799
|
-
"default": "summary",
|
|
3800
3918
|
"hasDynamicHelp": false,
|
|
3801
3919
|
"multiple": false,
|
|
3802
|
-
"options": [
|
|
3803
|
-
"summary",
|
|
3804
|
-
"json"
|
|
3805
|
-
],
|
|
3806
3920
|
"type": "option"
|
|
3807
3921
|
},
|
|
3808
|
-
"
|
|
3809
|
-
"char": "
|
|
3810
|
-
"description": "
|
|
3811
|
-
"name": "
|
|
3812
|
-
"required": false,
|
|
3813
|
-
"hasDynamicHelp": false,
|
|
3814
|
-
"multiple": false,
|
|
3815
|
-
"type": "option"
|
|
3816
|
-
}
|
|
3817
|
-
},
|
|
3818
|
-
"hasDynamicHelp": false,
|
|
3819
|
-
"hiddenAliases": [],
|
|
3820
|
-
"id": "workflow_test:delete",
|
|
3821
|
-
"pluginAlias": "@xano/cli",
|
|
3822
|
-
"pluginName": "@xano/cli",
|
|
3823
|
-
"pluginType": "core",
|
|
3824
|
-
"strict": true,
|
|
3825
|
-
"enableJsonFlag": false,
|
|
3826
|
-
"isESM": true,
|
|
3827
|
-
"relativePath": [
|
|
3828
|
-
"dist",
|
|
3829
|
-
"commands",
|
|
3830
|
-
"workflow_test",
|
|
3831
|
-
"delete",
|
|
3832
|
-
"index.js"
|
|
3833
|
-
]
|
|
3834
|
-
},
|
|
3835
|
-
"workflow_test:get": {
|
|
3836
|
-
"aliases": [],
|
|
3837
|
-
"args": {
|
|
3838
|
-
"workflow_test_id": {
|
|
3839
|
-
"description": "ID of the workflow test",
|
|
3840
|
-
"name": "workflow_test_id",
|
|
3841
|
-
"required": true
|
|
3842
|
-
}
|
|
3843
|
-
},
|
|
3844
|
-
"description": "Get a specific workflow test",
|
|
3845
|
-
"examples": [
|
|
3846
|
-
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3847
|
-
"$ xano workflow-test get 1 -o xs",
|
|
3848
|
-
"$ xano workflow-test get 1 -o json"
|
|
3849
|
-
],
|
|
3850
|
-
"flags": {
|
|
3851
|
-
"profile": {
|
|
3852
|
-
"char": "p",
|
|
3853
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3854
|
-
"env": "XANO_PROFILE",
|
|
3855
|
-
"name": "profile",
|
|
3922
|
+
"name": {
|
|
3923
|
+
"char": "n",
|
|
3924
|
+
"description": "New name for the workspace",
|
|
3925
|
+
"name": "name",
|
|
3856
3926
|
"required": false,
|
|
3857
3927
|
"hasDynamicHelp": false,
|
|
3858
3928
|
"multiple": false,
|
|
3859
3929
|
"type": "option"
|
|
3860
3930
|
},
|
|
3861
|
-
"verbose": {
|
|
3862
|
-
"char": "v",
|
|
3863
|
-
"description": "Show detailed request/response information",
|
|
3864
|
-
"env": "XANO_VERBOSE",
|
|
3865
|
-
"name": "verbose",
|
|
3866
|
-
"required": false,
|
|
3867
|
-
"allowNo": false,
|
|
3868
|
-
"type": "boolean"
|
|
3869
|
-
},
|
|
3870
|
-
"include-draft": {
|
|
3871
|
-
"description": "Include draft version",
|
|
3872
|
-
"name": "include-draft",
|
|
3873
|
-
"required": false,
|
|
3874
|
-
"allowNo": false,
|
|
3875
|
-
"type": "boolean"
|
|
3876
|
-
},
|
|
3877
3931
|
"output": {
|
|
3878
3932
|
"char": "o",
|
|
3879
3933
|
"description": "Output format",
|
|
@@ -3884,24 +3938,28 @@
|
|
|
3884
3938
|
"multiple": false,
|
|
3885
3939
|
"options": [
|
|
3886
3940
|
"summary",
|
|
3887
|
-
"json"
|
|
3888
|
-
"xs"
|
|
3941
|
+
"json"
|
|
3889
3942
|
],
|
|
3890
3943
|
"type": "option"
|
|
3891
3944
|
},
|
|
3892
|
-
"
|
|
3893
|
-
"
|
|
3894
|
-
"
|
|
3895
|
-
"name": "workspace",
|
|
3945
|
+
"require-token": {
|
|
3946
|
+
"description": "Whether to require a token for documentation access",
|
|
3947
|
+
"name": "require-token",
|
|
3896
3948
|
"required": false,
|
|
3897
|
-
"
|
|
3898
|
-
"
|
|
3899
|
-
|
|
3949
|
+
"allowNo": true,
|
|
3950
|
+
"type": "boolean"
|
|
3951
|
+
},
|
|
3952
|
+
"swagger": {
|
|
3953
|
+
"description": "Enable or disable swagger documentation",
|
|
3954
|
+
"name": "swagger",
|
|
3955
|
+
"required": false,
|
|
3956
|
+
"allowNo": true,
|
|
3957
|
+
"type": "boolean"
|
|
3900
3958
|
}
|
|
3901
3959
|
},
|
|
3902
3960
|
"hasDynamicHelp": false,
|
|
3903
3961
|
"hiddenAliases": [],
|
|
3904
|
-
"id": "
|
|
3962
|
+
"id": "workspace:edit",
|
|
3905
3963
|
"pluginAlias": "@xano/cli",
|
|
3906
3964
|
"pluginName": "@xano/cli",
|
|
3907
3965
|
"pluginType": "core",
|
|
@@ -3911,19 +3969,25 @@
|
|
|
3911
3969
|
"relativePath": [
|
|
3912
3970
|
"dist",
|
|
3913
3971
|
"commands",
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3972
|
+
"workspace",
|
|
3973
|
+
"edit",
|
|
3916
3974
|
"index.js"
|
|
3917
3975
|
]
|
|
3918
3976
|
},
|
|
3919
|
-
"
|
|
3977
|
+
"workspace:get": {
|
|
3920
3978
|
"aliases": [],
|
|
3921
|
-
"args": {
|
|
3922
|
-
|
|
3979
|
+
"args": {
|
|
3980
|
+
"workspace_id": {
|
|
3981
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
3982
|
+
"name": "workspace_id",
|
|
3983
|
+
"required": false
|
|
3984
|
+
}
|
|
3985
|
+
},
|
|
3986
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
3923
3987
|
"examples": [
|
|
3924
|
-
"$ xano
|
|
3925
|
-
"$ xano
|
|
3926
|
-
"$ xano
|
|
3988
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
3989
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
3990
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
3927
3991
|
],
|
|
3928
3992
|
"flags": {
|
|
3929
3993
|
"profile": {
|
|
@@ -3945,15 +4009,6 @@
|
|
|
3945
4009
|
"allowNo": false,
|
|
3946
4010
|
"type": "boolean"
|
|
3947
4011
|
},
|
|
3948
|
-
"branch": {
|
|
3949
|
-
"char": "b",
|
|
3950
|
-
"description": "Filter by branch name",
|
|
3951
|
-
"name": "branch",
|
|
3952
|
-
"required": false,
|
|
3953
|
-
"hasDynamicHelp": false,
|
|
3954
|
-
"multiple": false,
|
|
3955
|
-
"type": "option"
|
|
3956
|
-
},
|
|
3957
4012
|
"output": {
|
|
3958
4013
|
"char": "o",
|
|
3959
4014
|
"description": "Output format",
|
|
@@ -3967,20 +4022,11 @@
|
|
|
3967
4022
|
"json"
|
|
3968
4023
|
],
|
|
3969
4024
|
"type": "option"
|
|
3970
|
-
},
|
|
3971
|
-
"workspace": {
|
|
3972
|
-
"char": "w",
|
|
3973
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3974
|
-
"name": "workspace",
|
|
3975
|
-
"required": false,
|
|
3976
|
-
"hasDynamicHelp": false,
|
|
3977
|
-
"multiple": false,
|
|
3978
|
-
"type": "option"
|
|
3979
4025
|
}
|
|
3980
4026
|
},
|
|
3981
4027
|
"hasDynamicHelp": false,
|
|
3982
4028
|
"hiddenAliases": [],
|
|
3983
|
-
"id": "
|
|
4029
|
+
"id": "workspace:get",
|
|
3984
4030
|
"pluginAlias": "@xano/cli",
|
|
3985
4031
|
"pluginName": "@xano/cli",
|
|
3986
4032
|
"pluginType": "core",
|
|
@@ -3990,24 +4036,20 @@
|
|
|
3990
4036
|
"relativePath": [
|
|
3991
4037
|
"dist",
|
|
3992
4038
|
"commands",
|
|
3993
|
-
"
|
|
3994
|
-
"
|
|
4039
|
+
"workspace",
|
|
4040
|
+
"get",
|
|
3995
4041
|
"index.js"
|
|
3996
4042
|
]
|
|
3997
4043
|
},
|
|
3998
|
-
"
|
|
4044
|
+
"workspace:list": {
|
|
3999
4045
|
"aliases": [],
|
|
4000
|
-
"args": {
|
|
4001
|
-
|
|
4002
|
-
"description": "ID of the workflow test to run",
|
|
4003
|
-
"name": "workflow_test_id",
|
|
4004
|
-
"required": true
|
|
4005
|
-
}
|
|
4006
|
-
},
|
|
4007
|
-
"description": "Run a workflow test",
|
|
4046
|
+
"args": {},
|
|
4047
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4008
4048
|
"examples": [
|
|
4009
|
-
"$ xano
|
|
4010
|
-
"$ xano
|
|
4049
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4050
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4051
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4052
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4011
4053
|
],
|
|
4012
4054
|
"flags": {
|
|
4013
4055
|
"profile": {
|
|
@@ -4031,31 +4073,22 @@
|
|
|
4031
4073
|
},
|
|
4032
4074
|
"output": {
|
|
4033
4075
|
"char": "o",
|
|
4034
|
-
"description": "Output format",
|
|
4035
|
-
"name": "output",
|
|
4036
|
-
"required": false,
|
|
4037
|
-
"default": "summary",
|
|
4038
|
-
"hasDynamicHelp": false,
|
|
4039
|
-
"multiple": false,
|
|
4040
|
-
"options": [
|
|
4041
|
-
"summary",
|
|
4042
|
-
"json"
|
|
4043
|
-
],
|
|
4044
|
-
"type": "option"
|
|
4045
|
-
},
|
|
4046
|
-
"workspace": {
|
|
4047
|
-
"char": "w",
|
|
4048
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4049
|
-
"name": "workspace",
|
|
4076
|
+
"description": "Output format",
|
|
4077
|
+
"name": "output",
|
|
4050
4078
|
"required": false,
|
|
4079
|
+
"default": "summary",
|
|
4051
4080
|
"hasDynamicHelp": false,
|
|
4052
4081
|
"multiple": false,
|
|
4082
|
+
"options": [
|
|
4083
|
+
"summary",
|
|
4084
|
+
"json"
|
|
4085
|
+
],
|
|
4053
4086
|
"type": "option"
|
|
4054
4087
|
}
|
|
4055
4088
|
},
|
|
4056
4089
|
"hasDynamicHelp": false,
|
|
4057
4090
|
"hiddenAliases": [],
|
|
4058
|
-
"id": "
|
|
4091
|
+
"id": "workspace:list",
|
|
4059
4092
|
"pluginAlias": "@xano/cli",
|
|
4060
4093
|
"pluginName": "@xano/cli",
|
|
4061
4094
|
"pluginType": "core",
|
|
@@ -4065,18 +4098,27 @@
|
|
|
4065
4098
|
"relativePath": [
|
|
4066
4099
|
"dist",
|
|
4067
4100
|
"commands",
|
|
4068
|
-
"
|
|
4069
|
-
"
|
|
4101
|
+
"workspace",
|
|
4102
|
+
"list",
|
|
4070
4103
|
"index.js"
|
|
4071
4104
|
]
|
|
4072
4105
|
},
|
|
4073
|
-
"
|
|
4106
|
+
"workspace:pull": {
|
|
4074
4107
|
"aliases": [],
|
|
4075
|
-
"args": {
|
|
4076
|
-
|
|
4108
|
+
"args": {
|
|
4109
|
+
"directory": {
|
|
4110
|
+
"description": "Output directory for pulled documents",
|
|
4111
|
+
"name": "directory",
|
|
4112
|
+
"required": true
|
|
4113
|
+
}
|
|
4114
|
+
},
|
|
4115
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4077
4116
|
"examples": [
|
|
4078
|
-
"$ xano
|
|
4079
|
-
"$ xano
|
|
4117
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4118
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4119
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4120
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4121
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4080
4122
|
],
|
|
4081
4123
|
"flags": {
|
|
4082
4124
|
"profile": {
|
|
@@ -4100,30 +4142,37 @@
|
|
|
4100
4142
|
},
|
|
4101
4143
|
"branch": {
|
|
4102
4144
|
"char": "b",
|
|
4103
|
-
"description": "
|
|
4145
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4104
4146
|
"name": "branch",
|
|
4105
4147
|
"required": false,
|
|
4106
4148
|
"hasDynamicHelp": false,
|
|
4107
4149
|
"multiple": false,
|
|
4108
4150
|
"type": "option"
|
|
4109
4151
|
},
|
|
4110
|
-
"
|
|
4111
|
-
"
|
|
4112
|
-
"
|
|
4113
|
-
"name": "output",
|
|
4152
|
+
"env": {
|
|
4153
|
+
"description": "Include environment variables",
|
|
4154
|
+
"name": "env",
|
|
4114
4155
|
"required": false,
|
|
4115
|
-
"
|
|
4116
|
-
"
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
"
|
|
4156
|
+
"allowNo": false,
|
|
4157
|
+
"type": "boolean"
|
|
4158
|
+
},
|
|
4159
|
+
"draft": {
|
|
4160
|
+
"description": "Include draft versions",
|
|
4161
|
+
"name": "draft",
|
|
4162
|
+
"required": false,
|
|
4163
|
+
"allowNo": false,
|
|
4164
|
+
"type": "boolean"
|
|
4165
|
+
},
|
|
4166
|
+
"records": {
|
|
4167
|
+
"description": "Include records",
|
|
4168
|
+
"name": "records",
|
|
4169
|
+
"required": false,
|
|
4170
|
+
"allowNo": false,
|
|
4171
|
+
"type": "boolean"
|
|
4123
4172
|
},
|
|
4124
4173
|
"workspace": {
|
|
4125
4174
|
"char": "w",
|
|
4126
|
-
"description": "Workspace ID (
|
|
4175
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4127
4176
|
"name": "workspace",
|
|
4128
4177
|
"required": false,
|
|
4129
4178
|
"hasDynamicHelp": false,
|
|
@@ -4133,7 +4182,7 @@
|
|
|
4133
4182
|
},
|
|
4134
4183
|
"hasDynamicHelp": false,
|
|
4135
4184
|
"hiddenAliases": [],
|
|
4136
|
-
"id": "
|
|
4185
|
+
"id": "workspace:pull",
|
|
4137
4186
|
"pluginAlias": "@xano/cli",
|
|
4138
4187
|
"pluginName": "@xano/cli",
|
|
4139
4188
|
"pluginType": "core",
|
|
@@ -4143,25 +4192,33 @@
|
|
|
4143
4192
|
"relativePath": [
|
|
4144
4193
|
"dist",
|
|
4145
4194
|
"commands",
|
|
4146
|
-
"
|
|
4147
|
-
"
|
|
4195
|
+
"workspace",
|
|
4196
|
+
"pull",
|
|
4148
4197
|
"index.js"
|
|
4149
4198
|
]
|
|
4150
4199
|
},
|
|
4151
|
-
"workspace:
|
|
4200
|
+
"workspace:push": {
|
|
4152
4201
|
"aliases": [],
|
|
4153
4202
|
"args": {
|
|
4154
|
-
"
|
|
4155
|
-
"description": "
|
|
4156
|
-
"name": "
|
|
4203
|
+
"directory": {
|
|
4204
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4205
|
+
"name": "directory",
|
|
4157
4206
|
"required": true
|
|
4158
4207
|
}
|
|
4159
4208
|
},
|
|
4160
|
-
"description": "
|
|
4209
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4161
4210
|
"examples": [
|
|
4162
|
-
"$ xano workspace
|
|
4163
|
-
"$ xano workspace
|
|
4164
|
-
"$ xano workspace
|
|
4211
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4212
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4213
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4214
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4215
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4216
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4217
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4218
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4219
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4220
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4221
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4165
4222
|
],
|
|
4166
4223
|
"flags": {
|
|
4167
4224
|
"profile": {
|
|
@@ -4183,33 +4240,70 @@
|
|
|
4183
4240
|
"allowNo": false,
|
|
4184
4241
|
"type": "boolean"
|
|
4185
4242
|
},
|
|
4186
|
-
"
|
|
4187
|
-
"char": "
|
|
4188
|
-
"description": "
|
|
4189
|
-
"name": "
|
|
4243
|
+
"branch": {
|
|
4244
|
+
"char": "b",
|
|
4245
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4246
|
+
"name": "branch",
|
|
4190
4247
|
"required": false,
|
|
4191
4248
|
"hasDynamicHelp": false,
|
|
4192
4249
|
"multiple": false,
|
|
4193
4250
|
"type": "option"
|
|
4194
4251
|
},
|
|
4195
|
-
"
|
|
4196
|
-
"
|
|
4197
|
-
"
|
|
4198
|
-
"
|
|
4252
|
+
"delete": {
|
|
4253
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4254
|
+
"name": "delete",
|
|
4255
|
+
"required": false,
|
|
4256
|
+
"allowNo": true,
|
|
4257
|
+
"type": "boolean"
|
|
4258
|
+
},
|
|
4259
|
+
"env": {
|
|
4260
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4261
|
+
"name": "env",
|
|
4262
|
+
"required": false,
|
|
4263
|
+
"allowNo": true,
|
|
4264
|
+
"type": "boolean"
|
|
4265
|
+
},
|
|
4266
|
+
"partial": {
|
|
4267
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4268
|
+
"name": "partial",
|
|
4269
|
+
"required": false,
|
|
4270
|
+
"allowNo": false,
|
|
4271
|
+
"type": "boolean"
|
|
4272
|
+
},
|
|
4273
|
+
"records": {
|
|
4274
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4275
|
+
"name": "records",
|
|
4276
|
+
"required": false,
|
|
4277
|
+
"allowNo": true,
|
|
4278
|
+
"type": "boolean"
|
|
4279
|
+
},
|
|
4280
|
+
"sync-guids": {
|
|
4281
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4282
|
+
"name": "sync-guids",
|
|
4283
|
+
"required": false,
|
|
4284
|
+
"allowNo": true,
|
|
4285
|
+
"type": "boolean"
|
|
4286
|
+
},
|
|
4287
|
+
"truncate": {
|
|
4288
|
+
"description": "Truncate all table records before importing",
|
|
4289
|
+
"name": "truncate",
|
|
4290
|
+
"required": false,
|
|
4291
|
+
"allowNo": false,
|
|
4292
|
+
"type": "boolean"
|
|
4293
|
+
},
|
|
4294
|
+
"workspace": {
|
|
4295
|
+
"char": "w",
|
|
4296
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4297
|
+
"name": "workspace",
|
|
4199
4298
|
"required": false,
|
|
4200
|
-
"default": "summary",
|
|
4201
4299
|
"hasDynamicHelp": false,
|
|
4202
4300
|
"multiple": false,
|
|
4203
|
-
"options": [
|
|
4204
|
-
"summary",
|
|
4205
|
-
"json"
|
|
4206
|
-
],
|
|
4207
4301
|
"type": "option"
|
|
4208
4302
|
}
|
|
4209
4303
|
},
|
|
4210
4304
|
"hasDynamicHelp": false,
|
|
4211
4305
|
"hiddenAliases": [],
|
|
4212
|
-
"id": "workspace:
|
|
4306
|
+
"id": "workspace:push",
|
|
4213
4307
|
"pluginAlias": "@xano/cli",
|
|
4214
4308
|
"pluginName": "@xano/cli",
|
|
4215
4309
|
"pluginType": "core",
|
|
@@ -4220,24 +4314,23 @@
|
|
|
4220
4314
|
"dist",
|
|
4221
4315
|
"commands",
|
|
4222
4316
|
"workspace",
|
|
4223
|
-
"
|
|
4317
|
+
"push",
|
|
4224
4318
|
"index.js"
|
|
4225
4319
|
]
|
|
4226
4320
|
},
|
|
4227
|
-
"
|
|
4321
|
+
"workflow_test:delete": {
|
|
4228
4322
|
"aliases": [],
|
|
4229
4323
|
"args": {
|
|
4230
|
-
"
|
|
4231
|
-
"description": "
|
|
4232
|
-
"name": "
|
|
4324
|
+
"workflow_test_id": {
|
|
4325
|
+
"description": "ID of the workflow test to delete",
|
|
4326
|
+
"name": "workflow_test_id",
|
|
4233
4327
|
"required": true
|
|
4234
4328
|
}
|
|
4235
4329
|
},
|
|
4236
|
-
"description": "Delete a
|
|
4330
|
+
"description": "Delete a workflow test",
|
|
4237
4331
|
"examples": [
|
|
4238
|
-
"$ xano
|
|
4239
|
-
"$ xano
|
|
4240
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4332
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
4333
|
+
"$ xano workflow-test delete 1 --force"
|
|
4241
4334
|
],
|
|
4242
4335
|
"flags": {
|
|
4243
4336
|
"profile": {
|
|
@@ -4280,11 +4373,20 @@
|
|
|
4280
4373
|
"json"
|
|
4281
4374
|
],
|
|
4282
4375
|
"type": "option"
|
|
4376
|
+
},
|
|
4377
|
+
"workspace": {
|
|
4378
|
+
"char": "w",
|
|
4379
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4380
|
+
"name": "workspace",
|
|
4381
|
+
"required": false,
|
|
4382
|
+
"hasDynamicHelp": false,
|
|
4383
|
+
"multiple": false,
|
|
4384
|
+
"type": "option"
|
|
4283
4385
|
}
|
|
4284
4386
|
},
|
|
4285
4387
|
"hasDynamicHelp": false,
|
|
4286
4388
|
"hiddenAliases": [],
|
|
4287
|
-
"id": "
|
|
4389
|
+
"id": "workflow_test:delete",
|
|
4288
4390
|
"pluginAlias": "@xano/cli",
|
|
4289
4391
|
"pluginName": "@xano/cli",
|
|
4290
4392
|
"pluginType": "core",
|
|
@@ -4294,26 +4396,25 @@
|
|
|
4294
4396
|
"relativePath": [
|
|
4295
4397
|
"dist",
|
|
4296
4398
|
"commands",
|
|
4297
|
-
"
|
|
4399
|
+
"workflow_test",
|
|
4298
4400
|
"delete",
|
|
4299
4401
|
"index.js"
|
|
4300
4402
|
]
|
|
4301
4403
|
},
|
|
4302
|
-
"
|
|
4404
|
+
"workflow_test:get": {
|
|
4303
4405
|
"aliases": [],
|
|
4304
4406
|
"args": {
|
|
4305
|
-
"
|
|
4306
|
-
"description": "
|
|
4307
|
-
"name": "
|
|
4308
|
-
"required":
|
|
4407
|
+
"workflow_test_id": {
|
|
4408
|
+
"description": "ID of the workflow test",
|
|
4409
|
+
"name": "workflow_test_id",
|
|
4410
|
+
"required": true
|
|
4309
4411
|
}
|
|
4310
4412
|
},
|
|
4311
|
-
"description": "
|
|
4413
|
+
"description": "Get a specific workflow test",
|
|
4312
4414
|
"examples": [
|
|
4313
|
-
"$ xano
|
|
4314
|
-
"$ xano
|
|
4315
|
-
"$ xano
|
|
4316
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4415
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
4416
|
+
"$ xano workflow-test get 1 -o xs",
|
|
4417
|
+
"$ xano workflow-test get 1 -o json"
|
|
4317
4418
|
],
|
|
4318
4419
|
"flags": {
|
|
4319
4420
|
"profile": {
|
|
@@ -4335,23 +4436,12 @@
|
|
|
4335
4436
|
"allowNo": false,
|
|
4336
4437
|
"type": "boolean"
|
|
4337
4438
|
},
|
|
4338
|
-
"
|
|
4339
|
-
"
|
|
4340
|
-
"
|
|
4341
|
-
"name": "description",
|
|
4342
|
-
"required": false,
|
|
4343
|
-
"hasDynamicHelp": false,
|
|
4344
|
-
"multiple": false,
|
|
4345
|
-
"type": "option"
|
|
4346
|
-
},
|
|
4347
|
-
"name": {
|
|
4348
|
-
"char": "n",
|
|
4349
|
-
"description": "New name for the workspace",
|
|
4350
|
-
"name": "name",
|
|
4439
|
+
"include-draft": {
|
|
4440
|
+
"description": "Include draft version",
|
|
4441
|
+
"name": "include-draft",
|
|
4351
4442
|
"required": false,
|
|
4352
|
-
"
|
|
4353
|
-
"
|
|
4354
|
-
"type": "option"
|
|
4443
|
+
"allowNo": false,
|
|
4444
|
+
"type": "boolean"
|
|
4355
4445
|
},
|
|
4356
4446
|
"output": {
|
|
4357
4447
|
"char": "o",
|
|
@@ -4363,28 +4453,24 @@
|
|
|
4363
4453
|
"multiple": false,
|
|
4364
4454
|
"options": [
|
|
4365
4455
|
"summary",
|
|
4366
|
-
"json"
|
|
4456
|
+
"json",
|
|
4457
|
+
"xs"
|
|
4367
4458
|
],
|
|
4368
4459
|
"type": "option"
|
|
4369
4460
|
},
|
|
4370
|
-
"
|
|
4371
|
-
"
|
|
4372
|
-
"
|
|
4373
|
-
"
|
|
4374
|
-
"allowNo": true,
|
|
4375
|
-
"type": "boolean"
|
|
4376
|
-
},
|
|
4377
|
-
"swagger": {
|
|
4378
|
-
"description": "Enable or disable swagger documentation",
|
|
4379
|
-
"name": "swagger",
|
|
4461
|
+
"workspace": {
|
|
4462
|
+
"char": "w",
|
|
4463
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4464
|
+
"name": "workspace",
|
|
4380
4465
|
"required": false,
|
|
4381
|
-
"
|
|
4382
|
-
"
|
|
4466
|
+
"hasDynamicHelp": false,
|
|
4467
|
+
"multiple": false,
|
|
4468
|
+
"type": "option"
|
|
4383
4469
|
}
|
|
4384
4470
|
},
|
|
4385
4471
|
"hasDynamicHelp": false,
|
|
4386
4472
|
"hiddenAliases": [],
|
|
4387
|
-
"id": "
|
|
4473
|
+
"id": "workflow_test:get",
|
|
4388
4474
|
"pluginAlias": "@xano/cli",
|
|
4389
4475
|
"pluginName": "@xano/cli",
|
|
4390
4476
|
"pluginType": "core",
|
|
@@ -4394,25 +4480,24 @@
|
|
|
4394
4480
|
"relativePath": [
|
|
4395
4481
|
"dist",
|
|
4396
4482
|
"commands",
|
|
4397
|
-
"
|
|
4398
|
-
"
|
|
4483
|
+
"workflow_test",
|
|
4484
|
+
"get",
|
|
4399
4485
|
"index.js"
|
|
4400
4486
|
]
|
|
4401
4487
|
},
|
|
4402
|
-
"
|
|
4488
|
+
"workflow_test:run": {
|
|
4403
4489
|
"aliases": [],
|
|
4404
4490
|
"args": {
|
|
4405
|
-
"
|
|
4406
|
-
"description": "
|
|
4407
|
-
"name": "
|
|
4408
|
-
"required":
|
|
4491
|
+
"workflow_test_id": {
|
|
4492
|
+
"description": "ID of the workflow test to run",
|
|
4493
|
+
"name": "workflow_test_id",
|
|
4494
|
+
"required": true
|
|
4409
4495
|
}
|
|
4410
4496
|
},
|
|
4411
|
-
"description": "
|
|
4497
|
+
"description": "Run a workflow test",
|
|
4412
4498
|
"examples": [
|
|
4413
|
-
"$ xano
|
|
4414
|
-
"$ xano
|
|
4415
|
-
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4499
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4500
|
+
"$ xano workflow-test run 1 -o json"
|
|
4416
4501
|
],
|
|
4417
4502
|
"flags": {
|
|
4418
4503
|
"profile": {
|
|
@@ -4447,11 +4532,20 @@
|
|
|
4447
4532
|
"json"
|
|
4448
4533
|
],
|
|
4449
4534
|
"type": "option"
|
|
4535
|
+
},
|
|
4536
|
+
"workspace": {
|
|
4537
|
+
"char": "w",
|
|
4538
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4539
|
+
"name": "workspace",
|
|
4540
|
+
"required": false,
|
|
4541
|
+
"hasDynamicHelp": false,
|
|
4542
|
+
"multiple": false,
|
|
4543
|
+
"type": "option"
|
|
4450
4544
|
}
|
|
4451
4545
|
},
|
|
4452
4546
|
"hasDynamicHelp": false,
|
|
4453
4547
|
"hiddenAliases": [],
|
|
4454
|
-
"id": "
|
|
4548
|
+
"id": "workflow_test:run",
|
|
4455
4549
|
"pluginAlias": "@xano/cli",
|
|
4456
4550
|
"pluginName": "@xano/cli",
|
|
4457
4551
|
"pluginType": "core",
|
|
@@ -4461,33 +4555,19 @@
|
|
|
4461
4555
|
"relativePath": [
|
|
4462
4556
|
"dist",
|
|
4463
4557
|
"commands",
|
|
4464
|
-
"
|
|
4465
|
-
"
|
|
4558
|
+
"workflow_test",
|
|
4559
|
+
"run",
|
|
4466
4560
|
"index.js"
|
|
4467
4561
|
]
|
|
4468
4562
|
},
|
|
4469
|
-
"
|
|
4563
|
+
"workflow_test:list": {
|
|
4470
4564
|
"aliases": [],
|
|
4471
|
-
"args": {
|
|
4472
|
-
|
|
4473
|
-
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4474
|
-
"name": "directory",
|
|
4475
|
-
"required": true
|
|
4476
|
-
}
|
|
4477
|
-
},
|
|
4478
|
-
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4565
|
+
"args": {},
|
|
4566
|
+
"description": "List all workflow tests in a workspace",
|
|
4479
4567
|
"examples": [
|
|
4480
|
-
"$ xano workspace
|
|
4481
|
-
"$ xano
|
|
4482
|
-
"$ xano
|
|
4483
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4484
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4485
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4486
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4487
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4488
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4489
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4490
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4568
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4569
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4570
|
+
"$ xano workflow-test list --branch main"
|
|
4491
4571
|
],
|
|
4492
4572
|
"flags": {
|
|
4493
4573
|
"profile": {
|
|
@@ -4511,58 +4591,30 @@
|
|
|
4511
4591
|
},
|
|
4512
4592
|
"branch": {
|
|
4513
4593
|
"char": "b",
|
|
4514
|
-
"description": "
|
|
4594
|
+
"description": "Filter by branch name",
|
|
4515
4595
|
"name": "branch",
|
|
4516
4596
|
"required": false,
|
|
4517
4597
|
"hasDynamicHelp": false,
|
|
4518
4598
|
"multiple": false,
|
|
4519
4599
|
"type": "option"
|
|
4520
4600
|
},
|
|
4521
|
-
"
|
|
4522
|
-
"
|
|
4523
|
-
"
|
|
4524
|
-
"
|
|
4525
|
-
"allowNo": true,
|
|
4526
|
-
"type": "boolean"
|
|
4527
|
-
},
|
|
4528
|
-
"env": {
|
|
4529
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4530
|
-
"name": "env",
|
|
4531
|
-
"required": false,
|
|
4532
|
-
"allowNo": true,
|
|
4533
|
-
"type": "boolean"
|
|
4534
|
-
},
|
|
4535
|
-
"partial": {
|
|
4536
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4537
|
-
"name": "partial",
|
|
4538
|
-
"required": false,
|
|
4539
|
-
"allowNo": false,
|
|
4540
|
-
"type": "boolean"
|
|
4541
|
-
},
|
|
4542
|
-
"records": {
|
|
4543
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4544
|
-
"name": "records",
|
|
4545
|
-
"required": false,
|
|
4546
|
-
"allowNo": true,
|
|
4547
|
-
"type": "boolean"
|
|
4548
|
-
},
|
|
4549
|
-
"sync-guids": {
|
|
4550
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4551
|
-
"name": "sync-guids",
|
|
4552
|
-
"required": false,
|
|
4553
|
-
"allowNo": true,
|
|
4554
|
-
"type": "boolean"
|
|
4555
|
-
},
|
|
4556
|
-
"truncate": {
|
|
4557
|
-
"description": "Truncate all table records before importing",
|
|
4558
|
-
"name": "truncate",
|
|
4601
|
+
"output": {
|
|
4602
|
+
"char": "o",
|
|
4603
|
+
"description": "Output format",
|
|
4604
|
+
"name": "output",
|
|
4559
4605
|
"required": false,
|
|
4560
|
-
"
|
|
4561
|
-
"
|
|
4606
|
+
"default": "summary",
|
|
4607
|
+
"hasDynamicHelp": false,
|
|
4608
|
+
"multiple": false,
|
|
4609
|
+
"options": [
|
|
4610
|
+
"summary",
|
|
4611
|
+
"json"
|
|
4612
|
+
],
|
|
4613
|
+
"type": "option"
|
|
4562
4614
|
},
|
|
4563
4615
|
"workspace": {
|
|
4564
4616
|
"char": "w",
|
|
4565
|
-
"description": "Workspace ID (
|
|
4617
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4566
4618
|
"name": "workspace",
|
|
4567
4619
|
"required": false,
|
|
4568
4620
|
"hasDynamicHelp": false,
|
|
@@ -4572,7 +4624,7 @@
|
|
|
4572
4624
|
},
|
|
4573
4625
|
"hasDynamicHelp": false,
|
|
4574
4626
|
"hiddenAliases": [],
|
|
4575
|
-
"id": "
|
|
4627
|
+
"id": "workflow_test:list",
|
|
4576
4628
|
"pluginAlias": "@xano/cli",
|
|
4577
4629
|
"pluginName": "@xano/cli",
|
|
4578
4630
|
"pluginType": "core",
|
|
@@ -4582,27 +4634,18 @@
|
|
|
4582
4634
|
"relativePath": [
|
|
4583
4635
|
"dist",
|
|
4584
4636
|
"commands",
|
|
4585
|
-
"
|
|
4586
|
-
"
|
|
4637
|
+
"workflow_test",
|
|
4638
|
+
"list",
|
|
4587
4639
|
"index.js"
|
|
4588
4640
|
]
|
|
4589
4641
|
},
|
|
4590
|
-
"
|
|
4642
|
+
"workflow_test:run_all": {
|
|
4591
4643
|
"aliases": [],
|
|
4592
|
-
"args": {
|
|
4593
|
-
|
|
4594
|
-
"description": "Output directory for pulled documents",
|
|
4595
|
-
"name": "directory",
|
|
4596
|
-
"required": true
|
|
4597
|
-
}
|
|
4598
|
-
},
|
|
4599
|
-
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4644
|
+
"args": {},
|
|
4645
|
+
"description": "Run all workflow tests in a workspace",
|
|
4600
4646
|
"examples": [
|
|
4601
|
-
"$ xano
|
|
4602
|
-
"$ xano
|
|
4603
|
-
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4604
|
-
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4605
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4647
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
4648
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4606
4649
|
],
|
|
4607
4650
|
"flags": {
|
|
4608
4651
|
"profile": {
|
|
@@ -4626,37 +4669,30 @@
|
|
|
4626
4669
|
},
|
|
4627
4670
|
"branch": {
|
|
4628
4671
|
"char": "b",
|
|
4629
|
-
"description": "
|
|
4672
|
+
"description": "Filter by branch name",
|
|
4630
4673
|
"name": "branch",
|
|
4631
4674
|
"required": false,
|
|
4632
4675
|
"hasDynamicHelp": false,
|
|
4633
4676
|
"multiple": false,
|
|
4634
4677
|
"type": "option"
|
|
4635
4678
|
},
|
|
4636
|
-
"
|
|
4637
|
-
"
|
|
4638
|
-
"
|
|
4639
|
-
"
|
|
4640
|
-
"allowNo": false,
|
|
4641
|
-
"type": "boolean"
|
|
4642
|
-
},
|
|
4643
|
-
"draft": {
|
|
4644
|
-
"description": "Include draft versions",
|
|
4645
|
-
"name": "draft",
|
|
4646
|
-
"required": false,
|
|
4647
|
-
"allowNo": false,
|
|
4648
|
-
"type": "boolean"
|
|
4649
|
-
},
|
|
4650
|
-
"records": {
|
|
4651
|
-
"description": "Include records",
|
|
4652
|
-
"name": "records",
|
|
4679
|
+
"output": {
|
|
4680
|
+
"char": "o",
|
|
4681
|
+
"description": "Output format",
|
|
4682
|
+
"name": "output",
|
|
4653
4683
|
"required": false,
|
|
4654
|
-
"
|
|
4655
|
-
"
|
|
4684
|
+
"default": "summary",
|
|
4685
|
+
"hasDynamicHelp": false,
|
|
4686
|
+
"multiple": false,
|
|
4687
|
+
"options": [
|
|
4688
|
+
"summary",
|
|
4689
|
+
"json"
|
|
4690
|
+
],
|
|
4691
|
+
"type": "option"
|
|
4656
4692
|
},
|
|
4657
4693
|
"workspace": {
|
|
4658
4694
|
"char": "w",
|
|
4659
|
-
"description": "Workspace ID (
|
|
4695
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4660
4696
|
"name": "workspace",
|
|
4661
4697
|
"required": false,
|
|
4662
4698
|
"hasDynamicHelp": false,
|
|
@@ -4666,7 +4702,7 @@
|
|
|
4666
4702
|
},
|
|
4667
4703
|
"hasDynamicHelp": false,
|
|
4668
4704
|
"hiddenAliases": [],
|
|
4669
|
-
"id": "
|
|
4705
|
+
"id": "workflow_test:run_all",
|
|
4670
4706
|
"pluginAlias": "@xano/cli",
|
|
4671
4707
|
"pluginName": "@xano/cli",
|
|
4672
4708
|
"pluginType": "core",
|
|
@@ -4676,8 +4712,8 @@
|
|
|
4676
4712
|
"relativePath": [
|
|
4677
4713
|
"dist",
|
|
4678
4714
|
"commands",
|
|
4679
|
-
"
|
|
4680
|
-
"
|
|
4715
|
+
"workflow_test",
|
|
4716
|
+
"run_all",
|
|
4681
4717
|
"index.js"
|
|
4682
4718
|
]
|
|
4683
4719
|
},
|
|
@@ -4785,68 +4821,6 @@
|
|
|
4785
4821
|
"index.js"
|
|
4786
4822
|
]
|
|
4787
4823
|
},
|
|
4788
|
-
"workspace:list": {
|
|
4789
|
-
"aliases": [],
|
|
4790
|
-
"args": {},
|
|
4791
|
-
"description": "List all workspaces from the Xano Metadata API",
|
|
4792
|
-
"examples": [
|
|
4793
|
-
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4794
|
-
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4795
|
-
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4796
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4797
|
-
],
|
|
4798
|
-
"flags": {
|
|
4799
|
-
"profile": {
|
|
4800
|
-
"char": "p",
|
|
4801
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4802
|
-
"env": "XANO_PROFILE",
|
|
4803
|
-
"name": "profile",
|
|
4804
|
-
"required": false,
|
|
4805
|
-
"hasDynamicHelp": false,
|
|
4806
|
-
"multiple": false,
|
|
4807
|
-
"type": "option"
|
|
4808
|
-
},
|
|
4809
|
-
"verbose": {
|
|
4810
|
-
"char": "v",
|
|
4811
|
-
"description": "Show detailed request/response information",
|
|
4812
|
-
"env": "XANO_VERBOSE",
|
|
4813
|
-
"name": "verbose",
|
|
4814
|
-
"required": false,
|
|
4815
|
-
"allowNo": false,
|
|
4816
|
-
"type": "boolean"
|
|
4817
|
-
},
|
|
4818
|
-
"output": {
|
|
4819
|
-
"char": "o",
|
|
4820
|
-
"description": "Output format",
|
|
4821
|
-
"name": "output",
|
|
4822
|
-
"required": false,
|
|
4823
|
-
"default": "summary",
|
|
4824
|
-
"hasDynamicHelp": false,
|
|
4825
|
-
"multiple": false,
|
|
4826
|
-
"options": [
|
|
4827
|
-
"summary",
|
|
4828
|
-
"json"
|
|
4829
|
-
],
|
|
4830
|
-
"type": "option"
|
|
4831
|
-
}
|
|
4832
|
-
},
|
|
4833
|
-
"hasDynamicHelp": false,
|
|
4834
|
-
"hiddenAliases": [],
|
|
4835
|
-
"id": "workspace:list",
|
|
4836
|
-
"pluginAlias": "@xano/cli",
|
|
4837
|
-
"pluginName": "@xano/cli",
|
|
4838
|
-
"pluginType": "core",
|
|
4839
|
-
"strict": true,
|
|
4840
|
-
"enableJsonFlag": false,
|
|
4841
|
-
"isESM": true,
|
|
4842
|
-
"relativePath": [
|
|
4843
|
-
"dist",
|
|
4844
|
-
"commands",
|
|
4845
|
-
"workspace",
|
|
4846
|
-
"list",
|
|
4847
|
-
"index.js"
|
|
4848
|
-
]
|
|
4849
|
-
},
|
|
4850
4824
|
"static_host:build:get": {
|
|
4851
4825
|
"aliases": [],
|
|
4852
4826
|
"args": {
|
|
@@ -5026,20 +5000,19 @@
|
|
|
5026
5000
|
"index.js"
|
|
5027
5001
|
]
|
|
5028
5002
|
},
|
|
5029
|
-
"tenant:backup:
|
|
5003
|
+
"tenant:backup:create": {
|
|
5030
5004
|
"aliases": [],
|
|
5031
5005
|
"args": {
|
|
5032
5006
|
"tenant_name": {
|
|
5033
|
-
"description": "Tenant name
|
|
5007
|
+
"description": "Tenant name to back up",
|
|
5034
5008
|
"name": "tenant_name",
|
|
5035
5009
|
"required": true
|
|
5036
5010
|
}
|
|
5037
5011
|
},
|
|
5038
|
-
"description": "
|
|
5012
|
+
"description": "Create a backup for a tenant",
|
|
5039
5013
|
"examples": [
|
|
5040
|
-
"$ xano tenant backup
|
|
5041
|
-
"$ xano tenant backup
|
|
5042
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5014
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5015
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5043
5016
|
],
|
|
5044
5017
|
"flags": {
|
|
5045
5018
|
"profile": {
|
|
@@ -5061,22 +5034,16 @@
|
|
|
5061
5034
|
"allowNo": false,
|
|
5062
5035
|
"type": "boolean"
|
|
5063
5036
|
},
|
|
5064
|
-
"
|
|
5065
|
-
"
|
|
5066
|
-
"
|
|
5067
|
-
"
|
|
5037
|
+
"description": {
|
|
5038
|
+
"char": "d",
|
|
5039
|
+
"description": "Backup description",
|
|
5040
|
+
"name": "description",
|
|
5041
|
+
"required": false,
|
|
5042
|
+
"default": "",
|
|
5068
5043
|
"hasDynamicHelp": false,
|
|
5069
5044
|
"multiple": false,
|
|
5070
5045
|
"type": "option"
|
|
5071
5046
|
},
|
|
5072
|
-
"force": {
|
|
5073
|
-
"char": "f",
|
|
5074
|
-
"description": "Skip confirmation prompt",
|
|
5075
|
-
"name": "force",
|
|
5076
|
-
"required": false,
|
|
5077
|
-
"allowNo": false,
|
|
5078
|
-
"type": "boolean"
|
|
5079
|
-
},
|
|
5080
5047
|
"output": {
|
|
5081
5048
|
"char": "o",
|
|
5082
5049
|
"description": "Output format",
|
|
@@ -5103,7 +5070,7 @@
|
|
|
5103
5070
|
},
|
|
5104
5071
|
"hasDynamicHelp": false,
|
|
5105
5072
|
"hiddenAliases": [],
|
|
5106
|
-
"id": "tenant:backup:
|
|
5073
|
+
"id": "tenant:backup:create",
|
|
5107
5074
|
"pluginAlias": "@xano/cli",
|
|
5108
5075
|
"pluginName": "@xano/cli",
|
|
5109
5076
|
"pluginType": "core",
|
|
@@ -5115,23 +5082,24 @@
|
|
|
5115
5082
|
"commands",
|
|
5116
5083
|
"tenant",
|
|
5117
5084
|
"backup",
|
|
5118
|
-
"
|
|
5085
|
+
"create",
|
|
5119
5086
|
"index.js"
|
|
5120
5087
|
]
|
|
5121
5088
|
},
|
|
5122
|
-
"tenant:backup:
|
|
5089
|
+
"tenant:backup:delete": {
|
|
5123
5090
|
"aliases": [],
|
|
5124
5091
|
"args": {
|
|
5125
5092
|
"tenant_name": {
|
|
5126
|
-
"description": "Tenant name
|
|
5093
|
+
"description": "Tenant name that owns the backup",
|
|
5127
5094
|
"name": "tenant_name",
|
|
5128
5095
|
"required": true
|
|
5129
5096
|
}
|
|
5130
5097
|
},
|
|
5131
|
-
"description": "
|
|
5098
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5132
5099
|
"examples": [
|
|
5133
|
-
"$ xano tenant backup
|
|
5134
|
-
"$ xano tenant backup
|
|
5100
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5101
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5102
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5135
5103
|
],
|
|
5136
5104
|
"flags": {
|
|
5137
5105
|
"profile": {
|
|
@@ -5153,16 +5121,22 @@
|
|
|
5153
5121
|
"allowNo": false,
|
|
5154
5122
|
"type": "boolean"
|
|
5155
5123
|
},
|
|
5156
|
-
"
|
|
5157
|
-
"
|
|
5158
|
-
"
|
|
5159
|
-
"
|
|
5160
|
-
"required": false,
|
|
5161
|
-
"default": "",
|
|
5124
|
+
"backup_id": {
|
|
5125
|
+
"description": "Backup ID to delete",
|
|
5126
|
+
"name": "backup_id",
|
|
5127
|
+
"required": true,
|
|
5162
5128
|
"hasDynamicHelp": false,
|
|
5163
5129
|
"multiple": false,
|
|
5164
5130
|
"type": "option"
|
|
5165
5131
|
},
|
|
5132
|
+
"force": {
|
|
5133
|
+
"char": "f",
|
|
5134
|
+
"description": "Skip confirmation prompt",
|
|
5135
|
+
"name": "force",
|
|
5136
|
+
"required": false,
|
|
5137
|
+
"allowNo": false,
|
|
5138
|
+
"type": "boolean"
|
|
5139
|
+
},
|
|
5166
5140
|
"output": {
|
|
5167
5141
|
"char": "o",
|
|
5168
5142
|
"description": "Output format",
|
|
@@ -5189,7 +5163,7 @@
|
|
|
5189
5163
|
},
|
|
5190
5164
|
"hasDynamicHelp": false,
|
|
5191
5165
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "tenant:backup:
|
|
5166
|
+
"id": "tenant:backup:delete",
|
|
5193
5167
|
"pluginAlias": "@xano/cli",
|
|
5194
5168
|
"pluginName": "@xano/cli",
|
|
5195
5169
|
"pluginType": "core",
|
|
@@ -5201,7 +5175,7 @@
|
|
|
5201
5175
|
"commands",
|
|
5202
5176
|
"tenant",
|
|
5203
5177
|
"backup",
|
|
5204
|
-
"
|
|
5178
|
+
"delete",
|
|
5205
5179
|
"index.js"
|
|
5206
5180
|
]
|
|
5207
5181
|
},
|
|
@@ -5298,13 +5272,19 @@
|
|
|
5298
5272
|
"index.js"
|
|
5299
5273
|
]
|
|
5300
5274
|
},
|
|
5301
|
-
"tenant:
|
|
5275
|
+
"tenant:backup:import": {
|
|
5302
5276
|
"aliases": [],
|
|
5303
|
-
"args": {
|
|
5304
|
-
|
|
5277
|
+
"args": {
|
|
5278
|
+
"tenant_name": {
|
|
5279
|
+
"description": "Tenant name to import backup into",
|
|
5280
|
+
"name": "tenant_name",
|
|
5281
|
+
"required": true
|
|
5282
|
+
}
|
|
5283
|
+
},
|
|
5284
|
+
"description": "Import a backup file into a tenant",
|
|
5305
5285
|
"examples": [
|
|
5306
|
-
"$ xano tenant
|
|
5307
|
-
"$ xano tenant
|
|
5286
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5287
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5308
5288
|
],
|
|
5309
5289
|
"flags": {
|
|
5310
5290
|
"profile": {
|
|
@@ -5326,49 +5306,20 @@
|
|
|
5326
5306
|
"allowNo": false,
|
|
5327
5307
|
"type": "boolean"
|
|
5328
5308
|
},
|
|
5329
|
-
"credentials": {
|
|
5330
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
5331
|
-
"exclusive": [
|
|
5332
|
-
"credentials_file"
|
|
5333
|
-
],
|
|
5334
|
-
"name": "credentials",
|
|
5335
|
-
"required": false,
|
|
5336
|
-
"hasDynamicHelp": false,
|
|
5337
|
-
"multiple": false,
|
|
5338
|
-
"type": "option"
|
|
5339
|
-
},
|
|
5340
|
-
"credentials_file": {
|
|
5341
|
-
"description": "Path to kubeconfig credentials file",
|
|
5342
|
-
"exclusive": [
|
|
5343
|
-
"credentials"
|
|
5344
|
-
],
|
|
5345
|
-
"name": "credentials_file",
|
|
5346
|
-
"required": false,
|
|
5347
|
-
"hasDynamicHelp": false,
|
|
5348
|
-
"multiple": false,
|
|
5349
|
-
"type": "option"
|
|
5350
|
-
},
|
|
5351
5309
|
"description": {
|
|
5352
5310
|
"char": "d",
|
|
5353
|
-
"description": "
|
|
5311
|
+
"description": "Backup description",
|
|
5354
5312
|
"name": "description",
|
|
5355
5313
|
"required": false,
|
|
5314
|
+
"default": "",
|
|
5356
5315
|
"hasDynamicHelp": false,
|
|
5357
5316
|
"multiple": false,
|
|
5358
5317
|
"type": "option"
|
|
5359
5318
|
},
|
|
5360
|
-
"
|
|
5361
|
-
"
|
|
5362
|
-
"
|
|
5363
|
-
"
|
|
5364
|
-
"hasDynamicHelp": false,
|
|
5365
|
-
"multiple": false,
|
|
5366
|
-
"type": "option"
|
|
5367
|
-
},
|
|
5368
|
-
"name": {
|
|
5369
|
-
"char": "n",
|
|
5370
|
-
"description": "Cluster name",
|
|
5371
|
-
"name": "name",
|
|
5319
|
+
"file": {
|
|
5320
|
+
"char": "f",
|
|
5321
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5322
|
+
"name": "file",
|
|
5372
5323
|
"required": true,
|
|
5373
5324
|
"hasDynamicHelp": false,
|
|
5374
5325
|
"multiple": false,
|
|
@@ -5388,23 +5339,19 @@
|
|
|
5388
5339
|
],
|
|
5389
5340
|
"type": "option"
|
|
5390
5341
|
},
|
|
5391
|
-
"
|
|
5392
|
-
"
|
|
5393
|
-
"
|
|
5342
|
+
"workspace": {
|
|
5343
|
+
"char": "w",
|
|
5344
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5345
|
+
"name": "workspace",
|
|
5394
5346
|
"required": false,
|
|
5395
|
-
"default": "standard",
|
|
5396
5347
|
"hasDynamicHelp": false,
|
|
5397
5348
|
"multiple": false,
|
|
5398
|
-
"options": [
|
|
5399
|
-
"standard",
|
|
5400
|
-
"run"
|
|
5401
|
-
],
|
|
5402
5349
|
"type": "option"
|
|
5403
5350
|
}
|
|
5404
5351
|
},
|
|
5405
5352
|
"hasDynamicHelp": false,
|
|
5406
5353
|
"hiddenAliases": [],
|
|
5407
|
-
"id": "tenant:
|
|
5354
|
+
"id": "tenant:backup:import",
|
|
5408
5355
|
"pluginAlias": "@xano/cli",
|
|
5409
5356
|
"pluginName": "@xano/cli",
|
|
5410
5357
|
"pluginType": "core",
|
|
@@ -5415,8 +5362,8 @@
|
|
|
5415
5362
|
"dist",
|
|
5416
5363
|
"commands",
|
|
5417
5364
|
"tenant",
|
|
5418
|
-
"
|
|
5419
|
-
"
|
|
5365
|
+
"backup",
|
|
5366
|
+
"import",
|
|
5420
5367
|
"index.js"
|
|
5421
5368
|
]
|
|
5422
5369
|
},
|
|
@@ -5505,19 +5452,19 @@
|
|
|
5505
5452
|
"index.js"
|
|
5506
5453
|
]
|
|
5507
5454
|
},
|
|
5508
|
-
"tenant:backup:
|
|
5455
|
+
"tenant:backup:restore": {
|
|
5509
5456
|
"aliases": [],
|
|
5510
5457
|
"args": {
|
|
5511
5458
|
"tenant_name": {
|
|
5512
|
-
"description": "Tenant name to
|
|
5459
|
+
"description": "Tenant name to restore",
|
|
5513
5460
|
"name": "tenant_name",
|
|
5514
5461
|
"required": true
|
|
5515
5462
|
}
|
|
5516
5463
|
},
|
|
5517
|
-
"description": "
|
|
5464
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5518
5465
|
"examples": [
|
|
5519
|
-
"$ xano tenant backup
|
|
5520
|
-
"$ xano tenant backup
|
|
5466
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5467
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5521
5468
|
],
|
|
5522
5469
|
"flags": {
|
|
5523
5470
|
"profile": {
|
|
@@ -5539,24 +5486,21 @@
|
|
|
5539
5486
|
"allowNo": false,
|
|
5540
5487
|
"type": "boolean"
|
|
5541
5488
|
},
|
|
5542
|
-
"
|
|
5543
|
-
"
|
|
5544
|
-
"
|
|
5545
|
-
"
|
|
5546
|
-
"required": false,
|
|
5547
|
-
"default": "",
|
|
5489
|
+
"backup_id": {
|
|
5490
|
+
"description": "Backup ID to restore from",
|
|
5491
|
+
"name": "backup_id",
|
|
5492
|
+
"required": true,
|
|
5548
5493
|
"hasDynamicHelp": false,
|
|
5549
5494
|
"multiple": false,
|
|
5550
5495
|
"type": "option"
|
|
5551
5496
|
},
|
|
5552
|
-
"
|
|
5497
|
+
"force": {
|
|
5553
5498
|
"char": "f",
|
|
5554
|
-
"description": "
|
|
5555
|
-
"name": "
|
|
5556
|
-
"required":
|
|
5557
|
-
"
|
|
5558
|
-
"
|
|
5559
|
-
"type": "option"
|
|
5499
|
+
"description": "Skip confirmation prompt",
|
|
5500
|
+
"name": "force",
|
|
5501
|
+
"required": false,
|
|
5502
|
+
"allowNo": false,
|
|
5503
|
+
"type": "boolean"
|
|
5560
5504
|
},
|
|
5561
5505
|
"output": {
|
|
5562
5506
|
"char": "o",
|
|
@@ -5584,7 +5528,7 @@
|
|
|
5584
5528
|
},
|
|
5585
5529
|
"hasDynamicHelp": false,
|
|
5586
5530
|
"hiddenAliases": [],
|
|
5587
|
-
"id": "tenant:backup:
|
|
5531
|
+
"id": "tenant:backup:restore",
|
|
5588
5532
|
"pluginAlias": "@xano/cli",
|
|
5589
5533
|
"pluginName": "@xano/cli",
|
|
5590
5534
|
"pluginType": "core",
|
|
@@ -5596,24 +5540,17 @@
|
|
|
5596
5540
|
"commands",
|
|
5597
5541
|
"tenant",
|
|
5598
5542
|
"backup",
|
|
5599
|
-
"
|
|
5543
|
+
"restore",
|
|
5600
5544
|
"index.js"
|
|
5601
5545
|
]
|
|
5602
5546
|
},
|
|
5603
|
-
"tenant:cluster:
|
|
5547
|
+
"tenant:cluster:create": {
|
|
5604
5548
|
"aliases": [],
|
|
5605
|
-
"args": {
|
|
5606
|
-
|
|
5607
|
-
"description": "Cluster ID to delete",
|
|
5608
|
-
"name": "cluster_id",
|
|
5609
|
-
"required": true
|
|
5610
|
-
}
|
|
5611
|
-
},
|
|
5612
|
-
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5549
|
+
"args": {},
|
|
5550
|
+
"description": "Create a new tenant cluster",
|
|
5613
5551
|
"examples": [
|
|
5614
|
-
"$ xano tenant cluster
|
|
5615
|
-
"$ xano tenant cluster
|
|
5616
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5552
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5553
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5617
5554
|
],
|
|
5618
5555
|
"flags": {
|
|
5619
5556
|
"profile": {
|
|
@@ -5635,13 +5572,53 @@
|
|
|
5635
5572
|
"allowNo": false,
|
|
5636
5573
|
"type": "boolean"
|
|
5637
5574
|
},
|
|
5638
|
-
"
|
|
5639
|
-
"
|
|
5640
|
-
"
|
|
5641
|
-
|
|
5575
|
+
"credentials": {
|
|
5576
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5577
|
+
"exclusive": [
|
|
5578
|
+
"credentials_file"
|
|
5579
|
+
],
|
|
5580
|
+
"name": "credentials",
|
|
5642
5581
|
"required": false,
|
|
5643
|
-
"
|
|
5644
|
-
"
|
|
5582
|
+
"hasDynamicHelp": false,
|
|
5583
|
+
"multiple": false,
|
|
5584
|
+
"type": "option"
|
|
5585
|
+
},
|
|
5586
|
+
"credentials_file": {
|
|
5587
|
+
"description": "Path to kubeconfig credentials file",
|
|
5588
|
+
"exclusive": [
|
|
5589
|
+
"credentials"
|
|
5590
|
+
],
|
|
5591
|
+
"name": "credentials_file",
|
|
5592
|
+
"required": false,
|
|
5593
|
+
"hasDynamicHelp": false,
|
|
5594
|
+
"multiple": false,
|
|
5595
|
+
"type": "option"
|
|
5596
|
+
},
|
|
5597
|
+
"description": {
|
|
5598
|
+
"char": "d",
|
|
5599
|
+
"description": "Cluster description",
|
|
5600
|
+
"name": "description",
|
|
5601
|
+
"required": false,
|
|
5602
|
+
"hasDynamicHelp": false,
|
|
5603
|
+
"multiple": false,
|
|
5604
|
+
"type": "option"
|
|
5605
|
+
},
|
|
5606
|
+
"domain": {
|
|
5607
|
+
"description": "Custom domain for the cluster",
|
|
5608
|
+
"name": "domain",
|
|
5609
|
+
"required": false,
|
|
5610
|
+
"hasDynamicHelp": false,
|
|
5611
|
+
"multiple": false,
|
|
5612
|
+
"type": "option"
|
|
5613
|
+
},
|
|
5614
|
+
"name": {
|
|
5615
|
+
"char": "n",
|
|
5616
|
+
"description": "Cluster name",
|
|
5617
|
+
"name": "name",
|
|
5618
|
+
"required": true,
|
|
5619
|
+
"hasDynamicHelp": false,
|
|
5620
|
+
"multiple": false,
|
|
5621
|
+
"type": "option"
|
|
5645
5622
|
},
|
|
5646
5623
|
"output": {
|
|
5647
5624
|
"char": "o",
|
|
@@ -5656,11 +5633,24 @@
|
|
|
5656
5633
|
"json"
|
|
5657
5634
|
],
|
|
5658
5635
|
"type": "option"
|
|
5636
|
+
},
|
|
5637
|
+
"type": {
|
|
5638
|
+
"description": "Cluster type",
|
|
5639
|
+
"name": "type",
|
|
5640
|
+
"required": false,
|
|
5641
|
+
"default": "standard",
|
|
5642
|
+
"hasDynamicHelp": false,
|
|
5643
|
+
"multiple": false,
|
|
5644
|
+
"options": [
|
|
5645
|
+
"standard",
|
|
5646
|
+
"run"
|
|
5647
|
+
],
|
|
5648
|
+
"type": "option"
|
|
5659
5649
|
}
|
|
5660
5650
|
},
|
|
5661
5651
|
"hasDynamicHelp": false,
|
|
5662
5652
|
"hiddenAliases": [],
|
|
5663
|
-
"id": "tenant:cluster:
|
|
5653
|
+
"id": "tenant:cluster:create",
|
|
5664
5654
|
"pluginAlias": "@xano/cli",
|
|
5665
5655
|
"pluginName": "@xano/cli",
|
|
5666
5656
|
"pluginType": "core",
|
|
@@ -5672,23 +5662,24 @@
|
|
|
5672
5662
|
"commands",
|
|
5673
5663
|
"tenant",
|
|
5674
5664
|
"cluster",
|
|
5675
|
-
"
|
|
5665
|
+
"create",
|
|
5676
5666
|
"index.js"
|
|
5677
5667
|
]
|
|
5678
5668
|
},
|
|
5679
|
-
"tenant:
|
|
5669
|
+
"tenant:cluster:delete": {
|
|
5680
5670
|
"aliases": [],
|
|
5681
5671
|
"args": {
|
|
5682
|
-
"
|
|
5683
|
-
"description": "
|
|
5684
|
-
"name": "
|
|
5672
|
+
"cluster_id": {
|
|
5673
|
+
"description": "Cluster ID to delete",
|
|
5674
|
+
"name": "cluster_id",
|
|
5685
5675
|
"required": true
|
|
5686
5676
|
}
|
|
5687
5677
|
},
|
|
5688
|
-
"description": "
|
|
5678
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5689
5679
|
"examples": [
|
|
5690
|
-
"$ xano tenant
|
|
5691
|
-
"$ xano tenant
|
|
5680
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5681
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5682
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5692
5683
|
],
|
|
5693
5684
|
"flags": {
|
|
5694
5685
|
"profile": {
|
|
@@ -5710,14 +5701,6 @@
|
|
|
5710
5701
|
"allowNo": false,
|
|
5711
5702
|
"type": "boolean"
|
|
5712
5703
|
},
|
|
5713
|
-
"backup_id": {
|
|
5714
|
-
"description": "Backup ID to restore from",
|
|
5715
|
-
"name": "backup_id",
|
|
5716
|
-
"required": true,
|
|
5717
|
-
"hasDynamicHelp": false,
|
|
5718
|
-
"multiple": false,
|
|
5719
|
-
"type": "option"
|
|
5720
|
-
},
|
|
5721
5704
|
"force": {
|
|
5722
5705
|
"char": "f",
|
|
5723
5706
|
"description": "Skip confirmation prompt",
|
|
@@ -5739,20 +5722,11 @@
|
|
|
5739
5722
|
"json"
|
|
5740
5723
|
],
|
|
5741
5724
|
"type": "option"
|
|
5742
|
-
},
|
|
5743
|
-
"workspace": {
|
|
5744
|
-
"char": "w",
|
|
5745
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5746
|
-
"name": "workspace",
|
|
5747
|
-
"required": false,
|
|
5748
|
-
"hasDynamicHelp": false,
|
|
5749
|
-
"multiple": false,
|
|
5750
|
-
"type": "option"
|
|
5751
5725
|
}
|
|
5752
5726
|
},
|
|
5753
5727
|
"hasDynamicHelp": false,
|
|
5754
5728
|
"hiddenAliases": [],
|
|
5755
|
-
"id": "tenant:
|
|
5729
|
+
"id": "tenant:cluster:delete",
|
|
5756
5730
|
"pluginAlias": "@xano/cli",
|
|
5757
5731
|
"pluginName": "@xano/cli",
|
|
5758
5732
|
"pluginType": "core",
|
|
@@ -5763,8 +5737,8 @@
|
|
|
5763
5737
|
"dist",
|
|
5764
5738
|
"commands",
|
|
5765
5739
|
"tenant",
|
|
5766
|
-
"
|
|
5767
|
-
"
|
|
5740
|
+
"cluster",
|
|
5741
|
+
"delete",
|
|
5768
5742
|
"index.js"
|
|
5769
5743
|
]
|
|
5770
5744
|
},
|
|
@@ -5940,13 +5914,20 @@
|
|
|
5940
5914
|
"index.js"
|
|
5941
5915
|
]
|
|
5942
5916
|
},
|
|
5943
|
-
"tenant:
|
|
5917
|
+
"tenant:env:delete": {
|
|
5944
5918
|
"aliases": [],
|
|
5945
|
-
"args": {
|
|
5946
|
-
|
|
5919
|
+
"args": {
|
|
5920
|
+
"tenant_name": {
|
|
5921
|
+
"description": "Tenant name",
|
|
5922
|
+
"name": "tenant_name",
|
|
5923
|
+
"required": true
|
|
5924
|
+
}
|
|
5925
|
+
},
|
|
5926
|
+
"description": "Delete an environment variable from a tenant",
|
|
5947
5927
|
"examples": [
|
|
5948
|
-
"$ xano tenant
|
|
5949
|
-
"$ xano tenant
|
|
5928
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
5929
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
5930
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
5950
5931
|
],
|
|
5951
5932
|
"flags": {
|
|
5952
5933
|
"profile": {
|
|
@@ -5968,6 +5949,23 @@
|
|
|
5968
5949
|
"allowNo": false,
|
|
5969
5950
|
"type": "boolean"
|
|
5970
5951
|
},
|
|
5952
|
+
"force": {
|
|
5953
|
+
"char": "f",
|
|
5954
|
+
"description": "Skip confirmation prompt",
|
|
5955
|
+
"name": "force",
|
|
5956
|
+
"required": false,
|
|
5957
|
+
"allowNo": false,
|
|
5958
|
+
"type": "boolean"
|
|
5959
|
+
},
|
|
5960
|
+
"name": {
|
|
5961
|
+
"char": "n",
|
|
5962
|
+
"description": "Environment variable name",
|
|
5963
|
+
"name": "name",
|
|
5964
|
+
"required": true,
|
|
5965
|
+
"hasDynamicHelp": false,
|
|
5966
|
+
"multiple": false,
|
|
5967
|
+
"type": "option"
|
|
5968
|
+
},
|
|
5971
5969
|
"output": {
|
|
5972
5970
|
"char": "o",
|
|
5973
5971
|
"description": "Output format",
|
|
@@ -5981,11 +5979,20 @@
|
|
|
5981
5979
|
"json"
|
|
5982
5980
|
],
|
|
5983
5981
|
"type": "option"
|
|
5982
|
+
},
|
|
5983
|
+
"workspace": {
|
|
5984
|
+
"char": "w",
|
|
5985
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5986
|
+
"name": "workspace",
|
|
5987
|
+
"required": false,
|
|
5988
|
+
"hasDynamicHelp": false,
|
|
5989
|
+
"multiple": false,
|
|
5990
|
+
"type": "option"
|
|
5984
5991
|
}
|
|
5985
5992
|
},
|
|
5986
5993
|
"hasDynamicHelp": false,
|
|
5987
5994
|
"hiddenAliases": [],
|
|
5988
|
-
"id": "tenant:
|
|
5995
|
+
"id": "tenant:env:delete",
|
|
5989
5996
|
"pluginAlias": "@xano/cli",
|
|
5990
5997
|
"pluginName": "@xano/cli",
|
|
5991
5998
|
"pluginType": "core",
|
|
@@ -5996,25 +6003,18 @@
|
|
|
5996
6003
|
"dist",
|
|
5997
6004
|
"commands",
|
|
5998
6005
|
"tenant",
|
|
5999
|
-
"
|
|
6000
|
-
"
|
|
6006
|
+
"env",
|
|
6007
|
+
"delete",
|
|
6001
6008
|
"index.js"
|
|
6002
6009
|
]
|
|
6003
6010
|
},
|
|
6004
|
-
"tenant:
|
|
6011
|
+
"tenant:cluster:list": {
|
|
6005
6012
|
"aliases": [],
|
|
6006
|
-
"args": {
|
|
6007
|
-
|
|
6008
|
-
"description": "Tenant name",
|
|
6009
|
-
"name": "tenant_name",
|
|
6010
|
-
"required": true
|
|
6011
|
-
}
|
|
6012
|
-
},
|
|
6013
|
-
"description": "Delete an environment variable from a tenant",
|
|
6013
|
+
"args": {},
|
|
6014
|
+
"description": "List all tenant clusters",
|
|
6014
6015
|
"examples": [
|
|
6015
|
-
"$ xano tenant
|
|
6016
|
-
"$ xano tenant
|
|
6017
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6016
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6017
|
+
"$ xano tenant cluster list --output json"
|
|
6018
6018
|
],
|
|
6019
6019
|
"flags": {
|
|
6020
6020
|
"profile": {
|
|
@@ -6036,23 +6036,6 @@
|
|
|
6036
6036
|
"allowNo": false,
|
|
6037
6037
|
"type": "boolean"
|
|
6038
6038
|
},
|
|
6039
|
-
"force": {
|
|
6040
|
-
"char": "f",
|
|
6041
|
-
"description": "Skip confirmation prompt",
|
|
6042
|
-
"name": "force",
|
|
6043
|
-
"required": false,
|
|
6044
|
-
"allowNo": false,
|
|
6045
|
-
"type": "boolean"
|
|
6046
|
-
},
|
|
6047
|
-
"name": {
|
|
6048
|
-
"char": "n",
|
|
6049
|
-
"description": "Environment variable name",
|
|
6050
|
-
"name": "name",
|
|
6051
|
-
"required": true,
|
|
6052
|
-
"hasDynamicHelp": false,
|
|
6053
|
-
"multiple": false,
|
|
6054
|
-
"type": "option"
|
|
6055
|
-
},
|
|
6056
6039
|
"output": {
|
|
6057
6040
|
"char": "o",
|
|
6058
6041
|
"description": "Output format",
|
|
@@ -6066,20 +6049,11 @@
|
|
|
6066
6049
|
"json"
|
|
6067
6050
|
],
|
|
6068
6051
|
"type": "option"
|
|
6069
|
-
},
|
|
6070
|
-
"workspace": {
|
|
6071
|
-
"char": "w",
|
|
6072
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6073
|
-
"name": "workspace",
|
|
6074
|
-
"required": false,
|
|
6075
|
-
"hasDynamicHelp": false,
|
|
6076
|
-
"multiple": false,
|
|
6077
|
-
"type": "option"
|
|
6078
6052
|
}
|
|
6079
6053
|
},
|
|
6080
6054
|
"hasDynamicHelp": false,
|
|
6081
6055
|
"hiddenAliases": [],
|
|
6082
|
-
"id": "tenant:
|
|
6056
|
+
"id": "tenant:cluster:list",
|
|
6083
6057
|
"pluginAlias": "@xano/cli",
|
|
6084
6058
|
"pluginName": "@xano/cli",
|
|
6085
6059
|
"pluginType": "core",
|
|
@@ -6090,8 +6064,34 @@
|
|
|
6090
6064
|
"dist",
|
|
6091
6065
|
"commands",
|
|
6092
6066
|
"tenant",
|
|
6093
|
-
"
|
|
6094
|
-
"
|
|
6067
|
+
"cluster",
|
|
6068
|
+
"list",
|
|
6069
|
+
"index.js"
|
|
6070
|
+
]
|
|
6071
|
+
},
|
|
6072
|
+
"profile:workspace": {
|
|
6073
|
+
"aliases": [],
|
|
6074
|
+
"args": {},
|
|
6075
|
+
"description": "Print the workspace ID for the default profile",
|
|
6076
|
+
"examples": [
|
|
6077
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
6078
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
6079
|
+
],
|
|
6080
|
+
"flags": {},
|
|
6081
|
+
"hasDynamicHelp": false,
|
|
6082
|
+
"hiddenAliases": [],
|
|
6083
|
+
"id": "profile:workspace",
|
|
6084
|
+
"pluginAlias": "@xano/cli",
|
|
6085
|
+
"pluginName": "@xano/cli",
|
|
6086
|
+
"pluginType": "core",
|
|
6087
|
+
"strict": true,
|
|
6088
|
+
"enableJsonFlag": false,
|
|
6089
|
+
"isESM": true,
|
|
6090
|
+
"relativePath": [
|
|
6091
|
+
"dist",
|
|
6092
|
+
"commands",
|
|
6093
|
+
"profile",
|
|
6094
|
+
"workspace",
|
|
6095
6095
|
"index.js"
|
|
6096
6096
|
]
|
|
6097
6097
|
},
|
|
@@ -6180,7 +6180,7 @@
|
|
|
6180
6180
|
"index.js"
|
|
6181
6181
|
]
|
|
6182
6182
|
},
|
|
6183
|
-
"tenant:env:
|
|
6183
|
+
"tenant:env:set": {
|
|
6184
6184
|
"aliases": [],
|
|
6185
6185
|
"args": {
|
|
6186
6186
|
"tenant_name": {
|
|
@@ -6189,10 +6189,10 @@
|
|
|
6189
6189
|
"required": true
|
|
6190
6190
|
}
|
|
6191
6191
|
},
|
|
6192
|
-
"description": "
|
|
6192
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6193
6193
|
"examples": [
|
|
6194
|
-
"$ xano tenant env
|
|
6195
|
-
"$ xano tenant env
|
|
6194
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6195
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6196
6196
|
],
|
|
6197
6197
|
"flags": {
|
|
6198
6198
|
"profile": {
|
|
@@ -6214,6 +6214,15 @@
|
|
|
6214
6214
|
"allowNo": false,
|
|
6215
6215
|
"type": "boolean"
|
|
6216
6216
|
},
|
|
6217
|
+
"name": {
|
|
6218
|
+
"char": "n",
|
|
6219
|
+
"description": "Environment variable name",
|
|
6220
|
+
"name": "name",
|
|
6221
|
+
"required": true,
|
|
6222
|
+
"hasDynamicHelp": false,
|
|
6223
|
+
"multiple": false,
|
|
6224
|
+
"type": "option"
|
|
6225
|
+
},
|
|
6217
6226
|
"output": {
|
|
6218
6227
|
"char": "o",
|
|
6219
6228
|
"description": "Output format",
|
|
@@ -6228,6 +6237,14 @@
|
|
|
6228
6237
|
],
|
|
6229
6238
|
"type": "option"
|
|
6230
6239
|
},
|
|
6240
|
+
"value": {
|
|
6241
|
+
"description": "Environment variable value",
|
|
6242
|
+
"name": "value",
|
|
6243
|
+
"required": true,
|
|
6244
|
+
"hasDynamicHelp": false,
|
|
6245
|
+
"multiple": false,
|
|
6246
|
+
"type": "option"
|
|
6247
|
+
},
|
|
6231
6248
|
"workspace": {
|
|
6232
6249
|
"char": "w",
|
|
6233
6250
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6240,7 +6257,7 @@
|
|
|
6240
6257
|
},
|
|
6241
6258
|
"hasDynamicHelp": false,
|
|
6242
6259
|
"hiddenAliases": [],
|
|
6243
|
-
"id": "tenant:env:
|
|
6260
|
+
"id": "tenant:env:set",
|
|
6244
6261
|
"pluginAlias": "@xano/cli",
|
|
6245
6262
|
"pluginName": "@xano/cli",
|
|
6246
6263
|
"pluginType": "core",
|
|
@@ -6252,11 +6269,11 @@
|
|
|
6252
6269
|
"commands",
|
|
6253
6270
|
"tenant",
|
|
6254
6271
|
"env",
|
|
6255
|
-
"
|
|
6272
|
+
"set",
|
|
6256
6273
|
"index.js"
|
|
6257
6274
|
]
|
|
6258
6275
|
},
|
|
6259
|
-
"tenant:env:
|
|
6276
|
+
"tenant:env:get_all": {
|
|
6260
6277
|
"aliases": [],
|
|
6261
6278
|
"args": {
|
|
6262
6279
|
"tenant_name": {
|
|
@@ -6265,10 +6282,12 @@
|
|
|
6265
6282
|
"required": true
|
|
6266
6283
|
}
|
|
6267
6284
|
},
|
|
6268
|
-
"description": "
|
|
6285
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6269
6286
|
"examples": [
|
|
6270
|
-
"$ xano tenant env
|
|
6271
|
-
"$ xano tenant env
|
|
6287
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6288
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6289
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6290
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6272
6291
|
],
|
|
6273
6292
|
"flags": {
|
|
6274
6293
|
"profile": {
|
|
@@ -6290,11 +6309,11 @@
|
|
|
6290
6309
|
"allowNo": false,
|
|
6291
6310
|
"type": "boolean"
|
|
6292
6311
|
},
|
|
6293
|
-
"
|
|
6294
|
-
"char": "
|
|
6295
|
-
"description": "
|
|
6296
|
-
"name": "
|
|
6297
|
-
"required":
|
|
6312
|
+
"file": {
|
|
6313
|
+
"char": "f",
|
|
6314
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6315
|
+
"name": "file",
|
|
6316
|
+
"required": false,
|
|
6298
6317
|
"hasDynamicHelp": false,
|
|
6299
6318
|
"multiple": false,
|
|
6300
6319
|
"type": "option"
|
|
@@ -6313,13 +6332,12 @@
|
|
|
6313
6332
|
],
|
|
6314
6333
|
"type": "option"
|
|
6315
6334
|
},
|
|
6316
|
-
"
|
|
6317
|
-
"description": "
|
|
6318
|
-
"name": "
|
|
6319
|
-
"required":
|
|
6320
|
-
"
|
|
6321
|
-
"
|
|
6322
|
-
"type": "option"
|
|
6335
|
+
"view": {
|
|
6336
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6337
|
+
"name": "view",
|
|
6338
|
+
"required": false,
|
|
6339
|
+
"allowNo": false,
|
|
6340
|
+
"type": "boolean"
|
|
6323
6341
|
},
|
|
6324
6342
|
"workspace": {
|
|
6325
6343
|
"char": "w",
|
|
@@ -6333,7 +6351,7 @@
|
|
|
6333
6351
|
},
|
|
6334
6352
|
"hasDynamicHelp": false,
|
|
6335
6353
|
"hiddenAliases": [],
|
|
6336
|
-
"id": "tenant:env:
|
|
6354
|
+
"id": "tenant:env:get_all",
|
|
6337
6355
|
"pluginAlias": "@xano/cli",
|
|
6338
6356
|
"pluginName": "@xano/cli",
|
|
6339
6357
|
"pluginType": "core",
|
|
@@ -6345,11 +6363,11 @@
|
|
|
6345
6363
|
"commands",
|
|
6346
6364
|
"tenant",
|
|
6347
6365
|
"env",
|
|
6348
|
-
"
|
|
6366
|
+
"get_all",
|
|
6349
6367
|
"index.js"
|
|
6350
6368
|
]
|
|
6351
6369
|
},
|
|
6352
|
-
"tenant:env:
|
|
6370
|
+
"tenant:env:list": {
|
|
6353
6371
|
"aliases": [],
|
|
6354
6372
|
"args": {
|
|
6355
6373
|
"tenant_name": {
|
|
@@ -6358,12 +6376,10 @@
|
|
|
6358
6376
|
"required": true
|
|
6359
6377
|
}
|
|
6360
6378
|
},
|
|
6361
|
-
"description": "
|
|
6379
|
+
"description": "List environment variable keys for a tenant",
|
|
6362
6380
|
"examples": [
|
|
6363
|
-
"$ xano tenant env
|
|
6364
|
-
"$ xano tenant env
|
|
6365
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6366
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6381
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6382
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6367
6383
|
],
|
|
6368
6384
|
"flags": {
|
|
6369
6385
|
"profile": {
|
|
@@ -6385,15 +6401,6 @@
|
|
|
6385
6401
|
"allowNo": false,
|
|
6386
6402
|
"type": "boolean"
|
|
6387
6403
|
},
|
|
6388
|
-
"file": {
|
|
6389
|
-
"char": "f",
|
|
6390
|
-
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6391
|
-
"name": "file",
|
|
6392
|
-
"required": false,
|
|
6393
|
-
"hasDynamicHelp": false,
|
|
6394
|
-
"multiple": false,
|
|
6395
|
-
"type": "option"
|
|
6396
|
-
},
|
|
6397
6404
|
"output": {
|
|
6398
6405
|
"char": "o",
|
|
6399
6406
|
"description": "Output format",
|
|
@@ -6408,13 +6415,6 @@
|
|
|
6408
6415
|
],
|
|
6409
6416
|
"type": "option"
|
|
6410
6417
|
},
|
|
6411
|
-
"view": {
|
|
6412
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6413
|
-
"name": "view",
|
|
6414
|
-
"required": false,
|
|
6415
|
-
"allowNo": false,
|
|
6416
|
-
"type": "boolean"
|
|
6417
|
-
},
|
|
6418
6418
|
"workspace": {
|
|
6419
6419
|
"char": "w",
|
|
6420
6420
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6427,7 +6427,7 @@
|
|
|
6427
6427
|
},
|
|
6428
6428
|
"hasDynamicHelp": false,
|
|
6429
6429
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:env:
|
|
6430
|
+
"id": "tenant:env:list",
|
|
6431
6431
|
"pluginAlias": "@xano/cli",
|
|
6432
6432
|
"pluginName": "@xano/cli",
|
|
6433
6433
|
"pluginType": "core",
|
|
@@ -6439,7 +6439,7 @@
|
|
|
6439
6439
|
"commands",
|
|
6440
6440
|
"tenant",
|
|
6441
6441
|
"env",
|
|
6442
|
-
"
|
|
6442
|
+
"list",
|
|
6443
6443
|
"index.js"
|
|
6444
6444
|
]
|
|
6445
6445
|
},
|
|
@@ -7027,5 +7027,5 @@
|
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.61"
|
|
7031
7031
|
}
|