@xano/cli 0.0.58 → 0.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +967 -967
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -277,20 +277,20 @@
|
|
|
277
277
|
"index.js"
|
|
278
278
|
]
|
|
279
279
|
},
|
|
280
|
-
"branch:
|
|
280
|
+
"branch:edit": {
|
|
281
281
|
"aliases": [],
|
|
282
282
|
"args": {
|
|
283
283
|
"branch_label": {
|
|
284
|
-
"description": "Branch label (
|
|
284
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
285
285
|
"name": "branch_label",
|
|
286
286
|
"required": true
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
|
-
"description": "
|
|
289
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
290
290
|
"examples": [
|
|
291
|
-
"$ xano branch
|
|
292
|
-
"$ xano branch
|
|
293
|
-
"$ xano branch
|
|
291
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
292
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
293
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
294
294
|
],
|
|
295
295
|
"flags": {
|
|
296
296
|
"profile": {
|
|
@@ -312,6 +312,33 @@
|
|
|
312
312
|
"allowNo": false,
|
|
313
313
|
"type": "boolean"
|
|
314
314
|
},
|
|
315
|
+
"color": {
|
|
316
|
+
"char": "c",
|
|
317
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
318
|
+
"name": "color",
|
|
319
|
+
"required": false,
|
|
320
|
+
"hasDynamicHelp": false,
|
|
321
|
+
"multiple": false,
|
|
322
|
+
"type": "option"
|
|
323
|
+
},
|
|
324
|
+
"description": {
|
|
325
|
+
"char": "d",
|
|
326
|
+
"description": "New description for the branch",
|
|
327
|
+
"name": "description",
|
|
328
|
+
"required": false,
|
|
329
|
+
"hasDynamicHelp": false,
|
|
330
|
+
"multiple": false,
|
|
331
|
+
"type": "option"
|
|
332
|
+
},
|
|
333
|
+
"label": {
|
|
334
|
+
"char": "l",
|
|
335
|
+
"description": "New label for the branch",
|
|
336
|
+
"name": "label",
|
|
337
|
+
"required": false,
|
|
338
|
+
"hasDynamicHelp": false,
|
|
339
|
+
"multiple": false,
|
|
340
|
+
"type": "option"
|
|
341
|
+
},
|
|
315
342
|
"output": {
|
|
316
343
|
"char": "o",
|
|
317
344
|
"description": "Output format",
|
|
@@ -338,7 +365,7 @@
|
|
|
338
365
|
},
|
|
339
366
|
"hasDynamicHelp": false,
|
|
340
367
|
"hiddenAliases": [],
|
|
341
|
-
"id": "branch:
|
|
368
|
+
"id": "branch:edit",
|
|
342
369
|
"pluginAlias": "@xano/cli",
|
|
343
370
|
"pluginName": "@xano/cli",
|
|
344
371
|
"pluginType": "core",
|
|
@@ -349,24 +376,24 @@
|
|
|
349
376
|
"dist",
|
|
350
377
|
"commands",
|
|
351
378
|
"branch",
|
|
352
|
-
"
|
|
379
|
+
"edit",
|
|
353
380
|
"index.js"
|
|
354
381
|
]
|
|
355
382
|
},
|
|
356
|
-
"branch:
|
|
383
|
+
"branch:get": {
|
|
357
384
|
"aliases": [],
|
|
358
385
|
"args": {
|
|
359
386
|
"branch_label": {
|
|
360
|
-
"description": "Branch label
|
|
387
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
361
388
|
"name": "branch_label",
|
|
362
389
|
"required": true
|
|
363
390
|
}
|
|
364
391
|
},
|
|
365
|
-
"description": "
|
|
392
|
+
"description": "Get details for a specific branch",
|
|
366
393
|
"examples": [
|
|
367
|
-
"$ xano branch
|
|
368
|
-
"$ xano branch
|
|
369
|
-
"$ xano branch
|
|
394
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
395
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
396
|
+
"$ 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"
|
|
370
397
|
],
|
|
371
398
|
"flags": {
|
|
372
399
|
"profile": {
|
|
@@ -388,33 +415,6 @@
|
|
|
388
415
|
"allowNo": false,
|
|
389
416
|
"type": "boolean"
|
|
390
417
|
},
|
|
391
|
-
"color": {
|
|
392
|
-
"char": "c",
|
|
393
|
-
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
394
|
-
"name": "color",
|
|
395
|
-
"required": false,
|
|
396
|
-
"hasDynamicHelp": false,
|
|
397
|
-
"multiple": false,
|
|
398
|
-
"type": "option"
|
|
399
|
-
},
|
|
400
|
-
"description": {
|
|
401
|
-
"char": "d",
|
|
402
|
-
"description": "New description for the branch",
|
|
403
|
-
"name": "description",
|
|
404
|
-
"required": false,
|
|
405
|
-
"hasDynamicHelp": false,
|
|
406
|
-
"multiple": false,
|
|
407
|
-
"type": "option"
|
|
408
|
-
},
|
|
409
|
-
"label": {
|
|
410
|
-
"char": "l",
|
|
411
|
-
"description": "New label for the branch",
|
|
412
|
-
"name": "label",
|
|
413
|
-
"required": false,
|
|
414
|
-
"hasDynamicHelp": false,
|
|
415
|
-
"multiple": false,
|
|
416
|
-
"type": "option"
|
|
417
|
-
},
|
|
418
418
|
"output": {
|
|
419
419
|
"char": "o",
|
|
420
420
|
"description": "Output format",
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
},
|
|
442
442
|
"hasDynamicHelp": false,
|
|
443
443
|
"hiddenAliases": [],
|
|
444
|
-
"id": "branch:
|
|
444
|
+
"id": "branch:get",
|
|
445
445
|
"pluginAlias": "@xano/cli",
|
|
446
446
|
"pluginName": "@xano/cli",
|
|
447
447
|
"pluginType": "core",
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
"dist",
|
|
453
453
|
"commands",
|
|
454
454
|
"branch",
|
|
455
|
-
"
|
|
455
|
+
"get",
|
|
456
456
|
"index.js"
|
|
457
457
|
]
|
|
458
458
|
},
|
|
@@ -607,132 +607,6 @@
|
|
|
607
607
|
"index.js"
|
|
608
608
|
]
|
|
609
609
|
},
|
|
610
|
-
"platform:get": {
|
|
611
|
-
"aliases": [],
|
|
612
|
-
"args": {
|
|
613
|
-
"platform_id": {
|
|
614
|
-
"description": "Platform ID to retrieve",
|
|
615
|
-
"name": "platform_id",
|
|
616
|
-
"required": true
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
"description": "Get details of a specific platform",
|
|
620
|
-
"examples": [
|
|
621
|
-
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
622
|
-
"$ xano platform get 23629 -o json"
|
|
623
|
-
],
|
|
624
|
-
"flags": {
|
|
625
|
-
"profile": {
|
|
626
|
-
"char": "p",
|
|
627
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
628
|
-
"env": "XANO_PROFILE",
|
|
629
|
-
"name": "profile",
|
|
630
|
-
"required": false,
|
|
631
|
-
"hasDynamicHelp": false,
|
|
632
|
-
"multiple": false,
|
|
633
|
-
"type": "option"
|
|
634
|
-
},
|
|
635
|
-
"verbose": {
|
|
636
|
-
"char": "v",
|
|
637
|
-
"description": "Show detailed request/response information",
|
|
638
|
-
"env": "XANO_VERBOSE",
|
|
639
|
-
"name": "verbose",
|
|
640
|
-
"required": false,
|
|
641
|
-
"allowNo": false,
|
|
642
|
-
"type": "boolean"
|
|
643
|
-
},
|
|
644
|
-
"output": {
|
|
645
|
-
"char": "o",
|
|
646
|
-
"description": "Output format",
|
|
647
|
-
"name": "output",
|
|
648
|
-
"required": false,
|
|
649
|
-
"default": "summary",
|
|
650
|
-
"hasDynamicHelp": false,
|
|
651
|
-
"multiple": false,
|
|
652
|
-
"options": [
|
|
653
|
-
"summary",
|
|
654
|
-
"json"
|
|
655
|
-
],
|
|
656
|
-
"type": "option"
|
|
657
|
-
}
|
|
658
|
-
},
|
|
659
|
-
"hasDynamicHelp": false,
|
|
660
|
-
"hiddenAliases": [],
|
|
661
|
-
"id": "platform:get",
|
|
662
|
-
"pluginAlias": "@xano/cli",
|
|
663
|
-
"pluginName": "@xano/cli",
|
|
664
|
-
"pluginType": "core",
|
|
665
|
-
"strict": true,
|
|
666
|
-
"enableJsonFlag": false,
|
|
667
|
-
"isESM": true,
|
|
668
|
-
"relativePath": [
|
|
669
|
-
"dist",
|
|
670
|
-
"commands",
|
|
671
|
-
"platform",
|
|
672
|
-
"get",
|
|
673
|
-
"index.js"
|
|
674
|
-
]
|
|
675
|
-
},
|
|
676
|
-
"platform:list": {
|
|
677
|
-
"aliases": [],
|
|
678
|
-
"args": {},
|
|
679
|
-
"description": "List all platforms",
|
|
680
|
-
"examples": [
|
|
681
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
682
|
-
"$ xano platform list --output json"
|
|
683
|
-
],
|
|
684
|
-
"flags": {
|
|
685
|
-
"profile": {
|
|
686
|
-
"char": "p",
|
|
687
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
688
|
-
"env": "XANO_PROFILE",
|
|
689
|
-
"name": "profile",
|
|
690
|
-
"required": false,
|
|
691
|
-
"hasDynamicHelp": false,
|
|
692
|
-
"multiple": false,
|
|
693
|
-
"type": "option"
|
|
694
|
-
},
|
|
695
|
-
"verbose": {
|
|
696
|
-
"char": "v",
|
|
697
|
-
"description": "Show detailed request/response information",
|
|
698
|
-
"env": "XANO_VERBOSE",
|
|
699
|
-
"name": "verbose",
|
|
700
|
-
"required": false,
|
|
701
|
-
"allowNo": false,
|
|
702
|
-
"type": "boolean"
|
|
703
|
-
},
|
|
704
|
-
"output": {
|
|
705
|
-
"char": "o",
|
|
706
|
-
"description": "Output format",
|
|
707
|
-
"name": "output",
|
|
708
|
-
"required": false,
|
|
709
|
-
"default": "summary",
|
|
710
|
-
"hasDynamicHelp": false,
|
|
711
|
-
"multiple": false,
|
|
712
|
-
"options": [
|
|
713
|
-
"summary",
|
|
714
|
-
"json"
|
|
715
|
-
],
|
|
716
|
-
"type": "option"
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
"hasDynamicHelp": false,
|
|
720
|
-
"hiddenAliases": [],
|
|
721
|
-
"id": "platform:list",
|
|
722
|
-
"pluginAlias": "@xano/cli",
|
|
723
|
-
"pluginName": "@xano/cli",
|
|
724
|
-
"pluginType": "core",
|
|
725
|
-
"strict": true,
|
|
726
|
-
"enableJsonFlag": false,
|
|
727
|
-
"isESM": true,
|
|
728
|
-
"relativePath": [
|
|
729
|
-
"dist",
|
|
730
|
-
"commands",
|
|
731
|
-
"platform",
|
|
732
|
-
"list",
|
|
733
|
-
"index.js"
|
|
734
|
-
]
|
|
735
|
-
},
|
|
736
610
|
"function:create": {
|
|
737
611
|
"aliases": [],
|
|
738
612
|
"args": {},
|
|
@@ -1177,47 +1051,173 @@
|
|
|
1177
1051
|
"index.js"
|
|
1178
1052
|
]
|
|
1179
1053
|
},
|
|
1180
|
-
"
|
|
1054
|
+
"platform:get": {
|
|
1181
1055
|
"aliases": [],
|
|
1182
1056
|
"args": {
|
|
1183
|
-
"
|
|
1184
|
-
"description": "
|
|
1185
|
-
"name": "
|
|
1057
|
+
"platform_id": {
|
|
1058
|
+
"description": "Platform ID to retrieve",
|
|
1059
|
+
"name": "platform_id",
|
|
1186
1060
|
"required": true
|
|
1187
1061
|
}
|
|
1188
1062
|
},
|
|
1189
|
-
"description": "
|
|
1063
|
+
"description": "Get details of a specific platform",
|
|
1190
1064
|
"examples": [
|
|
1191
|
-
"$ xano
|
|
1192
|
-
"$ xano
|
|
1193
|
-
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1194
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1065
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
1066
|
+
"$ xano platform get 23629 -o json"
|
|
1195
1067
|
],
|
|
1196
1068
|
"flags": {
|
|
1197
|
-
"
|
|
1198
|
-
"char": "
|
|
1199
|
-
"description": "
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1202
|
-
"hasDynamicHelp": false,
|
|
1203
|
-
"multiple": false,
|
|
1204
|
-
"type": "option"
|
|
1205
|
-
},
|
|
1206
|
-
"account_origin": {
|
|
1207
|
-
"char": "a",
|
|
1208
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1209
|
-
"name": "account_origin",
|
|
1069
|
+
"profile": {
|
|
1070
|
+
"char": "p",
|
|
1071
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1072
|
+
"env": "XANO_PROFILE",
|
|
1073
|
+
"name": "profile",
|
|
1210
1074
|
"required": false,
|
|
1211
1075
|
"hasDynamicHelp": false,
|
|
1212
1076
|
"multiple": false,
|
|
1213
1077
|
"type": "option"
|
|
1214
1078
|
},
|
|
1215
|
-
"
|
|
1216
|
-
"char": "
|
|
1217
|
-
"description": "
|
|
1218
|
-
"
|
|
1079
|
+
"verbose": {
|
|
1080
|
+
"char": "v",
|
|
1081
|
+
"description": "Show detailed request/response information",
|
|
1082
|
+
"env": "XANO_VERBOSE",
|
|
1083
|
+
"name": "verbose",
|
|
1219
1084
|
"required": false,
|
|
1220
|
-
"
|
|
1085
|
+
"allowNo": false,
|
|
1086
|
+
"type": "boolean"
|
|
1087
|
+
},
|
|
1088
|
+
"output": {
|
|
1089
|
+
"char": "o",
|
|
1090
|
+
"description": "Output format",
|
|
1091
|
+
"name": "output",
|
|
1092
|
+
"required": false,
|
|
1093
|
+
"default": "summary",
|
|
1094
|
+
"hasDynamicHelp": false,
|
|
1095
|
+
"multiple": false,
|
|
1096
|
+
"options": [
|
|
1097
|
+
"summary",
|
|
1098
|
+
"json"
|
|
1099
|
+
],
|
|
1100
|
+
"type": "option"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
"hasDynamicHelp": false,
|
|
1104
|
+
"hiddenAliases": [],
|
|
1105
|
+
"id": "platform:get",
|
|
1106
|
+
"pluginAlias": "@xano/cli",
|
|
1107
|
+
"pluginName": "@xano/cli",
|
|
1108
|
+
"pluginType": "core",
|
|
1109
|
+
"strict": true,
|
|
1110
|
+
"enableJsonFlag": false,
|
|
1111
|
+
"isESM": true,
|
|
1112
|
+
"relativePath": [
|
|
1113
|
+
"dist",
|
|
1114
|
+
"commands",
|
|
1115
|
+
"platform",
|
|
1116
|
+
"get",
|
|
1117
|
+
"index.js"
|
|
1118
|
+
]
|
|
1119
|
+
},
|
|
1120
|
+
"platform:list": {
|
|
1121
|
+
"aliases": [],
|
|
1122
|
+
"args": {},
|
|
1123
|
+
"description": "List all platforms",
|
|
1124
|
+
"examples": [
|
|
1125
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1126
|
+
"$ xano platform list --output json"
|
|
1127
|
+
],
|
|
1128
|
+
"flags": {
|
|
1129
|
+
"profile": {
|
|
1130
|
+
"char": "p",
|
|
1131
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1132
|
+
"env": "XANO_PROFILE",
|
|
1133
|
+
"name": "profile",
|
|
1134
|
+
"required": false,
|
|
1135
|
+
"hasDynamicHelp": false,
|
|
1136
|
+
"multiple": false,
|
|
1137
|
+
"type": "option"
|
|
1138
|
+
},
|
|
1139
|
+
"verbose": {
|
|
1140
|
+
"char": "v",
|
|
1141
|
+
"description": "Show detailed request/response information",
|
|
1142
|
+
"env": "XANO_VERBOSE",
|
|
1143
|
+
"name": "verbose",
|
|
1144
|
+
"required": false,
|
|
1145
|
+
"allowNo": false,
|
|
1146
|
+
"type": "boolean"
|
|
1147
|
+
},
|
|
1148
|
+
"output": {
|
|
1149
|
+
"char": "o",
|
|
1150
|
+
"description": "Output format",
|
|
1151
|
+
"name": "output",
|
|
1152
|
+
"required": false,
|
|
1153
|
+
"default": "summary",
|
|
1154
|
+
"hasDynamicHelp": false,
|
|
1155
|
+
"multiple": false,
|
|
1156
|
+
"options": [
|
|
1157
|
+
"summary",
|
|
1158
|
+
"json"
|
|
1159
|
+
],
|
|
1160
|
+
"type": "option"
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
"hasDynamicHelp": false,
|
|
1164
|
+
"hiddenAliases": [],
|
|
1165
|
+
"id": "platform:list",
|
|
1166
|
+
"pluginAlias": "@xano/cli",
|
|
1167
|
+
"pluginName": "@xano/cli",
|
|
1168
|
+
"pluginType": "core",
|
|
1169
|
+
"strict": true,
|
|
1170
|
+
"enableJsonFlag": false,
|
|
1171
|
+
"isESM": true,
|
|
1172
|
+
"relativePath": [
|
|
1173
|
+
"dist",
|
|
1174
|
+
"commands",
|
|
1175
|
+
"platform",
|
|
1176
|
+
"list",
|
|
1177
|
+
"index.js"
|
|
1178
|
+
]
|
|
1179
|
+
},
|
|
1180
|
+
"profile:create": {
|
|
1181
|
+
"aliases": [],
|
|
1182
|
+
"args": {
|
|
1183
|
+
"name": {
|
|
1184
|
+
"description": "Profile name",
|
|
1185
|
+
"name": "name",
|
|
1186
|
+
"required": true
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"description": "Create a new profile configuration",
|
|
1190
|
+
"examples": [
|
|
1191
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1192
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1193
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1194
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1195
|
+
],
|
|
1196
|
+
"flags": {
|
|
1197
|
+
"access_token": {
|
|
1198
|
+
"char": "t",
|
|
1199
|
+
"description": "Access token for the Xano Metadata API",
|
|
1200
|
+
"name": "access_token",
|
|
1201
|
+
"required": true,
|
|
1202
|
+
"hasDynamicHelp": false,
|
|
1203
|
+
"multiple": false,
|
|
1204
|
+
"type": "option"
|
|
1205
|
+
},
|
|
1206
|
+
"account_origin": {
|
|
1207
|
+
"char": "a",
|
|
1208
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1209
|
+
"name": "account_origin",
|
|
1210
|
+
"required": false,
|
|
1211
|
+
"hasDynamicHelp": false,
|
|
1212
|
+
"multiple": false,
|
|
1213
|
+
"type": "option"
|
|
1214
|
+
},
|
|
1215
|
+
"branch": {
|
|
1216
|
+
"char": "b",
|
|
1217
|
+
"description": "Branch name",
|
|
1218
|
+
"name": "branch",
|
|
1219
|
+
"required": false,
|
|
1220
|
+
"hasDynamicHelp": false,
|
|
1221
1221
|
"multiple": false,
|
|
1222
1222
|
"type": "option"
|
|
1223
1223
|
},
|
|
@@ -1599,51 +1599,6 @@
|
|
|
1599
1599
|
"index.js"
|
|
1600
1600
|
]
|
|
1601
1601
|
},
|
|
1602
|
-
"profile:wizard": {
|
|
1603
|
-
"aliases": [],
|
|
1604
|
-
"args": {},
|
|
1605
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1606
|
-
"examples": [
|
|
1607
|
-
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1608
|
-
],
|
|
1609
|
-
"flags": {
|
|
1610
|
-
"name": {
|
|
1611
|
-
"char": "n",
|
|
1612
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1613
|
-
"name": "name",
|
|
1614
|
-
"required": false,
|
|
1615
|
-
"hasDynamicHelp": false,
|
|
1616
|
-
"multiple": false,
|
|
1617
|
-
"type": "option"
|
|
1618
|
-
},
|
|
1619
|
-
"origin": {
|
|
1620
|
-
"char": "o",
|
|
1621
|
-
"description": "Xano instance origin URL",
|
|
1622
|
-
"name": "origin",
|
|
1623
|
-
"required": false,
|
|
1624
|
-
"default": "https://app.xano.com",
|
|
1625
|
-
"hasDynamicHelp": false,
|
|
1626
|
-
"multiple": false,
|
|
1627
|
-
"type": "option"
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1630
|
-
"hasDynamicHelp": false,
|
|
1631
|
-
"hiddenAliases": [],
|
|
1632
|
-
"id": "profile:wizard",
|
|
1633
|
-
"pluginAlias": "@xano/cli",
|
|
1634
|
-
"pluginName": "@xano/cli",
|
|
1635
|
-
"pluginType": "core",
|
|
1636
|
-
"strict": true,
|
|
1637
|
-
"enableJsonFlag": false,
|
|
1638
|
-
"isESM": true,
|
|
1639
|
-
"relativePath": [
|
|
1640
|
-
"dist",
|
|
1641
|
-
"commands",
|
|
1642
|
-
"profile",
|
|
1643
|
-
"wizard",
|
|
1644
|
-
"index.js"
|
|
1645
|
-
]
|
|
1646
|
-
},
|
|
1647
1602
|
"profile:workspace": {
|
|
1648
1603
|
"aliases": [],
|
|
1649
1604
|
"args": {},
|
|
@@ -2117,6 +2072,51 @@
|
|
|
2117
2072
|
"index.js"
|
|
2118
2073
|
]
|
|
2119
2074
|
},
|
|
2075
|
+
"profile:wizard": {
|
|
2076
|
+
"aliases": [],
|
|
2077
|
+
"args": {},
|
|
2078
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
2079
|
+
"examples": [
|
|
2080
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
2081
|
+
],
|
|
2082
|
+
"flags": {
|
|
2083
|
+
"name": {
|
|
2084
|
+
"char": "n",
|
|
2085
|
+
"description": "Profile name (skip prompt if provided)",
|
|
2086
|
+
"name": "name",
|
|
2087
|
+
"required": false,
|
|
2088
|
+
"hasDynamicHelp": false,
|
|
2089
|
+
"multiple": false,
|
|
2090
|
+
"type": "option"
|
|
2091
|
+
},
|
|
2092
|
+
"origin": {
|
|
2093
|
+
"char": "o",
|
|
2094
|
+
"description": "Xano instance origin URL",
|
|
2095
|
+
"name": "origin",
|
|
2096
|
+
"required": false,
|
|
2097
|
+
"default": "https://app.xano.com",
|
|
2098
|
+
"hasDynamicHelp": false,
|
|
2099
|
+
"multiple": false,
|
|
2100
|
+
"type": "option"
|
|
2101
|
+
}
|
|
2102
|
+
},
|
|
2103
|
+
"hasDynamicHelp": false,
|
|
2104
|
+
"hiddenAliases": [],
|
|
2105
|
+
"id": "profile:wizard",
|
|
2106
|
+
"pluginAlias": "@xano/cli",
|
|
2107
|
+
"pluginName": "@xano/cli",
|
|
2108
|
+
"pluginType": "core",
|
|
2109
|
+
"strict": true,
|
|
2110
|
+
"enableJsonFlag": false,
|
|
2111
|
+
"isESM": true,
|
|
2112
|
+
"relativePath": [
|
|
2113
|
+
"dist",
|
|
2114
|
+
"commands",
|
|
2115
|
+
"profile",
|
|
2116
|
+
"wizard",
|
|
2117
|
+
"index.js"
|
|
2118
|
+
]
|
|
2119
|
+
},
|
|
2120
2120
|
"release:import": {
|
|
2121
2121
|
"aliases": [],
|
|
2122
2122
|
"args": {},
|
|
@@ -2947,19 +2947,19 @@
|
|
|
2947
2947
|
"index.js"
|
|
2948
2948
|
]
|
|
2949
2949
|
},
|
|
2950
|
-
"tenant:
|
|
2950
|
+
"tenant:get": {
|
|
2951
2951
|
"aliases": [],
|
|
2952
2952
|
"args": {
|
|
2953
2953
|
"tenant_name": {
|
|
2954
|
-
"description": "Tenant name to
|
|
2954
|
+
"description": "Tenant name to retrieve",
|
|
2955
2955
|
"name": "tenant_name",
|
|
2956
2956
|
"required": true
|
|
2957
2957
|
}
|
|
2958
2958
|
},
|
|
2959
|
-
"description": "
|
|
2959
|
+
"description": "Get details of a specific tenant",
|
|
2960
2960
|
"examples": [
|
|
2961
|
-
"$ xano tenant
|
|
2962
|
-
"$ xano tenant
|
|
2961
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
2962
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
2963
2963
|
],
|
|
2964
2964
|
"flags": {
|
|
2965
2965
|
"profile": {
|
|
@@ -2981,78 +2981,24 @@
|
|
|
2981
2981
|
"allowNo": false,
|
|
2982
2982
|
"type": "boolean"
|
|
2983
2983
|
},
|
|
2984
|
-
"
|
|
2985
|
-
"char": "
|
|
2986
|
-
"description": "
|
|
2987
|
-
"name": "
|
|
2984
|
+
"output": {
|
|
2985
|
+
"char": "o",
|
|
2986
|
+
"description": "Output format",
|
|
2987
|
+
"name": "output",
|
|
2988
2988
|
"required": false,
|
|
2989
|
+
"default": "summary",
|
|
2989
2990
|
"hasDynamicHelp": false,
|
|
2990
2991
|
"multiple": false,
|
|
2992
|
+
"options": [
|
|
2993
|
+
"summary",
|
|
2994
|
+
"json"
|
|
2995
|
+
],
|
|
2991
2996
|
"type": "option"
|
|
2992
2997
|
},
|
|
2993
|
-
"
|
|
2994
|
-
"
|
|
2995
|
-
"
|
|
2996
|
-
"
|
|
2997
|
-
"hasDynamicHelp": false,
|
|
2998
|
-
"multiple": false,
|
|
2999
|
-
"type": "option"
|
|
3000
|
-
},
|
|
3001
|
-
"domain": {
|
|
3002
|
-
"description": "Custom domain",
|
|
3003
|
-
"name": "domain",
|
|
3004
|
-
"required": false,
|
|
3005
|
-
"hasDynamicHelp": false,
|
|
3006
|
-
"multiple": false,
|
|
3007
|
-
"type": "option"
|
|
3008
|
-
},
|
|
3009
|
-
"ingress": {
|
|
3010
|
-
"description": "Enable/disable ingress",
|
|
3011
|
-
"name": "ingress",
|
|
3012
|
-
"required": false,
|
|
3013
|
-
"allowNo": true,
|
|
3014
|
-
"type": "boolean"
|
|
3015
|
-
},
|
|
3016
|
-
"output": {
|
|
3017
|
-
"char": "o",
|
|
3018
|
-
"description": "Output format",
|
|
3019
|
-
"name": "output",
|
|
3020
|
-
"required": false,
|
|
3021
|
-
"default": "summary",
|
|
3022
|
-
"hasDynamicHelp": false,
|
|
3023
|
-
"multiple": false,
|
|
3024
|
-
"options": [
|
|
3025
|
-
"summary",
|
|
3026
|
-
"json"
|
|
3027
|
-
],
|
|
3028
|
-
"type": "option"
|
|
3029
|
-
},
|
|
3030
|
-
"proxy": {
|
|
3031
|
-
"description": "Proxy URL",
|
|
3032
|
-
"name": "proxy",
|
|
3033
|
-
"required": false,
|
|
3034
|
-
"hasDynamicHelp": false,
|
|
3035
|
-
"multiple": false,
|
|
3036
|
-
"type": "option"
|
|
3037
|
-
},
|
|
3038
|
-
"rbac": {
|
|
3039
|
-
"description": "Enable/disable RBAC",
|
|
3040
|
-
"name": "rbac",
|
|
3041
|
-
"required": false,
|
|
3042
|
-
"allowNo": true,
|
|
3043
|
-
"type": "boolean"
|
|
3044
|
-
},
|
|
3045
|
-
"tasks": {
|
|
3046
|
-
"description": "Enable/disable background tasks",
|
|
3047
|
-
"name": "tasks",
|
|
3048
|
-
"required": false,
|
|
3049
|
-
"allowNo": true,
|
|
3050
|
-
"type": "boolean"
|
|
3051
|
-
},
|
|
3052
|
-
"workspace": {
|
|
3053
|
-
"char": "w",
|
|
3054
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3055
|
-
"name": "workspace",
|
|
2998
|
+
"workspace": {
|
|
2999
|
+
"char": "w",
|
|
3000
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3001
|
+
"name": "workspace",
|
|
3056
3002
|
"required": false,
|
|
3057
3003
|
"hasDynamicHelp": false,
|
|
3058
3004
|
"multiple": false,
|
|
@@ -3061,7 +3007,7 @@
|
|
|
3061
3007
|
},
|
|
3062
3008
|
"hasDynamicHelp": false,
|
|
3063
3009
|
"hiddenAliases": [],
|
|
3064
|
-
"id": "tenant:
|
|
3010
|
+
"id": "tenant:get",
|
|
3065
3011
|
"pluginAlias": "@xano/cli",
|
|
3066
3012
|
"pluginName": "@xano/cli",
|
|
3067
3013
|
"pluginType": "core",
|
|
@@ -3072,23 +3018,23 @@
|
|
|
3072
3018
|
"dist",
|
|
3073
3019
|
"commands",
|
|
3074
3020
|
"tenant",
|
|
3075
|
-
"
|
|
3021
|
+
"get",
|
|
3076
3022
|
"index.js"
|
|
3077
3023
|
]
|
|
3078
3024
|
},
|
|
3079
|
-
"tenant:
|
|
3025
|
+
"tenant:edit": {
|
|
3080
3026
|
"aliases": [],
|
|
3081
3027
|
"args": {
|
|
3082
3028
|
"tenant_name": {
|
|
3083
|
-
"description": "Tenant name to
|
|
3029
|
+
"description": "Tenant name to edit",
|
|
3084
3030
|
"name": "tenant_name",
|
|
3085
3031
|
"required": true
|
|
3086
3032
|
}
|
|
3087
3033
|
},
|
|
3088
|
-
"description": "
|
|
3034
|
+
"description": "Edit an existing tenant",
|
|
3089
3035
|
"examples": [
|
|
3090
|
-
"$ xano tenant
|
|
3091
|
-
"$ xano tenant
|
|
3036
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3037
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3092
3038
|
],
|
|
3093
3039
|
"flags": {
|
|
3094
3040
|
"profile": {
|
|
@@ -3110,6 +3056,38 @@
|
|
|
3110
3056
|
"allowNo": false,
|
|
3111
3057
|
"type": "boolean"
|
|
3112
3058
|
},
|
|
3059
|
+
"description": {
|
|
3060
|
+
"char": "d",
|
|
3061
|
+
"description": "New description",
|
|
3062
|
+
"name": "description",
|
|
3063
|
+
"required": false,
|
|
3064
|
+
"hasDynamicHelp": false,
|
|
3065
|
+
"multiple": false,
|
|
3066
|
+
"type": "option"
|
|
3067
|
+
},
|
|
3068
|
+
"display": {
|
|
3069
|
+
"description": "New display name",
|
|
3070
|
+
"name": "display",
|
|
3071
|
+
"required": false,
|
|
3072
|
+
"hasDynamicHelp": false,
|
|
3073
|
+
"multiple": false,
|
|
3074
|
+
"type": "option"
|
|
3075
|
+
},
|
|
3076
|
+
"domain": {
|
|
3077
|
+
"description": "Custom domain",
|
|
3078
|
+
"name": "domain",
|
|
3079
|
+
"required": false,
|
|
3080
|
+
"hasDynamicHelp": false,
|
|
3081
|
+
"multiple": false,
|
|
3082
|
+
"type": "option"
|
|
3083
|
+
},
|
|
3084
|
+
"ingress": {
|
|
3085
|
+
"description": "Enable/disable ingress",
|
|
3086
|
+
"name": "ingress",
|
|
3087
|
+
"required": false,
|
|
3088
|
+
"allowNo": true,
|
|
3089
|
+
"type": "boolean"
|
|
3090
|
+
},
|
|
3113
3091
|
"output": {
|
|
3114
3092
|
"char": "o",
|
|
3115
3093
|
"description": "Output format",
|
|
@@ -3124,6 +3102,28 @@
|
|
|
3124
3102
|
],
|
|
3125
3103
|
"type": "option"
|
|
3126
3104
|
},
|
|
3105
|
+
"proxy": {
|
|
3106
|
+
"description": "Proxy URL",
|
|
3107
|
+
"name": "proxy",
|
|
3108
|
+
"required": false,
|
|
3109
|
+
"hasDynamicHelp": false,
|
|
3110
|
+
"multiple": false,
|
|
3111
|
+
"type": "option"
|
|
3112
|
+
},
|
|
3113
|
+
"rbac": {
|
|
3114
|
+
"description": "Enable/disable RBAC",
|
|
3115
|
+
"name": "rbac",
|
|
3116
|
+
"required": false,
|
|
3117
|
+
"allowNo": true,
|
|
3118
|
+
"type": "boolean"
|
|
3119
|
+
},
|
|
3120
|
+
"tasks": {
|
|
3121
|
+
"description": "Enable/disable background tasks",
|
|
3122
|
+
"name": "tasks",
|
|
3123
|
+
"required": false,
|
|
3124
|
+
"allowNo": true,
|
|
3125
|
+
"type": "boolean"
|
|
3126
|
+
},
|
|
3127
3127
|
"workspace": {
|
|
3128
3128
|
"char": "w",
|
|
3129
3129
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3136,7 +3136,7 @@
|
|
|
3136
3136
|
},
|
|
3137
3137
|
"hasDynamicHelp": false,
|
|
3138
3138
|
"hiddenAliases": [],
|
|
3139
|
-
"id": "tenant:
|
|
3139
|
+
"id": "tenant:edit",
|
|
3140
3140
|
"pluginAlias": "@xano/cli",
|
|
3141
3141
|
"pluginName": "@xano/cli",
|
|
3142
3142
|
"pluginType": "core",
|
|
@@ -3147,7 +3147,7 @@
|
|
|
3147
3147
|
"dist",
|
|
3148
3148
|
"commands",
|
|
3149
3149
|
"tenant",
|
|
3150
|
-
"
|
|
3150
|
+
"edit",
|
|
3151
3151
|
"index.js"
|
|
3152
3152
|
]
|
|
3153
3153
|
},
|
|
@@ -3396,98 +3396,6 @@
|
|
|
3396
3396
|
"index.js"
|
|
3397
3397
|
]
|
|
3398
3398
|
},
|
|
3399
|
-
"unit_test:list": {
|
|
3400
|
-
"aliases": [],
|
|
3401
|
-
"args": {},
|
|
3402
|
-
"description": "List all unit tests in a workspace",
|
|
3403
|
-
"examples": [
|
|
3404
|
-
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3405
|
-
"$ xano unit-test list -w 5 --output json",
|
|
3406
|
-
"$ xano unit-test list --obj-type function"
|
|
3407
|
-
],
|
|
3408
|
-
"flags": {
|
|
3409
|
-
"profile": {
|
|
3410
|
-
"char": "p",
|
|
3411
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3412
|
-
"env": "XANO_PROFILE",
|
|
3413
|
-
"name": "profile",
|
|
3414
|
-
"required": false,
|
|
3415
|
-
"hasDynamicHelp": false,
|
|
3416
|
-
"multiple": false,
|
|
3417
|
-
"type": "option"
|
|
3418
|
-
},
|
|
3419
|
-
"verbose": {
|
|
3420
|
-
"char": "v",
|
|
3421
|
-
"description": "Show detailed request/response information",
|
|
3422
|
-
"env": "XANO_VERBOSE",
|
|
3423
|
-
"name": "verbose",
|
|
3424
|
-
"required": false,
|
|
3425
|
-
"allowNo": false,
|
|
3426
|
-
"type": "boolean"
|
|
3427
|
-
},
|
|
3428
|
-
"branch": {
|
|
3429
|
-
"char": "b",
|
|
3430
|
-
"description": "Filter by branch name",
|
|
3431
|
-
"name": "branch",
|
|
3432
|
-
"required": false,
|
|
3433
|
-
"hasDynamicHelp": false,
|
|
3434
|
-
"multiple": false,
|
|
3435
|
-
"type": "option"
|
|
3436
|
-
},
|
|
3437
|
-
"obj-type": {
|
|
3438
|
-
"description": "Filter by object type",
|
|
3439
|
-
"name": "obj-type",
|
|
3440
|
-
"required": false,
|
|
3441
|
-
"hasDynamicHelp": false,
|
|
3442
|
-
"multiple": false,
|
|
3443
|
-
"options": [
|
|
3444
|
-
"function",
|
|
3445
|
-
"query",
|
|
3446
|
-
"middleware"
|
|
3447
|
-
],
|
|
3448
|
-
"type": "option"
|
|
3449
|
-
},
|
|
3450
|
-
"output": {
|
|
3451
|
-
"char": "o",
|
|
3452
|
-
"description": "Output format",
|
|
3453
|
-
"name": "output",
|
|
3454
|
-
"required": false,
|
|
3455
|
-
"default": "summary",
|
|
3456
|
-
"hasDynamicHelp": false,
|
|
3457
|
-
"multiple": false,
|
|
3458
|
-
"options": [
|
|
3459
|
-
"summary",
|
|
3460
|
-
"json"
|
|
3461
|
-
],
|
|
3462
|
-
"type": "option"
|
|
3463
|
-
},
|
|
3464
|
-
"workspace": {
|
|
3465
|
-
"char": "w",
|
|
3466
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3467
|
-
"name": "workspace",
|
|
3468
|
-
"required": false,
|
|
3469
|
-
"hasDynamicHelp": false,
|
|
3470
|
-
"multiple": false,
|
|
3471
|
-
"type": "option"
|
|
3472
|
-
}
|
|
3473
|
-
},
|
|
3474
|
-
"hasDynamicHelp": false,
|
|
3475
|
-
"hiddenAliases": [],
|
|
3476
|
-
"id": "unit_test:list",
|
|
3477
|
-
"pluginAlias": "@xano/cli",
|
|
3478
|
-
"pluginName": "@xano/cli",
|
|
3479
|
-
"pluginType": "core",
|
|
3480
|
-
"strict": true,
|
|
3481
|
-
"enableJsonFlag": false,
|
|
3482
|
-
"isESM": true,
|
|
3483
|
-
"relativePath": [
|
|
3484
|
-
"dist",
|
|
3485
|
-
"commands",
|
|
3486
|
-
"unit_test",
|
|
3487
|
-
"list",
|
|
3488
|
-
"index.js"
|
|
3489
|
-
]
|
|
3490
|
-
},
|
|
3491
3399
|
"tenant:push": {
|
|
3492
3400
|
"aliases": [],
|
|
3493
3401
|
"args": {
|
|
@@ -3583,13 +3491,14 @@
|
|
|
3583
3491
|
"index.js"
|
|
3584
3492
|
]
|
|
3585
3493
|
},
|
|
3586
|
-
"unit_test:
|
|
3494
|
+
"unit_test:list": {
|
|
3587
3495
|
"aliases": [],
|
|
3588
3496
|
"args": {},
|
|
3589
|
-
"description": "
|
|
3497
|
+
"description": "List all unit tests in a workspace",
|
|
3590
3498
|
"examples": [
|
|
3591
|
-
"$ xano unit-test
|
|
3592
|
-
"$ xano unit-test
|
|
3499
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3500
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3501
|
+
"$ xano unit-test list --obj-type function"
|
|
3593
3502
|
],
|
|
3594
3503
|
"flags": {
|
|
3595
3504
|
"profile": {
|
|
@@ -3659,7 +3568,7 @@
|
|
|
3659
3568
|
},
|
|
3660
3569
|
"hasDynamicHelp": false,
|
|
3661
3570
|
"hiddenAliases": [],
|
|
3662
|
-
"id": "unit_test:
|
|
3571
|
+
"id": "unit_test:list",
|
|
3663
3572
|
"pluginAlias": "@xano/cli",
|
|
3664
3573
|
"pluginName": "@xano/cli",
|
|
3665
3574
|
"pluginType": "core",
|
|
@@ -3670,7 +3579,7 @@
|
|
|
3670
3579
|
"dist",
|
|
3671
3580
|
"commands",
|
|
3672
3581
|
"unit_test",
|
|
3673
|
-
"
|
|
3582
|
+
"list",
|
|
3674
3583
|
"index.js"
|
|
3675
3584
|
]
|
|
3676
3585
|
},
|
|
@@ -3749,20 +3658,13 @@
|
|
|
3749
3658
|
"index.js"
|
|
3750
3659
|
]
|
|
3751
3660
|
},
|
|
3752
|
-
"
|
|
3661
|
+
"unit_test:run_all": {
|
|
3753
3662
|
"aliases": [],
|
|
3754
|
-
"args": {
|
|
3755
|
-
|
|
3756
|
-
"description": "ID of the workflow test",
|
|
3757
|
-
"name": "workflow_test_id",
|
|
3758
|
-
"required": true
|
|
3759
|
-
}
|
|
3760
|
-
},
|
|
3761
|
-
"description": "Get a specific workflow test",
|
|
3663
|
+
"args": {},
|
|
3664
|
+
"description": "Run all unit tests in a workspace",
|
|
3762
3665
|
"examples": [
|
|
3763
|
-
"$ xano
|
|
3764
|
-
"$ xano
|
|
3765
|
-
"$ xano workflow-test get 1 -o json"
|
|
3666
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
3667
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3766
3668
|
],
|
|
3767
3669
|
"flags": {
|
|
3768
3670
|
"profile": {
|
|
@@ -3784,12 +3686,27 @@
|
|
|
3784
3686
|
"allowNo": false,
|
|
3785
3687
|
"type": "boolean"
|
|
3786
3688
|
},
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3789
|
-
"
|
|
3689
|
+
"branch": {
|
|
3690
|
+
"char": "b",
|
|
3691
|
+
"description": "Filter by branch name",
|
|
3692
|
+
"name": "branch",
|
|
3790
3693
|
"required": false,
|
|
3791
|
-
"
|
|
3792
|
-
"
|
|
3694
|
+
"hasDynamicHelp": false,
|
|
3695
|
+
"multiple": false,
|
|
3696
|
+
"type": "option"
|
|
3697
|
+
},
|
|
3698
|
+
"obj-type": {
|
|
3699
|
+
"description": "Filter by object type",
|
|
3700
|
+
"name": "obj-type",
|
|
3701
|
+
"required": false,
|
|
3702
|
+
"hasDynamicHelp": false,
|
|
3703
|
+
"multiple": false,
|
|
3704
|
+
"options": [
|
|
3705
|
+
"function",
|
|
3706
|
+
"query",
|
|
3707
|
+
"middleware"
|
|
3708
|
+
],
|
|
3709
|
+
"type": "option"
|
|
3793
3710
|
},
|
|
3794
3711
|
"output": {
|
|
3795
3712
|
"char": "o",
|
|
@@ -3801,8 +3718,7 @@
|
|
|
3801
3718
|
"multiple": false,
|
|
3802
3719
|
"options": [
|
|
3803
3720
|
"summary",
|
|
3804
|
-
"json"
|
|
3805
|
-
"xs"
|
|
3721
|
+
"json"
|
|
3806
3722
|
],
|
|
3807
3723
|
"type": "option"
|
|
3808
3724
|
},
|
|
@@ -3818,7 +3734,7 @@
|
|
|
3818
3734
|
},
|
|
3819
3735
|
"hasDynamicHelp": false,
|
|
3820
3736
|
"hiddenAliases": [],
|
|
3821
|
-
"id": "
|
|
3737
|
+
"id": "unit_test:run_all",
|
|
3822
3738
|
"pluginAlias": "@xano/cli",
|
|
3823
3739
|
"pluginName": "@xano/cli",
|
|
3824
3740
|
"pluginType": "core",
|
|
@@ -3828,8 +3744,8 @@
|
|
|
3828
3744
|
"relativePath": [
|
|
3829
3745
|
"dist",
|
|
3830
3746
|
"commands",
|
|
3831
|
-
"
|
|
3832
|
-
"
|
|
3747
|
+
"unit_test",
|
|
3748
|
+
"run_all",
|
|
3833
3749
|
"index.js"
|
|
3834
3750
|
]
|
|
3835
3751
|
},
|
|
@@ -3916,6 +3832,90 @@
|
|
|
3916
3832
|
"index.js"
|
|
3917
3833
|
]
|
|
3918
3834
|
},
|
|
3835
|
+
"workflow_test:get": {
|
|
3836
|
+
"aliases": [],
|
|
3837
|
+
"args": {
|
|
3838
|
+
"workflow_test_id": {
|
|
3839
|
+
"description": "ID of the workflow test",
|
|
3840
|
+
"name": "workflow_test_id",
|
|
3841
|
+
"required": true
|
|
3842
|
+
}
|
|
3843
|
+
},
|
|
3844
|
+
"description": "Get a specific workflow test",
|
|
3845
|
+
"examples": [
|
|
3846
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3847
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3848
|
+
"$ xano workflow-test get 1 -o json"
|
|
3849
|
+
],
|
|
3850
|
+
"flags": {
|
|
3851
|
+
"profile": {
|
|
3852
|
+
"char": "p",
|
|
3853
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3854
|
+
"env": "XANO_PROFILE",
|
|
3855
|
+
"name": "profile",
|
|
3856
|
+
"required": false,
|
|
3857
|
+
"hasDynamicHelp": false,
|
|
3858
|
+
"multiple": false,
|
|
3859
|
+
"type": "option"
|
|
3860
|
+
},
|
|
3861
|
+
"verbose": {
|
|
3862
|
+
"char": "v",
|
|
3863
|
+
"description": "Show detailed request/response information",
|
|
3864
|
+
"env": "XANO_VERBOSE",
|
|
3865
|
+
"name": "verbose",
|
|
3866
|
+
"required": false,
|
|
3867
|
+
"allowNo": false,
|
|
3868
|
+
"type": "boolean"
|
|
3869
|
+
},
|
|
3870
|
+
"include-draft": {
|
|
3871
|
+
"description": "Include draft version",
|
|
3872
|
+
"name": "include-draft",
|
|
3873
|
+
"required": false,
|
|
3874
|
+
"allowNo": false,
|
|
3875
|
+
"type": "boolean"
|
|
3876
|
+
},
|
|
3877
|
+
"output": {
|
|
3878
|
+
"char": "o",
|
|
3879
|
+
"description": "Output format",
|
|
3880
|
+
"name": "output",
|
|
3881
|
+
"required": false,
|
|
3882
|
+
"default": "summary",
|
|
3883
|
+
"hasDynamicHelp": false,
|
|
3884
|
+
"multiple": false,
|
|
3885
|
+
"options": [
|
|
3886
|
+
"summary",
|
|
3887
|
+
"json",
|
|
3888
|
+
"xs"
|
|
3889
|
+
],
|
|
3890
|
+
"type": "option"
|
|
3891
|
+
},
|
|
3892
|
+
"workspace": {
|
|
3893
|
+
"char": "w",
|
|
3894
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3895
|
+
"name": "workspace",
|
|
3896
|
+
"required": false,
|
|
3897
|
+
"hasDynamicHelp": false,
|
|
3898
|
+
"multiple": false,
|
|
3899
|
+
"type": "option"
|
|
3900
|
+
}
|
|
3901
|
+
},
|
|
3902
|
+
"hasDynamicHelp": false,
|
|
3903
|
+
"hiddenAliases": [],
|
|
3904
|
+
"id": "workflow_test:get",
|
|
3905
|
+
"pluginAlias": "@xano/cli",
|
|
3906
|
+
"pluginName": "@xano/cli",
|
|
3907
|
+
"pluginType": "core",
|
|
3908
|
+
"strict": true,
|
|
3909
|
+
"enableJsonFlag": false,
|
|
3910
|
+
"isESM": true,
|
|
3911
|
+
"relativePath": [
|
|
3912
|
+
"dist",
|
|
3913
|
+
"commands",
|
|
3914
|
+
"workflow_test",
|
|
3915
|
+
"get",
|
|
3916
|
+
"index.js"
|
|
3917
|
+
]
|
|
3918
|
+
},
|
|
3919
3919
|
"workflow_test:list": {
|
|
3920
3920
|
"aliases": [],
|
|
3921
3921
|
"args": {},
|
|
@@ -4399,100 +4399,6 @@
|
|
|
4399
4399
|
"index.js"
|
|
4400
4400
|
]
|
|
4401
4401
|
},
|
|
4402
|
-
"workspace:pull": {
|
|
4403
|
-
"aliases": [],
|
|
4404
|
-
"args": {
|
|
4405
|
-
"directory": {
|
|
4406
|
-
"description": "Output directory for pulled documents",
|
|
4407
|
-
"name": "directory",
|
|
4408
|
-
"required": true
|
|
4409
|
-
}
|
|
4410
|
-
},
|
|
4411
|
-
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4412
|
-
"examples": [
|
|
4413
|
-
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4414
|
-
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4415
|
-
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4416
|
-
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4417
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4418
|
-
],
|
|
4419
|
-
"flags": {
|
|
4420
|
-
"profile": {
|
|
4421
|
-
"char": "p",
|
|
4422
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4423
|
-
"env": "XANO_PROFILE",
|
|
4424
|
-
"name": "profile",
|
|
4425
|
-
"required": false,
|
|
4426
|
-
"hasDynamicHelp": false,
|
|
4427
|
-
"multiple": false,
|
|
4428
|
-
"type": "option"
|
|
4429
|
-
},
|
|
4430
|
-
"verbose": {
|
|
4431
|
-
"char": "v",
|
|
4432
|
-
"description": "Show detailed request/response information",
|
|
4433
|
-
"env": "XANO_VERBOSE",
|
|
4434
|
-
"name": "verbose",
|
|
4435
|
-
"required": false,
|
|
4436
|
-
"allowNo": false,
|
|
4437
|
-
"type": "boolean"
|
|
4438
|
-
},
|
|
4439
|
-
"branch": {
|
|
4440
|
-
"char": "b",
|
|
4441
|
-
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4442
|
-
"name": "branch",
|
|
4443
|
-
"required": false,
|
|
4444
|
-
"hasDynamicHelp": false,
|
|
4445
|
-
"multiple": false,
|
|
4446
|
-
"type": "option"
|
|
4447
|
-
},
|
|
4448
|
-
"env": {
|
|
4449
|
-
"description": "Include environment variables",
|
|
4450
|
-
"name": "env",
|
|
4451
|
-
"required": false,
|
|
4452
|
-
"allowNo": false,
|
|
4453
|
-
"type": "boolean"
|
|
4454
|
-
},
|
|
4455
|
-
"draft": {
|
|
4456
|
-
"description": "Include draft versions",
|
|
4457
|
-
"name": "draft",
|
|
4458
|
-
"required": false,
|
|
4459
|
-
"allowNo": false,
|
|
4460
|
-
"type": "boolean"
|
|
4461
|
-
},
|
|
4462
|
-
"records": {
|
|
4463
|
-
"description": "Include records",
|
|
4464
|
-
"name": "records",
|
|
4465
|
-
"required": false,
|
|
4466
|
-
"allowNo": false,
|
|
4467
|
-
"type": "boolean"
|
|
4468
|
-
},
|
|
4469
|
-
"workspace": {
|
|
4470
|
-
"char": "w",
|
|
4471
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4472
|
-
"name": "workspace",
|
|
4473
|
-
"required": false,
|
|
4474
|
-
"hasDynamicHelp": false,
|
|
4475
|
-
"multiple": false,
|
|
4476
|
-
"type": "option"
|
|
4477
|
-
}
|
|
4478
|
-
},
|
|
4479
|
-
"hasDynamicHelp": false,
|
|
4480
|
-
"hiddenAliases": [],
|
|
4481
|
-
"id": "workspace:pull",
|
|
4482
|
-
"pluginAlias": "@xano/cli",
|
|
4483
|
-
"pluginName": "@xano/cli",
|
|
4484
|
-
"pluginType": "core",
|
|
4485
|
-
"strict": true,
|
|
4486
|
-
"enableJsonFlag": false,
|
|
4487
|
-
"isESM": true,
|
|
4488
|
-
"relativePath": [
|
|
4489
|
-
"dist",
|
|
4490
|
-
"commands",
|
|
4491
|
-
"workspace",
|
|
4492
|
-
"pull",
|
|
4493
|
-
"index.js"
|
|
4494
|
-
]
|
|
4495
|
-
},
|
|
4496
4402
|
"workspace:get": {
|
|
4497
4403
|
"aliases": [],
|
|
4498
4404
|
"args": {
|
|
@@ -4560,15 +4466,28 @@
|
|
|
4560
4466
|
"index.js"
|
|
4561
4467
|
]
|
|
4562
4468
|
},
|
|
4563
|
-
"workspace:
|
|
4469
|
+
"workspace:push": {
|
|
4564
4470
|
"aliases": [],
|
|
4565
|
-
"args": {
|
|
4566
|
-
|
|
4471
|
+
"args": {
|
|
4472
|
+
"directory": {
|
|
4473
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4474
|
+
"name": "directory",
|
|
4475
|
+
"required": true
|
|
4476
|
+
}
|
|
4477
|
+
},
|
|
4478
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4567
4479
|
"examples": [
|
|
4568
|
-
"$ xano workspace
|
|
4569
|
-
"$ xano workspace
|
|
4570
|
-
"$ xano workspace
|
|
4571
|
-
"$ xano workspace
|
|
4480
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4481
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4482
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4483
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4484
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4485
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4486
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4487
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4488
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4489
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4490
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4572
4491
|
],
|
|
4573
4492
|
"flags": {
|
|
4574
4493
|
"profile": {
|
|
@@ -4590,25 +4509,71 @@
|
|
|
4590
4509
|
"allowNo": false,
|
|
4591
4510
|
"type": "boolean"
|
|
4592
4511
|
},
|
|
4593
|
-
"
|
|
4594
|
-
"char": "
|
|
4595
|
-
"description": "
|
|
4596
|
-
"name": "
|
|
4512
|
+
"branch": {
|
|
4513
|
+
"char": "b",
|
|
4514
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4515
|
+
"name": "branch",
|
|
4597
4516
|
"required": false,
|
|
4598
|
-
"default": "summary",
|
|
4599
4517
|
"hasDynamicHelp": false,
|
|
4600
4518
|
"multiple": false,
|
|
4601
|
-
"options": [
|
|
4602
|
-
"summary",
|
|
4603
|
-
"json"
|
|
4604
|
-
],
|
|
4605
4519
|
"type": "option"
|
|
4606
|
-
}
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4520
|
+
},
|
|
4521
|
+
"delete": {
|
|
4522
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4523
|
+
"name": "delete",
|
|
4524
|
+
"required": false,
|
|
4525
|
+
"allowNo": true,
|
|
4526
|
+
"type": "boolean"
|
|
4527
|
+
},
|
|
4528
|
+
"env": {
|
|
4529
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4530
|
+
"name": "env",
|
|
4531
|
+
"required": false,
|
|
4532
|
+
"allowNo": true,
|
|
4533
|
+
"type": "boolean"
|
|
4534
|
+
},
|
|
4535
|
+
"partial": {
|
|
4536
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4537
|
+
"name": "partial",
|
|
4538
|
+
"required": false,
|
|
4539
|
+
"allowNo": false,
|
|
4540
|
+
"type": "boolean"
|
|
4541
|
+
},
|
|
4542
|
+
"records": {
|
|
4543
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4544
|
+
"name": "records",
|
|
4545
|
+
"required": false,
|
|
4546
|
+
"allowNo": true,
|
|
4547
|
+
"type": "boolean"
|
|
4548
|
+
},
|
|
4549
|
+
"sync-guids": {
|
|
4550
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4551
|
+
"name": "sync-guids",
|
|
4552
|
+
"required": false,
|
|
4553
|
+
"allowNo": true,
|
|
4554
|
+
"type": "boolean"
|
|
4555
|
+
},
|
|
4556
|
+
"truncate": {
|
|
4557
|
+
"description": "Truncate all table records before importing",
|
|
4558
|
+
"name": "truncate",
|
|
4559
|
+
"required": false,
|
|
4560
|
+
"allowNo": false,
|
|
4561
|
+
"type": "boolean"
|
|
4562
|
+
},
|
|
4563
|
+
"workspace": {
|
|
4564
|
+
"char": "w",
|
|
4565
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4566
|
+
"name": "workspace",
|
|
4567
|
+
"required": false,
|
|
4568
|
+
"hasDynamicHelp": false,
|
|
4569
|
+
"multiple": false,
|
|
4570
|
+
"type": "option"
|
|
4571
|
+
}
|
|
4572
|
+
},
|
|
4573
|
+
"hasDynamicHelp": false,
|
|
4574
|
+
"hiddenAliases": [],
|
|
4575
|
+
"id": "workspace:push",
|
|
4576
|
+
"pluginAlias": "@xano/cli",
|
|
4612
4577
|
"pluginName": "@xano/cli",
|
|
4613
4578
|
"pluginType": "core",
|
|
4614
4579
|
"strict": true,
|
|
@@ -4618,7 +4583,101 @@
|
|
|
4618
4583
|
"dist",
|
|
4619
4584
|
"commands",
|
|
4620
4585
|
"workspace",
|
|
4621
|
-
"
|
|
4586
|
+
"push",
|
|
4587
|
+
"index.js"
|
|
4588
|
+
]
|
|
4589
|
+
},
|
|
4590
|
+
"workspace:pull": {
|
|
4591
|
+
"aliases": [],
|
|
4592
|
+
"args": {
|
|
4593
|
+
"directory": {
|
|
4594
|
+
"description": "Output directory for pulled documents",
|
|
4595
|
+
"name": "directory",
|
|
4596
|
+
"required": true
|
|
4597
|
+
}
|
|
4598
|
+
},
|
|
4599
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4600
|
+
"examples": [
|
|
4601
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4602
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4603
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4604
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4605
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4606
|
+
],
|
|
4607
|
+
"flags": {
|
|
4608
|
+
"profile": {
|
|
4609
|
+
"char": "p",
|
|
4610
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4611
|
+
"env": "XANO_PROFILE",
|
|
4612
|
+
"name": "profile",
|
|
4613
|
+
"required": false,
|
|
4614
|
+
"hasDynamicHelp": false,
|
|
4615
|
+
"multiple": false,
|
|
4616
|
+
"type": "option"
|
|
4617
|
+
},
|
|
4618
|
+
"verbose": {
|
|
4619
|
+
"char": "v",
|
|
4620
|
+
"description": "Show detailed request/response information",
|
|
4621
|
+
"env": "XANO_VERBOSE",
|
|
4622
|
+
"name": "verbose",
|
|
4623
|
+
"required": false,
|
|
4624
|
+
"allowNo": false,
|
|
4625
|
+
"type": "boolean"
|
|
4626
|
+
},
|
|
4627
|
+
"branch": {
|
|
4628
|
+
"char": "b",
|
|
4629
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4630
|
+
"name": "branch",
|
|
4631
|
+
"required": false,
|
|
4632
|
+
"hasDynamicHelp": false,
|
|
4633
|
+
"multiple": false,
|
|
4634
|
+
"type": "option"
|
|
4635
|
+
},
|
|
4636
|
+
"env": {
|
|
4637
|
+
"description": "Include environment variables",
|
|
4638
|
+
"name": "env",
|
|
4639
|
+
"required": false,
|
|
4640
|
+
"allowNo": false,
|
|
4641
|
+
"type": "boolean"
|
|
4642
|
+
},
|
|
4643
|
+
"draft": {
|
|
4644
|
+
"description": "Include draft versions",
|
|
4645
|
+
"name": "draft",
|
|
4646
|
+
"required": false,
|
|
4647
|
+
"allowNo": false,
|
|
4648
|
+
"type": "boolean"
|
|
4649
|
+
},
|
|
4650
|
+
"records": {
|
|
4651
|
+
"description": "Include records",
|
|
4652
|
+
"name": "records",
|
|
4653
|
+
"required": false,
|
|
4654
|
+
"allowNo": false,
|
|
4655
|
+
"type": "boolean"
|
|
4656
|
+
},
|
|
4657
|
+
"workspace": {
|
|
4658
|
+
"char": "w",
|
|
4659
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4660
|
+
"name": "workspace",
|
|
4661
|
+
"required": false,
|
|
4662
|
+
"hasDynamicHelp": false,
|
|
4663
|
+
"multiple": false,
|
|
4664
|
+
"type": "option"
|
|
4665
|
+
}
|
|
4666
|
+
},
|
|
4667
|
+
"hasDynamicHelp": false,
|
|
4668
|
+
"hiddenAliases": [],
|
|
4669
|
+
"id": "workspace:pull",
|
|
4670
|
+
"pluginAlias": "@xano/cli",
|
|
4671
|
+
"pluginName": "@xano/cli",
|
|
4672
|
+
"pluginType": "core",
|
|
4673
|
+
"strict": true,
|
|
4674
|
+
"enableJsonFlag": false,
|
|
4675
|
+
"isESM": true,
|
|
4676
|
+
"relativePath": [
|
|
4677
|
+
"dist",
|
|
4678
|
+
"commands",
|
|
4679
|
+
"workspace",
|
|
4680
|
+
"pull",
|
|
4622
4681
|
"index.js"
|
|
4623
4682
|
]
|
|
4624
4683
|
},
|
|
@@ -4726,28 +4785,15 @@
|
|
|
4726
4785
|
"index.js"
|
|
4727
4786
|
]
|
|
4728
4787
|
},
|
|
4729
|
-
"workspace:
|
|
4788
|
+
"workspace:list": {
|
|
4730
4789
|
"aliases": [],
|
|
4731
|
-
"args": {
|
|
4732
|
-
|
|
4733
|
-
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4734
|
-
"name": "directory",
|
|
4735
|
-
"required": true
|
|
4736
|
-
}
|
|
4737
|
-
},
|
|
4738
|
-
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4790
|
+
"args": {},
|
|
4791
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4739
4792
|
"examples": [
|
|
4740
|
-
"$ xano workspace
|
|
4741
|
-
"$ xano workspace
|
|
4742
|
-
"$ xano workspace
|
|
4743
|
-
"$ xano workspace
|
|
4744
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4745
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4746
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4747
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4748
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4749
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4750
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4793
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4794
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4795
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4796
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4751
4797
|
],
|
|
4752
4798
|
"flags": {
|
|
4753
4799
|
"profile": {
|
|
@@ -4769,70 +4815,24 @@
|
|
|
4769
4815
|
"allowNo": false,
|
|
4770
4816
|
"type": "boolean"
|
|
4771
4817
|
},
|
|
4772
|
-
"
|
|
4773
|
-
"char": "
|
|
4774
|
-
"description": "
|
|
4775
|
-
"name": "
|
|
4776
|
-
"required": false,
|
|
4777
|
-
"hasDynamicHelp": false,
|
|
4778
|
-
"multiple": false,
|
|
4779
|
-
"type": "option"
|
|
4780
|
-
},
|
|
4781
|
-
"delete": {
|
|
4782
|
-
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4783
|
-
"name": "delete",
|
|
4784
|
-
"required": false,
|
|
4785
|
-
"allowNo": true,
|
|
4786
|
-
"type": "boolean"
|
|
4787
|
-
},
|
|
4788
|
-
"env": {
|
|
4789
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4790
|
-
"name": "env",
|
|
4791
|
-
"required": false,
|
|
4792
|
-
"allowNo": true,
|
|
4793
|
-
"type": "boolean"
|
|
4794
|
-
},
|
|
4795
|
-
"partial": {
|
|
4796
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4797
|
-
"name": "partial",
|
|
4798
|
-
"required": false,
|
|
4799
|
-
"allowNo": false,
|
|
4800
|
-
"type": "boolean"
|
|
4801
|
-
},
|
|
4802
|
-
"records": {
|
|
4803
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4804
|
-
"name": "records",
|
|
4805
|
-
"required": false,
|
|
4806
|
-
"allowNo": true,
|
|
4807
|
-
"type": "boolean"
|
|
4808
|
-
},
|
|
4809
|
-
"sync-guids": {
|
|
4810
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4811
|
-
"name": "sync-guids",
|
|
4812
|
-
"required": false,
|
|
4813
|
-
"allowNo": true,
|
|
4814
|
-
"type": "boolean"
|
|
4815
|
-
},
|
|
4816
|
-
"truncate": {
|
|
4817
|
-
"description": "Truncate all table records before importing",
|
|
4818
|
-
"name": "truncate",
|
|
4819
|
-
"required": false,
|
|
4820
|
-
"allowNo": false,
|
|
4821
|
-
"type": "boolean"
|
|
4822
|
-
},
|
|
4823
|
-
"workspace": {
|
|
4824
|
-
"char": "w",
|
|
4825
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4826
|
-
"name": "workspace",
|
|
4818
|
+
"output": {
|
|
4819
|
+
"char": "o",
|
|
4820
|
+
"description": "Output format",
|
|
4821
|
+
"name": "output",
|
|
4827
4822
|
"required": false,
|
|
4823
|
+
"default": "summary",
|
|
4828
4824
|
"hasDynamicHelp": false,
|
|
4829
4825
|
"multiple": false,
|
|
4826
|
+
"options": [
|
|
4827
|
+
"summary",
|
|
4828
|
+
"json"
|
|
4829
|
+
],
|
|
4830
4830
|
"type": "option"
|
|
4831
4831
|
}
|
|
4832
4832
|
},
|
|
4833
4833
|
"hasDynamicHelp": false,
|
|
4834
4834
|
"hiddenAliases": [],
|
|
4835
|
-
"id": "workspace:
|
|
4835
|
+
"id": "workspace:list",
|
|
4836
4836
|
"pluginAlias": "@xano/cli",
|
|
4837
4837
|
"pluginName": "@xano/cli",
|
|
4838
4838
|
"pluginType": "core",
|
|
@@ -4843,7 +4843,7 @@
|
|
|
4843
4843
|
"dist",
|
|
4844
4844
|
"commands",
|
|
4845
4845
|
"workspace",
|
|
4846
|
-
"
|
|
4846
|
+
"list",
|
|
4847
4847
|
"index.js"
|
|
4848
4848
|
]
|
|
4849
4849
|
},
|
|
@@ -4930,19 +4930,21 @@
|
|
|
4930
4930
|
"index.js"
|
|
4931
4931
|
]
|
|
4932
4932
|
},
|
|
4933
|
-
"
|
|
4933
|
+
"static_host:build:list": {
|
|
4934
4934
|
"aliases": [],
|
|
4935
4935
|
"args": {
|
|
4936
|
-
"
|
|
4937
|
-
"description": "
|
|
4938
|
-
"name": "
|
|
4936
|
+
"static_host": {
|
|
4937
|
+
"description": "Static Host name",
|
|
4938
|
+
"name": "static_host",
|
|
4939
4939
|
"required": true
|
|
4940
4940
|
}
|
|
4941
4941
|
},
|
|
4942
|
-
"description": "
|
|
4942
|
+
"description": "List all builds for a static host",
|
|
4943
4943
|
"examples": [
|
|
4944
|
-
"$ xano
|
|
4945
|
-
"$ xano
|
|
4944
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4945
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4946
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4947
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4946
4948
|
],
|
|
4947
4949
|
"flags": {
|
|
4948
4950
|
"profile": {
|
|
@@ -4964,16 +4966,6 @@
|
|
|
4964
4966
|
"allowNo": false,
|
|
4965
4967
|
"type": "boolean"
|
|
4966
4968
|
},
|
|
4967
|
-
"description": {
|
|
4968
|
-
"char": "d",
|
|
4969
|
-
"description": "Backup description",
|
|
4970
|
-
"name": "description",
|
|
4971
|
-
"required": false,
|
|
4972
|
-
"default": "",
|
|
4973
|
-
"hasDynamicHelp": false,
|
|
4974
|
-
"multiple": false,
|
|
4975
|
-
"type": "option"
|
|
4976
|
-
},
|
|
4977
4969
|
"output": {
|
|
4978
4970
|
"char": "o",
|
|
4979
4971
|
"description": "Output format",
|
|
@@ -4988,9 +4980,27 @@
|
|
|
4988
4980
|
],
|
|
4989
4981
|
"type": "option"
|
|
4990
4982
|
},
|
|
4983
|
+
"page": {
|
|
4984
|
+
"description": "Page number for pagination",
|
|
4985
|
+
"name": "page",
|
|
4986
|
+
"required": false,
|
|
4987
|
+
"default": 1,
|
|
4988
|
+
"hasDynamicHelp": false,
|
|
4989
|
+
"multiple": false,
|
|
4990
|
+
"type": "option"
|
|
4991
|
+
},
|
|
4992
|
+
"per_page": {
|
|
4993
|
+
"description": "Number of results per page",
|
|
4994
|
+
"name": "per_page",
|
|
4995
|
+
"required": false,
|
|
4996
|
+
"default": 50,
|
|
4997
|
+
"hasDynamicHelp": false,
|
|
4998
|
+
"multiple": false,
|
|
4999
|
+
"type": "option"
|
|
5000
|
+
},
|
|
4991
5001
|
"workspace": {
|
|
4992
5002
|
"char": "w",
|
|
4993
|
-
"description": "Workspace ID (
|
|
5003
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4994
5004
|
"name": "workspace",
|
|
4995
5005
|
"required": false,
|
|
4996
5006
|
"hasDynamicHelp": false,
|
|
@@ -5000,7 +5010,7 @@
|
|
|
5000
5010
|
},
|
|
5001
5011
|
"hasDynamicHelp": false,
|
|
5002
5012
|
"hiddenAliases": [],
|
|
5003
|
-
"id": "
|
|
5013
|
+
"id": "static_host:build:list",
|
|
5004
5014
|
"pluginAlias": "@xano/cli",
|
|
5005
5015
|
"pluginName": "@xano/cli",
|
|
5006
5016
|
"pluginType": "core",
|
|
@@ -5010,27 +5020,26 @@
|
|
|
5010
5020
|
"relativePath": [
|
|
5011
5021
|
"dist",
|
|
5012
5022
|
"commands",
|
|
5013
|
-
"
|
|
5014
|
-
"
|
|
5015
|
-
"
|
|
5023
|
+
"static_host",
|
|
5024
|
+
"build",
|
|
5025
|
+
"list",
|
|
5016
5026
|
"index.js"
|
|
5017
5027
|
]
|
|
5018
5028
|
},
|
|
5019
|
-
"
|
|
5029
|
+
"tenant:backup:delete": {
|
|
5020
5030
|
"aliases": [],
|
|
5021
5031
|
"args": {
|
|
5022
|
-
"
|
|
5023
|
-
"description": "
|
|
5024
|
-
"name": "
|
|
5032
|
+
"tenant_name": {
|
|
5033
|
+
"description": "Tenant name that owns the backup",
|
|
5034
|
+
"name": "tenant_name",
|
|
5025
5035
|
"required": true
|
|
5026
5036
|
}
|
|
5027
5037
|
},
|
|
5028
|
-
"description": "
|
|
5038
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5029
5039
|
"examples": [
|
|
5030
|
-
"$ xano
|
|
5031
|
-
"$ xano
|
|
5032
|
-
"$ xano
|
|
5033
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
5040
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5041
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5042
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5034
5043
|
],
|
|
5035
5044
|
"flags": {
|
|
5036
5045
|
"profile": {
|
|
@@ -5052,6 +5061,22 @@
|
|
|
5052
5061
|
"allowNo": false,
|
|
5053
5062
|
"type": "boolean"
|
|
5054
5063
|
},
|
|
5064
|
+
"backup_id": {
|
|
5065
|
+
"description": "Backup ID to delete",
|
|
5066
|
+
"name": "backup_id",
|
|
5067
|
+
"required": true,
|
|
5068
|
+
"hasDynamicHelp": false,
|
|
5069
|
+
"multiple": false,
|
|
5070
|
+
"type": "option"
|
|
5071
|
+
},
|
|
5072
|
+
"force": {
|
|
5073
|
+
"char": "f",
|
|
5074
|
+
"description": "Skip confirmation prompt",
|
|
5075
|
+
"name": "force",
|
|
5076
|
+
"required": false,
|
|
5077
|
+
"allowNo": false,
|
|
5078
|
+
"type": "boolean"
|
|
5079
|
+
},
|
|
5055
5080
|
"output": {
|
|
5056
5081
|
"char": "o",
|
|
5057
5082
|
"description": "Output format",
|
|
@@ -5066,27 +5091,9 @@
|
|
|
5066
5091
|
],
|
|
5067
5092
|
"type": "option"
|
|
5068
5093
|
},
|
|
5069
|
-
"page": {
|
|
5070
|
-
"description": "Page number for pagination",
|
|
5071
|
-
"name": "page",
|
|
5072
|
-
"required": false,
|
|
5073
|
-
"default": 1,
|
|
5074
|
-
"hasDynamicHelp": false,
|
|
5075
|
-
"multiple": false,
|
|
5076
|
-
"type": "option"
|
|
5077
|
-
},
|
|
5078
|
-
"per_page": {
|
|
5079
|
-
"description": "Number of results per page",
|
|
5080
|
-
"name": "per_page",
|
|
5081
|
-
"required": false,
|
|
5082
|
-
"default": 50,
|
|
5083
|
-
"hasDynamicHelp": false,
|
|
5084
|
-
"multiple": false,
|
|
5085
|
-
"type": "option"
|
|
5086
|
-
},
|
|
5087
5094
|
"workspace": {
|
|
5088
5095
|
"char": "w",
|
|
5089
|
-
"description": "Workspace ID (
|
|
5096
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5090
5097
|
"name": "workspace",
|
|
5091
5098
|
"required": false,
|
|
5092
5099
|
"hasDynamicHelp": false,
|
|
@@ -5096,7 +5103,7 @@
|
|
|
5096
5103
|
},
|
|
5097
5104
|
"hasDynamicHelp": false,
|
|
5098
5105
|
"hiddenAliases": [],
|
|
5099
|
-
"id": "
|
|
5106
|
+
"id": "tenant:backup:delete",
|
|
5100
5107
|
"pluginAlias": "@xano/cli",
|
|
5101
5108
|
"pluginName": "@xano/cli",
|
|
5102
5109
|
"pluginType": "core",
|
|
@@ -5106,26 +5113,25 @@
|
|
|
5106
5113
|
"relativePath": [
|
|
5107
5114
|
"dist",
|
|
5108
5115
|
"commands",
|
|
5109
|
-
"
|
|
5110
|
-
"
|
|
5111
|
-
"
|
|
5116
|
+
"tenant",
|
|
5117
|
+
"backup",
|
|
5118
|
+
"delete",
|
|
5112
5119
|
"index.js"
|
|
5113
5120
|
]
|
|
5114
5121
|
},
|
|
5115
|
-
"tenant:backup:
|
|
5122
|
+
"tenant:backup:create": {
|
|
5116
5123
|
"aliases": [],
|
|
5117
5124
|
"args": {
|
|
5118
5125
|
"tenant_name": {
|
|
5119
|
-
"description": "Tenant name
|
|
5126
|
+
"description": "Tenant name to back up",
|
|
5120
5127
|
"name": "tenant_name",
|
|
5121
5128
|
"required": true
|
|
5122
5129
|
}
|
|
5123
5130
|
},
|
|
5124
|
-
"description": "
|
|
5131
|
+
"description": "Create a backup for a tenant",
|
|
5125
5132
|
"examples": [
|
|
5126
|
-
"$ xano tenant backup
|
|
5127
|
-
"$ xano tenant backup
|
|
5128
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5133
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5134
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5129
5135
|
],
|
|
5130
5136
|
"flags": {
|
|
5131
5137
|
"profile": {
|
|
@@ -5147,22 +5153,16 @@
|
|
|
5147
5153
|
"allowNo": false,
|
|
5148
5154
|
"type": "boolean"
|
|
5149
5155
|
},
|
|
5150
|
-
"
|
|
5151
|
-
"
|
|
5152
|
-
"
|
|
5153
|
-
"
|
|
5156
|
+
"description": {
|
|
5157
|
+
"char": "d",
|
|
5158
|
+
"description": "Backup description",
|
|
5159
|
+
"name": "description",
|
|
5160
|
+
"required": false,
|
|
5161
|
+
"default": "",
|
|
5154
5162
|
"hasDynamicHelp": false,
|
|
5155
5163
|
"multiple": false,
|
|
5156
5164
|
"type": "option"
|
|
5157
5165
|
},
|
|
5158
|
-
"force": {
|
|
5159
|
-
"char": "f",
|
|
5160
|
-
"description": "Skip confirmation prompt",
|
|
5161
|
-
"name": "force",
|
|
5162
|
-
"required": false,
|
|
5163
|
-
"allowNo": false,
|
|
5164
|
-
"type": "boolean"
|
|
5165
|
-
},
|
|
5166
5166
|
"output": {
|
|
5167
5167
|
"char": "o",
|
|
5168
5168
|
"description": "Output format",
|
|
@@ -5189,7 +5189,7 @@
|
|
|
5189
5189
|
},
|
|
5190
5190
|
"hasDynamicHelp": false,
|
|
5191
5191
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "tenant:backup:
|
|
5192
|
+
"id": "tenant:backup:create",
|
|
5193
5193
|
"pluginAlias": "@xano/cli",
|
|
5194
5194
|
"pluginName": "@xano/cli",
|
|
5195
5195
|
"pluginType": "core",
|
|
@@ -5201,7 +5201,7 @@
|
|
|
5201
5201
|
"commands",
|
|
5202
5202
|
"tenant",
|
|
5203
5203
|
"backup",
|
|
5204
|
-
"
|
|
5204
|
+
"create",
|
|
5205
5205
|
"index.js"
|
|
5206
5206
|
]
|
|
5207
5207
|
},
|
|
@@ -5298,19 +5298,13 @@
|
|
|
5298
5298
|
"index.js"
|
|
5299
5299
|
]
|
|
5300
5300
|
},
|
|
5301
|
-
"tenant:
|
|
5301
|
+
"tenant:cluster:create": {
|
|
5302
5302
|
"aliases": [],
|
|
5303
|
-
"args": {
|
|
5304
|
-
|
|
5305
|
-
"description": "Tenant name to import backup into",
|
|
5306
|
-
"name": "tenant_name",
|
|
5307
|
-
"required": true
|
|
5308
|
-
}
|
|
5309
|
-
},
|
|
5310
|
-
"description": "Import a backup file into a tenant",
|
|
5303
|
+
"args": {},
|
|
5304
|
+
"description": "Create a new tenant cluster",
|
|
5311
5305
|
"examples": [
|
|
5312
|
-
"$ xano tenant
|
|
5313
|
-
"$ xano tenant
|
|
5306
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5307
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5314
5308
|
],
|
|
5315
5309
|
"flags": {
|
|
5316
5310
|
"profile": {
|
|
@@ -5332,20 +5326,49 @@
|
|
|
5332
5326
|
"allowNo": false,
|
|
5333
5327
|
"type": "boolean"
|
|
5334
5328
|
},
|
|
5329
|
+
"credentials": {
|
|
5330
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5331
|
+
"exclusive": [
|
|
5332
|
+
"credentials_file"
|
|
5333
|
+
],
|
|
5334
|
+
"name": "credentials",
|
|
5335
|
+
"required": false,
|
|
5336
|
+
"hasDynamicHelp": false,
|
|
5337
|
+
"multiple": false,
|
|
5338
|
+
"type": "option"
|
|
5339
|
+
},
|
|
5340
|
+
"credentials_file": {
|
|
5341
|
+
"description": "Path to kubeconfig credentials file",
|
|
5342
|
+
"exclusive": [
|
|
5343
|
+
"credentials"
|
|
5344
|
+
],
|
|
5345
|
+
"name": "credentials_file",
|
|
5346
|
+
"required": false,
|
|
5347
|
+
"hasDynamicHelp": false,
|
|
5348
|
+
"multiple": false,
|
|
5349
|
+
"type": "option"
|
|
5350
|
+
},
|
|
5335
5351
|
"description": {
|
|
5336
5352
|
"char": "d",
|
|
5337
|
-
"description": "
|
|
5353
|
+
"description": "Cluster description",
|
|
5338
5354
|
"name": "description",
|
|
5339
5355
|
"required": false,
|
|
5340
|
-
"default": "",
|
|
5341
5356
|
"hasDynamicHelp": false,
|
|
5342
5357
|
"multiple": false,
|
|
5343
5358
|
"type": "option"
|
|
5344
5359
|
},
|
|
5345
|
-
"
|
|
5346
|
-
"
|
|
5347
|
-
"
|
|
5348
|
-
"
|
|
5360
|
+
"domain": {
|
|
5361
|
+
"description": "Custom domain for the cluster",
|
|
5362
|
+
"name": "domain",
|
|
5363
|
+
"required": false,
|
|
5364
|
+
"hasDynamicHelp": false,
|
|
5365
|
+
"multiple": false,
|
|
5366
|
+
"type": "option"
|
|
5367
|
+
},
|
|
5368
|
+
"name": {
|
|
5369
|
+
"char": "n",
|
|
5370
|
+
"description": "Cluster name",
|
|
5371
|
+
"name": "name",
|
|
5349
5372
|
"required": true,
|
|
5350
5373
|
"hasDynamicHelp": false,
|
|
5351
5374
|
"multiple": false,
|
|
@@ -5365,19 +5388,23 @@
|
|
|
5365
5388
|
],
|
|
5366
5389
|
"type": "option"
|
|
5367
5390
|
},
|
|
5368
|
-
"
|
|
5369
|
-
"
|
|
5370
|
-
"
|
|
5371
|
-
"name": "workspace",
|
|
5391
|
+
"type": {
|
|
5392
|
+
"description": "Cluster type",
|
|
5393
|
+
"name": "type",
|
|
5372
5394
|
"required": false,
|
|
5395
|
+
"default": "standard",
|
|
5373
5396
|
"hasDynamicHelp": false,
|
|
5374
5397
|
"multiple": false,
|
|
5398
|
+
"options": [
|
|
5399
|
+
"standard",
|
|
5400
|
+
"run"
|
|
5401
|
+
],
|
|
5375
5402
|
"type": "option"
|
|
5376
5403
|
}
|
|
5377
5404
|
},
|
|
5378
5405
|
"hasDynamicHelp": false,
|
|
5379
5406
|
"hiddenAliases": [],
|
|
5380
|
-
"id": "tenant:
|
|
5407
|
+
"id": "tenant:cluster:create",
|
|
5381
5408
|
"pluginAlias": "@xano/cli",
|
|
5382
5409
|
"pluginName": "@xano/cli",
|
|
5383
5410
|
"pluginType": "core",
|
|
@@ -5388,8 +5415,8 @@
|
|
|
5388
5415
|
"dist",
|
|
5389
5416
|
"commands",
|
|
5390
5417
|
"tenant",
|
|
5391
|
-
"
|
|
5392
|
-
"
|
|
5418
|
+
"cluster",
|
|
5419
|
+
"create",
|
|
5393
5420
|
"index.js"
|
|
5394
5421
|
]
|
|
5395
5422
|
},
|
|
@@ -5478,19 +5505,19 @@
|
|
|
5478
5505
|
"index.js"
|
|
5479
5506
|
]
|
|
5480
5507
|
},
|
|
5481
|
-
"tenant:backup:
|
|
5508
|
+
"tenant:backup:import": {
|
|
5482
5509
|
"aliases": [],
|
|
5483
5510
|
"args": {
|
|
5484
5511
|
"tenant_name": {
|
|
5485
|
-
"description": "Tenant name to
|
|
5512
|
+
"description": "Tenant name to import backup into",
|
|
5486
5513
|
"name": "tenant_name",
|
|
5487
5514
|
"required": true
|
|
5488
5515
|
}
|
|
5489
5516
|
},
|
|
5490
|
-
"description": "
|
|
5517
|
+
"description": "Import a backup file into a tenant",
|
|
5491
5518
|
"examples": [
|
|
5492
|
-
"$ xano tenant backup
|
|
5493
|
-
"$ xano tenant backup
|
|
5519
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5520
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5494
5521
|
],
|
|
5495
5522
|
"flags": {
|
|
5496
5523
|
"profile": {
|
|
@@ -5512,21 +5539,24 @@
|
|
|
5512
5539
|
"allowNo": false,
|
|
5513
5540
|
"type": "boolean"
|
|
5514
5541
|
},
|
|
5515
|
-
"
|
|
5516
|
-
"
|
|
5517
|
-
"
|
|
5518
|
-
"
|
|
5542
|
+
"description": {
|
|
5543
|
+
"char": "d",
|
|
5544
|
+
"description": "Backup description",
|
|
5545
|
+
"name": "description",
|
|
5546
|
+
"required": false,
|
|
5547
|
+
"default": "",
|
|
5519
5548
|
"hasDynamicHelp": false,
|
|
5520
5549
|
"multiple": false,
|
|
5521
5550
|
"type": "option"
|
|
5522
5551
|
},
|
|
5523
|
-
"
|
|
5552
|
+
"file": {
|
|
5524
5553
|
"char": "f",
|
|
5525
|
-
"description": "
|
|
5526
|
-
"name": "
|
|
5527
|
-
"required":
|
|
5528
|
-
"
|
|
5529
|
-
"
|
|
5554
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5555
|
+
"name": "file",
|
|
5556
|
+
"required": true,
|
|
5557
|
+
"hasDynamicHelp": false,
|
|
5558
|
+
"multiple": false,
|
|
5559
|
+
"type": "option"
|
|
5530
5560
|
},
|
|
5531
5561
|
"output": {
|
|
5532
5562
|
"char": "o",
|
|
@@ -5554,7 +5584,7 @@
|
|
|
5554
5584
|
},
|
|
5555
5585
|
"hasDynamicHelp": false,
|
|
5556
5586
|
"hiddenAliases": [],
|
|
5557
|
-
"id": "tenant:backup:
|
|
5587
|
+
"id": "tenant:backup:import",
|
|
5558
5588
|
"pluginAlias": "@xano/cli",
|
|
5559
5589
|
"pluginName": "@xano/cli",
|
|
5560
5590
|
"pluginType": "core",
|
|
@@ -5566,17 +5596,24 @@
|
|
|
5566
5596
|
"commands",
|
|
5567
5597
|
"tenant",
|
|
5568
5598
|
"backup",
|
|
5569
|
-
"
|
|
5599
|
+
"import",
|
|
5570
5600
|
"index.js"
|
|
5571
5601
|
]
|
|
5572
5602
|
},
|
|
5573
|
-
"tenant:cluster:
|
|
5603
|
+
"tenant:cluster:delete": {
|
|
5574
5604
|
"aliases": [],
|
|
5575
|
-
"args": {
|
|
5576
|
-
|
|
5605
|
+
"args": {
|
|
5606
|
+
"cluster_id": {
|
|
5607
|
+
"description": "Cluster ID to delete",
|
|
5608
|
+
"name": "cluster_id",
|
|
5609
|
+
"required": true
|
|
5610
|
+
}
|
|
5611
|
+
},
|
|
5612
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5577
5613
|
"examples": [
|
|
5578
|
-
"$ xano tenant cluster
|
|
5579
|
-
"$ xano tenant cluster
|
|
5614
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5615
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5616
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5580
5617
|
],
|
|
5581
5618
|
"flags": {
|
|
5582
5619
|
"profile": {
|
|
@@ -5598,53 +5635,13 @@
|
|
|
5598
5635
|
"allowNo": false,
|
|
5599
5636
|
"type": "boolean"
|
|
5600
5637
|
},
|
|
5601
|
-
"
|
|
5602
|
-
"
|
|
5603
|
-
"
|
|
5604
|
-
|
|
5605
|
-
],
|
|
5606
|
-
"name": "credentials",
|
|
5607
|
-
"required": false,
|
|
5608
|
-
"hasDynamicHelp": false,
|
|
5609
|
-
"multiple": false,
|
|
5610
|
-
"type": "option"
|
|
5611
|
-
},
|
|
5612
|
-
"credentials_file": {
|
|
5613
|
-
"description": "Path to kubeconfig credentials file",
|
|
5614
|
-
"exclusive": [
|
|
5615
|
-
"credentials"
|
|
5616
|
-
],
|
|
5617
|
-
"name": "credentials_file",
|
|
5618
|
-
"required": false,
|
|
5619
|
-
"hasDynamicHelp": false,
|
|
5620
|
-
"multiple": false,
|
|
5621
|
-
"type": "option"
|
|
5622
|
-
},
|
|
5623
|
-
"description": {
|
|
5624
|
-
"char": "d",
|
|
5625
|
-
"description": "Cluster description",
|
|
5626
|
-
"name": "description",
|
|
5627
|
-
"required": false,
|
|
5628
|
-
"hasDynamicHelp": false,
|
|
5629
|
-
"multiple": false,
|
|
5630
|
-
"type": "option"
|
|
5631
|
-
},
|
|
5632
|
-
"domain": {
|
|
5633
|
-
"description": "Custom domain for the cluster",
|
|
5634
|
-
"name": "domain",
|
|
5638
|
+
"force": {
|
|
5639
|
+
"char": "f",
|
|
5640
|
+
"description": "Skip confirmation prompt",
|
|
5641
|
+
"name": "force",
|
|
5635
5642
|
"required": false,
|
|
5636
|
-
"
|
|
5637
|
-
"
|
|
5638
|
-
"type": "option"
|
|
5639
|
-
},
|
|
5640
|
-
"name": {
|
|
5641
|
-
"char": "n",
|
|
5642
|
-
"description": "Cluster name",
|
|
5643
|
-
"name": "name",
|
|
5644
|
-
"required": true,
|
|
5645
|
-
"hasDynamicHelp": false,
|
|
5646
|
-
"multiple": false,
|
|
5647
|
-
"type": "option"
|
|
5643
|
+
"allowNo": false,
|
|
5644
|
+
"type": "boolean"
|
|
5648
5645
|
},
|
|
5649
5646
|
"output": {
|
|
5650
5647
|
"char": "o",
|
|
@@ -5659,24 +5656,11 @@
|
|
|
5659
5656
|
"json"
|
|
5660
5657
|
],
|
|
5661
5658
|
"type": "option"
|
|
5662
|
-
},
|
|
5663
|
-
"type": {
|
|
5664
|
-
"description": "Cluster type",
|
|
5665
|
-
"name": "type",
|
|
5666
|
-
"required": false,
|
|
5667
|
-
"default": "standard",
|
|
5668
|
-
"hasDynamicHelp": false,
|
|
5669
|
-
"multiple": false,
|
|
5670
|
-
"options": [
|
|
5671
|
-
"standard",
|
|
5672
|
-
"run"
|
|
5673
|
-
],
|
|
5674
|
-
"type": "option"
|
|
5675
5659
|
}
|
|
5676
5660
|
},
|
|
5677
5661
|
"hasDynamicHelp": false,
|
|
5678
5662
|
"hiddenAliases": [],
|
|
5679
|
-
"id": "tenant:cluster:
|
|
5663
|
+
"id": "tenant:cluster:delete",
|
|
5680
5664
|
"pluginAlias": "@xano/cli",
|
|
5681
5665
|
"pluginName": "@xano/cli",
|
|
5682
5666
|
"pluginType": "core",
|
|
@@ -5688,24 +5672,23 @@
|
|
|
5688
5672
|
"commands",
|
|
5689
5673
|
"tenant",
|
|
5690
5674
|
"cluster",
|
|
5691
|
-
"
|
|
5675
|
+
"delete",
|
|
5692
5676
|
"index.js"
|
|
5693
5677
|
]
|
|
5694
5678
|
},
|
|
5695
|
-
"tenant:
|
|
5679
|
+
"tenant:backup:restore": {
|
|
5696
5680
|
"aliases": [],
|
|
5697
5681
|
"args": {
|
|
5698
|
-
"
|
|
5699
|
-
"description": "
|
|
5700
|
-
"name": "
|
|
5682
|
+
"tenant_name": {
|
|
5683
|
+
"description": "Tenant name to restore",
|
|
5684
|
+
"name": "tenant_name",
|
|
5701
5685
|
"required": true
|
|
5702
5686
|
}
|
|
5703
5687
|
},
|
|
5704
|
-
"description": "
|
|
5688
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5705
5689
|
"examples": [
|
|
5706
|
-
"$ xano tenant
|
|
5707
|
-
"$ xano tenant
|
|
5708
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5690
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5691
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5709
5692
|
],
|
|
5710
5693
|
"flags": {
|
|
5711
5694
|
"profile": {
|
|
@@ -5727,6 +5710,14 @@
|
|
|
5727
5710
|
"allowNo": false,
|
|
5728
5711
|
"type": "boolean"
|
|
5729
5712
|
},
|
|
5713
|
+
"backup_id": {
|
|
5714
|
+
"description": "Backup ID to restore from",
|
|
5715
|
+
"name": "backup_id",
|
|
5716
|
+
"required": true,
|
|
5717
|
+
"hasDynamicHelp": false,
|
|
5718
|
+
"multiple": false,
|
|
5719
|
+
"type": "option"
|
|
5720
|
+
},
|
|
5730
5721
|
"force": {
|
|
5731
5722
|
"char": "f",
|
|
5732
5723
|
"description": "Skip confirmation prompt",
|
|
@@ -5748,11 +5739,20 @@
|
|
|
5748
5739
|
"json"
|
|
5749
5740
|
],
|
|
5750
5741
|
"type": "option"
|
|
5742
|
+
},
|
|
5743
|
+
"workspace": {
|
|
5744
|
+
"char": "w",
|
|
5745
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5746
|
+
"name": "workspace",
|
|
5747
|
+
"required": false,
|
|
5748
|
+
"hasDynamicHelp": false,
|
|
5749
|
+
"multiple": false,
|
|
5750
|
+
"type": "option"
|
|
5751
5751
|
}
|
|
5752
5752
|
},
|
|
5753
5753
|
"hasDynamicHelp": false,
|
|
5754
5754
|
"hiddenAliases": [],
|
|
5755
|
-
"id": "tenant:
|
|
5755
|
+
"id": "tenant:backup:restore",
|
|
5756
5756
|
"pluginAlias": "@xano/cli",
|
|
5757
5757
|
"pluginName": "@xano/cli",
|
|
5758
5758
|
"pluginType": "core",
|
|
@@ -5763,8 +5763,8 @@
|
|
|
5763
5763
|
"dist",
|
|
5764
5764
|
"commands",
|
|
5765
5765
|
"tenant",
|
|
5766
|
-
"
|
|
5767
|
-
"
|
|
5766
|
+
"backup",
|
|
5767
|
+
"restore",
|
|
5768
5768
|
"index.js"
|
|
5769
5769
|
]
|
|
5770
5770
|
},
|
|
@@ -6001,7 +6001,7 @@
|
|
|
6001
6001
|
"index.js"
|
|
6002
6002
|
]
|
|
6003
6003
|
},
|
|
6004
|
-
"tenant:env:
|
|
6004
|
+
"tenant:env:delete": {
|
|
6005
6005
|
"aliases": [],
|
|
6006
6006
|
"args": {
|
|
6007
6007
|
"tenant_name": {
|
|
@@ -6010,10 +6010,11 @@
|
|
|
6010
6010
|
"required": true
|
|
6011
6011
|
}
|
|
6012
6012
|
},
|
|
6013
|
-
"description": "
|
|
6013
|
+
"description": "Delete an environment variable from a tenant",
|
|
6014
6014
|
"examples": [
|
|
6015
|
-
"$ xano tenant env
|
|
6016
|
-
"$ xano tenant env
|
|
6015
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6016
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6017
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6017
6018
|
],
|
|
6018
6019
|
"flags": {
|
|
6019
6020
|
"profile": {
|
|
@@ -6035,6 +6036,14 @@
|
|
|
6035
6036
|
"allowNo": false,
|
|
6036
6037
|
"type": "boolean"
|
|
6037
6038
|
},
|
|
6039
|
+
"force": {
|
|
6040
|
+
"char": "f",
|
|
6041
|
+
"description": "Skip confirmation prompt",
|
|
6042
|
+
"name": "force",
|
|
6043
|
+
"required": false,
|
|
6044
|
+
"allowNo": false,
|
|
6045
|
+
"type": "boolean"
|
|
6046
|
+
},
|
|
6038
6047
|
"name": {
|
|
6039
6048
|
"char": "n",
|
|
6040
6049
|
"description": "Environment variable name",
|
|
@@ -6070,7 +6079,7 @@
|
|
|
6070
6079
|
},
|
|
6071
6080
|
"hasDynamicHelp": false,
|
|
6072
6081
|
"hiddenAliases": [],
|
|
6073
|
-
"id": "tenant:env:
|
|
6082
|
+
"id": "tenant:env:delete",
|
|
6074
6083
|
"pluginAlias": "@xano/cli",
|
|
6075
6084
|
"pluginName": "@xano/cli",
|
|
6076
6085
|
"pluginType": "core",
|
|
@@ -6082,11 +6091,11 @@
|
|
|
6082
6091
|
"commands",
|
|
6083
6092
|
"tenant",
|
|
6084
6093
|
"env",
|
|
6085
|
-
"
|
|
6094
|
+
"delete",
|
|
6086
6095
|
"index.js"
|
|
6087
6096
|
]
|
|
6088
6097
|
},
|
|
6089
|
-
"tenant:env:
|
|
6098
|
+
"tenant:env:get": {
|
|
6090
6099
|
"aliases": [],
|
|
6091
6100
|
"args": {
|
|
6092
6101
|
"tenant_name": {
|
|
@@ -6095,12 +6104,10 @@
|
|
|
6095
6104
|
"required": true
|
|
6096
6105
|
}
|
|
6097
6106
|
},
|
|
6098
|
-
"description": "Get
|
|
6107
|
+
"description": "Get a single environment variable for a tenant",
|
|
6099
6108
|
"examples": [
|
|
6100
|
-
"$ xano tenant env
|
|
6101
|
-
"$ xano tenant env
|
|
6102
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6103
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6109
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6110
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6104
6111
|
],
|
|
6105
6112
|
"flags": {
|
|
6106
6113
|
"profile": {
|
|
@@ -6122,11 +6129,11 @@
|
|
|
6122
6129
|
"allowNo": false,
|
|
6123
6130
|
"type": "boolean"
|
|
6124
6131
|
},
|
|
6125
|
-
"
|
|
6126
|
-
"char": "
|
|
6127
|
-
"description": "
|
|
6128
|
-
"name": "
|
|
6129
|
-
"required":
|
|
6132
|
+
"name": {
|
|
6133
|
+
"char": "n",
|
|
6134
|
+
"description": "Environment variable name",
|
|
6135
|
+
"name": "name",
|
|
6136
|
+
"required": true,
|
|
6130
6137
|
"hasDynamicHelp": false,
|
|
6131
6138
|
"multiple": false,
|
|
6132
6139
|
"type": "option"
|
|
@@ -6145,13 +6152,6 @@
|
|
|
6145
6152
|
],
|
|
6146
6153
|
"type": "option"
|
|
6147
6154
|
},
|
|
6148
|
-
"view": {
|
|
6149
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6150
|
-
"name": "view",
|
|
6151
|
-
"required": false,
|
|
6152
|
-
"allowNo": false,
|
|
6153
|
-
"type": "boolean"
|
|
6154
|
-
},
|
|
6155
6155
|
"workspace": {
|
|
6156
6156
|
"char": "w",
|
|
6157
6157
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6164,7 +6164,7 @@
|
|
|
6164
6164
|
},
|
|
6165
6165
|
"hasDynamicHelp": false,
|
|
6166
6166
|
"hiddenAliases": [],
|
|
6167
|
-
"id": "tenant:env:
|
|
6167
|
+
"id": "tenant:env:get",
|
|
6168
6168
|
"pluginAlias": "@xano/cli",
|
|
6169
6169
|
"pluginName": "@xano/cli",
|
|
6170
6170
|
"pluginType": "core",
|
|
@@ -6176,7 +6176,7 @@
|
|
|
6176
6176
|
"commands",
|
|
6177
6177
|
"tenant",
|
|
6178
6178
|
"env",
|
|
6179
|
-
"
|
|
6179
|
+
"get",
|
|
6180
6180
|
"index.js"
|
|
6181
6181
|
]
|
|
6182
6182
|
},
|
|
@@ -6256,7 +6256,7 @@
|
|
|
6256
6256
|
"index.js"
|
|
6257
6257
|
]
|
|
6258
6258
|
},
|
|
6259
|
-
"tenant:env:
|
|
6259
|
+
"tenant:env:set": {
|
|
6260
6260
|
"aliases": [],
|
|
6261
6261
|
"args": {
|
|
6262
6262
|
"tenant_name": {
|
|
@@ -6265,11 +6265,10 @@
|
|
|
6265
6265
|
"required": true
|
|
6266
6266
|
}
|
|
6267
6267
|
},
|
|
6268
|
-
"description": "
|
|
6268
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6269
6269
|
"examples": [
|
|
6270
|
-
"$ xano tenant env
|
|
6271
|
-
"$ xano tenant env
|
|
6272
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6270
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6271
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6273
6272
|
],
|
|
6274
6273
|
"flags": {
|
|
6275
6274
|
"profile": {
|
|
@@ -6291,14 +6290,6 @@
|
|
|
6291
6290
|
"allowNo": false,
|
|
6292
6291
|
"type": "boolean"
|
|
6293
6292
|
},
|
|
6294
|
-
"force": {
|
|
6295
|
-
"char": "f",
|
|
6296
|
-
"description": "Skip confirmation prompt",
|
|
6297
|
-
"name": "force",
|
|
6298
|
-
"required": false,
|
|
6299
|
-
"allowNo": false,
|
|
6300
|
-
"type": "boolean"
|
|
6301
|
-
},
|
|
6302
6293
|
"name": {
|
|
6303
6294
|
"char": "n",
|
|
6304
6295
|
"description": "Environment variable name",
|
|
@@ -6322,6 +6313,14 @@
|
|
|
6322
6313
|
],
|
|
6323
6314
|
"type": "option"
|
|
6324
6315
|
},
|
|
6316
|
+
"value": {
|
|
6317
|
+
"description": "Environment variable value",
|
|
6318
|
+
"name": "value",
|
|
6319
|
+
"required": true,
|
|
6320
|
+
"hasDynamicHelp": false,
|
|
6321
|
+
"multiple": false,
|
|
6322
|
+
"type": "option"
|
|
6323
|
+
},
|
|
6325
6324
|
"workspace": {
|
|
6326
6325
|
"char": "w",
|
|
6327
6326
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6334,7 +6333,7 @@
|
|
|
6334
6333
|
},
|
|
6335
6334
|
"hasDynamicHelp": false,
|
|
6336
6335
|
"hiddenAliases": [],
|
|
6337
|
-
"id": "tenant:env:
|
|
6336
|
+
"id": "tenant:env:set",
|
|
6338
6337
|
"pluginAlias": "@xano/cli",
|
|
6339
6338
|
"pluginName": "@xano/cli",
|
|
6340
6339
|
"pluginType": "core",
|
|
@@ -6346,11 +6345,11 @@
|
|
|
6346
6345
|
"commands",
|
|
6347
6346
|
"tenant",
|
|
6348
6347
|
"env",
|
|
6349
|
-
"
|
|
6348
|
+
"set",
|
|
6350
6349
|
"index.js"
|
|
6351
6350
|
]
|
|
6352
6351
|
},
|
|
6353
|
-
"tenant:env:
|
|
6352
|
+
"tenant:env:get_all": {
|
|
6354
6353
|
"aliases": [],
|
|
6355
6354
|
"args": {
|
|
6356
6355
|
"tenant_name": {
|
|
@@ -6359,11 +6358,12 @@
|
|
|
6359
6358
|
"required": true
|
|
6360
6359
|
}
|
|
6361
6360
|
},
|
|
6362
|
-
"description": "
|
|
6361
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6363
6362
|
"examples": [
|
|
6364
|
-
"$ xano tenant env
|
|
6365
|
-
"$ xano tenant env
|
|
6366
|
-
"$ xano tenant env
|
|
6363
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6364
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6365
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6366
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6367
6367
|
],
|
|
6368
6368
|
"flags": {
|
|
6369
6369
|
"profile": {
|
|
@@ -6385,16 +6385,9 @@
|
|
|
6385
6385
|
"allowNo": false,
|
|
6386
6386
|
"type": "boolean"
|
|
6387
6387
|
},
|
|
6388
|
-
"clean": {
|
|
6389
|
-
"description": "Remove the source file after successful upload",
|
|
6390
|
-
"name": "clean",
|
|
6391
|
-
"required": false,
|
|
6392
|
-
"allowNo": false,
|
|
6393
|
-
"type": "boolean"
|
|
6394
|
-
},
|
|
6395
6388
|
"file": {
|
|
6396
6389
|
"char": "f",
|
|
6397
|
-
"description": "
|
|
6390
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6398
6391
|
"name": "file",
|
|
6399
6392
|
"required": false,
|
|
6400
6393
|
"hasDynamicHelp": false,
|
|
@@ -6415,6 +6408,13 @@
|
|
|
6415
6408
|
],
|
|
6416
6409
|
"type": "option"
|
|
6417
6410
|
},
|
|
6411
|
+
"view": {
|
|
6412
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6413
|
+
"name": "view",
|
|
6414
|
+
"required": false,
|
|
6415
|
+
"allowNo": false,
|
|
6416
|
+
"type": "boolean"
|
|
6417
|
+
},
|
|
6418
6418
|
"workspace": {
|
|
6419
6419
|
"char": "w",
|
|
6420
6420
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6427,7 +6427,7 @@
|
|
|
6427
6427
|
},
|
|
6428
6428
|
"hasDynamicHelp": false,
|
|
6429
6429
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:env:
|
|
6430
|
+
"id": "tenant:env:get_all",
|
|
6431
6431
|
"pluginAlias": "@xano/cli",
|
|
6432
6432
|
"pluginName": "@xano/cli",
|
|
6433
6433
|
"pluginType": "core",
|
|
@@ -6439,11 +6439,11 @@
|
|
|
6439
6439
|
"commands",
|
|
6440
6440
|
"tenant",
|
|
6441
6441
|
"env",
|
|
6442
|
-
"
|
|
6442
|
+
"get_all",
|
|
6443
6443
|
"index.js"
|
|
6444
6444
|
]
|
|
6445
6445
|
},
|
|
6446
|
-
"tenant:
|
|
6446
|
+
"tenant:env:set_all": {
|
|
6447
6447
|
"aliases": [],
|
|
6448
6448
|
"args": {
|
|
6449
6449
|
"tenant_name": {
|
|
@@ -6452,12 +6452,11 @@
|
|
|
6452
6452
|
"required": true
|
|
6453
6453
|
}
|
|
6454
6454
|
},
|
|
6455
|
-
"description": "
|
|
6455
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6456
6456
|
"examples": [
|
|
6457
|
-
"$ xano tenant
|
|
6458
|
-
"$ xano tenant
|
|
6459
|
-
"$ xano tenant
|
|
6460
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6457
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6458
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6459
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6461
6460
|
],
|
|
6462
6461
|
"flags": {
|
|
6463
6462
|
"profile": {
|
|
@@ -6479,9 +6478,16 @@
|
|
|
6479
6478
|
"allowNo": false,
|
|
6480
6479
|
"type": "boolean"
|
|
6481
6480
|
},
|
|
6481
|
+
"clean": {
|
|
6482
|
+
"description": "Remove the source file after successful upload",
|
|
6483
|
+
"name": "clean",
|
|
6484
|
+
"required": false,
|
|
6485
|
+
"allowNo": false,
|
|
6486
|
+
"type": "boolean"
|
|
6487
|
+
},
|
|
6482
6488
|
"file": {
|
|
6483
6489
|
"char": "f",
|
|
6484
|
-
"description": "
|
|
6490
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6485
6491
|
"name": "file",
|
|
6486
6492
|
"required": false,
|
|
6487
6493
|
"hasDynamicHelp": false,
|
|
@@ -6502,13 +6508,6 @@
|
|
|
6502
6508
|
],
|
|
6503
6509
|
"type": "option"
|
|
6504
6510
|
},
|
|
6505
|
-
"view": {
|
|
6506
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6507
|
-
"name": "view",
|
|
6508
|
-
"required": false,
|
|
6509
|
-
"allowNo": false,
|
|
6510
|
-
"type": "boolean"
|
|
6511
|
-
},
|
|
6512
6511
|
"workspace": {
|
|
6513
6512
|
"char": "w",
|
|
6514
6513
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6521,7 +6520,7 @@
|
|
|
6521
6520
|
},
|
|
6522
6521
|
"hasDynamicHelp": false,
|
|
6523
6522
|
"hiddenAliases": [],
|
|
6524
|
-
"id": "tenant:
|
|
6523
|
+
"id": "tenant:env:set_all",
|
|
6525
6524
|
"pluginAlias": "@xano/cli",
|
|
6526
6525
|
"pluginName": "@xano/cli",
|
|
6527
6526
|
"pluginType": "core",
|
|
@@ -6532,12 +6531,12 @@
|
|
|
6532
6531
|
"dist",
|
|
6533
6532
|
"commands",
|
|
6534
6533
|
"tenant",
|
|
6535
|
-
"
|
|
6536
|
-
"
|
|
6534
|
+
"env",
|
|
6535
|
+
"set_all",
|
|
6537
6536
|
"index.js"
|
|
6538
6537
|
]
|
|
6539
6538
|
},
|
|
6540
|
-
"tenant:
|
|
6539
|
+
"tenant:license:get": {
|
|
6541
6540
|
"aliases": [],
|
|
6542
6541
|
"args": {
|
|
6543
6542
|
"tenant_name": {
|
|
@@ -6546,10 +6545,12 @@
|
|
|
6546
6545
|
"required": true
|
|
6547
6546
|
}
|
|
6548
6547
|
},
|
|
6549
|
-
"description": "
|
|
6548
|
+
"description": "Get the license for a tenant",
|
|
6550
6549
|
"examples": [
|
|
6551
|
-
"$ xano tenant
|
|
6552
|
-
"$ xano tenant
|
|
6550
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6551
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6552
|
+
"$ xano tenant license get my-tenant --view",
|
|
6553
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6553
6554
|
],
|
|
6554
6555
|
"flags": {
|
|
6555
6556
|
"profile": {
|
|
@@ -6571,11 +6572,11 @@
|
|
|
6571
6572
|
"allowNo": false,
|
|
6572
6573
|
"type": "boolean"
|
|
6573
6574
|
},
|
|
6574
|
-
"
|
|
6575
|
-
"char": "
|
|
6576
|
-
"description": "
|
|
6577
|
-
"name": "
|
|
6578
|
-
"required":
|
|
6575
|
+
"file": {
|
|
6576
|
+
"char": "f",
|
|
6577
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6578
|
+
"name": "file",
|
|
6579
|
+
"required": false,
|
|
6579
6580
|
"hasDynamicHelp": false,
|
|
6580
6581
|
"multiple": false,
|
|
6581
6582
|
"type": "option"
|
|
@@ -6594,13 +6595,12 @@
|
|
|
6594
6595
|
],
|
|
6595
6596
|
"type": "option"
|
|
6596
6597
|
},
|
|
6597
|
-
"
|
|
6598
|
-
"description": "
|
|
6599
|
-
"name": "
|
|
6600
|
-
"required":
|
|
6601
|
-
"
|
|
6602
|
-
"
|
|
6603
|
-
"type": "option"
|
|
6598
|
+
"view": {
|
|
6599
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6600
|
+
"name": "view",
|
|
6601
|
+
"required": false,
|
|
6602
|
+
"allowNo": false,
|
|
6603
|
+
"type": "boolean"
|
|
6604
6604
|
},
|
|
6605
6605
|
"workspace": {
|
|
6606
6606
|
"char": "w",
|
|
@@ -6614,7 +6614,7 @@
|
|
|
6614
6614
|
},
|
|
6615
6615
|
"hasDynamicHelp": false,
|
|
6616
6616
|
"hiddenAliases": [],
|
|
6617
|
-
"id": "tenant:
|
|
6617
|
+
"id": "tenant:license:get",
|
|
6618
6618
|
"pluginAlias": "@xano/cli",
|
|
6619
6619
|
"pluginName": "@xano/cli",
|
|
6620
6620
|
"pluginType": "core",
|
|
@@ -6625,8 +6625,8 @@
|
|
|
6625
6625
|
"dist",
|
|
6626
6626
|
"commands",
|
|
6627
6627
|
"tenant",
|
|
6628
|
-
"
|
|
6629
|
-
"
|
|
6628
|
+
"license",
|
|
6629
|
+
"get",
|
|
6630
6630
|
"index.js"
|
|
6631
6631
|
]
|
|
6632
6632
|
},
|
|
@@ -6836,7 +6836,7 @@
|
|
|
6836
6836
|
"index.js"
|
|
6837
6837
|
]
|
|
6838
6838
|
},
|
|
6839
|
-
"tenant:cluster:license:
|
|
6839
|
+
"tenant:cluster:license:get": {
|
|
6840
6840
|
"aliases": [],
|
|
6841
6841
|
"args": {
|
|
6842
6842
|
"cluster_id": {
|
|
@@ -6845,12 +6845,12 @@
|
|
|
6845
6845
|
"required": true
|
|
6846
6846
|
}
|
|
6847
6847
|
},
|
|
6848
|
-
"description": "
|
|
6848
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6849
6849
|
"examples": [
|
|
6850
|
-
"$ xano tenant cluster license
|
|
6851
|
-
"$ xano tenant cluster license
|
|
6852
|
-
"$ xano tenant cluster license
|
|
6853
|
-
"$ xano tenant cluster license
|
|
6850
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6851
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6852
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6853
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6854
6854
|
],
|
|
6855
6855
|
"flags": {
|
|
6856
6856
|
"profile": {
|
|
@@ -6872,22 +6872,9 @@
|
|
|
6872
6872
|
"allowNo": false,
|
|
6873
6873
|
"type": "boolean"
|
|
6874
6874
|
},
|
|
6875
|
-
"clean": {
|
|
6876
|
-
"description": "Remove the source file after successful upload",
|
|
6877
|
-
"exclusive": [
|
|
6878
|
-
"value"
|
|
6879
|
-
],
|
|
6880
|
-
"name": "clean",
|
|
6881
|
-
"required": false,
|
|
6882
|
-
"allowNo": false,
|
|
6883
|
-
"type": "boolean"
|
|
6884
|
-
},
|
|
6885
6875
|
"file": {
|
|
6886
6876
|
"char": "f",
|
|
6887
|
-
"description": "
|
|
6888
|
-
"exclusive": [
|
|
6889
|
-
"value"
|
|
6890
|
-
],
|
|
6877
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6891
6878
|
"name": "file",
|
|
6892
6879
|
"required": false,
|
|
6893
6880
|
"hasDynamicHelp": false,
|
|
@@ -6908,22 +6895,17 @@
|
|
|
6908
6895
|
],
|
|
6909
6896
|
"type": "option"
|
|
6910
6897
|
},
|
|
6911
|
-
"
|
|
6912
|
-
"description": "
|
|
6913
|
-
"
|
|
6914
|
-
"file",
|
|
6915
|
-
"clean"
|
|
6916
|
-
],
|
|
6917
|
-
"name": "value",
|
|
6898
|
+
"view": {
|
|
6899
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6900
|
+
"name": "view",
|
|
6918
6901
|
"required": false,
|
|
6919
|
-
"
|
|
6920
|
-
"
|
|
6921
|
-
"type": "option"
|
|
6902
|
+
"allowNo": false,
|
|
6903
|
+
"type": "boolean"
|
|
6922
6904
|
}
|
|
6923
6905
|
},
|
|
6924
6906
|
"hasDynamicHelp": false,
|
|
6925
6907
|
"hiddenAliases": [],
|
|
6926
|
-
"id": "tenant:cluster:license:
|
|
6908
|
+
"id": "tenant:cluster:license:get",
|
|
6927
6909
|
"pluginAlias": "@xano/cli",
|
|
6928
6910
|
"pluginName": "@xano/cli",
|
|
6929
6911
|
"pluginType": "core",
|
|
@@ -6936,11 +6918,11 @@
|
|
|
6936
6918
|
"tenant",
|
|
6937
6919
|
"cluster",
|
|
6938
6920
|
"license",
|
|
6939
|
-
"
|
|
6921
|
+
"get",
|
|
6940
6922
|
"index.js"
|
|
6941
6923
|
]
|
|
6942
6924
|
},
|
|
6943
|
-
"tenant:cluster:license:
|
|
6925
|
+
"tenant:cluster:license:set": {
|
|
6944
6926
|
"aliases": [],
|
|
6945
6927
|
"args": {
|
|
6946
6928
|
"cluster_id": {
|
|
@@ -6949,12 +6931,12 @@
|
|
|
6949
6931
|
"required": true
|
|
6950
6932
|
}
|
|
6951
6933
|
},
|
|
6952
|
-
"description": "
|
|
6934
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
6953
6935
|
"examples": [
|
|
6954
|
-
"$ xano tenant cluster license
|
|
6955
|
-
"$ xano tenant cluster license
|
|
6956
|
-
"$ xano tenant cluster license
|
|
6957
|
-
"$ xano tenant cluster license
|
|
6936
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
6937
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
6938
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
6939
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
6958
6940
|
],
|
|
6959
6941
|
"flags": {
|
|
6960
6942
|
"profile": {
|
|
@@ -6976,9 +6958,22 @@
|
|
|
6976
6958
|
"allowNo": false,
|
|
6977
6959
|
"type": "boolean"
|
|
6978
6960
|
},
|
|
6961
|
+
"clean": {
|
|
6962
|
+
"description": "Remove the source file after successful upload",
|
|
6963
|
+
"exclusive": [
|
|
6964
|
+
"value"
|
|
6965
|
+
],
|
|
6966
|
+
"name": "clean",
|
|
6967
|
+
"required": false,
|
|
6968
|
+
"allowNo": false,
|
|
6969
|
+
"type": "boolean"
|
|
6970
|
+
},
|
|
6979
6971
|
"file": {
|
|
6980
6972
|
"char": "f",
|
|
6981
|
-
"description": "
|
|
6973
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
6974
|
+
"exclusive": [
|
|
6975
|
+
"value"
|
|
6976
|
+
],
|
|
6982
6977
|
"name": "file",
|
|
6983
6978
|
"required": false,
|
|
6984
6979
|
"hasDynamicHelp": false,
|
|
@@ -6999,17 +6994,22 @@
|
|
|
6999
6994
|
],
|
|
7000
6995
|
"type": "option"
|
|
7001
6996
|
},
|
|
7002
|
-
"
|
|
7003
|
-
"description": "
|
|
7004
|
-
"
|
|
6997
|
+
"value": {
|
|
6998
|
+
"description": "Inline kubeconfig YAML value",
|
|
6999
|
+
"exclusive": [
|
|
7000
|
+
"file",
|
|
7001
|
+
"clean"
|
|
7002
|
+
],
|
|
7003
|
+
"name": "value",
|
|
7005
7004
|
"required": false,
|
|
7006
|
-
"
|
|
7007
|
-
"
|
|
7005
|
+
"hasDynamicHelp": false,
|
|
7006
|
+
"multiple": false,
|
|
7007
|
+
"type": "option"
|
|
7008
7008
|
}
|
|
7009
7009
|
},
|
|
7010
7010
|
"hasDynamicHelp": false,
|
|
7011
7011
|
"hiddenAliases": [],
|
|
7012
|
-
"id": "tenant:cluster:license:
|
|
7012
|
+
"id": "tenant:cluster:license:set",
|
|
7013
7013
|
"pluginAlias": "@xano/cli",
|
|
7014
7014
|
"pluginName": "@xano/cli",
|
|
7015
7015
|
"pluginType": "core",
|
|
@@ -7022,10 +7022,10 @@
|
|
|
7022
7022
|
"tenant",
|
|
7023
7023
|
"cluster",
|
|
7024
7024
|
"license",
|
|
7025
|
-
"
|
|
7025
|
+
"set",
|
|
7026
7026
|
"index.js"
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.60"
|
|
7031
7031
|
}
|