@xano/cli 0.0.59 → 0.0.60
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 +1197 -1197
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -193,20 +193,20 @@
|
|
|
193
193
|
"index.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
|
-
"branch:
|
|
196
|
+
"branch:delete": {
|
|
197
197
|
"aliases": [],
|
|
198
198
|
"args": {
|
|
199
199
|
"branch_label": {
|
|
200
|
-
"description": "Branch label to
|
|
200
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
201
201
|
"name": "branch_label",
|
|
202
202
|
"required": true
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
|
-
"description": "
|
|
205
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
206
206
|
"examples": [
|
|
207
|
-
"$ xano branch
|
|
208
|
-
"$ xano branch
|
|
209
|
-
"$ xano branch
|
|
207
|
+
"$ 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",
|
|
208
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
209
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
210
210
|
],
|
|
211
211
|
"flags": {
|
|
212
212
|
"profile": {
|
|
@@ -228,32 +228,13 @@
|
|
|
228
228
|
"allowNo": false,
|
|
229
229
|
"type": "boolean"
|
|
230
230
|
},
|
|
231
|
-
"
|
|
232
|
-
"char": "
|
|
233
|
-
"description": "
|
|
234
|
-
"name": "
|
|
235
|
-
"required": false,
|
|
236
|
-
"hasDynamicHelp": false,
|
|
237
|
-
"multiple": false,
|
|
238
|
-
"type": "option"
|
|
239
|
-
},
|
|
240
|
-
"description": {
|
|
241
|
-
"char": "d",
|
|
242
|
-
"description": "New description for the branch",
|
|
243
|
-
"name": "description",
|
|
244
|
-
"required": false,
|
|
245
|
-
"hasDynamicHelp": false,
|
|
246
|
-
"multiple": false,
|
|
247
|
-
"type": "option"
|
|
248
|
-
},
|
|
249
|
-
"label": {
|
|
250
|
-
"char": "l",
|
|
251
|
-
"description": "New label for the branch",
|
|
252
|
-
"name": "label",
|
|
231
|
+
"force": {
|
|
232
|
+
"char": "f",
|
|
233
|
+
"description": "Skip confirmation prompt",
|
|
234
|
+
"name": "force",
|
|
253
235
|
"required": false,
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"type": "option"
|
|
236
|
+
"allowNo": false,
|
|
237
|
+
"type": "boolean"
|
|
257
238
|
},
|
|
258
239
|
"output": {
|
|
259
240
|
"char": "o",
|
|
@@ -281,7 +262,7 @@
|
|
|
281
262
|
},
|
|
282
263
|
"hasDynamicHelp": false,
|
|
283
264
|
"hiddenAliases": [],
|
|
284
|
-
"id": "branch:
|
|
265
|
+
"id": "branch:delete",
|
|
285
266
|
"pluginAlias": "@xano/cli",
|
|
286
267
|
"pluginName": "@xano/cli",
|
|
287
268
|
"pluginType": "core",
|
|
@@ -292,24 +273,24 @@
|
|
|
292
273
|
"dist",
|
|
293
274
|
"commands",
|
|
294
275
|
"branch",
|
|
295
|
-
"
|
|
276
|
+
"delete",
|
|
296
277
|
"index.js"
|
|
297
278
|
]
|
|
298
279
|
},
|
|
299
|
-
"branch:
|
|
280
|
+
"branch:edit": {
|
|
300
281
|
"aliases": [],
|
|
301
282
|
"args": {
|
|
302
283
|
"branch_label": {
|
|
303
|
-
"description": "Branch label to
|
|
284
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
304
285
|
"name": "branch_label",
|
|
305
286
|
"required": true
|
|
306
287
|
}
|
|
307
288
|
},
|
|
308
|
-
"description": "
|
|
289
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
309
290
|
"examples": [
|
|
310
|
-
"$ xano branch
|
|
311
|
-
"$ xano branch
|
|
312
|
-
"$ xano branch
|
|
291
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
292
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
293
|
+
"$ 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"
|
|
313
294
|
],
|
|
314
295
|
"flags": {
|
|
315
296
|
"profile": {
|
|
@@ -331,13 +312,32 @@
|
|
|
331
312
|
"allowNo": false,
|
|
332
313
|
"type": "boolean"
|
|
333
314
|
},
|
|
334
|
-
"
|
|
335
|
-
"char": "
|
|
336
|
-
"description": "
|
|
337
|
-
"name": "
|
|
315
|
+
"color": {
|
|
316
|
+
"char": "c",
|
|
317
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
318
|
+
"name": "color",
|
|
338
319
|
"required": false,
|
|
339
|
-
"
|
|
340
|
-
"
|
|
320
|
+
"hasDynamicHelp": false,
|
|
321
|
+
"multiple": false,
|
|
322
|
+
"type": "option"
|
|
323
|
+
},
|
|
324
|
+
"description": {
|
|
325
|
+
"char": "d",
|
|
326
|
+
"description": "New description for the branch",
|
|
327
|
+
"name": "description",
|
|
328
|
+
"required": false,
|
|
329
|
+
"hasDynamicHelp": false,
|
|
330
|
+
"multiple": false,
|
|
331
|
+
"type": "option"
|
|
332
|
+
},
|
|
333
|
+
"label": {
|
|
334
|
+
"char": "l",
|
|
335
|
+
"description": "New label for the branch",
|
|
336
|
+
"name": "label",
|
|
337
|
+
"required": false,
|
|
338
|
+
"hasDynamicHelp": false,
|
|
339
|
+
"multiple": false,
|
|
340
|
+
"type": "option"
|
|
341
341
|
},
|
|
342
342
|
"output": {
|
|
343
343
|
"char": "o",
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
},
|
|
366
366
|
"hasDynamicHelp": false,
|
|
367
367
|
"hiddenAliases": [],
|
|
368
|
-
"id": "branch:
|
|
368
|
+
"id": "branch:edit",
|
|
369
369
|
"pluginAlias": "@xano/cli",
|
|
370
370
|
"pluginName": "@xano/cli",
|
|
371
371
|
"pluginType": "core",
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
"dist",
|
|
377
377
|
"commands",
|
|
378
378
|
"branch",
|
|
379
|
-
"
|
|
379
|
+
"edit",
|
|
380
380
|
"index.js"
|
|
381
381
|
]
|
|
382
382
|
},
|
|
@@ -456,20 +456,20 @@
|
|
|
456
456
|
"index.js"
|
|
457
457
|
]
|
|
458
458
|
},
|
|
459
|
-
"branch:
|
|
459
|
+
"branch:list": {
|
|
460
460
|
"aliases": [],
|
|
461
461
|
"args": {
|
|
462
|
-
"
|
|
463
|
-
"description": "
|
|
464
|
-
"name": "
|
|
465
|
-
"required":
|
|
462
|
+
"workspace_id": {
|
|
463
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
464
|
+
"name": "workspace_id",
|
|
465
|
+
"required": false
|
|
466
466
|
}
|
|
467
467
|
},
|
|
468
|
-
"description": "
|
|
468
|
+
"description": "List all branches in a workspace",
|
|
469
469
|
"examples": [
|
|
470
|
-
"$ xano branch
|
|
471
|
-
"$ xano branch
|
|
472
|
-
"$ xano branch
|
|
470
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
471
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
472
|
+
"$ 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"
|
|
473
473
|
],
|
|
474
474
|
"flags": {
|
|
475
475
|
"profile": {
|
|
@@ -491,14 +491,6 @@
|
|
|
491
491
|
"allowNo": false,
|
|
492
492
|
"type": "boolean"
|
|
493
493
|
},
|
|
494
|
-
"force": {
|
|
495
|
-
"char": "f",
|
|
496
|
-
"description": "Skip confirmation prompt",
|
|
497
|
-
"name": "force",
|
|
498
|
-
"required": false,
|
|
499
|
-
"allowNo": false,
|
|
500
|
-
"type": "boolean"
|
|
501
|
-
},
|
|
502
494
|
"output": {
|
|
503
495
|
"char": "o",
|
|
504
496
|
"description": "Output format",
|
|
@@ -512,20 +504,11 @@
|
|
|
512
504
|
"json"
|
|
513
505
|
],
|
|
514
506
|
"type": "option"
|
|
515
|
-
},
|
|
516
|
-
"workspace": {
|
|
517
|
-
"char": "w",
|
|
518
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
519
|
-
"name": "workspace",
|
|
520
|
-
"required": false,
|
|
521
|
-
"hasDynamicHelp": false,
|
|
522
|
-
"multiple": false,
|
|
523
|
-
"type": "option"
|
|
524
507
|
}
|
|
525
508
|
},
|
|
526
509
|
"hasDynamicHelp": false,
|
|
527
510
|
"hiddenAliases": [],
|
|
528
|
-
"id": "branch:
|
|
511
|
+
"id": "branch:list",
|
|
529
512
|
"pluginAlias": "@xano/cli",
|
|
530
513
|
"pluginName": "@xano/cli",
|
|
531
514
|
"pluginType": "core",
|
|
@@ -536,24 +519,24 @@
|
|
|
536
519
|
"dist",
|
|
537
520
|
"commands",
|
|
538
521
|
"branch",
|
|
539
|
-
"
|
|
522
|
+
"list",
|
|
540
523
|
"index.js"
|
|
541
524
|
]
|
|
542
525
|
},
|
|
543
|
-
"branch:
|
|
526
|
+
"branch:set_live": {
|
|
544
527
|
"aliases": [],
|
|
545
528
|
"args": {
|
|
546
|
-
"
|
|
547
|
-
"description": "
|
|
548
|
-
"name": "
|
|
549
|
-
"required":
|
|
529
|
+
"branch_label": {
|
|
530
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
531
|
+
"name": "branch_label",
|
|
532
|
+
"required": true
|
|
550
533
|
}
|
|
551
534
|
},
|
|
552
|
-
"description": "
|
|
535
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
553
536
|
"examples": [
|
|
554
|
-
"$ xano branch
|
|
555
|
-
"$ xano branch
|
|
556
|
-
"$ xano branch
|
|
537
|
+
"$ 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",
|
|
538
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
539
|
+
"$ 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"
|
|
557
540
|
],
|
|
558
541
|
"flags": {
|
|
559
542
|
"profile": {
|
|
@@ -575,6 +558,14 @@
|
|
|
575
558
|
"allowNo": false,
|
|
576
559
|
"type": "boolean"
|
|
577
560
|
},
|
|
561
|
+
"force": {
|
|
562
|
+
"char": "f",
|
|
563
|
+
"description": "Skip confirmation prompt",
|
|
564
|
+
"name": "force",
|
|
565
|
+
"required": false,
|
|
566
|
+
"allowNo": false,
|
|
567
|
+
"type": "boolean"
|
|
568
|
+
},
|
|
578
569
|
"output": {
|
|
579
570
|
"char": "o",
|
|
580
571
|
"description": "Output format",
|
|
@@ -588,11 +579,20 @@
|
|
|
588
579
|
"json"
|
|
589
580
|
],
|
|
590
581
|
"type": "option"
|
|
582
|
+
},
|
|
583
|
+
"workspace": {
|
|
584
|
+
"char": "w",
|
|
585
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
586
|
+
"name": "workspace",
|
|
587
|
+
"required": false,
|
|
588
|
+
"hasDynamicHelp": false,
|
|
589
|
+
"multiple": false,
|
|
590
|
+
"type": "option"
|
|
591
591
|
}
|
|
592
592
|
},
|
|
593
593
|
"hasDynamicHelp": false,
|
|
594
594
|
"hiddenAliases": [],
|
|
595
|
-
"id": "branch:
|
|
595
|
+
"id": "branch:set_live",
|
|
596
596
|
"pluginAlias": "@xano/cli",
|
|
597
597
|
"pluginName": "@xano/cli",
|
|
598
598
|
"pluginType": "core",
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
"dist",
|
|
604
604
|
"commands",
|
|
605
605
|
"branch",
|
|
606
|
-
"
|
|
606
|
+
"set_live",
|
|
607
607
|
"index.js"
|
|
608
608
|
]
|
|
609
609
|
},
|
|
@@ -1051,13 +1051,19 @@
|
|
|
1051
1051
|
"index.js"
|
|
1052
1052
|
]
|
|
1053
1053
|
},
|
|
1054
|
-
"platform:
|
|
1054
|
+
"platform:get": {
|
|
1055
1055
|
"aliases": [],
|
|
1056
|
-
"args": {
|
|
1057
|
-
|
|
1056
|
+
"args": {
|
|
1057
|
+
"platform_id": {
|
|
1058
|
+
"description": "Platform ID to retrieve",
|
|
1059
|
+
"name": "platform_id",
|
|
1060
|
+
"required": true
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"description": "Get details of a specific platform",
|
|
1058
1064
|
"examples": [
|
|
1059
|
-
"$ xano platform
|
|
1060
|
-
"$ xano platform
|
|
1065
|
+
"$ 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",
|
|
1066
|
+
"$ xano platform get 23629 -o json"
|
|
1061
1067
|
],
|
|
1062
1068
|
"flags": {
|
|
1063
1069
|
"profile": {
|
|
@@ -1096,7 +1102,7 @@
|
|
|
1096
1102
|
},
|
|
1097
1103
|
"hasDynamicHelp": false,
|
|
1098
1104
|
"hiddenAliases": [],
|
|
1099
|
-
"id": "platform:
|
|
1105
|
+
"id": "platform:get",
|
|
1100
1106
|
"pluginAlias": "@xano/cli",
|
|
1101
1107
|
"pluginName": "@xano/cli",
|
|
1102
1108
|
"pluginType": "core",
|
|
@@ -1107,23 +1113,17 @@
|
|
|
1107
1113
|
"dist",
|
|
1108
1114
|
"commands",
|
|
1109
1115
|
"platform",
|
|
1110
|
-
"
|
|
1116
|
+
"get",
|
|
1111
1117
|
"index.js"
|
|
1112
1118
|
]
|
|
1113
1119
|
},
|
|
1114
|
-
"platform:
|
|
1120
|
+
"platform:list": {
|
|
1115
1121
|
"aliases": [],
|
|
1116
|
-
"args": {
|
|
1117
|
-
|
|
1118
|
-
"description": "Platform ID to retrieve",
|
|
1119
|
-
"name": "platform_id",
|
|
1120
|
-
"required": true
|
|
1121
|
-
}
|
|
1122
|
-
},
|
|
1123
|
-
"description": "Get details of a specific platform",
|
|
1122
|
+
"args": {},
|
|
1123
|
+
"description": "List all platforms",
|
|
1124
1124
|
"examples": [
|
|
1125
|
-
"$ xano platform
|
|
1126
|
-
"$ xano platform
|
|
1125
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1126
|
+
"$ xano platform list --output json"
|
|
1127
1127
|
],
|
|
1128
1128
|
"flags": {
|
|
1129
1129
|
"profile": {
|
|
@@ -1162,7 +1162,7 @@
|
|
|
1162
1162
|
},
|
|
1163
1163
|
"hasDynamicHelp": false,
|
|
1164
1164
|
"hiddenAliases": [],
|
|
1165
|
-
"id": "platform:
|
|
1165
|
+
"id": "platform:list",
|
|
1166
1166
|
"pluginAlias": "@xano/cli",
|
|
1167
1167
|
"pluginName": "@xano/cli",
|
|
1168
1168
|
"pluginType": "core",
|
|
@@ -1173,7 +1173,7 @@
|
|
|
1173
1173
|
"dist",
|
|
1174
1174
|
"commands",
|
|
1175
1175
|
"platform",
|
|
1176
|
-
"
|
|
1176
|
+
"list",
|
|
1177
1177
|
"index.js"
|
|
1178
1178
|
]
|
|
1179
1179
|
},
|
|
@@ -1306,31 +1306,6 @@
|
|
|
1306
1306
|
"index.js"
|
|
1307
1307
|
]
|
|
1308
1308
|
},
|
|
1309
|
-
"profile:get": {
|
|
1310
|
-
"aliases": [],
|
|
1311
|
-
"args": {},
|
|
1312
|
-
"description": "Get the current default profile name",
|
|
1313
|
-
"examples": [
|
|
1314
|
-
"$ xano profile get\nproduction\n"
|
|
1315
|
-
],
|
|
1316
|
-
"flags": {},
|
|
1317
|
-
"hasDynamicHelp": false,
|
|
1318
|
-
"hiddenAliases": [],
|
|
1319
|
-
"id": "profile:get",
|
|
1320
|
-
"pluginAlias": "@xano/cli",
|
|
1321
|
-
"pluginName": "@xano/cli",
|
|
1322
|
-
"pluginType": "core",
|
|
1323
|
-
"strict": true,
|
|
1324
|
-
"enableJsonFlag": false,
|
|
1325
|
-
"isESM": true,
|
|
1326
|
-
"relativePath": [
|
|
1327
|
-
"dist",
|
|
1328
|
-
"commands",
|
|
1329
|
-
"profile",
|
|
1330
|
-
"get",
|
|
1331
|
-
"index.js"
|
|
1332
|
-
]
|
|
1333
|
-
},
|
|
1334
1309
|
"profile:edit": {
|
|
1335
1310
|
"aliases": [],
|
|
1336
1311
|
"args": {
|
|
@@ -1445,25 +1420,50 @@
|
|
|
1445
1420
|
"index.js"
|
|
1446
1421
|
]
|
|
1447
1422
|
},
|
|
1448
|
-
"profile:
|
|
1423
|
+
"profile:get": {
|
|
1449
1424
|
"aliases": [],
|
|
1450
1425
|
"args": {},
|
|
1451
|
-
"description": "
|
|
1426
|
+
"description": "Get the current default profile name",
|
|
1452
1427
|
"examples": [
|
|
1453
|
-
"$ xano profile
|
|
1454
|
-
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1455
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1428
|
+
"$ xano profile get\nproduction\n"
|
|
1456
1429
|
],
|
|
1457
|
-
"flags": {
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1430
|
+
"flags": {},
|
|
1431
|
+
"hasDynamicHelp": false,
|
|
1432
|
+
"hiddenAliases": [],
|
|
1433
|
+
"id": "profile:get",
|
|
1434
|
+
"pluginAlias": "@xano/cli",
|
|
1435
|
+
"pluginName": "@xano/cli",
|
|
1436
|
+
"pluginType": "core",
|
|
1437
|
+
"strict": true,
|
|
1438
|
+
"enableJsonFlag": false,
|
|
1439
|
+
"isESM": true,
|
|
1440
|
+
"relativePath": [
|
|
1441
|
+
"dist",
|
|
1442
|
+
"commands",
|
|
1443
|
+
"profile",
|
|
1444
|
+
"get",
|
|
1445
|
+
"index.js"
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1448
|
+
"profile:list": {
|
|
1449
|
+
"aliases": [],
|
|
1450
|
+
"args": {},
|
|
1451
|
+
"description": "List all available profile configurations",
|
|
1452
|
+
"examples": [
|
|
1453
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1454
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1455
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1456
|
+
],
|
|
1457
|
+
"flags": {
|
|
1458
|
+
"details": {
|
|
1459
|
+
"char": "d",
|
|
1460
|
+
"description": "Show detailed information for each profile",
|
|
1461
|
+
"name": "details",
|
|
1462
|
+
"required": false,
|
|
1463
|
+
"allowNo": false,
|
|
1464
|
+
"type": "boolean"
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
1467
|
"hasDynamicHelp": false,
|
|
1468
1468
|
"hiddenAliases": [],
|
|
1469
1469
|
"id": "profile:list",
|
|
@@ -1542,32 +1542,6 @@
|
|
|
1542
1542
|
"index.js"
|
|
1543
1543
|
]
|
|
1544
1544
|
},
|
|
1545
|
-
"profile:token": {
|
|
1546
|
-
"aliases": [],
|
|
1547
|
-
"args": {},
|
|
1548
|
-
"description": "Print the access token for the default profile",
|
|
1549
|
-
"examples": [
|
|
1550
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1551
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1552
|
-
],
|
|
1553
|
-
"flags": {},
|
|
1554
|
-
"hasDynamicHelp": false,
|
|
1555
|
-
"hiddenAliases": [],
|
|
1556
|
-
"id": "profile:token",
|
|
1557
|
-
"pluginAlias": "@xano/cli",
|
|
1558
|
-
"pluginName": "@xano/cli",
|
|
1559
|
-
"pluginType": "core",
|
|
1560
|
-
"strict": true,
|
|
1561
|
-
"enableJsonFlag": false,
|
|
1562
|
-
"isESM": true,
|
|
1563
|
-
"relativePath": [
|
|
1564
|
-
"dist",
|
|
1565
|
-
"commands",
|
|
1566
|
-
"profile",
|
|
1567
|
-
"token",
|
|
1568
|
-
"index.js"
|
|
1569
|
-
]
|
|
1570
|
-
},
|
|
1571
1545
|
"profile:set": {
|
|
1572
1546
|
"aliases": [],
|
|
1573
1547
|
"args": {
|
|
@@ -1599,37 +1573,18 @@
|
|
|
1599
1573
|
"index.js"
|
|
1600
1574
|
]
|
|
1601
1575
|
},
|
|
1602
|
-
"profile:
|
|
1576
|
+
"profile:token": {
|
|
1603
1577
|
"aliases": [],
|
|
1604
1578
|
"args": {},
|
|
1605
|
-
"description": "
|
|
1579
|
+
"description": "Print the access token for the default profile",
|
|
1606
1580
|
"examples": [
|
|
1607
|
-
"$ xano profile:
|
|
1581
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1582
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1608
1583
|
],
|
|
1609
|
-
"flags": {
|
|
1610
|
-
"name": {
|
|
1611
|
-
"char": "n",
|
|
1612
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1613
|
-
"name": "name",
|
|
1614
|
-
"required": false,
|
|
1615
|
-
"hasDynamicHelp": false,
|
|
1616
|
-
"multiple": false,
|
|
1617
|
-
"type": "option"
|
|
1618
|
-
},
|
|
1619
|
-
"origin": {
|
|
1620
|
-
"char": "o",
|
|
1621
|
-
"description": "Xano instance origin URL",
|
|
1622
|
-
"name": "origin",
|
|
1623
|
-
"required": false,
|
|
1624
|
-
"default": "https://app.xano.com",
|
|
1625
|
-
"hasDynamicHelp": false,
|
|
1626
|
-
"multiple": false,
|
|
1627
|
-
"type": "option"
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1584
|
+
"flags": {},
|
|
1630
1585
|
"hasDynamicHelp": false,
|
|
1631
1586
|
"hiddenAliases": [],
|
|
1632
|
-
"id": "profile:
|
|
1587
|
+
"id": "profile:token",
|
|
1633
1588
|
"pluginAlias": "@xano/cli",
|
|
1634
1589
|
"pluginName": "@xano/cli",
|
|
1635
1590
|
"pluginType": "core",
|
|
@@ -1640,7 +1595,7 @@
|
|
|
1640
1595
|
"dist",
|
|
1641
1596
|
"commands",
|
|
1642
1597
|
"profile",
|
|
1643
|
-
"
|
|
1598
|
+
"token",
|
|
1644
1599
|
"index.js"
|
|
1645
1600
|
]
|
|
1646
1601
|
},
|
|
@@ -1670,95 +1625,6 @@
|
|
|
1670
1625
|
"index.js"
|
|
1671
1626
|
]
|
|
1672
1627
|
},
|
|
1673
|
-
"static_host:list": {
|
|
1674
|
-
"aliases": [],
|
|
1675
|
-
"args": {},
|
|
1676
|
-
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1677
|
-
"examples": [
|
|
1678
|
-
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1679
|
-
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1680
|
-
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
1681
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1682
|
-
],
|
|
1683
|
-
"flags": {
|
|
1684
|
-
"profile": {
|
|
1685
|
-
"char": "p",
|
|
1686
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1687
|
-
"env": "XANO_PROFILE",
|
|
1688
|
-
"name": "profile",
|
|
1689
|
-
"required": false,
|
|
1690
|
-
"hasDynamicHelp": false,
|
|
1691
|
-
"multiple": false,
|
|
1692
|
-
"type": "option"
|
|
1693
|
-
},
|
|
1694
|
-
"verbose": {
|
|
1695
|
-
"char": "v",
|
|
1696
|
-
"description": "Show detailed request/response information",
|
|
1697
|
-
"env": "XANO_VERBOSE",
|
|
1698
|
-
"name": "verbose",
|
|
1699
|
-
"required": false,
|
|
1700
|
-
"allowNo": false,
|
|
1701
|
-
"type": "boolean"
|
|
1702
|
-
},
|
|
1703
|
-
"output": {
|
|
1704
|
-
"char": "o",
|
|
1705
|
-
"description": "Output format",
|
|
1706
|
-
"name": "output",
|
|
1707
|
-
"required": false,
|
|
1708
|
-
"default": "summary",
|
|
1709
|
-
"hasDynamicHelp": false,
|
|
1710
|
-
"multiple": false,
|
|
1711
|
-
"options": [
|
|
1712
|
-
"summary",
|
|
1713
|
-
"json"
|
|
1714
|
-
],
|
|
1715
|
-
"type": "option"
|
|
1716
|
-
},
|
|
1717
|
-
"page": {
|
|
1718
|
-
"description": "Page number for pagination",
|
|
1719
|
-
"name": "page",
|
|
1720
|
-
"required": false,
|
|
1721
|
-
"default": 1,
|
|
1722
|
-
"hasDynamicHelp": false,
|
|
1723
|
-
"multiple": false,
|
|
1724
|
-
"type": "option"
|
|
1725
|
-
},
|
|
1726
|
-
"per_page": {
|
|
1727
|
-
"description": "Number of results per page",
|
|
1728
|
-
"name": "per_page",
|
|
1729
|
-
"required": false,
|
|
1730
|
-
"default": 50,
|
|
1731
|
-
"hasDynamicHelp": false,
|
|
1732
|
-
"multiple": false,
|
|
1733
|
-
"type": "option"
|
|
1734
|
-
},
|
|
1735
|
-
"workspace": {
|
|
1736
|
-
"char": "w",
|
|
1737
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1738
|
-
"name": "workspace",
|
|
1739
|
-
"required": false,
|
|
1740
|
-
"hasDynamicHelp": false,
|
|
1741
|
-
"multiple": false,
|
|
1742
|
-
"type": "option"
|
|
1743
|
-
}
|
|
1744
|
-
},
|
|
1745
|
-
"hasDynamicHelp": false,
|
|
1746
|
-
"hiddenAliases": [],
|
|
1747
|
-
"id": "static_host:list",
|
|
1748
|
-
"pluginAlias": "@xano/cli",
|
|
1749
|
-
"pluginName": "@xano/cli",
|
|
1750
|
-
"pluginType": "core",
|
|
1751
|
-
"strict": true,
|
|
1752
|
-
"enableJsonFlag": false,
|
|
1753
|
-
"isESM": true,
|
|
1754
|
-
"relativePath": [
|
|
1755
|
-
"dist",
|
|
1756
|
-
"commands",
|
|
1757
|
-
"static_host",
|
|
1758
|
-
"list",
|
|
1759
|
-
"index.js"
|
|
1760
|
-
]
|
|
1761
|
-
},
|
|
1762
1628
|
"release:create": {
|
|
1763
1629
|
"aliases": [],
|
|
1764
1630
|
"args": {},
|
|
@@ -2206,69 +2072,29 @@
|
|
|
2206
2072
|
"index.js"
|
|
2207
2073
|
]
|
|
2208
2074
|
},
|
|
2209
|
-
"
|
|
2075
|
+
"profile:wizard": {
|
|
2210
2076
|
"aliases": [],
|
|
2211
|
-
"args": {
|
|
2212
|
-
|
|
2213
|
-
"description": "Output directory for pulled documents",
|
|
2214
|
-
"name": "directory",
|
|
2215
|
-
"required": true
|
|
2216
|
-
}
|
|
2217
|
-
},
|
|
2218
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2077
|
+
"args": {},
|
|
2078
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
2219
2079
|
"examples": [
|
|
2220
|
-
"$ xano
|
|
2221
|
-
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2222
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
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"
|
|
2223
2081
|
],
|
|
2224
2082
|
"flags": {
|
|
2225
|
-
"
|
|
2226
|
-
"char": "
|
|
2227
|
-
"description": "Profile
|
|
2228
|
-
"
|
|
2229
|
-
"name": "profile",
|
|
2230
|
-
"required": false,
|
|
2231
|
-
"hasDynamicHelp": false,
|
|
2232
|
-
"multiple": false,
|
|
2233
|
-
"type": "option"
|
|
2234
|
-
},
|
|
2235
|
-
"verbose": {
|
|
2236
|
-
"char": "v",
|
|
2237
|
-
"description": "Show detailed request/response information",
|
|
2238
|
-
"env": "XANO_VERBOSE",
|
|
2239
|
-
"name": "verbose",
|
|
2240
|
-
"required": false,
|
|
2241
|
-
"allowNo": false,
|
|
2242
|
-
"type": "boolean"
|
|
2243
|
-
},
|
|
2244
|
-
"env": {
|
|
2245
|
-
"description": "Include environment variables",
|
|
2246
|
-
"name": "env",
|
|
2247
|
-
"required": false,
|
|
2248
|
-
"allowNo": false,
|
|
2249
|
-
"type": "boolean"
|
|
2250
|
-
},
|
|
2251
|
-
"records": {
|
|
2252
|
-
"description": "Include records",
|
|
2253
|
-
"name": "records",
|
|
2083
|
+
"name": {
|
|
2084
|
+
"char": "n",
|
|
2085
|
+
"description": "Profile name (skip prompt if provided)",
|
|
2086
|
+
"name": "name",
|
|
2254
2087
|
"required": false,
|
|
2255
|
-
"allowNo": false,
|
|
2256
|
-
"type": "boolean"
|
|
2257
|
-
},
|
|
2258
|
-
"release": {
|
|
2259
|
-
"char": "r",
|
|
2260
|
-
"description": "Release name to pull from",
|
|
2261
|
-
"name": "release",
|
|
2262
|
-
"required": true,
|
|
2263
2088
|
"hasDynamicHelp": false,
|
|
2264
2089
|
"multiple": false,
|
|
2265
2090
|
"type": "option"
|
|
2266
2091
|
},
|
|
2267
|
-
"
|
|
2268
|
-
"char": "
|
|
2269
|
-
"description": "
|
|
2270
|
-
"name": "
|
|
2092
|
+
"origin": {
|
|
2093
|
+
"char": "o",
|
|
2094
|
+
"description": "Xano instance origin URL",
|
|
2095
|
+
"name": "origin",
|
|
2271
2096
|
"required": false,
|
|
2097
|
+
"default": "https://app.xano.com",
|
|
2272
2098
|
"hasDynamicHelp": false,
|
|
2273
2099
|
"multiple": false,
|
|
2274
2100
|
"type": "option"
|
|
@@ -2276,7 +2102,7 @@
|
|
|
2276
2102
|
},
|
|
2277
2103
|
"hasDynamicHelp": false,
|
|
2278
2104
|
"hiddenAliases": [],
|
|
2279
|
-
"id": "
|
|
2105
|
+
"id": "profile:wizard",
|
|
2280
2106
|
"pluginAlias": "@xano/cli",
|
|
2281
2107
|
"pluginName": "@xano/cli",
|
|
2282
2108
|
"pluginType": "core",
|
|
@@ -2286,18 +2112,18 @@
|
|
|
2286
2112
|
"relativePath": [
|
|
2287
2113
|
"dist",
|
|
2288
2114
|
"commands",
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2115
|
+
"profile",
|
|
2116
|
+
"wizard",
|
|
2291
2117
|
"index.js"
|
|
2292
2118
|
]
|
|
2293
2119
|
},
|
|
2294
|
-
"release:
|
|
2120
|
+
"release:import": {
|
|
2295
2121
|
"aliases": [],
|
|
2296
2122
|
"args": {},
|
|
2297
|
-
"description": "
|
|
2123
|
+
"description": "Import a release file into a workspace",
|
|
2298
2124
|
"examples": [
|
|
2299
|
-
"$ xano release
|
|
2300
|
-
"$ xano release
|
|
2125
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2126
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2301
2127
|
],
|
|
2302
2128
|
"flags": {
|
|
2303
2129
|
"profile": {
|
|
@@ -2319,6 +2145,15 @@
|
|
|
2319
2145
|
"allowNo": false,
|
|
2320
2146
|
"type": "boolean"
|
|
2321
2147
|
},
|
|
2148
|
+
"file": {
|
|
2149
|
+
"char": "f",
|
|
2150
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2151
|
+
"name": "file",
|
|
2152
|
+
"required": true,
|
|
2153
|
+
"hasDynamicHelp": false,
|
|
2154
|
+
"multiple": false,
|
|
2155
|
+
"type": "option"
|
|
2156
|
+
},
|
|
2322
2157
|
"output": {
|
|
2323
2158
|
"char": "o",
|
|
2324
2159
|
"description": "Output format",
|
|
@@ -2345,7 +2180,7 @@
|
|
|
2345
2180
|
},
|
|
2346
2181
|
"hasDynamicHelp": false,
|
|
2347
2182
|
"hiddenAliases": [],
|
|
2348
|
-
"id": "release:
|
|
2183
|
+
"id": "release:import",
|
|
2349
2184
|
"pluginAlias": "@xano/cli",
|
|
2350
2185
|
"pluginName": "@xano/cli",
|
|
2351
2186
|
"pluginType": "core",
|
|
@@ -2356,17 +2191,17 @@
|
|
|
2356
2191
|
"dist",
|
|
2357
2192
|
"commands",
|
|
2358
2193
|
"release",
|
|
2359
|
-
"
|
|
2194
|
+
"import",
|
|
2360
2195
|
"index.js"
|
|
2361
2196
|
]
|
|
2362
2197
|
},
|
|
2363
|
-
"release:
|
|
2198
|
+
"release:list": {
|
|
2364
2199
|
"aliases": [],
|
|
2365
2200
|
"args": {},
|
|
2366
|
-
"description": "
|
|
2201
|
+
"description": "List all releases in a workspace",
|
|
2367
2202
|
"examples": [
|
|
2368
|
-
"$ xano release
|
|
2369
|
-
"$ xano release
|
|
2203
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2204
|
+
"$ xano release list -w 5 --output json"
|
|
2370
2205
|
],
|
|
2371
2206
|
"flags": {
|
|
2372
2207
|
"profile": {
|
|
@@ -2388,15 +2223,6 @@
|
|
|
2388
2223
|
"allowNo": false,
|
|
2389
2224
|
"type": "boolean"
|
|
2390
2225
|
},
|
|
2391
|
-
"file": {
|
|
2392
|
-
"char": "f",
|
|
2393
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2394
|
-
"name": "file",
|
|
2395
|
-
"required": true,
|
|
2396
|
-
"hasDynamicHelp": false,
|
|
2397
|
-
"multiple": false,
|
|
2398
|
-
"type": "option"
|
|
2399
|
-
},
|
|
2400
2226
|
"output": {
|
|
2401
2227
|
"char": "o",
|
|
2402
2228
|
"description": "Output format",
|
|
@@ -2423,7 +2249,7 @@
|
|
|
2423
2249
|
},
|
|
2424
2250
|
"hasDynamicHelp": false,
|
|
2425
2251
|
"hiddenAliases": [],
|
|
2426
|
-
"id": "release:
|
|
2252
|
+
"id": "release:list",
|
|
2427
2253
|
"pluginAlias": "@xano/cli",
|
|
2428
2254
|
"pluginName": "@xano/cli",
|
|
2429
2255
|
"pluginType": "core",
|
|
@@ -2434,26 +2260,24 @@
|
|
|
2434
2260
|
"dist",
|
|
2435
2261
|
"commands",
|
|
2436
2262
|
"release",
|
|
2437
|
-
"
|
|
2263
|
+
"list",
|
|
2438
2264
|
"index.js"
|
|
2439
2265
|
]
|
|
2440
2266
|
},
|
|
2441
|
-
"release:
|
|
2267
|
+
"release:pull": {
|
|
2442
2268
|
"aliases": [],
|
|
2443
2269
|
"args": {
|
|
2444
2270
|
"directory": {
|
|
2445
|
-
"description": "
|
|
2271
|
+
"description": "Output directory for pulled documents",
|
|
2446
2272
|
"name": "directory",
|
|
2447
2273
|
"required": true
|
|
2448
2274
|
}
|
|
2449
2275
|
},
|
|
2450
|
-
"description": "
|
|
2276
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2451
2277
|
"examples": [
|
|
2452
|
-
"$ xano release
|
|
2453
|
-
"$ xano release
|
|
2454
|
-
"$ xano release
|
|
2455
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2456
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2278
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2279
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2280
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2457
2281
|
],
|
|
2458
2282
|
"flags": {
|
|
2459
2283
|
"profile": {
|
|
@@ -2475,60 +2299,29 @@
|
|
|
2475
2299
|
"allowNo": false,
|
|
2476
2300
|
"type": "boolean"
|
|
2477
2301
|
},
|
|
2478
|
-
"description": {
|
|
2479
|
-
"char": "d",
|
|
2480
|
-
"description": "Release description",
|
|
2481
|
-
"name": "description",
|
|
2482
|
-
"required": false,
|
|
2483
|
-
"default": "",
|
|
2484
|
-
"hasDynamicHelp": false,
|
|
2485
|
-
"multiple": false,
|
|
2486
|
-
"type": "option"
|
|
2487
|
-
},
|
|
2488
2302
|
"env": {
|
|
2489
|
-
"description": "Include environment variables
|
|
2303
|
+
"description": "Include environment variables",
|
|
2490
2304
|
"name": "env",
|
|
2491
2305
|
"required": false,
|
|
2492
|
-
"allowNo":
|
|
2306
|
+
"allowNo": false,
|
|
2493
2307
|
"type": "boolean"
|
|
2494
2308
|
},
|
|
2495
|
-
"
|
|
2496
|
-
"description": "
|
|
2497
|
-
"name": "
|
|
2309
|
+
"records": {
|
|
2310
|
+
"description": "Include records",
|
|
2311
|
+
"name": "records",
|
|
2498
2312
|
"required": false,
|
|
2499
2313
|
"allowNo": false,
|
|
2500
2314
|
"type": "boolean"
|
|
2501
2315
|
},
|
|
2502
|
-
"
|
|
2503
|
-
"char": "
|
|
2504
|
-
"description": "
|
|
2505
|
-
"name": "
|
|
2316
|
+
"release": {
|
|
2317
|
+
"char": "r",
|
|
2318
|
+
"description": "Release name to pull from",
|
|
2319
|
+
"name": "release",
|
|
2506
2320
|
"required": true,
|
|
2507
2321
|
"hasDynamicHelp": false,
|
|
2508
2322
|
"multiple": false,
|
|
2509
2323
|
"type": "option"
|
|
2510
2324
|
},
|
|
2511
|
-
"output": {
|
|
2512
|
-
"char": "o",
|
|
2513
|
-
"description": "Output format",
|
|
2514
|
-
"name": "output",
|
|
2515
|
-
"required": false,
|
|
2516
|
-
"default": "summary",
|
|
2517
|
-
"hasDynamicHelp": false,
|
|
2518
|
-
"multiple": false,
|
|
2519
|
-
"options": [
|
|
2520
|
-
"summary",
|
|
2521
|
-
"json"
|
|
2522
|
-
],
|
|
2523
|
-
"type": "option"
|
|
2524
|
-
},
|
|
2525
|
-
"records": {
|
|
2526
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2527
|
-
"name": "records",
|
|
2528
|
-
"required": false,
|
|
2529
|
-
"allowNo": true,
|
|
2530
|
-
"type": "boolean"
|
|
2531
|
-
},
|
|
2532
2325
|
"workspace": {
|
|
2533
2326
|
"char": "w",
|
|
2534
2327
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -2541,7 +2334,7 @@
|
|
|
2541
2334
|
},
|
|
2542
2335
|
"hasDynamicHelp": false,
|
|
2543
2336
|
"hiddenAliases": [],
|
|
2544
|
-
"id": "release:
|
|
2337
|
+
"id": "release:pull",
|
|
2545
2338
|
"pluginAlias": "@xano/cli",
|
|
2546
2339
|
"pluginName": "@xano/cli",
|
|
2547
2340
|
"pluginType": "core",
|
|
@@ -2552,24 +2345,26 @@
|
|
|
2552
2345
|
"dist",
|
|
2553
2346
|
"commands",
|
|
2554
2347
|
"release",
|
|
2555
|
-
"
|
|
2348
|
+
"pull",
|
|
2556
2349
|
"index.js"
|
|
2557
2350
|
]
|
|
2558
2351
|
},
|
|
2559
|
-
"
|
|
2352
|
+
"release:push": {
|
|
2560
2353
|
"aliases": [],
|
|
2561
2354
|
"args": {
|
|
2562
|
-
"
|
|
2563
|
-
"description": "
|
|
2564
|
-
"name": "
|
|
2355
|
+
"directory": {
|
|
2356
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2357
|
+
"name": "directory",
|
|
2565
2358
|
"required": true
|
|
2566
2359
|
}
|
|
2567
2360
|
},
|
|
2568
|
-
"description": "
|
|
2361
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2569
2362
|
"examples": [
|
|
2570
|
-
"$ xano
|
|
2571
|
-
"$ xano
|
|
2572
|
-
"$ xano
|
|
2363
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2364
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2365
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2366
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2367
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2573
2368
|
],
|
|
2574
2369
|
"flags": {
|
|
2575
2370
|
"profile": {
|
|
@@ -2591,14 +2386,39 @@
|
|
|
2591
2386
|
"allowNo": false,
|
|
2592
2387
|
"type": "boolean"
|
|
2593
2388
|
},
|
|
2594
|
-
"
|
|
2595
|
-
"char": "
|
|
2596
|
-
"description": "
|
|
2597
|
-
"name": "
|
|
2389
|
+
"description": {
|
|
2390
|
+
"char": "d",
|
|
2391
|
+
"description": "Release description",
|
|
2392
|
+
"name": "description",
|
|
2393
|
+
"required": false,
|
|
2394
|
+
"default": "",
|
|
2395
|
+
"hasDynamicHelp": false,
|
|
2396
|
+
"multiple": false,
|
|
2397
|
+
"type": "option"
|
|
2398
|
+
},
|
|
2399
|
+
"env": {
|
|
2400
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2401
|
+
"name": "env",
|
|
2402
|
+
"required": false,
|
|
2403
|
+
"allowNo": true,
|
|
2404
|
+
"type": "boolean"
|
|
2405
|
+
},
|
|
2406
|
+
"hotfix": {
|
|
2407
|
+
"description": "Mark as a hotfix release",
|
|
2408
|
+
"name": "hotfix",
|
|
2598
2409
|
"required": false,
|
|
2599
2410
|
"allowNo": false,
|
|
2600
2411
|
"type": "boolean"
|
|
2601
2412
|
},
|
|
2413
|
+
"name": {
|
|
2414
|
+
"char": "n",
|
|
2415
|
+
"description": "Name for the release",
|
|
2416
|
+
"name": "name",
|
|
2417
|
+
"required": true,
|
|
2418
|
+
"hasDynamicHelp": false,
|
|
2419
|
+
"multiple": false,
|
|
2420
|
+
"type": "option"
|
|
2421
|
+
},
|
|
2602
2422
|
"output": {
|
|
2603
2423
|
"char": "o",
|
|
2604
2424
|
"description": "Output format",
|
|
@@ -2613,9 +2433,16 @@
|
|
|
2613
2433
|
],
|
|
2614
2434
|
"type": "option"
|
|
2615
2435
|
},
|
|
2436
|
+
"records": {
|
|
2437
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2438
|
+
"name": "records",
|
|
2439
|
+
"required": false,
|
|
2440
|
+
"allowNo": true,
|
|
2441
|
+
"type": "boolean"
|
|
2442
|
+
},
|
|
2616
2443
|
"workspace": {
|
|
2617
2444
|
"char": "w",
|
|
2618
|
-
"description": "Workspace ID (
|
|
2445
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2619
2446
|
"name": "workspace",
|
|
2620
2447
|
"required": false,
|
|
2621
2448
|
"hasDynamicHelp": false,
|
|
@@ -2625,7 +2452,7 @@
|
|
|
2625
2452
|
},
|
|
2626
2453
|
"hasDynamicHelp": false,
|
|
2627
2454
|
"hiddenAliases": [],
|
|
2628
|
-
"id": "
|
|
2455
|
+
"id": "release:push",
|
|
2629
2456
|
"pluginAlias": "@xano/cli",
|
|
2630
2457
|
"pluginName": "@xano/cli",
|
|
2631
2458
|
"pluginType": "core",
|
|
@@ -2635,24 +2462,20 @@
|
|
|
2635
2462
|
"relativePath": [
|
|
2636
2463
|
"dist",
|
|
2637
2464
|
"commands",
|
|
2638
|
-
"
|
|
2639
|
-
"
|
|
2465
|
+
"release",
|
|
2466
|
+
"push",
|
|
2640
2467
|
"index.js"
|
|
2641
2468
|
]
|
|
2642
2469
|
},
|
|
2643
|
-
"
|
|
2470
|
+
"static_host:list": {
|
|
2644
2471
|
"aliases": [],
|
|
2645
|
-
"args": {
|
|
2646
|
-
|
|
2647
|
-
"description": "Tenant name to deploy to",
|
|
2648
|
-
"name": "tenant_name",
|
|
2649
|
-
"required": true
|
|
2650
|
-
}
|
|
2651
|
-
},
|
|
2652
|
-
"description": "Deploy a platform version to a tenant",
|
|
2472
|
+
"args": {},
|
|
2473
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2653
2474
|
"examples": [
|
|
2654
|
-
"$ xano
|
|
2655
|
-
"$ xano
|
|
2475
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2476
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2477
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2478
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2656
2479
|
],
|
|
2657
2480
|
"flags": {
|
|
2658
2481
|
"profile": {
|
|
@@ -2688,17 +2511,27 @@
|
|
|
2688
2511
|
],
|
|
2689
2512
|
"type": "option"
|
|
2690
2513
|
},
|
|
2691
|
-
"
|
|
2692
|
-
"description": "
|
|
2693
|
-
"name": "
|
|
2694
|
-
"required":
|
|
2514
|
+
"page": {
|
|
2515
|
+
"description": "Page number for pagination",
|
|
2516
|
+
"name": "page",
|
|
2517
|
+
"required": false,
|
|
2518
|
+
"default": 1,
|
|
2519
|
+
"hasDynamicHelp": false,
|
|
2520
|
+
"multiple": false,
|
|
2521
|
+
"type": "option"
|
|
2522
|
+
},
|
|
2523
|
+
"per_page": {
|
|
2524
|
+
"description": "Number of results per page",
|
|
2525
|
+
"name": "per_page",
|
|
2526
|
+
"required": false,
|
|
2527
|
+
"default": 50,
|
|
2695
2528
|
"hasDynamicHelp": false,
|
|
2696
2529
|
"multiple": false,
|
|
2697
2530
|
"type": "option"
|
|
2698
2531
|
},
|
|
2699
2532
|
"workspace": {
|
|
2700
2533
|
"char": "w",
|
|
2701
|
-
"description": "Workspace ID (
|
|
2534
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2702
2535
|
"name": "workspace",
|
|
2703
2536
|
"required": false,
|
|
2704
2537
|
"hasDynamicHelp": false,
|
|
@@ -2708,7 +2541,7 @@
|
|
|
2708
2541
|
},
|
|
2709
2542
|
"hasDynamicHelp": false,
|
|
2710
2543
|
"hiddenAliases": [],
|
|
2711
|
-
"id": "
|
|
2544
|
+
"id": "static_host:list",
|
|
2712
2545
|
"pluginAlias": "@xano/cli",
|
|
2713
2546
|
"pluginName": "@xano/cli",
|
|
2714
2547
|
"pluginType": "core",
|
|
@@ -2718,8 +2551,8 @@
|
|
|
2718
2551
|
"relativePath": [
|
|
2719
2552
|
"dist",
|
|
2720
2553
|
"commands",
|
|
2721
|
-
"
|
|
2722
|
-
"
|
|
2554
|
+
"static_host",
|
|
2555
|
+
"list",
|
|
2723
2556
|
"index.js"
|
|
2724
2557
|
]
|
|
2725
2558
|
},
|
|
@@ -2863,19 +2696,20 @@
|
|
|
2863
2696
|
"index.js"
|
|
2864
2697
|
]
|
|
2865
2698
|
},
|
|
2866
|
-
"tenant:
|
|
2699
|
+
"tenant:delete": {
|
|
2867
2700
|
"aliases": [],
|
|
2868
2701
|
"args": {
|
|
2869
2702
|
"tenant_name": {
|
|
2870
|
-
"description": "Tenant name to
|
|
2703
|
+
"description": "Tenant name to delete",
|
|
2871
2704
|
"name": "tenant_name",
|
|
2872
2705
|
"required": true
|
|
2873
2706
|
}
|
|
2874
2707
|
},
|
|
2875
|
-
"description": "
|
|
2708
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2876
2709
|
"examples": [
|
|
2877
|
-
"$ xano tenant
|
|
2878
|
-
"$ xano tenant
|
|
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"
|
|
2879
2713
|
],
|
|
2880
2714
|
"flags": {
|
|
2881
2715
|
"profile": {
|
|
@@ -2897,6 +2731,14 @@
|
|
|
2897
2731
|
"allowNo": false,
|
|
2898
2732
|
"type": "boolean"
|
|
2899
2733
|
},
|
|
2734
|
+
"force": {
|
|
2735
|
+
"char": "f",
|
|
2736
|
+
"description": "Skip confirmation prompt",
|
|
2737
|
+
"name": "force",
|
|
2738
|
+
"required": false,
|
|
2739
|
+
"allowNo": false,
|
|
2740
|
+
"type": "boolean"
|
|
2741
|
+
},
|
|
2900
2742
|
"output": {
|
|
2901
2743
|
"char": "o",
|
|
2902
2744
|
"description": "Output format",
|
|
@@ -2923,7 +2765,7 @@
|
|
|
2923
2765
|
},
|
|
2924
2766
|
"hasDynamicHelp": false,
|
|
2925
2767
|
"hiddenAliases": [],
|
|
2926
|
-
"id": "tenant:
|
|
2768
|
+
"id": "tenant:delete",
|
|
2927
2769
|
"pluginAlias": "@xano/cli",
|
|
2928
2770
|
"pluginName": "@xano/cli",
|
|
2929
2771
|
"pluginType": "core",
|
|
@@ -2934,23 +2776,23 @@
|
|
|
2934
2776
|
"dist",
|
|
2935
2777
|
"commands",
|
|
2936
2778
|
"tenant",
|
|
2937
|
-
"
|
|
2779
|
+
"delete",
|
|
2938
2780
|
"index.js"
|
|
2939
2781
|
]
|
|
2940
2782
|
},
|
|
2941
|
-
"tenant:
|
|
2783
|
+
"tenant:deploy_platform": {
|
|
2942
2784
|
"aliases": [],
|
|
2943
2785
|
"args": {
|
|
2944
2786
|
"tenant_name": {
|
|
2945
|
-
"description": "Tenant name to
|
|
2787
|
+
"description": "Tenant name to deploy to",
|
|
2946
2788
|
"name": "tenant_name",
|
|
2947
2789
|
"required": true
|
|
2948
2790
|
}
|
|
2949
2791
|
},
|
|
2950
|
-
"description": "
|
|
2792
|
+
"description": "Deploy a platform version to a tenant",
|
|
2951
2793
|
"examples": [
|
|
2952
|
-
"$ xano tenant
|
|
2953
|
-
"$ xano tenant
|
|
2794
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2795
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2954
2796
|
],
|
|
2955
2797
|
"flags": {
|
|
2956
2798
|
"profile": {
|
|
@@ -2972,38 +2814,6 @@
|
|
|
2972
2814
|
"allowNo": false,
|
|
2973
2815
|
"type": "boolean"
|
|
2974
2816
|
},
|
|
2975
|
-
"description": {
|
|
2976
|
-
"char": "d",
|
|
2977
|
-
"description": "New description",
|
|
2978
|
-
"name": "description",
|
|
2979
|
-
"required": false,
|
|
2980
|
-
"hasDynamicHelp": false,
|
|
2981
|
-
"multiple": false,
|
|
2982
|
-
"type": "option"
|
|
2983
|
-
},
|
|
2984
|
-
"display": {
|
|
2985
|
-
"description": "New display name",
|
|
2986
|
-
"name": "display",
|
|
2987
|
-
"required": false,
|
|
2988
|
-
"hasDynamicHelp": false,
|
|
2989
|
-
"multiple": false,
|
|
2990
|
-
"type": "option"
|
|
2991
|
-
},
|
|
2992
|
-
"domain": {
|
|
2993
|
-
"description": "Custom domain",
|
|
2994
|
-
"name": "domain",
|
|
2995
|
-
"required": false,
|
|
2996
|
-
"hasDynamicHelp": false,
|
|
2997
|
-
"multiple": false,
|
|
2998
|
-
"type": "option"
|
|
2999
|
-
},
|
|
3000
|
-
"ingress": {
|
|
3001
|
-
"description": "Enable/disable ingress",
|
|
3002
|
-
"name": "ingress",
|
|
3003
|
-
"required": false,
|
|
3004
|
-
"allowNo": true,
|
|
3005
|
-
"type": "boolean"
|
|
3006
|
-
},
|
|
3007
2817
|
"output": {
|
|
3008
2818
|
"char": "o",
|
|
3009
2819
|
"description": "Output format",
|
|
@@ -3018,28 +2828,14 @@
|
|
|
3018
2828
|
],
|
|
3019
2829
|
"type": "option"
|
|
3020
2830
|
},
|
|
3021
|
-
"
|
|
3022
|
-
"description": "
|
|
3023
|
-
"name": "
|
|
3024
|
-
"required":
|
|
2831
|
+
"platform_id": {
|
|
2832
|
+
"description": "Platform ID to deploy",
|
|
2833
|
+
"name": "platform_id",
|
|
2834
|
+
"required": true,
|
|
3025
2835
|
"hasDynamicHelp": false,
|
|
3026
2836
|
"multiple": false,
|
|
3027
2837
|
"type": "option"
|
|
3028
2838
|
},
|
|
3029
|
-
"rbac": {
|
|
3030
|
-
"description": "Enable/disable RBAC",
|
|
3031
|
-
"name": "rbac",
|
|
3032
|
-
"required": false,
|
|
3033
|
-
"allowNo": true,
|
|
3034
|
-
"type": "boolean"
|
|
3035
|
-
},
|
|
3036
|
-
"tasks": {
|
|
3037
|
-
"description": "Enable/disable background tasks",
|
|
3038
|
-
"name": "tasks",
|
|
3039
|
-
"required": false,
|
|
3040
|
-
"allowNo": true,
|
|
3041
|
-
"type": "boolean"
|
|
3042
|
-
},
|
|
3043
2839
|
"workspace": {
|
|
3044
2840
|
"char": "w",
|
|
3045
2841
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3052,7 +2848,7 @@
|
|
|
3052
2848
|
},
|
|
3053
2849
|
"hasDynamicHelp": false,
|
|
3054
2850
|
"hiddenAliases": [],
|
|
3055
|
-
"id": "tenant:
|
|
2851
|
+
"id": "tenant:deploy_platform",
|
|
3056
2852
|
"pluginAlias": "@xano/cli",
|
|
3057
2853
|
"pluginName": "@xano/cli",
|
|
3058
2854
|
"pluginType": "core",
|
|
@@ -3063,7 +2859,7 @@
|
|
|
3063
2859
|
"dist",
|
|
3064
2860
|
"commands",
|
|
3065
2861
|
"tenant",
|
|
3066
|
-
"
|
|
2862
|
+
"deploy_platform",
|
|
3067
2863
|
"index.js"
|
|
3068
2864
|
]
|
|
3069
2865
|
},
|
|
@@ -3151,21 +2947,19 @@
|
|
|
3151
2947
|
"index.js"
|
|
3152
2948
|
]
|
|
3153
2949
|
},
|
|
3154
|
-
"tenant:
|
|
2950
|
+
"tenant:get": {
|
|
3155
2951
|
"aliases": [],
|
|
3156
2952
|
"args": {
|
|
3157
|
-
"
|
|
3158
|
-
"description": "
|
|
3159
|
-
"name": "
|
|
2953
|
+
"tenant_name": {
|
|
2954
|
+
"description": "Tenant name to retrieve",
|
|
2955
|
+
"name": "tenant_name",
|
|
3160
2956
|
"required": true
|
|
3161
2957
|
}
|
|
3162
2958
|
},
|
|
3163
|
-
"description": "
|
|
2959
|
+
"description": "Get details of a specific tenant",
|
|
3164
2960
|
"examples": [
|
|
3165
|
-
"$ xano tenant
|
|
3166
|
-
"$ xano tenant
|
|
3167
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3168
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
2961
|
+
"$ 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",
|
|
2962
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3169
2963
|
],
|
|
3170
2964
|
"flags": {
|
|
3171
2965
|
"profile": {
|
|
@@ -3187,39 +2981,23 @@
|
|
|
3187
2981
|
"allowNo": false,
|
|
3188
2982
|
"type": "boolean"
|
|
3189
2983
|
},
|
|
3190
|
-
"
|
|
3191
|
-
"
|
|
3192
|
-
"
|
|
3193
|
-
"
|
|
3194
|
-
"allowNo": false,
|
|
3195
|
-
"type": "boolean"
|
|
3196
|
-
},
|
|
3197
|
-
"env": {
|
|
3198
|
-
"description": "Include environment variables",
|
|
3199
|
-
"name": "env",
|
|
3200
|
-
"required": false,
|
|
3201
|
-
"allowNo": false,
|
|
3202
|
-
"type": "boolean"
|
|
3203
|
-
},
|
|
3204
|
-
"records": {
|
|
3205
|
-
"description": "Include records",
|
|
3206
|
-
"name": "records",
|
|
2984
|
+
"output": {
|
|
2985
|
+
"char": "o",
|
|
2986
|
+
"description": "Output format",
|
|
2987
|
+
"name": "output",
|
|
3207
2988
|
"required": false,
|
|
3208
|
-
"
|
|
3209
|
-
"type": "boolean"
|
|
3210
|
-
},
|
|
3211
|
-
"tenant": {
|
|
3212
|
-
"char": "t",
|
|
3213
|
-
"description": "Tenant name to pull from",
|
|
3214
|
-
"name": "tenant",
|
|
3215
|
-
"required": true,
|
|
2989
|
+
"default": "summary",
|
|
3216
2990
|
"hasDynamicHelp": false,
|
|
3217
2991
|
"multiple": false,
|
|
2992
|
+
"options": [
|
|
2993
|
+
"summary",
|
|
2994
|
+
"json"
|
|
2995
|
+
],
|
|
3218
2996
|
"type": "option"
|
|
3219
2997
|
},
|
|
3220
2998
|
"workspace": {
|
|
3221
2999
|
"char": "w",
|
|
3222
|
-
"description": "Workspace ID (
|
|
3000
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3223
3001
|
"name": "workspace",
|
|
3224
3002
|
"required": false,
|
|
3225
3003
|
"hasDynamicHelp": false,
|
|
@@ -3229,7 +3007,7 @@
|
|
|
3229
3007
|
},
|
|
3230
3008
|
"hasDynamicHelp": false,
|
|
3231
3009
|
"hiddenAliases": [],
|
|
3232
|
-
"id": "tenant:
|
|
3010
|
+
"id": "tenant:get",
|
|
3233
3011
|
"pluginAlias": "@xano/cli",
|
|
3234
3012
|
"pluginName": "@xano/cli",
|
|
3235
3013
|
"pluginType": "core",
|
|
@@ -3240,23 +3018,23 @@
|
|
|
3240
3018
|
"dist",
|
|
3241
3019
|
"commands",
|
|
3242
3020
|
"tenant",
|
|
3243
|
-
"
|
|
3021
|
+
"get",
|
|
3244
3022
|
"index.js"
|
|
3245
3023
|
]
|
|
3246
3024
|
},
|
|
3247
|
-
"tenant:
|
|
3025
|
+
"tenant:edit": {
|
|
3248
3026
|
"aliases": [],
|
|
3249
3027
|
"args": {
|
|
3250
3028
|
"tenant_name": {
|
|
3251
|
-
"description": "Tenant name to
|
|
3029
|
+
"description": "Tenant name to edit",
|
|
3252
3030
|
"name": "tenant_name",
|
|
3253
3031
|
"required": true
|
|
3254
3032
|
}
|
|
3255
3033
|
},
|
|
3256
|
-
"description": "
|
|
3034
|
+
"description": "Edit an existing tenant",
|
|
3257
3035
|
"examples": [
|
|
3258
|
-
"$ xano tenant
|
|
3259
|
-
"$ xano tenant
|
|
3036
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3037
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3260
3038
|
],
|
|
3261
3039
|
"flags": {
|
|
3262
3040
|
"profile": {
|
|
@@ -3278,6 +3056,38 @@
|
|
|
3278
3056
|
"allowNo": false,
|
|
3279
3057
|
"type": "boolean"
|
|
3280
3058
|
},
|
|
3059
|
+
"description": {
|
|
3060
|
+
"char": "d",
|
|
3061
|
+
"description": "New description",
|
|
3062
|
+
"name": "description",
|
|
3063
|
+
"required": false,
|
|
3064
|
+
"hasDynamicHelp": false,
|
|
3065
|
+
"multiple": false,
|
|
3066
|
+
"type": "option"
|
|
3067
|
+
},
|
|
3068
|
+
"display": {
|
|
3069
|
+
"description": "New display name",
|
|
3070
|
+
"name": "display",
|
|
3071
|
+
"required": false,
|
|
3072
|
+
"hasDynamicHelp": false,
|
|
3073
|
+
"multiple": false,
|
|
3074
|
+
"type": "option"
|
|
3075
|
+
},
|
|
3076
|
+
"domain": {
|
|
3077
|
+
"description": "Custom domain",
|
|
3078
|
+
"name": "domain",
|
|
3079
|
+
"required": false,
|
|
3080
|
+
"hasDynamicHelp": false,
|
|
3081
|
+
"multiple": false,
|
|
3082
|
+
"type": "option"
|
|
3083
|
+
},
|
|
3084
|
+
"ingress": {
|
|
3085
|
+
"description": "Enable/disable ingress",
|
|
3086
|
+
"name": "ingress",
|
|
3087
|
+
"required": false,
|
|
3088
|
+
"allowNo": true,
|
|
3089
|
+
"type": "boolean"
|
|
3090
|
+
},
|
|
3281
3091
|
"output": {
|
|
3282
3092
|
"char": "o",
|
|
3283
3093
|
"description": "Output format",
|
|
@@ -3292,12 +3102,26 @@
|
|
|
3292
3102
|
],
|
|
3293
3103
|
"type": "option"
|
|
3294
3104
|
},
|
|
3295
|
-
"
|
|
3296
|
-
"
|
|
3297
|
-
"
|
|
3298
|
-
"name": "url-only",
|
|
3105
|
+
"proxy": {
|
|
3106
|
+
"description": "Proxy URL",
|
|
3107
|
+
"name": "proxy",
|
|
3299
3108
|
"required": false,
|
|
3300
|
-
"
|
|
3109
|
+
"hasDynamicHelp": false,
|
|
3110
|
+
"multiple": false,
|
|
3111
|
+
"type": "option"
|
|
3112
|
+
},
|
|
3113
|
+
"rbac": {
|
|
3114
|
+
"description": "Enable/disable RBAC",
|
|
3115
|
+
"name": "rbac",
|
|
3116
|
+
"required": false,
|
|
3117
|
+
"allowNo": true,
|
|
3118
|
+
"type": "boolean"
|
|
3119
|
+
},
|
|
3120
|
+
"tasks": {
|
|
3121
|
+
"description": "Enable/disable background tasks",
|
|
3122
|
+
"name": "tasks",
|
|
3123
|
+
"required": false,
|
|
3124
|
+
"allowNo": true,
|
|
3301
3125
|
"type": "boolean"
|
|
3302
3126
|
},
|
|
3303
3127
|
"workspace": {
|
|
@@ -3312,7 +3136,7 @@
|
|
|
3312
3136
|
},
|
|
3313
3137
|
"hasDynamicHelp": false,
|
|
3314
3138
|
"hiddenAliases": [],
|
|
3315
|
-
"id": "tenant:
|
|
3139
|
+
"id": "tenant:edit",
|
|
3316
3140
|
"pluginAlias": "@xano/cli",
|
|
3317
3141
|
"pluginName": "@xano/cli",
|
|
3318
3142
|
"pluginType": "core",
|
|
@@ -3323,27 +3147,23 @@
|
|
|
3323
3147
|
"dist",
|
|
3324
3148
|
"commands",
|
|
3325
3149
|
"tenant",
|
|
3326
|
-
"
|
|
3150
|
+
"edit",
|
|
3327
3151
|
"index.js"
|
|
3328
3152
|
]
|
|
3329
3153
|
},
|
|
3330
|
-
"tenant:
|
|
3154
|
+
"tenant:impersonate": {
|
|
3331
3155
|
"aliases": [],
|
|
3332
3156
|
"args": {
|
|
3333
|
-
"
|
|
3334
|
-
"description": "
|
|
3335
|
-
"name": "
|
|
3157
|
+
"tenant_name": {
|
|
3158
|
+
"description": "Tenant name to impersonate",
|
|
3159
|
+
"name": "tenant_name",
|
|
3336
3160
|
"required": true
|
|
3337
3161
|
}
|
|
3338
3162
|
},
|
|
3339
|
-
"description": "
|
|
3163
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3340
3164
|
"examples": [
|
|
3341
|
-
"$ xano tenant
|
|
3342
|
-
"$ xano tenant
|
|
3343
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3344
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3345
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3346
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3165
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3166
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3347
3167
|
],
|
|
3348
3168
|
"flags": {
|
|
3349
3169
|
"profile": {
|
|
@@ -3365,39 +3185,31 @@
|
|
|
3365
3185
|
"allowNo": false,
|
|
3366
3186
|
"type": "boolean"
|
|
3367
3187
|
},
|
|
3368
|
-
"
|
|
3369
|
-
"
|
|
3370
|
-
"
|
|
3371
|
-
"
|
|
3372
|
-
"allowNo": true,
|
|
3373
|
-
"type": "boolean"
|
|
3374
|
-
},
|
|
3375
|
-
"records": {
|
|
3376
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3377
|
-
"name": "records",
|
|
3188
|
+
"output": {
|
|
3189
|
+
"char": "o",
|
|
3190
|
+
"description": "Output format",
|
|
3191
|
+
"name": "output",
|
|
3378
3192
|
"required": false,
|
|
3379
|
-
"
|
|
3380
|
-
"type": "boolean"
|
|
3381
|
-
},
|
|
3382
|
-
"tenant": {
|
|
3383
|
-
"char": "t",
|
|
3384
|
-
"description": "Tenant name to push to",
|
|
3385
|
-
"name": "tenant",
|
|
3386
|
-
"required": true,
|
|
3193
|
+
"default": "summary",
|
|
3387
3194
|
"hasDynamicHelp": false,
|
|
3388
3195
|
"multiple": false,
|
|
3196
|
+
"options": [
|
|
3197
|
+
"summary",
|
|
3198
|
+
"json"
|
|
3199
|
+
],
|
|
3389
3200
|
"type": "option"
|
|
3390
3201
|
},
|
|
3391
|
-
"
|
|
3392
|
-
"
|
|
3393
|
-
"
|
|
3202
|
+
"url-only": {
|
|
3203
|
+
"char": "u",
|
|
3204
|
+
"description": "Print the URL without opening the browser",
|
|
3205
|
+
"name": "url-only",
|
|
3394
3206
|
"required": false,
|
|
3395
3207
|
"allowNo": false,
|
|
3396
3208
|
"type": "boolean"
|
|
3397
3209
|
},
|
|
3398
3210
|
"workspace": {
|
|
3399
3211
|
"char": "w",
|
|
3400
|
-
"description": "Workspace ID (
|
|
3212
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3401
3213
|
"name": "workspace",
|
|
3402
3214
|
"required": false,
|
|
3403
3215
|
"hasDynamicHelp": false,
|
|
@@ -3407,7 +3219,7 @@
|
|
|
3407
3219
|
},
|
|
3408
3220
|
"hasDynamicHelp": false,
|
|
3409
3221
|
"hiddenAliases": [],
|
|
3410
|
-
"id": "tenant:
|
|
3222
|
+
"id": "tenant:impersonate",
|
|
3411
3223
|
"pluginAlias": "@xano/cli",
|
|
3412
3224
|
"pluginName": "@xano/cli",
|
|
3413
3225
|
"pluginType": "core",
|
|
@@ -3418,23 +3230,17 @@
|
|
|
3418
3230
|
"dist",
|
|
3419
3231
|
"commands",
|
|
3420
3232
|
"tenant",
|
|
3421
|
-
"
|
|
3233
|
+
"impersonate",
|
|
3422
3234
|
"index.js"
|
|
3423
3235
|
]
|
|
3424
3236
|
},
|
|
3425
|
-
"
|
|
3237
|
+
"tenant:list": {
|
|
3426
3238
|
"aliases": [],
|
|
3427
|
-
"args": {
|
|
3428
|
-
|
|
3429
|
-
"description": "ID of the unit test to run",
|
|
3430
|
-
"name": "unit_test_id",
|
|
3431
|
-
"required": true
|
|
3432
|
-
}
|
|
3433
|
-
},
|
|
3434
|
-
"description": "Run a unit test",
|
|
3239
|
+
"args": {},
|
|
3240
|
+
"description": "List all tenants in a workspace",
|
|
3435
3241
|
"examples": [
|
|
3436
|
-
"$ xano
|
|
3437
|
-
"$ xano
|
|
3242
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3243
|
+
"$ xano tenant list -w 5 --output json"
|
|
3438
3244
|
],
|
|
3439
3245
|
"flags": {
|
|
3440
3246
|
"profile": {
|
|
@@ -3482,7 +3288,7 @@
|
|
|
3482
3288
|
},
|
|
3483
3289
|
"hasDynamicHelp": false,
|
|
3484
3290
|
"hiddenAliases": [],
|
|
3485
|
-
"id": "
|
|
3291
|
+
"id": "tenant:list",
|
|
3486
3292
|
"pluginAlias": "@xano/cli",
|
|
3487
3293
|
"pluginName": "@xano/cli",
|
|
3488
3294
|
"pluginType": "core",
|
|
@@ -3492,18 +3298,26 @@
|
|
|
3492
3298
|
"relativePath": [
|
|
3493
3299
|
"dist",
|
|
3494
3300
|
"commands",
|
|
3495
|
-
"
|
|
3496
|
-
"
|
|
3301
|
+
"tenant",
|
|
3302
|
+
"list",
|
|
3497
3303
|
"index.js"
|
|
3498
3304
|
]
|
|
3499
3305
|
},
|
|
3500
|
-
"
|
|
3306
|
+
"tenant:pull": {
|
|
3501
3307
|
"aliases": [],
|
|
3502
|
-
"args": {
|
|
3503
|
-
|
|
3308
|
+
"args": {
|
|
3309
|
+
"directory": {
|
|
3310
|
+
"description": "Output directory for pulled documents",
|
|
3311
|
+
"name": "directory",
|
|
3312
|
+
"required": true
|
|
3313
|
+
}
|
|
3314
|
+
},
|
|
3315
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3504
3316
|
"examples": [
|
|
3505
|
-
"$ xano
|
|
3506
|
-
"$ xano
|
|
3317
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3318
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3319
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3320
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3507
3321
|
],
|
|
3508
3322
|
"flags": {
|
|
3509
3323
|
"profile": {
|
|
@@ -3525,45 +3339,39 @@
|
|
|
3525
3339
|
"allowNo": false,
|
|
3526
3340
|
"type": "boolean"
|
|
3527
3341
|
},
|
|
3528
|
-
"
|
|
3529
|
-
"
|
|
3530
|
-
"
|
|
3531
|
-
"name": "branch",
|
|
3342
|
+
"draft": {
|
|
3343
|
+
"description": "Include draft versions",
|
|
3344
|
+
"name": "draft",
|
|
3532
3345
|
"required": false,
|
|
3533
|
-
"
|
|
3534
|
-
"
|
|
3535
|
-
"type": "option"
|
|
3346
|
+
"allowNo": false,
|
|
3347
|
+
"type": "boolean"
|
|
3536
3348
|
},
|
|
3537
|
-
"
|
|
3538
|
-
"description": "
|
|
3539
|
-
"name": "
|
|
3349
|
+
"env": {
|
|
3350
|
+
"description": "Include environment variables",
|
|
3351
|
+
"name": "env",
|
|
3540
3352
|
"required": false,
|
|
3541
|
-
"
|
|
3542
|
-
"
|
|
3543
|
-
"options": [
|
|
3544
|
-
"function",
|
|
3545
|
-
"query",
|
|
3546
|
-
"middleware"
|
|
3547
|
-
],
|
|
3548
|
-
"type": "option"
|
|
3353
|
+
"allowNo": false,
|
|
3354
|
+
"type": "boolean"
|
|
3549
3355
|
},
|
|
3550
|
-
"
|
|
3551
|
-
"
|
|
3552
|
-
"
|
|
3553
|
-
"name": "output",
|
|
3356
|
+
"records": {
|
|
3357
|
+
"description": "Include records",
|
|
3358
|
+
"name": "records",
|
|
3554
3359
|
"required": false,
|
|
3555
|
-
"
|
|
3360
|
+
"allowNo": false,
|
|
3361
|
+
"type": "boolean"
|
|
3362
|
+
},
|
|
3363
|
+
"tenant": {
|
|
3364
|
+
"char": "t",
|
|
3365
|
+
"description": "Tenant name to pull from",
|
|
3366
|
+
"name": "tenant",
|
|
3367
|
+
"required": true,
|
|
3556
3368
|
"hasDynamicHelp": false,
|
|
3557
3369
|
"multiple": false,
|
|
3558
|
-
"options": [
|
|
3559
|
-
"summary",
|
|
3560
|
-
"json"
|
|
3561
|
-
],
|
|
3562
3370
|
"type": "option"
|
|
3563
3371
|
},
|
|
3564
3372
|
"workspace": {
|
|
3565
3373
|
"char": "w",
|
|
3566
|
-
"description": "Workspace ID (
|
|
3374
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3567
3375
|
"name": "workspace",
|
|
3568
3376
|
"required": false,
|
|
3569
3377
|
"hasDynamicHelp": false,
|
|
@@ -3573,7 +3381,7 @@
|
|
|
3573
3381
|
},
|
|
3574
3382
|
"hasDynamicHelp": false,
|
|
3575
3383
|
"hiddenAliases": [],
|
|
3576
|
-
"id": "
|
|
3384
|
+
"id": "tenant:pull",
|
|
3577
3385
|
"pluginAlias": "@xano/cli",
|
|
3578
3386
|
"pluginName": "@xano/cli",
|
|
3579
3387
|
"pluginType": "core",
|
|
@@ -3583,25 +3391,28 @@
|
|
|
3583
3391
|
"relativePath": [
|
|
3584
3392
|
"dist",
|
|
3585
3393
|
"commands",
|
|
3586
|
-
"
|
|
3587
|
-
"
|
|
3394
|
+
"tenant",
|
|
3395
|
+
"pull",
|
|
3588
3396
|
"index.js"
|
|
3589
3397
|
]
|
|
3590
3398
|
},
|
|
3591
|
-
"
|
|
3399
|
+
"tenant:push": {
|
|
3592
3400
|
"aliases": [],
|
|
3593
3401
|
"args": {
|
|
3594
|
-
"
|
|
3595
|
-
"description": "
|
|
3596
|
-
"name": "
|
|
3402
|
+
"directory": {
|
|
3403
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3404
|
+
"name": "directory",
|
|
3597
3405
|
"required": true
|
|
3598
3406
|
}
|
|
3599
3407
|
},
|
|
3600
|
-
"description": "
|
|
3408
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3601
3409
|
"examples": [
|
|
3602
|
-
"$ xano workspace
|
|
3603
|
-
"$ xano
|
|
3604
|
-
"$ xano
|
|
3410
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3411
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3412
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3413
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3414
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3415
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3605
3416
|
],
|
|
3606
3417
|
"flags": {
|
|
3607
3418
|
"profile": {
|
|
@@ -3623,33 +3434,49 @@
|
|
|
3623
3434
|
"allowNo": false,
|
|
3624
3435
|
"type": "boolean"
|
|
3625
3436
|
},
|
|
3626
|
-
"
|
|
3627
|
-
"
|
|
3628
|
-
"
|
|
3629
|
-
"name": "description",
|
|
3437
|
+
"env": {
|
|
3438
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3439
|
+
"name": "env",
|
|
3630
3440
|
"required": false,
|
|
3441
|
+
"allowNo": true,
|
|
3442
|
+
"type": "boolean"
|
|
3443
|
+
},
|
|
3444
|
+
"records": {
|
|
3445
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3446
|
+
"name": "records",
|
|
3447
|
+
"required": false,
|
|
3448
|
+
"allowNo": true,
|
|
3449
|
+
"type": "boolean"
|
|
3450
|
+
},
|
|
3451
|
+
"tenant": {
|
|
3452
|
+
"char": "t",
|
|
3453
|
+
"description": "Tenant name to push to",
|
|
3454
|
+
"name": "tenant",
|
|
3455
|
+
"required": true,
|
|
3631
3456
|
"hasDynamicHelp": false,
|
|
3632
3457
|
"multiple": false,
|
|
3633
3458
|
"type": "option"
|
|
3634
3459
|
},
|
|
3635
|
-
"
|
|
3636
|
-
"
|
|
3637
|
-
"
|
|
3638
|
-
"
|
|
3460
|
+
"truncate": {
|
|
3461
|
+
"description": "Truncate all table records before importing",
|
|
3462
|
+
"name": "truncate",
|
|
3463
|
+
"required": false,
|
|
3464
|
+
"allowNo": false,
|
|
3465
|
+
"type": "boolean"
|
|
3466
|
+
},
|
|
3467
|
+
"workspace": {
|
|
3468
|
+
"char": "w",
|
|
3469
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3470
|
+
"name": "workspace",
|
|
3639
3471
|
"required": false,
|
|
3640
|
-
"default": "summary",
|
|
3641
3472
|
"hasDynamicHelp": false,
|
|
3642
3473
|
"multiple": false,
|
|
3643
|
-
"options": [
|
|
3644
|
-
"summary",
|
|
3645
|
-
"json"
|
|
3646
|
-
],
|
|
3647
3474
|
"type": "option"
|
|
3648
3475
|
}
|
|
3649
3476
|
},
|
|
3650
3477
|
"hasDynamicHelp": false,
|
|
3651
3478
|
"hiddenAliases": [],
|
|
3652
|
-
"id": "
|
|
3479
|
+
"id": "tenant:push",
|
|
3653
3480
|
"pluginAlias": "@xano/cli",
|
|
3654
3481
|
"pluginName": "@xano/cli",
|
|
3655
3482
|
"pluginType": "core",
|
|
@@ -3659,8 +3486,8 @@
|
|
|
3659
3486
|
"relativePath": [
|
|
3660
3487
|
"dist",
|
|
3661
3488
|
"commands",
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3489
|
+
"tenant",
|
|
3490
|
+
"push",
|
|
3664
3491
|
"index.js"
|
|
3665
3492
|
]
|
|
3666
3493
|
},
|
|
@@ -3756,13 +3583,19 @@
|
|
|
3756
3583
|
"index.js"
|
|
3757
3584
|
]
|
|
3758
3585
|
},
|
|
3759
|
-
"
|
|
3586
|
+
"unit_test:run": {
|
|
3760
3587
|
"aliases": [],
|
|
3761
|
-
"args": {
|
|
3762
|
-
|
|
3588
|
+
"args": {
|
|
3589
|
+
"unit_test_id": {
|
|
3590
|
+
"description": "ID of the unit test to run",
|
|
3591
|
+
"name": "unit_test_id",
|
|
3592
|
+
"required": true
|
|
3593
|
+
}
|
|
3594
|
+
},
|
|
3595
|
+
"description": "Run a unit test",
|
|
3763
3596
|
"examples": [
|
|
3764
|
-
"$ xano
|
|
3765
|
-
"$ xano
|
|
3597
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3598
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3766
3599
|
],
|
|
3767
3600
|
"flags": {
|
|
3768
3601
|
"profile": {
|
|
@@ -3810,7 +3643,7 @@
|
|
|
3810
3643
|
},
|
|
3811
3644
|
"hasDynamicHelp": false,
|
|
3812
3645
|
"hiddenAliases": [],
|
|
3813
|
-
"id": "
|
|
3646
|
+
"id": "unit_test:run",
|
|
3814
3647
|
"pluginAlias": "@xano/cli",
|
|
3815
3648
|
"pluginName": "@xano/cli",
|
|
3816
3649
|
"pluginType": "core",
|
|
@@ -3820,26 +3653,18 @@
|
|
|
3820
3653
|
"relativePath": [
|
|
3821
3654
|
"dist",
|
|
3822
3655
|
"commands",
|
|
3823
|
-
"
|
|
3824
|
-
"
|
|
3656
|
+
"unit_test",
|
|
3657
|
+
"run",
|
|
3825
3658
|
"index.js"
|
|
3826
3659
|
]
|
|
3827
3660
|
},
|
|
3828
|
-
"
|
|
3661
|
+
"unit_test:run_all": {
|
|
3829
3662
|
"aliases": [],
|
|
3830
|
-
"args": {
|
|
3831
|
-
|
|
3832
|
-
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3833
|
-
"name": "workspace_id",
|
|
3834
|
-
"required": false
|
|
3835
|
-
}
|
|
3836
|
-
},
|
|
3837
|
-
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
3663
|
+
"args": {},
|
|
3664
|
+
"description": "Run all unit tests in a workspace",
|
|
3838
3665
|
"examples": [
|
|
3839
|
-
"$ xano
|
|
3840
|
-
"$ xano
|
|
3841
|
-
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
3842
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
3666
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
3667
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3843
3668
|
],
|
|
3844
3669
|
"flags": {
|
|
3845
3670
|
"profile": {
|
|
@@ -3861,22 +3686,26 @@
|
|
|
3861
3686
|
"allowNo": false,
|
|
3862
3687
|
"type": "boolean"
|
|
3863
3688
|
},
|
|
3864
|
-
"
|
|
3865
|
-
"char": "
|
|
3866
|
-
"description": "
|
|
3867
|
-
"name": "
|
|
3689
|
+
"branch": {
|
|
3690
|
+
"char": "b",
|
|
3691
|
+
"description": "Filter by branch name",
|
|
3692
|
+
"name": "branch",
|
|
3868
3693
|
"required": false,
|
|
3869
3694
|
"hasDynamicHelp": false,
|
|
3870
3695
|
"multiple": false,
|
|
3871
3696
|
"type": "option"
|
|
3872
3697
|
},
|
|
3873
|
-
"
|
|
3874
|
-
"
|
|
3875
|
-
"
|
|
3876
|
-
"name": "name",
|
|
3698
|
+
"obj-type": {
|
|
3699
|
+
"description": "Filter by object type",
|
|
3700
|
+
"name": "obj-type",
|
|
3877
3701
|
"required": false,
|
|
3878
3702
|
"hasDynamicHelp": false,
|
|
3879
3703
|
"multiple": false,
|
|
3704
|
+
"options": [
|
|
3705
|
+
"function",
|
|
3706
|
+
"query",
|
|
3707
|
+
"middleware"
|
|
3708
|
+
],
|
|
3880
3709
|
"type": "option"
|
|
3881
3710
|
},
|
|
3882
3711
|
"output": {
|
|
@@ -3893,24 +3722,19 @@
|
|
|
3893
3722
|
],
|
|
3894
3723
|
"type": "option"
|
|
3895
3724
|
},
|
|
3896
|
-
"
|
|
3897
|
-
"
|
|
3898
|
-
"
|
|
3899
|
-
"
|
|
3900
|
-
"allowNo": true,
|
|
3901
|
-
"type": "boolean"
|
|
3902
|
-
},
|
|
3903
|
-
"swagger": {
|
|
3904
|
-
"description": "Enable or disable swagger documentation",
|
|
3905
|
-
"name": "swagger",
|
|
3725
|
+
"workspace": {
|
|
3726
|
+
"char": "w",
|
|
3727
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3728
|
+
"name": "workspace",
|
|
3906
3729
|
"required": false,
|
|
3907
|
-
"
|
|
3908
|
-
"
|
|
3730
|
+
"hasDynamicHelp": false,
|
|
3731
|
+
"multiple": false,
|
|
3732
|
+
"type": "option"
|
|
3909
3733
|
}
|
|
3910
3734
|
},
|
|
3911
3735
|
"hasDynamicHelp": false,
|
|
3912
3736
|
"hiddenAliases": [],
|
|
3913
|
-
"id": "
|
|
3737
|
+
"id": "unit_test:run_all",
|
|
3914
3738
|
"pluginAlias": "@xano/cli",
|
|
3915
3739
|
"pluginName": "@xano/cli",
|
|
3916
3740
|
"pluginType": "core",
|
|
@@ -3920,25 +3744,24 @@
|
|
|
3920
3744
|
"relativePath": [
|
|
3921
3745
|
"dist",
|
|
3922
3746
|
"commands",
|
|
3923
|
-
"
|
|
3924
|
-
"
|
|
3747
|
+
"unit_test",
|
|
3748
|
+
"run_all",
|
|
3925
3749
|
"index.js"
|
|
3926
3750
|
]
|
|
3927
3751
|
},
|
|
3928
|
-
"
|
|
3752
|
+
"workflow_test:delete": {
|
|
3929
3753
|
"aliases": [],
|
|
3930
3754
|
"args": {
|
|
3931
|
-
"
|
|
3932
|
-
"description": "
|
|
3933
|
-
"name": "
|
|
3755
|
+
"workflow_test_id": {
|
|
3756
|
+
"description": "ID of the workflow test to delete",
|
|
3757
|
+
"name": "workflow_test_id",
|
|
3934
3758
|
"required": true
|
|
3935
3759
|
}
|
|
3936
3760
|
},
|
|
3937
|
-
"description": "Delete a
|
|
3761
|
+
"description": "Delete a workflow test",
|
|
3938
3762
|
"examples": [
|
|
3939
|
-
"$ xano
|
|
3940
|
-
"$ xano
|
|
3941
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3763
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3764
|
+
"$ xano workflow-test delete 1 --force"
|
|
3942
3765
|
],
|
|
3943
3766
|
"flags": {
|
|
3944
3767
|
"profile": {
|
|
@@ -3981,11 +3804,20 @@
|
|
|
3981
3804
|
"json"
|
|
3982
3805
|
],
|
|
3983
3806
|
"type": "option"
|
|
3807
|
+
},
|
|
3808
|
+
"workspace": {
|
|
3809
|
+
"char": "w",
|
|
3810
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3811
|
+
"name": "workspace",
|
|
3812
|
+
"required": false,
|
|
3813
|
+
"hasDynamicHelp": false,
|
|
3814
|
+
"multiple": false,
|
|
3815
|
+
"type": "option"
|
|
3984
3816
|
}
|
|
3985
3817
|
},
|
|
3986
3818
|
"hasDynamicHelp": false,
|
|
3987
3819
|
"hiddenAliases": [],
|
|
3988
|
-
"id": "
|
|
3820
|
+
"id": "workflow_test:delete",
|
|
3989
3821
|
"pluginAlias": "@xano/cli",
|
|
3990
3822
|
"pluginName": "@xano/cli",
|
|
3991
3823
|
"pluginType": "core",
|
|
@@ -3995,25 +3827,25 @@
|
|
|
3995
3827
|
"relativePath": [
|
|
3996
3828
|
"dist",
|
|
3997
3829
|
"commands",
|
|
3998
|
-
"
|
|
3830
|
+
"workflow_test",
|
|
3999
3831
|
"delete",
|
|
4000
3832
|
"index.js"
|
|
4001
3833
|
]
|
|
4002
3834
|
},
|
|
4003
|
-
"
|
|
3835
|
+
"workflow_test:get": {
|
|
4004
3836
|
"aliases": [],
|
|
4005
3837
|
"args": {
|
|
4006
|
-
"
|
|
4007
|
-
"description": "
|
|
4008
|
-
"name": "
|
|
4009
|
-
"required":
|
|
3838
|
+
"workflow_test_id": {
|
|
3839
|
+
"description": "ID of the workflow test",
|
|
3840
|
+
"name": "workflow_test_id",
|
|
3841
|
+
"required": true
|
|
4010
3842
|
}
|
|
4011
3843
|
},
|
|
4012
|
-
"description": "Get
|
|
3844
|
+
"description": "Get a specific workflow test",
|
|
4013
3845
|
"examples": [
|
|
4014
|
-
"$ xano
|
|
4015
|
-
"$ xano
|
|
4016
|
-
"$ xano
|
|
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"
|
|
4017
3849
|
],
|
|
4018
3850
|
"flags": {
|
|
4019
3851
|
"profile": {
|
|
@@ -4035,6 +3867,13 @@
|
|
|
4035
3867
|
"allowNo": false,
|
|
4036
3868
|
"type": "boolean"
|
|
4037
3869
|
},
|
|
3870
|
+
"include-draft": {
|
|
3871
|
+
"description": "Include draft version",
|
|
3872
|
+
"name": "include-draft",
|
|
3873
|
+
"required": false,
|
|
3874
|
+
"allowNo": false,
|
|
3875
|
+
"type": "boolean"
|
|
3876
|
+
},
|
|
4038
3877
|
"output": {
|
|
4039
3878
|
"char": "o",
|
|
4040
3879
|
"description": "Output format",
|
|
@@ -4045,14 +3884,24 @@
|
|
|
4045
3884
|
"multiple": false,
|
|
4046
3885
|
"options": [
|
|
4047
3886
|
"summary",
|
|
4048
|
-
"json"
|
|
3887
|
+
"json",
|
|
3888
|
+
"xs"
|
|
4049
3889
|
],
|
|
4050
3890
|
"type": "option"
|
|
3891
|
+
},
|
|
3892
|
+
"workspace": {
|
|
3893
|
+
"char": "w",
|
|
3894
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3895
|
+
"name": "workspace",
|
|
3896
|
+
"required": false,
|
|
3897
|
+
"hasDynamicHelp": false,
|
|
3898
|
+
"multiple": false,
|
|
3899
|
+
"type": "option"
|
|
4051
3900
|
}
|
|
4052
3901
|
},
|
|
4053
3902
|
"hasDynamicHelp": false,
|
|
4054
3903
|
"hiddenAliases": [],
|
|
4055
|
-
"id": "
|
|
3904
|
+
"id": "workflow_test:get",
|
|
4056
3905
|
"pluginAlias": "@xano/cli",
|
|
4057
3906
|
"pluginName": "@xano/cli",
|
|
4058
3907
|
"pluginType": "core",
|
|
@@ -4062,24 +3911,19 @@
|
|
|
4062
3911
|
"relativePath": [
|
|
4063
3912
|
"dist",
|
|
4064
3913
|
"commands",
|
|
4065
|
-
"
|
|
3914
|
+
"workflow_test",
|
|
4066
3915
|
"get",
|
|
4067
3916
|
"index.js"
|
|
4068
3917
|
]
|
|
4069
3918
|
},
|
|
4070
|
-
"workflow_test:
|
|
3919
|
+
"workflow_test:list": {
|
|
4071
3920
|
"aliases": [],
|
|
4072
|
-
"args": {
|
|
4073
|
-
|
|
4074
|
-
"description": "ID of the workflow test to delete",
|
|
4075
|
-
"name": "workflow_test_id",
|
|
4076
|
-
"required": true
|
|
4077
|
-
}
|
|
4078
|
-
},
|
|
4079
|
-
"description": "Delete a workflow test",
|
|
3921
|
+
"args": {},
|
|
3922
|
+
"description": "List all workflow tests in a workspace",
|
|
4080
3923
|
"examples": [
|
|
4081
|
-
"$ xano workflow-test
|
|
4082
|
-
"$ xano workflow-test
|
|
3924
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3925
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3926
|
+
"$ xano workflow-test list --branch main"
|
|
4083
3927
|
],
|
|
4084
3928
|
"flags": {
|
|
4085
3929
|
"profile": {
|
|
@@ -4101,13 +3945,14 @@
|
|
|
4101
3945
|
"allowNo": false,
|
|
4102
3946
|
"type": "boolean"
|
|
4103
3947
|
},
|
|
4104
|
-
"
|
|
4105
|
-
"char": "
|
|
4106
|
-
"description": "
|
|
4107
|
-
"name": "
|
|
3948
|
+
"branch": {
|
|
3949
|
+
"char": "b",
|
|
3950
|
+
"description": "Filter by branch name",
|
|
3951
|
+
"name": "branch",
|
|
4108
3952
|
"required": false,
|
|
4109
|
-
"
|
|
4110
|
-
"
|
|
3953
|
+
"hasDynamicHelp": false,
|
|
3954
|
+
"multiple": false,
|
|
3955
|
+
"type": "option"
|
|
4111
3956
|
},
|
|
4112
3957
|
"output": {
|
|
4113
3958
|
"char": "o",
|
|
@@ -4135,7 +3980,7 @@
|
|
|
4135
3980
|
},
|
|
4136
3981
|
"hasDynamicHelp": false,
|
|
4137
3982
|
"hiddenAliases": [],
|
|
4138
|
-
"id": "workflow_test:
|
|
3983
|
+
"id": "workflow_test:list",
|
|
4139
3984
|
"pluginAlias": "@xano/cli",
|
|
4140
3985
|
"pluginName": "@xano/cli",
|
|
4141
3986
|
"pluginType": "core",
|
|
@@ -4146,24 +3991,23 @@
|
|
|
4146
3991
|
"dist",
|
|
4147
3992
|
"commands",
|
|
4148
3993
|
"workflow_test",
|
|
4149
|
-
"
|
|
3994
|
+
"list",
|
|
4150
3995
|
"index.js"
|
|
4151
3996
|
]
|
|
4152
3997
|
},
|
|
4153
|
-
"workflow_test:
|
|
3998
|
+
"workflow_test:run": {
|
|
4154
3999
|
"aliases": [],
|
|
4155
4000
|
"args": {
|
|
4156
4001
|
"workflow_test_id": {
|
|
4157
|
-
"description": "ID of the workflow test",
|
|
4002
|
+
"description": "ID of the workflow test to run",
|
|
4158
4003
|
"name": "workflow_test_id",
|
|
4159
4004
|
"required": true
|
|
4160
4005
|
}
|
|
4161
4006
|
},
|
|
4162
|
-
"description": "
|
|
4007
|
+
"description": "Run a workflow test",
|
|
4163
4008
|
"examples": [
|
|
4164
|
-
"$ xano workflow-test
|
|
4165
|
-
"$ xano workflow-test
|
|
4166
|
-
"$ xano workflow-test get 1 -o json"
|
|
4009
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4010
|
+
"$ xano workflow-test run 1 -o json"
|
|
4167
4011
|
],
|
|
4168
4012
|
"flags": {
|
|
4169
4013
|
"profile": {
|
|
@@ -4185,13 +4029,6 @@
|
|
|
4185
4029
|
"allowNo": false,
|
|
4186
4030
|
"type": "boolean"
|
|
4187
4031
|
},
|
|
4188
|
-
"include-draft": {
|
|
4189
|
-
"description": "Include draft version",
|
|
4190
|
-
"name": "include-draft",
|
|
4191
|
-
"required": false,
|
|
4192
|
-
"allowNo": false,
|
|
4193
|
-
"type": "boolean"
|
|
4194
|
-
},
|
|
4195
4032
|
"output": {
|
|
4196
4033
|
"char": "o",
|
|
4197
4034
|
"description": "Output format",
|
|
@@ -4202,8 +4039,7 @@
|
|
|
4202
4039
|
"multiple": false,
|
|
4203
4040
|
"options": [
|
|
4204
4041
|
"summary",
|
|
4205
|
-
"json"
|
|
4206
|
-
"xs"
|
|
4042
|
+
"json"
|
|
4207
4043
|
],
|
|
4208
4044
|
"type": "option"
|
|
4209
4045
|
},
|
|
@@ -4219,7 +4055,7 @@
|
|
|
4219
4055
|
},
|
|
4220
4056
|
"hasDynamicHelp": false,
|
|
4221
4057
|
"hiddenAliases": [],
|
|
4222
|
-
"id": "workflow_test:
|
|
4058
|
+
"id": "workflow_test:run",
|
|
4223
4059
|
"pluginAlias": "@xano/cli",
|
|
4224
4060
|
"pluginName": "@xano/cli",
|
|
4225
4061
|
"pluginType": "core",
|
|
@@ -4230,18 +4066,17 @@
|
|
|
4230
4066
|
"dist",
|
|
4231
4067
|
"commands",
|
|
4232
4068
|
"workflow_test",
|
|
4233
|
-
"
|
|
4069
|
+
"run",
|
|
4234
4070
|
"index.js"
|
|
4235
4071
|
]
|
|
4236
4072
|
},
|
|
4237
|
-
"workflow_test:
|
|
4073
|
+
"workflow_test:run_all": {
|
|
4238
4074
|
"aliases": [],
|
|
4239
4075
|
"args": {},
|
|
4240
|
-
"description": "
|
|
4076
|
+
"description": "Run all workflow tests in a workspace",
|
|
4241
4077
|
"examples": [
|
|
4242
|
-
"$ xano workflow-test
|
|
4243
|
-
"$ xano workflow-test
|
|
4244
|
-
"$ xano workflow-test list --branch main"
|
|
4078
|
+
"$ 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",
|
|
4079
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4245
4080
|
],
|
|
4246
4081
|
"flags": {
|
|
4247
4082
|
"profile": {
|
|
@@ -4298,7 +4133,7 @@
|
|
|
4298
4133
|
},
|
|
4299
4134
|
"hasDynamicHelp": false,
|
|
4300
4135
|
"hiddenAliases": [],
|
|
4301
|
-
"id": "workflow_test:
|
|
4136
|
+
"id": "workflow_test:run_all",
|
|
4302
4137
|
"pluginAlias": "@xano/cli",
|
|
4303
4138
|
"pluginName": "@xano/cli",
|
|
4304
4139
|
"pluginType": "core",
|
|
@@ -4309,23 +4144,24 @@
|
|
|
4309
4144
|
"dist",
|
|
4310
4145
|
"commands",
|
|
4311
4146
|
"workflow_test",
|
|
4312
|
-
"
|
|
4147
|
+
"run_all",
|
|
4313
4148
|
"index.js"
|
|
4314
4149
|
]
|
|
4315
4150
|
},
|
|
4316
|
-
"
|
|
4151
|
+
"workspace:create": {
|
|
4317
4152
|
"aliases": [],
|
|
4318
4153
|
"args": {
|
|
4319
|
-
"
|
|
4320
|
-
"description": "
|
|
4321
|
-
"name": "
|
|
4154
|
+
"name": {
|
|
4155
|
+
"description": "Name of the workspace",
|
|
4156
|
+
"name": "name",
|
|
4322
4157
|
"required": true
|
|
4323
4158
|
}
|
|
4324
4159
|
},
|
|
4325
|
-
"description": "
|
|
4160
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4326
4161
|
"examples": [
|
|
4327
|
-
"$ xano
|
|
4328
|
-
"$ xano
|
|
4162
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4163
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4164
|
+
"$ 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"
|
|
4329
4165
|
],
|
|
4330
4166
|
"flags": {
|
|
4331
4167
|
"profile": {
|
|
@@ -4347,6 +4183,15 @@
|
|
|
4347
4183
|
"allowNo": false,
|
|
4348
4184
|
"type": "boolean"
|
|
4349
4185
|
},
|
|
4186
|
+
"description": {
|
|
4187
|
+
"char": "d",
|
|
4188
|
+
"description": "Description for the workspace",
|
|
4189
|
+
"name": "description",
|
|
4190
|
+
"required": false,
|
|
4191
|
+
"hasDynamicHelp": false,
|
|
4192
|
+
"multiple": false,
|
|
4193
|
+
"type": "option"
|
|
4194
|
+
},
|
|
4350
4195
|
"output": {
|
|
4351
4196
|
"char": "o",
|
|
4352
4197
|
"description": "Output format",
|
|
@@ -4360,20 +4205,11 @@
|
|
|
4360
4205
|
"json"
|
|
4361
4206
|
],
|
|
4362
4207
|
"type": "option"
|
|
4363
|
-
},
|
|
4364
|
-
"workspace": {
|
|
4365
|
-
"char": "w",
|
|
4366
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4367
|
-
"name": "workspace",
|
|
4368
|
-
"required": false,
|
|
4369
|
-
"hasDynamicHelp": false,
|
|
4370
|
-
"multiple": false,
|
|
4371
|
-
"type": "option"
|
|
4372
4208
|
}
|
|
4373
4209
|
},
|
|
4374
4210
|
"hasDynamicHelp": false,
|
|
4375
4211
|
"hiddenAliases": [],
|
|
4376
|
-
"id": "
|
|
4212
|
+
"id": "workspace:create",
|
|
4377
4213
|
"pluginAlias": "@xano/cli",
|
|
4378
4214
|
"pluginName": "@xano/cli",
|
|
4379
4215
|
"pluginType": "core",
|
|
@@ -4383,20 +4219,25 @@
|
|
|
4383
4219
|
"relativePath": [
|
|
4384
4220
|
"dist",
|
|
4385
4221
|
"commands",
|
|
4386
|
-
"
|
|
4387
|
-
"
|
|
4222
|
+
"workspace",
|
|
4223
|
+
"create",
|
|
4388
4224
|
"index.js"
|
|
4389
4225
|
]
|
|
4390
4226
|
},
|
|
4391
|
-
"workspace:
|
|
4227
|
+
"workspace:delete": {
|
|
4392
4228
|
"aliases": [],
|
|
4393
|
-
"args": {
|
|
4394
|
-
|
|
4229
|
+
"args": {
|
|
4230
|
+
"workspace_id": {
|
|
4231
|
+
"description": "Workspace ID to delete",
|
|
4232
|
+
"name": "workspace_id",
|
|
4233
|
+
"required": true
|
|
4234
|
+
}
|
|
4235
|
+
},
|
|
4236
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4395
4237
|
"examples": [
|
|
4396
|
-
"$ xano workspace
|
|
4397
|
-
"$ xano workspace
|
|
4398
|
-
"$ xano workspace
|
|
4399
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4238
|
+
"$ 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",
|
|
4239
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4240
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4400
4241
|
],
|
|
4401
4242
|
"flags": {
|
|
4402
4243
|
"profile": {
|
|
@@ -4418,6 +4259,14 @@
|
|
|
4418
4259
|
"allowNo": false,
|
|
4419
4260
|
"type": "boolean"
|
|
4420
4261
|
},
|
|
4262
|
+
"force": {
|
|
4263
|
+
"char": "f",
|
|
4264
|
+
"description": "Skip confirmation prompt",
|
|
4265
|
+
"name": "force",
|
|
4266
|
+
"required": false,
|
|
4267
|
+
"allowNo": false,
|
|
4268
|
+
"type": "boolean"
|
|
4269
|
+
},
|
|
4421
4270
|
"output": {
|
|
4422
4271
|
"char": "o",
|
|
4423
4272
|
"description": "Output format",
|
|
@@ -4435,7 +4284,7 @@
|
|
|
4435
4284
|
},
|
|
4436
4285
|
"hasDynamicHelp": false,
|
|
4437
4286
|
"hiddenAliases": [],
|
|
4438
|
-
"id": "workspace:
|
|
4287
|
+
"id": "workspace:delete",
|
|
4439
4288
|
"pluginAlias": "@xano/cli",
|
|
4440
4289
|
"pluginName": "@xano/cli",
|
|
4441
4290
|
"pluginType": "core",
|
|
@@ -4446,26 +4295,25 @@
|
|
|
4446
4295
|
"dist",
|
|
4447
4296
|
"commands",
|
|
4448
4297
|
"workspace",
|
|
4449
|
-
"
|
|
4298
|
+
"delete",
|
|
4450
4299
|
"index.js"
|
|
4451
4300
|
]
|
|
4452
4301
|
},
|
|
4453
|
-
"workspace:
|
|
4302
|
+
"workspace:edit": {
|
|
4454
4303
|
"aliases": [],
|
|
4455
4304
|
"args": {
|
|
4456
|
-
"
|
|
4457
|
-
"description": "
|
|
4458
|
-
"name": "
|
|
4459
|
-
"required":
|
|
4305
|
+
"workspace_id": {
|
|
4306
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4307
|
+
"name": "workspace_id",
|
|
4308
|
+
"required": false
|
|
4460
4309
|
}
|
|
4461
4310
|
},
|
|
4462
|
-
"description": "
|
|
4311
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4463
4312
|
"examples": [
|
|
4464
|
-
"$ xano workspace
|
|
4465
|
-
"$ xano workspace
|
|
4466
|
-
"$ xano workspace
|
|
4467
|
-
"$ xano workspace
|
|
4468
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4313
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4314
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4315
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4316
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4469
4317
|
],
|
|
4470
4318
|
"flags": {
|
|
4471
4319
|
"profile": {
|
|
@@ -4487,49 +4335,123 @@
|
|
|
4487
4335
|
"allowNo": false,
|
|
4488
4336
|
"type": "boolean"
|
|
4489
4337
|
},
|
|
4490
|
-
"
|
|
4491
|
-
"char": "
|
|
4492
|
-
"description": "
|
|
4493
|
-
"name": "
|
|
4338
|
+
"description": {
|
|
4339
|
+
"char": "d",
|
|
4340
|
+
"description": "New description for the workspace",
|
|
4341
|
+
"name": "description",
|
|
4494
4342
|
"required": false,
|
|
4495
4343
|
"hasDynamicHelp": false,
|
|
4496
4344
|
"multiple": false,
|
|
4497
4345
|
"type": "option"
|
|
4498
4346
|
},
|
|
4499
|
-
"
|
|
4500
|
-
"
|
|
4501
|
-
"
|
|
4347
|
+
"name": {
|
|
4348
|
+
"char": "n",
|
|
4349
|
+
"description": "New name for the workspace",
|
|
4350
|
+
"name": "name",
|
|
4502
4351
|
"required": false,
|
|
4503
|
-
"
|
|
4504
|
-
"
|
|
4352
|
+
"hasDynamicHelp": false,
|
|
4353
|
+
"multiple": false,
|
|
4354
|
+
"type": "option"
|
|
4505
4355
|
},
|
|
4506
|
-
"
|
|
4507
|
-
"
|
|
4508
|
-
"
|
|
4356
|
+
"output": {
|
|
4357
|
+
"char": "o",
|
|
4358
|
+
"description": "Output format",
|
|
4359
|
+
"name": "output",
|
|
4509
4360
|
"required": false,
|
|
4510
|
-
"
|
|
4511
|
-
"
|
|
4361
|
+
"default": "summary",
|
|
4362
|
+
"hasDynamicHelp": false,
|
|
4363
|
+
"multiple": false,
|
|
4364
|
+
"options": [
|
|
4365
|
+
"summary",
|
|
4366
|
+
"json"
|
|
4367
|
+
],
|
|
4368
|
+
"type": "option"
|
|
4512
4369
|
},
|
|
4513
|
-
"
|
|
4514
|
-
"description": "
|
|
4515
|
-
"name": "
|
|
4370
|
+
"require-token": {
|
|
4371
|
+
"description": "Whether to require a token for documentation access",
|
|
4372
|
+
"name": "require-token",
|
|
4516
4373
|
"required": false,
|
|
4517
|
-
"allowNo":
|
|
4374
|
+
"allowNo": true,
|
|
4518
4375
|
"type": "boolean"
|
|
4519
4376
|
},
|
|
4520
|
-
"
|
|
4521
|
-
"
|
|
4522
|
-
"
|
|
4523
|
-
"
|
|
4524
|
-
"
|
|
4377
|
+
"swagger": {
|
|
4378
|
+
"description": "Enable or disable swagger documentation",
|
|
4379
|
+
"name": "swagger",
|
|
4380
|
+
"required": false,
|
|
4381
|
+
"allowNo": true,
|
|
4382
|
+
"type": "boolean"
|
|
4383
|
+
}
|
|
4384
|
+
},
|
|
4385
|
+
"hasDynamicHelp": false,
|
|
4386
|
+
"hiddenAliases": [],
|
|
4387
|
+
"id": "workspace:edit",
|
|
4388
|
+
"pluginAlias": "@xano/cli",
|
|
4389
|
+
"pluginName": "@xano/cli",
|
|
4390
|
+
"pluginType": "core",
|
|
4391
|
+
"strict": true,
|
|
4392
|
+
"enableJsonFlag": false,
|
|
4393
|
+
"isESM": true,
|
|
4394
|
+
"relativePath": [
|
|
4395
|
+
"dist",
|
|
4396
|
+
"commands",
|
|
4397
|
+
"workspace",
|
|
4398
|
+
"edit",
|
|
4399
|
+
"index.js"
|
|
4400
|
+
]
|
|
4401
|
+
},
|
|
4402
|
+
"workspace:get": {
|
|
4403
|
+
"aliases": [],
|
|
4404
|
+
"args": {
|
|
4405
|
+
"workspace_id": {
|
|
4406
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4407
|
+
"name": "workspace_id",
|
|
4408
|
+
"required": false
|
|
4409
|
+
}
|
|
4410
|
+
},
|
|
4411
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4412
|
+
"examples": [
|
|
4413
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4414
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4415
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4416
|
+
],
|
|
4417
|
+
"flags": {
|
|
4418
|
+
"profile": {
|
|
4419
|
+
"char": "p",
|
|
4420
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4421
|
+
"env": "XANO_PROFILE",
|
|
4422
|
+
"name": "profile",
|
|
4423
|
+
"required": false,
|
|
4424
|
+
"hasDynamicHelp": false,
|
|
4425
|
+
"multiple": false,
|
|
4426
|
+
"type": "option"
|
|
4427
|
+
},
|
|
4428
|
+
"verbose": {
|
|
4429
|
+
"char": "v",
|
|
4430
|
+
"description": "Show detailed request/response information",
|
|
4431
|
+
"env": "XANO_VERBOSE",
|
|
4432
|
+
"name": "verbose",
|
|
4433
|
+
"required": false,
|
|
4434
|
+
"allowNo": false,
|
|
4435
|
+
"type": "boolean"
|
|
4436
|
+
},
|
|
4437
|
+
"output": {
|
|
4438
|
+
"char": "o",
|
|
4439
|
+
"description": "Output format",
|
|
4440
|
+
"name": "output",
|
|
4441
|
+
"required": false,
|
|
4442
|
+
"default": "summary",
|
|
4525
4443
|
"hasDynamicHelp": false,
|
|
4526
4444
|
"multiple": false,
|
|
4445
|
+
"options": [
|
|
4446
|
+
"summary",
|
|
4447
|
+
"json"
|
|
4448
|
+
],
|
|
4527
4449
|
"type": "option"
|
|
4528
4450
|
}
|
|
4529
4451
|
},
|
|
4530
4452
|
"hasDynamicHelp": false,
|
|
4531
4453
|
"hiddenAliases": [],
|
|
4532
|
-
"id": "workspace:
|
|
4454
|
+
"id": "workspace:get",
|
|
4533
4455
|
"pluginAlias": "@xano/cli",
|
|
4534
4456
|
"pluginName": "@xano/cli",
|
|
4535
4457
|
"pluginType": "core",
|
|
@@ -4540,7 +4462,7 @@
|
|
|
4540
4462
|
"dist",
|
|
4541
4463
|
"commands",
|
|
4542
4464
|
"workspace",
|
|
4543
|
-
"
|
|
4465
|
+
"get",
|
|
4544
4466
|
"index.js"
|
|
4545
4467
|
]
|
|
4546
4468
|
},
|
|
@@ -4665,13 +4587,22 @@
|
|
|
4665
4587
|
"index.js"
|
|
4666
4588
|
]
|
|
4667
4589
|
},
|
|
4668
|
-
"
|
|
4590
|
+
"workspace:pull": {
|
|
4669
4591
|
"aliases": [],
|
|
4670
|
-
"args": {
|
|
4671
|
-
|
|
4592
|
+
"args": {
|
|
4593
|
+
"directory": {
|
|
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",
|
|
4672
4600
|
"examples": [
|
|
4673
|
-
"$ xano
|
|
4674
|
-
"$ xano
|
|
4601
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4602
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
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"
|
|
4675
4606
|
],
|
|
4676
4607
|
"flags": {
|
|
4677
4608
|
"profile": {
|
|
@@ -4695,30 +4626,37 @@
|
|
|
4695
4626
|
},
|
|
4696
4627
|
"branch": {
|
|
4697
4628
|
"char": "b",
|
|
4698
|
-
"description": "
|
|
4629
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4699
4630
|
"name": "branch",
|
|
4700
4631
|
"required": false,
|
|
4701
4632
|
"hasDynamicHelp": false,
|
|
4702
4633
|
"multiple": false,
|
|
4703
4634
|
"type": "option"
|
|
4704
4635
|
},
|
|
4705
|
-
"
|
|
4706
|
-
"
|
|
4707
|
-
"
|
|
4708
|
-
"name": "output",
|
|
4636
|
+
"env": {
|
|
4637
|
+
"description": "Include environment variables",
|
|
4638
|
+
"name": "env",
|
|
4709
4639
|
"required": false,
|
|
4710
|
-
"
|
|
4711
|
-
"
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
"
|
|
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",
|
|
4653
|
+
"required": false,
|
|
4654
|
+
"allowNo": false,
|
|
4655
|
+
"type": "boolean"
|
|
4718
4656
|
},
|
|
4719
4657
|
"workspace": {
|
|
4720
4658
|
"char": "w",
|
|
4721
|
-
"description": "Workspace ID (
|
|
4659
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4722
4660
|
"name": "workspace",
|
|
4723
4661
|
"required": false,
|
|
4724
4662
|
"hasDynamicHelp": false,
|
|
@@ -4728,7 +4666,7 @@
|
|
|
4728
4666
|
},
|
|
4729
4667
|
"hasDynamicHelp": false,
|
|
4730
4668
|
"hiddenAliases": [],
|
|
4731
|
-
"id": "
|
|
4669
|
+
"id": "workspace:pull",
|
|
4732
4670
|
"pluginAlias": "@xano/cli",
|
|
4733
4671
|
"pluginName": "@xano/cli",
|
|
4734
4672
|
"pluginType": "core",
|
|
@@ -4738,8 +4676,8 @@
|
|
|
4738
4676
|
"relativePath": [
|
|
4739
4677
|
"dist",
|
|
4740
4678
|
"commands",
|
|
4741
|
-
"
|
|
4742
|
-
"
|
|
4679
|
+
"workspace",
|
|
4680
|
+
"pull",
|
|
4743
4681
|
"index.js"
|
|
4744
4682
|
]
|
|
4745
4683
|
},
|
|
@@ -4847,6 +4785,68 @@
|
|
|
4847
4785
|
"index.js"
|
|
4848
4786
|
]
|
|
4849
4787
|
},
|
|
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
4850
|
"static_host:build:get": {
|
|
4851
4851
|
"aliases": [],
|
|
4852
4852
|
"args": {
|
|
@@ -5026,19 +5026,20 @@
|
|
|
5026
5026
|
"index.js"
|
|
5027
5027
|
]
|
|
5028
5028
|
},
|
|
5029
|
-
"tenant:backup:
|
|
5029
|
+
"tenant:backup:delete": {
|
|
5030
5030
|
"aliases": [],
|
|
5031
5031
|
"args": {
|
|
5032
5032
|
"tenant_name": {
|
|
5033
|
-
"description": "Tenant name
|
|
5033
|
+
"description": "Tenant name that owns the backup",
|
|
5034
5034
|
"name": "tenant_name",
|
|
5035
5035
|
"required": true
|
|
5036
5036
|
}
|
|
5037
5037
|
},
|
|
5038
|
-
"description": "
|
|
5038
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5039
5039
|
"examples": [
|
|
5040
|
-
"$ xano tenant backup
|
|
5041
|
-
"$ xano tenant backup
|
|
5040
|
+
"$ 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",
|
|
5041
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5042
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5042
5043
|
],
|
|
5043
5044
|
"flags": {
|
|
5044
5045
|
"profile": {
|
|
@@ -5060,16 +5061,22 @@
|
|
|
5060
5061
|
"allowNo": false,
|
|
5061
5062
|
"type": "boolean"
|
|
5062
5063
|
},
|
|
5063
|
-
"
|
|
5064
|
-
"
|
|
5065
|
-
"
|
|
5066
|
-
"
|
|
5067
|
-
"required": false,
|
|
5068
|
-
"default": "",
|
|
5064
|
+
"backup_id": {
|
|
5065
|
+
"description": "Backup ID to delete",
|
|
5066
|
+
"name": "backup_id",
|
|
5067
|
+
"required": true,
|
|
5069
5068
|
"hasDynamicHelp": false,
|
|
5070
5069
|
"multiple": false,
|
|
5071
5070
|
"type": "option"
|
|
5072
5071
|
},
|
|
5072
|
+
"force": {
|
|
5073
|
+
"char": "f",
|
|
5074
|
+
"description": "Skip confirmation prompt",
|
|
5075
|
+
"name": "force",
|
|
5076
|
+
"required": false,
|
|
5077
|
+
"allowNo": false,
|
|
5078
|
+
"type": "boolean"
|
|
5079
|
+
},
|
|
5073
5080
|
"output": {
|
|
5074
5081
|
"char": "o",
|
|
5075
5082
|
"description": "Output format",
|
|
@@ -5096,7 +5103,7 @@
|
|
|
5096
5103
|
},
|
|
5097
5104
|
"hasDynamicHelp": false,
|
|
5098
5105
|
"hiddenAliases": [],
|
|
5099
|
-
"id": "tenant:backup:
|
|
5106
|
+
"id": "tenant:backup:delete",
|
|
5100
5107
|
"pluginAlias": "@xano/cli",
|
|
5101
5108
|
"pluginName": "@xano/cli",
|
|
5102
5109
|
"pluginType": "core",
|
|
@@ -5108,24 +5115,23 @@
|
|
|
5108
5115
|
"commands",
|
|
5109
5116
|
"tenant",
|
|
5110
5117
|
"backup",
|
|
5111
|
-
"
|
|
5118
|
+
"delete",
|
|
5112
5119
|
"index.js"
|
|
5113
5120
|
]
|
|
5114
5121
|
},
|
|
5115
|
-
"tenant:backup:
|
|
5122
|
+
"tenant:backup:create": {
|
|
5116
5123
|
"aliases": [],
|
|
5117
5124
|
"args": {
|
|
5118
5125
|
"tenant_name": {
|
|
5119
|
-
"description": "Tenant name
|
|
5126
|
+
"description": "Tenant name to back up",
|
|
5120
5127
|
"name": "tenant_name",
|
|
5121
5128
|
"required": true
|
|
5122
5129
|
}
|
|
5123
5130
|
},
|
|
5124
|
-
"description": "
|
|
5131
|
+
"description": "Create a backup for a tenant",
|
|
5125
5132
|
"examples": [
|
|
5126
|
-
"$ xano tenant backup
|
|
5127
|
-
"$ xano tenant backup
|
|
5128
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5133
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5134
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5129
5135
|
],
|
|
5130
5136
|
"flags": {
|
|
5131
5137
|
"profile": {
|
|
@@ -5147,22 +5153,16 @@
|
|
|
5147
5153
|
"allowNo": false,
|
|
5148
5154
|
"type": "boolean"
|
|
5149
5155
|
},
|
|
5150
|
-
"
|
|
5151
|
-
"
|
|
5152
|
-
"
|
|
5153
|
-
"
|
|
5156
|
+
"description": {
|
|
5157
|
+
"char": "d",
|
|
5158
|
+
"description": "Backup description",
|
|
5159
|
+
"name": "description",
|
|
5160
|
+
"required": false,
|
|
5161
|
+
"default": "",
|
|
5154
5162
|
"hasDynamicHelp": false,
|
|
5155
5163
|
"multiple": false,
|
|
5156
5164
|
"type": "option"
|
|
5157
5165
|
},
|
|
5158
|
-
"force": {
|
|
5159
|
-
"char": "f",
|
|
5160
|
-
"description": "Skip confirmation prompt",
|
|
5161
|
-
"name": "force",
|
|
5162
|
-
"required": false,
|
|
5163
|
-
"allowNo": false,
|
|
5164
|
-
"type": "boolean"
|
|
5165
|
-
},
|
|
5166
5166
|
"output": {
|
|
5167
5167
|
"char": "o",
|
|
5168
5168
|
"description": "Output format",
|
|
@@ -5189,7 +5189,7 @@
|
|
|
5189
5189
|
},
|
|
5190
5190
|
"hasDynamicHelp": false,
|
|
5191
5191
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "tenant:backup:
|
|
5192
|
+
"id": "tenant:backup:create",
|
|
5193
5193
|
"pluginAlias": "@xano/cli",
|
|
5194
5194
|
"pluginName": "@xano/cli",
|
|
5195
5195
|
"pluginType": "core",
|
|
@@ -5201,7 +5201,7 @@
|
|
|
5201
5201
|
"commands",
|
|
5202
5202
|
"tenant",
|
|
5203
5203
|
"backup",
|
|
5204
|
-
"
|
|
5204
|
+
"create",
|
|
5205
5205
|
"index.js"
|
|
5206
5206
|
]
|
|
5207
5207
|
},
|
|
@@ -5298,6 +5298,128 @@
|
|
|
5298
5298
|
"index.js"
|
|
5299
5299
|
]
|
|
5300
5300
|
},
|
|
5301
|
+
"tenant:cluster:create": {
|
|
5302
|
+
"aliases": [],
|
|
5303
|
+
"args": {},
|
|
5304
|
+
"description": "Create a new tenant cluster",
|
|
5305
|
+
"examples": [
|
|
5306
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5307
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5308
|
+
],
|
|
5309
|
+
"flags": {
|
|
5310
|
+
"profile": {
|
|
5311
|
+
"char": "p",
|
|
5312
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5313
|
+
"env": "XANO_PROFILE",
|
|
5314
|
+
"name": "profile",
|
|
5315
|
+
"required": false,
|
|
5316
|
+
"hasDynamicHelp": false,
|
|
5317
|
+
"multiple": false,
|
|
5318
|
+
"type": "option"
|
|
5319
|
+
},
|
|
5320
|
+
"verbose": {
|
|
5321
|
+
"char": "v",
|
|
5322
|
+
"description": "Show detailed request/response information",
|
|
5323
|
+
"env": "XANO_VERBOSE",
|
|
5324
|
+
"name": "verbose",
|
|
5325
|
+
"required": false,
|
|
5326
|
+
"allowNo": false,
|
|
5327
|
+
"type": "boolean"
|
|
5328
|
+
},
|
|
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
|
+
"description": {
|
|
5352
|
+
"char": "d",
|
|
5353
|
+
"description": "Cluster description",
|
|
5354
|
+
"name": "description",
|
|
5355
|
+
"required": false,
|
|
5356
|
+
"hasDynamicHelp": false,
|
|
5357
|
+
"multiple": false,
|
|
5358
|
+
"type": "option"
|
|
5359
|
+
},
|
|
5360
|
+
"domain": {
|
|
5361
|
+
"description": "Custom domain for the cluster",
|
|
5362
|
+
"name": "domain",
|
|
5363
|
+
"required": false,
|
|
5364
|
+
"hasDynamicHelp": false,
|
|
5365
|
+
"multiple": false,
|
|
5366
|
+
"type": "option"
|
|
5367
|
+
},
|
|
5368
|
+
"name": {
|
|
5369
|
+
"char": "n",
|
|
5370
|
+
"description": "Cluster name",
|
|
5371
|
+
"name": "name",
|
|
5372
|
+
"required": true,
|
|
5373
|
+
"hasDynamicHelp": false,
|
|
5374
|
+
"multiple": false,
|
|
5375
|
+
"type": "option"
|
|
5376
|
+
},
|
|
5377
|
+
"output": {
|
|
5378
|
+
"char": "o",
|
|
5379
|
+
"description": "Output format",
|
|
5380
|
+
"name": "output",
|
|
5381
|
+
"required": false,
|
|
5382
|
+
"default": "summary",
|
|
5383
|
+
"hasDynamicHelp": false,
|
|
5384
|
+
"multiple": false,
|
|
5385
|
+
"options": [
|
|
5386
|
+
"summary",
|
|
5387
|
+
"json"
|
|
5388
|
+
],
|
|
5389
|
+
"type": "option"
|
|
5390
|
+
},
|
|
5391
|
+
"type": {
|
|
5392
|
+
"description": "Cluster type",
|
|
5393
|
+
"name": "type",
|
|
5394
|
+
"required": false,
|
|
5395
|
+
"default": "standard",
|
|
5396
|
+
"hasDynamicHelp": false,
|
|
5397
|
+
"multiple": false,
|
|
5398
|
+
"options": [
|
|
5399
|
+
"standard",
|
|
5400
|
+
"run"
|
|
5401
|
+
],
|
|
5402
|
+
"type": "option"
|
|
5403
|
+
}
|
|
5404
|
+
},
|
|
5405
|
+
"hasDynamicHelp": false,
|
|
5406
|
+
"hiddenAliases": [],
|
|
5407
|
+
"id": "tenant:cluster:create",
|
|
5408
|
+
"pluginAlias": "@xano/cli",
|
|
5409
|
+
"pluginName": "@xano/cli",
|
|
5410
|
+
"pluginType": "core",
|
|
5411
|
+
"strict": true,
|
|
5412
|
+
"enableJsonFlag": false,
|
|
5413
|
+
"isESM": true,
|
|
5414
|
+
"relativePath": [
|
|
5415
|
+
"dist",
|
|
5416
|
+
"commands",
|
|
5417
|
+
"tenant",
|
|
5418
|
+
"cluster",
|
|
5419
|
+
"create",
|
|
5420
|
+
"index.js"
|
|
5421
|
+
]
|
|
5422
|
+
},
|
|
5301
5423
|
"tenant:backup:list": {
|
|
5302
5424
|
"aliases": [],
|
|
5303
5425
|
"args": {
|
|
@@ -5383,19 +5505,19 @@
|
|
|
5383
5505
|
"index.js"
|
|
5384
5506
|
]
|
|
5385
5507
|
},
|
|
5386
|
-
"tenant:backup:
|
|
5508
|
+
"tenant:backup:import": {
|
|
5387
5509
|
"aliases": [],
|
|
5388
5510
|
"args": {
|
|
5389
5511
|
"tenant_name": {
|
|
5390
|
-
"description": "Tenant name to
|
|
5512
|
+
"description": "Tenant name to import backup into",
|
|
5391
5513
|
"name": "tenant_name",
|
|
5392
5514
|
"required": true
|
|
5393
5515
|
}
|
|
5394
5516
|
},
|
|
5395
|
-
"description": "
|
|
5517
|
+
"description": "Import a backup file into a tenant",
|
|
5396
5518
|
"examples": [
|
|
5397
|
-
"$ xano tenant backup
|
|
5398
|
-
"$ xano tenant backup
|
|
5519
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5520
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5399
5521
|
],
|
|
5400
5522
|
"flags": {
|
|
5401
5523
|
"profile": {
|
|
@@ -5417,21 +5539,24 @@
|
|
|
5417
5539
|
"allowNo": false,
|
|
5418
5540
|
"type": "boolean"
|
|
5419
5541
|
},
|
|
5420
|
-
"
|
|
5421
|
-
"
|
|
5422
|
-
"
|
|
5423
|
-
"
|
|
5542
|
+
"description": {
|
|
5543
|
+
"char": "d",
|
|
5544
|
+
"description": "Backup description",
|
|
5545
|
+
"name": "description",
|
|
5546
|
+
"required": false,
|
|
5547
|
+
"default": "",
|
|
5424
5548
|
"hasDynamicHelp": false,
|
|
5425
5549
|
"multiple": false,
|
|
5426
5550
|
"type": "option"
|
|
5427
5551
|
},
|
|
5428
|
-
"
|
|
5552
|
+
"file": {
|
|
5429
5553
|
"char": "f",
|
|
5430
|
-
"description": "
|
|
5431
|
-
"name": "
|
|
5432
|
-
"required":
|
|
5433
|
-
"
|
|
5434
|
-
"
|
|
5554
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5555
|
+
"name": "file",
|
|
5556
|
+
"required": true,
|
|
5557
|
+
"hasDynamicHelp": false,
|
|
5558
|
+
"multiple": false,
|
|
5559
|
+
"type": "option"
|
|
5435
5560
|
},
|
|
5436
5561
|
"output": {
|
|
5437
5562
|
"char": "o",
|
|
@@ -5459,7 +5584,7 @@
|
|
|
5459
5584
|
},
|
|
5460
5585
|
"hasDynamicHelp": false,
|
|
5461
5586
|
"hiddenAliases": [],
|
|
5462
|
-
"id": "tenant:backup:
|
|
5587
|
+
"id": "tenant:backup:import",
|
|
5463
5588
|
"pluginAlias": "@xano/cli",
|
|
5464
5589
|
"pluginName": "@xano/cli",
|
|
5465
5590
|
"pluginType": "core",
|
|
@@ -5471,17 +5596,24 @@
|
|
|
5471
5596
|
"commands",
|
|
5472
5597
|
"tenant",
|
|
5473
5598
|
"backup",
|
|
5474
|
-
"
|
|
5599
|
+
"import",
|
|
5475
5600
|
"index.js"
|
|
5476
5601
|
]
|
|
5477
5602
|
},
|
|
5478
|
-
"tenant:cluster:
|
|
5603
|
+
"tenant:cluster:delete": {
|
|
5479
5604
|
"aliases": [],
|
|
5480
|
-
"args": {
|
|
5481
|
-
|
|
5605
|
+
"args": {
|
|
5606
|
+
"cluster_id": {
|
|
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.",
|
|
5482
5613
|
"examples": [
|
|
5483
|
-
"$ xano tenant cluster
|
|
5484
|
-
"$ xano tenant cluster
|
|
5614
|
+
"$ 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",
|
|
5615
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5616
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5485
5617
|
],
|
|
5486
5618
|
"flags": {
|
|
5487
5619
|
"profile": {
|
|
@@ -5503,53 +5635,13 @@
|
|
|
5503
5635
|
"allowNo": false,
|
|
5504
5636
|
"type": "boolean"
|
|
5505
5637
|
},
|
|
5506
|
-
"
|
|
5507
|
-
"
|
|
5508
|
-
"
|
|
5509
|
-
|
|
5510
|
-
],
|
|
5511
|
-
"name": "credentials",
|
|
5512
|
-
"required": false,
|
|
5513
|
-
"hasDynamicHelp": false,
|
|
5514
|
-
"multiple": false,
|
|
5515
|
-
"type": "option"
|
|
5516
|
-
},
|
|
5517
|
-
"credentials_file": {
|
|
5518
|
-
"description": "Path to kubeconfig credentials file",
|
|
5519
|
-
"exclusive": [
|
|
5520
|
-
"credentials"
|
|
5521
|
-
],
|
|
5522
|
-
"name": "credentials_file",
|
|
5523
|
-
"required": false,
|
|
5524
|
-
"hasDynamicHelp": false,
|
|
5525
|
-
"multiple": false,
|
|
5526
|
-
"type": "option"
|
|
5527
|
-
},
|
|
5528
|
-
"description": {
|
|
5529
|
-
"char": "d",
|
|
5530
|
-
"description": "Cluster description",
|
|
5531
|
-
"name": "description",
|
|
5532
|
-
"required": false,
|
|
5533
|
-
"hasDynamicHelp": false,
|
|
5534
|
-
"multiple": false,
|
|
5535
|
-
"type": "option"
|
|
5536
|
-
},
|
|
5537
|
-
"domain": {
|
|
5538
|
-
"description": "Custom domain for the cluster",
|
|
5539
|
-
"name": "domain",
|
|
5638
|
+
"force": {
|
|
5639
|
+
"char": "f",
|
|
5640
|
+
"description": "Skip confirmation prompt",
|
|
5641
|
+
"name": "force",
|
|
5540
5642
|
"required": false,
|
|
5541
|
-
"
|
|
5542
|
-
"
|
|
5543
|
-
"type": "option"
|
|
5544
|
-
},
|
|
5545
|
-
"name": {
|
|
5546
|
-
"char": "n",
|
|
5547
|
-
"description": "Cluster name",
|
|
5548
|
-
"name": "name",
|
|
5549
|
-
"required": true,
|
|
5550
|
-
"hasDynamicHelp": false,
|
|
5551
|
-
"multiple": false,
|
|
5552
|
-
"type": "option"
|
|
5643
|
+
"allowNo": false,
|
|
5644
|
+
"type": "boolean"
|
|
5553
5645
|
},
|
|
5554
5646
|
"output": {
|
|
5555
5647
|
"char": "o",
|
|
@@ -5564,24 +5656,11 @@
|
|
|
5564
5656
|
"json"
|
|
5565
5657
|
],
|
|
5566
5658
|
"type": "option"
|
|
5567
|
-
},
|
|
5568
|
-
"type": {
|
|
5569
|
-
"description": "Cluster type",
|
|
5570
|
-
"name": "type",
|
|
5571
|
-
"required": false,
|
|
5572
|
-
"default": "standard",
|
|
5573
|
-
"hasDynamicHelp": false,
|
|
5574
|
-
"multiple": false,
|
|
5575
|
-
"options": [
|
|
5576
|
-
"standard",
|
|
5577
|
-
"run"
|
|
5578
|
-
],
|
|
5579
|
-
"type": "option"
|
|
5580
5659
|
}
|
|
5581
5660
|
},
|
|
5582
5661
|
"hasDynamicHelp": false,
|
|
5583
5662
|
"hiddenAliases": [],
|
|
5584
|
-
"id": "tenant:cluster:
|
|
5663
|
+
"id": "tenant:cluster:delete",
|
|
5585
5664
|
"pluginAlias": "@xano/cli",
|
|
5586
5665
|
"pluginName": "@xano/cli",
|
|
5587
5666
|
"pluginType": "core",
|
|
@@ -5593,23 +5672,23 @@
|
|
|
5593
5672
|
"commands",
|
|
5594
5673
|
"tenant",
|
|
5595
5674
|
"cluster",
|
|
5596
|
-
"
|
|
5675
|
+
"delete",
|
|
5597
5676
|
"index.js"
|
|
5598
5677
|
]
|
|
5599
5678
|
},
|
|
5600
|
-
"tenant:
|
|
5679
|
+
"tenant:backup:restore": {
|
|
5601
5680
|
"aliases": [],
|
|
5602
5681
|
"args": {
|
|
5603
|
-
"
|
|
5604
|
-
"description": "
|
|
5605
|
-
"name": "
|
|
5682
|
+
"tenant_name": {
|
|
5683
|
+
"description": "Tenant name to restore",
|
|
5684
|
+
"name": "tenant_name",
|
|
5606
5685
|
"required": true
|
|
5607
5686
|
}
|
|
5608
5687
|
},
|
|
5609
|
-
"description": "
|
|
5688
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5610
5689
|
"examples": [
|
|
5611
|
-
"$ xano tenant
|
|
5612
|
-
"$ xano tenant
|
|
5690
|
+
"$ 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",
|
|
5691
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5613
5692
|
],
|
|
5614
5693
|
"flags": {
|
|
5615
5694
|
"profile": {
|
|
@@ -5631,31 +5710,21 @@
|
|
|
5631
5710
|
"allowNo": false,
|
|
5632
5711
|
"type": "boolean"
|
|
5633
5712
|
},
|
|
5634
|
-
"
|
|
5635
|
-
"
|
|
5636
|
-
"
|
|
5637
|
-
"name": "description",
|
|
5638
|
-
"required": true,
|
|
5639
|
-
"hasDynamicHelp": false,
|
|
5640
|
-
"multiple": false,
|
|
5641
|
-
"type": "option"
|
|
5642
|
-
},
|
|
5643
|
-
"domain": {
|
|
5644
|
-
"description": "Custom domain for the cluster",
|
|
5645
|
-
"name": "domain",
|
|
5713
|
+
"backup_id": {
|
|
5714
|
+
"description": "Backup ID to restore from",
|
|
5715
|
+
"name": "backup_id",
|
|
5646
5716
|
"required": true,
|
|
5647
5717
|
"hasDynamicHelp": false,
|
|
5648
5718
|
"multiple": false,
|
|
5649
5719
|
"type": "option"
|
|
5650
5720
|
},
|
|
5651
|
-
"
|
|
5652
|
-
"char": "
|
|
5653
|
-
"description": "
|
|
5654
|
-
"name": "
|
|
5655
|
-
"required":
|
|
5656
|
-
"
|
|
5657
|
-
"
|
|
5658
|
-
"type": "option"
|
|
5721
|
+
"force": {
|
|
5722
|
+
"char": "f",
|
|
5723
|
+
"description": "Skip confirmation prompt",
|
|
5724
|
+
"name": "force",
|
|
5725
|
+
"required": false,
|
|
5726
|
+
"allowNo": false,
|
|
5727
|
+
"type": "boolean"
|
|
5659
5728
|
},
|
|
5660
5729
|
"output": {
|
|
5661
5730
|
"char": "o",
|
|
@@ -5671,22 +5740,19 @@
|
|
|
5671
5740
|
],
|
|
5672
5741
|
"type": "option"
|
|
5673
5742
|
},
|
|
5674
|
-
"
|
|
5675
|
-
"
|
|
5676
|
-
"
|
|
5677
|
-
"
|
|
5743
|
+
"workspace": {
|
|
5744
|
+
"char": "w",
|
|
5745
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5746
|
+
"name": "workspace",
|
|
5747
|
+
"required": false,
|
|
5678
5748
|
"hasDynamicHelp": false,
|
|
5679
5749
|
"multiple": false,
|
|
5680
|
-
"options": [
|
|
5681
|
-
"standard",
|
|
5682
|
-
"run"
|
|
5683
|
-
],
|
|
5684
5750
|
"type": "option"
|
|
5685
5751
|
}
|
|
5686
5752
|
},
|
|
5687
5753
|
"hasDynamicHelp": false,
|
|
5688
5754
|
"hiddenAliases": [],
|
|
5689
|
-
"id": "tenant:
|
|
5755
|
+
"id": "tenant:backup:restore",
|
|
5690
5756
|
"pluginAlias": "@xano/cli",
|
|
5691
5757
|
"pluginName": "@xano/cli",
|
|
5692
5758
|
"pluginType": "core",
|
|
@@ -5697,24 +5763,24 @@
|
|
|
5697
5763
|
"dist",
|
|
5698
5764
|
"commands",
|
|
5699
5765
|
"tenant",
|
|
5700
|
-
"
|
|
5701
|
-
"
|
|
5766
|
+
"backup",
|
|
5767
|
+
"restore",
|
|
5702
5768
|
"index.js"
|
|
5703
5769
|
]
|
|
5704
5770
|
},
|
|
5705
|
-
"tenant:cluster:
|
|
5771
|
+
"tenant:cluster:edit": {
|
|
5706
5772
|
"aliases": [],
|
|
5707
5773
|
"args": {
|
|
5708
5774
|
"cluster_id": {
|
|
5709
|
-
"description": "Cluster ID to
|
|
5775
|
+
"description": "Cluster ID to edit",
|
|
5710
5776
|
"name": "cluster_id",
|
|
5711
5777
|
"required": true
|
|
5712
5778
|
}
|
|
5713
5779
|
},
|
|
5714
|
-
"description": "
|
|
5780
|
+
"description": "Update an existing tenant cluster",
|
|
5715
5781
|
"examples": [
|
|
5716
|
-
"$ xano tenant cluster
|
|
5717
|
-
"$ xano tenant cluster
|
|
5782
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5783
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5718
5784
|
],
|
|
5719
5785
|
"flags": {
|
|
5720
5786
|
"profile": {
|
|
@@ -5727,14 +5793,40 @@
|
|
|
5727
5793
|
"multiple": false,
|
|
5728
5794
|
"type": "option"
|
|
5729
5795
|
},
|
|
5730
|
-
"verbose": {
|
|
5731
|
-
"char": "v",
|
|
5732
|
-
"description": "Show detailed request/response information",
|
|
5733
|
-
"env": "XANO_VERBOSE",
|
|
5734
|
-
"name": "verbose",
|
|
5735
|
-
"required": false,
|
|
5736
|
-
"allowNo": false,
|
|
5737
|
-
"type": "boolean"
|
|
5796
|
+
"verbose": {
|
|
5797
|
+
"char": "v",
|
|
5798
|
+
"description": "Show detailed request/response information",
|
|
5799
|
+
"env": "XANO_VERBOSE",
|
|
5800
|
+
"name": "verbose",
|
|
5801
|
+
"required": false,
|
|
5802
|
+
"allowNo": false,
|
|
5803
|
+
"type": "boolean"
|
|
5804
|
+
},
|
|
5805
|
+
"description": {
|
|
5806
|
+
"char": "d",
|
|
5807
|
+
"description": "Cluster description",
|
|
5808
|
+
"name": "description",
|
|
5809
|
+
"required": true,
|
|
5810
|
+
"hasDynamicHelp": false,
|
|
5811
|
+
"multiple": false,
|
|
5812
|
+
"type": "option"
|
|
5813
|
+
},
|
|
5814
|
+
"domain": {
|
|
5815
|
+
"description": "Custom domain for the cluster",
|
|
5816
|
+
"name": "domain",
|
|
5817
|
+
"required": true,
|
|
5818
|
+
"hasDynamicHelp": false,
|
|
5819
|
+
"multiple": false,
|
|
5820
|
+
"type": "option"
|
|
5821
|
+
},
|
|
5822
|
+
"name": {
|
|
5823
|
+
"char": "n",
|
|
5824
|
+
"description": "Cluster name",
|
|
5825
|
+
"name": "name",
|
|
5826
|
+
"required": true,
|
|
5827
|
+
"hasDynamicHelp": false,
|
|
5828
|
+
"multiple": false,
|
|
5829
|
+
"type": "option"
|
|
5738
5830
|
},
|
|
5739
5831
|
"output": {
|
|
5740
5832
|
"char": "o",
|
|
@@ -5749,11 +5841,23 @@
|
|
|
5749
5841
|
"json"
|
|
5750
5842
|
],
|
|
5751
5843
|
"type": "option"
|
|
5844
|
+
},
|
|
5845
|
+
"type": {
|
|
5846
|
+
"description": "Cluster type",
|
|
5847
|
+
"name": "type",
|
|
5848
|
+
"required": true,
|
|
5849
|
+
"hasDynamicHelp": false,
|
|
5850
|
+
"multiple": false,
|
|
5851
|
+
"options": [
|
|
5852
|
+
"standard",
|
|
5853
|
+
"run"
|
|
5854
|
+
],
|
|
5855
|
+
"type": "option"
|
|
5752
5856
|
}
|
|
5753
5857
|
},
|
|
5754
5858
|
"hasDynamicHelp": false,
|
|
5755
5859
|
"hiddenAliases": [],
|
|
5756
|
-
"id": "tenant:cluster:
|
|
5860
|
+
"id": "tenant:cluster:edit",
|
|
5757
5861
|
"pluginAlias": "@xano/cli",
|
|
5758
5862
|
"pluginName": "@xano/cli",
|
|
5759
5863
|
"pluginType": "core",
|
|
@@ -5765,24 +5869,23 @@
|
|
|
5765
5869
|
"commands",
|
|
5766
5870
|
"tenant",
|
|
5767
5871
|
"cluster",
|
|
5768
|
-
"
|
|
5872
|
+
"edit",
|
|
5769
5873
|
"index.js"
|
|
5770
5874
|
]
|
|
5771
5875
|
},
|
|
5772
|
-
"tenant:cluster:
|
|
5876
|
+
"tenant:cluster:get": {
|
|
5773
5877
|
"aliases": [],
|
|
5774
5878
|
"args": {
|
|
5775
5879
|
"cluster_id": {
|
|
5776
|
-
"description": "Cluster ID to
|
|
5880
|
+
"description": "Cluster ID to retrieve",
|
|
5777
5881
|
"name": "cluster_id",
|
|
5778
5882
|
"required": true
|
|
5779
5883
|
}
|
|
5780
5884
|
},
|
|
5781
|
-
"description": "
|
|
5885
|
+
"description": "Get details of a specific tenant cluster",
|
|
5782
5886
|
"examples": [
|
|
5783
|
-
"$ xano tenant cluster
|
|
5784
|
-
"$ xano tenant cluster
|
|
5785
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5887
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5888
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5786
5889
|
],
|
|
5787
5890
|
"flags": {
|
|
5788
5891
|
"profile": {
|
|
@@ -5804,14 +5907,6 @@
|
|
|
5804
5907
|
"allowNo": false,
|
|
5805
5908
|
"type": "boolean"
|
|
5806
5909
|
},
|
|
5807
|
-
"force": {
|
|
5808
|
-
"char": "f",
|
|
5809
|
-
"description": "Skip confirmation prompt",
|
|
5810
|
-
"name": "force",
|
|
5811
|
-
"required": false,
|
|
5812
|
-
"allowNo": false,
|
|
5813
|
-
"type": "boolean"
|
|
5814
|
-
},
|
|
5815
5910
|
"output": {
|
|
5816
5911
|
"char": "o",
|
|
5817
5912
|
"description": "Output format",
|
|
@@ -5829,7 +5924,7 @@
|
|
|
5829
5924
|
},
|
|
5830
5925
|
"hasDynamicHelp": false,
|
|
5831
5926
|
"hiddenAliases": [],
|
|
5832
|
-
"id": "tenant:cluster:
|
|
5927
|
+
"id": "tenant:cluster:get",
|
|
5833
5928
|
"pluginAlias": "@xano/cli",
|
|
5834
5929
|
"pluginName": "@xano/cli",
|
|
5835
5930
|
"pluginType": "core",
|
|
@@ -5841,7 +5936,7 @@
|
|
|
5841
5936
|
"commands",
|
|
5842
5937
|
"tenant",
|
|
5843
5938
|
"cluster",
|
|
5844
|
-
"
|
|
5939
|
+
"get",
|
|
5845
5940
|
"index.js"
|
|
5846
5941
|
]
|
|
5847
5942
|
},
|
|
@@ -6085,19 +6180,19 @@
|
|
|
6085
6180
|
"index.js"
|
|
6086
6181
|
]
|
|
6087
6182
|
},
|
|
6088
|
-
"tenant:
|
|
6183
|
+
"tenant:env:list": {
|
|
6089
6184
|
"aliases": [],
|
|
6090
6185
|
"args": {
|
|
6091
6186
|
"tenant_name": {
|
|
6092
|
-
"description": "Tenant name
|
|
6187
|
+
"description": "Tenant name",
|
|
6093
6188
|
"name": "tenant_name",
|
|
6094
6189
|
"required": true
|
|
6095
6190
|
}
|
|
6096
6191
|
},
|
|
6097
|
-
"description": "
|
|
6192
|
+
"description": "List environment variable keys for a tenant",
|
|
6098
6193
|
"examples": [
|
|
6099
|
-
"$ xano tenant
|
|
6100
|
-
"$ xano tenant
|
|
6194
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6195
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6101
6196
|
],
|
|
6102
6197
|
"flags": {
|
|
6103
6198
|
"profile": {
|
|
@@ -6119,25 +6214,6 @@
|
|
|
6119
6214
|
"allowNo": false,
|
|
6120
6215
|
"type": "boolean"
|
|
6121
6216
|
},
|
|
6122
|
-
"description": {
|
|
6123
|
-
"char": "d",
|
|
6124
|
-
"description": "Backup description",
|
|
6125
|
-
"name": "description",
|
|
6126
|
-
"required": false,
|
|
6127
|
-
"default": "",
|
|
6128
|
-
"hasDynamicHelp": false,
|
|
6129
|
-
"multiple": false,
|
|
6130
|
-
"type": "option"
|
|
6131
|
-
},
|
|
6132
|
-
"file": {
|
|
6133
|
-
"char": "f",
|
|
6134
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
6135
|
-
"name": "file",
|
|
6136
|
-
"required": true,
|
|
6137
|
-
"hasDynamicHelp": false,
|
|
6138
|
-
"multiple": false,
|
|
6139
|
-
"type": "option"
|
|
6140
|
-
},
|
|
6141
6217
|
"output": {
|
|
6142
6218
|
"char": "o",
|
|
6143
6219
|
"description": "Output format",
|
|
@@ -6164,7 +6240,7 @@
|
|
|
6164
6240
|
},
|
|
6165
6241
|
"hasDynamicHelp": false,
|
|
6166
6242
|
"hiddenAliases": [],
|
|
6167
|
-
"id": "tenant:
|
|
6243
|
+
"id": "tenant:env:list",
|
|
6168
6244
|
"pluginAlias": "@xano/cli",
|
|
6169
6245
|
"pluginName": "@xano/cli",
|
|
6170
6246
|
"pluginType": "core",
|
|
@@ -6175,12 +6251,12 @@
|
|
|
6175
6251
|
"dist",
|
|
6176
6252
|
"commands",
|
|
6177
6253
|
"tenant",
|
|
6178
|
-
"
|
|
6179
|
-
"
|
|
6254
|
+
"env",
|
|
6255
|
+
"list",
|
|
6180
6256
|
"index.js"
|
|
6181
6257
|
]
|
|
6182
6258
|
},
|
|
6183
|
-
"tenant:env:
|
|
6259
|
+
"tenant:env:set": {
|
|
6184
6260
|
"aliases": [],
|
|
6185
6261
|
"args": {
|
|
6186
6262
|
"tenant_name": {
|
|
@@ -6189,10 +6265,10 @@
|
|
|
6189
6265
|
"required": true
|
|
6190
6266
|
}
|
|
6191
6267
|
},
|
|
6192
|
-
"description": "
|
|
6268
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6193
6269
|
"examples": [
|
|
6194
|
-
"$ xano tenant env
|
|
6195
|
-
"$ xano tenant env
|
|
6270
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6271
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6196
6272
|
],
|
|
6197
6273
|
"flags": {
|
|
6198
6274
|
"profile": {
|
|
@@ -6214,6 +6290,15 @@
|
|
|
6214
6290
|
"allowNo": false,
|
|
6215
6291
|
"type": "boolean"
|
|
6216
6292
|
},
|
|
6293
|
+
"name": {
|
|
6294
|
+
"char": "n",
|
|
6295
|
+
"description": "Environment variable name",
|
|
6296
|
+
"name": "name",
|
|
6297
|
+
"required": true,
|
|
6298
|
+
"hasDynamicHelp": false,
|
|
6299
|
+
"multiple": false,
|
|
6300
|
+
"type": "option"
|
|
6301
|
+
},
|
|
6217
6302
|
"output": {
|
|
6218
6303
|
"char": "o",
|
|
6219
6304
|
"description": "Output format",
|
|
@@ -6228,6 +6313,14 @@
|
|
|
6228
6313
|
],
|
|
6229
6314
|
"type": "option"
|
|
6230
6315
|
},
|
|
6316
|
+
"value": {
|
|
6317
|
+
"description": "Environment variable value",
|
|
6318
|
+
"name": "value",
|
|
6319
|
+
"required": true,
|
|
6320
|
+
"hasDynamicHelp": false,
|
|
6321
|
+
"multiple": false,
|
|
6322
|
+
"type": "option"
|
|
6323
|
+
},
|
|
6231
6324
|
"workspace": {
|
|
6232
6325
|
"char": "w",
|
|
6233
6326
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6240,7 +6333,7 @@
|
|
|
6240
6333
|
},
|
|
6241
6334
|
"hasDynamicHelp": false,
|
|
6242
6335
|
"hiddenAliases": [],
|
|
6243
|
-
"id": "tenant:env:
|
|
6336
|
+
"id": "tenant:env:set",
|
|
6244
6337
|
"pluginAlias": "@xano/cli",
|
|
6245
6338
|
"pluginName": "@xano/cli",
|
|
6246
6339
|
"pluginType": "core",
|
|
@@ -6252,11 +6345,11 @@
|
|
|
6252
6345
|
"commands",
|
|
6253
6346
|
"tenant",
|
|
6254
6347
|
"env",
|
|
6255
|
-
"
|
|
6348
|
+
"set",
|
|
6256
6349
|
"index.js"
|
|
6257
6350
|
]
|
|
6258
6351
|
},
|
|
6259
|
-
"tenant:env:
|
|
6352
|
+
"tenant:env:get_all": {
|
|
6260
6353
|
"aliases": [],
|
|
6261
6354
|
"args": {
|
|
6262
6355
|
"tenant_name": {
|
|
@@ -6265,10 +6358,12 @@
|
|
|
6265
6358
|
"required": true
|
|
6266
6359
|
}
|
|
6267
6360
|
},
|
|
6268
|
-
"description": "
|
|
6361
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6269
6362
|
"examples": [
|
|
6270
|
-
"$ xano tenant env
|
|
6271
|
-
"$ xano tenant env
|
|
6363
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6364
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6365
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6366
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6272
6367
|
],
|
|
6273
6368
|
"flags": {
|
|
6274
6369
|
"profile": {
|
|
@@ -6290,11 +6385,11 @@
|
|
|
6290
6385
|
"allowNo": false,
|
|
6291
6386
|
"type": "boolean"
|
|
6292
6387
|
},
|
|
6293
|
-
"
|
|
6294
|
-
"char": "
|
|
6295
|
-
"description": "
|
|
6296
|
-
"name": "
|
|
6297
|
-
"required":
|
|
6388
|
+
"file": {
|
|
6389
|
+
"char": "f",
|
|
6390
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6391
|
+
"name": "file",
|
|
6392
|
+
"required": false,
|
|
6298
6393
|
"hasDynamicHelp": false,
|
|
6299
6394
|
"multiple": false,
|
|
6300
6395
|
"type": "option"
|
|
@@ -6313,13 +6408,12 @@
|
|
|
6313
6408
|
],
|
|
6314
6409
|
"type": "option"
|
|
6315
6410
|
},
|
|
6316
|
-
"
|
|
6317
|
-
"description": "
|
|
6318
|
-
"name": "
|
|
6319
|
-
"required":
|
|
6320
|
-
"
|
|
6321
|
-
"
|
|
6322
|
-
"type": "option"
|
|
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"
|
|
6323
6417
|
},
|
|
6324
6418
|
"workspace": {
|
|
6325
6419
|
"char": "w",
|
|
@@ -6333,7 +6427,7 @@
|
|
|
6333
6427
|
},
|
|
6334
6428
|
"hasDynamicHelp": false,
|
|
6335
6429
|
"hiddenAliases": [],
|
|
6336
|
-
"id": "tenant:env:
|
|
6430
|
+
"id": "tenant:env:get_all",
|
|
6337
6431
|
"pluginAlias": "@xano/cli",
|
|
6338
6432
|
"pluginName": "@xano/cli",
|
|
6339
6433
|
"pluginType": "core",
|
|
@@ -6345,7 +6439,7 @@
|
|
|
6345
6439
|
"commands",
|
|
6346
6440
|
"tenant",
|
|
6347
6441
|
"env",
|
|
6348
|
-
"
|
|
6442
|
+
"get_all",
|
|
6349
6443
|
"index.js"
|
|
6350
6444
|
]
|
|
6351
6445
|
},
|
|
@@ -6742,100 +6836,6 @@
|
|
|
6742
6836
|
"index.js"
|
|
6743
6837
|
]
|
|
6744
6838
|
},
|
|
6745
|
-
"tenant:env:get_all": {
|
|
6746
|
-
"aliases": [],
|
|
6747
|
-
"args": {
|
|
6748
|
-
"tenant_name": {
|
|
6749
|
-
"description": "Tenant name",
|
|
6750
|
-
"name": "tenant_name",
|
|
6751
|
-
"required": true
|
|
6752
|
-
}
|
|
6753
|
-
},
|
|
6754
|
-
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6755
|
-
"examples": [
|
|
6756
|
-
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6757
|
-
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6758
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6759
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6760
|
-
],
|
|
6761
|
-
"flags": {
|
|
6762
|
-
"profile": {
|
|
6763
|
-
"char": "p",
|
|
6764
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6765
|
-
"env": "XANO_PROFILE",
|
|
6766
|
-
"name": "profile",
|
|
6767
|
-
"required": false,
|
|
6768
|
-
"hasDynamicHelp": false,
|
|
6769
|
-
"multiple": false,
|
|
6770
|
-
"type": "option"
|
|
6771
|
-
},
|
|
6772
|
-
"verbose": {
|
|
6773
|
-
"char": "v",
|
|
6774
|
-
"description": "Show detailed request/response information",
|
|
6775
|
-
"env": "XANO_VERBOSE",
|
|
6776
|
-
"name": "verbose",
|
|
6777
|
-
"required": false,
|
|
6778
|
-
"allowNo": false,
|
|
6779
|
-
"type": "boolean"
|
|
6780
|
-
},
|
|
6781
|
-
"file": {
|
|
6782
|
-
"char": "f",
|
|
6783
|
-
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6784
|
-
"name": "file",
|
|
6785
|
-
"required": false,
|
|
6786
|
-
"hasDynamicHelp": false,
|
|
6787
|
-
"multiple": false,
|
|
6788
|
-
"type": "option"
|
|
6789
|
-
},
|
|
6790
|
-
"output": {
|
|
6791
|
-
"char": "o",
|
|
6792
|
-
"description": "Output format",
|
|
6793
|
-
"name": "output",
|
|
6794
|
-
"required": false,
|
|
6795
|
-
"default": "summary",
|
|
6796
|
-
"hasDynamicHelp": false,
|
|
6797
|
-
"multiple": false,
|
|
6798
|
-
"options": [
|
|
6799
|
-
"summary",
|
|
6800
|
-
"json"
|
|
6801
|
-
],
|
|
6802
|
-
"type": "option"
|
|
6803
|
-
},
|
|
6804
|
-
"view": {
|
|
6805
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6806
|
-
"name": "view",
|
|
6807
|
-
"required": false,
|
|
6808
|
-
"allowNo": false,
|
|
6809
|
-
"type": "boolean"
|
|
6810
|
-
},
|
|
6811
|
-
"workspace": {
|
|
6812
|
-
"char": "w",
|
|
6813
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6814
|
-
"name": "workspace",
|
|
6815
|
-
"required": false,
|
|
6816
|
-
"hasDynamicHelp": false,
|
|
6817
|
-
"multiple": false,
|
|
6818
|
-
"type": "option"
|
|
6819
|
-
}
|
|
6820
|
-
},
|
|
6821
|
-
"hasDynamicHelp": false,
|
|
6822
|
-
"hiddenAliases": [],
|
|
6823
|
-
"id": "tenant:env:get_all",
|
|
6824
|
-
"pluginAlias": "@xano/cli",
|
|
6825
|
-
"pluginName": "@xano/cli",
|
|
6826
|
-
"pluginType": "core",
|
|
6827
|
-
"strict": true,
|
|
6828
|
-
"enableJsonFlag": false,
|
|
6829
|
-
"isESM": true,
|
|
6830
|
-
"relativePath": [
|
|
6831
|
-
"dist",
|
|
6832
|
-
"commands",
|
|
6833
|
-
"tenant",
|
|
6834
|
-
"env",
|
|
6835
|
-
"get_all",
|
|
6836
|
-
"index.js"
|
|
6837
|
-
]
|
|
6838
|
-
},
|
|
6839
6839
|
"tenant:cluster:license:get": {
|
|
6840
6840
|
"aliases": [],
|
|
6841
6841
|
"args": {
|
|
@@ -7027,5 +7027,5 @@
|
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.60"
|
|
7031
7031
|
}
|