@xano/cli 0.0.57 → 0.0.58
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 +1154 -1154
- 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,7 +273,7 @@
|
|
|
292
273
|
"dist",
|
|
293
274
|
"commands",
|
|
294
275
|
"branch",
|
|
295
|
-
"
|
|
276
|
+
"delete",
|
|
296
277
|
"index.js"
|
|
297
278
|
]
|
|
298
279
|
},
|
|
@@ -372,20 +353,20 @@
|
|
|
372
353
|
"index.js"
|
|
373
354
|
]
|
|
374
355
|
},
|
|
375
|
-
"branch:
|
|
356
|
+
"branch:edit": {
|
|
376
357
|
"aliases": [],
|
|
377
358
|
"args": {
|
|
378
|
-
"
|
|
379
|
-
"description": "
|
|
380
|
-
"name": "
|
|
381
|
-
"required":
|
|
359
|
+
"branch_label": {
|
|
360
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
361
|
+
"name": "branch_label",
|
|
362
|
+
"required": true
|
|
382
363
|
}
|
|
383
364
|
},
|
|
384
|
-
"description": "
|
|
365
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
385
366
|
"examples": [
|
|
386
|
-
"$ xano branch
|
|
387
|
-
"$ xano branch
|
|
388
|
-
"$ xano branch
|
|
367
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
368
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
369
|
+
"$ 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"
|
|
389
370
|
],
|
|
390
371
|
"flags": {
|
|
391
372
|
"profile": {
|
|
@@ -407,6 +388,33 @@
|
|
|
407
388
|
"allowNo": false,
|
|
408
389
|
"type": "boolean"
|
|
409
390
|
},
|
|
391
|
+
"color": {
|
|
392
|
+
"char": "c",
|
|
393
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
394
|
+
"name": "color",
|
|
395
|
+
"required": false,
|
|
396
|
+
"hasDynamicHelp": false,
|
|
397
|
+
"multiple": false,
|
|
398
|
+
"type": "option"
|
|
399
|
+
},
|
|
400
|
+
"description": {
|
|
401
|
+
"char": "d",
|
|
402
|
+
"description": "New description for the branch",
|
|
403
|
+
"name": "description",
|
|
404
|
+
"required": false,
|
|
405
|
+
"hasDynamicHelp": false,
|
|
406
|
+
"multiple": false,
|
|
407
|
+
"type": "option"
|
|
408
|
+
},
|
|
409
|
+
"label": {
|
|
410
|
+
"char": "l",
|
|
411
|
+
"description": "New label for the branch",
|
|
412
|
+
"name": "label",
|
|
413
|
+
"required": false,
|
|
414
|
+
"hasDynamicHelp": false,
|
|
415
|
+
"multiple": false,
|
|
416
|
+
"type": "option"
|
|
417
|
+
},
|
|
410
418
|
"output": {
|
|
411
419
|
"char": "o",
|
|
412
420
|
"description": "Output format",
|
|
@@ -420,11 +428,20 @@
|
|
|
420
428
|
"json"
|
|
421
429
|
],
|
|
422
430
|
"type": "option"
|
|
431
|
+
},
|
|
432
|
+
"workspace": {
|
|
433
|
+
"char": "w",
|
|
434
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
435
|
+
"name": "workspace",
|
|
436
|
+
"required": false,
|
|
437
|
+
"hasDynamicHelp": false,
|
|
438
|
+
"multiple": false,
|
|
439
|
+
"type": "option"
|
|
423
440
|
}
|
|
424
441
|
},
|
|
425
442
|
"hasDynamicHelp": false,
|
|
426
443
|
"hiddenAliases": [],
|
|
427
|
-
"id": "branch:
|
|
444
|
+
"id": "branch:edit",
|
|
428
445
|
"pluginAlias": "@xano/cli",
|
|
429
446
|
"pluginName": "@xano/cli",
|
|
430
447
|
"pluginType": "core",
|
|
@@ -435,23 +452,24 @@
|
|
|
435
452
|
"dist",
|
|
436
453
|
"commands",
|
|
437
454
|
"branch",
|
|
438
|
-
"
|
|
455
|
+
"edit",
|
|
439
456
|
"index.js"
|
|
440
457
|
]
|
|
441
458
|
},
|
|
442
|
-
"
|
|
459
|
+
"branch:list": {
|
|
443
460
|
"aliases": [],
|
|
444
461
|
"args": {
|
|
445
|
-
"
|
|
446
|
-
"description": "
|
|
447
|
-
"name": "
|
|
448
|
-
"required":
|
|
462
|
+
"workspace_id": {
|
|
463
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
464
|
+
"name": "workspace_id",
|
|
465
|
+
"required": false
|
|
449
466
|
}
|
|
450
467
|
},
|
|
451
|
-
"description": "
|
|
468
|
+
"description": "List all branches in a workspace",
|
|
452
469
|
"examples": [
|
|
453
|
-
"$ xano
|
|
454
|
-
"$ xano
|
|
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"
|
|
455
473
|
],
|
|
456
474
|
"flags": {
|
|
457
475
|
"profile": {
|
|
@@ -490,7 +508,7 @@
|
|
|
490
508
|
},
|
|
491
509
|
"hasDynamicHelp": false,
|
|
492
510
|
"hiddenAliases": [],
|
|
493
|
-
"id": "
|
|
511
|
+
"id": "branch:list",
|
|
494
512
|
"pluginAlias": "@xano/cli",
|
|
495
513
|
"pluginName": "@xano/cli",
|
|
496
514
|
"pluginType": "core",
|
|
@@ -500,8 +518,8 @@
|
|
|
500
518
|
"relativePath": [
|
|
501
519
|
"dist",
|
|
502
520
|
"commands",
|
|
503
|
-
"
|
|
504
|
-
"
|
|
521
|
+
"branch",
|
|
522
|
+
"list",
|
|
505
523
|
"index.js"
|
|
506
524
|
]
|
|
507
525
|
},
|
|
@@ -589,6 +607,72 @@
|
|
|
589
607
|
"index.js"
|
|
590
608
|
]
|
|
591
609
|
},
|
|
610
|
+
"platform:get": {
|
|
611
|
+
"aliases": [],
|
|
612
|
+
"args": {
|
|
613
|
+
"platform_id": {
|
|
614
|
+
"description": "Platform ID to retrieve",
|
|
615
|
+
"name": "platform_id",
|
|
616
|
+
"required": true
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"description": "Get details of a specific platform",
|
|
620
|
+
"examples": [
|
|
621
|
+
"$ 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",
|
|
622
|
+
"$ xano platform get 23629 -o json"
|
|
623
|
+
],
|
|
624
|
+
"flags": {
|
|
625
|
+
"profile": {
|
|
626
|
+
"char": "p",
|
|
627
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
628
|
+
"env": "XANO_PROFILE",
|
|
629
|
+
"name": "profile",
|
|
630
|
+
"required": false,
|
|
631
|
+
"hasDynamicHelp": false,
|
|
632
|
+
"multiple": false,
|
|
633
|
+
"type": "option"
|
|
634
|
+
},
|
|
635
|
+
"verbose": {
|
|
636
|
+
"char": "v",
|
|
637
|
+
"description": "Show detailed request/response information",
|
|
638
|
+
"env": "XANO_VERBOSE",
|
|
639
|
+
"name": "verbose",
|
|
640
|
+
"required": false,
|
|
641
|
+
"allowNo": false,
|
|
642
|
+
"type": "boolean"
|
|
643
|
+
},
|
|
644
|
+
"output": {
|
|
645
|
+
"char": "o",
|
|
646
|
+
"description": "Output format",
|
|
647
|
+
"name": "output",
|
|
648
|
+
"required": false,
|
|
649
|
+
"default": "summary",
|
|
650
|
+
"hasDynamicHelp": false,
|
|
651
|
+
"multiple": false,
|
|
652
|
+
"options": [
|
|
653
|
+
"summary",
|
|
654
|
+
"json"
|
|
655
|
+
],
|
|
656
|
+
"type": "option"
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
"hasDynamicHelp": false,
|
|
660
|
+
"hiddenAliases": [],
|
|
661
|
+
"id": "platform:get",
|
|
662
|
+
"pluginAlias": "@xano/cli",
|
|
663
|
+
"pluginName": "@xano/cli",
|
|
664
|
+
"pluginType": "core",
|
|
665
|
+
"strict": true,
|
|
666
|
+
"enableJsonFlag": false,
|
|
667
|
+
"isESM": true,
|
|
668
|
+
"relativePath": [
|
|
669
|
+
"dist",
|
|
670
|
+
"commands",
|
|
671
|
+
"platform",
|
|
672
|
+
"get",
|
|
673
|
+
"index.js"
|
|
674
|
+
]
|
|
675
|
+
},
|
|
592
676
|
"platform:list": {
|
|
593
677
|
"aliases": [],
|
|
594
678
|
"args": {},
|
|
@@ -1180,41 +1264,22 @@
|
|
|
1180
1264
|
"index.js"
|
|
1181
1265
|
]
|
|
1182
1266
|
},
|
|
1183
|
-
"
|
|
1267
|
+
"profile:delete": {
|
|
1184
1268
|
"aliases": [],
|
|
1185
1269
|
"args": {
|
|
1186
|
-
"
|
|
1187
|
-
"description": "
|
|
1188
|
-
"name": "
|
|
1270
|
+
"name": {
|
|
1271
|
+
"description": "Profile name to delete",
|
|
1272
|
+
"name": "name",
|
|
1189
1273
|
"required": true
|
|
1190
1274
|
}
|
|
1191
1275
|
},
|
|
1192
|
-
"description": "Delete a
|
|
1276
|
+
"description": "Delete a profile configuration",
|
|
1193
1277
|
"examples": [
|
|
1194
|
-
"$ xano
|
|
1195
|
-
"$ xano
|
|
1196
|
-
"$ xano
|
|
1278
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1279
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1280
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1197
1281
|
],
|
|
1198
1282
|
"flags": {
|
|
1199
|
-
"profile": {
|
|
1200
|
-
"char": "p",
|
|
1201
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1202
|
-
"env": "XANO_PROFILE",
|
|
1203
|
-
"name": "profile",
|
|
1204
|
-
"required": false,
|
|
1205
|
-
"hasDynamicHelp": false,
|
|
1206
|
-
"multiple": false,
|
|
1207
|
-
"type": "option"
|
|
1208
|
-
},
|
|
1209
|
-
"verbose": {
|
|
1210
|
-
"char": "v",
|
|
1211
|
-
"description": "Show detailed request/response information",
|
|
1212
|
-
"env": "XANO_VERBOSE",
|
|
1213
|
-
"name": "verbose",
|
|
1214
|
-
"required": false,
|
|
1215
|
-
"allowNo": false,
|
|
1216
|
-
"type": "boolean"
|
|
1217
|
-
},
|
|
1218
1283
|
"force": {
|
|
1219
1284
|
"char": "f",
|
|
1220
1285
|
"description": "Skip confirmation prompt",
|
|
@@ -1222,34 +1287,11 @@
|
|
|
1222
1287
|
"required": false,
|
|
1223
1288
|
"allowNo": false,
|
|
1224
1289
|
"type": "boolean"
|
|
1225
|
-
},
|
|
1226
|
-
"output": {
|
|
1227
|
-
"char": "o",
|
|
1228
|
-
"description": "Output format",
|
|
1229
|
-
"name": "output",
|
|
1230
|
-
"required": false,
|
|
1231
|
-
"default": "summary",
|
|
1232
|
-
"hasDynamicHelp": false,
|
|
1233
|
-
"multiple": false,
|
|
1234
|
-
"options": [
|
|
1235
|
-
"summary",
|
|
1236
|
-
"json"
|
|
1237
|
-
],
|
|
1238
|
-
"type": "option"
|
|
1239
|
-
},
|
|
1240
|
-
"workspace": {
|
|
1241
|
-
"char": "w",
|
|
1242
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1243
|
-
"name": "workspace",
|
|
1244
|
-
"required": false,
|
|
1245
|
-
"hasDynamicHelp": false,
|
|
1246
|
-
"multiple": false,
|
|
1247
|
-
"type": "option"
|
|
1248
1290
|
}
|
|
1249
1291
|
},
|
|
1250
1292
|
"hasDynamicHelp": false,
|
|
1251
1293
|
"hiddenAliases": [],
|
|
1252
|
-
"id": "
|
|
1294
|
+
"id": "profile:delete",
|
|
1253
1295
|
"pluginAlias": "@xano/cli",
|
|
1254
1296
|
"pluginName": "@xano/cli",
|
|
1255
1297
|
"pluginType": "core",
|
|
@@ -1259,7 +1301,7 @@
|
|
|
1259
1301
|
"relativePath": [
|
|
1260
1302
|
"dist",
|
|
1261
1303
|
"commands",
|
|
1262
|
-
"
|
|
1304
|
+
"profile",
|
|
1263
1305
|
"delete",
|
|
1264
1306
|
"index.js"
|
|
1265
1307
|
]
|
|
@@ -1378,28 +1420,17 @@
|
|
|
1378
1420
|
"index.js"
|
|
1379
1421
|
]
|
|
1380
1422
|
},
|
|
1381
|
-
"profile:
|
|
1423
|
+
"profile:get": {
|
|
1382
1424
|
"aliases": [],
|
|
1383
1425
|
"args": {},
|
|
1384
|
-
"description": "
|
|
1426
|
+
"description": "Get the current default profile name",
|
|
1385
1427
|
"examples": [
|
|
1386
|
-
"$ xano profile
|
|
1387
|
-
"$ 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",
|
|
1388
|
-
"$ 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"
|
|
1389
1429
|
],
|
|
1390
|
-
"flags": {
|
|
1391
|
-
"details": {
|
|
1392
|
-
"char": "d",
|
|
1393
|
-
"description": "Show detailed information for each profile",
|
|
1394
|
-
"name": "details",
|
|
1395
|
-
"required": false,
|
|
1396
|
-
"allowNo": false,
|
|
1397
|
-
"type": "boolean"
|
|
1398
|
-
}
|
|
1399
|
-
},
|
|
1430
|
+
"flags": {},
|
|
1400
1431
|
"hasDynamicHelp": false,
|
|
1401
1432
|
"hiddenAliases": [],
|
|
1402
|
-
"id": "profile:
|
|
1433
|
+
"id": "profile:get",
|
|
1403
1434
|
"pluginAlias": "@xano/cli",
|
|
1404
1435
|
"pluginName": "@xano/cli",
|
|
1405
1436
|
"pluginType": "core",
|
|
@@ -1410,21 +1441,32 @@
|
|
|
1410
1441
|
"dist",
|
|
1411
1442
|
"commands",
|
|
1412
1443
|
"profile",
|
|
1413
|
-
"
|
|
1444
|
+
"get",
|
|
1414
1445
|
"index.js"
|
|
1415
1446
|
]
|
|
1416
1447
|
},
|
|
1417
|
-
"profile:
|
|
1448
|
+
"profile:list": {
|
|
1418
1449
|
"aliases": [],
|
|
1419
1450
|
"args": {},
|
|
1420
|
-
"description": "
|
|
1451
|
+
"description": "List all available profile configurations",
|
|
1421
1452
|
"examples": [
|
|
1422
|
-
"$ xano profile
|
|
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"
|
|
1423
1456
|
],
|
|
1424
|
-
"flags": {
|
|
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
|
+
},
|
|
1425
1467
|
"hasDynamicHelp": false,
|
|
1426
1468
|
"hiddenAliases": [],
|
|
1427
|
-
"id": "profile:
|
|
1469
|
+
"id": "profile:list",
|
|
1428
1470
|
"pluginAlias": "@xano/cli",
|
|
1429
1471
|
"pluginName": "@xano/cli",
|
|
1430
1472
|
"pluginType": "core",
|
|
@@ -1435,7 +1477,7 @@
|
|
|
1435
1477
|
"dist",
|
|
1436
1478
|
"commands",
|
|
1437
1479
|
"profile",
|
|
1438
|
-
"
|
|
1480
|
+
"list",
|
|
1439
1481
|
"index.js"
|
|
1440
1482
|
]
|
|
1441
1483
|
},
|
|
@@ -1500,18 +1542,23 @@
|
|
|
1500
1542
|
"index.js"
|
|
1501
1543
|
]
|
|
1502
1544
|
},
|
|
1503
|
-
"profile:
|
|
1545
|
+
"profile:set": {
|
|
1504
1546
|
"aliases": [],
|
|
1505
|
-
"args": {
|
|
1506
|
-
|
|
1547
|
+
"args": {
|
|
1548
|
+
"name": {
|
|
1549
|
+
"description": "Profile name to set as default",
|
|
1550
|
+
"name": "name",
|
|
1551
|
+
"required": true
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"description": "Set the default profile",
|
|
1507
1555
|
"examples": [
|
|
1508
|
-
"$ xano profile
|
|
1509
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1556
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1510
1557
|
],
|
|
1511
1558
|
"flags": {},
|
|
1512
1559
|
"hasDynamicHelp": false,
|
|
1513
1560
|
"hiddenAliases": [],
|
|
1514
|
-
"id": "profile:
|
|
1561
|
+
"id": "profile:set",
|
|
1515
1562
|
"pluginAlias": "@xano/cli",
|
|
1516
1563
|
"pluginName": "@xano/cli",
|
|
1517
1564
|
"pluginType": "core",
|
|
@@ -1522,38 +1569,22 @@
|
|
|
1522
1569
|
"dist",
|
|
1523
1570
|
"commands",
|
|
1524
1571
|
"profile",
|
|
1525
|
-
"
|
|
1572
|
+
"set",
|
|
1526
1573
|
"index.js"
|
|
1527
1574
|
]
|
|
1528
1575
|
},
|
|
1529
|
-
"profile:
|
|
1576
|
+
"profile:token": {
|
|
1530
1577
|
"aliases": [],
|
|
1531
|
-
"args": {
|
|
1532
|
-
|
|
1533
|
-
"description": "Profile name to delete",
|
|
1534
|
-
"name": "name",
|
|
1535
|
-
"required": true
|
|
1536
|
-
}
|
|
1537
|
-
},
|
|
1538
|
-
"description": "Delete a profile configuration",
|
|
1578
|
+
"args": {},
|
|
1579
|
+
"description": "Print the access token for the default profile",
|
|
1539
1580
|
"examples": [
|
|
1540
|
-
"$ xano profile:
|
|
1541
|
-
"$ xano profile:
|
|
1542
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1581
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1582
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1543
1583
|
],
|
|
1544
|
-
"flags": {
|
|
1545
|
-
"force": {
|
|
1546
|
-
"char": "f",
|
|
1547
|
-
"description": "Skip confirmation prompt",
|
|
1548
|
-
"name": "force",
|
|
1549
|
-
"required": false,
|
|
1550
|
-
"allowNo": false,
|
|
1551
|
-
"type": "boolean"
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1584
|
+
"flags": {},
|
|
1554
1585
|
"hasDynamicHelp": false,
|
|
1555
1586
|
"hiddenAliases": [],
|
|
1556
|
-
"id": "profile:
|
|
1587
|
+
"id": "profile:token",
|
|
1557
1588
|
"pluginAlias": "@xano/cli",
|
|
1558
1589
|
"pluginName": "@xano/cli",
|
|
1559
1590
|
"pluginType": "core",
|
|
@@ -1564,27 +1595,41 @@
|
|
|
1564
1595
|
"dist",
|
|
1565
1596
|
"commands",
|
|
1566
1597
|
"profile",
|
|
1567
|
-
"
|
|
1598
|
+
"token",
|
|
1568
1599
|
"index.js"
|
|
1569
1600
|
]
|
|
1570
1601
|
},
|
|
1571
|
-
"profile:
|
|
1602
|
+
"profile:wizard": {
|
|
1572
1603
|
"aliases": [],
|
|
1573
|
-
"args": {
|
|
1604
|
+
"args": {},
|
|
1605
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1606
|
+
"examples": [
|
|
1607
|
+
"$ 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"
|
|
1608
|
+
],
|
|
1609
|
+
"flags": {
|
|
1574
1610
|
"name": {
|
|
1575
|
-
"
|
|
1611
|
+
"char": "n",
|
|
1612
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1576
1613
|
"name": "name",
|
|
1577
|
-
"required":
|
|
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"
|
|
1578
1628
|
}
|
|
1579
1629
|
},
|
|
1580
|
-
"description": "Set the default profile",
|
|
1581
|
-
"examples": [
|
|
1582
|
-
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1583
|
-
],
|
|
1584
|
-
"flags": {},
|
|
1585
1630
|
"hasDynamicHelp": false,
|
|
1586
1631
|
"hiddenAliases": [],
|
|
1587
|
-
"id": "profile:
|
|
1632
|
+
"id": "profile:wizard",
|
|
1588
1633
|
"pluginAlias": "@xano/cli",
|
|
1589
1634
|
"pluginName": "@xano/cli",
|
|
1590
1635
|
"pluginType": "core",
|
|
@@ -1595,7 +1640,7 @@
|
|
|
1595
1640
|
"dist",
|
|
1596
1641
|
"commands",
|
|
1597
1642
|
"profile",
|
|
1598
|
-
"
|
|
1643
|
+
"wizard",
|
|
1599
1644
|
"index.js"
|
|
1600
1645
|
]
|
|
1601
1646
|
},
|
|
@@ -1625,29 +1670,95 @@
|
|
|
1625
1670
|
"index.js"
|
|
1626
1671
|
]
|
|
1627
1672
|
},
|
|
1628
|
-
"
|
|
1673
|
+
"release:create": {
|
|
1629
1674
|
"aliases": [],
|
|
1630
1675
|
"args": {},
|
|
1631
|
-
"description": "Create a new
|
|
1676
|
+
"description": "Create a new release in a workspace",
|
|
1632
1677
|
"examples": [
|
|
1633
|
-
"$ xano
|
|
1678
|
+
"$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
|
|
1679
|
+
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
1634
1680
|
],
|
|
1635
1681
|
"flags": {
|
|
1682
|
+
"profile": {
|
|
1683
|
+
"char": "p",
|
|
1684
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1685
|
+
"env": "XANO_PROFILE",
|
|
1686
|
+
"name": "profile",
|
|
1687
|
+
"required": false,
|
|
1688
|
+
"hasDynamicHelp": false,
|
|
1689
|
+
"multiple": false,
|
|
1690
|
+
"type": "option"
|
|
1691
|
+
},
|
|
1692
|
+
"verbose": {
|
|
1693
|
+
"char": "v",
|
|
1694
|
+
"description": "Show detailed request/response information",
|
|
1695
|
+
"env": "XANO_VERBOSE",
|
|
1696
|
+
"name": "verbose",
|
|
1697
|
+
"required": false,
|
|
1698
|
+
"allowNo": false,
|
|
1699
|
+
"type": "boolean"
|
|
1700
|
+
},
|
|
1701
|
+
"branch": {
|
|
1702
|
+
"char": "b",
|
|
1703
|
+
"description": "Branch to create the release from",
|
|
1704
|
+
"name": "branch",
|
|
1705
|
+
"required": true,
|
|
1706
|
+
"hasDynamicHelp": false,
|
|
1707
|
+
"multiple": false,
|
|
1708
|
+
"type": "option"
|
|
1709
|
+
},
|
|
1710
|
+
"description": {
|
|
1711
|
+
"char": "d",
|
|
1712
|
+
"description": "Release description",
|
|
1713
|
+
"name": "description",
|
|
1714
|
+
"required": false,
|
|
1715
|
+
"hasDynamicHelp": false,
|
|
1716
|
+
"multiple": false,
|
|
1717
|
+
"type": "option"
|
|
1718
|
+
},
|
|
1719
|
+
"hotfix": {
|
|
1720
|
+
"description": "Mark as a hotfix release",
|
|
1721
|
+
"name": "hotfix",
|
|
1722
|
+
"required": false,
|
|
1723
|
+
"allowNo": false,
|
|
1724
|
+
"type": "boolean"
|
|
1725
|
+
},
|
|
1636
1726
|
"name": {
|
|
1637
1727
|
"char": "n",
|
|
1638
|
-
"description": "
|
|
1728
|
+
"description": "Name for the release",
|
|
1639
1729
|
"name": "name",
|
|
1640
|
-
"required":
|
|
1730
|
+
"required": true,
|
|
1641
1731
|
"hasDynamicHelp": false,
|
|
1642
1732
|
"multiple": false,
|
|
1643
1733
|
"type": "option"
|
|
1644
1734
|
},
|
|
1645
|
-
"
|
|
1735
|
+
"output": {
|
|
1646
1736
|
"char": "o",
|
|
1647
|
-
"description": "
|
|
1648
|
-
"name": "
|
|
1737
|
+
"description": "Output format",
|
|
1738
|
+
"name": "output",
|
|
1739
|
+
"required": false,
|
|
1740
|
+
"default": "summary",
|
|
1741
|
+
"hasDynamicHelp": false,
|
|
1742
|
+
"multiple": false,
|
|
1743
|
+
"options": [
|
|
1744
|
+
"summary",
|
|
1745
|
+
"json"
|
|
1746
|
+
],
|
|
1747
|
+
"type": "option"
|
|
1748
|
+
},
|
|
1749
|
+
"table-ids": {
|
|
1750
|
+
"description": "Comma-separated table IDs to include",
|
|
1751
|
+
"name": "table-ids",
|
|
1752
|
+
"required": false,
|
|
1753
|
+
"hasDynamicHelp": false,
|
|
1754
|
+
"multiple": false,
|
|
1755
|
+
"type": "option"
|
|
1756
|
+
},
|
|
1757
|
+
"workspace": {
|
|
1758
|
+
"char": "w",
|
|
1759
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1760
|
+
"name": "workspace",
|
|
1649
1761
|
"required": false,
|
|
1650
|
-
"default": "https://app.xano.com",
|
|
1651
1762
|
"hasDynamicHelp": false,
|
|
1652
1763
|
"multiple": false,
|
|
1653
1764
|
"type": "option"
|
|
@@ -1655,7 +1766,7 @@
|
|
|
1655
1766
|
},
|
|
1656
1767
|
"hasDynamicHelp": false,
|
|
1657
1768
|
"hiddenAliases": [],
|
|
1658
|
-
"id": "
|
|
1769
|
+
"id": "release:create",
|
|
1659
1770
|
"pluginAlias": "@xano/cli",
|
|
1660
1771
|
"pluginName": "@xano/cli",
|
|
1661
1772
|
"pluginType": "core",
|
|
@@ -1665,8 +1776,8 @@
|
|
|
1665
1776
|
"relativePath": [
|
|
1666
1777
|
"dist",
|
|
1667
1778
|
"commands",
|
|
1668
|
-
"
|
|
1669
|
-
"
|
|
1779
|
+
"release",
|
|
1780
|
+
"create",
|
|
1670
1781
|
"index.js"
|
|
1671
1782
|
]
|
|
1672
1783
|
},
|
|
@@ -1931,13 +2042,19 @@
|
|
|
1931
2042
|
"index.js"
|
|
1932
2043
|
]
|
|
1933
2044
|
},
|
|
1934
|
-
"release:
|
|
2045
|
+
"release:get": {
|
|
1935
2046
|
"aliases": [],
|
|
1936
|
-
"args": {
|
|
1937
|
-
|
|
2047
|
+
"args": {
|
|
2048
|
+
"release_name": {
|
|
2049
|
+
"description": "Release name to retrieve",
|
|
2050
|
+
"name": "release_name",
|
|
2051
|
+
"required": true
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
"description": "Get details of a specific release",
|
|
1938
2055
|
"examples": [
|
|
1939
|
-
"$ xano release
|
|
1940
|
-
"$ xano release
|
|
2056
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2057
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
1941
2058
|
],
|
|
1942
2059
|
"flags": {
|
|
1943
2060
|
"profile": {
|
|
@@ -1959,60 +2076,18 @@
|
|
|
1959
2076
|
"allowNo": false,
|
|
1960
2077
|
"type": "boolean"
|
|
1961
2078
|
},
|
|
1962
|
-
"
|
|
1963
|
-
"char": "
|
|
1964
|
-
"description": "
|
|
1965
|
-
"name": "
|
|
1966
|
-
"required":
|
|
1967
|
-
"
|
|
1968
|
-
"multiple": false,
|
|
1969
|
-
"type": "option"
|
|
1970
|
-
},
|
|
1971
|
-
"description": {
|
|
1972
|
-
"char": "d",
|
|
1973
|
-
"description": "Release description",
|
|
1974
|
-
"name": "description",
|
|
1975
|
-
"required": false,
|
|
1976
|
-
"hasDynamicHelp": false,
|
|
1977
|
-
"multiple": false,
|
|
1978
|
-
"type": "option"
|
|
1979
|
-
},
|
|
1980
|
-
"hotfix": {
|
|
1981
|
-
"description": "Mark as a hotfix release",
|
|
1982
|
-
"name": "hotfix",
|
|
1983
|
-
"required": false,
|
|
1984
|
-
"allowNo": false,
|
|
1985
|
-
"type": "boolean"
|
|
1986
|
-
},
|
|
1987
|
-
"name": {
|
|
1988
|
-
"char": "n",
|
|
1989
|
-
"description": "Name for the release",
|
|
1990
|
-
"name": "name",
|
|
1991
|
-
"required": true,
|
|
1992
|
-
"hasDynamicHelp": false,
|
|
1993
|
-
"multiple": false,
|
|
1994
|
-
"type": "option"
|
|
1995
|
-
},
|
|
1996
|
-
"output": {
|
|
1997
|
-
"char": "o",
|
|
1998
|
-
"description": "Output format",
|
|
1999
|
-
"name": "output",
|
|
2000
|
-
"required": false,
|
|
2001
|
-
"default": "summary",
|
|
2002
|
-
"hasDynamicHelp": false,
|
|
2003
|
-
"multiple": false,
|
|
2004
|
-
"options": [
|
|
2005
|
-
"summary",
|
|
2006
|
-
"json"
|
|
2007
|
-
],
|
|
2008
|
-
"type": "option"
|
|
2009
|
-
},
|
|
2010
|
-
"table-ids": {
|
|
2011
|
-
"description": "Comma-separated table IDs to include",
|
|
2012
|
-
"name": "table-ids",
|
|
2013
|
-
"required": false,
|
|
2079
|
+
"output": {
|
|
2080
|
+
"char": "o",
|
|
2081
|
+
"description": "Output format",
|
|
2082
|
+
"name": "output",
|
|
2083
|
+
"required": false,
|
|
2084
|
+
"default": "summary",
|
|
2014
2085
|
"hasDynamicHelp": false,
|
|
2015
2086
|
"multiple": false,
|
|
2087
|
+
"options": [
|
|
2088
|
+
"summary",
|
|
2089
|
+
"json"
|
|
2090
|
+
],
|
|
2016
2091
|
"type": "option"
|
|
2017
2092
|
},
|
|
2018
2093
|
"workspace": {
|
|
@@ -2027,7 +2102,7 @@
|
|
|
2027
2102
|
},
|
|
2028
2103
|
"hasDynamicHelp": false,
|
|
2029
2104
|
"hiddenAliases": [],
|
|
2030
|
-
"id": "release:
|
|
2105
|
+
"id": "release:get",
|
|
2031
2106
|
"pluginAlias": "@xano/cli",
|
|
2032
2107
|
"pluginName": "@xano/cli",
|
|
2033
2108
|
"pluginType": "core",
|
|
@@ -2038,7 +2113,7 @@
|
|
|
2038
2113
|
"dist",
|
|
2039
2114
|
"commands",
|
|
2040
2115
|
"release",
|
|
2041
|
-
"
|
|
2116
|
+
"get",
|
|
2042
2117
|
"index.js"
|
|
2043
2118
|
]
|
|
2044
2119
|
},
|
|
@@ -2481,19 +2556,19 @@
|
|
|
2481
2556
|
"index.js"
|
|
2482
2557
|
]
|
|
2483
2558
|
},
|
|
2484
|
-
"
|
|
2559
|
+
"tenant:create": {
|
|
2485
2560
|
"aliases": [],
|
|
2486
2561
|
"args": {
|
|
2487
|
-
"
|
|
2488
|
-
"description": "
|
|
2489
|
-
"name": "
|
|
2562
|
+
"display": {
|
|
2563
|
+
"description": "Display name for the tenant",
|
|
2564
|
+
"name": "display",
|
|
2490
2565
|
"required": true
|
|
2491
2566
|
}
|
|
2492
2567
|
},
|
|
2493
|
-
"description": "
|
|
2568
|
+
"description": "Create a new tenant in a workspace",
|
|
2494
2569
|
"examples": [
|
|
2495
|
-
"$ xano
|
|
2496
|
-
"$ xano
|
|
2570
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2571
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2497
2572
|
],
|
|
2498
2573
|
"flags": {
|
|
2499
2574
|
"profile": {
|
|
@@ -2515,81 +2590,57 @@
|
|
|
2515
2590
|
"allowNo": false,
|
|
2516
2591
|
"type": "boolean"
|
|
2517
2592
|
},
|
|
2518
|
-
"
|
|
2519
|
-
"
|
|
2520
|
-
"
|
|
2521
|
-
"name": "output",
|
|
2593
|
+
"cluster_id": {
|
|
2594
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2595
|
+
"name": "cluster_id",
|
|
2522
2596
|
"required": false,
|
|
2523
|
-
"default": "summary",
|
|
2524
2597
|
"hasDynamicHelp": false,
|
|
2525
2598
|
"multiple": false,
|
|
2526
|
-
"options": [
|
|
2527
|
-
"summary",
|
|
2528
|
-
"json"
|
|
2529
|
-
],
|
|
2530
2599
|
"type": "option"
|
|
2531
2600
|
},
|
|
2532
|
-
"
|
|
2533
|
-
"char": "
|
|
2534
|
-
"description": "
|
|
2535
|
-
"name": "
|
|
2601
|
+
"description": {
|
|
2602
|
+
"char": "d",
|
|
2603
|
+
"description": "Tenant description",
|
|
2604
|
+
"name": "description",
|
|
2536
2605
|
"required": false,
|
|
2537
2606
|
"hasDynamicHelp": false,
|
|
2538
2607
|
"multiple": false,
|
|
2539
2608
|
"type": "option"
|
|
2540
|
-
}
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
"id": "release:get",
|
|
2545
|
-
"pluginAlias": "@xano/cli",
|
|
2546
|
-
"pluginName": "@xano/cli",
|
|
2547
|
-
"pluginType": "core",
|
|
2548
|
-
"strict": true,
|
|
2549
|
-
"enableJsonFlag": false,
|
|
2550
|
-
"isESM": true,
|
|
2551
|
-
"relativePath": [
|
|
2552
|
-
"dist",
|
|
2553
|
-
"commands",
|
|
2554
|
-
"release",
|
|
2555
|
-
"get",
|
|
2556
|
-
"index.js"
|
|
2557
|
-
]
|
|
2558
|
-
},
|
|
2559
|
-
"tenant:deploy_platform": {
|
|
2560
|
-
"aliases": [],
|
|
2561
|
-
"args": {
|
|
2562
|
-
"tenant_name": {
|
|
2563
|
-
"description": "Tenant name to deploy to",
|
|
2564
|
-
"name": "tenant_name",
|
|
2565
|
-
"required": true
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
"description": "Deploy a platform version to a tenant",
|
|
2569
|
-
"examples": [
|
|
2570
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2571
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2572
|
-
],
|
|
2573
|
-
"flags": {
|
|
2574
|
-
"profile": {
|
|
2575
|
-
"char": "p",
|
|
2576
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2577
|
-
"env": "XANO_PROFILE",
|
|
2578
|
-
"name": "profile",
|
|
2609
|
+
},
|
|
2610
|
+
"domain": {
|
|
2611
|
+
"description": "Custom domain for the tenant",
|
|
2612
|
+
"name": "domain",
|
|
2579
2613
|
"required": false,
|
|
2580
2614
|
"hasDynamicHelp": false,
|
|
2581
2615
|
"multiple": false,
|
|
2582
2616
|
"type": "option"
|
|
2583
2617
|
},
|
|
2584
|
-
"
|
|
2585
|
-
"
|
|
2586
|
-
"
|
|
2587
|
-
"env": "XANO_VERBOSE",
|
|
2588
|
-
"name": "verbose",
|
|
2589
|
-
"required": false,
|
|
2618
|
+
"ephemeral": {
|
|
2619
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2620
|
+
"name": "ephemeral",
|
|
2590
2621
|
"allowNo": false,
|
|
2591
2622
|
"type": "boolean"
|
|
2592
2623
|
},
|
|
2624
|
+
"ingress": {
|
|
2625
|
+
"description": "Enable ingress",
|
|
2626
|
+
"name": "ingress",
|
|
2627
|
+
"allowNo": true,
|
|
2628
|
+
"type": "boolean"
|
|
2629
|
+
},
|
|
2630
|
+
"license": {
|
|
2631
|
+
"description": "License tier",
|
|
2632
|
+
"name": "license",
|
|
2633
|
+
"required": false,
|
|
2634
|
+
"default": "tier1",
|
|
2635
|
+
"hasDynamicHelp": false,
|
|
2636
|
+
"multiple": false,
|
|
2637
|
+
"options": [
|
|
2638
|
+
"tier1",
|
|
2639
|
+
"tier2",
|
|
2640
|
+
"tier3"
|
|
2641
|
+
],
|
|
2642
|
+
"type": "option"
|
|
2643
|
+
},
|
|
2593
2644
|
"output": {
|
|
2594
2645
|
"char": "o",
|
|
2595
2646
|
"description": "Output format",
|
|
@@ -2605,13 +2656,19 @@
|
|
|
2605
2656
|
"type": "option"
|
|
2606
2657
|
},
|
|
2607
2658
|
"platform_id": {
|
|
2608
|
-
"description": "Platform ID to
|
|
2659
|
+
"description": "Platform ID to use",
|
|
2609
2660
|
"name": "platform_id",
|
|
2610
|
-
"required":
|
|
2661
|
+
"required": false,
|
|
2611
2662
|
"hasDynamicHelp": false,
|
|
2612
2663
|
"multiple": false,
|
|
2613
2664
|
"type": "option"
|
|
2614
2665
|
},
|
|
2666
|
+
"tasks": {
|
|
2667
|
+
"description": "Enable background tasks",
|
|
2668
|
+
"name": "tasks",
|
|
2669
|
+
"allowNo": true,
|
|
2670
|
+
"type": "boolean"
|
|
2671
|
+
},
|
|
2615
2672
|
"workspace": {
|
|
2616
2673
|
"char": "w",
|
|
2617
2674
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2624,7 +2681,7 @@
|
|
|
2624
2681
|
},
|
|
2625
2682
|
"hasDynamicHelp": false,
|
|
2626
2683
|
"hiddenAliases": [],
|
|
2627
|
-
"id": "tenant:
|
|
2684
|
+
"id": "tenant:create",
|
|
2628
2685
|
"pluginAlias": "@xano/cli",
|
|
2629
2686
|
"pluginName": "@xano/cli",
|
|
2630
2687
|
"pluginType": "core",
|
|
@@ -2635,7 +2692,7 @@
|
|
|
2635
2692
|
"dist",
|
|
2636
2693
|
"commands",
|
|
2637
2694
|
"tenant",
|
|
2638
|
-
"
|
|
2695
|
+
"create",
|
|
2639
2696
|
"index.js"
|
|
2640
2697
|
]
|
|
2641
2698
|
},
|
|
@@ -2723,19 +2780,19 @@
|
|
|
2723
2780
|
"index.js"
|
|
2724
2781
|
]
|
|
2725
2782
|
},
|
|
2726
|
-
"tenant:
|
|
2783
|
+
"tenant:deploy_platform": {
|
|
2727
2784
|
"aliases": [],
|
|
2728
2785
|
"args": {
|
|
2729
|
-
"
|
|
2730
|
-
"description": "
|
|
2731
|
-
"name": "
|
|
2786
|
+
"tenant_name": {
|
|
2787
|
+
"description": "Tenant name to deploy to",
|
|
2788
|
+
"name": "tenant_name",
|
|
2732
2789
|
"required": true
|
|
2733
2790
|
}
|
|
2734
2791
|
},
|
|
2735
|
-
"description": "
|
|
2792
|
+
"description": "Deploy a platform version to a tenant",
|
|
2736
2793
|
"examples": [
|
|
2737
|
-
"$ xano tenant
|
|
2738
|
-
"$ 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"
|
|
2739
2796
|
],
|
|
2740
2797
|
"flags": {
|
|
2741
2798
|
"profile": {
|
|
@@ -2757,57 +2814,6 @@
|
|
|
2757
2814
|
"allowNo": false,
|
|
2758
2815
|
"type": "boolean"
|
|
2759
2816
|
},
|
|
2760
|
-
"cluster_id": {
|
|
2761
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2762
|
-
"name": "cluster_id",
|
|
2763
|
-
"required": false,
|
|
2764
|
-
"hasDynamicHelp": false,
|
|
2765
|
-
"multiple": false,
|
|
2766
|
-
"type": "option"
|
|
2767
|
-
},
|
|
2768
|
-
"description": {
|
|
2769
|
-
"char": "d",
|
|
2770
|
-
"description": "Tenant description",
|
|
2771
|
-
"name": "description",
|
|
2772
|
-
"required": false,
|
|
2773
|
-
"hasDynamicHelp": false,
|
|
2774
|
-
"multiple": false,
|
|
2775
|
-
"type": "option"
|
|
2776
|
-
},
|
|
2777
|
-
"domain": {
|
|
2778
|
-
"description": "Custom domain for the tenant",
|
|
2779
|
-
"name": "domain",
|
|
2780
|
-
"required": false,
|
|
2781
|
-
"hasDynamicHelp": false,
|
|
2782
|
-
"multiple": false,
|
|
2783
|
-
"type": "option"
|
|
2784
|
-
},
|
|
2785
|
-
"ephemeral": {
|
|
2786
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2787
|
-
"name": "ephemeral",
|
|
2788
|
-
"allowNo": false,
|
|
2789
|
-
"type": "boolean"
|
|
2790
|
-
},
|
|
2791
|
-
"ingress": {
|
|
2792
|
-
"description": "Enable ingress",
|
|
2793
|
-
"name": "ingress",
|
|
2794
|
-
"allowNo": true,
|
|
2795
|
-
"type": "boolean"
|
|
2796
|
-
},
|
|
2797
|
-
"license": {
|
|
2798
|
-
"description": "License tier",
|
|
2799
|
-
"name": "license",
|
|
2800
|
-
"required": false,
|
|
2801
|
-
"default": "tier1",
|
|
2802
|
-
"hasDynamicHelp": false,
|
|
2803
|
-
"multiple": false,
|
|
2804
|
-
"options": [
|
|
2805
|
-
"tier1",
|
|
2806
|
-
"tier2",
|
|
2807
|
-
"tier3"
|
|
2808
|
-
],
|
|
2809
|
-
"type": "option"
|
|
2810
|
-
},
|
|
2811
2817
|
"output": {
|
|
2812
2818
|
"char": "o",
|
|
2813
2819
|
"description": "Output format",
|
|
@@ -2823,19 +2829,13 @@
|
|
|
2823
2829
|
"type": "option"
|
|
2824
2830
|
},
|
|
2825
2831
|
"platform_id": {
|
|
2826
|
-
"description": "Platform ID to
|
|
2832
|
+
"description": "Platform ID to deploy",
|
|
2827
2833
|
"name": "platform_id",
|
|
2828
|
-
"required":
|
|
2834
|
+
"required": true,
|
|
2829
2835
|
"hasDynamicHelp": false,
|
|
2830
2836
|
"multiple": false,
|
|
2831
2837
|
"type": "option"
|
|
2832
2838
|
},
|
|
2833
|
-
"tasks": {
|
|
2834
|
-
"description": "Enable background tasks",
|
|
2835
|
-
"name": "tasks",
|
|
2836
|
-
"allowNo": true,
|
|
2837
|
-
"type": "boolean"
|
|
2838
|
-
},
|
|
2839
2839
|
"workspace": {
|
|
2840
2840
|
"char": "w",
|
|
2841
2841
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2848,7 +2848,7 @@
|
|
|
2848
2848
|
},
|
|
2849
2849
|
"hasDynamicHelp": false,
|
|
2850
2850
|
"hiddenAliases": [],
|
|
2851
|
-
"id": "tenant:
|
|
2851
|
+
"id": "tenant:deploy_platform",
|
|
2852
2852
|
"pluginAlias": "@xano/cli",
|
|
2853
2853
|
"pluginName": "@xano/cli",
|
|
2854
2854
|
"pluginType": "core",
|
|
@@ -2859,7 +2859,7 @@
|
|
|
2859
2859
|
"dist",
|
|
2860
2860
|
"commands",
|
|
2861
2861
|
"tenant",
|
|
2862
|
-
"
|
|
2862
|
+
"deploy_platform",
|
|
2863
2863
|
"index.js"
|
|
2864
2864
|
]
|
|
2865
2865
|
},
|
|
@@ -3396,23 +3396,14 @@
|
|
|
3396
3396
|
"index.js"
|
|
3397
3397
|
]
|
|
3398
3398
|
},
|
|
3399
|
-
"
|
|
3399
|
+
"unit_test:list": {
|
|
3400
3400
|
"aliases": [],
|
|
3401
|
-
"args": {
|
|
3402
|
-
|
|
3403
|
-
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3404
|
-
"name": "directory",
|
|
3405
|
-
"required": true
|
|
3406
|
-
}
|
|
3407
|
-
},
|
|
3408
|
-
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3401
|
+
"args": {},
|
|
3402
|
+
"description": "List all unit tests in a workspace",
|
|
3409
3403
|
"examples": [
|
|
3410
|
-
"$ xano
|
|
3411
|
-
"$ xano
|
|
3412
|
-
"$ xano
|
|
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"
|
|
3404
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3405
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3406
|
+
"$ xano unit-test list --obj-type function"
|
|
3416
3407
|
],
|
|
3417
3408
|
"flags": {
|
|
3418
3409
|
"profile": {
|
|
@@ -3434,39 +3425,45 @@
|
|
|
3434
3425
|
"allowNo": false,
|
|
3435
3426
|
"type": "boolean"
|
|
3436
3427
|
},
|
|
3437
|
-
"
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3428
|
+
"branch": {
|
|
3429
|
+
"char": "b",
|
|
3430
|
+
"description": "Filter by branch name",
|
|
3431
|
+
"name": "branch",
|
|
3440
3432
|
"required": false,
|
|
3441
|
-
"
|
|
3442
|
-
"
|
|
3433
|
+
"hasDynamicHelp": false,
|
|
3434
|
+
"multiple": false,
|
|
3435
|
+
"type": "option"
|
|
3443
3436
|
},
|
|
3444
|
-
"
|
|
3445
|
-
"description": "
|
|
3446
|
-
"name": "
|
|
3437
|
+
"obj-type": {
|
|
3438
|
+
"description": "Filter by object type",
|
|
3439
|
+
"name": "obj-type",
|
|
3447
3440
|
"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,
|
|
3456
3441
|
"hasDynamicHelp": false,
|
|
3457
3442
|
"multiple": false,
|
|
3443
|
+
"options": [
|
|
3444
|
+
"function",
|
|
3445
|
+
"query",
|
|
3446
|
+
"middleware"
|
|
3447
|
+
],
|
|
3458
3448
|
"type": "option"
|
|
3459
3449
|
},
|
|
3460
|
-
"
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3450
|
+
"output": {
|
|
3451
|
+
"char": "o",
|
|
3452
|
+
"description": "Output format",
|
|
3453
|
+
"name": "output",
|
|
3463
3454
|
"required": false,
|
|
3464
|
-
"
|
|
3465
|
-
"
|
|
3455
|
+
"default": "summary",
|
|
3456
|
+
"hasDynamicHelp": false,
|
|
3457
|
+
"multiple": false,
|
|
3458
|
+
"options": [
|
|
3459
|
+
"summary",
|
|
3460
|
+
"json"
|
|
3461
|
+
],
|
|
3462
|
+
"type": "option"
|
|
3466
3463
|
},
|
|
3467
3464
|
"workspace": {
|
|
3468
3465
|
"char": "w",
|
|
3469
|
-
"description": "Workspace ID (
|
|
3466
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3470
3467
|
"name": "workspace",
|
|
3471
3468
|
"required": false,
|
|
3472
3469
|
"hasDynamicHelp": false,
|
|
@@ -3476,7 +3473,7 @@
|
|
|
3476
3473
|
},
|
|
3477
3474
|
"hasDynamicHelp": false,
|
|
3478
3475
|
"hiddenAliases": [],
|
|
3479
|
-
"id": "
|
|
3476
|
+
"id": "unit_test:list",
|
|
3480
3477
|
"pluginAlias": "@xano/cli",
|
|
3481
3478
|
"pluginName": "@xano/cli",
|
|
3482
3479
|
"pluginType": "core",
|
|
@@ -3486,24 +3483,28 @@
|
|
|
3486
3483
|
"relativePath": [
|
|
3487
3484
|
"dist",
|
|
3488
3485
|
"commands",
|
|
3489
|
-
"
|
|
3490
|
-
"
|
|
3486
|
+
"unit_test",
|
|
3487
|
+
"list",
|
|
3491
3488
|
"index.js"
|
|
3492
3489
|
]
|
|
3493
3490
|
},
|
|
3494
|
-
"
|
|
3491
|
+
"tenant:push": {
|
|
3495
3492
|
"aliases": [],
|
|
3496
3493
|
"args": {
|
|
3497
|
-
"
|
|
3498
|
-
"description": "
|
|
3499
|
-
"name": "
|
|
3494
|
+
"directory": {
|
|
3495
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3496
|
+
"name": "directory",
|
|
3500
3497
|
"required": true
|
|
3501
3498
|
}
|
|
3502
3499
|
},
|
|
3503
|
-
"description": "
|
|
3500
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3504
3501
|
"examples": [
|
|
3505
|
-
"$ xano
|
|
3506
|
-
"$ xano
|
|
3502
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3503
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3504
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3505
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3506
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3507
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3507
3508
|
],
|
|
3508
3509
|
"flags": {
|
|
3509
3510
|
"profile": {
|
|
@@ -3525,23 +3526,39 @@
|
|
|
3525
3526
|
"allowNo": false,
|
|
3526
3527
|
"type": "boolean"
|
|
3527
3528
|
},
|
|
3528
|
-
"
|
|
3529
|
-
"
|
|
3530
|
-
"
|
|
3531
|
-
"name": "output",
|
|
3529
|
+
"env": {
|
|
3530
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3531
|
+
"name": "env",
|
|
3532
3532
|
"required": false,
|
|
3533
|
-
"
|
|
3533
|
+
"allowNo": true,
|
|
3534
|
+
"type": "boolean"
|
|
3535
|
+
},
|
|
3536
|
+
"records": {
|
|
3537
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3538
|
+
"name": "records",
|
|
3539
|
+
"required": false,
|
|
3540
|
+
"allowNo": true,
|
|
3541
|
+
"type": "boolean"
|
|
3542
|
+
},
|
|
3543
|
+
"tenant": {
|
|
3544
|
+
"char": "t",
|
|
3545
|
+
"description": "Tenant name to push to",
|
|
3546
|
+
"name": "tenant",
|
|
3547
|
+
"required": true,
|
|
3534
3548
|
"hasDynamicHelp": false,
|
|
3535
3549
|
"multiple": false,
|
|
3536
|
-
"options": [
|
|
3537
|
-
"summary",
|
|
3538
|
-
"json"
|
|
3539
|
-
],
|
|
3540
3550
|
"type": "option"
|
|
3541
3551
|
},
|
|
3552
|
+
"truncate": {
|
|
3553
|
+
"description": "Truncate all table records before importing",
|
|
3554
|
+
"name": "truncate",
|
|
3555
|
+
"required": false,
|
|
3556
|
+
"allowNo": false,
|
|
3557
|
+
"type": "boolean"
|
|
3558
|
+
},
|
|
3542
3559
|
"workspace": {
|
|
3543
3560
|
"char": "w",
|
|
3544
|
-
"description": "Workspace ID (
|
|
3561
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3545
3562
|
"name": "workspace",
|
|
3546
3563
|
"required": false,
|
|
3547
3564
|
"hasDynamicHelp": false,
|
|
@@ -3551,7 +3568,7 @@
|
|
|
3551
3568
|
},
|
|
3552
3569
|
"hasDynamicHelp": false,
|
|
3553
3570
|
"hiddenAliases": [],
|
|
3554
|
-
"id": "
|
|
3571
|
+
"id": "tenant:push",
|
|
3555
3572
|
"pluginAlias": "@xano/cli",
|
|
3556
3573
|
"pluginName": "@xano/cli",
|
|
3557
3574
|
"pluginType": "core",
|
|
@@ -3561,19 +3578,18 @@
|
|
|
3561
3578
|
"relativePath": [
|
|
3562
3579
|
"dist",
|
|
3563
3580
|
"commands",
|
|
3564
|
-
"
|
|
3565
|
-
"
|
|
3581
|
+
"tenant",
|
|
3582
|
+
"push",
|
|
3566
3583
|
"index.js"
|
|
3567
3584
|
]
|
|
3568
3585
|
},
|
|
3569
|
-
"unit_test:
|
|
3586
|
+
"unit_test:run_all": {
|
|
3570
3587
|
"aliases": [],
|
|
3571
3588
|
"args": {},
|
|
3572
|
-
"description": "
|
|
3589
|
+
"description": "Run all unit tests in a workspace",
|
|
3573
3590
|
"examples": [
|
|
3574
|
-
"$ xano unit-test
|
|
3575
|
-
"$ xano unit-test
|
|
3576
|
-
"$ xano unit-test list --obj-type function"
|
|
3591
|
+
"$ 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",
|
|
3592
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3577
3593
|
],
|
|
3578
3594
|
"flags": {
|
|
3579
3595
|
"profile": {
|
|
@@ -3643,7 +3659,7 @@
|
|
|
3643
3659
|
},
|
|
3644
3660
|
"hasDynamicHelp": false,
|
|
3645
3661
|
"hiddenAliases": [],
|
|
3646
|
-
"id": "unit_test:
|
|
3662
|
+
"id": "unit_test:run_all",
|
|
3647
3663
|
"pluginAlias": "@xano/cli",
|
|
3648
3664
|
"pluginName": "@xano/cli",
|
|
3649
3665
|
"pluginType": "core",
|
|
@@ -3654,17 +3670,23 @@
|
|
|
3654
3670
|
"dist",
|
|
3655
3671
|
"commands",
|
|
3656
3672
|
"unit_test",
|
|
3657
|
-
"
|
|
3673
|
+
"run_all",
|
|
3658
3674
|
"index.js"
|
|
3659
3675
|
]
|
|
3660
3676
|
},
|
|
3661
|
-
"unit_test:
|
|
3677
|
+
"unit_test:run": {
|
|
3662
3678
|
"aliases": [],
|
|
3663
|
-
"args": {
|
|
3664
|
-
|
|
3679
|
+
"args": {
|
|
3680
|
+
"unit_test_id": {
|
|
3681
|
+
"description": "ID of the unit test to run",
|
|
3682
|
+
"name": "unit_test_id",
|
|
3683
|
+
"required": true
|
|
3684
|
+
}
|
|
3685
|
+
},
|
|
3686
|
+
"description": "Run a unit test",
|
|
3665
3687
|
"examples": [
|
|
3666
|
-
"$ xano unit-test run-
|
|
3667
|
-
"$ xano unit-test run
|
|
3688
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3689
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3668
3690
|
],
|
|
3669
3691
|
"flags": {
|
|
3670
3692
|
"profile": {
|
|
@@ -3686,28 +3708,6 @@
|
|
|
3686
3708
|
"allowNo": false,
|
|
3687
3709
|
"type": "boolean"
|
|
3688
3710
|
},
|
|
3689
|
-
"branch": {
|
|
3690
|
-
"char": "b",
|
|
3691
|
-
"description": "Filter by branch name",
|
|
3692
|
-
"name": "branch",
|
|
3693
|
-
"required": false,
|
|
3694
|
-
"hasDynamicHelp": false,
|
|
3695
|
-
"multiple": false,
|
|
3696
|
-
"type": "option"
|
|
3697
|
-
},
|
|
3698
|
-
"obj-type": {
|
|
3699
|
-
"description": "Filter by object type",
|
|
3700
|
-
"name": "obj-type",
|
|
3701
|
-
"required": false,
|
|
3702
|
-
"hasDynamicHelp": false,
|
|
3703
|
-
"multiple": false,
|
|
3704
|
-
"options": [
|
|
3705
|
-
"function",
|
|
3706
|
-
"query",
|
|
3707
|
-
"middleware"
|
|
3708
|
-
],
|
|
3709
|
-
"type": "option"
|
|
3710
|
-
},
|
|
3711
3711
|
"output": {
|
|
3712
3712
|
"char": "o",
|
|
3713
3713
|
"description": "Output format",
|
|
@@ -3734,7 +3734,7 @@
|
|
|
3734
3734
|
},
|
|
3735
3735
|
"hasDynamicHelp": false,
|
|
3736
3736
|
"hiddenAliases": [],
|
|
3737
|
-
"id": "unit_test:
|
|
3737
|
+
"id": "unit_test:run",
|
|
3738
3738
|
"pluginAlias": "@xano/cli",
|
|
3739
3739
|
"pluginName": "@xano/cli",
|
|
3740
3740
|
"pluginType": "core",
|
|
@@ -3745,24 +3745,24 @@
|
|
|
3745
3745
|
"dist",
|
|
3746
3746
|
"commands",
|
|
3747
3747
|
"unit_test",
|
|
3748
|
-
"
|
|
3748
|
+
"run",
|
|
3749
3749
|
"index.js"
|
|
3750
3750
|
]
|
|
3751
3751
|
},
|
|
3752
|
-
"
|
|
3752
|
+
"workflow_test:get": {
|
|
3753
3753
|
"aliases": [],
|
|
3754
3754
|
"args": {
|
|
3755
|
-
"
|
|
3756
|
-
"description": "
|
|
3757
|
-
"name": "
|
|
3755
|
+
"workflow_test_id": {
|
|
3756
|
+
"description": "ID of the workflow test",
|
|
3757
|
+
"name": "workflow_test_id",
|
|
3758
3758
|
"required": true
|
|
3759
3759
|
}
|
|
3760
3760
|
},
|
|
3761
|
-
"description": "
|
|
3761
|
+
"description": "Get a specific workflow test",
|
|
3762
3762
|
"examples": [
|
|
3763
|
-
"$ xano
|
|
3764
|
-
"$ xano
|
|
3765
|
-
"$ xano
|
|
3763
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3764
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3765
|
+
"$ xano workflow-test get 1 -o json"
|
|
3766
3766
|
],
|
|
3767
3767
|
"flags": {
|
|
3768
3768
|
"profile": {
|
|
@@ -3784,14 +3784,12 @@
|
|
|
3784
3784
|
"allowNo": false,
|
|
3785
3785
|
"type": "boolean"
|
|
3786
3786
|
},
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3789
|
-
"
|
|
3790
|
-
"name": "description",
|
|
3787
|
+
"include-draft": {
|
|
3788
|
+
"description": "Include draft version",
|
|
3789
|
+
"name": "include-draft",
|
|
3791
3790
|
"required": false,
|
|
3792
|
-
"
|
|
3793
|
-
"
|
|
3794
|
-
"type": "option"
|
|
3791
|
+
"allowNo": false,
|
|
3792
|
+
"type": "boolean"
|
|
3795
3793
|
},
|
|
3796
3794
|
"output": {
|
|
3797
3795
|
"char": "o",
|
|
@@ -3803,14 +3801,24 @@
|
|
|
3803
3801
|
"multiple": false,
|
|
3804
3802
|
"options": [
|
|
3805
3803
|
"summary",
|
|
3806
|
-
"json"
|
|
3804
|
+
"json",
|
|
3805
|
+
"xs"
|
|
3807
3806
|
],
|
|
3808
3807
|
"type": "option"
|
|
3808
|
+
},
|
|
3809
|
+
"workspace": {
|
|
3810
|
+
"char": "w",
|
|
3811
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3812
|
+
"name": "workspace",
|
|
3813
|
+
"required": false,
|
|
3814
|
+
"hasDynamicHelp": false,
|
|
3815
|
+
"multiple": false,
|
|
3816
|
+
"type": "option"
|
|
3809
3817
|
}
|
|
3810
3818
|
},
|
|
3811
3819
|
"hasDynamicHelp": false,
|
|
3812
3820
|
"hiddenAliases": [],
|
|
3813
|
-
"id": "
|
|
3821
|
+
"id": "workflow_test:get",
|
|
3814
3822
|
"pluginAlias": "@xano/cli",
|
|
3815
3823
|
"pluginName": "@xano/cli",
|
|
3816
3824
|
"pluginType": "core",
|
|
@@ -3820,25 +3828,24 @@
|
|
|
3820
3828
|
"relativePath": [
|
|
3821
3829
|
"dist",
|
|
3822
3830
|
"commands",
|
|
3823
|
-
"
|
|
3824
|
-
"
|
|
3831
|
+
"workflow_test",
|
|
3832
|
+
"get",
|
|
3825
3833
|
"index.js"
|
|
3826
3834
|
]
|
|
3827
3835
|
},
|
|
3828
|
-
"
|
|
3836
|
+
"workflow_test:delete": {
|
|
3829
3837
|
"aliases": [],
|
|
3830
3838
|
"args": {
|
|
3831
|
-
"
|
|
3832
|
-
"description": "
|
|
3833
|
-
"name": "
|
|
3839
|
+
"workflow_test_id": {
|
|
3840
|
+
"description": "ID of the workflow test to delete",
|
|
3841
|
+
"name": "workflow_test_id",
|
|
3834
3842
|
"required": true
|
|
3835
3843
|
}
|
|
3836
3844
|
},
|
|
3837
|
-
"description": "Delete a
|
|
3845
|
+
"description": "Delete a workflow test",
|
|
3838
3846
|
"examples": [
|
|
3839
|
-
"$ xano
|
|
3840
|
-
"$ xano
|
|
3841
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3847
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3848
|
+
"$ xano workflow-test delete 1 --force"
|
|
3842
3849
|
],
|
|
3843
3850
|
"flags": {
|
|
3844
3851
|
"profile": {
|
|
@@ -3881,11 +3888,20 @@
|
|
|
3881
3888
|
"json"
|
|
3882
3889
|
],
|
|
3883
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"
|
|
3884
3900
|
}
|
|
3885
3901
|
},
|
|
3886
3902
|
"hasDynamicHelp": false,
|
|
3887
3903
|
"hiddenAliases": [],
|
|
3888
|
-
"id": "
|
|
3904
|
+
"id": "workflow_test:delete",
|
|
3889
3905
|
"pluginAlias": "@xano/cli",
|
|
3890
3906
|
"pluginName": "@xano/cli",
|
|
3891
3907
|
"pluginType": "core",
|
|
@@ -3895,25 +3911,19 @@
|
|
|
3895
3911
|
"relativePath": [
|
|
3896
3912
|
"dist",
|
|
3897
3913
|
"commands",
|
|
3898
|
-
"
|
|
3914
|
+
"workflow_test",
|
|
3899
3915
|
"delete",
|
|
3900
3916
|
"index.js"
|
|
3901
3917
|
]
|
|
3902
3918
|
},
|
|
3903
|
-
"
|
|
3919
|
+
"workflow_test:list": {
|
|
3904
3920
|
"aliases": [],
|
|
3905
|
-
"args": {
|
|
3906
|
-
|
|
3907
|
-
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
3908
|
-
"name": "workspace_id",
|
|
3909
|
-
"required": false
|
|
3910
|
-
}
|
|
3911
|
-
},
|
|
3912
|
-
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
3921
|
+
"args": {},
|
|
3922
|
+
"description": "List all workflow tests in a workspace",
|
|
3913
3923
|
"examples": [
|
|
3914
|
-
"$ xano workspace
|
|
3915
|
-
"$ xano
|
|
3916
|
-
"$ xano
|
|
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"
|
|
3917
3927
|
],
|
|
3918
3928
|
"flags": {
|
|
3919
3929
|
"profile": {
|
|
@@ -3935,6 +3945,15 @@
|
|
|
3935
3945
|
"allowNo": false,
|
|
3936
3946
|
"type": "boolean"
|
|
3937
3947
|
},
|
|
3948
|
+
"branch": {
|
|
3949
|
+
"char": "b",
|
|
3950
|
+
"description": "Filter by branch name",
|
|
3951
|
+
"name": "branch",
|
|
3952
|
+
"required": false,
|
|
3953
|
+
"hasDynamicHelp": false,
|
|
3954
|
+
"multiple": false,
|
|
3955
|
+
"type": "option"
|
|
3956
|
+
},
|
|
3938
3957
|
"output": {
|
|
3939
3958
|
"char": "o",
|
|
3940
3959
|
"description": "Output format",
|
|
@@ -3948,11 +3967,20 @@
|
|
|
3948
3967
|
"json"
|
|
3949
3968
|
],
|
|
3950
3969
|
"type": "option"
|
|
3970
|
+
},
|
|
3971
|
+
"workspace": {
|
|
3972
|
+
"char": "w",
|
|
3973
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3974
|
+
"name": "workspace",
|
|
3975
|
+
"required": false,
|
|
3976
|
+
"hasDynamicHelp": false,
|
|
3977
|
+
"multiple": false,
|
|
3978
|
+
"type": "option"
|
|
3951
3979
|
}
|
|
3952
3980
|
},
|
|
3953
3981
|
"hasDynamicHelp": false,
|
|
3954
3982
|
"hiddenAliases": [],
|
|
3955
|
-
"id": "
|
|
3983
|
+
"id": "workflow_test:list",
|
|
3956
3984
|
"pluginAlias": "@xano/cli",
|
|
3957
3985
|
"pluginName": "@xano/cli",
|
|
3958
3986
|
"pluginType": "core",
|
|
@@ -3962,26 +3990,24 @@
|
|
|
3962
3990
|
"relativePath": [
|
|
3963
3991
|
"dist",
|
|
3964
3992
|
"commands",
|
|
3965
|
-
"
|
|
3966
|
-
"
|
|
3993
|
+
"workflow_test",
|
|
3994
|
+
"list",
|
|
3967
3995
|
"index.js"
|
|
3968
3996
|
]
|
|
3969
3997
|
},
|
|
3970
|
-
"
|
|
3998
|
+
"workflow_test:run": {
|
|
3971
3999
|
"aliases": [],
|
|
3972
4000
|
"args": {
|
|
3973
|
-
"
|
|
3974
|
-
"description": "
|
|
3975
|
-
"name": "
|
|
3976
|
-
"required":
|
|
4001
|
+
"workflow_test_id": {
|
|
4002
|
+
"description": "ID of the workflow test to run",
|
|
4003
|
+
"name": "workflow_test_id",
|
|
4004
|
+
"required": true
|
|
3977
4005
|
}
|
|
3978
4006
|
},
|
|
3979
|
-
"description": "
|
|
4007
|
+
"description": "Run a workflow test",
|
|
3980
4008
|
"examples": [
|
|
3981
|
-
"$ xano
|
|
3982
|
-
"$ xano
|
|
3983
|
-
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
3984
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4009
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4010
|
+
"$ xano workflow-test run 1 -o json"
|
|
3985
4011
|
],
|
|
3986
4012
|
"flags": {
|
|
3987
4013
|
"profile": {
|
|
@@ -4003,24 +4029,6 @@
|
|
|
4003
4029
|
"allowNo": false,
|
|
4004
4030
|
"type": "boolean"
|
|
4005
4031
|
},
|
|
4006
|
-
"description": {
|
|
4007
|
-
"char": "d",
|
|
4008
|
-
"description": "New description for the workspace",
|
|
4009
|
-
"name": "description",
|
|
4010
|
-
"required": false,
|
|
4011
|
-
"hasDynamicHelp": false,
|
|
4012
|
-
"multiple": false,
|
|
4013
|
-
"type": "option"
|
|
4014
|
-
},
|
|
4015
|
-
"name": {
|
|
4016
|
-
"char": "n",
|
|
4017
|
-
"description": "New name for the workspace",
|
|
4018
|
-
"name": "name",
|
|
4019
|
-
"required": false,
|
|
4020
|
-
"hasDynamicHelp": false,
|
|
4021
|
-
"multiple": false,
|
|
4022
|
-
"type": "option"
|
|
4023
|
-
},
|
|
4024
4032
|
"output": {
|
|
4025
4033
|
"char": "o",
|
|
4026
4034
|
"description": "Output format",
|
|
@@ -4035,24 +4043,19 @@
|
|
|
4035
4043
|
],
|
|
4036
4044
|
"type": "option"
|
|
4037
4045
|
},
|
|
4038
|
-
"
|
|
4039
|
-
"
|
|
4040
|
-
"
|
|
4041
|
-
"
|
|
4042
|
-
"allowNo": true,
|
|
4043
|
-
"type": "boolean"
|
|
4044
|
-
},
|
|
4045
|
-
"swagger": {
|
|
4046
|
-
"description": "Enable or disable swagger documentation",
|
|
4047
|
-
"name": "swagger",
|
|
4046
|
+
"workspace": {
|
|
4047
|
+
"char": "w",
|
|
4048
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4049
|
+
"name": "workspace",
|
|
4048
4050
|
"required": false,
|
|
4049
|
-
"
|
|
4050
|
-
"
|
|
4051
|
+
"hasDynamicHelp": false,
|
|
4052
|
+
"multiple": false,
|
|
4053
|
+
"type": "option"
|
|
4051
4054
|
}
|
|
4052
4055
|
},
|
|
4053
4056
|
"hasDynamicHelp": false,
|
|
4054
4057
|
"hiddenAliases": [],
|
|
4055
|
-
"id": "
|
|
4058
|
+
"id": "workflow_test:run",
|
|
4056
4059
|
"pluginAlias": "@xano/cli",
|
|
4057
4060
|
"pluginName": "@xano/cli",
|
|
4058
4061
|
"pluginType": "core",
|
|
@@ -4062,24 +4065,18 @@
|
|
|
4062
4065
|
"relativePath": [
|
|
4063
4066
|
"dist",
|
|
4064
4067
|
"commands",
|
|
4065
|
-
"
|
|
4066
|
-
"
|
|
4068
|
+
"workflow_test",
|
|
4069
|
+
"run",
|
|
4067
4070
|
"index.js"
|
|
4068
4071
|
]
|
|
4069
4072
|
},
|
|
4070
|
-
"workflow_test:
|
|
4073
|
+
"workflow_test:run_all": {
|
|
4071
4074
|
"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",
|
|
4075
|
+
"args": {},
|
|
4076
|
+
"description": "Run all workflow tests in a workspace",
|
|
4080
4077
|
"examples": [
|
|
4081
|
-
"$ xano workflow-test
|
|
4082
|
-
"$ xano workflow-test
|
|
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"
|
|
4083
4080
|
],
|
|
4084
4081
|
"flags": {
|
|
4085
4082
|
"profile": {
|
|
@@ -4101,13 +4098,14 @@
|
|
|
4101
4098
|
"allowNo": false,
|
|
4102
4099
|
"type": "boolean"
|
|
4103
4100
|
},
|
|
4104
|
-
"
|
|
4105
|
-
"char": "
|
|
4106
|
-
"description": "
|
|
4107
|
-
"name": "
|
|
4101
|
+
"branch": {
|
|
4102
|
+
"char": "b",
|
|
4103
|
+
"description": "Filter by branch name",
|
|
4104
|
+
"name": "branch",
|
|
4108
4105
|
"required": false,
|
|
4109
|
-
"
|
|
4110
|
-
"
|
|
4106
|
+
"hasDynamicHelp": false,
|
|
4107
|
+
"multiple": false,
|
|
4108
|
+
"type": "option"
|
|
4111
4109
|
},
|
|
4112
4110
|
"output": {
|
|
4113
4111
|
"char": "o",
|
|
@@ -4135,7 +4133,7 @@
|
|
|
4135
4133
|
},
|
|
4136
4134
|
"hasDynamicHelp": false,
|
|
4137
4135
|
"hiddenAliases": [],
|
|
4138
|
-
"id": "workflow_test:
|
|
4136
|
+
"id": "workflow_test:run_all",
|
|
4139
4137
|
"pluginAlias": "@xano/cli",
|
|
4140
4138
|
"pluginName": "@xano/cli",
|
|
4141
4139
|
"pluginType": "core",
|
|
@@ -4146,19 +4144,24 @@
|
|
|
4146
4144
|
"dist",
|
|
4147
4145
|
"commands",
|
|
4148
4146
|
"workflow_test",
|
|
4149
|
-
"
|
|
4147
|
+
"run_all",
|
|
4150
4148
|
"index.js"
|
|
4151
4149
|
]
|
|
4152
4150
|
},
|
|
4153
|
-
"workspace:
|
|
4151
|
+
"workspace:create": {
|
|
4154
4152
|
"aliases": [],
|
|
4155
|
-
"args": {
|
|
4156
|
-
|
|
4153
|
+
"args": {
|
|
4154
|
+
"name": {
|
|
4155
|
+
"description": "Name of the workspace",
|
|
4156
|
+
"name": "name",
|
|
4157
|
+
"required": true
|
|
4158
|
+
}
|
|
4159
|
+
},
|
|
4160
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4157
4161
|
"examples": [
|
|
4158
|
-
"$ xano workspace
|
|
4159
|
-
"$ xano workspace
|
|
4160
|
-
"$ xano workspace
|
|
4161
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
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"
|
|
4162
4165
|
],
|
|
4163
4166
|
"flags": {
|
|
4164
4167
|
"profile": {
|
|
@@ -4180,6 +4183,15 @@
|
|
|
4180
4183
|
"allowNo": false,
|
|
4181
4184
|
"type": "boolean"
|
|
4182
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
|
+
},
|
|
4183
4195
|
"output": {
|
|
4184
4196
|
"char": "o",
|
|
4185
4197
|
"description": "Output format",
|
|
@@ -4197,7 +4209,7 @@
|
|
|
4197
4209
|
},
|
|
4198
4210
|
"hasDynamicHelp": false,
|
|
4199
4211
|
"hiddenAliases": [],
|
|
4200
|
-
"id": "workspace:
|
|
4212
|
+
"id": "workspace:create",
|
|
4201
4213
|
"pluginAlias": "@xano/cli",
|
|
4202
4214
|
"pluginName": "@xano/cli",
|
|
4203
4215
|
"pluginType": "core",
|
|
@@ -4208,26 +4220,24 @@
|
|
|
4208
4220
|
"dist",
|
|
4209
4221
|
"commands",
|
|
4210
4222
|
"workspace",
|
|
4211
|
-
"
|
|
4223
|
+
"create",
|
|
4212
4224
|
"index.js"
|
|
4213
4225
|
]
|
|
4214
4226
|
},
|
|
4215
|
-
"workspace:
|
|
4227
|
+
"workspace:delete": {
|
|
4216
4228
|
"aliases": [],
|
|
4217
4229
|
"args": {
|
|
4218
|
-
"
|
|
4219
|
-
"description": "
|
|
4220
|
-
"name": "
|
|
4230
|
+
"workspace_id": {
|
|
4231
|
+
"description": "Workspace ID to delete",
|
|
4232
|
+
"name": "workspace_id",
|
|
4221
4233
|
"required": true
|
|
4222
4234
|
}
|
|
4223
4235
|
},
|
|
4224
|
-
"description": "
|
|
4236
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4225
4237
|
"examples": [
|
|
4226
|
-
"$ xano workspace
|
|
4227
|
-
"$ xano workspace
|
|
4228
|
-
"$ xano workspace
|
|
4229
|
-
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4230
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\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"
|
|
4231
4241
|
],
|
|
4232
4242
|
"flags": {
|
|
4233
4243
|
"profile": {
|
|
@@ -4249,49 +4259,32 @@
|
|
|
4249
4259
|
"allowNo": false,
|
|
4250
4260
|
"type": "boolean"
|
|
4251
4261
|
},
|
|
4252
|
-
"
|
|
4253
|
-
"char": "
|
|
4254
|
-
"description": "
|
|
4255
|
-
"name": "
|
|
4256
|
-
"required": false,
|
|
4257
|
-
"hasDynamicHelp": false,
|
|
4258
|
-
"multiple": false,
|
|
4259
|
-
"type": "option"
|
|
4260
|
-
},
|
|
4261
|
-
"env": {
|
|
4262
|
-
"description": "Include environment variables",
|
|
4263
|
-
"name": "env",
|
|
4264
|
-
"required": false,
|
|
4265
|
-
"allowNo": false,
|
|
4266
|
-
"type": "boolean"
|
|
4267
|
-
},
|
|
4268
|
-
"draft": {
|
|
4269
|
-
"description": "Include draft versions",
|
|
4270
|
-
"name": "draft",
|
|
4271
|
-
"required": false,
|
|
4272
|
-
"allowNo": false,
|
|
4273
|
-
"type": "boolean"
|
|
4274
|
-
},
|
|
4275
|
-
"records": {
|
|
4276
|
-
"description": "Include records",
|
|
4277
|
-
"name": "records",
|
|
4262
|
+
"force": {
|
|
4263
|
+
"char": "f",
|
|
4264
|
+
"description": "Skip confirmation prompt",
|
|
4265
|
+
"name": "force",
|
|
4278
4266
|
"required": false,
|
|
4279
4267
|
"allowNo": false,
|
|
4280
4268
|
"type": "boolean"
|
|
4281
4269
|
},
|
|
4282
|
-
"
|
|
4283
|
-
"char": "
|
|
4284
|
-
"description": "
|
|
4285
|
-
"name": "
|
|
4270
|
+
"output": {
|
|
4271
|
+
"char": "o",
|
|
4272
|
+
"description": "Output format",
|
|
4273
|
+
"name": "output",
|
|
4286
4274
|
"required": false,
|
|
4275
|
+
"default": "summary",
|
|
4287
4276
|
"hasDynamicHelp": false,
|
|
4288
4277
|
"multiple": false,
|
|
4278
|
+
"options": [
|
|
4279
|
+
"summary",
|
|
4280
|
+
"json"
|
|
4281
|
+
],
|
|
4289
4282
|
"type": "option"
|
|
4290
4283
|
}
|
|
4291
4284
|
},
|
|
4292
4285
|
"hasDynamicHelp": false,
|
|
4293
4286
|
"hiddenAliases": [],
|
|
4294
|
-
"id": "workspace:
|
|
4287
|
+
"id": "workspace:delete",
|
|
4295
4288
|
"pluginAlias": "@xano/cli",
|
|
4296
4289
|
"pluginName": "@xano/cli",
|
|
4297
4290
|
"pluginType": "core",
|
|
@@ -4302,32 +4295,25 @@
|
|
|
4302
4295
|
"dist",
|
|
4303
4296
|
"commands",
|
|
4304
4297
|
"workspace",
|
|
4305
|
-
"
|
|
4298
|
+
"delete",
|
|
4306
4299
|
"index.js"
|
|
4307
4300
|
]
|
|
4308
4301
|
},
|
|
4309
|
-
"workspace:
|
|
4302
|
+
"workspace:edit": {
|
|
4310
4303
|
"aliases": [],
|
|
4311
4304
|
"args": {
|
|
4312
|
-
"
|
|
4313
|
-
"description": "
|
|
4314
|
-
"name": "
|
|
4315
|
-
"required":
|
|
4305
|
+
"workspace_id": {
|
|
4306
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4307
|
+
"name": "workspace_id",
|
|
4308
|
+
"required": false
|
|
4316
4309
|
}
|
|
4317
4310
|
},
|
|
4318
|
-
"description": "
|
|
4311
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4319
4312
|
"examples": [
|
|
4320
|
-
"$ xano workspace
|
|
4321
|
-
"$ xano workspace
|
|
4322
|
-
"$ xano workspace
|
|
4323
|
-
"$ xano workspace
|
|
4324
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4325
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4326
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4327
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4328
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4329
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4330
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\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"
|
|
4331
4317
|
],
|
|
4332
4318
|
"flags": {
|
|
4333
4319
|
"profile": {
|
|
@@ -4349,70 +4335,56 @@
|
|
|
4349
4335
|
"allowNo": false,
|
|
4350
4336
|
"type": "boolean"
|
|
4351
4337
|
},
|
|
4352
|
-
"
|
|
4353
|
-
"char": "
|
|
4354
|
-
"description": "
|
|
4355
|
-
"name": "
|
|
4338
|
+
"description": {
|
|
4339
|
+
"char": "d",
|
|
4340
|
+
"description": "New description for the workspace",
|
|
4341
|
+
"name": "description",
|
|
4356
4342
|
"required": false,
|
|
4357
4343
|
"hasDynamicHelp": false,
|
|
4358
4344
|
"multiple": false,
|
|
4359
4345
|
"type": "option"
|
|
4360
4346
|
},
|
|
4361
|
-
"
|
|
4362
|
-
"
|
|
4363
|
-
"
|
|
4364
|
-
"
|
|
4365
|
-
"allowNo": true,
|
|
4366
|
-
"type": "boolean"
|
|
4367
|
-
},
|
|
4368
|
-
"env": {
|
|
4369
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4370
|
-
"name": "env",
|
|
4347
|
+
"name": {
|
|
4348
|
+
"char": "n",
|
|
4349
|
+
"description": "New name for the workspace",
|
|
4350
|
+
"name": "name",
|
|
4371
4351
|
"required": false,
|
|
4372
|
-
"
|
|
4373
|
-
"
|
|
4352
|
+
"hasDynamicHelp": false,
|
|
4353
|
+
"multiple": false,
|
|
4354
|
+
"type": "option"
|
|
4374
4355
|
},
|
|
4375
|
-
"
|
|
4376
|
-
"
|
|
4377
|
-
"
|
|
4356
|
+
"output": {
|
|
4357
|
+
"char": "o",
|
|
4358
|
+
"description": "Output format",
|
|
4359
|
+
"name": "output",
|
|
4378
4360
|
"required": false,
|
|
4379
|
-
"
|
|
4380
|
-
"
|
|
4361
|
+
"default": "summary",
|
|
4362
|
+
"hasDynamicHelp": false,
|
|
4363
|
+
"multiple": false,
|
|
4364
|
+
"options": [
|
|
4365
|
+
"summary",
|
|
4366
|
+
"json"
|
|
4367
|
+
],
|
|
4368
|
+
"type": "option"
|
|
4381
4369
|
},
|
|
4382
|
-
"
|
|
4383
|
-
"description": "
|
|
4384
|
-
"name": "
|
|
4370
|
+
"require-token": {
|
|
4371
|
+
"description": "Whether to require a token for documentation access",
|
|
4372
|
+
"name": "require-token",
|
|
4385
4373
|
"required": false,
|
|
4386
4374
|
"allowNo": true,
|
|
4387
4375
|
"type": "boolean"
|
|
4388
4376
|
},
|
|
4389
|
-
"
|
|
4390
|
-
"description": "
|
|
4391
|
-
"name": "
|
|
4377
|
+
"swagger": {
|
|
4378
|
+
"description": "Enable or disable swagger documentation",
|
|
4379
|
+
"name": "swagger",
|
|
4392
4380
|
"required": false,
|
|
4393
4381
|
"allowNo": true,
|
|
4394
4382
|
"type": "boolean"
|
|
4395
|
-
},
|
|
4396
|
-
"truncate": {
|
|
4397
|
-
"description": "Truncate all table records before importing",
|
|
4398
|
-
"name": "truncate",
|
|
4399
|
-
"required": false,
|
|
4400
|
-
"allowNo": false,
|
|
4401
|
-
"type": "boolean"
|
|
4402
|
-
},
|
|
4403
|
-
"workspace": {
|
|
4404
|
-
"char": "w",
|
|
4405
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4406
|
-
"name": "workspace",
|
|
4407
|
-
"required": false,
|
|
4408
|
-
"hasDynamicHelp": false,
|
|
4409
|
-
"multiple": false,
|
|
4410
|
-
"type": "option"
|
|
4411
4383
|
}
|
|
4412
4384
|
},
|
|
4413
4385
|
"hasDynamicHelp": false,
|
|
4414
4386
|
"hiddenAliases": [],
|
|
4415
|
-
"id": "workspace:
|
|
4387
|
+
"id": "workspace:edit",
|
|
4416
4388
|
"pluginAlias": "@xano/cli",
|
|
4417
4389
|
"pluginName": "@xano/cli",
|
|
4418
4390
|
"pluginType": "core",
|
|
@@ -4423,18 +4395,26 @@
|
|
|
4423
4395
|
"dist",
|
|
4424
4396
|
"commands",
|
|
4425
4397
|
"workspace",
|
|
4426
|
-
"
|
|
4398
|
+
"edit",
|
|
4427
4399
|
"index.js"
|
|
4428
4400
|
]
|
|
4429
4401
|
},
|
|
4430
|
-
"
|
|
4402
|
+
"workspace:pull": {
|
|
4431
4403
|
"aliases": [],
|
|
4432
|
-
"args": {
|
|
4433
|
-
|
|
4404
|
+
"args": {
|
|
4405
|
+
"directory": {
|
|
4406
|
+
"description": "Output directory for pulled documents",
|
|
4407
|
+
"name": "directory",
|
|
4408
|
+
"required": true
|
|
4409
|
+
}
|
|
4410
|
+
},
|
|
4411
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4434
4412
|
"examples": [
|
|
4435
|
-
"$ xano
|
|
4436
|
-
"$ xano
|
|
4437
|
-
"$ xano
|
|
4413
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4414
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4415
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4416
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4417
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4438
4418
|
],
|
|
4439
4419
|
"flags": {
|
|
4440
4420
|
"profile": {
|
|
@@ -4458,30 +4438,37 @@
|
|
|
4458
4438
|
},
|
|
4459
4439
|
"branch": {
|
|
4460
4440
|
"char": "b",
|
|
4461
|
-
"description": "
|
|
4441
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4462
4442
|
"name": "branch",
|
|
4463
4443
|
"required": false,
|
|
4464
4444
|
"hasDynamicHelp": false,
|
|
4465
4445
|
"multiple": false,
|
|
4466
4446
|
"type": "option"
|
|
4467
4447
|
},
|
|
4468
|
-
"
|
|
4469
|
-
"
|
|
4470
|
-
"
|
|
4471
|
-
"name": "output",
|
|
4448
|
+
"env": {
|
|
4449
|
+
"description": "Include environment variables",
|
|
4450
|
+
"name": "env",
|
|
4472
4451
|
"required": false,
|
|
4473
|
-
"
|
|
4474
|
-
"
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
"
|
|
4452
|
+
"allowNo": false,
|
|
4453
|
+
"type": "boolean"
|
|
4454
|
+
},
|
|
4455
|
+
"draft": {
|
|
4456
|
+
"description": "Include draft versions",
|
|
4457
|
+
"name": "draft",
|
|
4458
|
+
"required": false,
|
|
4459
|
+
"allowNo": false,
|
|
4460
|
+
"type": "boolean"
|
|
4461
|
+
},
|
|
4462
|
+
"records": {
|
|
4463
|
+
"description": "Include records",
|
|
4464
|
+
"name": "records",
|
|
4465
|
+
"required": false,
|
|
4466
|
+
"allowNo": false,
|
|
4467
|
+
"type": "boolean"
|
|
4481
4468
|
},
|
|
4482
4469
|
"workspace": {
|
|
4483
4470
|
"char": "w",
|
|
4484
|
-
"description": "Workspace ID (
|
|
4471
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4485
4472
|
"name": "workspace",
|
|
4486
4473
|
"required": false,
|
|
4487
4474
|
"hasDynamicHelp": false,
|
|
@@ -4491,7 +4478,7 @@
|
|
|
4491
4478
|
},
|
|
4492
4479
|
"hasDynamicHelp": false,
|
|
4493
4480
|
"hiddenAliases": [],
|
|
4494
|
-
"id": "
|
|
4481
|
+
"id": "workspace:pull",
|
|
4495
4482
|
"pluginAlias": "@xano/cli",
|
|
4496
4483
|
"pluginName": "@xano/cli",
|
|
4497
4484
|
"pluginType": "core",
|
|
@@ -4501,24 +4488,25 @@
|
|
|
4501
4488
|
"relativePath": [
|
|
4502
4489
|
"dist",
|
|
4503
4490
|
"commands",
|
|
4504
|
-
"
|
|
4505
|
-
"
|
|
4491
|
+
"workspace",
|
|
4492
|
+
"pull",
|
|
4506
4493
|
"index.js"
|
|
4507
4494
|
]
|
|
4508
4495
|
},
|
|
4509
|
-
"
|
|
4496
|
+
"workspace:get": {
|
|
4510
4497
|
"aliases": [],
|
|
4511
4498
|
"args": {
|
|
4512
|
-
"
|
|
4513
|
-
"description": "ID
|
|
4514
|
-
"name": "
|
|
4515
|
-
"required":
|
|
4499
|
+
"workspace_id": {
|
|
4500
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4501
|
+
"name": "workspace_id",
|
|
4502
|
+
"required": false
|
|
4516
4503
|
}
|
|
4517
4504
|
},
|
|
4518
|
-
"description": "
|
|
4505
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4519
4506
|
"examples": [
|
|
4520
|
-
"$ xano
|
|
4521
|
-
"$ xano
|
|
4507
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4508
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4509
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4522
4510
|
],
|
|
4523
4511
|
"flags": {
|
|
4524
4512
|
"profile": {
|
|
@@ -4553,20 +4541,11 @@
|
|
|
4553
4541
|
"json"
|
|
4554
4542
|
],
|
|
4555
4543
|
"type": "option"
|
|
4556
|
-
},
|
|
4557
|
-
"workspace": {
|
|
4558
|
-
"char": "w",
|
|
4559
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4560
|
-
"name": "workspace",
|
|
4561
|
-
"required": false,
|
|
4562
|
-
"hasDynamicHelp": false,
|
|
4563
|
-
"multiple": false,
|
|
4564
|
-
"type": "option"
|
|
4565
4544
|
}
|
|
4566
4545
|
},
|
|
4567
4546
|
"hasDynamicHelp": false,
|
|
4568
4547
|
"hiddenAliases": [],
|
|
4569
|
-
"id": "
|
|
4548
|
+
"id": "workspace:get",
|
|
4570
4549
|
"pluginAlias": "@xano/cli",
|
|
4571
4550
|
"pluginName": "@xano/cli",
|
|
4572
4551
|
"pluginType": "core",
|
|
@@ -4576,18 +4555,20 @@
|
|
|
4576
4555
|
"relativePath": [
|
|
4577
4556
|
"dist",
|
|
4578
4557
|
"commands",
|
|
4579
|
-
"
|
|
4580
|
-
"
|
|
4558
|
+
"workspace",
|
|
4559
|
+
"get",
|
|
4581
4560
|
"index.js"
|
|
4582
4561
|
]
|
|
4583
4562
|
},
|
|
4584
|
-
"
|
|
4563
|
+
"workspace:list": {
|
|
4585
4564
|
"aliases": [],
|
|
4586
4565
|
"args": {},
|
|
4587
|
-
"description": "
|
|
4566
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4588
4567
|
"examples": [
|
|
4589
|
-
"$ xano
|
|
4590
|
-
"$ xano
|
|
4568
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4569
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4570
|
+
"$ 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",
|
|
4571
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4591
4572
|
],
|
|
4592
4573
|
"flags": {
|
|
4593
4574
|
"profile": {
|
|
@@ -4609,15 +4590,6 @@
|
|
|
4609
4590
|
"allowNo": false,
|
|
4610
4591
|
"type": "boolean"
|
|
4611
4592
|
},
|
|
4612
|
-
"branch": {
|
|
4613
|
-
"char": "b",
|
|
4614
|
-
"description": "Filter by branch name",
|
|
4615
|
-
"name": "branch",
|
|
4616
|
-
"required": false,
|
|
4617
|
-
"hasDynamicHelp": false,
|
|
4618
|
-
"multiple": false,
|
|
4619
|
-
"type": "option"
|
|
4620
|
-
},
|
|
4621
4593
|
"output": {
|
|
4622
4594
|
"char": "o",
|
|
4623
4595
|
"description": "Output format",
|
|
@@ -4631,20 +4603,11 @@
|
|
|
4631
4603
|
"json"
|
|
4632
4604
|
],
|
|
4633
4605
|
"type": "option"
|
|
4634
|
-
},
|
|
4635
|
-
"workspace": {
|
|
4636
|
-
"char": "w",
|
|
4637
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4638
|
-
"name": "workspace",
|
|
4639
|
-
"required": false,
|
|
4640
|
-
"hasDynamicHelp": false,
|
|
4641
|
-
"multiple": false,
|
|
4642
|
-
"type": "option"
|
|
4643
4606
|
}
|
|
4644
4607
|
},
|
|
4645
4608
|
"hasDynamicHelp": false,
|
|
4646
4609
|
"hiddenAliases": [],
|
|
4647
|
-
"id": "
|
|
4610
|
+
"id": "workspace:list",
|
|
4648
4611
|
"pluginAlias": "@xano/cli",
|
|
4649
4612
|
"pluginName": "@xano/cli",
|
|
4650
4613
|
"pluginType": "core",
|
|
@@ -4654,25 +4617,25 @@
|
|
|
4654
4617
|
"relativePath": [
|
|
4655
4618
|
"dist",
|
|
4656
4619
|
"commands",
|
|
4657
|
-
"
|
|
4658
|
-
"
|
|
4620
|
+
"workspace",
|
|
4621
|
+
"list",
|
|
4659
4622
|
"index.js"
|
|
4660
4623
|
]
|
|
4661
4624
|
},
|
|
4662
|
-
"
|
|
4625
|
+
"static_host:build:create": {
|
|
4663
4626
|
"aliases": [],
|
|
4664
4627
|
"args": {
|
|
4665
|
-
"
|
|
4666
|
-
"description": "
|
|
4667
|
-
"name": "
|
|
4628
|
+
"static_host": {
|
|
4629
|
+
"description": "Static Host name",
|
|
4630
|
+
"name": "static_host",
|
|
4668
4631
|
"required": true
|
|
4669
4632
|
}
|
|
4670
4633
|
},
|
|
4671
|
-
"description": "
|
|
4634
|
+
"description": "Create a new build for a static host",
|
|
4672
4635
|
"examples": [
|
|
4673
|
-
"$ xano
|
|
4674
|
-
"$ xano
|
|
4675
|
-
"$ xano
|
|
4636
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
4637
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
4638
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4676
4639
|
],
|
|
4677
4640
|
"flags": {
|
|
4678
4641
|
"profile": {
|
|
@@ -4694,12 +4657,32 @@
|
|
|
4694
4657
|
"allowNo": false,
|
|
4695
4658
|
"type": "boolean"
|
|
4696
4659
|
},
|
|
4697
|
-
"
|
|
4698
|
-
"
|
|
4699
|
-
"
|
|
4660
|
+
"description": {
|
|
4661
|
+
"char": "d",
|
|
4662
|
+
"description": "Build description",
|
|
4663
|
+
"name": "description",
|
|
4700
4664
|
"required": false,
|
|
4701
|
-
"
|
|
4702
|
-
"
|
|
4665
|
+
"hasDynamicHelp": false,
|
|
4666
|
+
"multiple": false,
|
|
4667
|
+
"type": "option"
|
|
4668
|
+
},
|
|
4669
|
+
"file": {
|
|
4670
|
+
"char": "f",
|
|
4671
|
+
"description": "Path to zip file to upload",
|
|
4672
|
+
"name": "file",
|
|
4673
|
+
"required": true,
|
|
4674
|
+
"hasDynamicHelp": false,
|
|
4675
|
+
"multiple": false,
|
|
4676
|
+
"type": "option"
|
|
4677
|
+
},
|
|
4678
|
+
"name": {
|
|
4679
|
+
"char": "n",
|
|
4680
|
+
"description": "Build name",
|
|
4681
|
+
"name": "name",
|
|
4682
|
+
"required": true,
|
|
4683
|
+
"hasDynamicHelp": false,
|
|
4684
|
+
"multiple": false,
|
|
4685
|
+
"type": "option"
|
|
4703
4686
|
},
|
|
4704
4687
|
"output": {
|
|
4705
4688
|
"char": "o",
|
|
@@ -4710,15 +4693,14 @@
|
|
|
4710
4693
|
"hasDynamicHelp": false,
|
|
4711
4694
|
"multiple": false,
|
|
4712
4695
|
"options": [
|
|
4713
|
-
"summary",
|
|
4714
|
-
"json"
|
|
4715
|
-
"xs"
|
|
4696
|
+
"summary",
|
|
4697
|
+
"json"
|
|
4716
4698
|
],
|
|
4717
4699
|
"type": "option"
|
|
4718
4700
|
},
|
|
4719
4701
|
"workspace": {
|
|
4720
4702
|
"char": "w",
|
|
4721
|
-
"description": "Workspace ID (
|
|
4703
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4722
4704
|
"name": "workspace",
|
|
4723
4705
|
"required": false,
|
|
4724
4706
|
"hasDynamicHelp": false,
|
|
@@ -4728,7 +4710,7 @@
|
|
|
4728
4710
|
},
|
|
4729
4711
|
"hasDynamicHelp": false,
|
|
4730
4712
|
"hiddenAliases": [],
|
|
4731
|
-
"id": "
|
|
4713
|
+
"id": "static_host:build:create",
|
|
4732
4714
|
"pluginAlias": "@xano/cli",
|
|
4733
4715
|
"pluginName": "@xano/cli",
|
|
4734
4716
|
"pluginType": "core",
|
|
@@ -4738,31 +4720,34 @@
|
|
|
4738
4720
|
"relativePath": [
|
|
4739
4721
|
"dist",
|
|
4740
4722
|
"commands",
|
|
4741
|
-
"
|
|
4742
|
-
"
|
|
4723
|
+
"static_host",
|
|
4724
|
+
"build",
|
|
4725
|
+
"create",
|
|
4743
4726
|
"index.js"
|
|
4744
4727
|
]
|
|
4745
4728
|
},
|
|
4746
|
-
"
|
|
4729
|
+
"workspace:push": {
|
|
4747
4730
|
"aliases": [],
|
|
4748
4731
|
"args": {
|
|
4749
|
-
"
|
|
4750
|
-
"description": "
|
|
4751
|
-
"name": "
|
|
4752
|
-
"required": true
|
|
4753
|
-
},
|
|
4754
|
-
"static_host": {
|
|
4755
|
-
"description": "Static Host name",
|
|
4756
|
-
"name": "static_host",
|
|
4732
|
+
"directory": {
|
|
4733
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4734
|
+
"name": "directory",
|
|
4757
4735
|
"required": true
|
|
4758
4736
|
}
|
|
4759
4737
|
},
|
|
4760
|
-
"description": "
|
|
4738
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4761
4739
|
"examples": [
|
|
4762
|
-
"$ xano
|
|
4763
|
-
"$ xano
|
|
4764
|
-
"$ xano
|
|
4765
|
-
"$ xano
|
|
4740
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4741
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4742
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4743
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4744
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4745
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4746
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4747
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4748
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4749
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4750
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4766
4751
|
],
|
|
4767
4752
|
"flags": {
|
|
4768
4753
|
"profile": {
|
|
@@ -4784,20 +4769,57 @@
|
|
|
4784
4769
|
"allowNo": false,
|
|
4785
4770
|
"type": "boolean"
|
|
4786
4771
|
},
|
|
4787
|
-
"
|
|
4788
|
-
"char": "
|
|
4789
|
-
"description": "
|
|
4790
|
-
"name": "
|
|
4772
|
+
"branch": {
|
|
4773
|
+
"char": "b",
|
|
4774
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4775
|
+
"name": "branch",
|
|
4791
4776
|
"required": false,
|
|
4792
|
-
"default": "summary",
|
|
4793
4777
|
"hasDynamicHelp": false,
|
|
4794
4778
|
"multiple": false,
|
|
4795
|
-
"options": [
|
|
4796
|
-
"summary",
|
|
4797
|
-
"json"
|
|
4798
|
-
],
|
|
4799
4779
|
"type": "option"
|
|
4800
4780
|
},
|
|
4781
|
+
"delete": {
|
|
4782
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4783
|
+
"name": "delete",
|
|
4784
|
+
"required": false,
|
|
4785
|
+
"allowNo": true,
|
|
4786
|
+
"type": "boolean"
|
|
4787
|
+
},
|
|
4788
|
+
"env": {
|
|
4789
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4790
|
+
"name": "env",
|
|
4791
|
+
"required": false,
|
|
4792
|
+
"allowNo": true,
|
|
4793
|
+
"type": "boolean"
|
|
4794
|
+
},
|
|
4795
|
+
"partial": {
|
|
4796
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4797
|
+
"name": "partial",
|
|
4798
|
+
"required": false,
|
|
4799
|
+
"allowNo": false,
|
|
4800
|
+
"type": "boolean"
|
|
4801
|
+
},
|
|
4802
|
+
"records": {
|
|
4803
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4804
|
+
"name": "records",
|
|
4805
|
+
"required": false,
|
|
4806
|
+
"allowNo": true,
|
|
4807
|
+
"type": "boolean"
|
|
4808
|
+
},
|
|
4809
|
+
"sync-guids": {
|
|
4810
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4811
|
+
"name": "sync-guids",
|
|
4812
|
+
"required": false,
|
|
4813
|
+
"allowNo": true,
|
|
4814
|
+
"type": "boolean"
|
|
4815
|
+
},
|
|
4816
|
+
"truncate": {
|
|
4817
|
+
"description": "Truncate all table records before importing",
|
|
4818
|
+
"name": "truncate",
|
|
4819
|
+
"required": false,
|
|
4820
|
+
"allowNo": false,
|
|
4821
|
+
"type": "boolean"
|
|
4822
|
+
},
|
|
4801
4823
|
"workspace": {
|
|
4802
4824
|
"char": "w",
|
|
4803
4825
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4810,7 +4832,7 @@
|
|
|
4810
4832
|
},
|
|
4811
4833
|
"hasDynamicHelp": false,
|
|
4812
4834
|
"hiddenAliases": [],
|
|
4813
|
-
"id": "
|
|
4835
|
+
"id": "workspace:push",
|
|
4814
4836
|
"pluginAlias": "@xano/cli",
|
|
4815
4837
|
"pluginName": "@xano/cli",
|
|
4816
4838
|
"pluginType": "core",
|
|
@@ -4820,27 +4842,31 @@
|
|
|
4820
4842
|
"relativePath": [
|
|
4821
4843
|
"dist",
|
|
4822
4844
|
"commands",
|
|
4823
|
-
"
|
|
4824
|
-
"
|
|
4825
|
-
"get",
|
|
4845
|
+
"workspace",
|
|
4846
|
+
"push",
|
|
4826
4847
|
"index.js"
|
|
4827
4848
|
]
|
|
4828
4849
|
},
|
|
4829
|
-
"static_host:build:
|
|
4850
|
+
"static_host:build:get": {
|
|
4830
4851
|
"aliases": [],
|
|
4831
4852
|
"args": {
|
|
4853
|
+
"build_id": {
|
|
4854
|
+
"description": "Build ID",
|
|
4855
|
+
"name": "build_id",
|
|
4856
|
+
"required": true
|
|
4857
|
+
},
|
|
4832
4858
|
"static_host": {
|
|
4833
4859
|
"description": "Static Host name",
|
|
4834
4860
|
"name": "static_host",
|
|
4835
4861
|
"required": true
|
|
4836
4862
|
}
|
|
4837
4863
|
},
|
|
4838
|
-
"description": "
|
|
4864
|
+
"description": "Get details of a specific build for a static host",
|
|
4839
4865
|
"examples": [
|
|
4840
|
-
"$ xano static_host:build:
|
|
4841
|
-
"$ xano static_host:build:
|
|
4842
|
-
"$ xano static_host:build:
|
|
4843
|
-
"$ xano static_host:build:
|
|
4866
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4867
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4868
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4869
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4844
4870
|
],
|
|
4845
4871
|
"flags": {
|
|
4846
4872
|
"profile": {
|
|
@@ -4876,24 +4902,6 @@
|
|
|
4876
4902
|
],
|
|
4877
4903
|
"type": "option"
|
|
4878
4904
|
},
|
|
4879
|
-
"page": {
|
|
4880
|
-
"description": "Page number for pagination",
|
|
4881
|
-
"name": "page",
|
|
4882
|
-
"required": false,
|
|
4883
|
-
"default": 1,
|
|
4884
|
-
"hasDynamicHelp": false,
|
|
4885
|
-
"multiple": false,
|
|
4886
|
-
"type": "option"
|
|
4887
|
-
},
|
|
4888
|
-
"per_page": {
|
|
4889
|
-
"description": "Number of results per page",
|
|
4890
|
-
"name": "per_page",
|
|
4891
|
-
"required": false,
|
|
4892
|
-
"default": 50,
|
|
4893
|
-
"hasDynamicHelp": false,
|
|
4894
|
-
"multiple": false,
|
|
4895
|
-
"type": "option"
|
|
4896
|
-
},
|
|
4897
4905
|
"workspace": {
|
|
4898
4906
|
"char": "w",
|
|
4899
4907
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4906,7 +4914,7 @@
|
|
|
4906
4914
|
},
|
|
4907
4915
|
"hasDynamicHelp": false,
|
|
4908
4916
|
"hiddenAliases": [],
|
|
4909
|
-
"id": "static_host:build:
|
|
4917
|
+
"id": "static_host:build:get",
|
|
4910
4918
|
"pluginAlias": "@xano/cli",
|
|
4911
4919
|
"pluginName": "@xano/cli",
|
|
4912
4920
|
"pluginType": "core",
|
|
@@ -4918,24 +4926,23 @@
|
|
|
4918
4926
|
"commands",
|
|
4919
4927
|
"static_host",
|
|
4920
4928
|
"build",
|
|
4921
|
-
"
|
|
4929
|
+
"get",
|
|
4922
4930
|
"index.js"
|
|
4923
4931
|
]
|
|
4924
4932
|
},
|
|
4925
|
-
"
|
|
4933
|
+
"tenant:backup:create": {
|
|
4926
4934
|
"aliases": [],
|
|
4927
4935
|
"args": {
|
|
4928
|
-
"
|
|
4929
|
-
"description": "
|
|
4930
|
-
"name": "
|
|
4936
|
+
"tenant_name": {
|
|
4937
|
+
"description": "Tenant name to back up",
|
|
4938
|
+
"name": "tenant_name",
|
|
4931
4939
|
"required": true
|
|
4932
4940
|
}
|
|
4933
4941
|
},
|
|
4934
|
-
"description": "Create a
|
|
4942
|
+
"description": "Create a backup for a tenant",
|
|
4935
4943
|
"examples": [
|
|
4936
|
-
"$ xano
|
|
4937
|
-
"$ xano
|
|
4938
|
-
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4944
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
4945
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
4939
4946
|
],
|
|
4940
4947
|
"flags": {
|
|
4941
4948
|
"profile": {
|
|
@@ -4959,27 +4966,10 @@
|
|
|
4959
4966
|
},
|
|
4960
4967
|
"description": {
|
|
4961
4968
|
"char": "d",
|
|
4962
|
-
"description": "
|
|
4969
|
+
"description": "Backup description",
|
|
4963
4970
|
"name": "description",
|
|
4964
4971
|
"required": false,
|
|
4965
|
-
"
|
|
4966
|
-
"multiple": false,
|
|
4967
|
-
"type": "option"
|
|
4968
|
-
},
|
|
4969
|
-
"file": {
|
|
4970
|
-
"char": "f",
|
|
4971
|
-
"description": "Path to zip file to upload",
|
|
4972
|
-
"name": "file",
|
|
4973
|
-
"required": true,
|
|
4974
|
-
"hasDynamicHelp": false,
|
|
4975
|
-
"multiple": false,
|
|
4976
|
-
"type": "option"
|
|
4977
|
-
},
|
|
4978
|
-
"name": {
|
|
4979
|
-
"char": "n",
|
|
4980
|
-
"description": "Build name",
|
|
4981
|
-
"name": "name",
|
|
4982
|
-
"required": true,
|
|
4972
|
+
"default": "",
|
|
4983
4973
|
"hasDynamicHelp": false,
|
|
4984
4974
|
"multiple": false,
|
|
4985
4975
|
"type": "option"
|
|
@@ -5000,7 +4990,7 @@
|
|
|
5000
4990
|
},
|
|
5001
4991
|
"workspace": {
|
|
5002
4992
|
"char": "w",
|
|
5003
|
-
"description": "Workspace ID (
|
|
4993
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5004
4994
|
"name": "workspace",
|
|
5005
4995
|
"required": false,
|
|
5006
4996
|
"hasDynamicHelp": false,
|
|
@@ -5010,7 +5000,7 @@
|
|
|
5010
5000
|
},
|
|
5011
5001
|
"hasDynamicHelp": false,
|
|
5012
5002
|
"hiddenAliases": [],
|
|
5013
|
-
"id": "
|
|
5003
|
+
"id": "tenant:backup:create",
|
|
5014
5004
|
"pluginAlias": "@xano/cli",
|
|
5015
5005
|
"pluginName": "@xano/cli",
|
|
5016
5006
|
"pluginType": "core",
|
|
@@ -5020,26 +5010,27 @@
|
|
|
5020
5010
|
"relativePath": [
|
|
5021
5011
|
"dist",
|
|
5022
5012
|
"commands",
|
|
5023
|
-
"
|
|
5024
|
-
"
|
|
5013
|
+
"tenant",
|
|
5014
|
+
"backup",
|
|
5025
5015
|
"create",
|
|
5026
5016
|
"index.js"
|
|
5027
5017
|
]
|
|
5028
5018
|
},
|
|
5029
|
-
"
|
|
5019
|
+
"static_host:build:list": {
|
|
5030
5020
|
"aliases": [],
|
|
5031
5021
|
"args": {
|
|
5032
|
-
"
|
|
5033
|
-
"description": "
|
|
5034
|
-
"name": "
|
|
5022
|
+
"static_host": {
|
|
5023
|
+
"description": "Static Host name",
|
|
5024
|
+
"name": "static_host",
|
|
5035
5025
|
"required": true
|
|
5036
5026
|
}
|
|
5037
5027
|
},
|
|
5038
|
-
"description": "
|
|
5028
|
+
"description": "List all builds for a static host",
|
|
5039
5029
|
"examples": [
|
|
5040
|
-
"$ xano
|
|
5041
|
-
"$ xano
|
|
5042
|
-
"$ xano
|
|
5030
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
5031
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
5032
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
5033
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
5043
5034
|
],
|
|
5044
5035
|
"flags": {
|
|
5045
5036
|
"profile": {
|
|
@@ -5061,22 +5052,6 @@
|
|
|
5061
5052
|
"allowNo": false,
|
|
5062
5053
|
"type": "boolean"
|
|
5063
5054
|
},
|
|
5064
|
-
"backup_id": {
|
|
5065
|
-
"description": "Backup ID to delete",
|
|
5066
|
-
"name": "backup_id",
|
|
5067
|
-
"required": true,
|
|
5068
|
-
"hasDynamicHelp": false,
|
|
5069
|
-
"multiple": false,
|
|
5070
|
-
"type": "option"
|
|
5071
|
-
},
|
|
5072
|
-
"force": {
|
|
5073
|
-
"char": "f",
|
|
5074
|
-
"description": "Skip confirmation prompt",
|
|
5075
|
-
"name": "force",
|
|
5076
|
-
"required": false,
|
|
5077
|
-
"allowNo": false,
|
|
5078
|
-
"type": "boolean"
|
|
5079
|
-
},
|
|
5080
5055
|
"output": {
|
|
5081
5056
|
"char": "o",
|
|
5082
5057
|
"description": "Output format",
|
|
@@ -5091,9 +5066,27 @@
|
|
|
5091
5066
|
],
|
|
5092
5067
|
"type": "option"
|
|
5093
5068
|
},
|
|
5069
|
+
"page": {
|
|
5070
|
+
"description": "Page number for pagination",
|
|
5071
|
+
"name": "page",
|
|
5072
|
+
"required": false,
|
|
5073
|
+
"default": 1,
|
|
5074
|
+
"hasDynamicHelp": false,
|
|
5075
|
+
"multiple": false,
|
|
5076
|
+
"type": "option"
|
|
5077
|
+
},
|
|
5078
|
+
"per_page": {
|
|
5079
|
+
"description": "Number of results per page",
|
|
5080
|
+
"name": "per_page",
|
|
5081
|
+
"required": false,
|
|
5082
|
+
"default": 50,
|
|
5083
|
+
"hasDynamicHelp": false,
|
|
5084
|
+
"multiple": false,
|
|
5085
|
+
"type": "option"
|
|
5086
|
+
},
|
|
5094
5087
|
"workspace": {
|
|
5095
5088
|
"char": "w",
|
|
5096
|
-
"description": "Workspace ID (
|
|
5089
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5097
5090
|
"name": "workspace",
|
|
5098
5091
|
"required": false,
|
|
5099
5092
|
"hasDynamicHelp": false,
|
|
@@ -5103,7 +5096,7 @@
|
|
|
5103
5096
|
},
|
|
5104
5097
|
"hasDynamicHelp": false,
|
|
5105
5098
|
"hiddenAliases": [],
|
|
5106
|
-
"id": "
|
|
5099
|
+
"id": "static_host:build:list",
|
|
5107
5100
|
"pluginAlias": "@xano/cli",
|
|
5108
5101
|
"pluginName": "@xano/cli",
|
|
5109
5102
|
"pluginType": "core",
|
|
@@ -5113,25 +5106,26 @@
|
|
|
5113
5106
|
"relativePath": [
|
|
5114
5107
|
"dist",
|
|
5115
5108
|
"commands",
|
|
5116
|
-
"
|
|
5117
|
-
"
|
|
5118
|
-
"
|
|
5109
|
+
"static_host",
|
|
5110
|
+
"build",
|
|
5111
|
+
"list",
|
|
5119
5112
|
"index.js"
|
|
5120
5113
|
]
|
|
5121
5114
|
},
|
|
5122
|
-
"tenant:backup:
|
|
5115
|
+
"tenant:backup:delete": {
|
|
5123
5116
|
"aliases": [],
|
|
5124
5117
|
"args": {
|
|
5125
5118
|
"tenant_name": {
|
|
5126
|
-
"description": "Tenant name
|
|
5119
|
+
"description": "Tenant name that owns the backup",
|
|
5127
5120
|
"name": "tenant_name",
|
|
5128
5121
|
"required": true
|
|
5129
5122
|
}
|
|
5130
5123
|
},
|
|
5131
|
-
"description": "
|
|
5132
|
-
"examples": [
|
|
5133
|
-
"$ xano tenant backup
|
|
5134
|
-
"$ xano tenant backup
|
|
5124
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5125
|
+
"examples": [
|
|
5126
|
+
"$ 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",
|
|
5127
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5128
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5135
5129
|
],
|
|
5136
5130
|
"flags": {
|
|
5137
5131
|
"profile": {
|
|
@@ -5153,16 +5147,22 @@
|
|
|
5153
5147
|
"allowNo": false,
|
|
5154
5148
|
"type": "boolean"
|
|
5155
5149
|
},
|
|
5156
|
-
"
|
|
5157
|
-
"
|
|
5158
|
-
"
|
|
5159
|
-
"
|
|
5160
|
-
"required": false,
|
|
5161
|
-
"default": "",
|
|
5150
|
+
"backup_id": {
|
|
5151
|
+
"description": "Backup ID to delete",
|
|
5152
|
+
"name": "backup_id",
|
|
5153
|
+
"required": true,
|
|
5162
5154
|
"hasDynamicHelp": false,
|
|
5163
5155
|
"multiple": false,
|
|
5164
5156
|
"type": "option"
|
|
5165
5157
|
},
|
|
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:delete",
|
|
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
|
+
"delete",
|
|
5205
5205
|
"index.js"
|
|
5206
5206
|
]
|
|
5207
5207
|
},
|
|
@@ -5298,19 +5298,19 @@
|
|
|
5298
5298
|
"index.js"
|
|
5299
5299
|
]
|
|
5300
5300
|
},
|
|
5301
|
-
"tenant:backup:
|
|
5301
|
+
"tenant:backup:import": {
|
|
5302
5302
|
"aliases": [],
|
|
5303
5303
|
"args": {
|
|
5304
5304
|
"tenant_name": {
|
|
5305
|
-
"description": "Tenant name to
|
|
5305
|
+
"description": "Tenant name to import backup into",
|
|
5306
5306
|
"name": "tenant_name",
|
|
5307
5307
|
"required": true
|
|
5308
5308
|
}
|
|
5309
5309
|
},
|
|
5310
|
-
"description": "
|
|
5310
|
+
"description": "Import a backup file into a tenant",
|
|
5311
5311
|
"examples": [
|
|
5312
|
-
"$ xano tenant backup
|
|
5313
|
-
"$ xano tenant backup
|
|
5312
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5313
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5314
5314
|
],
|
|
5315
5315
|
"flags": {
|
|
5316
5316
|
"profile": {
|
|
@@ -5332,6 +5332,25 @@
|
|
|
5332
5332
|
"allowNo": false,
|
|
5333
5333
|
"type": "boolean"
|
|
5334
5334
|
},
|
|
5335
|
+
"description": {
|
|
5336
|
+
"char": "d",
|
|
5337
|
+
"description": "Backup description",
|
|
5338
|
+
"name": "description",
|
|
5339
|
+
"required": false,
|
|
5340
|
+
"default": "",
|
|
5341
|
+
"hasDynamicHelp": false,
|
|
5342
|
+
"multiple": false,
|
|
5343
|
+
"type": "option"
|
|
5344
|
+
},
|
|
5345
|
+
"file": {
|
|
5346
|
+
"char": "f",
|
|
5347
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5348
|
+
"name": "file",
|
|
5349
|
+
"required": true,
|
|
5350
|
+
"hasDynamicHelp": false,
|
|
5351
|
+
"multiple": false,
|
|
5352
|
+
"type": "option"
|
|
5353
|
+
},
|
|
5335
5354
|
"output": {
|
|
5336
5355
|
"char": "o",
|
|
5337
5356
|
"description": "Output format",
|
|
@@ -5346,15 +5365,6 @@
|
|
|
5346
5365
|
],
|
|
5347
5366
|
"type": "option"
|
|
5348
5367
|
},
|
|
5349
|
-
"page": {
|
|
5350
|
-
"description": "Page number for pagination",
|
|
5351
|
-
"name": "page",
|
|
5352
|
-
"required": false,
|
|
5353
|
-
"default": 1,
|
|
5354
|
-
"hasDynamicHelp": false,
|
|
5355
|
-
"multiple": false,
|
|
5356
|
-
"type": "option"
|
|
5357
|
-
},
|
|
5358
5368
|
"workspace": {
|
|
5359
5369
|
"char": "w",
|
|
5360
5370
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5367,7 +5377,7 @@
|
|
|
5367
5377
|
},
|
|
5368
5378
|
"hasDynamicHelp": false,
|
|
5369
5379
|
"hiddenAliases": [],
|
|
5370
|
-
"id": "tenant:backup:
|
|
5380
|
+
"id": "tenant:backup:import",
|
|
5371
5381
|
"pluginAlias": "@xano/cli",
|
|
5372
5382
|
"pluginName": "@xano/cli",
|
|
5373
5383
|
"pluginType": "core",
|
|
@@ -5379,23 +5389,23 @@
|
|
|
5379
5389
|
"commands",
|
|
5380
5390
|
"tenant",
|
|
5381
5391
|
"backup",
|
|
5382
|
-
"
|
|
5392
|
+
"import",
|
|
5383
5393
|
"index.js"
|
|
5384
5394
|
]
|
|
5385
5395
|
},
|
|
5386
|
-
"tenant:backup:
|
|
5396
|
+
"tenant:backup:list": {
|
|
5387
5397
|
"aliases": [],
|
|
5388
5398
|
"args": {
|
|
5389
5399
|
"tenant_name": {
|
|
5390
|
-
"description": "Tenant name to
|
|
5400
|
+
"description": "Tenant name to list backups for",
|
|
5391
5401
|
"name": "tenant_name",
|
|
5392
5402
|
"required": true
|
|
5393
5403
|
}
|
|
5394
5404
|
},
|
|
5395
|
-
"description": "
|
|
5405
|
+
"description": "List backups for a tenant",
|
|
5396
5406
|
"examples": [
|
|
5397
|
-
"$ xano tenant backup
|
|
5398
|
-
"$ xano tenant backup
|
|
5407
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5408
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5399
5409
|
],
|
|
5400
5410
|
"flags": {
|
|
5401
5411
|
"profile": {
|
|
@@ -5417,22 +5427,6 @@
|
|
|
5417
5427
|
"allowNo": false,
|
|
5418
5428
|
"type": "boolean"
|
|
5419
5429
|
},
|
|
5420
|
-
"backup_id": {
|
|
5421
|
-
"description": "Backup ID to restore from",
|
|
5422
|
-
"name": "backup_id",
|
|
5423
|
-
"required": true,
|
|
5424
|
-
"hasDynamicHelp": false,
|
|
5425
|
-
"multiple": false,
|
|
5426
|
-
"type": "option"
|
|
5427
|
-
},
|
|
5428
|
-
"force": {
|
|
5429
|
-
"char": "f",
|
|
5430
|
-
"description": "Skip confirmation prompt",
|
|
5431
|
-
"name": "force",
|
|
5432
|
-
"required": false,
|
|
5433
|
-
"allowNo": false,
|
|
5434
|
-
"type": "boolean"
|
|
5435
|
-
},
|
|
5436
5430
|
"output": {
|
|
5437
5431
|
"char": "o",
|
|
5438
5432
|
"description": "Output format",
|
|
@@ -5447,6 +5441,15 @@
|
|
|
5447
5441
|
],
|
|
5448
5442
|
"type": "option"
|
|
5449
5443
|
},
|
|
5444
|
+
"page": {
|
|
5445
|
+
"description": "Page number for pagination",
|
|
5446
|
+
"name": "page",
|
|
5447
|
+
"required": false,
|
|
5448
|
+
"default": 1,
|
|
5449
|
+
"hasDynamicHelp": false,
|
|
5450
|
+
"multiple": false,
|
|
5451
|
+
"type": "option"
|
|
5452
|
+
},
|
|
5450
5453
|
"workspace": {
|
|
5451
5454
|
"char": "w",
|
|
5452
5455
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5459,7 +5462,7 @@
|
|
|
5459
5462
|
},
|
|
5460
5463
|
"hasDynamicHelp": false,
|
|
5461
5464
|
"hiddenAliases": [],
|
|
5462
|
-
"id": "tenant:backup:
|
|
5465
|
+
"id": "tenant:backup:list",
|
|
5463
5466
|
"pluginAlias": "@xano/cli",
|
|
5464
5467
|
"pluginName": "@xano/cli",
|
|
5465
5468
|
"pluginType": "core",
|
|
@@ -5471,24 +5474,23 @@
|
|
|
5471
5474
|
"commands",
|
|
5472
5475
|
"tenant",
|
|
5473
5476
|
"backup",
|
|
5474
|
-
"
|
|
5477
|
+
"list",
|
|
5475
5478
|
"index.js"
|
|
5476
5479
|
]
|
|
5477
5480
|
},
|
|
5478
|
-
"tenant:
|
|
5481
|
+
"tenant:backup:restore": {
|
|
5479
5482
|
"aliases": [],
|
|
5480
5483
|
"args": {
|
|
5481
|
-
"
|
|
5482
|
-
"description": "
|
|
5483
|
-
"name": "
|
|
5484
|
+
"tenant_name": {
|
|
5485
|
+
"description": "Tenant name to restore",
|
|
5486
|
+
"name": "tenant_name",
|
|
5484
5487
|
"required": true
|
|
5485
5488
|
}
|
|
5486
5489
|
},
|
|
5487
|
-
"description": "
|
|
5490
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5488
5491
|
"examples": [
|
|
5489
|
-
"$ xano tenant
|
|
5490
|
-
"$ xano tenant
|
|
5491
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5492
|
+
"$ 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",
|
|
5493
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5492
5494
|
],
|
|
5493
5495
|
"flags": {
|
|
5494
5496
|
"profile": {
|
|
@@ -5510,6 +5512,14 @@
|
|
|
5510
5512
|
"allowNo": false,
|
|
5511
5513
|
"type": "boolean"
|
|
5512
5514
|
},
|
|
5515
|
+
"backup_id": {
|
|
5516
|
+
"description": "Backup ID to restore from",
|
|
5517
|
+
"name": "backup_id",
|
|
5518
|
+
"required": true,
|
|
5519
|
+
"hasDynamicHelp": false,
|
|
5520
|
+
"multiple": false,
|
|
5521
|
+
"type": "option"
|
|
5522
|
+
},
|
|
5513
5523
|
"force": {
|
|
5514
5524
|
"char": "f",
|
|
5515
5525
|
"description": "Skip confirmation prompt",
|
|
@@ -5531,11 +5541,20 @@
|
|
|
5531
5541
|
"json"
|
|
5532
5542
|
],
|
|
5533
5543
|
"type": "option"
|
|
5544
|
+
},
|
|
5545
|
+
"workspace": {
|
|
5546
|
+
"char": "w",
|
|
5547
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5548
|
+
"name": "workspace",
|
|
5549
|
+
"required": false,
|
|
5550
|
+
"hasDynamicHelp": false,
|
|
5551
|
+
"multiple": false,
|
|
5552
|
+
"type": "option"
|
|
5534
5553
|
}
|
|
5535
5554
|
},
|
|
5536
5555
|
"hasDynamicHelp": false,
|
|
5537
5556
|
"hiddenAliases": [],
|
|
5538
|
-
"id": "tenant:
|
|
5557
|
+
"id": "tenant:backup:restore",
|
|
5539
5558
|
"pluginAlias": "@xano/cli",
|
|
5540
5559
|
"pluginName": "@xano/cli",
|
|
5541
5560
|
"pluginType": "core",
|
|
@@ -5546,8 +5565,8 @@
|
|
|
5546
5565
|
"dist",
|
|
5547
5566
|
"commands",
|
|
5548
5567
|
"tenant",
|
|
5549
|
-
"
|
|
5550
|
-
"
|
|
5568
|
+
"backup",
|
|
5569
|
+
"restore",
|
|
5551
5570
|
"index.js"
|
|
5552
5571
|
]
|
|
5553
5572
|
},
|
|
@@ -5673,19 +5692,20 @@
|
|
|
5673
5692
|
"index.js"
|
|
5674
5693
|
]
|
|
5675
5694
|
},
|
|
5676
|
-
"tenant:
|
|
5695
|
+
"tenant:cluster:delete": {
|
|
5677
5696
|
"aliases": [],
|
|
5678
5697
|
"args": {
|
|
5679
|
-
"
|
|
5680
|
-
"description": "
|
|
5681
|
-
"name": "
|
|
5698
|
+
"cluster_id": {
|
|
5699
|
+
"description": "Cluster ID to delete",
|
|
5700
|
+
"name": "cluster_id",
|
|
5682
5701
|
"required": true
|
|
5683
5702
|
}
|
|
5684
5703
|
},
|
|
5685
|
-
"description": "
|
|
5704
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5686
5705
|
"examples": [
|
|
5687
|
-
"$ xano tenant
|
|
5688
|
-
"$ xano tenant
|
|
5706
|
+
"$ 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",
|
|
5707
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5708
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5689
5709
|
],
|
|
5690
5710
|
"flags": {
|
|
5691
5711
|
"profile": {
|
|
@@ -5707,24 +5727,13 @@
|
|
|
5707
5727
|
"allowNo": false,
|
|
5708
5728
|
"type": "boolean"
|
|
5709
5729
|
},
|
|
5710
|
-
"
|
|
5711
|
-
"char": "d",
|
|
5712
|
-
"description": "Backup description",
|
|
5713
|
-
"name": "description",
|
|
5714
|
-
"required": false,
|
|
5715
|
-
"default": "",
|
|
5716
|
-
"hasDynamicHelp": false,
|
|
5717
|
-
"multiple": false,
|
|
5718
|
-
"type": "option"
|
|
5719
|
-
},
|
|
5720
|
-
"file": {
|
|
5730
|
+
"force": {
|
|
5721
5731
|
"char": "f",
|
|
5722
|
-
"description": "
|
|
5723
|
-
"name": "
|
|
5724
|
-
"required":
|
|
5725
|
-
"
|
|
5726
|
-
"
|
|
5727
|
-
"type": "option"
|
|
5732
|
+
"description": "Skip confirmation prompt",
|
|
5733
|
+
"name": "force",
|
|
5734
|
+
"required": false,
|
|
5735
|
+
"allowNo": false,
|
|
5736
|
+
"type": "boolean"
|
|
5728
5737
|
},
|
|
5729
5738
|
"output": {
|
|
5730
5739
|
"char": "o",
|
|
@@ -5739,20 +5748,11 @@
|
|
|
5739
5748
|
"json"
|
|
5740
5749
|
],
|
|
5741
5750
|
"type": "option"
|
|
5742
|
-
},
|
|
5743
|
-
"workspace": {
|
|
5744
|
-
"char": "w",
|
|
5745
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5746
|
-
"name": "workspace",
|
|
5747
|
-
"required": false,
|
|
5748
|
-
"hasDynamicHelp": false,
|
|
5749
|
-
"multiple": false,
|
|
5750
|
-
"type": "option"
|
|
5751
5751
|
}
|
|
5752
5752
|
},
|
|
5753
5753
|
"hasDynamicHelp": false,
|
|
5754
5754
|
"hiddenAliases": [],
|
|
5755
|
-
"id": "tenant:
|
|
5755
|
+
"id": "tenant:cluster:delete",
|
|
5756
5756
|
"pluginAlias": "@xano/cli",
|
|
5757
5757
|
"pluginName": "@xano/cli",
|
|
5758
5758
|
"pluginType": "core",
|
|
@@ -5763,8 +5763,8 @@
|
|
|
5763
5763
|
"dist",
|
|
5764
5764
|
"commands",
|
|
5765
5765
|
"tenant",
|
|
5766
|
-
"
|
|
5767
|
-
"
|
|
5766
|
+
"cluster",
|
|
5767
|
+
"delete",
|
|
5768
5768
|
"index.js"
|
|
5769
5769
|
]
|
|
5770
5770
|
},
|
|
@@ -6180,7 +6180,7 @@
|
|
|
6180
6180
|
"index.js"
|
|
6181
6181
|
]
|
|
6182
6182
|
},
|
|
6183
|
-
"tenant:env:
|
|
6183
|
+
"tenant:env:list": {
|
|
6184
6184
|
"aliases": [],
|
|
6185
6185
|
"args": {
|
|
6186
6186
|
"tenant_name": {
|
|
@@ -6189,11 +6189,10 @@
|
|
|
6189
6189
|
"required": true
|
|
6190
6190
|
}
|
|
6191
6191
|
},
|
|
6192
|
-
"description": "
|
|
6192
|
+
"description": "List environment variable keys for a tenant",
|
|
6193
6193
|
"examples": [
|
|
6194
|
-
"$ xano tenant env
|
|
6195
|
-
"$ xano tenant env
|
|
6196
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
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"
|
|
6197
6196
|
],
|
|
6198
6197
|
"flags": {
|
|
6199
6198
|
"profile": {
|
|
@@ -6215,23 +6214,6 @@
|
|
|
6215
6214
|
"allowNo": false,
|
|
6216
6215
|
"type": "boolean"
|
|
6217
6216
|
},
|
|
6218
|
-
"force": {
|
|
6219
|
-
"char": "f",
|
|
6220
|
-
"description": "Skip confirmation prompt",
|
|
6221
|
-
"name": "force",
|
|
6222
|
-
"required": false,
|
|
6223
|
-
"allowNo": false,
|
|
6224
|
-
"type": "boolean"
|
|
6225
|
-
},
|
|
6226
|
-
"name": {
|
|
6227
|
-
"char": "n",
|
|
6228
|
-
"description": "Environment variable name",
|
|
6229
|
-
"name": "name",
|
|
6230
|
-
"required": true,
|
|
6231
|
-
"hasDynamicHelp": false,
|
|
6232
|
-
"multiple": false,
|
|
6233
|
-
"type": "option"
|
|
6234
|
-
},
|
|
6235
6217
|
"output": {
|
|
6236
6218
|
"char": "o",
|
|
6237
6219
|
"description": "Output format",
|
|
@@ -6258,7 +6240,7 @@
|
|
|
6258
6240
|
},
|
|
6259
6241
|
"hasDynamicHelp": false,
|
|
6260
6242
|
"hiddenAliases": [],
|
|
6261
|
-
"id": "tenant:env:
|
|
6243
|
+
"id": "tenant:env:list",
|
|
6262
6244
|
"pluginAlias": "@xano/cli",
|
|
6263
6245
|
"pluginName": "@xano/cli",
|
|
6264
6246
|
"pluginType": "core",
|
|
@@ -6270,11 +6252,11 @@
|
|
|
6270
6252
|
"commands",
|
|
6271
6253
|
"tenant",
|
|
6272
6254
|
"env",
|
|
6273
|
-
"
|
|
6255
|
+
"list",
|
|
6274
6256
|
"index.js"
|
|
6275
6257
|
]
|
|
6276
6258
|
},
|
|
6277
|
-
"tenant:env:
|
|
6259
|
+
"tenant:env:delete": {
|
|
6278
6260
|
"aliases": [],
|
|
6279
6261
|
"args": {
|
|
6280
6262
|
"tenant_name": {
|
|
@@ -6283,10 +6265,11 @@
|
|
|
6283
6265
|
"required": true
|
|
6284
6266
|
}
|
|
6285
6267
|
},
|
|
6286
|
-
"description": "
|
|
6268
|
+
"description": "Delete an environment variable from a tenant",
|
|
6287
6269
|
"examples": [
|
|
6288
|
-
"$ xano tenant env
|
|
6289
|
-
"$ xano tenant env
|
|
6270
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6271
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6272
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6290
6273
|
],
|
|
6291
6274
|
"flags": {
|
|
6292
6275
|
"profile": {
|
|
@@ -6308,6 +6291,23 @@
|
|
|
6308
6291
|
"allowNo": false,
|
|
6309
6292
|
"type": "boolean"
|
|
6310
6293
|
},
|
|
6294
|
+
"force": {
|
|
6295
|
+
"char": "f",
|
|
6296
|
+
"description": "Skip confirmation prompt",
|
|
6297
|
+
"name": "force",
|
|
6298
|
+
"required": false,
|
|
6299
|
+
"allowNo": false,
|
|
6300
|
+
"type": "boolean"
|
|
6301
|
+
},
|
|
6302
|
+
"name": {
|
|
6303
|
+
"char": "n",
|
|
6304
|
+
"description": "Environment variable name",
|
|
6305
|
+
"name": "name",
|
|
6306
|
+
"required": true,
|
|
6307
|
+
"hasDynamicHelp": false,
|
|
6308
|
+
"multiple": false,
|
|
6309
|
+
"type": "option"
|
|
6310
|
+
},
|
|
6311
6311
|
"output": {
|
|
6312
6312
|
"char": "o",
|
|
6313
6313
|
"description": "Output format",
|
|
@@ -6334,7 +6334,7 @@
|
|
|
6334
6334
|
},
|
|
6335
6335
|
"hasDynamicHelp": false,
|
|
6336
6336
|
"hiddenAliases": [],
|
|
6337
|
-
"id": "tenant:env:
|
|
6337
|
+
"id": "tenant:env:delete",
|
|
6338
6338
|
"pluginAlias": "@xano/cli",
|
|
6339
6339
|
"pluginName": "@xano/cli",
|
|
6340
6340
|
"pluginType": "core",
|
|
@@ -6346,11 +6346,11 @@
|
|
|
6346
6346
|
"commands",
|
|
6347
6347
|
"tenant",
|
|
6348
6348
|
"env",
|
|
6349
|
-
"
|
|
6349
|
+
"delete",
|
|
6350
6350
|
"index.js"
|
|
6351
6351
|
]
|
|
6352
6352
|
},
|
|
6353
|
-
"tenant:env:
|
|
6353
|
+
"tenant:env:set_all": {
|
|
6354
6354
|
"aliases": [],
|
|
6355
6355
|
"args": {
|
|
6356
6356
|
"tenant_name": {
|
|
@@ -6359,10 +6359,11 @@
|
|
|
6359
6359
|
"required": true
|
|
6360
6360
|
}
|
|
6361
6361
|
},
|
|
6362
|
-
"description": "Set
|
|
6362
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6363
6363
|
"examples": [
|
|
6364
|
-
"$ xano tenant env
|
|
6365
|
-
"$ xano tenant env
|
|
6364
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6365
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6366
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6366
6367
|
],
|
|
6367
6368
|
"flags": {
|
|
6368
6369
|
"profile": {
|
|
@@ -6384,11 +6385,18 @@
|
|
|
6384
6385
|
"allowNo": false,
|
|
6385
6386
|
"type": "boolean"
|
|
6386
6387
|
},
|
|
6387
|
-
"
|
|
6388
|
-
"
|
|
6389
|
-
"
|
|
6390
|
-
"
|
|
6391
|
-
"
|
|
6388
|
+
"clean": {
|
|
6389
|
+
"description": "Remove the source file after successful upload",
|
|
6390
|
+
"name": "clean",
|
|
6391
|
+
"required": false,
|
|
6392
|
+
"allowNo": false,
|
|
6393
|
+
"type": "boolean"
|
|
6394
|
+
},
|
|
6395
|
+
"file": {
|
|
6396
|
+
"char": "f",
|
|
6397
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6398
|
+
"name": "file",
|
|
6399
|
+
"required": false,
|
|
6392
6400
|
"hasDynamicHelp": false,
|
|
6393
6401
|
"multiple": false,
|
|
6394
6402
|
"type": "option"
|
|
@@ -6407,14 +6415,6 @@
|
|
|
6407
6415
|
],
|
|
6408
6416
|
"type": "option"
|
|
6409
6417
|
},
|
|
6410
|
-
"value": {
|
|
6411
|
-
"description": "Environment variable value",
|
|
6412
|
-
"name": "value",
|
|
6413
|
-
"required": true,
|
|
6414
|
-
"hasDynamicHelp": false,
|
|
6415
|
-
"multiple": false,
|
|
6416
|
-
"type": "option"
|
|
6417
|
-
},
|
|
6418
6418
|
"workspace": {
|
|
6419
6419
|
"char": "w",
|
|
6420
6420
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6427,7 +6427,7 @@
|
|
|
6427
6427
|
},
|
|
6428
6428
|
"hasDynamicHelp": false,
|
|
6429
6429
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:env:
|
|
6430
|
+
"id": "tenant:env:set_all",
|
|
6431
6431
|
"pluginAlias": "@xano/cli",
|
|
6432
6432
|
"pluginName": "@xano/cli",
|
|
6433
6433
|
"pluginType": "core",
|
|
@@ -6439,11 +6439,11 @@
|
|
|
6439
6439
|
"commands",
|
|
6440
6440
|
"tenant",
|
|
6441
6441
|
"env",
|
|
6442
|
-
"
|
|
6442
|
+
"set_all",
|
|
6443
6443
|
"index.js"
|
|
6444
6444
|
]
|
|
6445
6445
|
},
|
|
6446
|
-
"tenant:
|
|
6446
|
+
"tenant:license:get": {
|
|
6447
6447
|
"aliases": [],
|
|
6448
6448
|
"args": {
|
|
6449
6449
|
"tenant_name": {
|
|
@@ -6452,11 +6452,12 @@
|
|
|
6452
6452
|
"required": true
|
|
6453
6453
|
}
|
|
6454
6454
|
},
|
|
6455
|
-
"description": "
|
|
6455
|
+
"description": "Get the license for a tenant",
|
|
6456
6456
|
"examples": [
|
|
6457
|
-
"$ xano tenant
|
|
6458
|
-
"$ xano tenant
|
|
6459
|
-
"$ xano tenant
|
|
6457
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6458
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6459
|
+
"$ xano tenant license get my-tenant --view",
|
|
6460
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6460
6461
|
],
|
|
6461
6462
|
"flags": {
|
|
6462
6463
|
"profile": {
|
|
@@ -6478,16 +6479,9 @@
|
|
|
6478
6479
|
"allowNo": false,
|
|
6479
6480
|
"type": "boolean"
|
|
6480
6481
|
},
|
|
6481
|
-
"clean": {
|
|
6482
|
-
"description": "Remove the source file after successful upload",
|
|
6483
|
-
"name": "clean",
|
|
6484
|
-
"required": false,
|
|
6485
|
-
"allowNo": false,
|
|
6486
|
-
"type": "boolean"
|
|
6487
|
-
},
|
|
6488
6482
|
"file": {
|
|
6489
6483
|
"char": "f",
|
|
6490
|
-
"description": "
|
|
6484
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6491
6485
|
"name": "file",
|
|
6492
6486
|
"required": false,
|
|
6493
6487
|
"hasDynamicHelp": false,
|
|
@@ -6508,6 +6502,13 @@
|
|
|
6508
6502
|
],
|
|
6509
6503
|
"type": "option"
|
|
6510
6504
|
},
|
|
6505
|
+
"view": {
|
|
6506
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6507
|
+
"name": "view",
|
|
6508
|
+
"required": false,
|
|
6509
|
+
"allowNo": false,
|
|
6510
|
+
"type": "boolean"
|
|
6511
|
+
},
|
|
6511
6512
|
"workspace": {
|
|
6512
6513
|
"char": "w",
|
|
6513
6514
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6520,7 +6521,7 @@
|
|
|
6520
6521
|
},
|
|
6521
6522
|
"hasDynamicHelp": false,
|
|
6522
6523
|
"hiddenAliases": [],
|
|
6523
|
-
"id": "tenant:
|
|
6524
|
+
"id": "tenant:license:get",
|
|
6524
6525
|
"pluginAlias": "@xano/cli",
|
|
6525
6526
|
"pluginName": "@xano/cli",
|
|
6526
6527
|
"pluginType": "core",
|
|
@@ -6531,12 +6532,12 @@
|
|
|
6531
6532
|
"dist",
|
|
6532
6533
|
"commands",
|
|
6533
6534
|
"tenant",
|
|
6534
|
-
"
|
|
6535
|
-
"
|
|
6535
|
+
"license",
|
|
6536
|
+
"get",
|
|
6536
6537
|
"index.js"
|
|
6537
6538
|
]
|
|
6538
6539
|
},
|
|
6539
|
-
"tenant:
|
|
6540
|
+
"tenant:env:set": {
|
|
6540
6541
|
"aliases": [],
|
|
6541
6542
|
"args": {
|
|
6542
6543
|
"tenant_name": {
|
|
@@ -6545,12 +6546,10 @@
|
|
|
6545
6546
|
"required": true
|
|
6546
6547
|
}
|
|
6547
6548
|
},
|
|
6548
|
-
"description": "Set
|
|
6549
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6549
6550
|
"examples": [
|
|
6550
|
-
"$ xano tenant
|
|
6551
|
-
"$ xano tenant
|
|
6552
|
-
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6553
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6551
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6552
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6554
6553
|
],
|
|
6555
6554
|
"flags": {
|
|
6556
6555
|
"profile": {
|
|
@@ -6572,24 +6571,11 @@
|
|
|
6572
6571
|
"allowNo": false,
|
|
6573
6572
|
"type": "boolean"
|
|
6574
6573
|
},
|
|
6575
|
-
"
|
|
6576
|
-
"
|
|
6577
|
-
"
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
"name": "clean",
|
|
6581
|
-
"required": false,
|
|
6582
|
-
"allowNo": false,
|
|
6583
|
-
"type": "boolean"
|
|
6584
|
-
},
|
|
6585
|
-
"file": {
|
|
6586
|
-
"char": "f",
|
|
6587
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6588
|
-
"exclusive": [
|
|
6589
|
-
"value"
|
|
6590
|
-
],
|
|
6591
|
-
"name": "file",
|
|
6592
|
-
"required": false,
|
|
6574
|
+
"name": {
|
|
6575
|
+
"char": "n",
|
|
6576
|
+
"description": "Environment variable name",
|
|
6577
|
+
"name": "name",
|
|
6578
|
+
"required": true,
|
|
6593
6579
|
"hasDynamicHelp": false,
|
|
6594
6580
|
"multiple": false,
|
|
6595
6581
|
"type": "option"
|
|
@@ -6609,13 +6595,9 @@
|
|
|
6609
6595
|
"type": "option"
|
|
6610
6596
|
},
|
|
6611
6597
|
"value": {
|
|
6612
|
-
"description": "
|
|
6613
|
-
"exclusive": [
|
|
6614
|
-
"file",
|
|
6615
|
-
"clean"
|
|
6616
|
-
],
|
|
6598
|
+
"description": "Environment variable value",
|
|
6617
6599
|
"name": "value",
|
|
6618
|
-
"required":
|
|
6600
|
+
"required": true,
|
|
6619
6601
|
"hasDynamicHelp": false,
|
|
6620
6602
|
"multiple": false,
|
|
6621
6603
|
"type": "option"
|
|
@@ -6632,7 +6614,7 @@
|
|
|
6632
6614
|
},
|
|
6633
6615
|
"hasDynamicHelp": false,
|
|
6634
6616
|
"hiddenAliases": [],
|
|
6635
|
-
"id": "tenant:
|
|
6617
|
+
"id": "tenant:env:set",
|
|
6636
6618
|
"pluginAlias": "@xano/cli",
|
|
6637
6619
|
"pluginName": "@xano/cli",
|
|
6638
6620
|
"pluginType": "core",
|
|
@@ -6643,12 +6625,12 @@
|
|
|
6643
6625
|
"dist",
|
|
6644
6626
|
"commands",
|
|
6645
6627
|
"tenant",
|
|
6646
|
-
"
|
|
6628
|
+
"env",
|
|
6647
6629
|
"set",
|
|
6648
6630
|
"index.js"
|
|
6649
6631
|
]
|
|
6650
6632
|
},
|
|
6651
|
-
"tenant:license:
|
|
6633
|
+
"tenant:license:set": {
|
|
6652
6634
|
"aliases": [],
|
|
6653
6635
|
"args": {
|
|
6654
6636
|
"tenant_name": {
|
|
@@ -6657,12 +6639,12 @@
|
|
|
6657
6639
|
"required": true
|
|
6658
6640
|
}
|
|
6659
6641
|
},
|
|
6660
|
-
"description": "
|
|
6642
|
+
"description": "Set/update the license for a tenant",
|
|
6661
6643
|
"examples": [
|
|
6662
|
-
"$ xano tenant license
|
|
6663
|
-
"$ xano tenant license
|
|
6664
|
-
"$ xano tenant license
|
|
6665
|
-
"$ xano tenant license
|
|
6644
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6645
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6646
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6647
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6666
6648
|
],
|
|
6667
6649
|
"flags": {
|
|
6668
6650
|
"profile": {
|
|
@@ -6684,9 +6666,22 @@
|
|
|
6684
6666
|
"allowNo": false,
|
|
6685
6667
|
"type": "boolean"
|
|
6686
6668
|
},
|
|
6669
|
+
"clean": {
|
|
6670
|
+
"description": "Remove the source file after successful upload",
|
|
6671
|
+
"exclusive": [
|
|
6672
|
+
"value"
|
|
6673
|
+
],
|
|
6674
|
+
"name": "clean",
|
|
6675
|
+
"required": false,
|
|
6676
|
+
"allowNo": false,
|
|
6677
|
+
"type": "boolean"
|
|
6678
|
+
},
|
|
6687
6679
|
"file": {
|
|
6688
6680
|
"char": "f",
|
|
6689
|
-
"description": "
|
|
6681
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6682
|
+
"exclusive": [
|
|
6683
|
+
"value"
|
|
6684
|
+
],
|
|
6690
6685
|
"name": "file",
|
|
6691
6686
|
"required": false,
|
|
6692
6687
|
"hasDynamicHelp": false,
|
|
@@ -6707,12 +6702,17 @@
|
|
|
6707
6702
|
],
|
|
6708
6703
|
"type": "option"
|
|
6709
6704
|
},
|
|
6710
|
-
"
|
|
6711
|
-
"description": "
|
|
6712
|
-
"
|
|
6705
|
+
"value": {
|
|
6706
|
+
"description": "Inline license value",
|
|
6707
|
+
"exclusive": [
|
|
6708
|
+
"file",
|
|
6709
|
+
"clean"
|
|
6710
|
+
],
|
|
6711
|
+
"name": "value",
|
|
6713
6712
|
"required": false,
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6713
|
+
"hasDynamicHelp": false,
|
|
6714
|
+
"multiple": false,
|
|
6715
|
+
"type": "option"
|
|
6716
6716
|
},
|
|
6717
6717
|
"workspace": {
|
|
6718
6718
|
"char": "w",
|
|
@@ -6726,7 +6726,7 @@
|
|
|
6726
6726
|
},
|
|
6727
6727
|
"hasDynamicHelp": false,
|
|
6728
6728
|
"hiddenAliases": [],
|
|
6729
|
-
"id": "tenant:license:
|
|
6729
|
+
"id": "tenant:license:set",
|
|
6730
6730
|
"pluginAlias": "@xano/cli",
|
|
6731
6731
|
"pluginName": "@xano/cli",
|
|
6732
6732
|
"pluginType": "core",
|
|
@@ -6738,7 +6738,7 @@
|
|
|
6738
6738
|
"commands",
|
|
6739
6739
|
"tenant",
|
|
6740
6740
|
"license",
|
|
6741
|
-
"
|
|
6741
|
+
"set",
|
|
6742
6742
|
"index.js"
|
|
6743
6743
|
]
|
|
6744
6744
|
},
|
|
@@ -6836,7 +6836,7 @@
|
|
|
6836
6836
|
"index.js"
|
|
6837
6837
|
]
|
|
6838
6838
|
},
|
|
6839
|
-
"tenant:cluster:license:
|
|
6839
|
+
"tenant:cluster:license:set": {
|
|
6840
6840
|
"aliases": [],
|
|
6841
6841
|
"args": {
|
|
6842
6842
|
"cluster_id": {
|
|
@@ -6845,12 +6845,12 @@
|
|
|
6845
6845
|
"required": true
|
|
6846
6846
|
}
|
|
6847
6847
|
},
|
|
6848
|
-
"description": "
|
|
6848
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
6849
6849
|
"examples": [
|
|
6850
|
-
"$ xano tenant cluster license
|
|
6851
|
-
"$ xano tenant cluster license
|
|
6852
|
-
"$ xano tenant cluster license
|
|
6853
|
-
"$ xano tenant cluster license
|
|
6850
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
6851
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
6852
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
6853
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
6854
6854
|
],
|
|
6855
6855
|
"flags": {
|
|
6856
6856
|
"profile": {
|
|
@@ -6872,9 +6872,22 @@
|
|
|
6872
6872
|
"allowNo": false,
|
|
6873
6873
|
"type": "boolean"
|
|
6874
6874
|
},
|
|
6875
|
+
"clean": {
|
|
6876
|
+
"description": "Remove the source file after successful upload",
|
|
6877
|
+
"exclusive": [
|
|
6878
|
+
"value"
|
|
6879
|
+
],
|
|
6880
|
+
"name": "clean",
|
|
6881
|
+
"required": false,
|
|
6882
|
+
"allowNo": false,
|
|
6883
|
+
"type": "boolean"
|
|
6884
|
+
},
|
|
6875
6885
|
"file": {
|
|
6876
6886
|
"char": "f",
|
|
6877
|
-
"description": "
|
|
6887
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
6888
|
+
"exclusive": [
|
|
6889
|
+
"value"
|
|
6890
|
+
],
|
|
6878
6891
|
"name": "file",
|
|
6879
6892
|
"required": false,
|
|
6880
6893
|
"hasDynamicHelp": false,
|
|
@@ -6895,17 +6908,22 @@
|
|
|
6895
6908
|
],
|
|
6896
6909
|
"type": "option"
|
|
6897
6910
|
},
|
|
6898
|
-
"
|
|
6899
|
-
"description": "
|
|
6900
|
-
"
|
|
6911
|
+
"value": {
|
|
6912
|
+
"description": "Inline kubeconfig YAML value",
|
|
6913
|
+
"exclusive": [
|
|
6914
|
+
"file",
|
|
6915
|
+
"clean"
|
|
6916
|
+
],
|
|
6917
|
+
"name": "value",
|
|
6901
6918
|
"required": false,
|
|
6902
|
-
"
|
|
6903
|
-
"
|
|
6919
|
+
"hasDynamicHelp": false,
|
|
6920
|
+
"multiple": false,
|
|
6921
|
+
"type": "option"
|
|
6904
6922
|
}
|
|
6905
6923
|
},
|
|
6906
6924
|
"hasDynamicHelp": false,
|
|
6907
6925
|
"hiddenAliases": [],
|
|
6908
|
-
"id": "tenant:cluster:license:
|
|
6926
|
+
"id": "tenant:cluster:license:set",
|
|
6909
6927
|
"pluginAlias": "@xano/cli",
|
|
6910
6928
|
"pluginName": "@xano/cli",
|
|
6911
6929
|
"pluginType": "core",
|
|
@@ -6918,11 +6936,11 @@
|
|
|
6918
6936
|
"tenant",
|
|
6919
6937
|
"cluster",
|
|
6920
6938
|
"license",
|
|
6921
|
-
"
|
|
6939
|
+
"set",
|
|
6922
6940
|
"index.js"
|
|
6923
6941
|
]
|
|
6924
6942
|
},
|
|
6925
|
-
"tenant:cluster:license:
|
|
6943
|
+
"tenant:cluster:license:get": {
|
|
6926
6944
|
"aliases": [],
|
|
6927
6945
|
"args": {
|
|
6928
6946
|
"cluster_id": {
|
|
@@ -6931,12 +6949,12 @@
|
|
|
6931
6949
|
"required": true
|
|
6932
6950
|
}
|
|
6933
6951
|
},
|
|
6934
|
-
"description": "
|
|
6952
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6935
6953
|
"examples": [
|
|
6936
|
-
"$ xano tenant cluster license
|
|
6937
|
-
"$ xano tenant cluster license
|
|
6938
|
-
"$ xano tenant cluster license
|
|
6939
|
-
"$ xano tenant cluster license
|
|
6954
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6955
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6956
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6957
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6940
6958
|
],
|
|
6941
6959
|
"flags": {
|
|
6942
6960
|
"profile": {
|
|
@@ -6958,22 +6976,9 @@
|
|
|
6958
6976
|
"allowNo": false,
|
|
6959
6977
|
"type": "boolean"
|
|
6960
6978
|
},
|
|
6961
|
-
"clean": {
|
|
6962
|
-
"description": "Remove the source file after successful upload",
|
|
6963
|
-
"exclusive": [
|
|
6964
|
-
"value"
|
|
6965
|
-
],
|
|
6966
|
-
"name": "clean",
|
|
6967
|
-
"required": false,
|
|
6968
|
-
"allowNo": false,
|
|
6969
|
-
"type": "boolean"
|
|
6970
|
-
},
|
|
6971
6979
|
"file": {
|
|
6972
6980
|
"char": "f",
|
|
6973
|
-
"description": "
|
|
6974
|
-
"exclusive": [
|
|
6975
|
-
"value"
|
|
6976
|
-
],
|
|
6981
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6977
6982
|
"name": "file",
|
|
6978
6983
|
"required": false,
|
|
6979
6984
|
"hasDynamicHelp": false,
|
|
@@ -6994,22 +6999,17 @@
|
|
|
6994
6999
|
],
|
|
6995
7000
|
"type": "option"
|
|
6996
7001
|
},
|
|
6997
|
-
"
|
|
6998
|
-
"description": "
|
|
6999
|
-
"
|
|
7000
|
-
"file",
|
|
7001
|
-
"clean"
|
|
7002
|
-
],
|
|
7003
|
-
"name": "value",
|
|
7002
|
+
"view": {
|
|
7003
|
+
"description": "Print license to stdout instead of saving to file",
|
|
7004
|
+
"name": "view",
|
|
7004
7005
|
"required": false,
|
|
7005
|
-
"
|
|
7006
|
-
"
|
|
7007
|
-
"type": "option"
|
|
7006
|
+
"allowNo": false,
|
|
7007
|
+
"type": "boolean"
|
|
7008
7008
|
}
|
|
7009
7009
|
},
|
|
7010
7010
|
"hasDynamicHelp": false,
|
|
7011
7011
|
"hiddenAliases": [],
|
|
7012
|
-
"id": "tenant:cluster:license:
|
|
7012
|
+
"id": "tenant:cluster:license:get",
|
|
7013
7013
|
"pluginAlias": "@xano/cli",
|
|
7014
7014
|
"pluginName": "@xano/cli",
|
|
7015
7015
|
"pluginType": "core",
|
|
@@ -7022,10 +7022,10 @@
|
|
|
7022
7022
|
"tenant",
|
|
7023
7023
|
"cluster",
|
|
7024
7024
|
"license",
|
|
7025
|
-
"
|
|
7025
|
+
"get",
|
|
7026
7026
|
"index.js"
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.58"
|
|
7031
7031
|
}
|