@xano/cli 0.0.88 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -291,82 +291,6 @@
|
|
|
291
291
|
"index.js"
|
|
292
292
|
]
|
|
293
293
|
},
|
|
294
|
-
"branch:get": {
|
|
295
|
-
"aliases": [],
|
|
296
|
-
"args": {
|
|
297
|
-
"branch_label": {
|
|
298
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
299
|
-
"name": "branch_label",
|
|
300
|
-
"required": true
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
"description": "Get details for a specific branch",
|
|
304
|
-
"examples": [
|
|
305
|
-
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
306
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
307
|
-
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
308
|
-
],
|
|
309
|
-
"flags": {
|
|
310
|
-
"profile": {
|
|
311
|
-
"char": "p",
|
|
312
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
313
|
-
"env": "XANO_PROFILE",
|
|
314
|
-
"name": "profile",
|
|
315
|
-
"required": false,
|
|
316
|
-
"hasDynamicHelp": false,
|
|
317
|
-
"multiple": false,
|
|
318
|
-
"type": "option"
|
|
319
|
-
},
|
|
320
|
-
"verbose": {
|
|
321
|
-
"char": "v",
|
|
322
|
-
"description": "Show detailed request/response information",
|
|
323
|
-
"env": "XANO_VERBOSE",
|
|
324
|
-
"name": "verbose",
|
|
325
|
-
"required": false,
|
|
326
|
-
"allowNo": false,
|
|
327
|
-
"type": "boolean"
|
|
328
|
-
},
|
|
329
|
-
"output": {
|
|
330
|
-
"char": "o",
|
|
331
|
-
"description": "Output format",
|
|
332
|
-
"name": "output",
|
|
333
|
-
"required": false,
|
|
334
|
-
"default": "summary",
|
|
335
|
-
"hasDynamicHelp": false,
|
|
336
|
-
"multiple": false,
|
|
337
|
-
"options": [
|
|
338
|
-
"summary",
|
|
339
|
-
"json"
|
|
340
|
-
],
|
|
341
|
-
"type": "option"
|
|
342
|
-
},
|
|
343
|
-
"workspace": {
|
|
344
|
-
"char": "w",
|
|
345
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
346
|
-
"name": "workspace",
|
|
347
|
-
"required": false,
|
|
348
|
-
"hasDynamicHelp": false,
|
|
349
|
-
"multiple": false,
|
|
350
|
-
"type": "option"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"hasDynamicHelp": false,
|
|
354
|
-
"hiddenAliases": [],
|
|
355
|
-
"id": "branch:get",
|
|
356
|
-
"pluginAlias": "@xano/cli",
|
|
357
|
-
"pluginName": "@xano/cli",
|
|
358
|
-
"pluginType": "core",
|
|
359
|
-
"strict": true,
|
|
360
|
-
"enableJsonFlag": false,
|
|
361
|
-
"isESM": true,
|
|
362
|
-
"relativePath": [
|
|
363
|
-
"dist",
|
|
364
|
-
"commands",
|
|
365
|
-
"branch",
|
|
366
|
-
"get",
|
|
367
|
-
"index.js"
|
|
368
|
-
]
|
|
369
|
-
},
|
|
370
294
|
"branch:edit": {
|
|
371
295
|
"aliases": [],
|
|
372
296
|
"args": {
|
|
@@ -470,20 +394,20 @@
|
|
|
470
394
|
"index.js"
|
|
471
395
|
]
|
|
472
396
|
},
|
|
473
|
-
"branch:
|
|
397
|
+
"branch:get": {
|
|
474
398
|
"aliases": [],
|
|
475
399
|
"args": {
|
|
476
|
-
"
|
|
477
|
-
"description": "
|
|
478
|
-
"name": "
|
|
479
|
-
"required":
|
|
400
|
+
"branch_label": {
|
|
401
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
402
|
+
"name": "branch_label",
|
|
403
|
+
"required": true
|
|
480
404
|
}
|
|
481
405
|
},
|
|
482
|
-
"description": "
|
|
406
|
+
"description": "Get details for a specific branch",
|
|
483
407
|
"examples": [
|
|
484
|
-
"$ xano branch
|
|
485
|
-
"$ xano branch
|
|
486
|
-
"$ xano branch
|
|
408
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
409
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
410
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
487
411
|
],
|
|
488
412
|
"flags": {
|
|
489
413
|
"profile": {
|
|
@@ -518,11 +442,20 @@
|
|
|
518
442
|
"json"
|
|
519
443
|
],
|
|
520
444
|
"type": "option"
|
|
445
|
+
},
|
|
446
|
+
"workspace": {
|
|
447
|
+
"char": "w",
|
|
448
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
449
|
+
"name": "workspace",
|
|
450
|
+
"required": false,
|
|
451
|
+
"hasDynamicHelp": false,
|
|
452
|
+
"multiple": false,
|
|
453
|
+
"type": "option"
|
|
521
454
|
}
|
|
522
455
|
},
|
|
523
456
|
"hasDynamicHelp": false,
|
|
524
457
|
"hiddenAliases": [],
|
|
525
|
-
"id": "branch:
|
|
458
|
+
"id": "branch:get",
|
|
526
459
|
"pluginAlias": "@xano/cli",
|
|
527
460
|
"pluginName": "@xano/cli",
|
|
528
461
|
"pluginType": "core",
|
|
@@ -533,23 +466,24 @@
|
|
|
533
466
|
"dist",
|
|
534
467
|
"commands",
|
|
535
468
|
"branch",
|
|
536
|
-
"
|
|
469
|
+
"get",
|
|
537
470
|
"index.js"
|
|
538
471
|
]
|
|
539
472
|
},
|
|
540
|
-
"
|
|
473
|
+
"branch:set_live": {
|
|
541
474
|
"aliases": [],
|
|
542
475
|
"args": {
|
|
543
|
-
"
|
|
544
|
-
"description": "
|
|
545
|
-
"name": "
|
|
476
|
+
"branch_label": {
|
|
477
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
478
|
+
"name": "branch_label",
|
|
546
479
|
"required": true
|
|
547
480
|
}
|
|
548
481
|
},
|
|
549
|
-
"description": "
|
|
482
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
550
483
|
"examples": [
|
|
551
|
-
"$ xano
|
|
552
|
-
"$ xano
|
|
484
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
485
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
486
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
553
487
|
],
|
|
554
488
|
"flags": {
|
|
555
489
|
"profile": {
|
|
@@ -571,6 +505,14 @@
|
|
|
571
505
|
"allowNo": false,
|
|
572
506
|
"type": "boolean"
|
|
573
507
|
},
|
|
508
|
+
"force": {
|
|
509
|
+
"char": "f",
|
|
510
|
+
"description": "Skip confirmation prompt",
|
|
511
|
+
"name": "force",
|
|
512
|
+
"required": false,
|
|
513
|
+
"allowNo": false,
|
|
514
|
+
"type": "boolean"
|
|
515
|
+
},
|
|
574
516
|
"output": {
|
|
575
517
|
"char": "o",
|
|
576
518
|
"description": "Output format",
|
|
@@ -584,71 +526,20 @@
|
|
|
584
526
|
"json"
|
|
585
527
|
],
|
|
586
528
|
"type": "option"
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
"hasDynamicHelp": false,
|
|
590
|
-
"hiddenAliases": [],
|
|
591
|
-
"id": "platform:get",
|
|
592
|
-
"pluginAlias": "@xano/cli",
|
|
593
|
-
"pluginName": "@xano/cli",
|
|
594
|
-
"pluginType": "core",
|
|
595
|
-
"strict": true,
|
|
596
|
-
"enableJsonFlag": false,
|
|
597
|
-
"isESM": true,
|
|
598
|
-
"relativePath": [
|
|
599
|
-
"dist",
|
|
600
|
-
"commands",
|
|
601
|
-
"platform",
|
|
602
|
-
"get",
|
|
603
|
-
"index.js"
|
|
604
|
-
]
|
|
605
|
-
},
|
|
606
|
-
"platform:list": {
|
|
607
|
-
"aliases": [],
|
|
608
|
-
"args": {},
|
|
609
|
-
"description": "List all platforms",
|
|
610
|
-
"examples": [
|
|
611
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
612
|
-
"$ xano platform list --output json"
|
|
613
|
-
],
|
|
614
|
-
"flags": {
|
|
615
|
-
"profile": {
|
|
616
|
-
"char": "p",
|
|
617
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
618
|
-
"env": "XANO_PROFILE",
|
|
619
|
-
"name": "profile",
|
|
620
|
-
"required": false,
|
|
621
|
-
"hasDynamicHelp": false,
|
|
622
|
-
"multiple": false,
|
|
623
|
-
"type": "option"
|
|
624
|
-
},
|
|
625
|
-
"verbose": {
|
|
626
|
-
"char": "v",
|
|
627
|
-
"description": "Show detailed request/response information",
|
|
628
|
-
"env": "XANO_VERBOSE",
|
|
629
|
-
"name": "verbose",
|
|
630
|
-
"required": false,
|
|
631
|
-
"allowNo": false,
|
|
632
|
-
"type": "boolean"
|
|
633
529
|
},
|
|
634
|
-
"
|
|
635
|
-
"char": "
|
|
636
|
-
"description": "
|
|
637
|
-
"name": "
|
|
530
|
+
"workspace": {
|
|
531
|
+
"char": "w",
|
|
532
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
533
|
+
"name": "workspace",
|
|
638
534
|
"required": false,
|
|
639
|
-
"default": "summary",
|
|
640
535
|
"hasDynamicHelp": false,
|
|
641
536
|
"multiple": false,
|
|
642
|
-
"options": [
|
|
643
|
-
"summary",
|
|
644
|
-
"json"
|
|
645
|
-
],
|
|
646
537
|
"type": "option"
|
|
647
538
|
}
|
|
648
539
|
},
|
|
649
540
|
"hasDynamicHelp": false,
|
|
650
541
|
"hiddenAliases": [],
|
|
651
|
-
"id": "
|
|
542
|
+
"id": "branch:set_live",
|
|
652
543
|
"pluginAlias": "@xano/cli",
|
|
653
544
|
"pluginName": "@xano/cli",
|
|
654
545
|
"pluginType": "core",
|
|
@@ -658,8 +549,8 @@
|
|
|
658
549
|
"relativePath": [
|
|
659
550
|
"dist",
|
|
660
551
|
"commands",
|
|
661
|
-
"
|
|
662
|
-
"
|
|
552
|
+
"branch",
|
|
553
|
+
"set_live",
|
|
663
554
|
"index.js"
|
|
664
555
|
]
|
|
665
556
|
},
|
|
@@ -1107,34 +998,58 @@
|
|
|
1107
998
|
"index.js"
|
|
1108
999
|
]
|
|
1109
1000
|
},
|
|
1110
|
-
"
|
|
1001
|
+
"platform:get": {
|
|
1111
1002
|
"aliases": [],
|
|
1112
1003
|
"args": {
|
|
1113
|
-
"
|
|
1114
|
-
"description": "
|
|
1115
|
-
"name": "
|
|
1004
|
+
"platform_id": {
|
|
1005
|
+
"description": "Platform ID to retrieve",
|
|
1006
|
+
"name": "platform_id",
|
|
1116
1007
|
"required": true
|
|
1117
1008
|
}
|
|
1118
1009
|
},
|
|
1119
|
-
"description": "
|
|
1010
|
+
"description": "Get details of a specific platform",
|
|
1120
1011
|
"examples": [
|
|
1121
|
-
"$ xano
|
|
1122
|
-
"$ xano
|
|
1123
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1012
|
+
"$ 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",
|
|
1013
|
+
"$ xano platform get 23629 -o json"
|
|
1124
1014
|
],
|
|
1125
1015
|
"flags": {
|
|
1126
|
-
"
|
|
1127
|
-
"char": "
|
|
1128
|
-
"description": "
|
|
1129
|
-
"
|
|
1016
|
+
"profile": {
|
|
1017
|
+
"char": "p",
|
|
1018
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1019
|
+
"env": "XANO_PROFILE",
|
|
1020
|
+
"name": "profile",
|
|
1021
|
+
"required": false,
|
|
1022
|
+
"hasDynamicHelp": false,
|
|
1023
|
+
"multiple": false,
|
|
1024
|
+
"type": "option"
|
|
1025
|
+
},
|
|
1026
|
+
"verbose": {
|
|
1027
|
+
"char": "v",
|
|
1028
|
+
"description": "Show detailed request/response information",
|
|
1029
|
+
"env": "XANO_VERBOSE",
|
|
1030
|
+
"name": "verbose",
|
|
1130
1031
|
"required": false,
|
|
1131
1032
|
"allowNo": false,
|
|
1132
1033
|
"type": "boolean"
|
|
1034
|
+
},
|
|
1035
|
+
"output": {
|
|
1036
|
+
"char": "o",
|
|
1037
|
+
"description": "Output format",
|
|
1038
|
+
"name": "output",
|
|
1039
|
+
"required": false,
|
|
1040
|
+
"default": "summary",
|
|
1041
|
+
"hasDynamicHelp": false,
|
|
1042
|
+
"multiple": false,
|
|
1043
|
+
"options": [
|
|
1044
|
+
"summary",
|
|
1045
|
+
"json"
|
|
1046
|
+
],
|
|
1047
|
+
"type": "option"
|
|
1133
1048
|
}
|
|
1134
1049
|
},
|
|
1135
1050
|
"hasDynamicHelp": false,
|
|
1136
1051
|
"hiddenAliases": [],
|
|
1137
|
-
"id": "
|
|
1052
|
+
"id": "platform:get",
|
|
1138
1053
|
"pluginAlias": "@xano/cli",
|
|
1139
1054
|
"pluginName": "@xano/cli",
|
|
1140
1055
|
"pluginType": "core",
|
|
@@ -1144,18 +1059,78 @@
|
|
|
1144
1059
|
"relativePath": [
|
|
1145
1060
|
"dist",
|
|
1146
1061
|
"commands",
|
|
1147
|
-
"
|
|
1148
|
-
"
|
|
1062
|
+
"platform",
|
|
1063
|
+
"get",
|
|
1149
1064
|
"index.js"
|
|
1150
1065
|
]
|
|
1151
1066
|
},
|
|
1152
|
-
"
|
|
1067
|
+
"platform:list": {
|
|
1153
1068
|
"aliases": [],
|
|
1154
|
-
"args": {
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1069
|
+
"args": {},
|
|
1070
|
+
"description": "List all platforms",
|
|
1071
|
+
"examples": [
|
|
1072
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1073
|
+
"$ xano platform list --output json"
|
|
1074
|
+
],
|
|
1075
|
+
"flags": {
|
|
1076
|
+
"profile": {
|
|
1077
|
+
"char": "p",
|
|
1078
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1079
|
+
"env": "XANO_PROFILE",
|
|
1080
|
+
"name": "profile",
|
|
1081
|
+
"required": false,
|
|
1082
|
+
"hasDynamicHelp": false,
|
|
1083
|
+
"multiple": false,
|
|
1084
|
+
"type": "option"
|
|
1085
|
+
},
|
|
1086
|
+
"verbose": {
|
|
1087
|
+
"char": "v",
|
|
1088
|
+
"description": "Show detailed request/response information",
|
|
1089
|
+
"env": "XANO_VERBOSE",
|
|
1090
|
+
"name": "verbose",
|
|
1091
|
+
"required": false,
|
|
1092
|
+
"allowNo": false,
|
|
1093
|
+
"type": "boolean"
|
|
1094
|
+
},
|
|
1095
|
+
"output": {
|
|
1096
|
+
"char": "o",
|
|
1097
|
+
"description": "Output format",
|
|
1098
|
+
"name": "output",
|
|
1099
|
+
"required": false,
|
|
1100
|
+
"default": "summary",
|
|
1101
|
+
"hasDynamicHelp": false,
|
|
1102
|
+
"multiple": false,
|
|
1103
|
+
"options": [
|
|
1104
|
+
"summary",
|
|
1105
|
+
"json"
|
|
1106
|
+
],
|
|
1107
|
+
"type": "option"
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
"hasDynamicHelp": false,
|
|
1111
|
+
"hiddenAliases": [],
|
|
1112
|
+
"id": "platform:list",
|
|
1113
|
+
"pluginAlias": "@xano/cli",
|
|
1114
|
+
"pluginName": "@xano/cli",
|
|
1115
|
+
"pluginType": "core",
|
|
1116
|
+
"strict": true,
|
|
1117
|
+
"enableJsonFlag": false,
|
|
1118
|
+
"isESM": true,
|
|
1119
|
+
"relativePath": [
|
|
1120
|
+
"dist",
|
|
1121
|
+
"commands",
|
|
1122
|
+
"platform",
|
|
1123
|
+
"list",
|
|
1124
|
+
"index.js"
|
|
1125
|
+
]
|
|
1126
|
+
},
|
|
1127
|
+
"profile:create": {
|
|
1128
|
+
"aliases": [],
|
|
1129
|
+
"args": {
|
|
1130
|
+
"name": {
|
|
1131
|
+
"description": "Profile name",
|
|
1132
|
+
"name": "name",
|
|
1133
|
+
"required": true
|
|
1159
1134
|
}
|
|
1160
1135
|
},
|
|
1161
1136
|
"description": "Create a new profile configuration",
|
|
@@ -1375,6 +1350,73 @@
|
|
|
1375
1350
|
"index.js"
|
|
1376
1351
|
]
|
|
1377
1352
|
},
|
|
1353
|
+
"profile:delete": {
|
|
1354
|
+
"aliases": [],
|
|
1355
|
+
"args": {
|
|
1356
|
+
"name": {
|
|
1357
|
+
"description": "Profile name to delete",
|
|
1358
|
+
"name": "name",
|
|
1359
|
+
"required": true
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
"description": "Delete a profile configuration",
|
|
1363
|
+
"examples": [
|
|
1364
|
+
"$ 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",
|
|
1365
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1366
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1367
|
+
],
|
|
1368
|
+
"flags": {
|
|
1369
|
+
"force": {
|
|
1370
|
+
"char": "f",
|
|
1371
|
+
"description": "Skip confirmation prompt",
|
|
1372
|
+
"name": "force",
|
|
1373
|
+
"required": false,
|
|
1374
|
+
"allowNo": false,
|
|
1375
|
+
"type": "boolean"
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1378
|
+
"hasDynamicHelp": false,
|
|
1379
|
+
"hiddenAliases": [],
|
|
1380
|
+
"id": "profile:delete",
|
|
1381
|
+
"pluginAlias": "@xano/cli",
|
|
1382
|
+
"pluginName": "@xano/cli",
|
|
1383
|
+
"pluginType": "core",
|
|
1384
|
+
"strict": true,
|
|
1385
|
+
"enableJsonFlag": false,
|
|
1386
|
+
"isESM": true,
|
|
1387
|
+
"relativePath": [
|
|
1388
|
+
"dist",
|
|
1389
|
+
"commands",
|
|
1390
|
+
"profile",
|
|
1391
|
+
"delete",
|
|
1392
|
+
"index.js"
|
|
1393
|
+
]
|
|
1394
|
+
},
|
|
1395
|
+
"profile:get": {
|
|
1396
|
+
"aliases": [],
|
|
1397
|
+
"args": {},
|
|
1398
|
+
"description": "Get the current default profile name",
|
|
1399
|
+
"examples": [
|
|
1400
|
+
"$ xano profile get\nproduction\n"
|
|
1401
|
+
],
|
|
1402
|
+
"flags": {},
|
|
1403
|
+
"hasDynamicHelp": false,
|
|
1404
|
+
"hiddenAliases": [],
|
|
1405
|
+
"id": "profile:get",
|
|
1406
|
+
"pluginAlias": "@xano/cli",
|
|
1407
|
+
"pluginName": "@xano/cli",
|
|
1408
|
+
"pluginType": "core",
|
|
1409
|
+
"strict": true,
|
|
1410
|
+
"enableJsonFlag": false,
|
|
1411
|
+
"isESM": true,
|
|
1412
|
+
"relativePath": [
|
|
1413
|
+
"dist",
|
|
1414
|
+
"commands",
|
|
1415
|
+
"profile",
|
|
1416
|
+
"get",
|
|
1417
|
+
"index.js"
|
|
1418
|
+
]
|
|
1419
|
+
},
|
|
1378
1420
|
"profile:list": {
|
|
1379
1421
|
"aliases": [],
|
|
1380
1422
|
"args": {},
|
|
@@ -1411,17 +1453,23 @@
|
|
|
1411
1453
|
"index.js"
|
|
1412
1454
|
]
|
|
1413
1455
|
},
|
|
1414
|
-
"profile:
|
|
1456
|
+
"profile:set": {
|
|
1415
1457
|
"aliases": [],
|
|
1416
|
-
"args": {
|
|
1417
|
-
|
|
1458
|
+
"args": {
|
|
1459
|
+
"name": {
|
|
1460
|
+
"description": "Profile name to set as default",
|
|
1461
|
+
"name": "name",
|
|
1462
|
+
"required": true
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
"description": "Set the default profile",
|
|
1418
1466
|
"examples": [
|
|
1419
|
-
"$ xano profile
|
|
1467
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1420
1468
|
],
|
|
1421
1469
|
"flags": {},
|
|
1422
1470
|
"hasDynamicHelp": false,
|
|
1423
1471
|
"hiddenAliases": [],
|
|
1424
|
-
"id": "profile:
|
|
1472
|
+
"id": "profile:set",
|
|
1425
1473
|
"pluginAlias": "@xano/cli",
|
|
1426
1474
|
"pluginName": "@xano/cli",
|
|
1427
1475
|
"pluginType": "core",
|
|
@@ -1432,7 +1480,7 @@
|
|
|
1432
1480
|
"dist",
|
|
1433
1481
|
"commands",
|
|
1434
1482
|
"profile",
|
|
1435
|
-
"
|
|
1483
|
+
"set",
|
|
1436
1484
|
"index.js"
|
|
1437
1485
|
]
|
|
1438
1486
|
},
|
|
@@ -1497,23 +1545,59 @@
|
|
|
1497
1545
|
"index.js"
|
|
1498
1546
|
]
|
|
1499
1547
|
},
|
|
1500
|
-
"
|
|
1548
|
+
"branch:list": {
|
|
1501
1549
|
"aliases": [],
|
|
1502
1550
|
"args": {
|
|
1503
|
-
"
|
|
1504
|
-
"description": "
|
|
1505
|
-
"name": "
|
|
1506
|
-
"required":
|
|
1551
|
+
"workspace_id": {
|
|
1552
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1553
|
+
"name": "workspace_id",
|
|
1554
|
+
"required": false
|
|
1507
1555
|
}
|
|
1508
1556
|
},
|
|
1509
|
-
"description": "
|
|
1557
|
+
"description": "List all branches in a workspace",
|
|
1510
1558
|
"examples": [
|
|
1511
|
-
"$ xano
|
|
1559
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
1560
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
1561
|
+
"$ 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"
|
|
1512
1562
|
],
|
|
1513
|
-
"flags": {
|
|
1563
|
+
"flags": {
|
|
1564
|
+
"profile": {
|
|
1565
|
+
"char": "p",
|
|
1566
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1567
|
+
"env": "XANO_PROFILE",
|
|
1568
|
+
"name": "profile",
|
|
1569
|
+
"required": false,
|
|
1570
|
+
"hasDynamicHelp": false,
|
|
1571
|
+
"multiple": false,
|
|
1572
|
+
"type": "option"
|
|
1573
|
+
},
|
|
1574
|
+
"verbose": {
|
|
1575
|
+
"char": "v",
|
|
1576
|
+
"description": "Show detailed request/response information",
|
|
1577
|
+
"env": "XANO_VERBOSE",
|
|
1578
|
+
"name": "verbose",
|
|
1579
|
+
"required": false,
|
|
1580
|
+
"allowNo": false,
|
|
1581
|
+
"type": "boolean"
|
|
1582
|
+
},
|
|
1583
|
+
"output": {
|
|
1584
|
+
"char": "o",
|
|
1585
|
+
"description": "Output format",
|
|
1586
|
+
"name": "output",
|
|
1587
|
+
"required": false,
|
|
1588
|
+
"default": "summary",
|
|
1589
|
+
"hasDynamicHelp": false,
|
|
1590
|
+
"multiple": false,
|
|
1591
|
+
"options": [
|
|
1592
|
+
"summary",
|
|
1593
|
+
"json"
|
|
1594
|
+
],
|
|
1595
|
+
"type": "option"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1514
1598
|
"hasDynamicHelp": false,
|
|
1515
1599
|
"hiddenAliases": [],
|
|
1516
|
-
"id": "
|
|
1600
|
+
"id": "branch:list",
|
|
1517
1601
|
"pluginAlias": "@xano/cli",
|
|
1518
1602
|
"pluginName": "@xano/cli",
|
|
1519
1603
|
"pluginType": "core",
|
|
@@ -1523,8 +1607,8 @@
|
|
|
1523
1607
|
"relativePath": [
|
|
1524
1608
|
"dist",
|
|
1525
1609
|
"commands",
|
|
1526
|
-
"
|
|
1527
|
-
"
|
|
1610
|
+
"branch",
|
|
1611
|
+
"list",
|
|
1528
1612
|
"index.js"
|
|
1529
1613
|
]
|
|
1530
1614
|
},
|
|
@@ -1581,18 +1665,18 @@
|
|
|
1581
1665
|
"index.js"
|
|
1582
1666
|
]
|
|
1583
1667
|
},
|
|
1584
|
-
"profile:
|
|
1668
|
+
"profile:workspace": {
|
|
1585
1669
|
"aliases": [],
|
|
1586
1670
|
"args": {},
|
|
1587
|
-
"description": "Print the
|
|
1671
|
+
"description": "Print the workspace ID for the default profile",
|
|
1588
1672
|
"examples": [
|
|
1589
|
-
"$ xano profile:
|
|
1590
|
-
"$ xano profile:
|
|
1673
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1674
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1591
1675
|
],
|
|
1592
1676
|
"flags": {},
|
|
1593
1677
|
"hasDynamicHelp": false,
|
|
1594
1678
|
"hiddenAliases": [],
|
|
1595
|
-
"id": "profile:
|
|
1679
|
+
"id": "profile:workspace",
|
|
1596
1680
|
"pluginAlias": "@xano/cli",
|
|
1597
1681
|
"pluginName": "@xano/cli",
|
|
1598
1682
|
"pluginType": "core",
|
|
@@ -1603,22 +1687,22 @@
|
|
|
1603
1687
|
"dist",
|
|
1604
1688
|
"commands",
|
|
1605
1689
|
"profile",
|
|
1606
|
-
"
|
|
1690
|
+
"workspace",
|
|
1607
1691
|
"index.js"
|
|
1608
1692
|
]
|
|
1609
1693
|
},
|
|
1610
|
-
"profile:
|
|
1694
|
+
"profile:token": {
|
|
1611
1695
|
"aliases": [],
|
|
1612
1696
|
"args": {},
|
|
1613
|
-
"description": "Print the
|
|
1697
|
+
"description": "Print the access token for the default profile",
|
|
1614
1698
|
"examples": [
|
|
1615
|
-
"$ xano profile:
|
|
1616
|
-
"$ xano profile:
|
|
1699
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1700
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1617
1701
|
],
|
|
1618
1702
|
"flags": {},
|
|
1619
1703
|
"hasDynamicHelp": false,
|
|
1620
1704
|
"hiddenAliases": [],
|
|
1621
|
-
"id": "profile:
|
|
1705
|
+
"id": "profile:token",
|
|
1622
1706
|
"pluginAlias": "@xano/cli",
|
|
1623
1707
|
"pluginName": "@xano/cli",
|
|
1624
1708
|
"pluginType": "core",
|
|
@@ -1629,17 +1713,23 @@
|
|
|
1629
1713
|
"dist",
|
|
1630
1714
|
"commands",
|
|
1631
1715
|
"profile",
|
|
1632
|
-
"
|
|
1716
|
+
"token",
|
|
1633
1717
|
"index.js"
|
|
1634
1718
|
]
|
|
1635
1719
|
},
|
|
1636
|
-
"release:
|
|
1720
|
+
"release:edit": {
|
|
1637
1721
|
"aliases": [],
|
|
1638
|
-
"args": {
|
|
1639
|
-
|
|
1722
|
+
"args": {
|
|
1723
|
+
"release_name": {
|
|
1724
|
+
"description": "Release name to edit",
|
|
1725
|
+
"name": "release_name",
|
|
1726
|
+
"required": true
|
|
1727
|
+
}
|
|
1728
|
+
},
|
|
1729
|
+
"description": "Edit an existing release",
|
|
1640
1730
|
"examples": [
|
|
1641
|
-
"$ xano release
|
|
1642
|
-
"$ xano release
|
|
1731
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1732
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1643
1733
|
],
|
|
1644
1734
|
"flags": {
|
|
1645
1735
|
"profile": {
|
|
@@ -1661,36 +1751,20 @@
|
|
|
1661
1751
|
"allowNo": false,
|
|
1662
1752
|
"type": "boolean"
|
|
1663
1753
|
},
|
|
1664
|
-
"branch": {
|
|
1665
|
-
"char": "b",
|
|
1666
|
-
"description": "Branch to create the release from",
|
|
1667
|
-
"name": "branch",
|
|
1668
|
-
"required": true,
|
|
1669
|
-
"hasDynamicHelp": false,
|
|
1670
|
-
"multiple": false,
|
|
1671
|
-
"type": "option"
|
|
1672
|
-
},
|
|
1673
1754
|
"description": {
|
|
1674
1755
|
"char": "d",
|
|
1675
|
-
"description": "
|
|
1756
|
+
"description": "New description",
|
|
1676
1757
|
"name": "description",
|
|
1677
1758
|
"required": false,
|
|
1678
1759
|
"hasDynamicHelp": false,
|
|
1679
1760
|
"multiple": false,
|
|
1680
1761
|
"type": "option"
|
|
1681
1762
|
},
|
|
1682
|
-
"hotfix": {
|
|
1683
|
-
"description": "Mark as a hotfix release",
|
|
1684
|
-
"name": "hotfix",
|
|
1685
|
-
"required": false,
|
|
1686
|
-
"allowNo": false,
|
|
1687
|
-
"type": "boolean"
|
|
1688
|
-
},
|
|
1689
1763
|
"name": {
|
|
1690
1764
|
"char": "n",
|
|
1691
|
-
"description": "
|
|
1765
|
+
"description": "New name for the release",
|
|
1692
1766
|
"name": "name",
|
|
1693
|
-
"required":
|
|
1767
|
+
"required": false,
|
|
1694
1768
|
"hasDynamicHelp": false,
|
|
1695
1769
|
"multiple": false,
|
|
1696
1770
|
"type": "option"
|
|
@@ -1709,14 +1783,6 @@
|
|
|
1709
1783
|
],
|
|
1710
1784
|
"type": "option"
|
|
1711
1785
|
},
|
|
1712
|
-
"table-ids": {
|
|
1713
|
-
"description": "Comma-separated table IDs to include",
|
|
1714
|
-
"name": "table-ids",
|
|
1715
|
-
"required": false,
|
|
1716
|
-
"hasDynamicHelp": false,
|
|
1717
|
-
"multiple": false,
|
|
1718
|
-
"type": "option"
|
|
1719
|
-
},
|
|
1720
1786
|
"workspace": {
|
|
1721
1787
|
"char": "w",
|
|
1722
1788
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1729,7 +1795,7 @@
|
|
|
1729
1795
|
},
|
|
1730
1796
|
"hasDynamicHelp": false,
|
|
1731
1797
|
"hiddenAliases": [],
|
|
1732
|
-
"id": "release:
|
|
1798
|
+
"id": "release:edit",
|
|
1733
1799
|
"pluginAlias": "@xano/cli",
|
|
1734
1800
|
"pluginName": "@xano/cli",
|
|
1735
1801
|
"pluginType": "core",
|
|
@@ -1740,7 +1806,7 @@
|
|
|
1740
1806
|
"dist",
|
|
1741
1807
|
"commands",
|
|
1742
1808
|
"release",
|
|
1743
|
-
"
|
|
1809
|
+
"edit",
|
|
1744
1810
|
"index.js"
|
|
1745
1811
|
]
|
|
1746
1812
|
},
|
|
@@ -1828,19 +1894,20 @@
|
|
|
1828
1894
|
"index.js"
|
|
1829
1895
|
]
|
|
1830
1896
|
},
|
|
1831
|
-
"release:
|
|
1897
|
+
"release:export": {
|
|
1832
1898
|
"aliases": [],
|
|
1833
1899
|
"args": {
|
|
1834
1900
|
"release_name": {
|
|
1835
|
-
"description": "Release name to
|
|
1901
|
+
"description": "Release name to export",
|
|
1836
1902
|
"name": "release_name",
|
|
1837
1903
|
"required": true
|
|
1838
1904
|
}
|
|
1839
1905
|
},
|
|
1840
|
-
"description": "
|
|
1906
|
+
"description": "Export (download) a release to a local file",
|
|
1841
1907
|
"examples": [
|
|
1842
|
-
"$ xano release
|
|
1843
|
-
"$ xano release
|
|
1908
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
1909
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
1910
|
+
"$ xano release export v1.0 -o json"
|
|
1844
1911
|
],
|
|
1845
1912
|
"flags": {
|
|
1846
1913
|
"profile": {
|
|
@@ -1862,28 +1929,10 @@
|
|
|
1862
1929
|
"allowNo": false,
|
|
1863
1930
|
"type": "boolean"
|
|
1864
1931
|
},
|
|
1865
|
-
"
|
|
1866
|
-
"char": "d",
|
|
1867
|
-
"description": "New description",
|
|
1868
|
-
"name": "description",
|
|
1869
|
-
"required": false,
|
|
1870
|
-
"hasDynamicHelp": false,
|
|
1871
|
-
"multiple": false,
|
|
1872
|
-
"type": "option"
|
|
1873
|
-
},
|
|
1874
|
-
"name": {
|
|
1875
|
-
"char": "n",
|
|
1876
|
-
"description": "New name for the release",
|
|
1877
|
-
"name": "name",
|
|
1878
|
-
"required": false,
|
|
1879
|
-
"hasDynamicHelp": false,
|
|
1880
|
-
"multiple": false,
|
|
1881
|
-
"type": "option"
|
|
1882
|
-
},
|
|
1883
|
-
"output": {
|
|
1932
|
+
"format": {
|
|
1884
1933
|
"char": "o",
|
|
1885
1934
|
"description": "Output format",
|
|
1886
|
-
"name": "
|
|
1935
|
+
"name": "format",
|
|
1887
1936
|
"required": false,
|
|
1888
1937
|
"default": "summary",
|
|
1889
1938
|
"hasDynamicHelp": false,
|
|
@@ -1894,6 +1943,14 @@
|
|
|
1894
1943
|
],
|
|
1895
1944
|
"type": "option"
|
|
1896
1945
|
},
|
|
1946
|
+
"output": {
|
|
1947
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1948
|
+
"name": "output",
|
|
1949
|
+
"required": false,
|
|
1950
|
+
"hasDynamicHelp": false,
|
|
1951
|
+
"multiple": false,
|
|
1952
|
+
"type": "option"
|
|
1953
|
+
},
|
|
1897
1954
|
"workspace": {
|
|
1898
1955
|
"char": "w",
|
|
1899
1956
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1906,7 +1963,7 @@
|
|
|
1906
1963
|
},
|
|
1907
1964
|
"hasDynamicHelp": false,
|
|
1908
1965
|
"hiddenAliases": [],
|
|
1909
|
-
"id": "release:
|
|
1966
|
+
"id": "release:export",
|
|
1910
1967
|
"pluginAlias": "@xano/cli",
|
|
1911
1968
|
"pluginName": "@xano/cli",
|
|
1912
1969
|
"pluginType": "core",
|
|
@@ -1917,24 +1974,23 @@
|
|
|
1917
1974
|
"dist",
|
|
1918
1975
|
"commands",
|
|
1919
1976
|
"release",
|
|
1920
|
-
"
|
|
1977
|
+
"export",
|
|
1921
1978
|
"index.js"
|
|
1922
1979
|
]
|
|
1923
1980
|
},
|
|
1924
|
-
"release:
|
|
1981
|
+
"release:get": {
|
|
1925
1982
|
"aliases": [],
|
|
1926
1983
|
"args": {
|
|
1927
1984
|
"release_name": {
|
|
1928
|
-
"description": "Release name to
|
|
1985
|
+
"description": "Release name to retrieve",
|
|
1929
1986
|
"name": "release_name",
|
|
1930
1987
|
"required": true
|
|
1931
1988
|
}
|
|
1932
1989
|
},
|
|
1933
|
-
"description": "
|
|
1990
|
+
"description": "Get details of a specific release",
|
|
1934
1991
|
"examples": [
|
|
1935
|
-
"$ xano release
|
|
1936
|
-
"$ xano release
|
|
1937
|
-
"$ xano release export v1.0 -o json"
|
|
1992
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
1993
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
1938
1994
|
],
|
|
1939
1995
|
"flags": {
|
|
1940
1996
|
"profile": {
|
|
@@ -1956,10 +2012,10 @@
|
|
|
1956
2012
|
"allowNo": false,
|
|
1957
2013
|
"type": "boolean"
|
|
1958
2014
|
},
|
|
1959
|
-
"
|
|
2015
|
+
"output": {
|
|
1960
2016
|
"char": "o",
|
|
1961
2017
|
"description": "Output format",
|
|
1962
|
-
"name": "
|
|
2018
|
+
"name": "output",
|
|
1963
2019
|
"required": false,
|
|
1964
2020
|
"default": "summary",
|
|
1965
2021
|
"hasDynamicHelp": false,
|
|
@@ -1970,14 +2026,6 @@
|
|
|
1970
2026
|
],
|
|
1971
2027
|
"type": "option"
|
|
1972
2028
|
},
|
|
1973
|
-
"output": {
|
|
1974
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1975
|
-
"name": "output",
|
|
1976
|
-
"required": false,
|
|
1977
|
-
"hasDynamicHelp": false,
|
|
1978
|
-
"multiple": false,
|
|
1979
|
-
"type": "option"
|
|
1980
|
-
},
|
|
1981
2029
|
"workspace": {
|
|
1982
2030
|
"char": "w",
|
|
1983
2031
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1990,7 +2038,7 @@
|
|
|
1990
2038
|
},
|
|
1991
2039
|
"hasDynamicHelp": false,
|
|
1992
2040
|
"hiddenAliases": [],
|
|
1993
|
-
"id": "release:
|
|
2041
|
+
"id": "release:get",
|
|
1994
2042
|
"pluginAlias": "@xano/cli",
|
|
1995
2043
|
"pluginName": "@xano/cli",
|
|
1996
2044
|
"pluginType": "core",
|
|
@@ -2001,23 +2049,17 @@
|
|
|
2001
2049
|
"dist",
|
|
2002
2050
|
"commands",
|
|
2003
2051
|
"release",
|
|
2004
|
-
"
|
|
2052
|
+
"get",
|
|
2005
2053
|
"index.js"
|
|
2006
2054
|
]
|
|
2007
2055
|
},
|
|
2008
|
-
"release:
|
|
2056
|
+
"release:import": {
|
|
2009
2057
|
"aliases": [],
|
|
2010
|
-
"args": {
|
|
2011
|
-
|
|
2012
|
-
"description": "Release name to retrieve",
|
|
2013
|
-
"name": "release_name",
|
|
2014
|
-
"required": true
|
|
2015
|
-
}
|
|
2016
|
-
},
|
|
2017
|
-
"description": "Get details of a specific release",
|
|
2058
|
+
"args": {},
|
|
2059
|
+
"description": "Import a release file into a workspace",
|
|
2018
2060
|
"examples": [
|
|
2019
|
-
"$ xano release
|
|
2020
|
-
"$ xano release
|
|
2061
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2062
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2021
2063
|
],
|
|
2022
2064
|
"flags": {
|
|
2023
2065
|
"profile": {
|
|
@@ -2039,6 +2081,15 @@
|
|
|
2039
2081
|
"allowNo": false,
|
|
2040
2082
|
"type": "boolean"
|
|
2041
2083
|
},
|
|
2084
|
+
"file": {
|
|
2085
|
+
"char": "f",
|
|
2086
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2087
|
+
"name": "file",
|
|
2088
|
+
"required": true,
|
|
2089
|
+
"hasDynamicHelp": false,
|
|
2090
|
+
"multiple": false,
|
|
2091
|
+
"type": "option"
|
|
2092
|
+
},
|
|
2042
2093
|
"output": {
|
|
2043
2094
|
"char": "o",
|
|
2044
2095
|
"description": "Output format",
|
|
@@ -2065,7 +2116,7 @@
|
|
|
2065
2116
|
},
|
|
2066
2117
|
"hasDynamicHelp": false,
|
|
2067
2118
|
"hiddenAliases": [],
|
|
2068
|
-
"id": "release:
|
|
2119
|
+
"id": "release:import",
|
|
2069
2120
|
"pluginAlias": "@xano/cli",
|
|
2070
2121
|
"pluginName": "@xano/cli",
|
|
2071
2122
|
"pluginType": "core",
|
|
@@ -2076,17 +2127,17 @@
|
|
|
2076
2127
|
"dist",
|
|
2077
2128
|
"commands",
|
|
2078
2129
|
"release",
|
|
2079
|
-
"
|
|
2130
|
+
"import",
|
|
2080
2131
|
"index.js"
|
|
2081
2132
|
]
|
|
2082
2133
|
},
|
|
2083
|
-
"release:
|
|
2134
|
+
"release:list": {
|
|
2084
2135
|
"aliases": [],
|
|
2085
2136
|
"args": {},
|
|
2086
|
-
"description": "
|
|
2137
|
+
"description": "List all releases in a workspace",
|
|
2087
2138
|
"examples": [
|
|
2088
|
-
"$ xano release
|
|
2089
|
-
"$ xano release
|
|
2139
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2140
|
+
"$ xano release list -w 5 --output json"
|
|
2090
2141
|
],
|
|
2091
2142
|
"flags": {
|
|
2092
2143
|
"profile": {
|
|
@@ -2108,15 +2159,6 @@
|
|
|
2108
2159
|
"allowNo": false,
|
|
2109
2160
|
"type": "boolean"
|
|
2110
2161
|
},
|
|
2111
|
-
"file": {
|
|
2112
|
-
"char": "f",
|
|
2113
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2114
|
-
"name": "file",
|
|
2115
|
-
"required": true,
|
|
2116
|
-
"hasDynamicHelp": false,
|
|
2117
|
-
"multiple": false,
|
|
2118
|
-
"type": "option"
|
|
2119
|
-
},
|
|
2120
2162
|
"output": {
|
|
2121
2163
|
"char": "o",
|
|
2122
2164
|
"description": "Output format",
|
|
@@ -2143,7 +2185,7 @@
|
|
|
2143
2185
|
},
|
|
2144
2186
|
"hasDynamicHelp": false,
|
|
2145
2187
|
"hiddenAliases": [],
|
|
2146
|
-
"id": "release:
|
|
2188
|
+
"id": "release:list",
|
|
2147
2189
|
"pluginAlias": "@xano/cli",
|
|
2148
2190
|
"pluginName": "@xano/cli",
|
|
2149
2191
|
"pluginType": "core",
|
|
@@ -2154,17 +2196,26 @@
|
|
|
2154
2196
|
"dist",
|
|
2155
2197
|
"commands",
|
|
2156
2198
|
"release",
|
|
2157
|
-
"
|
|
2199
|
+
"list",
|
|
2158
2200
|
"index.js"
|
|
2159
2201
|
]
|
|
2160
2202
|
},
|
|
2161
|
-
"release:
|
|
2203
|
+
"release:push": {
|
|
2162
2204
|
"aliases": [],
|
|
2163
|
-
"args": {
|
|
2164
|
-
|
|
2205
|
+
"args": {
|
|
2206
|
+
"directory": {
|
|
2207
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2208
|
+
"name": "directory",
|
|
2209
|
+
"required": true
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2165
2213
|
"examples": [
|
|
2166
|
-
"$ xano release
|
|
2167
|
-
"$ xano release
|
|
2214
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2215
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2216
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2217
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2218
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2168
2219
|
],
|
|
2169
2220
|
"flags": {
|
|
2170
2221
|
"profile": {
|
|
@@ -2186,6 +2237,39 @@
|
|
|
2186
2237
|
"allowNo": false,
|
|
2187
2238
|
"type": "boolean"
|
|
2188
2239
|
},
|
|
2240
|
+
"description": {
|
|
2241
|
+
"char": "d",
|
|
2242
|
+
"description": "Release description",
|
|
2243
|
+
"name": "description",
|
|
2244
|
+
"required": false,
|
|
2245
|
+
"default": "",
|
|
2246
|
+
"hasDynamicHelp": false,
|
|
2247
|
+
"multiple": false,
|
|
2248
|
+
"type": "option"
|
|
2249
|
+
},
|
|
2250
|
+
"env": {
|
|
2251
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2252
|
+
"name": "env",
|
|
2253
|
+
"required": false,
|
|
2254
|
+
"allowNo": true,
|
|
2255
|
+
"type": "boolean"
|
|
2256
|
+
},
|
|
2257
|
+
"hotfix": {
|
|
2258
|
+
"description": "Mark as a hotfix release",
|
|
2259
|
+
"name": "hotfix",
|
|
2260
|
+
"required": false,
|
|
2261
|
+
"allowNo": false,
|
|
2262
|
+
"type": "boolean"
|
|
2263
|
+
},
|
|
2264
|
+
"name": {
|
|
2265
|
+
"char": "n",
|
|
2266
|
+
"description": "Name for the release",
|
|
2267
|
+
"name": "name",
|
|
2268
|
+
"required": true,
|
|
2269
|
+
"hasDynamicHelp": false,
|
|
2270
|
+
"multiple": false,
|
|
2271
|
+
"type": "option"
|
|
2272
|
+
},
|
|
2189
2273
|
"output": {
|
|
2190
2274
|
"char": "o",
|
|
2191
2275
|
"description": "Output format",
|
|
@@ -2200,9 +2284,16 @@
|
|
|
2200
2284
|
],
|
|
2201
2285
|
"type": "option"
|
|
2202
2286
|
},
|
|
2287
|
+
"records": {
|
|
2288
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2289
|
+
"name": "records",
|
|
2290
|
+
"required": false,
|
|
2291
|
+
"allowNo": true,
|
|
2292
|
+
"type": "boolean"
|
|
2293
|
+
},
|
|
2203
2294
|
"workspace": {
|
|
2204
2295
|
"char": "w",
|
|
2205
|
-
"description": "Workspace ID (
|
|
2296
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2206
2297
|
"name": "workspace",
|
|
2207
2298
|
"required": false,
|
|
2208
2299
|
"hasDynamicHelp": false,
|
|
@@ -2212,7 +2303,7 @@
|
|
|
2212
2303
|
},
|
|
2213
2304
|
"hasDynamicHelp": false,
|
|
2214
2305
|
"hiddenAliases": [],
|
|
2215
|
-
"id": "release:
|
|
2306
|
+
"id": "release:push",
|
|
2216
2307
|
"pluginAlias": "@xano/cli",
|
|
2217
2308
|
"pluginName": "@xano/cli",
|
|
2218
2309
|
"pluginType": "core",
|
|
@@ -2223,7 +2314,7 @@
|
|
|
2223
2314
|
"dist",
|
|
2224
2315
|
"commands",
|
|
2225
2316
|
"release",
|
|
2226
|
-
"
|
|
2317
|
+
"push",
|
|
2227
2318
|
"index.js"
|
|
2228
2319
|
]
|
|
2229
2320
|
},
|
|
@@ -2312,22 +2403,102 @@
|
|
|
2312
2403
|
"index.js"
|
|
2313
2404
|
]
|
|
2314
2405
|
},
|
|
2315
|
-
"
|
|
2406
|
+
"static_host:list": {
|
|
2316
2407
|
"aliases": [],
|
|
2317
|
-
"args": {
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2408
|
+
"args": {},
|
|
2409
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2410
|
+
"examples": [
|
|
2411
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2412
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2413
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2414
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2415
|
+
],
|
|
2416
|
+
"flags": {
|
|
2417
|
+
"profile": {
|
|
2418
|
+
"char": "p",
|
|
2419
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2420
|
+
"env": "XANO_PROFILE",
|
|
2421
|
+
"name": "profile",
|
|
2422
|
+
"required": false,
|
|
2423
|
+
"hasDynamicHelp": false,
|
|
2424
|
+
"multiple": false,
|
|
2425
|
+
"type": "option"
|
|
2426
|
+
},
|
|
2427
|
+
"verbose": {
|
|
2428
|
+
"char": "v",
|
|
2429
|
+
"description": "Show detailed request/response information",
|
|
2430
|
+
"env": "XANO_VERBOSE",
|
|
2431
|
+
"name": "verbose",
|
|
2432
|
+
"required": false,
|
|
2433
|
+
"allowNo": false,
|
|
2434
|
+
"type": "boolean"
|
|
2435
|
+
},
|
|
2436
|
+
"output": {
|
|
2437
|
+
"char": "o",
|
|
2438
|
+
"description": "Output format",
|
|
2439
|
+
"name": "output",
|
|
2440
|
+
"required": false,
|
|
2441
|
+
"default": "summary",
|
|
2442
|
+
"hasDynamicHelp": false,
|
|
2443
|
+
"multiple": false,
|
|
2444
|
+
"options": [
|
|
2445
|
+
"summary",
|
|
2446
|
+
"json"
|
|
2447
|
+
],
|
|
2448
|
+
"type": "option"
|
|
2449
|
+
},
|
|
2450
|
+
"page": {
|
|
2451
|
+
"description": "Page number for pagination",
|
|
2452
|
+
"name": "page",
|
|
2453
|
+
"required": false,
|
|
2454
|
+
"default": 1,
|
|
2455
|
+
"hasDynamicHelp": false,
|
|
2456
|
+
"multiple": false,
|
|
2457
|
+
"type": "option"
|
|
2458
|
+
},
|
|
2459
|
+
"per_page": {
|
|
2460
|
+
"description": "Number of results per page",
|
|
2461
|
+
"name": "per_page",
|
|
2462
|
+
"required": false,
|
|
2463
|
+
"default": 50,
|
|
2464
|
+
"hasDynamicHelp": false,
|
|
2465
|
+
"multiple": false,
|
|
2466
|
+
"type": "option"
|
|
2467
|
+
},
|
|
2468
|
+
"workspace": {
|
|
2469
|
+
"char": "w",
|
|
2470
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2471
|
+
"name": "workspace",
|
|
2472
|
+
"required": false,
|
|
2473
|
+
"hasDynamicHelp": false,
|
|
2474
|
+
"multiple": false,
|
|
2475
|
+
"type": "option"
|
|
2322
2476
|
}
|
|
2323
2477
|
},
|
|
2324
|
-
"
|
|
2478
|
+
"hasDynamicHelp": false,
|
|
2479
|
+
"hiddenAliases": [],
|
|
2480
|
+
"id": "static_host:list",
|
|
2481
|
+
"pluginAlias": "@xano/cli",
|
|
2482
|
+
"pluginName": "@xano/cli",
|
|
2483
|
+
"pluginType": "core",
|
|
2484
|
+
"strict": true,
|
|
2485
|
+
"enableJsonFlag": false,
|
|
2486
|
+
"isESM": true,
|
|
2487
|
+
"relativePath": [
|
|
2488
|
+
"dist",
|
|
2489
|
+
"commands",
|
|
2490
|
+
"static_host",
|
|
2491
|
+
"list",
|
|
2492
|
+
"index.js"
|
|
2493
|
+
]
|
|
2494
|
+
},
|
|
2495
|
+
"release:create": {
|
|
2496
|
+
"aliases": [],
|
|
2497
|
+
"args": {},
|
|
2498
|
+
"description": "Create a new release in a workspace",
|
|
2325
2499
|
"examples": [
|
|
2326
|
-
"$ xano release
|
|
2327
|
-
"$ xano release
|
|
2328
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2329
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2330
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2500
|
+
"$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
|
|
2501
|
+
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
2331
2502
|
],
|
|
2332
2503
|
"flags": {
|
|
2333
2504
|
"profile": {
|
|
@@ -2349,23 +2520,24 @@
|
|
|
2349
2520
|
"allowNo": false,
|
|
2350
2521
|
"type": "boolean"
|
|
2351
2522
|
},
|
|
2523
|
+
"branch": {
|
|
2524
|
+
"char": "b",
|
|
2525
|
+
"description": "Branch to create the release from",
|
|
2526
|
+
"name": "branch",
|
|
2527
|
+
"required": true,
|
|
2528
|
+
"hasDynamicHelp": false,
|
|
2529
|
+
"multiple": false,
|
|
2530
|
+
"type": "option"
|
|
2531
|
+
},
|
|
2352
2532
|
"description": {
|
|
2353
2533
|
"char": "d",
|
|
2354
2534
|
"description": "Release description",
|
|
2355
2535
|
"name": "description",
|
|
2356
2536
|
"required": false,
|
|
2357
|
-
"default": "",
|
|
2358
2537
|
"hasDynamicHelp": false,
|
|
2359
2538
|
"multiple": false,
|
|
2360
2539
|
"type": "option"
|
|
2361
2540
|
},
|
|
2362
|
-
"env": {
|
|
2363
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2364
|
-
"name": "env",
|
|
2365
|
-
"required": false,
|
|
2366
|
-
"allowNo": true,
|
|
2367
|
-
"type": "boolean"
|
|
2368
|
-
},
|
|
2369
2541
|
"hotfix": {
|
|
2370
2542
|
"description": "Mark as a hotfix release",
|
|
2371
2543
|
"name": "hotfix",
|
|
@@ -2396,16 +2568,17 @@
|
|
|
2396
2568
|
],
|
|
2397
2569
|
"type": "option"
|
|
2398
2570
|
},
|
|
2399
|
-
"
|
|
2400
|
-
"description": "
|
|
2401
|
-
"name": "
|
|
2571
|
+
"table-ids": {
|
|
2572
|
+
"description": "Comma-separated table IDs to include",
|
|
2573
|
+
"name": "table-ids",
|
|
2402
2574
|
"required": false,
|
|
2403
|
-
"
|
|
2404
|
-
"
|
|
2575
|
+
"hasDynamicHelp": false,
|
|
2576
|
+
"multiple": false,
|
|
2577
|
+
"type": "option"
|
|
2405
2578
|
},
|
|
2406
2579
|
"workspace": {
|
|
2407
2580
|
"char": "w",
|
|
2408
|
-
"description": "Workspace ID (
|
|
2581
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2409
2582
|
"name": "workspace",
|
|
2410
2583
|
"required": false,
|
|
2411
2584
|
"hasDynamicHelp": false,
|
|
@@ -2415,7 +2588,7 @@
|
|
|
2415
2588
|
},
|
|
2416
2589
|
"hasDynamicHelp": false,
|
|
2417
2590
|
"hiddenAliases": [],
|
|
2418
|
-
"id": "release:
|
|
2591
|
+
"id": "release:create",
|
|
2419
2592
|
"pluginAlias": "@xano/cli",
|
|
2420
2593
|
"pluginName": "@xano/cli",
|
|
2421
2594
|
"pluginType": "core",
|
|
@@ -2426,19 +2599,24 @@
|
|
|
2426
2599
|
"dist",
|
|
2427
2600
|
"commands",
|
|
2428
2601
|
"release",
|
|
2429
|
-
"
|
|
2602
|
+
"create",
|
|
2430
2603
|
"index.js"
|
|
2431
2604
|
]
|
|
2432
2605
|
},
|
|
2433
|
-
"
|
|
2606
|
+
"tenant:delete": {
|
|
2434
2607
|
"aliases": [],
|
|
2435
|
-
"args": {
|
|
2436
|
-
|
|
2608
|
+
"args": {
|
|
2609
|
+
"tenant_name": {
|
|
2610
|
+
"description": "Tenant name to delete",
|
|
2611
|
+
"name": "tenant_name",
|
|
2612
|
+
"required": true
|
|
2613
|
+
}
|
|
2614
|
+
},
|
|
2615
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2437
2616
|
"examples": [
|
|
2438
|
-
"$ xano
|
|
2439
|
-
"$ xano
|
|
2440
|
-
"$ xano
|
|
2441
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2617
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2618
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2619
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2442
2620
|
],
|
|
2443
2621
|
"flags": {
|
|
2444
2622
|
"profile": {
|
|
@@ -2460,41 +2638,31 @@
|
|
|
2460
2638
|
"allowNo": false,
|
|
2461
2639
|
"type": "boolean"
|
|
2462
2640
|
},
|
|
2463
|
-
"
|
|
2464
|
-
"char": "
|
|
2465
|
-
"description": "
|
|
2466
|
-
"name": "
|
|
2467
|
-
"required": false,
|
|
2468
|
-
"default": "summary",
|
|
2469
|
-
"hasDynamicHelp": false,
|
|
2470
|
-
"multiple": false,
|
|
2471
|
-
"options": [
|
|
2472
|
-
"summary",
|
|
2473
|
-
"json"
|
|
2474
|
-
],
|
|
2475
|
-
"type": "option"
|
|
2476
|
-
},
|
|
2477
|
-
"page": {
|
|
2478
|
-
"description": "Page number for pagination",
|
|
2479
|
-
"name": "page",
|
|
2641
|
+
"force": {
|
|
2642
|
+
"char": "f",
|
|
2643
|
+
"description": "Skip confirmation prompt",
|
|
2644
|
+
"name": "force",
|
|
2480
2645
|
"required": false,
|
|
2481
|
-
"
|
|
2482
|
-
"
|
|
2483
|
-
"multiple": false,
|
|
2484
|
-
"type": "option"
|
|
2646
|
+
"allowNo": false,
|
|
2647
|
+
"type": "boolean"
|
|
2485
2648
|
},
|
|
2486
|
-
"
|
|
2487
|
-
"
|
|
2488
|
-
"
|
|
2649
|
+
"output": {
|
|
2650
|
+
"char": "o",
|
|
2651
|
+
"description": "Output format",
|
|
2652
|
+
"name": "output",
|
|
2489
2653
|
"required": false,
|
|
2490
|
-
"default":
|
|
2654
|
+
"default": "summary",
|
|
2491
2655
|
"hasDynamicHelp": false,
|
|
2492
2656
|
"multiple": false,
|
|
2657
|
+
"options": [
|
|
2658
|
+
"summary",
|
|
2659
|
+
"json"
|
|
2660
|
+
],
|
|
2493
2661
|
"type": "option"
|
|
2494
2662
|
},
|
|
2495
2663
|
"workspace": {
|
|
2496
2664
|
"char": "w",
|
|
2497
|
-
"description": "Workspace ID (
|
|
2665
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2498
2666
|
"name": "workspace",
|
|
2499
2667
|
"required": false,
|
|
2500
2668
|
"hasDynamicHelp": false,
|
|
@@ -2504,7 +2672,7 @@
|
|
|
2504
2672
|
},
|
|
2505
2673
|
"hasDynamicHelp": false,
|
|
2506
2674
|
"hiddenAliases": [],
|
|
2507
|
-
"id": "
|
|
2675
|
+
"id": "tenant:delete",
|
|
2508
2676
|
"pluginAlias": "@xano/cli",
|
|
2509
2677
|
"pluginName": "@xano/cli",
|
|
2510
2678
|
"pluginType": "core",
|
|
@@ -2514,8 +2682,8 @@
|
|
|
2514
2682
|
"relativePath": [
|
|
2515
2683
|
"dist",
|
|
2516
2684
|
"commands",
|
|
2517
|
-
"
|
|
2518
|
-
"
|
|
2685
|
+
"tenant",
|
|
2686
|
+
"delete",
|
|
2519
2687
|
"index.js"
|
|
2520
2688
|
]
|
|
2521
2689
|
},
|
|
@@ -2659,90 +2827,6 @@
|
|
|
2659
2827
|
"index.js"
|
|
2660
2828
|
]
|
|
2661
2829
|
},
|
|
2662
|
-
"tenant:delete": {
|
|
2663
|
-
"aliases": [],
|
|
2664
|
-
"args": {
|
|
2665
|
-
"tenant_name": {
|
|
2666
|
-
"description": "Tenant name to delete",
|
|
2667
|
-
"name": "tenant_name",
|
|
2668
|
-
"required": true
|
|
2669
|
-
}
|
|
2670
|
-
},
|
|
2671
|
-
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2672
|
-
"examples": [
|
|
2673
|
-
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2674
|
-
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2675
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2676
|
-
],
|
|
2677
|
-
"flags": {
|
|
2678
|
-
"profile": {
|
|
2679
|
-
"char": "p",
|
|
2680
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2681
|
-
"env": "XANO_PROFILE",
|
|
2682
|
-
"name": "profile",
|
|
2683
|
-
"required": false,
|
|
2684
|
-
"hasDynamicHelp": false,
|
|
2685
|
-
"multiple": false,
|
|
2686
|
-
"type": "option"
|
|
2687
|
-
},
|
|
2688
|
-
"verbose": {
|
|
2689
|
-
"char": "v",
|
|
2690
|
-
"description": "Show detailed request/response information",
|
|
2691
|
-
"env": "XANO_VERBOSE",
|
|
2692
|
-
"name": "verbose",
|
|
2693
|
-
"required": false,
|
|
2694
|
-
"allowNo": false,
|
|
2695
|
-
"type": "boolean"
|
|
2696
|
-
},
|
|
2697
|
-
"force": {
|
|
2698
|
-
"char": "f",
|
|
2699
|
-
"description": "Skip confirmation prompt",
|
|
2700
|
-
"name": "force",
|
|
2701
|
-
"required": false,
|
|
2702
|
-
"allowNo": false,
|
|
2703
|
-
"type": "boolean"
|
|
2704
|
-
},
|
|
2705
|
-
"output": {
|
|
2706
|
-
"char": "o",
|
|
2707
|
-
"description": "Output format",
|
|
2708
|
-
"name": "output",
|
|
2709
|
-
"required": false,
|
|
2710
|
-
"default": "summary",
|
|
2711
|
-
"hasDynamicHelp": false,
|
|
2712
|
-
"multiple": false,
|
|
2713
|
-
"options": [
|
|
2714
|
-
"summary",
|
|
2715
|
-
"json"
|
|
2716
|
-
],
|
|
2717
|
-
"type": "option"
|
|
2718
|
-
},
|
|
2719
|
-
"workspace": {
|
|
2720
|
-
"char": "w",
|
|
2721
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2722
|
-
"name": "workspace",
|
|
2723
|
-
"required": false,
|
|
2724
|
-
"hasDynamicHelp": false,
|
|
2725
|
-
"multiple": false,
|
|
2726
|
-
"type": "option"
|
|
2727
|
-
}
|
|
2728
|
-
},
|
|
2729
|
-
"hasDynamicHelp": false,
|
|
2730
|
-
"hiddenAliases": [],
|
|
2731
|
-
"id": "tenant:delete",
|
|
2732
|
-
"pluginAlias": "@xano/cli",
|
|
2733
|
-
"pluginName": "@xano/cli",
|
|
2734
|
-
"pluginType": "core",
|
|
2735
|
-
"strict": true,
|
|
2736
|
-
"enableJsonFlag": false,
|
|
2737
|
-
"isESM": true,
|
|
2738
|
-
"relativePath": [
|
|
2739
|
-
"dist",
|
|
2740
|
-
"commands",
|
|
2741
|
-
"tenant",
|
|
2742
|
-
"delete",
|
|
2743
|
-
"index.js"
|
|
2744
|
-
]
|
|
2745
|
-
},
|
|
2746
2830
|
"tenant:deploy_platform": {
|
|
2747
2831
|
"aliases": [],
|
|
2748
2832
|
"args": {
|
|
@@ -2836,19 +2920,19 @@
|
|
|
2836
2920
|
"index.js"
|
|
2837
2921
|
]
|
|
2838
2922
|
},
|
|
2839
|
-
"tenant:
|
|
2923
|
+
"tenant:get": {
|
|
2840
2924
|
"aliases": [],
|
|
2841
2925
|
"args": {
|
|
2842
2926
|
"tenant_name": {
|
|
2843
|
-
"description": "Tenant name to
|
|
2927
|
+
"description": "Tenant name to retrieve",
|
|
2844
2928
|
"name": "tenant_name",
|
|
2845
2929
|
"required": true
|
|
2846
2930
|
}
|
|
2847
2931
|
},
|
|
2848
|
-
"description": "
|
|
2932
|
+
"description": "Get details of a specific tenant",
|
|
2849
2933
|
"examples": [
|
|
2850
|
-
"$ xano tenant
|
|
2851
|
-
"$ xano tenant
|
|
2934
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
2935
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
2852
2936
|
],
|
|
2853
2937
|
"flags": {
|
|
2854
2938
|
"profile": {
|
|
@@ -2884,15 +2968,6 @@
|
|
|
2884
2968
|
],
|
|
2885
2969
|
"type": "option"
|
|
2886
2970
|
},
|
|
2887
|
-
"release": {
|
|
2888
|
-
"char": "r",
|
|
2889
|
-
"description": "Release name to deploy",
|
|
2890
|
-
"name": "release",
|
|
2891
|
-
"required": true,
|
|
2892
|
-
"hasDynamicHelp": false,
|
|
2893
|
-
"multiple": false,
|
|
2894
|
-
"type": "option"
|
|
2895
|
-
},
|
|
2896
2971
|
"workspace": {
|
|
2897
2972
|
"char": "w",
|
|
2898
2973
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2905,7 +2980,7 @@
|
|
|
2905
2980
|
},
|
|
2906
2981
|
"hasDynamicHelp": false,
|
|
2907
2982
|
"hiddenAliases": [],
|
|
2908
|
-
"id": "tenant:
|
|
2983
|
+
"id": "tenant:get",
|
|
2909
2984
|
"pluginAlias": "@xano/cli",
|
|
2910
2985
|
"pluginName": "@xano/cli",
|
|
2911
2986
|
"pluginType": "core",
|
|
@@ -2916,7 +2991,7 @@
|
|
|
2916
2991
|
"dist",
|
|
2917
2992
|
"commands",
|
|
2918
2993
|
"tenant",
|
|
2919
|
-
"
|
|
2994
|
+
"get",
|
|
2920
2995
|
"index.js"
|
|
2921
2996
|
]
|
|
2922
2997
|
},
|
|
@@ -3049,19 +3124,19 @@
|
|
|
3049
3124
|
"index.js"
|
|
3050
3125
|
]
|
|
3051
3126
|
},
|
|
3052
|
-
"tenant:
|
|
3127
|
+
"tenant:deploy_release": {
|
|
3053
3128
|
"aliases": [],
|
|
3054
3129
|
"args": {
|
|
3055
3130
|
"tenant_name": {
|
|
3056
|
-
"description": "Tenant name to
|
|
3131
|
+
"description": "Tenant name to deploy to",
|
|
3057
3132
|
"name": "tenant_name",
|
|
3058
3133
|
"required": true
|
|
3059
3134
|
}
|
|
3060
3135
|
},
|
|
3061
|
-
"description": "
|
|
3136
|
+
"description": "Deploy a release to a tenant",
|
|
3062
3137
|
"examples": [
|
|
3063
|
-
"$ xano tenant
|
|
3064
|
-
"$ xano tenant
|
|
3138
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
3139
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3065
3140
|
],
|
|
3066
3141
|
"flags": {
|
|
3067
3142
|
"profile": {
|
|
@@ -3097,6 +3172,15 @@
|
|
|
3097
3172
|
],
|
|
3098
3173
|
"type": "option"
|
|
3099
3174
|
},
|
|
3175
|
+
"release": {
|
|
3176
|
+
"char": "r",
|
|
3177
|
+
"description": "Release name to deploy",
|
|
3178
|
+
"name": "release",
|
|
3179
|
+
"required": true,
|
|
3180
|
+
"hasDynamicHelp": false,
|
|
3181
|
+
"multiple": false,
|
|
3182
|
+
"type": "option"
|
|
3183
|
+
},
|
|
3100
3184
|
"workspace": {
|
|
3101
3185
|
"char": "w",
|
|
3102
3186
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3109,7 +3193,7 @@
|
|
|
3109
3193
|
},
|
|
3110
3194
|
"hasDynamicHelp": false,
|
|
3111
3195
|
"hiddenAliases": [],
|
|
3112
|
-
"id": "tenant:
|
|
3196
|
+
"id": "tenant:deploy_release",
|
|
3113
3197
|
"pluginAlias": "@xano/cli",
|
|
3114
3198
|
"pluginName": "@xano/cli",
|
|
3115
3199
|
"pluginType": "core",
|
|
@@ -3120,7 +3204,7 @@
|
|
|
3120
3204
|
"dist",
|
|
3121
3205
|
"commands",
|
|
3122
3206
|
"tenant",
|
|
3123
|
-
"
|
|
3207
|
+
"deploy_release",
|
|
3124
3208
|
"index.js"
|
|
3125
3209
|
]
|
|
3126
3210
|
},
|
|
@@ -3226,32 +3310,134 @@
|
|
|
3226
3310
|
"multiple": false,
|
|
3227
3311
|
"type": "option"
|
|
3228
3312
|
},
|
|
3229
|
-
"verbose": {
|
|
3230
|
-
"char": "v",
|
|
3231
|
-
"description": "Show detailed request/response information",
|
|
3232
|
-
"env": "XANO_VERBOSE",
|
|
3233
|
-
"name": "verbose",
|
|
3313
|
+
"verbose": {
|
|
3314
|
+
"char": "v",
|
|
3315
|
+
"description": "Show detailed request/response information",
|
|
3316
|
+
"env": "XANO_VERBOSE",
|
|
3317
|
+
"name": "verbose",
|
|
3318
|
+
"required": false,
|
|
3319
|
+
"allowNo": false,
|
|
3320
|
+
"type": "boolean"
|
|
3321
|
+
},
|
|
3322
|
+
"output": {
|
|
3323
|
+
"char": "o",
|
|
3324
|
+
"description": "Output format",
|
|
3325
|
+
"name": "output",
|
|
3326
|
+
"required": false,
|
|
3327
|
+
"default": "summary",
|
|
3328
|
+
"hasDynamicHelp": false,
|
|
3329
|
+
"multiple": false,
|
|
3330
|
+
"options": [
|
|
3331
|
+
"summary",
|
|
3332
|
+
"json"
|
|
3333
|
+
],
|
|
3334
|
+
"type": "option"
|
|
3335
|
+
},
|
|
3336
|
+
"workspace": {
|
|
3337
|
+
"char": "w",
|
|
3338
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3339
|
+
"name": "workspace",
|
|
3340
|
+
"required": false,
|
|
3341
|
+
"hasDynamicHelp": false,
|
|
3342
|
+
"multiple": false,
|
|
3343
|
+
"type": "option"
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
"hasDynamicHelp": false,
|
|
3347
|
+
"hiddenAliases": [],
|
|
3348
|
+
"id": "tenant:list",
|
|
3349
|
+
"pluginAlias": "@xano/cli",
|
|
3350
|
+
"pluginName": "@xano/cli",
|
|
3351
|
+
"pluginType": "core",
|
|
3352
|
+
"strict": true,
|
|
3353
|
+
"enableJsonFlag": false,
|
|
3354
|
+
"isESM": true,
|
|
3355
|
+
"relativePath": [
|
|
3356
|
+
"dist",
|
|
3357
|
+
"commands",
|
|
3358
|
+
"tenant",
|
|
3359
|
+
"list",
|
|
3360
|
+
"index.js"
|
|
3361
|
+
]
|
|
3362
|
+
},
|
|
3363
|
+
"tenant:push": {
|
|
3364
|
+
"aliases": [],
|
|
3365
|
+
"args": {
|
|
3366
|
+
"directory": {
|
|
3367
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3368
|
+
"name": "directory",
|
|
3369
|
+
"required": true
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3373
|
+
"examples": [
|
|
3374
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3375
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3376
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3377
|
+
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3378
|
+
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3379
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3380
|
+
],
|
|
3381
|
+
"flags": {
|
|
3382
|
+
"profile": {
|
|
3383
|
+
"char": "p",
|
|
3384
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3385
|
+
"env": "XANO_PROFILE",
|
|
3386
|
+
"name": "profile",
|
|
3387
|
+
"required": false,
|
|
3388
|
+
"hasDynamicHelp": false,
|
|
3389
|
+
"multiple": false,
|
|
3390
|
+
"type": "option"
|
|
3391
|
+
},
|
|
3392
|
+
"verbose": {
|
|
3393
|
+
"char": "v",
|
|
3394
|
+
"description": "Show detailed request/response information",
|
|
3395
|
+
"env": "XANO_VERBOSE",
|
|
3396
|
+
"name": "verbose",
|
|
3397
|
+
"required": false,
|
|
3398
|
+
"allowNo": false,
|
|
3399
|
+
"type": "boolean"
|
|
3400
|
+
},
|
|
3401
|
+
"env": {
|
|
3402
|
+
"description": "Include environment variables in import",
|
|
3403
|
+
"name": "env",
|
|
3404
|
+
"required": false,
|
|
3405
|
+
"allowNo": false,
|
|
3406
|
+
"type": "boolean"
|
|
3407
|
+
},
|
|
3408
|
+
"records": {
|
|
3409
|
+
"description": "Include records in import",
|
|
3410
|
+
"name": "records",
|
|
3411
|
+
"required": false,
|
|
3412
|
+
"allowNo": false,
|
|
3413
|
+
"type": "boolean"
|
|
3414
|
+
},
|
|
3415
|
+
"tenant": {
|
|
3416
|
+
"char": "t",
|
|
3417
|
+
"description": "Tenant name to push to",
|
|
3418
|
+
"name": "tenant",
|
|
3419
|
+
"required": true,
|
|
3420
|
+
"hasDynamicHelp": false,
|
|
3421
|
+
"multiple": false,
|
|
3422
|
+
"type": "option"
|
|
3423
|
+
},
|
|
3424
|
+
"transaction": {
|
|
3425
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3426
|
+
"name": "transaction",
|
|
3234
3427
|
"required": false,
|
|
3235
|
-
"allowNo":
|
|
3428
|
+
"allowNo": true,
|
|
3236
3429
|
"type": "boolean"
|
|
3237
3430
|
},
|
|
3238
|
-
"
|
|
3239
|
-
"
|
|
3240
|
-
"
|
|
3241
|
-
"name": "output",
|
|
3431
|
+
"truncate": {
|
|
3432
|
+
"description": "Truncate all table records before importing",
|
|
3433
|
+
"name": "truncate",
|
|
3242
3434
|
"required": false,
|
|
3243
|
-
"
|
|
3244
|
-
"
|
|
3245
|
-
"multiple": false,
|
|
3246
|
-
"options": [
|
|
3247
|
-
"summary",
|
|
3248
|
-
"json"
|
|
3249
|
-
],
|
|
3250
|
-
"type": "option"
|
|
3435
|
+
"allowNo": false,
|
|
3436
|
+
"type": "boolean"
|
|
3251
3437
|
},
|
|
3252
3438
|
"workspace": {
|
|
3253
3439
|
"char": "w",
|
|
3254
|
-
"description": "Workspace ID (
|
|
3440
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3255
3441
|
"name": "workspace",
|
|
3256
3442
|
"required": false,
|
|
3257
3443
|
"hasDynamicHelp": false,
|
|
@@ -3261,7 +3447,7 @@
|
|
|
3261
3447
|
},
|
|
3262
3448
|
"hasDynamicHelp": false,
|
|
3263
3449
|
"hiddenAliases": [],
|
|
3264
|
-
"id": "tenant:
|
|
3450
|
+
"id": "tenant:push",
|
|
3265
3451
|
"pluginAlias": "@xano/cli",
|
|
3266
3452
|
"pluginName": "@xano/cli",
|
|
3267
3453
|
"pluginType": "core",
|
|
@@ -3272,7 +3458,7 @@
|
|
|
3272
3458
|
"dist",
|
|
3273
3459
|
"commands",
|
|
3274
3460
|
"tenant",
|
|
3275
|
-
"
|
|
3461
|
+
"push",
|
|
3276
3462
|
"index.js"
|
|
3277
3463
|
]
|
|
3278
3464
|
},
|
|
@@ -3369,23 +3555,19 @@
|
|
|
3369
3555
|
"index.js"
|
|
3370
3556
|
]
|
|
3371
3557
|
},
|
|
3372
|
-
"
|
|
3558
|
+
"unit_test:run": {
|
|
3373
3559
|
"aliases": [],
|
|
3374
3560
|
"args": {
|
|
3375
|
-
"
|
|
3376
|
-
"description": "
|
|
3377
|
-
"name": "
|
|
3561
|
+
"unit_test_id": {
|
|
3562
|
+
"description": "ID of the unit test to run",
|
|
3563
|
+
"name": "unit_test_id",
|
|
3378
3564
|
"required": true
|
|
3379
3565
|
}
|
|
3380
3566
|
},
|
|
3381
|
-
"description": "
|
|
3567
|
+
"description": "Run a unit test",
|
|
3382
3568
|
"examples": [
|
|
3383
|
-
"$ xano
|
|
3384
|
-
"$ xano
|
|
3385
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3386
|
-
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3387
|
-
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3388
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3569
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3570
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3389
3571
|
],
|
|
3390
3572
|
"flags": {
|
|
3391
3573
|
"profile": {
|
|
@@ -3407,46 +3589,23 @@
|
|
|
3407
3589
|
"allowNo": false,
|
|
3408
3590
|
"type": "boolean"
|
|
3409
3591
|
},
|
|
3410
|
-
"
|
|
3411
|
-
"
|
|
3412
|
-
"
|
|
3413
|
-
"
|
|
3414
|
-
"allowNo": false,
|
|
3415
|
-
"type": "boolean"
|
|
3416
|
-
},
|
|
3417
|
-
"records": {
|
|
3418
|
-
"description": "Include records in import",
|
|
3419
|
-
"name": "records",
|
|
3592
|
+
"output": {
|
|
3593
|
+
"char": "o",
|
|
3594
|
+
"description": "Output format",
|
|
3595
|
+
"name": "output",
|
|
3420
3596
|
"required": false,
|
|
3421
|
-
"
|
|
3422
|
-
"type": "boolean"
|
|
3423
|
-
},
|
|
3424
|
-
"tenant": {
|
|
3425
|
-
"char": "t",
|
|
3426
|
-
"description": "Tenant name to push to",
|
|
3427
|
-
"name": "tenant",
|
|
3428
|
-
"required": true,
|
|
3597
|
+
"default": "summary",
|
|
3429
3598
|
"hasDynamicHelp": false,
|
|
3430
3599
|
"multiple": false,
|
|
3600
|
+
"options": [
|
|
3601
|
+
"summary",
|
|
3602
|
+
"json"
|
|
3603
|
+
],
|
|
3431
3604
|
"type": "option"
|
|
3432
3605
|
},
|
|
3433
|
-
"transaction": {
|
|
3434
|
-
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3435
|
-
"name": "transaction",
|
|
3436
|
-
"required": false,
|
|
3437
|
-
"allowNo": true,
|
|
3438
|
-
"type": "boolean"
|
|
3439
|
-
},
|
|
3440
|
-
"truncate": {
|
|
3441
|
-
"description": "Truncate all table records before importing",
|
|
3442
|
-
"name": "truncate",
|
|
3443
|
-
"required": false,
|
|
3444
|
-
"allowNo": false,
|
|
3445
|
-
"type": "boolean"
|
|
3446
|
-
},
|
|
3447
3606
|
"workspace": {
|
|
3448
3607
|
"char": "w",
|
|
3449
|
-
"description": "Workspace ID (
|
|
3608
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3450
3609
|
"name": "workspace",
|
|
3451
3610
|
"required": false,
|
|
3452
3611
|
"hasDynamicHelp": false,
|
|
@@ -3456,7 +3615,7 @@
|
|
|
3456
3615
|
},
|
|
3457
3616
|
"hasDynamicHelp": false,
|
|
3458
3617
|
"hiddenAliases": [],
|
|
3459
|
-
"id": "
|
|
3618
|
+
"id": "unit_test:run",
|
|
3460
3619
|
"pluginAlias": "@xano/cli",
|
|
3461
3620
|
"pluginName": "@xano/cli",
|
|
3462
3621
|
"pluginType": "core",
|
|
@@ -3466,8 +3625,8 @@
|
|
|
3466
3625
|
"relativePath": [
|
|
3467
3626
|
"dist",
|
|
3468
3627
|
"commands",
|
|
3469
|
-
"
|
|
3470
|
-
"
|
|
3628
|
+
"unit_test",
|
|
3629
|
+
"run",
|
|
3471
3630
|
"index.js"
|
|
3472
3631
|
]
|
|
3473
3632
|
},
|
|
@@ -3563,81 +3722,6 @@
|
|
|
3563
3722
|
"index.js"
|
|
3564
3723
|
]
|
|
3565
3724
|
},
|
|
3566
|
-
"unit_test:run": {
|
|
3567
|
-
"aliases": [],
|
|
3568
|
-
"args": {
|
|
3569
|
-
"unit_test_id": {
|
|
3570
|
-
"description": "ID of the unit test to run",
|
|
3571
|
-
"name": "unit_test_id",
|
|
3572
|
-
"required": true
|
|
3573
|
-
}
|
|
3574
|
-
},
|
|
3575
|
-
"description": "Run a unit test",
|
|
3576
|
-
"examples": [
|
|
3577
|
-
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3578
|
-
"$ xano unit-test run abc-123 -o json"
|
|
3579
|
-
],
|
|
3580
|
-
"flags": {
|
|
3581
|
-
"profile": {
|
|
3582
|
-
"char": "p",
|
|
3583
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3584
|
-
"env": "XANO_PROFILE",
|
|
3585
|
-
"name": "profile",
|
|
3586
|
-
"required": false,
|
|
3587
|
-
"hasDynamicHelp": false,
|
|
3588
|
-
"multiple": false,
|
|
3589
|
-
"type": "option"
|
|
3590
|
-
},
|
|
3591
|
-
"verbose": {
|
|
3592
|
-
"char": "v",
|
|
3593
|
-
"description": "Show detailed request/response information",
|
|
3594
|
-
"env": "XANO_VERBOSE",
|
|
3595
|
-
"name": "verbose",
|
|
3596
|
-
"required": false,
|
|
3597
|
-
"allowNo": false,
|
|
3598
|
-
"type": "boolean"
|
|
3599
|
-
},
|
|
3600
|
-
"output": {
|
|
3601
|
-
"char": "o",
|
|
3602
|
-
"description": "Output format",
|
|
3603
|
-
"name": "output",
|
|
3604
|
-
"required": false,
|
|
3605
|
-
"default": "summary",
|
|
3606
|
-
"hasDynamicHelp": false,
|
|
3607
|
-
"multiple": false,
|
|
3608
|
-
"options": [
|
|
3609
|
-
"summary",
|
|
3610
|
-
"json"
|
|
3611
|
-
],
|
|
3612
|
-
"type": "option"
|
|
3613
|
-
},
|
|
3614
|
-
"workspace": {
|
|
3615
|
-
"char": "w",
|
|
3616
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3617
|
-
"name": "workspace",
|
|
3618
|
-
"required": false,
|
|
3619
|
-
"hasDynamicHelp": false,
|
|
3620
|
-
"multiple": false,
|
|
3621
|
-
"type": "option"
|
|
3622
|
-
}
|
|
3623
|
-
},
|
|
3624
|
-
"hasDynamicHelp": false,
|
|
3625
|
-
"hiddenAliases": [],
|
|
3626
|
-
"id": "unit_test:run",
|
|
3627
|
-
"pluginAlias": "@xano/cli",
|
|
3628
|
-
"pluginName": "@xano/cli",
|
|
3629
|
-
"pluginType": "core",
|
|
3630
|
-
"strict": true,
|
|
3631
|
-
"enableJsonFlag": false,
|
|
3632
|
-
"isESM": true,
|
|
3633
|
-
"relativePath": [
|
|
3634
|
-
"dist",
|
|
3635
|
-
"commands",
|
|
3636
|
-
"unit_test",
|
|
3637
|
-
"run",
|
|
3638
|
-
"index.js"
|
|
3639
|
-
]
|
|
3640
|
-
},
|
|
3641
3725
|
"unit_test:run_all": {
|
|
3642
3726
|
"aliases": [],
|
|
3643
3727
|
"args": {},
|
|
@@ -4046,102 +4130,17 @@
|
|
|
4046
4130
|
"dist",
|
|
4047
4131
|
"commands",
|
|
4048
4132
|
"workflow_test",
|
|
4049
|
-
"run",
|
|
4050
|
-
"index.js"
|
|
4051
|
-
]
|
|
4052
|
-
},
|
|
4053
|
-
"workflow_test:run_all": {
|
|
4054
|
-
"aliases": [],
|
|
4055
|
-
"args": {},
|
|
4056
|
-
"description": "Run all workflow tests in a workspace",
|
|
4057
|
-
"examples": [
|
|
4058
|
-
"$ 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",
|
|
4059
|
-
"$ xano workflow-test run-all --branch main -o json"
|
|
4060
|
-
],
|
|
4061
|
-
"flags": {
|
|
4062
|
-
"profile": {
|
|
4063
|
-
"char": "p",
|
|
4064
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4065
|
-
"env": "XANO_PROFILE",
|
|
4066
|
-
"name": "profile",
|
|
4067
|
-
"required": false,
|
|
4068
|
-
"hasDynamicHelp": false,
|
|
4069
|
-
"multiple": false,
|
|
4070
|
-
"type": "option"
|
|
4071
|
-
},
|
|
4072
|
-
"verbose": {
|
|
4073
|
-
"char": "v",
|
|
4074
|
-
"description": "Show detailed request/response information",
|
|
4075
|
-
"env": "XANO_VERBOSE",
|
|
4076
|
-
"name": "verbose",
|
|
4077
|
-
"required": false,
|
|
4078
|
-
"allowNo": false,
|
|
4079
|
-
"type": "boolean"
|
|
4080
|
-
},
|
|
4081
|
-
"branch": {
|
|
4082
|
-
"char": "b",
|
|
4083
|
-
"description": "Filter by branch name",
|
|
4084
|
-
"name": "branch",
|
|
4085
|
-
"required": false,
|
|
4086
|
-
"hasDynamicHelp": false,
|
|
4087
|
-
"multiple": false,
|
|
4088
|
-
"type": "option"
|
|
4089
|
-
},
|
|
4090
|
-
"output": {
|
|
4091
|
-
"char": "o",
|
|
4092
|
-
"description": "Output format",
|
|
4093
|
-
"name": "output",
|
|
4094
|
-
"required": false,
|
|
4095
|
-
"default": "summary",
|
|
4096
|
-
"hasDynamicHelp": false,
|
|
4097
|
-
"multiple": false,
|
|
4098
|
-
"options": [
|
|
4099
|
-
"summary",
|
|
4100
|
-
"json"
|
|
4101
|
-
],
|
|
4102
|
-
"type": "option"
|
|
4103
|
-
},
|
|
4104
|
-
"workspace": {
|
|
4105
|
-
"char": "w",
|
|
4106
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4107
|
-
"name": "workspace",
|
|
4108
|
-
"required": false,
|
|
4109
|
-
"hasDynamicHelp": false,
|
|
4110
|
-
"multiple": false,
|
|
4111
|
-
"type": "option"
|
|
4112
|
-
}
|
|
4113
|
-
},
|
|
4114
|
-
"hasDynamicHelp": false,
|
|
4115
|
-
"hiddenAliases": [],
|
|
4116
|
-
"id": "workflow_test:run_all",
|
|
4117
|
-
"pluginAlias": "@xano/cli",
|
|
4118
|
-
"pluginName": "@xano/cli",
|
|
4119
|
-
"pluginType": "core",
|
|
4120
|
-
"strict": true,
|
|
4121
|
-
"enableJsonFlag": false,
|
|
4122
|
-
"isESM": true,
|
|
4123
|
-
"relativePath": [
|
|
4124
|
-
"dist",
|
|
4125
|
-
"commands",
|
|
4126
|
-
"workflow_test",
|
|
4127
|
-
"run_all",
|
|
4133
|
+
"run",
|
|
4128
4134
|
"index.js"
|
|
4129
4135
|
]
|
|
4130
4136
|
},
|
|
4131
|
-
"
|
|
4137
|
+
"workflow_test:run_all": {
|
|
4132
4138
|
"aliases": [],
|
|
4133
|
-
"args": {
|
|
4134
|
-
|
|
4135
|
-
"description": "Name of the workspace",
|
|
4136
|
-
"name": "name",
|
|
4137
|
-
"required": true
|
|
4138
|
-
}
|
|
4139
|
-
},
|
|
4140
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4139
|
+
"args": {},
|
|
4140
|
+
"description": "Run all workflow tests in a workspace",
|
|
4141
4141
|
"examples": [
|
|
4142
|
-
"$ xano
|
|
4143
|
-
"$ xano
|
|
4144
|
-
"$ 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"
|
|
4142
|
+
"$ 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",
|
|
4143
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4145
4144
|
],
|
|
4146
4145
|
"flags": {
|
|
4147
4146
|
"profile": {
|
|
@@ -4163,10 +4162,10 @@
|
|
|
4163
4162
|
"allowNo": false,
|
|
4164
4163
|
"type": "boolean"
|
|
4165
4164
|
},
|
|
4166
|
-
"
|
|
4167
|
-
"char": "
|
|
4168
|
-
"description": "
|
|
4169
|
-
"name": "
|
|
4165
|
+
"branch": {
|
|
4166
|
+
"char": "b",
|
|
4167
|
+
"description": "Filter by branch name",
|
|
4168
|
+
"name": "branch",
|
|
4170
4169
|
"required": false,
|
|
4171
4170
|
"hasDynamicHelp": false,
|
|
4172
4171
|
"multiple": false,
|
|
@@ -4185,11 +4184,20 @@
|
|
|
4185
4184
|
"json"
|
|
4186
4185
|
],
|
|
4187
4186
|
"type": "option"
|
|
4187
|
+
},
|
|
4188
|
+
"workspace": {
|
|
4189
|
+
"char": "w",
|
|
4190
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4191
|
+
"name": "workspace",
|
|
4192
|
+
"required": false,
|
|
4193
|
+
"hasDynamicHelp": false,
|
|
4194
|
+
"multiple": false,
|
|
4195
|
+
"type": "option"
|
|
4188
4196
|
}
|
|
4189
4197
|
},
|
|
4190
4198
|
"hasDynamicHelp": false,
|
|
4191
4199
|
"hiddenAliases": [],
|
|
4192
|
-
"id": "
|
|
4200
|
+
"id": "workflow_test:run_all",
|
|
4193
4201
|
"pluginAlias": "@xano/cli",
|
|
4194
4202
|
"pluginName": "@xano/cli",
|
|
4195
4203
|
"pluginType": "core",
|
|
@@ -4199,8 +4207,8 @@
|
|
|
4199
4207
|
"relativePath": [
|
|
4200
4208
|
"dist",
|
|
4201
4209
|
"commands",
|
|
4202
|
-
"
|
|
4203
|
-
"
|
|
4210
|
+
"workflow_test",
|
|
4211
|
+
"run_all",
|
|
4204
4212
|
"index.js"
|
|
4205
4213
|
]
|
|
4206
4214
|
},
|
|
@@ -4379,6 +4387,82 @@
|
|
|
4379
4387
|
"index.js"
|
|
4380
4388
|
]
|
|
4381
4389
|
},
|
|
4390
|
+
"workspace:create": {
|
|
4391
|
+
"aliases": [],
|
|
4392
|
+
"args": {
|
|
4393
|
+
"name": {
|
|
4394
|
+
"description": "Name of the workspace",
|
|
4395
|
+
"name": "name",
|
|
4396
|
+
"required": true
|
|
4397
|
+
}
|
|
4398
|
+
},
|
|
4399
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4400
|
+
"examples": [
|
|
4401
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4402
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4403
|
+
"$ 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"
|
|
4404
|
+
],
|
|
4405
|
+
"flags": {
|
|
4406
|
+
"profile": {
|
|
4407
|
+
"char": "p",
|
|
4408
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4409
|
+
"env": "XANO_PROFILE",
|
|
4410
|
+
"name": "profile",
|
|
4411
|
+
"required": false,
|
|
4412
|
+
"hasDynamicHelp": false,
|
|
4413
|
+
"multiple": false,
|
|
4414
|
+
"type": "option"
|
|
4415
|
+
},
|
|
4416
|
+
"verbose": {
|
|
4417
|
+
"char": "v",
|
|
4418
|
+
"description": "Show detailed request/response information",
|
|
4419
|
+
"env": "XANO_VERBOSE",
|
|
4420
|
+
"name": "verbose",
|
|
4421
|
+
"required": false,
|
|
4422
|
+
"allowNo": false,
|
|
4423
|
+
"type": "boolean"
|
|
4424
|
+
},
|
|
4425
|
+
"description": {
|
|
4426
|
+
"char": "d",
|
|
4427
|
+
"description": "Description for the workspace",
|
|
4428
|
+
"name": "description",
|
|
4429
|
+
"required": false,
|
|
4430
|
+
"hasDynamicHelp": false,
|
|
4431
|
+
"multiple": false,
|
|
4432
|
+
"type": "option"
|
|
4433
|
+
},
|
|
4434
|
+
"output": {
|
|
4435
|
+
"char": "o",
|
|
4436
|
+
"description": "Output format",
|
|
4437
|
+
"name": "output",
|
|
4438
|
+
"required": false,
|
|
4439
|
+
"default": "summary",
|
|
4440
|
+
"hasDynamicHelp": false,
|
|
4441
|
+
"multiple": false,
|
|
4442
|
+
"options": [
|
|
4443
|
+
"summary",
|
|
4444
|
+
"json"
|
|
4445
|
+
],
|
|
4446
|
+
"type": "option"
|
|
4447
|
+
}
|
|
4448
|
+
},
|
|
4449
|
+
"hasDynamicHelp": false,
|
|
4450
|
+
"hiddenAliases": [],
|
|
4451
|
+
"id": "workspace:create",
|
|
4452
|
+
"pluginAlias": "@xano/cli",
|
|
4453
|
+
"pluginName": "@xano/cli",
|
|
4454
|
+
"pluginType": "core",
|
|
4455
|
+
"strict": true,
|
|
4456
|
+
"enableJsonFlag": false,
|
|
4457
|
+
"isESM": true,
|
|
4458
|
+
"relativePath": [
|
|
4459
|
+
"dist",
|
|
4460
|
+
"commands",
|
|
4461
|
+
"workspace",
|
|
4462
|
+
"create",
|
|
4463
|
+
"index.js"
|
|
4464
|
+
]
|
|
4465
|
+
},
|
|
4382
4466
|
"workspace:get": {
|
|
4383
4467
|
"aliases": [],
|
|
4384
4468
|
"args": {
|
|
@@ -4623,7 +4707,9 @@
|
|
|
4623
4707
|
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4624
4708
|
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4625
4709
|
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4626
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4710
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4711
|
+
"$ xano workspace push ./my-workspace -f \"**/func*\"\nPush only files matching the glob pattern\n",
|
|
4712
|
+
"$ xano workspace push ./my-workspace -f \"function/*\" -f \"table/*\"\nPush files matching multiple patterns\n"
|
|
4627
4713
|
],
|
|
4628
4714
|
"flags": {
|
|
4629
4715
|
"profile": {
|
|
@@ -4719,101 +4805,26 @@
|
|
|
4719
4805
|
"multiple": false,
|
|
4720
4806
|
"type": "option"
|
|
4721
4807
|
},
|
|
4722
|
-
"
|
|
4723
|
-
"
|
|
4724
|
-
"
|
|
4725
|
-
"
|
|
4726
|
-
"allowNo": false,
|
|
4727
|
-
"type": "boolean"
|
|
4728
|
-
}
|
|
4729
|
-
},
|
|
4730
|
-
"hasDynamicHelp": false,
|
|
4731
|
-
"hiddenAliases": [],
|
|
4732
|
-
"id": "workspace:push",
|
|
4733
|
-
"pluginAlias": "@xano/cli",
|
|
4734
|
-
"pluginName": "@xano/cli",
|
|
4735
|
-
"pluginType": "core",
|
|
4736
|
-
"strict": true,
|
|
4737
|
-
"enableJsonFlag": false,
|
|
4738
|
-
"isESM": true,
|
|
4739
|
-
"relativePath": [
|
|
4740
|
-
"dist",
|
|
4741
|
-
"commands",
|
|
4742
|
-
"workspace",
|
|
4743
|
-
"push",
|
|
4744
|
-
"index.js"
|
|
4745
|
-
]
|
|
4746
|
-
},
|
|
4747
|
-
"branch:set_live": {
|
|
4748
|
-
"aliases": [],
|
|
4749
|
-
"args": {
|
|
4750
|
-
"branch_label": {
|
|
4751
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
4752
|
-
"name": "branch_label",
|
|
4753
|
-
"required": true
|
|
4754
|
-
}
|
|
4755
|
-
},
|
|
4756
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
4757
|
-
"examples": [
|
|
4758
|
-
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
4759
|
-
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
4760
|
-
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
4761
|
-
],
|
|
4762
|
-
"flags": {
|
|
4763
|
-
"profile": {
|
|
4764
|
-
"char": "p",
|
|
4765
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4766
|
-
"env": "XANO_PROFILE",
|
|
4767
|
-
"name": "profile",
|
|
4808
|
+
"filter": {
|
|
4809
|
+
"char": "f",
|
|
4810
|
+
"description": "Glob pattern to filter files (e.g. \"**/func*\", \"table/*.xs\"). Matched against relative paths from the push directory.",
|
|
4811
|
+
"name": "filter",
|
|
4768
4812
|
"required": false,
|
|
4769
4813
|
"hasDynamicHelp": false,
|
|
4770
|
-
"multiple":
|
|
4814
|
+
"multiple": true,
|
|
4771
4815
|
"type": "option"
|
|
4772
4816
|
},
|
|
4773
|
-
"verbose": {
|
|
4774
|
-
"char": "v",
|
|
4775
|
-
"description": "Show detailed request/response information",
|
|
4776
|
-
"env": "XANO_VERBOSE",
|
|
4777
|
-
"name": "verbose",
|
|
4778
|
-
"required": false,
|
|
4779
|
-
"allowNo": false,
|
|
4780
|
-
"type": "boolean"
|
|
4781
|
-
},
|
|
4782
4817
|
"force": {
|
|
4783
|
-
"
|
|
4784
|
-
"description": "Skip confirmation prompt",
|
|
4818
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4785
4819
|
"name": "force",
|
|
4786
4820
|
"required": false,
|
|
4787
4821
|
"allowNo": false,
|
|
4788
4822
|
"type": "boolean"
|
|
4789
|
-
},
|
|
4790
|
-
"output": {
|
|
4791
|
-
"char": "o",
|
|
4792
|
-
"description": "Output format",
|
|
4793
|
-
"name": "output",
|
|
4794
|
-
"required": false,
|
|
4795
|
-
"default": "summary",
|
|
4796
|
-
"hasDynamicHelp": false,
|
|
4797
|
-
"multiple": false,
|
|
4798
|
-
"options": [
|
|
4799
|
-
"summary",
|
|
4800
|
-
"json"
|
|
4801
|
-
],
|
|
4802
|
-
"type": "option"
|
|
4803
|
-
},
|
|
4804
|
-
"workspace": {
|
|
4805
|
-
"char": "w",
|
|
4806
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4807
|
-
"name": "workspace",
|
|
4808
|
-
"required": false,
|
|
4809
|
-
"hasDynamicHelp": false,
|
|
4810
|
-
"multiple": false,
|
|
4811
|
-
"type": "option"
|
|
4812
4823
|
}
|
|
4813
4824
|
},
|
|
4814
4825
|
"hasDynamicHelp": false,
|
|
4815
4826
|
"hiddenAliases": [],
|
|
4816
|
-
"id": "
|
|
4827
|
+
"id": "workspace:push",
|
|
4817
4828
|
"pluginAlias": "@xano/cli",
|
|
4818
4829
|
"pluginName": "@xano/cli",
|
|
4819
4830
|
"pluginType": "core",
|
|
@@ -4823,8 +4834,8 @@
|
|
|
4823
4834
|
"relativePath": [
|
|
4824
4835
|
"dist",
|
|
4825
4836
|
"commands",
|
|
4826
|
-
"
|
|
4827
|
-
"
|
|
4837
|
+
"workspace",
|
|
4838
|
+
"push",
|
|
4828
4839
|
"index.js"
|
|
4829
4840
|
]
|
|
4830
4841
|
},
|
|
@@ -5610,19 +5621,13 @@
|
|
|
5610
5621
|
"index.js"
|
|
5611
5622
|
]
|
|
5612
5623
|
},
|
|
5613
|
-
"tenant:
|
|
5624
|
+
"tenant:cluster:create": {
|
|
5614
5625
|
"aliases": [],
|
|
5615
|
-
"args": {
|
|
5616
|
-
|
|
5617
|
-
"description": "Tenant name to restore",
|
|
5618
|
-
"name": "tenant_name",
|
|
5619
|
-
"required": true
|
|
5620
|
-
}
|
|
5621
|
-
},
|
|
5622
|
-
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5626
|
+
"args": {},
|
|
5627
|
+
"description": "Create a new tenant cluster",
|
|
5623
5628
|
"examples": [
|
|
5624
|
-
"$ xano tenant
|
|
5625
|
-
"$ xano tenant
|
|
5629
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5630
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5626
5631
|
],
|
|
5627
5632
|
"flags": {
|
|
5628
5633
|
"profile": {
|
|
@@ -5635,31 +5640,63 @@
|
|
|
5635
5640
|
"multiple": false,
|
|
5636
5641
|
"type": "option"
|
|
5637
5642
|
},
|
|
5638
|
-
"verbose": {
|
|
5639
|
-
"char": "v",
|
|
5640
|
-
"description": "Show detailed request/response information",
|
|
5641
|
-
"env": "XANO_VERBOSE",
|
|
5642
|
-
"name": "verbose",
|
|
5643
|
+
"verbose": {
|
|
5644
|
+
"char": "v",
|
|
5645
|
+
"description": "Show detailed request/response information",
|
|
5646
|
+
"env": "XANO_VERBOSE",
|
|
5647
|
+
"name": "verbose",
|
|
5648
|
+
"required": false,
|
|
5649
|
+
"allowNo": false,
|
|
5650
|
+
"type": "boolean"
|
|
5651
|
+
},
|
|
5652
|
+
"credentials": {
|
|
5653
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5654
|
+
"exclusive": [
|
|
5655
|
+
"credentials_file"
|
|
5656
|
+
],
|
|
5657
|
+
"name": "credentials",
|
|
5658
|
+
"required": false,
|
|
5659
|
+
"hasDynamicHelp": false,
|
|
5660
|
+
"multiple": false,
|
|
5661
|
+
"type": "option"
|
|
5662
|
+
},
|
|
5663
|
+
"credentials_file": {
|
|
5664
|
+
"description": "Path to kubeconfig credentials file",
|
|
5665
|
+
"exclusive": [
|
|
5666
|
+
"credentials"
|
|
5667
|
+
],
|
|
5668
|
+
"name": "credentials_file",
|
|
5669
|
+
"required": false,
|
|
5670
|
+
"hasDynamicHelp": false,
|
|
5671
|
+
"multiple": false,
|
|
5672
|
+
"type": "option"
|
|
5673
|
+
},
|
|
5674
|
+
"description": {
|
|
5675
|
+
"char": "d",
|
|
5676
|
+
"description": "Cluster description",
|
|
5677
|
+
"name": "description",
|
|
5678
|
+
"required": false,
|
|
5679
|
+
"hasDynamicHelp": false,
|
|
5680
|
+
"multiple": false,
|
|
5681
|
+
"type": "option"
|
|
5682
|
+
},
|
|
5683
|
+
"domain": {
|
|
5684
|
+
"description": "Custom domain for the cluster",
|
|
5685
|
+
"name": "domain",
|
|
5643
5686
|
"required": false,
|
|
5644
|
-
"
|
|
5645
|
-
"
|
|
5687
|
+
"hasDynamicHelp": false,
|
|
5688
|
+
"multiple": false,
|
|
5689
|
+
"type": "option"
|
|
5646
5690
|
},
|
|
5647
|
-
"
|
|
5648
|
-
"
|
|
5649
|
-
"
|
|
5691
|
+
"name": {
|
|
5692
|
+
"char": "n",
|
|
5693
|
+
"description": "Cluster name",
|
|
5694
|
+
"name": "name",
|
|
5650
5695
|
"required": true,
|
|
5651
5696
|
"hasDynamicHelp": false,
|
|
5652
5697
|
"multiple": false,
|
|
5653
5698
|
"type": "option"
|
|
5654
5699
|
},
|
|
5655
|
-
"force": {
|
|
5656
|
-
"char": "f",
|
|
5657
|
-
"description": "Skip confirmation prompt",
|
|
5658
|
-
"name": "force",
|
|
5659
|
-
"required": false,
|
|
5660
|
-
"allowNo": false,
|
|
5661
|
-
"type": "boolean"
|
|
5662
|
-
},
|
|
5663
5700
|
"output": {
|
|
5664
5701
|
"char": "o",
|
|
5665
5702
|
"description": "Output format",
|
|
@@ -5674,19 +5711,23 @@
|
|
|
5674
5711
|
],
|
|
5675
5712
|
"type": "option"
|
|
5676
5713
|
},
|
|
5677
|
-
"
|
|
5678
|
-
"
|
|
5679
|
-
"
|
|
5680
|
-
"name": "workspace",
|
|
5714
|
+
"type": {
|
|
5715
|
+
"description": "Cluster type",
|
|
5716
|
+
"name": "type",
|
|
5681
5717
|
"required": false,
|
|
5718
|
+
"default": "standard",
|
|
5682
5719
|
"hasDynamicHelp": false,
|
|
5683
5720
|
"multiple": false,
|
|
5721
|
+
"options": [
|
|
5722
|
+
"standard",
|
|
5723
|
+
"run"
|
|
5724
|
+
],
|
|
5684
5725
|
"type": "option"
|
|
5685
5726
|
}
|
|
5686
5727
|
},
|
|
5687
5728
|
"hasDynamicHelp": false,
|
|
5688
5729
|
"hiddenAliases": [],
|
|
5689
|
-
"id": "tenant:
|
|
5730
|
+
"id": "tenant:cluster:create",
|
|
5690
5731
|
"pluginAlias": "@xano/cli",
|
|
5691
5732
|
"pluginName": "@xano/cli",
|
|
5692
5733
|
"pluginType": "core",
|
|
@@ -5697,18 +5738,24 @@
|
|
|
5697
5738
|
"dist",
|
|
5698
5739
|
"commands",
|
|
5699
5740
|
"tenant",
|
|
5700
|
-
"
|
|
5701
|
-
"
|
|
5741
|
+
"cluster",
|
|
5742
|
+
"create",
|
|
5702
5743
|
"index.js"
|
|
5703
5744
|
]
|
|
5704
5745
|
},
|
|
5705
|
-
"tenant:cluster:
|
|
5746
|
+
"tenant:cluster:edit": {
|
|
5706
5747
|
"aliases": [],
|
|
5707
|
-
"args": {
|
|
5708
|
-
|
|
5748
|
+
"args": {
|
|
5749
|
+
"cluster_id": {
|
|
5750
|
+
"description": "Cluster ID to edit",
|
|
5751
|
+
"name": "cluster_id",
|
|
5752
|
+
"required": true
|
|
5753
|
+
}
|
|
5754
|
+
},
|
|
5755
|
+
"description": "Update an existing tenant cluster",
|
|
5709
5756
|
"examples": [
|
|
5710
|
-
"$ xano tenant cluster
|
|
5711
|
-
"$ xano tenant cluster
|
|
5757
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5758
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5712
5759
|
],
|
|
5713
5760
|
"flags": {
|
|
5714
5761
|
"profile": {
|
|
@@ -5730,33 +5777,11 @@
|
|
|
5730
5777
|
"allowNo": false,
|
|
5731
5778
|
"type": "boolean"
|
|
5732
5779
|
},
|
|
5733
|
-
"credentials": {
|
|
5734
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
5735
|
-
"exclusive": [
|
|
5736
|
-
"credentials_file"
|
|
5737
|
-
],
|
|
5738
|
-
"name": "credentials",
|
|
5739
|
-
"required": false,
|
|
5740
|
-
"hasDynamicHelp": false,
|
|
5741
|
-
"multiple": false,
|
|
5742
|
-
"type": "option"
|
|
5743
|
-
},
|
|
5744
|
-
"credentials_file": {
|
|
5745
|
-
"description": "Path to kubeconfig credentials file",
|
|
5746
|
-
"exclusive": [
|
|
5747
|
-
"credentials"
|
|
5748
|
-
],
|
|
5749
|
-
"name": "credentials_file",
|
|
5750
|
-
"required": false,
|
|
5751
|
-
"hasDynamicHelp": false,
|
|
5752
|
-
"multiple": false,
|
|
5753
|
-
"type": "option"
|
|
5754
|
-
},
|
|
5755
5780
|
"description": {
|
|
5756
5781
|
"char": "d",
|
|
5757
5782
|
"description": "Cluster description",
|
|
5758
5783
|
"name": "description",
|
|
5759
|
-
"required":
|
|
5784
|
+
"required": true,
|
|
5760
5785
|
"hasDynamicHelp": false,
|
|
5761
5786
|
"multiple": false,
|
|
5762
5787
|
"type": "option"
|
|
@@ -5764,7 +5789,7 @@
|
|
|
5764
5789
|
"domain": {
|
|
5765
5790
|
"description": "Custom domain for the cluster",
|
|
5766
5791
|
"name": "domain",
|
|
5767
|
-
"required":
|
|
5792
|
+
"required": true,
|
|
5768
5793
|
"hasDynamicHelp": false,
|
|
5769
5794
|
"multiple": false,
|
|
5770
5795
|
"type": "option"
|
|
@@ -5795,8 +5820,7 @@
|
|
|
5795
5820
|
"type": {
|
|
5796
5821
|
"description": "Cluster type",
|
|
5797
5822
|
"name": "type",
|
|
5798
|
-
"required":
|
|
5799
|
-
"default": "standard",
|
|
5823
|
+
"required": true,
|
|
5800
5824
|
"hasDynamicHelp": false,
|
|
5801
5825
|
"multiple": false,
|
|
5802
5826
|
"options": [
|
|
@@ -5808,7 +5832,7 @@
|
|
|
5808
5832
|
},
|
|
5809
5833
|
"hasDynamicHelp": false,
|
|
5810
5834
|
"hiddenAliases": [],
|
|
5811
|
-
"id": "tenant:cluster:
|
|
5835
|
+
"id": "tenant:cluster:edit",
|
|
5812
5836
|
"pluginAlias": "@xano/cli",
|
|
5813
5837
|
"pluginName": "@xano/cli",
|
|
5814
5838
|
"pluginType": "core",
|
|
@@ -5820,7 +5844,7 @@
|
|
|
5820
5844
|
"commands",
|
|
5821
5845
|
"tenant",
|
|
5822
5846
|
"cluster",
|
|
5823
|
-
"
|
|
5847
|
+
"edit",
|
|
5824
5848
|
"index.js"
|
|
5825
5849
|
]
|
|
5826
5850
|
},
|
|
@@ -5900,19 +5924,19 @@
|
|
|
5900
5924
|
"index.js"
|
|
5901
5925
|
]
|
|
5902
5926
|
},
|
|
5903
|
-
"tenant:cluster:
|
|
5927
|
+
"tenant:cluster:get": {
|
|
5904
5928
|
"aliases": [],
|
|
5905
5929
|
"args": {
|
|
5906
5930
|
"cluster_id": {
|
|
5907
|
-
"description": "Cluster ID to
|
|
5931
|
+
"description": "Cluster ID to retrieve",
|
|
5908
5932
|
"name": "cluster_id",
|
|
5909
5933
|
"required": true
|
|
5910
5934
|
}
|
|
5911
5935
|
},
|
|
5912
|
-
"description": "
|
|
5936
|
+
"description": "Get details of a specific tenant cluster",
|
|
5913
5937
|
"examples": [
|
|
5914
|
-
"$ xano tenant cluster
|
|
5915
|
-
"$ xano tenant cluster
|
|
5938
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5939
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5916
5940
|
],
|
|
5917
5941
|
"flags": {
|
|
5918
5942
|
"profile": {
|
|
@@ -5934,32 +5958,6 @@
|
|
|
5934
5958
|
"allowNo": false,
|
|
5935
5959
|
"type": "boolean"
|
|
5936
5960
|
},
|
|
5937
|
-
"description": {
|
|
5938
|
-
"char": "d",
|
|
5939
|
-
"description": "Cluster description",
|
|
5940
|
-
"name": "description",
|
|
5941
|
-
"required": true,
|
|
5942
|
-
"hasDynamicHelp": false,
|
|
5943
|
-
"multiple": false,
|
|
5944
|
-
"type": "option"
|
|
5945
|
-
},
|
|
5946
|
-
"domain": {
|
|
5947
|
-
"description": "Custom domain for the cluster",
|
|
5948
|
-
"name": "domain",
|
|
5949
|
-
"required": true,
|
|
5950
|
-
"hasDynamicHelp": false,
|
|
5951
|
-
"multiple": false,
|
|
5952
|
-
"type": "option"
|
|
5953
|
-
},
|
|
5954
|
-
"name": {
|
|
5955
|
-
"char": "n",
|
|
5956
|
-
"description": "Cluster name",
|
|
5957
|
-
"name": "name",
|
|
5958
|
-
"required": true,
|
|
5959
|
-
"hasDynamicHelp": false,
|
|
5960
|
-
"multiple": false,
|
|
5961
|
-
"type": "option"
|
|
5962
|
-
},
|
|
5963
5961
|
"output": {
|
|
5964
5962
|
"char": "o",
|
|
5965
5963
|
"description": "Output format",
|
|
@@ -5973,23 +5971,11 @@
|
|
|
5973
5971
|
"json"
|
|
5974
5972
|
],
|
|
5975
5973
|
"type": "option"
|
|
5976
|
-
},
|
|
5977
|
-
"type": {
|
|
5978
|
-
"description": "Cluster type",
|
|
5979
|
-
"name": "type",
|
|
5980
|
-
"required": true,
|
|
5981
|
-
"hasDynamicHelp": false,
|
|
5982
|
-
"multiple": false,
|
|
5983
|
-
"options": [
|
|
5984
|
-
"standard",
|
|
5985
|
-
"run"
|
|
5986
|
-
],
|
|
5987
|
-
"type": "option"
|
|
5988
5974
|
}
|
|
5989
5975
|
},
|
|
5990
5976
|
"hasDynamicHelp": false,
|
|
5991
5977
|
"hiddenAliases": [],
|
|
5992
|
-
"id": "tenant:cluster:
|
|
5978
|
+
"id": "tenant:cluster:get",
|
|
5993
5979
|
"pluginAlias": "@xano/cli",
|
|
5994
5980
|
"pluginName": "@xano/cli",
|
|
5995
5981
|
"pluginType": "core",
|
|
@@ -6001,23 +5987,23 @@
|
|
|
6001
5987
|
"commands",
|
|
6002
5988
|
"tenant",
|
|
6003
5989
|
"cluster",
|
|
6004
|
-
"
|
|
5990
|
+
"get",
|
|
6005
5991
|
"index.js"
|
|
6006
5992
|
]
|
|
6007
5993
|
},
|
|
6008
|
-
"tenant:
|
|
5994
|
+
"tenant:backup:restore": {
|
|
6009
5995
|
"aliases": [],
|
|
6010
5996
|
"args": {
|
|
6011
|
-
"
|
|
6012
|
-
"description": "
|
|
6013
|
-
"name": "
|
|
5997
|
+
"tenant_name": {
|
|
5998
|
+
"description": "Tenant name to restore",
|
|
5999
|
+
"name": "tenant_name",
|
|
6014
6000
|
"required": true
|
|
6015
6001
|
}
|
|
6016
6002
|
},
|
|
6017
|
-
"description": "
|
|
6003
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
6018
6004
|
"examples": [
|
|
6019
|
-
"$ xano tenant
|
|
6020
|
-
"$ xano tenant
|
|
6005
|
+
"$ 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",
|
|
6006
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
6021
6007
|
],
|
|
6022
6008
|
"flags": {
|
|
6023
6009
|
"profile": {
|
|
@@ -6039,6 +6025,22 @@
|
|
|
6039
6025
|
"allowNo": false,
|
|
6040
6026
|
"type": "boolean"
|
|
6041
6027
|
},
|
|
6028
|
+
"backup_id": {
|
|
6029
|
+
"description": "Backup ID to restore from",
|
|
6030
|
+
"name": "backup_id",
|
|
6031
|
+
"required": true,
|
|
6032
|
+
"hasDynamicHelp": false,
|
|
6033
|
+
"multiple": false,
|
|
6034
|
+
"type": "option"
|
|
6035
|
+
},
|
|
6036
|
+
"force": {
|
|
6037
|
+
"char": "f",
|
|
6038
|
+
"description": "Skip confirmation prompt",
|
|
6039
|
+
"name": "force",
|
|
6040
|
+
"required": false,
|
|
6041
|
+
"allowNo": false,
|
|
6042
|
+
"type": "boolean"
|
|
6043
|
+
},
|
|
6042
6044
|
"output": {
|
|
6043
6045
|
"char": "o",
|
|
6044
6046
|
"description": "Output format",
|
|
@@ -6052,11 +6054,20 @@
|
|
|
6052
6054
|
"json"
|
|
6053
6055
|
],
|
|
6054
6056
|
"type": "option"
|
|
6057
|
+
},
|
|
6058
|
+
"workspace": {
|
|
6059
|
+
"char": "w",
|
|
6060
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6061
|
+
"name": "workspace",
|
|
6062
|
+
"required": false,
|
|
6063
|
+
"hasDynamicHelp": false,
|
|
6064
|
+
"multiple": false,
|
|
6065
|
+
"type": "option"
|
|
6055
6066
|
}
|
|
6056
6067
|
},
|
|
6057
6068
|
"hasDynamicHelp": false,
|
|
6058
6069
|
"hiddenAliases": [],
|
|
6059
|
-
"id": "tenant:
|
|
6070
|
+
"id": "tenant:backup:restore",
|
|
6060
6071
|
"pluginAlias": "@xano/cli",
|
|
6061
6072
|
"pluginName": "@xano/cli",
|
|
6062
6073
|
"pluginType": "core",
|
|
@@ -6067,8 +6078,8 @@
|
|
|
6067
6078
|
"dist",
|
|
6068
6079
|
"commands",
|
|
6069
6080
|
"tenant",
|
|
6070
|
-
"
|
|
6071
|
-
"
|
|
6081
|
+
"backup",
|
|
6082
|
+
"restore",
|
|
6072
6083
|
"index.js"
|
|
6073
6084
|
]
|
|
6074
6085
|
},
|
|
@@ -6406,7 +6417,7 @@
|
|
|
6406
6417
|
"index.js"
|
|
6407
6418
|
]
|
|
6408
6419
|
},
|
|
6409
|
-
"tenant:env:
|
|
6420
|
+
"tenant:env:list": {
|
|
6410
6421
|
"aliases": [],
|
|
6411
6422
|
"args": {
|
|
6412
6423
|
"tenant_name": {
|
|
@@ -6415,10 +6426,10 @@
|
|
|
6415
6426
|
"required": true
|
|
6416
6427
|
}
|
|
6417
6428
|
},
|
|
6418
|
-
"description": "
|
|
6429
|
+
"description": "List environment variable keys for a tenant",
|
|
6419
6430
|
"examples": [
|
|
6420
|
-
"$ xano tenant env
|
|
6421
|
-
"$ xano tenant env
|
|
6431
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6432
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6422
6433
|
],
|
|
6423
6434
|
"flags": {
|
|
6424
6435
|
"profile": {
|
|
@@ -6440,15 +6451,6 @@
|
|
|
6440
6451
|
"allowNo": false,
|
|
6441
6452
|
"type": "boolean"
|
|
6442
6453
|
},
|
|
6443
|
-
"name": {
|
|
6444
|
-
"char": "n",
|
|
6445
|
-
"description": "Environment variable name",
|
|
6446
|
-
"name": "name",
|
|
6447
|
-
"required": true,
|
|
6448
|
-
"hasDynamicHelp": false,
|
|
6449
|
-
"multiple": false,
|
|
6450
|
-
"type": "option"
|
|
6451
|
-
},
|
|
6452
6454
|
"output": {
|
|
6453
6455
|
"char": "o",
|
|
6454
6456
|
"description": "Output format",
|
|
@@ -6463,14 +6465,6 @@
|
|
|
6463
6465
|
],
|
|
6464
6466
|
"type": "option"
|
|
6465
6467
|
},
|
|
6466
|
-
"value": {
|
|
6467
|
-
"description": "Environment variable value",
|
|
6468
|
-
"name": "value",
|
|
6469
|
-
"required": true,
|
|
6470
|
-
"hasDynamicHelp": false,
|
|
6471
|
-
"multiple": false,
|
|
6472
|
-
"type": "option"
|
|
6473
|
-
},
|
|
6474
6468
|
"workspace": {
|
|
6475
6469
|
"char": "w",
|
|
6476
6470
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6483,7 +6477,7 @@
|
|
|
6483
6477
|
},
|
|
6484
6478
|
"hasDynamicHelp": false,
|
|
6485
6479
|
"hiddenAliases": [],
|
|
6486
|
-
"id": "tenant:env:
|
|
6480
|
+
"id": "tenant:env:list",
|
|
6487
6481
|
"pluginAlias": "@xano/cli",
|
|
6488
6482
|
"pluginName": "@xano/cli",
|
|
6489
6483
|
"pluginType": "core",
|
|
@@ -6495,11 +6489,11 @@
|
|
|
6495
6489
|
"commands",
|
|
6496
6490
|
"tenant",
|
|
6497
6491
|
"env",
|
|
6498
|
-
"
|
|
6492
|
+
"list",
|
|
6499
6493
|
"index.js"
|
|
6500
6494
|
]
|
|
6501
6495
|
},
|
|
6502
|
-
"tenant:env:
|
|
6496
|
+
"tenant:env:set": {
|
|
6503
6497
|
"aliases": [],
|
|
6504
6498
|
"args": {
|
|
6505
6499
|
"tenant_name": {
|
|
@@ -6508,10 +6502,10 @@
|
|
|
6508
6502
|
"required": true
|
|
6509
6503
|
}
|
|
6510
6504
|
},
|
|
6511
|
-
"description": "
|
|
6505
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6512
6506
|
"examples": [
|
|
6513
|
-
"$ xano tenant env
|
|
6514
|
-
"$ xano tenant env
|
|
6507
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6508
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6515
6509
|
],
|
|
6516
6510
|
"flags": {
|
|
6517
6511
|
"profile": {
|
|
@@ -6533,6 +6527,15 @@
|
|
|
6533
6527
|
"allowNo": false,
|
|
6534
6528
|
"type": "boolean"
|
|
6535
6529
|
},
|
|
6530
|
+
"name": {
|
|
6531
|
+
"char": "n",
|
|
6532
|
+
"description": "Environment variable name",
|
|
6533
|
+
"name": "name",
|
|
6534
|
+
"required": true,
|
|
6535
|
+
"hasDynamicHelp": false,
|
|
6536
|
+
"multiple": false,
|
|
6537
|
+
"type": "option"
|
|
6538
|
+
},
|
|
6536
6539
|
"output": {
|
|
6537
6540
|
"char": "o",
|
|
6538
6541
|
"description": "Output format",
|
|
@@ -6547,6 +6550,14 @@
|
|
|
6547
6550
|
],
|
|
6548
6551
|
"type": "option"
|
|
6549
6552
|
},
|
|
6553
|
+
"value": {
|
|
6554
|
+
"description": "Environment variable value",
|
|
6555
|
+
"name": "value",
|
|
6556
|
+
"required": true,
|
|
6557
|
+
"hasDynamicHelp": false,
|
|
6558
|
+
"multiple": false,
|
|
6559
|
+
"type": "option"
|
|
6560
|
+
},
|
|
6550
6561
|
"workspace": {
|
|
6551
6562
|
"char": "w",
|
|
6552
6563
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6559,7 +6570,7 @@
|
|
|
6559
6570
|
},
|
|
6560
6571
|
"hasDynamicHelp": false,
|
|
6561
6572
|
"hiddenAliases": [],
|
|
6562
|
-
"id": "tenant:env:
|
|
6573
|
+
"id": "tenant:env:set",
|
|
6563
6574
|
"pluginAlias": "@xano/cli",
|
|
6564
6575
|
"pluginName": "@xano/cli",
|
|
6565
6576
|
"pluginType": "core",
|
|
@@ -6571,7 +6582,7 @@
|
|
|
6571
6582
|
"commands",
|
|
6572
6583
|
"tenant",
|
|
6573
6584
|
"env",
|
|
6574
|
-
"
|
|
6585
|
+
"set",
|
|
6575
6586
|
"index.js"
|
|
6576
6587
|
]
|
|
6577
6588
|
},
|
|
@@ -7159,5 +7170,5 @@
|
|
|
7159
7170
|
]
|
|
7160
7171
|
}
|
|
7161
7172
|
},
|
|
7162
|
-
"version": "0.0.
|
|
7173
|
+
"version": "0.0.89"
|
|
7163
7174
|
}
|