@xano/cli 1.0.4-beta.4 → 1.0.4-beta.5
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/README.md +3 -0
- package/dist/commands/static_host/build/push/index.d.ts +1 -1
- package/dist/commands/static_host/build/push/index.js +20 -17
- package/dist/utils/static-host-files.d.ts +21 -0
- package/dist/utils/static-host-files.js +41 -0
- package/oclif.manifest.json +1187 -1179
- package/package.json +2 -1
package/oclif.manifest.json
CHANGED
|
@@ -296,20 +296,20 @@
|
|
|
296
296
|
"index.js"
|
|
297
297
|
]
|
|
298
298
|
},
|
|
299
|
-
"branch:
|
|
299
|
+
"branch:edit": {
|
|
300
300
|
"aliases": [],
|
|
301
301
|
"args": {
|
|
302
302
|
"branch_label": {
|
|
303
|
-
"description": "Branch label to
|
|
303
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
304
304
|
"name": "branch_label",
|
|
305
305
|
"required": true
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
|
-
"description": "
|
|
308
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
309
309
|
"examples": [
|
|
310
|
-
"$ xano branch
|
|
311
|
-
"$ xano branch
|
|
312
|
-
"$ xano branch
|
|
310
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
311
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
312
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
313
313
|
],
|
|
314
314
|
"flags": {
|
|
315
315
|
"config": {
|
|
@@ -341,13 +341,32 @@
|
|
|
341
341
|
"allowNo": false,
|
|
342
342
|
"type": "boolean"
|
|
343
343
|
},
|
|
344
|
-
"
|
|
345
|
-
"char": "
|
|
346
|
-
"description": "
|
|
347
|
-
"name": "
|
|
344
|
+
"color": {
|
|
345
|
+
"char": "c",
|
|
346
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
347
|
+
"name": "color",
|
|
348
348
|
"required": false,
|
|
349
|
-
"
|
|
350
|
-
"
|
|
349
|
+
"hasDynamicHelp": false,
|
|
350
|
+
"multiple": false,
|
|
351
|
+
"type": "option"
|
|
352
|
+
},
|
|
353
|
+
"description": {
|
|
354
|
+
"char": "d",
|
|
355
|
+
"description": "New description for the branch",
|
|
356
|
+
"name": "description",
|
|
357
|
+
"required": false,
|
|
358
|
+
"hasDynamicHelp": false,
|
|
359
|
+
"multiple": false,
|
|
360
|
+
"type": "option"
|
|
361
|
+
},
|
|
362
|
+
"label": {
|
|
363
|
+
"char": "l",
|
|
364
|
+
"description": "New label for the branch",
|
|
365
|
+
"name": "label",
|
|
366
|
+
"required": false,
|
|
367
|
+
"hasDynamicHelp": false,
|
|
368
|
+
"multiple": false,
|
|
369
|
+
"type": "option"
|
|
351
370
|
},
|
|
352
371
|
"output": {
|
|
353
372
|
"char": "o",
|
|
@@ -375,7 +394,7 @@
|
|
|
375
394
|
},
|
|
376
395
|
"hasDynamicHelp": false,
|
|
377
396
|
"hiddenAliases": [],
|
|
378
|
-
"id": "branch:
|
|
397
|
+
"id": "branch:edit",
|
|
379
398
|
"pluginAlias": "@xano/cli",
|
|
380
399
|
"pluginName": "@xano/cli",
|
|
381
400
|
"pluginType": "core",
|
|
@@ -386,24 +405,24 @@
|
|
|
386
405
|
"dist",
|
|
387
406
|
"commands",
|
|
388
407
|
"branch",
|
|
389
|
-
"
|
|
408
|
+
"edit",
|
|
390
409
|
"index.js"
|
|
391
410
|
]
|
|
392
411
|
},
|
|
393
|
-
"branch:
|
|
412
|
+
"branch:delete": {
|
|
394
413
|
"aliases": [],
|
|
395
414
|
"args": {
|
|
396
415
|
"branch_label": {
|
|
397
|
-
"description": "Branch label to
|
|
416
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
398
417
|
"name": "branch_label",
|
|
399
418
|
"required": true
|
|
400
419
|
}
|
|
401
420
|
},
|
|
402
|
-
"description": "
|
|
421
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
403
422
|
"examples": [
|
|
404
|
-
"$ xano branch
|
|
405
|
-
"$ xano branch
|
|
406
|
-
"$ xano branch
|
|
423
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
424
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
425
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
407
426
|
],
|
|
408
427
|
"flags": {
|
|
409
428
|
"config": {
|
|
@@ -435,32 +454,13 @@
|
|
|
435
454
|
"allowNo": false,
|
|
436
455
|
"type": "boolean"
|
|
437
456
|
},
|
|
438
|
-
"
|
|
439
|
-
"char": "
|
|
440
|
-
"description": "
|
|
441
|
-
"name": "
|
|
442
|
-
"required": false,
|
|
443
|
-
"hasDynamicHelp": false,
|
|
444
|
-
"multiple": false,
|
|
445
|
-
"type": "option"
|
|
446
|
-
},
|
|
447
|
-
"description": {
|
|
448
|
-
"char": "d",
|
|
449
|
-
"description": "New description for the branch",
|
|
450
|
-
"name": "description",
|
|
451
|
-
"required": false,
|
|
452
|
-
"hasDynamicHelp": false,
|
|
453
|
-
"multiple": false,
|
|
454
|
-
"type": "option"
|
|
455
|
-
},
|
|
456
|
-
"label": {
|
|
457
|
-
"char": "l",
|
|
458
|
-
"description": "New label for the branch",
|
|
459
|
-
"name": "label",
|
|
457
|
+
"force": {
|
|
458
|
+
"char": "f",
|
|
459
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
460
|
+
"name": "force",
|
|
460
461
|
"required": false,
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"type": "option"
|
|
462
|
+
"allowNo": false,
|
|
463
|
+
"type": "boolean"
|
|
464
464
|
},
|
|
465
465
|
"output": {
|
|
466
466
|
"char": "o",
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
},
|
|
489
489
|
"hasDynamicHelp": false,
|
|
490
490
|
"hiddenAliases": [],
|
|
491
|
-
"id": "branch:
|
|
491
|
+
"id": "branch:delete",
|
|
492
492
|
"pluginAlias": "@xano/cli",
|
|
493
493
|
"pluginName": "@xano/cli",
|
|
494
494
|
"pluginType": "core",
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
"dist",
|
|
500
500
|
"commands",
|
|
501
501
|
"branch",
|
|
502
|
-
"
|
|
502
|
+
"delete",
|
|
503
503
|
"index.js"
|
|
504
504
|
]
|
|
505
505
|
},
|
|
@@ -887,6 +887,110 @@
|
|
|
887
887
|
"index.js"
|
|
888
888
|
]
|
|
889
889
|
},
|
|
890
|
+
"function:get": {
|
|
891
|
+
"aliases": [],
|
|
892
|
+
"args": {
|
|
893
|
+
"function_id": {
|
|
894
|
+
"description": "Function ID",
|
|
895
|
+
"name": "function_id",
|
|
896
|
+
"required": false
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
"description": "Get a specific function from a workspace",
|
|
900
|
+
"examples": [
|
|
901
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
902
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
903
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
904
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
905
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
906
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
907
|
+
],
|
|
908
|
+
"flags": {
|
|
909
|
+
"config": {
|
|
910
|
+
"char": "c",
|
|
911
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
912
|
+
"env": "XANO_CONFIG",
|
|
913
|
+
"name": "config",
|
|
914
|
+
"required": false,
|
|
915
|
+
"hasDynamicHelp": false,
|
|
916
|
+
"multiple": false,
|
|
917
|
+
"type": "option"
|
|
918
|
+
},
|
|
919
|
+
"profile": {
|
|
920
|
+
"char": "p",
|
|
921
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
922
|
+
"env": "XANO_PROFILE",
|
|
923
|
+
"name": "profile",
|
|
924
|
+
"required": false,
|
|
925
|
+
"hasDynamicHelp": false,
|
|
926
|
+
"multiple": false,
|
|
927
|
+
"type": "option"
|
|
928
|
+
},
|
|
929
|
+
"verbose": {
|
|
930
|
+
"char": "v",
|
|
931
|
+
"description": "Show detailed request/response information",
|
|
932
|
+
"env": "XANO_VERBOSE",
|
|
933
|
+
"name": "verbose",
|
|
934
|
+
"required": false,
|
|
935
|
+
"allowNo": false,
|
|
936
|
+
"type": "boolean"
|
|
937
|
+
},
|
|
938
|
+
"include_draft": {
|
|
939
|
+
"description": "Include draft version",
|
|
940
|
+
"name": "include_draft",
|
|
941
|
+
"required": false,
|
|
942
|
+
"allowNo": false,
|
|
943
|
+
"type": "boolean"
|
|
944
|
+
},
|
|
945
|
+
"include_xanoscript": {
|
|
946
|
+
"description": "Include XanoScript in response",
|
|
947
|
+
"name": "include_xanoscript",
|
|
948
|
+
"required": false,
|
|
949
|
+
"allowNo": false,
|
|
950
|
+
"type": "boolean"
|
|
951
|
+
},
|
|
952
|
+
"output": {
|
|
953
|
+
"char": "o",
|
|
954
|
+
"description": "Output format",
|
|
955
|
+
"name": "output",
|
|
956
|
+
"required": false,
|
|
957
|
+
"default": "summary",
|
|
958
|
+
"hasDynamicHelp": false,
|
|
959
|
+
"multiple": false,
|
|
960
|
+
"options": [
|
|
961
|
+
"summary",
|
|
962
|
+
"json",
|
|
963
|
+
"xs"
|
|
964
|
+
],
|
|
965
|
+
"type": "option"
|
|
966
|
+
},
|
|
967
|
+
"workspace": {
|
|
968
|
+
"char": "w",
|
|
969
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
970
|
+
"name": "workspace",
|
|
971
|
+
"required": false,
|
|
972
|
+
"hasDynamicHelp": false,
|
|
973
|
+
"multiple": false,
|
|
974
|
+
"type": "option"
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"hasDynamicHelp": false,
|
|
978
|
+
"hiddenAliases": [],
|
|
979
|
+
"id": "function:get",
|
|
980
|
+
"pluginAlias": "@xano/cli",
|
|
981
|
+
"pluginName": "@xano/cli",
|
|
982
|
+
"pluginType": "core",
|
|
983
|
+
"strict": true,
|
|
984
|
+
"enableJsonFlag": false,
|
|
985
|
+
"isESM": true,
|
|
986
|
+
"relativePath": [
|
|
987
|
+
"dist",
|
|
988
|
+
"commands",
|
|
989
|
+
"function",
|
|
990
|
+
"get",
|
|
991
|
+
"index.js"
|
|
992
|
+
]
|
|
993
|
+
},
|
|
890
994
|
"function:edit": {
|
|
891
995
|
"aliases": [],
|
|
892
996
|
"args": {
|
|
@@ -1016,23 +1120,19 @@
|
|
|
1016
1120
|
"index.js"
|
|
1017
1121
|
]
|
|
1018
1122
|
},
|
|
1019
|
-
"
|
|
1123
|
+
"platform:get": {
|
|
1020
1124
|
"aliases": [],
|
|
1021
1125
|
"args": {
|
|
1022
|
-
"
|
|
1023
|
-
"description": "
|
|
1024
|
-
"name": "
|
|
1025
|
-
"required":
|
|
1126
|
+
"platform_id": {
|
|
1127
|
+
"description": "Platform ID to retrieve",
|
|
1128
|
+
"name": "platform_id",
|
|
1129
|
+
"required": true
|
|
1026
1130
|
}
|
|
1027
1131
|
},
|
|
1028
|
-
"description": "Get a specific
|
|
1132
|
+
"description": "Get details of a specific platform",
|
|
1029
1133
|
"examples": [
|
|
1030
|
-
"$ xano
|
|
1031
|
-
"$ xano
|
|
1032
|
-
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1033
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1034
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1035
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1134
|
+
"$ 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",
|
|
1135
|
+
"$ xano platform get 23629 -o json"
|
|
1036
1136
|
],
|
|
1037
1137
|
"flags": {
|
|
1038
1138
|
"config": {
|
|
@@ -1064,20 +1164,6 @@
|
|
|
1064
1164
|
"allowNo": false,
|
|
1065
1165
|
"type": "boolean"
|
|
1066
1166
|
},
|
|
1067
|
-
"include_draft": {
|
|
1068
|
-
"description": "Include draft version",
|
|
1069
|
-
"name": "include_draft",
|
|
1070
|
-
"required": false,
|
|
1071
|
-
"allowNo": false,
|
|
1072
|
-
"type": "boolean"
|
|
1073
|
-
},
|
|
1074
|
-
"include_xanoscript": {
|
|
1075
|
-
"description": "Include XanoScript in response",
|
|
1076
|
-
"name": "include_xanoscript",
|
|
1077
|
-
"required": false,
|
|
1078
|
-
"allowNo": false,
|
|
1079
|
-
"type": "boolean"
|
|
1080
|
-
},
|
|
1081
1167
|
"output": {
|
|
1082
1168
|
"char": "o",
|
|
1083
1169
|
"description": "Output format",
|
|
@@ -1088,24 +1174,14 @@
|
|
|
1088
1174
|
"multiple": false,
|
|
1089
1175
|
"options": [
|
|
1090
1176
|
"summary",
|
|
1091
|
-
"json"
|
|
1092
|
-
"xs"
|
|
1177
|
+
"json"
|
|
1093
1178
|
],
|
|
1094
1179
|
"type": "option"
|
|
1095
|
-
},
|
|
1096
|
-
"workspace": {
|
|
1097
|
-
"char": "w",
|
|
1098
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1099
|
-
"name": "workspace",
|
|
1100
|
-
"required": false,
|
|
1101
|
-
"hasDynamicHelp": false,
|
|
1102
|
-
"multiple": false,
|
|
1103
|
-
"type": "option"
|
|
1104
1180
|
}
|
|
1105
1181
|
},
|
|
1106
1182
|
"hasDynamicHelp": false,
|
|
1107
1183
|
"hiddenAliases": [],
|
|
1108
|
-
"id": "
|
|
1184
|
+
"id": "platform:get",
|
|
1109
1185
|
"pluginAlias": "@xano/cli",
|
|
1110
1186
|
"pluginName": "@xano/cli",
|
|
1111
1187
|
"pluginType": "core",
|
|
@@ -1115,7 +1191,7 @@
|
|
|
1115
1191
|
"relativePath": [
|
|
1116
1192
|
"dist",
|
|
1117
1193
|
"commands",
|
|
1118
|
-
"
|
|
1194
|
+
"platform",
|
|
1119
1195
|
"get",
|
|
1120
1196
|
"index.js"
|
|
1121
1197
|
]
|
|
@@ -1255,83 +1331,7 @@
|
|
|
1255
1331
|
"index.js"
|
|
1256
1332
|
]
|
|
1257
1333
|
},
|
|
1258
|
-
"platform:
|
|
1259
|
-
"aliases": [],
|
|
1260
|
-
"args": {
|
|
1261
|
-
"platform_id": {
|
|
1262
|
-
"description": "Platform ID to retrieve",
|
|
1263
|
-
"name": "platform_id",
|
|
1264
|
-
"required": true
|
|
1265
|
-
}
|
|
1266
|
-
},
|
|
1267
|
-
"description": "Get details of a specific platform",
|
|
1268
|
-
"examples": [
|
|
1269
|
-
"$ 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",
|
|
1270
|
-
"$ xano platform get 23629 -o json"
|
|
1271
|
-
],
|
|
1272
|
-
"flags": {
|
|
1273
|
-
"config": {
|
|
1274
|
-
"char": "c",
|
|
1275
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
1276
|
-
"env": "XANO_CONFIG",
|
|
1277
|
-
"name": "config",
|
|
1278
|
-
"required": false,
|
|
1279
|
-
"hasDynamicHelp": false,
|
|
1280
|
-
"multiple": false,
|
|
1281
|
-
"type": "option"
|
|
1282
|
-
},
|
|
1283
|
-
"profile": {
|
|
1284
|
-
"char": "p",
|
|
1285
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1286
|
-
"env": "XANO_PROFILE",
|
|
1287
|
-
"name": "profile",
|
|
1288
|
-
"required": false,
|
|
1289
|
-
"hasDynamicHelp": false,
|
|
1290
|
-
"multiple": false,
|
|
1291
|
-
"type": "option"
|
|
1292
|
-
},
|
|
1293
|
-
"verbose": {
|
|
1294
|
-
"char": "v",
|
|
1295
|
-
"description": "Show detailed request/response information",
|
|
1296
|
-
"env": "XANO_VERBOSE",
|
|
1297
|
-
"name": "verbose",
|
|
1298
|
-
"required": false,
|
|
1299
|
-
"allowNo": false,
|
|
1300
|
-
"type": "boolean"
|
|
1301
|
-
},
|
|
1302
|
-
"output": {
|
|
1303
|
-
"char": "o",
|
|
1304
|
-
"description": "Output format",
|
|
1305
|
-
"name": "output",
|
|
1306
|
-
"required": false,
|
|
1307
|
-
"default": "summary",
|
|
1308
|
-
"hasDynamicHelp": false,
|
|
1309
|
-
"multiple": false,
|
|
1310
|
-
"options": [
|
|
1311
|
-
"summary",
|
|
1312
|
-
"json"
|
|
1313
|
-
],
|
|
1314
|
-
"type": "option"
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
"hasDynamicHelp": false,
|
|
1318
|
-
"hiddenAliases": [],
|
|
1319
|
-
"id": "platform:get",
|
|
1320
|
-
"pluginAlias": "@xano/cli",
|
|
1321
|
-
"pluginName": "@xano/cli",
|
|
1322
|
-
"pluginType": "core",
|
|
1323
|
-
"strict": true,
|
|
1324
|
-
"enableJsonFlag": false,
|
|
1325
|
-
"isESM": true,
|
|
1326
|
-
"relativePath": [
|
|
1327
|
-
"dist",
|
|
1328
|
-
"commands",
|
|
1329
|
-
"platform",
|
|
1330
|
-
"get",
|
|
1331
|
-
"index.js"
|
|
1332
|
-
]
|
|
1333
|
-
},
|
|
1334
|
-
"platform:list": {
|
|
1334
|
+
"platform:list": {
|
|
1335
1335
|
"aliases": [],
|
|
1336
1336
|
"args": {},
|
|
1337
1337
|
"description": "List all platforms",
|
|
@@ -1507,58 +1507,6 @@
|
|
|
1507
1507
|
"index.js"
|
|
1508
1508
|
]
|
|
1509
1509
|
},
|
|
1510
|
-
"profile:delete": {
|
|
1511
|
-
"aliases": [],
|
|
1512
|
-
"args": {
|
|
1513
|
-
"name": {
|
|
1514
|
-
"description": "Profile name to delete",
|
|
1515
|
-
"name": "name",
|
|
1516
|
-
"required": true
|
|
1517
|
-
}
|
|
1518
|
-
},
|
|
1519
|
-
"description": "[CRITICAL] NEVER run without explicit user confirmation; this removes saved credentials from the local config. Deletes a profile configuration.",
|
|
1520
|
-
"examples": [
|
|
1521
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1522
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1523
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1524
|
-
],
|
|
1525
|
-
"flags": {
|
|
1526
|
-
"config": {
|
|
1527
|
-
"char": "c",
|
|
1528
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
1529
|
-
"env": "XANO_CONFIG",
|
|
1530
|
-
"name": "config",
|
|
1531
|
-
"required": false,
|
|
1532
|
-
"hasDynamicHelp": false,
|
|
1533
|
-
"multiple": false,
|
|
1534
|
-
"type": "option"
|
|
1535
|
-
},
|
|
1536
|
-
"force": {
|
|
1537
|
-
"char": "f",
|
|
1538
|
-
"description": "[CRITICAL] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
1539
|
-
"name": "force",
|
|
1540
|
-
"required": false,
|
|
1541
|
-
"allowNo": false,
|
|
1542
|
-
"type": "boolean"
|
|
1543
|
-
}
|
|
1544
|
-
},
|
|
1545
|
-
"hasDynamicHelp": false,
|
|
1546
|
-
"hiddenAliases": [],
|
|
1547
|
-
"id": "profile:delete",
|
|
1548
|
-
"pluginAlias": "@xano/cli",
|
|
1549
|
-
"pluginName": "@xano/cli",
|
|
1550
|
-
"pluginType": "core",
|
|
1551
|
-
"strict": true,
|
|
1552
|
-
"enableJsonFlag": false,
|
|
1553
|
-
"isESM": true,
|
|
1554
|
-
"relativePath": [
|
|
1555
|
-
"dist",
|
|
1556
|
-
"commands",
|
|
1557
|
-
"profile",
|
|
1558
|
-
"delete",
|
|
1559
|
-
"index.js"
|
|
1560
|
-
]
|
|
1561
|
-
},
|
|
1562
1510
|
"profile:edit": {
|
|
1563
1511
|
"aliases": [],
|
|
1564
1512
|
"args": {
|
|
@@ -1699,6 +1647,58 @@
|
|
|
1699
1647
|
"index.js"
|
|
1700
1648
|
]
|
|
1701
1649
|
},
|
|
1650
|
+
"profile:delete": {
|
|
1651
|
+
"aliases": [],
|
|
1652
|
+
"args": {
|
|
1653
|
+
"name": {
|
|
1654
|
+
"description": "Profile name to delete",
|
|
1655
|
+
"name": "name",
|
|
1656
|
+
"required": true
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation; this removes saved credentials from the local config. Deletes a profile configuration.",
|
|
1660
|
+
"examples": [
|
|
1661
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1662
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1663
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1664
|
+
],
|
|
1665
|
+
"flags": {
|
|
1666
|
+
"config": {
|
|
1667
|
+
"char": "c",
|
|
1668
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
1669
|
+
"env": "XANO_CONFIG",
|
|
1670
|
+
"name": "config",
|
|
1671
|
+
"required": false,
|
|
1672
|
+
"hasDynamicHelp": false,
|
|
1673
|
+
"multiple": false,
|
|
1674
|
+
"type": "option"
|
|
1675
|
+
},
|
|
1676
|
+
"force": {
|
|
1677
|
+
"char": "f",
|
|
1678
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
1679
|
+
"name": "force",
|
|
1680
|
+
"required": false,
|
|
1681
|
+
"allowNo": false,
|
|
1682
|
+
"type": "boolean"
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
"hasDynamicHelp": false,
|
|
1686
|
+
"hiddenAliases": [],
|
|
1687
|
+
"id": "profile:delete",
|
|
1688
|
+
"pluginAlias": "@xano/cli",
|
|
1689
|
+
"pluginName": "@xano/cli",
|
|
1690
|
+
"pluginType": "core",
|
|
1691
|
+
"strict": true,
|
|
1692
|
+
"enableJsonFlag": false,
|
|
1693
|
+
"isESM": true,
|
|
1694
|
+
"relativePath": [
|
|
1695
|
+
"dist",
|
|
1696
|
+
"commands",
|
|
1697
|
+
"profile",
|
|
1698
|
+
"delete",
|
|
1699
|
+
"index.js"
|
|
1700
|
+
]
|
|
1701
|
+
},
|
|
1702
1702
|
"profile:get": {
|
|
1703
1703
|
"aliases": [],
|
|
1704
1704
|
"args": {},
|
|
@@ -1894,43 +1894,6 @@
|
|
|
1894
1894
|
"index.js"
|
|
1895
1895
|
]
|
|
1896
1896
|
},
|
|
1897
|
-
"profile:token": {
|
|
1898
|
-
"aliases": [],
|
|
1899
|
-
"args": {},
|
|
1900
|
-
"description": "Print the access token for the default profile",
|
|
1901
|
-
"examples": [
|
|
1902
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1903
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1904
|
-
],
|
|
1905
|
-
"flags": {
|
|
1906
|
-
"config": {
|
|
1907
|
-
"char": "c",
|
|
1908
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
1909
|
-
"env": "XANO_CONFIG",
|
|
1910
|
-
"name": "config",
|
|
1911
|
-
"required": false,
|
|
1912
|
-
"hasDynamicHelp": false,
|
|
1913
|
-
"multiple": false,
|
|
1914
|
-
"type": "option"
|
|
1915
|
-
}
|
|
1916
|
-
},
|
|
1917
|
-
"hasDynamicHelp": false,
|
|
1918
|
-
"hiddenAliases": [],
|
|
1919
|
-
"id": "profile:token",
|
|
1920
|
-
"pluginAlias": "@xano/cli",
|
|
1921
|
-
"pluginName": "@xano/cli",
|
|
1922
|
-
"pluginType": "core",
|
|
1923
|
-
"strict": true,
|
|
1924
|
-
"enableJsonFlag": false,
|
|
1925
|
-
"isESM": true,
|
|
1926
|
-
"relativePath": [
|
|
1927
|
-
"dist",
|
|
1928
|
-
"commands",
|
|
1929
|
-
"profile",
|
|
1930
|
-
"token",
|
|
1931
|
-
"index.js"
|
|
1932
|
-
]
|
|
1933
|
-
},
|
|
1934
1897
|
"profile:use": {
|
|
1935
1898
|
"aliases": [],
|
|
1936
1899
|
"args": {
|
|
@@ -2018,6 +1981,43 @@
|
|
|
2018
1981
|
"index.js"
|
|
2019
1982
|
]
|
|
2020
1983
|
},
|
|
1984
|
+
"profile:token": {
|
|
1985
|
+
"aliases": [],
|
|
1986
|
+
"args": {},
|
|
1987
|
+
"description": "Print the access token for the default profile",
|
|
1988
|
+
"examples": [
|
|
1989
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1990
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1991
|
+
],
|
|
1992
|
+
"flags": {
|
|
1993
|
+
"config": {
|
|
1994
|
+
"char": "c",
|
|
1995
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
1996
|
+
"env": "XANO_CONFIG",
|
|
1997
|
+
"name": "config",
|
|
1998
|
+
"required": false,
|
|
1999
|
+
"hasDynamicHelp": false,
|
|
2000
|
+
"multiple": false,
|
|
2001
|
+
"type": "option"
|
|
2002
|
+
}
|
|
2003
|
+
},
|
|
2004
|
+
"hasDynamicHelp": false,
|
|
2005
|
+
"hiddenAliases": [],
|
|
2006
|
+
"id": "profile:token",
|
|
2007
|
+
"pluginAlias": "@xano/cli",
|
|
2008
|
+
"pluginName": "@xano/cli",
|
|
2009
|
+
"pluginType": "core",
|
|
2010
|
+
"strict": true,
|
|
2011
|
+
"enableJsonFlag": false,
|
|
2012
|
+
"isESM": true,
|
|
2013
|
+
"relativePath": [
|
|
2014
|
+
"dist",
|
|
2015
|
+
"commands",
|
|
2016
|
+
"profile",
|
|
2017
|
+
"token",
|
|
2018
|
+
"index.js"
|
|
2019
|
+
]
|
|
2020
|
+
},
|
|
2021
2021
|
"profile:wizard": {
|
|
2022
2022
|
"aliases": [],
|
|
2023
2023
|
"args": {},
|
|
@@ -3255,15 +3255,14 @@
|
|
|
3255
3255
|
"index.js"
|
|
3256
3256
|
]
|
|
3257
3257
|
},
|
|
3258
|
-
"sandbox:
|
|
3258
|
+
"sandbox:pull": {
|
|
3259
3259
|
"aliases": [],
|
|
3260
3260
|
"args": {},
|
|
3261
|
-
"description": "
|
|
3261
|
+
"description": "Pull documents from your sandbox environment and split into individual files",
|
|
3262
3262
|
"examples": [
|
|
3263
|
-
"$ xano sandbox
|
|
3264
|
-
"$ xano sandbox
|
|
3265
|
-
"$ xano sandbox
|
|
3266
|
-
"$ xano sandbox review --insecure"
|
|
3263
|
+
"$ xano sandbox pull\nPulled 42 documents from sandbox environment to current directory\n",
|
|
3264
|
+
"$ xano sandbox pull -d ./my-sandbox\nPulled 42 documents from sandbox environment to ./my-sandbox\n",
|
|
3265
|
+
"$ xano sandbox pull --env --records"
|
|
3267
3266
|
],
|
|
3268
3267
|
"flags": {
|
|
3269
3268
|
"config": {
|
|
@@ -3295,41 +3294,41 @@
|
|
|
3295
3294
|
"allowNo": false,
|
|
3296
3295
|
"type": "boolean"
|
|
3297
3296
|
},
|
|
3298
|
-
"
|
|
3299
|
-
"char": "
|
|
3300
|
-
"description": "
|
|
3301
|
-
"name": "
|
|
3297
|
+
"directory": {
|
|
3298
|
+
"char": "d",
|
|
3299
|
+
"description": "Output directory for pulled documents (defaults to current directory)",
|
|
3300
|
+
"name": "directory",
|
|
3301
|
+
"required": false,
|
|
3302
|
+
"default": ".",
|
|
3303
|
+
"hasDynamicHelp": false,
|
|
3304
|
+
"multiple": false,
|
|
3305
|
+
"type": "option"
|
|
3306
|
+
},
|
|
3307
|
+
"draft": {
|
|
3308
|
+
"description": "Include draft versions",
|
|
3309
|
+
"name": "draft",
|
|
3302
3310
|
"required": false,
|
|
3303
3311
|
"allowNo": false,
|
|
3304
3312
|
"type": "boolean"
|
|
3305
3313
|
},
|
|
3306
|
-
"
|
|
3307
|
-
"
|
|
3308
|
-
"
|
|
3309
|
-
"name": "output",
|
|
3314
|
+
"env": {
|
|
3315
|
+
"description": "Include environment variables",
|
|
3316
|
+
"name": "env",
|
|
3310
3317
|
"required": false,
|
|
3311
|
-
"
|
|
3312
|
-
"
|
|
3313
|
-
"multiple": false,
|
|
3314
|
-
"options": [
|
|
3315
|
-
"summary",
|
|
3316
|
-
"json"
|
|
3317
|
-
],
|
|
3318
|
-
"type": "option"
|
|
3318
|
+
"allowNo": false,
|
|
3319
|
+
"type": "boolean"
|
|
3319
3320
|
},
|
|
3320
|
-
"
|
|
3321
|
-
"
|
|
3322
|
-
"
|
|
3323
|
-
"name": "url-only",
|
|
3321
|
+
"records": {
|
|
3322
|
+
"description": "Include records",
|
|
3323
|
+
"name": "records",
|
|
3324
3324
|
"required": false,
|
|
3325
3325
|
"allowNo": false,
|
|
3326
3326
|
"type": "boolean"
|
|
3327
3327
|
}
|
|
3328
3328
|
},
|
|
3329
3329
|
"hasDynamicHelp": false,
|
|
3330
|
-
"hidden": true,
|
|
3331
3330
|
"hiddenAliases": [],
|
|
3332
|
-
"id": "sandbox:
|
|
3331
|
+
"id": "sandbox:pull",
|
|
3333
3332
|
"pluginAlias": "@xano/cli",
|
|
3334
3333
|
"pluginName": "@xano/cli",
|
|
3335
3334
|
"pluginType": "core",
|
|
@@ -3340,18 +3339,19 @@
|
|
|
3340
3339
|
"dist",
|
|
3341
3340
|
"commands",
|
|
3342
3341
|
"sandbox",
|
|
3343
|
-
"
|
|
3342
|
+
"pull",
|
|
3344
3343
|
"index.js"
|
|
3345
3344
|
]
|
|
3346
3345
|
},
|
|
3347
|
-
"sandbox:
|
|
3346
|
+
"sandbox:impersonate": {
|
|
3348
3347
|
"aliases": [],
|
|
3349
3348
|
"args": {},
|
|
3350
|
-
"description": "
|
|
3349
|
+
"description": "Alias for \"sandbox review\"",
|
|
3351
3350
|
"examples": [
|
|
3352
|
-
"$ xano sandbox
|
|
3353
|
-
"$ xano sandbox
|
|
3354
|
-
"$ xano sandbox
|
|
3351
|
+
"$ xano sandbox review\nOpening browser...\nReview session started!\n",
|
|
3352
|
+
"$ xano sandbox review -u",
|
|
3353
|
+
"$ xano sandbox review -o json",
|
|
3354
|
+
"$ xano sandbox review --insecure"
|
|
3355
3355
|
],
|
|
3356
3356
|
"flags": {
|
|
3357
3357
|
"config": {
|
|
@@ -3383,41 +3383,41 @@
|
|
|
3383
3383
|
"allowNo": false,
|
|
3384
3384
|
"type": "boolean"
|
|
3385
3385
|
},
|
|
3386
|
-
"
|
|
3387
|
-
"char": "
|
|
3388
|
-
"description": "
|
|
3389
|
-
"name": "
|
|
3390
|
-
"required": false,
|
|
3391
|
-
"default": ".",
|
|
3392
|
-
"hasDynamicHelp": false,
|
|
3393
|
-
"multiple": false,
|
|
3394
|
-
"type": "option"
|
|
3395
|
-
},
|
|
3396
|
-
"draft": {
|
|
3397
|
-
"description": "Include draft versions",
|
|
3398
|
-
"name": "draft",
|
|
3386
|
+
"insecure": {
|
|
3387
|
+
"char": "k",
|
|
3388
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
3389
|
+
"name": "insecure",
|
|
3399
3390
|
"required": false,
|
|
3400
3391
|
"allowNo": false,
|
|
3401
3392
|
"type": "boolean"
|
|
3402
3393
|
},
|
|
3403
|
-
"
|
|
3404
|
-
"
|
|
3405
|
-
"
|
|
3394
|
+
"output": {
|
|
3395
|
+
"char": "o",
|
|
3396
|
+
"description": "Output format",
|
|
3397
|
+
"name": "output",
|
|
3406
3398
|
"required": false,
|
|
3407
|
-
"
|
|
3408
|
-
"
|
|
3399
|
+
"default": "summary",
|
|
3400
|
+
"hasDynamicHelp": false,
|
|
3401
|
+
"multiple": false,
|
|
3402
|
+
"options": [
|
|
3403
|
+
"summary",
|
|
3404
|
+
"json"
|
|
3405
|
+
],
|
|
3406
|
+
"type": "option"
|
|
3409
3407
|
},
|
|
3410
|
-
"
|
|
3411
|
-
"
|
|
3412
|
-
"
|
|
3408
|
+
"url-only": {
|
|
3409
|
+
"char": "u",
|
|
3410
|
+
"description": "Print the URL without opening the browser",
|
|
3411
|
+
"name": "url-only",
|
|
3413
3412
|
"required": false,
|
|
3414
3413
|
"allowNo": false,
|
|
3415
3414
|
"type": "boolean"
|
|
3416
3415
|
}
|
|
3417
3416
|
},
|
|
3418
3417
|
"hasDynamicHelp": false,
|
|
3418
|
+
"hidden": true,
|
|
3419
3419
|
"hiddenAliases": [],
|
|
3420
|
-
"id": "sandbox:
|
|
3420
|
+
"id": "sandbox:impersonate",
|
|
3421
3421
|
"pluginAlias": "@xano/cli",
|
|
3422
3422
|
"pluginName": "@xano/cli",
|
|
3423
3423
|
"pluginType": "core",
|
|
@@ -3428,7 +3428,7 @@
|
|
|
3428
3428
|
"dist",
|
|
3429
3429
|
"commands",
|
|
3430
3430
|
"sandbox",
|
|
3431
|
-
"
|
|
3431
|
+
"impersonate",
|
|
3432
3432
|
"index.js"
|
|
3433
3433
|
]
|
|
3434
3434
|
},
|
|
@@ -3821,21 +3821,20 @@
|
|
|
3821
3821
|
"index.js"
|
|
3822
3822
|
]
|
|
3823
3823
|
},
|
|
3824
|
-
"static_host:
|
|
3824
|
+
"static_host:edit": {
|
|
3825
3825
|
"aliases": [],
|
|
3826
3826
|
"args": {
|
|
3827
3827
|
"static_host": {
|
|
3828
|
-
"description": "Static Host name",
|
|
3828
|
+
"description": "Static Host name to edit",
|
|
3829
3829
|
"name": "static_host",
|
|
3830
3830
|
"required": true
|
|
3831
3831
|
}
|
|
3832
3832
|
},
|
|
3833
|
-
"description": "
|
|
3833
|
+
"description": "Update a static host's name, description, or git configuration",
|
|
3834
3834
|
"examples": [
|
|
3835
|
-
"$ xano static_host
|
|
3836
|
-
"$ xano static_host
|
|
3837
|
-
"$ xano static_host
|
|
3838
|
-
"$ xano static_host deploy default --build_id 52 --env prod -o json"
|
|
3835
|
+
"$ xano static_host edit newsite --description \"Marketing site\"\nUpdated static host 'newsite'\n",
|
|
3836
|
+
"$ xano static_host edit newsite --name newsite-v2\nUpdated static host 'newsite' (renamed to 'newsite-v2')\n",
|
|
3837
|
+
"$ xano static_host edit newsite --git-repo git@github.com:me/site.git --git-private-key-file ./deploy_key\nUpdated static host 'newsite'\n"
|
|
3839
3838
|
],
|
|
3840
3839
|
"flags": {
|
|
3841
3840
|
"config": {
|
|
@@ -3867,24 +3866,44 @@
|
|
|
3867
3866
|
"allowNo": false,
|
|
3868
3867
|
"type": "boolean"
|
|
3869
3868
|
},
|
|
3870
|
-
"
|
|
3871
|
-
"description": "
|
|
3872
|
-
"name": "
|
|
3873
|
-
"required":
|
|
3869
|
+
"description": {
|
|
3870
|
+
"description": "New description for the static host",
|
|
3871
|
+
"name": "description",
|
|
3872
|
+
"required": false,
|
|
3874
3873
|
"hasDynamicHelp": false,
|
|
3875
3874
|
"multiple": false,
|
|
3876
3875
|
"type": "option"
|
|
3877
3876
|
},
|
|
3878
|
-
"
|
|
3879
|
-
"description": "
|
|
3880
|
-
"name": "
|
|
3881
|
-
"required":
|
|
3877
|
+
"git-private-key-file": {
|
|
3878
|
+
"description": "Path to a file containing the git SSH private key (read from disk; never passed on the command line)",
|
|
3879
|
+
"name": "git-private-key-file",
|
|
3880
|
+
"required": false,
|
|
3881
|
+
"hasDynamicHelp": false,
|
|
3882
|
+
"multiple": false,
|
|
3883
|
+
"type": "option"
|
|
3884
|
+
},
|
|
3885
|
+
"git-public-key": {
|
|
3886
|
+
"description": "Git SSH public key",
|
|
3887
|
+
"name": "git-public-key",
|
|
3888
|
+
"required": false,
|
|
3889
|
+
"hasDynamicHelp": false,
|
|
3890
|
+
"multiple": false,
|
|
3891
|
+
"type": "option"
|
|
3892
|
+
},
|
|
3893
|
+
"git-repo": {
|
|
3894
|
+
"description": "Git repository URL (e.g. git@github.com:org/repo.git)",
|
|
3895
|
+
"name": "git-repo",
|
|
3896
|
+
"required": false,
|
|
3897
|
+
"hasDynamicHelp": false,
|
|
3898
|
+
"multiple": false,
|
|
3899
|
+
"type": "option"
|
|
3900
|
+
},
|
|
3901
|
+
"name": {
|
|
3902
|
+
"description": "New name for the static host (renaming changes the deployed hostname)",
|
|
3903
|
+
"name": "name",
|
|
3904
|
+
"required": false,
|
|
3882
3905
|
"hasDynamicHelp": false,
|
|
3883
3906
|
"multiple": false,
|
|
3884
|
-
"options": [
|
|
3885
|
-
"dev",
|
|
3886
|
-
"prod"
|
|
3887
|
-
],
|
|
3888
3907
|
"type": "option"
|
|
3889
3908
|
},
|
|
3890
3909
|
"output": {
|
|
@@ -3913,7 +3932,7 @@
|
|
|
3913
3932
|
},
|
|
3914
3933
|
"hasDynamicHelp": false,
|
|
3915
3934
|
"hiddenAliases": [],
|
|
3916
|
-
"id": "static_host:
|
|
3935
|
+
"id": "static_host:edit",
|
|
3917
3936
|
"pluginAlias": "@xano/cli",
|
|
3918
3937
|
"pluginName": "@xano/cli",
|
|
3919
3938
|
"pluginType": "core",
|
|
@@ -3924,24 +3943,25 @@
|
|
|
3924
3943
|
"dist",
|
|
3925
3944
|
"commands",
|
|
3926
3945
|
"static_host",
|
|
3927
|
-
"
|
|
3946
|
+
"edit",
|
|
3928
3947
|
"index.js"
|
|
3929
3948
|
]
|
|
3930
3949
|
},
|
|
3931
|
-
"static_host:
|
|
3950
|
+
"static_host:deploy": {
|
|
3932
3951
|
"aliases": [],
|
|
3933
3952
|
"args": {
|
|
3934
3953
|
"static_host": {
|
|
3935
|
-
"description": "Static Host name
|
|
3954
|
+
"description": "Static Host name",
|
|
3936
3955
|
"name": "static_host",
|
|
3937
3956
|
"required": true
|
|
3938
3957
|
}
|
|
3939
3958
|
},
|
|
3940
|
-
"description": "
|
|
3959
|
+
"description": "Deploy a static host build to an environment",
|
|
3941
3960
|
"examples": [
|
|
3942
|
-
"$ xano static_host
|
|
3943
|
-
"$ xano static_host
|
|
3944
|
-
"$ xano static_host
|
|
3961
|
+
"$ xano static_host deploy default --build_id 52 --env dev\nDeployed build 52 to dev\nURL: https://x1234-abcd.static.xano.io\n",
|
|
3962
|
+
"$ xano static_host deploy default --build_id 52 --env prod\nDeployed build 52 to prod\nURL: https://x1234-abcd.static.xano.io\n",
|
|
3963
|
+
"$ xano static_host deploy myhost --build_id 123 --env dev -w 40\nDeployed build 123 to dev\n",
|
|
3964
|
+
"$ xano static_host deploy default --build_id 52 --env prod -o json"
|
|
3945
3965
|
],
|
|
3946
3966
|
"flags": {
|
|
3947
3967
|
"config": {
|
|
@@ -3973,44 +3993,24 @@
|
|
|
3973
3993
|
"allowNo": false,
|
|
3974
3994
|
"type": "boolean"
|
|
3975
3995
|
},
|
|
3976
|
-
"
|
|
3977
|
-
"description": "
|
|
3978
|
-
"name": "
|
|
3979
|
-
"required":
|
|
3980
|
-
"hasDynamicHelp": false,
|
|
3981
|
-
"multiple": false,
|
|
3982
|
-
"type": "option"
|
|
3983
|
-
},
|
|
3984
|
-
"git-private-key-file": {
|
|
3985
|
-
"description": "Path to a file containing the git SSH private key (read from disk; never passed on the command line)",
|
|
3986
|
-
"name": "git-private-key-file",
|
|
3987
|
-
"required": false,
|
|
3988
|
-
"hasDynamicHelp": false,
|
|
3989
|
-
"multiple": false,
|
|
3990
|
-
"type": "option"
|
|
3991
|
-
},
|
|
3992
|
-
"git-public-key": {
|
|
3993
|
-
"description": "Git SSH public key",
|
|
3994
|
-
"name": "git-public-key",
|
|
3995
|
-
"required": false,
|
|
3996
|
-
"hasDynamicHelp": false,
|
|
3997
|
-
"multiple": false,
|
|
3998
|
-
"type": "option"
|
|
3999
|
-
},
|
|
4000
|
-
"git-repo": {
|
|
4001
|
-
"description": "Git repository URL (e.g. git@github.com:org/repo.git)",
|
|
4002
|
-
"name": "git-repo",
|
|
4003
|
-
"required": false,
|
|
3996
|
+
"build_id": {
|
|
3997
|
+
"description": "Build ID to deploy",
|
|
3998
|
+
"name": "build_id",
|
|
3999
|
+
"required": true,
|
|
4004
4000
|
"hasDynamicHelp": false,
|
|
4005
4001
|
"multiple": false,
|
|
4006
4002
|
"type": "option"
|
|
4007
4003
|
},
|
|
4008
|
-
"
|
|
4009
|
-
"description": "
|
|
4010
|
-
"name": "
|
|
4011
|
-
"required":
|
|
4004
|
+
"env": {
|
|
4005
|
+
"description": "Target environment",
|
|
4006
|
+
"name": "env",
|
|
4007
|
+
"required": true,
|
|
4012
4008
|
"hasDynamicHelp": false,
|
|
4013
4009
|
"multiple": false,
|
|
4010
|
+
"options": [
|
|
4011
|
+
"dev",
|
|
4012
|
+
"prod"
|
|
4013
|
+
],
|
|
4014
4014
|
"type": "option"
|
|
4015
4015
|
},
|
|
4016
4016
|
"output": {
|
|
@@ -4039,7 +4039,7 @@
|
|
|
4039
4039
|
},
|
|
4040
4040
|
"hasDynamicHelp": false,
|
|
4041
4041
|
"hiddenAliases": [],
|
|
4042
|
-
"id": "static_host:
|
|
4042
|
+
"id": "static_host:deploy",
|
|
4043
4043
|
"pluginAlias": "@xano/cli",
|
|
4044
4044
|
"pluginName": "@xano/cli",
|
|
4045
4045
|
"pluginType": "core",
|
|
@@ -4050,7 +4050,7 @@
|
|
|
4050
4050
|
"dist",
|
|
4051
4051
|
"commands",
|
|
4052
4052
|
"static_host",
|
|
4053
|
-
"
|
|
4053
|
+
"deploy",
|
|
4054
4054
|
"index.js"
|
|
4055
4055
|
]
|
|
4056
4056
|
},
|
|
@@ -4505,20 +4505,20 @@
|
|
|
4505
4505
|
"index.js"
|
|
4506
4506
|
]
|
|
4507
4507
|
},
|
|
4508
|
-
"tenant:
|
|
4508
|
+
"tenant:delete": {
|
|
4509
4509
|
"aliases": [],
|
|
4510
4510
|
"args": {
|
|
4511
4511
|
"tenant_name": {
|
|
4512
|
-
"description": "Tenant name to
|
|
4512
|
+
"description": "Tenant name to delete",
|
|
4513
4513
|
"name": "tenant_name",
|
|
4514
4514
|
"required": true
|
|
4515
4515
|
}
|
|
4516
4516
|
},
|
|
4517
|
-
"description": "
|
|
4517
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
4518
4518
|
"examples": [
|
|
4519
|
-
"$ xano tenant
|
|
4520
|
-
"$ xano tenant
|
|
4521
|
-
"$ xano tenant
|
|
4519
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
4520
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
4521
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
4522
4522
|
],
|
|
4523
4523
|
"flags": {
|
|
4524
4524
|
"config": {
|
|
@@ -4550,14 +4550,13 @@
|
|
|
4550
4550
|
"allowNo": false,
|
|
4551
4551
|
"type": "boolean"
|
|
4552
4552
|
},
|
|
4553
|
-
"
|
|
4554
|
-
"char": "
|
|
4555
|
-
"description": "
|
|
4556
|
-
"name": "
|
|
4553
|
+
"force": {
|
|
4554
|
+
"char": "f",
|
|
4555
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
4556
|
+
"name": "force",
|
|
4557
4557
|
"required": false,
|
|
4558
|
-
"
|
|
4559
|
-
"
|
|
4560
|
-
"type": "option"
|
|
4558
|
+
"allowNo": false,
|
|
4559
|
+
"type": "boolean"
|
|
4561
4560
|
},
|
|
4562
4561
|
"output": {
|
|
4563
4562
|
"char": "o",
|
|
@@ -4573,14 +4572,6 @@
|
|
|
4573
4572
|
],
|
|
4574
4573
|
"type": "option"
|
|
4575
4574
|
},
|
|
4576
|
-
"platform_id": {
|
|
4577
|
-
"description": "Platform ID to deploy",
|
|
4578
|
-
"name": "platform_id",
|
|
4579
|
-
"required": true,
|
|
4580
|
-
"hasDynamicHelp": false,
|
|
4581
|
-
"multiple": false,
|
|
4582
|
-
"type": "option"
|
|
4583
|
-
},
|
|
4584
4575
|
"workspace": {
|
|
4585
4576
|
"char": "w",
|
|
4586
4577
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -4593,7 +4584,7 @@
|
|
|
4593
4584
|
},
|
|
4594
4585
|
"hasDynamicHelp": false,
|
|
4595
4586
|
"hiddenAliases": [],
|
|
4596
|
-
"id": "tenant:
|
|
4587
|
+
"id": "tenant:delete",
|
|
4597
4588
|
"pluginAlias": "@xano/cli",
|
|
4598
4589
|
"pluginName": "@xano/cli",
|
|
4599
4590
|
"pluginType": "core",
|
|
@@ -4604,24 +4595,24 @@
|
|
|
4604
4595
|
"dist",
|
|
4605
4596
|
"commands",
|
|
4606
4597
|
"tenant",
|
|
4607
|
-
"
|
|
4598
|
+
"delete",
|
|
4608
4599
|
"index.js"
|
|
4609
4600
|
]
|
|
4610
4601
|
},
|
|
4611
|
-
"tenant:
|
|
4602
|
+
"tenant:deploy_platform": {
|
|
4612
4603
|
"aliases": [],
|
|
4613
4604
|
"args": {
|
|
4614
4605
|
"tenant_name": {
|
|
4615
|
-
"description": "Tenant name to
|
|
4606
|
+
"description": "Tenant name to deploy to",
|
|
4616
4607
|
"name": "tenant_name",
|
|
4617
4608
|
"required": true
|
|
4618
4609
|
}
|
|
4619
4610
|
},
|
|
4620
|
-
"description": "
|
|
4611
|
+
"description": "[CRITICAL] STOP and confirm with the user before deploying a platform version to a tenant; this mutates the live tenant. Deploys a platform version to a tenant.",
|
|
4621
4612
|
"examples": [
|
|
4622
|
-
"$ xano tenant
|
|
4623
|
-
"$ xano tenant
|
|
4624
|
-
"$ xano tenant
|
|
4613
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
4614
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
|
|
4615
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
4625
4616
|
],
|
|
4626
4617
|
"flags": {
|
|
4627
4618
|
"config": {
|
|
@@ -4653,13 +4644,14 @@
|
|
|
4653
4644
|
"allowNo": false,
|
|
4654
4645
|
"type": "boolean"
|
|
4655
4646
|
},
|
|
4656
|
-
"
|
|
4657
|
-
"char": "
|
|
4658
|
-
"description": "
|
|
4659
|
-
"name": "
|
|
4647
|
+
"license": {
|
|
4648
|
+
"char": "l",
|
|
4649
|
+
"description": "Path to a license override file to apply after deploy",
|
|
4650
|
+
"name": "license",
|
|
4660
4651
|
"required": false,
|
|
4661
|
-
"
|
|
4662
|
-
"
|
|
4652
|
+
"hasDynamicHelp": false,
|
|
4653
|
+
"multiple": false,
|
|
4654
|
+
"type": "option"
|
|
4663
4655
|
},
|
|
4664
4656
|
"output": {
|
|
4665
4657
|
"char": "o",
|
|
@@ -4675,6 +4667,14 @@
|
|
|
4675
4667
|
],
|
|
4676
4668
|
"type": "option"
|
|
4677
4669
|
},
|
|
4670
|
+
"platform_id": {
|
|
4671
|
+
"description": "Platform ID to deploy",
|
|
4672
|
+
"name": "platform_id",
|
|
4673
|
+
"required": true,
|
|
4674
|
+
"hasDynamicHelp": false,
|
|
4675
|
+
"multiple": false,
|
|
4676
|
+
"type": "option"
|
|
4677
|
+
},
|
|
4678
4678
|
"workspace": {
|
|
4679
4679
|
"char": "w",
|
|
4680
4680
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -4687,7 +4687,7 @@
|
|
|
4687
4687
|
},
|
|
4688
4688
|
"hasDynamicHelp": false,
|
|
4689
4689
|
"hiddenAliases": [],
|
|
4690
|
-
"id": "tenant:
|
|
4690
|
+
"id": "tenant:deploy_platform",
|
|
4691
4691
|
"pluginAlias": "@xano/cli",
|
|
4692
4692
|
"pluginName": "@xano/cli",
|
|
4693
4693
|
"pluginType": "core",
|
|
@@ -4698,7 +4698,7 @@
|
|
|
4698
4698
|
"dist",
|
|
4699
4699
|
"commands",
|
|
4700
4700
|
"tenant",
|
|
4701
|
-
"
|
|
4701
|
+
"deploy_platform",
|
|
4702
4702
|
"index.js"
|
|
4703
4703
|
]
|
|
4704
4704
|
},
|
|
@@ -5192,28 +5192,6 @@
|
|
|
5192
5192
|
"index.js"
|
|
5193
5193
|
]
|
|
5194
5194
|
},
|
|
5195
|
-
"tenant:push": {
|
|
5196
|
-
"aliases": [],
|
|
5197
|
-
"args": {},
|
|
5198
|
-
"description": "Direct tenant push is not supported — deploy through a release or use the sandbox (xano sandbox push).",
|
|
5199
|
-
"flags": {},
|
|
5200
|
-
"hasDynamicHelp": false,
|
|
5201
|
-
"hiddenAliases": [],
|
|
5202
|
-
"id": "tenant:push",
|
|
5203
|
-
"pluginAlias": "@xano/cli",
|
|
5204
|
-
"pluginName": "@xano/cli",
|
|
5205
|
-
"pluginType": "core",
|
|
5206
|
-
"strict": true,
|
|
5207
|
-
"enableJsonFlag": false,
|
|
5208
|
-
"isESM": true,
|
|
5209
|
-
"relativePath": [
|
|
5210
|
-
"dist",
|
|
5211
|
-
"commands",
|
|
5212
|
-
"tenant",
|
|
5213
|
-
"push",
|
|
5214
|
-
"index.js"
|
|
5215
|
-
]
|
|
5216
|
-
},
|
|
5217
5195
|
"tenant:pull": {
|
|
5218
5196
|
"aliases": [],
|
|
5219
5197
|
"args": {},
|
|
@@ -5322,14 +5300,41 @@
|
|
|
5322
5300
|
"index.js"
|
|
5323
5301
|
]
|
|
5324
5302
|
},
|
|
5325
|
-
"
|
|
5303
|
+
"tenant:push": {
|
|
5326
5304
|
"aliases": [],
|
|
5327
5305
|
"args": {},
|
|
5328
|
-
"description": "
|
|
5306
|
+
"description": "Direct tenant push is not supported — deploy through a release or use the sandbox (xano sandbox push).",
|
|
5307
|
+
"flags": {},
|
|
5308
|
+
"hasDynamicHelp": false,
|
|
5309
|
+
"hiddenAliases": [],
|
|
5310
|
+
"id": "tenant:push",
|
|
5311
|
+
"pluginAlias": "@xano/cli",
|
|
5312
|
+
"pluginName": "@xano/cli",
|
|
5313
|
+
"pluginType": "core",
|
|
5314
|
+
"strict": true,
|
|
5315
|
+
"enableJsonFlag": false,
|
|
5316
|
+
"isESM": true,
|
|
5317
|
+
"relativePath": [
|
|
5318
|
+
"dist",
|
|
5319
|
+
"commands",
|
|
5320
|
+
"tenant",
|
|
5321
|
+
"push",
|
|
5322
|
+
"index.js"
|
|
5323
|
+
]
|
|
5324
|
+
},
|
|
5325
|
+
"unit_test:run": {
|
|
5326
|
+
"aliases": [],
|
|
5327
|
+
"args": {
|
|
5328
|
+
"unit_test_id": {
|
|
5329
|
+
"description": "ID of the unit test to run",
|
|
5330
|
+
"name": "unit_test_id",
|
|
5331
|
+
"required": true
|
|
5332
|
+
}
|
|
5333
|
+
},
|
|
5334
|
+
"description": "Run a unit test",
|
|
5329
5335
|
"examples": [
|
|
5330
|
-
"$ xano unit-test
|
|
5331
|
-
"$ xano unit-test
|
|
5332
|
-
"$ xano unit-test list --obj-type function"
|
|
5336
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
5337
|
+
"$ xano unit-test run abc-123 -o json"
|
|
5333
5338
|
],
|
|
5334
5339
|
"flags": {
|
|
5335
5340
|
"config": {
|
|
@@ -5361,28 +5366,6 @@
|
|
|
5361
5366
|
"allowNo": false,
|
|
5362
5367
|
"type": "boolean"
|
|
5363
5368
|
},
|
|
5364
|
-
"branch": {
|
|
5365
|
-
"char": "b",
|
|
5366
|
-
"description": "Filter by branch name",
|
|
5367
|
-
"name": "branch",
|
|
5368
|
-
"required": false,
|
|
5369
|
-
"hasDynamicHelp": false,
|
|
5370
|
-
"multiple": false,
|
|
5371
|
-
"type": "option"
|
|
5372
|
-
},
|
|
5373
|
-
"obj-type": {
|
|
5374
|
-
"description": "Filter by object type",
|
|
5375
|
-
"name": "obj-type",
|
|
5376
|
-
"required": false,
|
|
5377
|
-
"hasDynamicHelp": false,
|
|
5378
|
-
"multiple": false,
|
|
5379
|
-
"options": [
|
|
5380
|
-
"function",
|
|
5381
|
-
"query",
|
|
5382
|
-
"middleware"
|
|
5383
|
-
],
|
|
5384
|
-
"type": "option"
|
|
5385
|
-
},
|
|
5386
5369
|
"output": {
|
|
5387
5370
|
"char": "o",
|
|
5388
5371
|
"description": "Output format",
|
|
@@ -5409,7 +5392,7 @@
|
|
|
5409
5392
|
},
|
|
5410
5393
|
"hasDynamicHelp": false,
|
|
5411
5394
|
"hiddenAliases": [],
|
|
5412
|
-
"id": "unit_test:
|
|
5395
|
+
"id": "unit_test:run",
|
|
5413
5396
|
"pluginAlias": "@xano/cli",
|
|
5414
5397
|
"pluginName": "@xano/cli",
|
|
5415
5398
|
"pluginType": "core",
|
|
@@ -5420,23 +5403,18 @@
|
|
|
5420
5403
|
"dist",
|
|
5421
5404
|
"commands",
|
|
5422
5405
|
"unit_test",
|
|
5423
|
-
"
|
|
5406
|
+
"run",
|
|
5424
5407
|
"index.js"
|
|
5425
5408
|
]
|
|
5426
5409
|
},
|
|
5427
|
-
"unit_test:
|
|
5410
|
+
"unit_test:list": {
|
|
5428
5411
|
"aliases": [],
|
|
5429
|
-
"args": {
|
|
5430
|
-
|
|
5431
|
-
"description": "ID of the unit test to run",
|
|
5432
|
-
"name": "unit_test_id",
|
|
5433
|
-
"required": true
|
|
5434
|
-
}
|
|
5435
|
-
},
|
|
5436
|
-
"description": "Run a unit test",
|
|
5412
|
+
"args": {},
|
|
5413
|
+
"description": "List all unit tests in a workspace",
|
|
5437
5414
|
"examples": [
|
|
5438
|
-
"$ xano unit-test
|
|
5439
|
-
"$ xano unit-test
|
|
5415
|
+
"$ 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",
|
|
5416
|
+
"$ xano unit-test list -w 5 --output json",
|
|
5417
|
+
"$ xano unit-test list --obj-type function"
|
|
5440
5418
|
],
|
|
5441
5419
|
"flags": {
|
|
5442
5420
|
"config": {
|
|
@@ -5468,6 +5446,28 @@
|
|
|
5468
5446
|
"allowNo": false,
|
|
5469
5447
|
"type": "boolean"
|
|
5470
5448
|
},
|
|
5449
|
+
"branch": {
|
|
5450
|
+
"char": "b",
|
|
5451
|
+
"description": "Filter by branch name",
|
|
5452
|
+
"name": "branch",
|
|
5453
|
+
"required": false,
|
|
5454
|
+
"hasDynamicHelp": false,
|
|
5455
|
+
"multiple": false,
|
|
5456
|
+
"type": "option"
|
|
5457
|
+
},
|
|
5458
|
+
"obj-type": {
|
|
5459
|
+
"description": "Filter by object type",
|
|
5460
|
+
"name": "obj-type",
|
|
5461
|
+
"required": false,
|
|
5462
|
+
"hasDynamicHelp": false,
|
|
5463
|
+
"multiple": false,
|
|
5464
|
+
"options": [
|
|
5465
|
+
"function",
|
|
5466
|
+
"query",
|
|
5467
|
+
"middleware"
|
|
5468
|
+
],
|
|
5469
|
+
"type": "option"
|
|
5470
|
+
},
|
|
5471
5471
|
"output": {
|
|
5472
5472
|
"char": "o",
|
|
5473
5473
|
"description": "Output format",
|
|
@@ -5494,7 +5494,7 @@
|
|
|
5494
5494
|
},
|
|
5495
5495
|
"hasDynamicHelp": false,
|
|
5496
5496
|
"hiddenAliases": [],
|
|
5497
|
-
"id": "unit_test:
|
|
5497
|
+
"id": "unit_test:list",
|
|
5498
5498
|
"pluginAlias": "@xano/cli",
|
|
5499
5499
|
"pluginName": "@xano/cli",
|
|
5500
5500
|
"pluginType": "core",
|
|
@@ -5505,7 +5505,7 @@
|
|
|
5505
5505
|
"dist",
|
|
5506
5506
|
"commands",
|
|
5507
5507
|
"unit_test",
|
|
5508
|
-
"
|
|
5508
|
+
"list",
|
|
5509
5509
|
"index.js"
|
|
5510
5510
|
]
|
|
5511
5511
|
},
|
|
@@ -5886,13 +5886,19 @@
|
|
|
5886
5886
|
"index.js"
|
|
5887
5887
|
]
|
|
5888
5888
|
},
|
|
5889
|
-
"workflow_test:
|
|
5889
|
+
"workflow_test:run": {
|
|
5890
5890
|
"aliases": [],
|
|
5891
|
-
"args": {
|
|
5892
|
-
|
|
5891
|
+
"args": {
|
|
5892
|
+
"workflow_test_id": {
|
|
5893
|
+
"description": "ID of the workflow test to run",
|
|
5894
|
+
"name": "workflow_test_id",
|
|
5895
|
+
"required": true
|
|
5896
|
+
}
|
|
5897
|
+
},
|
|
5898
|
+
"description": "Run a workflow test",
|
|
5893
5899
|
"examples": [
|
|
5894
|
-
"$ xano workflow-test run
|
|
5895
|
-
"$ xano workflow-test run
|
|
5900
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
5901
|
+
"$ xano workflow-test run 1 -o json"
|
|
5896
5902
|
],
|
|
5897
5903
|
"flags": {
|
|
5898
5904
|
"config": {
|
|
@@ -5924,15 +5930,6 @@
|
|
|
5924
5930
|
"allowNo": false,
|
|
5925
5931
|
"type": "boolean"
|
|
5926
5932
|
},
|
|
5927
|
-
"branch": {
|
|
5928
|
-
"char": "b",
|
|
5929
|
-
"description": "Filter by branch name",
|
|
5930
|
-
"name": "branch",
|
|
5931
|
-
"required": false,
|
|
5932
|
-
"hasDynamicHelp": false,
|
|
5933
|
-
"multiple": false,
|
|
5934
|
-
"type": "option"
|
|
5935
|
-
},
|
|
5936
5933
|
"output": {
|
|
5937
5934
|
"char": "o",
|
|
5938
5935
|
"description": "Output format",
|
|
@@ -5959,7 +5956,7 @@
|
|
|
5959
5956
|
},
|
|
5960
5957
|
"hasDynamicHelp": false,
|
|
5961
5958
|
"hiddenAliases": [],
|
|
5962
|
-
"id": "workflow_test:
|
|
5959
|
+
"id": "workflow_test:run",
|
|
5963
5960
|
"pluginAlias": "@xano/cli",
|
|
5964
5961
|
"pluginName": "@xano/cli",
|
|
5965
5962
|
"pluginType": "core",
|
|
@@ -5970,24 +5967,17 @@
|
|
|
5970
5967
|
"dist",
|
|
5971
5968
|
"commands",
|
|
5972
5969
|
"workflow_test",
|
|
5973
|
-
"
|
|
5970
|
+
"run",
|
|
5974
5971
|
"index.js"
|
|
5975
5972
|
]
|
|
5976
5973
|
},
|
|
5977
|
-
"
|
|
5974
|
+
"workflow_test:run_all": {
|
|
5978
5975
|
"aliases": [],
|
|
5979
|
-
"args": {
|
|
5980
|
-
|
|
5981
|
-
"description": "Name of the workspace",
|
|
5982
|
-
"name": "name",
|
|
5983
|
-
"required": true
|
|
5984
|
-
}
|
|
5985
|
-
},
|
|
5986
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
5976
|
+
"args": {},
|
|
5977
|
+
"description": "Run all workflow tests in a workspace",
|
|
5987
5978
|
"examples": [
|
|
5988
|
-
"$ xano
|
|
5989
|
-
"$ xano
|
|
5990
|
-
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
5979
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
5980
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
5991
5981
|
],
|
|
5992
5982
|
"flags": {
|
|
5993
5983
|
"config": {
|
|
@@ -6019,10 +6009,10 @@
|
|
|
6019
6009
|
"allowNo": false,
|
|
6020
6010
|
"type": "boolean"
|
|
6021
6011
|
},
|
|
6022
|
-
"
|
|
6023
|
-
"char": "
|
|
6024
|
-
"description": "
|
|
6025
|
-
"name": "
|
|
6012
|
+
"branch": {
|
|
6013
|
+
"char": "b",
|
|
6014
|
+
"description": "Filter by branch name",
|
|
6015
|
+
"name": "branch",
|
|
6026
6016
|
"required": false,
|
|
6027
6017
|
"hasDynamicHelp": false,
|
|
6028
6018
|
"multiple": false,
|
|
@@ -6041,11 +6031,20 @@
|
|
|
6041
6031
|
"json"
|
|
6042
6032
|
],
|
|
6043
6033
|
"type": "option"
|
|
6034
|
+
},
|
|
6035
|
+
"workspace": {
|
|
6036
|
+
"char": "w",
|
|
6037
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6038
|
+
"name": "workspace",
|
|
6039
|
+
"required": false,
|
|
6040
|
+
"hasDynamicHelp": false,
|
|
6041
|
+
"multiple": false,
|
|
6042
|
+
"type": "option"
|
|
6044
6043
|
}
|
|
6045
6044
|
},
|
|
6046
6045
|
"hasDynamicHelp": false,
|
|
6047
6046
|
"hiddenAliases": [],
|
|
6048
|
-
"id": "
|
|
6047
|
+
"id": "workflow_test:run_all",
|
|
6049
6048
|
"pluginAlias": "@xano/cli",
|
|
6050
6049
|
"pluginName": "@xano/cli",
|
|
6051
6050
|
"pluginType": "core",
|
|
@@ -6055,25 +6054,106 @@
|
|
|
6055
6054
|
"relativePath": [
|
|
6056
6055
|
"dist",
|
|
6057
6056
|
"commands",
|
|
6058
|
-
"
|
|
6059
|
-
"
|
|
6057
|
+
"workflow_test",
|
|
6058
|
+
"run_all",
|
|
6060
6059
|
"index.js"
|
|
6061
6060
|
]
|
|
6062
6061
|
},
|
|
6063
|
-
"
|
|
6062
|
+
"workspace:create": {
|
|
6064
6063
|
"aliases": [],
|
|
6065
6064
|
"args": {
|
|
6066
|
-
"
|
|
6067
|
-
"description": "
|
|
6068
|
-
"name": "
|
|
6065
|
+
"name": {
|
|
6066
|
+
"description": "Name of the workspace",
|
|
6067
|
+
"name": "name",
|
|
6069
6068
|
"required": true
|
|
6070
6069
|
}
|
|
6071
6070
|
},
|
|
6072
|
-
"description": "
|
|
6071
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
6073
6072
|
"examples": [
|
|
6074
|
-
"$ xano
|
|
6075
|
-
"$ xano
|
|
6076
|
-
|
|
6073
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
6074
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
6075
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
6076
|
+
],
|
|
6077
|
+
"flags": {
|
|
6078
|
+
"config": {
|
|
6079
|
+
"char": "c",
|
|
6080
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
6081
|
+
"env": "XANO_CONFIG",
|
|
6082
|
+
"name": "config",
|
|
6083
|
+
"required": false,
|
|
6084
|
+
"hasDynamicHelp": false,
|
|
6085
|
+
"multiple": false,
|
|
6086
|
+
"type": "option"
|
|
6087
|
+
},
|
|
6088
|
+
"profile": {
|
|
6089
|
+
"char": "p",
|
|
6090
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6091
|
+
"env": "XANO_PROFILE",
|
|
6092
|
+
"name": "profile",
|
|
6093
|
+
"required": false,
|
|
6094
|
+
"hasDynamicHelp": false,
|
|
6095
|
+
"multiple": false,
|
|
6096
|
+
"type": "option"
|
|
6097
|
+
},
|
|
6098
|
+
"verbose": {
|
|
6099
|
+
"char": "v",
|
|
6100
|
+
"description": "Show detailed request/response information",
|
|
6101
|
+
"env": "XANO_VERBOSE",
|
|
6102
|
+
"name": "verbose",
|
|
6103
|
+
"required": false,
|
|
6104
|
+
"allowNo": false,
|
|
6105
|
+
"type": "boolean"
|
|
6106
|
+
},
|
|
6107
|
+
"description": {
|
|
6108
|
+
"char": "d",
|
|
6109
|
+
"description": "Description for the workspace",
|
|
6110
|
+
"name": "description",
|
|
6111
|
+
"required": false,
|
|
6112
|
+
"hasDynamicHelp": false,
|
|
6113
|
+
"multiple": false,
|
|
6114
|
+
"type": "option"
|
|
6115
|
+
},
|
|
6116
|
+
"output": {
|
|
6117
|
+
"char": "o",
|
|
6118
|
+
"description": "Output format",
|
|
6119
|
+
"name": "output",
|
|
6120
|
+
"required": false,
|
|
6121
|
+
"default": "summary",
|
|
6122
|
+
"hasDynamicHelp": false,
|
|
6123
|
+
"multiple": false,
|
|
6124
|
+
"options": [
|
|
6125
|
+
"summary",
|
|
6126
|
+
"json"
|
|
6127
|
+
],
|
|
6128
|
+
"type": "option"
|
|
6129
|
+
}
|
|
6130
|
+
},
|
|
6131
|
+
"hasDynamicHelp": false,
|
|
6132
|
+
"hiddenAliases": [],
|
|
6133
|
+
"id": "workspace:create",
|
|
6134
|
+
"pluginAlias": "@xano/cli",
|
|
6135
|
+
"pluginName": "@xano/cli",
|
|
6136
|
+
"pluginType": "core",
|
|
6137
|
+
"strict": true,
|
|
6138
|
+
"enableJsonFlag": false,
|
|
6139
|
+
"isESM": true,
|
|
6140
|
+
"relativePath": [
|
|
6141
|
+
"dist",
|
|
6142
|
+
"commands",
|
|
6143
|
+
"workspace",
|
|
6144
|
+
"create",
|
|
6145
|
+
"index.js"
|
|
6146
|
+
]
|
|
6147
|
+
},
|
|
6148
|
+
"workspace:delete": {
|
|
6149
|
+
"aliases": [],
|
|
6150
|
+
"args": {},
|
|
6151
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
6152
|
+
"examples": [
|
|
6153
|
+
"$ xano workspace delete -w 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
6154
|
+
"$ xano workspace delete -w 123 --force\nDeleted workspace 123\n",
|
|
6155
|
+
"$ xano workspace delete -w 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
6156
|
+
],
|
|
6077
6157
|
"flags": {
|
|
6078
6158
|
"config": {
|
|
6079
6159
|
"char": "c",
|
|
@@ -6104,6 +6184,14 @@
|
|
|
6104
6184
|
"allowNo": false,
|
|
6105
6185
|
"type": "boolean"
|
|
6106
6186
|
},
|
|
6187
|
+
"force": {
|
|
6188
|
+
"char": "f",
|
|
6189
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
6190
|
+
"name": "force",
|
|
6191
|
+
"required": false,
|
|
6192
|
+
"allowNo": false,
|
|
6193
|
+
"type": "boolean"
|
|
6194
|
+
},
|
|
6107
6195
|
"output": {
|
|
6108
6196
|
"char": "o",
|
|
6109
6197
|
"description": "Output format",
|
|
@@ -6120,7 +6208,7 @@
|
|
|
6120
6208
|
},
|
|
6121
6209
|
"workspace": {
|
|
6122
6210
|
"char": "w",
|
|
6123
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6211
|
+
"description": "Workspace ID to delete (uses profile workspace if not provided)",
|
|
6124
6212
|
"name": "workspace",
|
|
6125
6213
|
"required": false,
|
|
6126
6214
|
"hasDynamicHelp": false,
|
|
@@ -6130,7 +6218,7 @@
|
|
|
6130
6218
|
},
|
|
6131
6219
|
"hasDynamicHelp": false,
|
|
6132
6220
|
"hiddenAliases": [],
|
|
6133
|
-
"id": "
|
|
6221
|
+
"id": "workspace:delete",
|
|
6134
6222
|
"pluginAlias": "@xano/cli",
|
|
6135
6223
|
"pluginName": "@xano/cli",
|
|
6136
6224
|
"pluginType": "core",
|
|
@@ -6140,8 +6228,8 @@
|
|
|
6140
6228
|
"relativePath": [
|
|
6141
6229
|
"dist",
|
|
6142
6230
|
"commands",
|
|
6143
|
-
"
|
|
6144
|
-
"
|
|
6231
|
+
"workspace",
|
|
6232
|
+
"delete",
|
|
6145
6233
|
"index.js"
|
|
6146
6234
|
]
|
|
6147
6235
|
},
|
|
@@ -6265,14 +6353,14 @@
|
|
|
6265
6353
|
"index.js"
|
|
6266
6354
|
]
|
|
6267
6355
|
},
|
|
6268
|
-
"workspace:
|
|
6356
|
+
"workspace:get": {
|
|
6269
6357
|
"aliases": [],
|
|
6270
6358
|
"args": {},
|
|
6271
|
-
"description": "
|
|
6359
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
6272
6360
|
"examples": [
|
|
6273
|
-
"$ xano workspace
|
|
6274
|
-
"$ xano workspace
|
|
6275
|
-
"$ xano workspace
|
|
6361
|
+
"$ xano workspace get -w 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
6362
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
6363
|
+
"$ xano workspace get -w 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
6276
6364
|
],
|
|
6277
6365
|
"flags": {
|
|
6278
6366
|
"config": {
|
|
@@ -6304,14 +6392,6 @@
|
|
|
6304
6392
|
"allowNo": false,
|
|
6305
6393
|
"type": "boolean"
|
|
6306
6394
|
},
|
|
6307
|
-
"force": {
|
|
6308
|
-
"char": "f",
|
|
6309
|
-
"description": "[CRITICAL] NEVER run without explicit user confirmation. Skips the confirmation prompt.",
|
|
6310
|
-
"name": "force",
|
|
6311
|
-
"required": false,
|
|
6312
|
-
"allowNo": false,
|
|
6313
|
-
"type": "boolean"
|
|
6314
|
-
},
|
|
6315
6395
|
"output": {
|
|
6316
6396
|
"char": "o",
|
|
6317
6397
|
"description": "Output format",
|
|
@@ -6328,7 +6408,7 @@
|
|
|
6328
6408
|
},
|
|
6329
6409
|
"workspace": {
|
|
6330
6410
|
"char": "w",
|
|
6331
|
-
"description": "Workspace ID
|
|
6411
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6332
6412
|
"name": "workspace",
|
|
6333
6413
|
"required": false,
|
|
6334
6414
|
"hasDynamicHelp": false,
|
|
@@ -6338,7 +6418,7 @@
|
|
|
6338
6418
|
},
|
|
6339
6419
|
"hasDynamicHelp": false,
|
|
6340
6420
|
"hiddenAliases": [],
|
|
6341
|
-
"id": "workspace:
|
|
6421
|
+
"id": "workspace:get",
|
|
6342
6422
|
"pluginAlias": "@xano/cli",
|
|
6343
6423
|
"pluginName": "@xano/cli",
|
|
6344
6424
|
"pluginType": "core",
|
|
@@ -6349,18 +6429,19 @@
|
|
|
6349
6429
|
"dist",
|
|
6350
6430
|
"commands",
|
|
6351
6431
|
"workspace",
|
|
6352
|
-
"
|
|
6432
|
+
"get",
|
|
6353
6433
|
"index.js"
|
|
6354
6434
|
]
|
|
6355
6435
|
},
|
|
6356
|
-
"workspace:
|
|
6436
|
+
"workspace:list": {
|
|
6357
6437
|
"aliases": [],
|
|
6358
6438
|
"args": {},
|
|
6359
|
-
"description": "
|
|
6439
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
6360
6440
|
"examples": [
|
|
6361
|
-
"$ xano workspace
|
|
6362
|
-
"$ xano workspace
|
|
6363
|
-
"$ xano workspace
|
|
6441
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
6442
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
6443
|
+
"$ 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",
|
|
6444
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
6364
6445
|
],
|
|
6365
6446
|
"flags": {
|
|
6366
6447
|
"config": {
|
|
@@ -6392,6 +6473,12 @@
|
|
|
6392
6473
|
"allowNo": false,
|
|
6393
6474
|
"type": "boolean"
|
|
6394
6475
|
},
|
|
6476
|
+
"latest": {
|
|
6477
|
+
"description": "Sort by newest first (descending ID)",
|
|
6478
|
+
"name": "latest",
|
|
6479
|
+
"allowNo": false,
|
|
6480
|
+
"type": "boolean"
|
|
6481
|
+
},
|
|
6395
6482
|
"output": {
|
|
6396
6483
|
"char": "o",
|
|
6397
6484
|
"description": "Output format",
|
|
@@ -6405,20 +6492,11 @@
|
|
|
6405
6492
|
"json"
|
|
6406
6493
|
],
|
|
6407
6494
|
"type": "option"
|
|
6408
|
-
},
|
|
6409
|
-
"workspace": {
|
|
6410
|
-
"char": "w",
|
|
6411
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6412
|
-
"name": "workspace",
|
|
6413
|
-
"required": false,
|
|
6414
|
-
"hasDynamicHelp": false,
|
|
6415
|
-
"multiple": false,
|
|
6416
|
-
"type": "option"
|
|
6417
6495
|
}
|
|
6418
6496
|
},
|
|
6419
6497
|
"hasDynamicHelp": false,
|
|
6420
6498
|
"hiddenAliases": [],
|
|
6421
|
-
"id": "workspace:
|
|
6499
|
+
"id": "workspace:list",
|
|
6422
6500
|
"pluginAlias": "@xano/cli",
|
|
6423
6501
|
"pluginName": "@xano/cli",
|
|
6424
6502
|
"pluginType": "core",
|
|
@@ -6429,7 +6507,7 @@
|
|
|
6429
6507
|
"dist",
|
|
6430
6508
|
"commands",
|
|
6431
6509
|
"workspace",
|
|
6432
|
-
"
|
|
6510
|
+
"list",
|
|
6433
6511
|
"index.js"
|
|
6434
6512
|
]
|
|
6435
6513
|
},
|
|
@@ -6723,84 +6801,6 @@
|
|
|
6723
6801
|
"index.js"
|
|
6724
6802
|
]
|
|
6725
6803
|
},
|
|
6726
|
-
"workspace:list": {
|
|
6727
|
-
"aliases": [],
|
|
6728
|
-
"args": {},
|
|
6729
|
-
"description": "List all workspaces from the Xano Metadata API",
|
|
6730
|
-
"examples": [
|
|
6731
|
-
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
6732
|
-
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
6733
|
-
"$ 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",
|
|
6734
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
6735
|
-
],
|
|
6736
|
-
"flags": {
|
|
6737
|
-
"config": {
|
|
6738
|
-
"char": "c",
|
|
6739
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
6740
|
-
"env": "XANO_CONFIG",
|
|
6741
|
-
"name": "config",
|
|
6742
|
-
"required": false,
|
|
6743
|
-
"hasDynamicHelp": false,
|
|
6744
|
-
"multiple": false,
|
|
6745
|
-
"type": "option"
|
|
6746
|
-
},
|
|
6747
|
-
"profile": {
|
|
6748
|
-
"char": "p",
|
|
6749
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6750
|
-
"env": "XANO_PROFILE",
|
|
6751
|
-
"name": "profile",
|
|
6752
|
-
"required": false,
|
|
6753
|
-
"hasDynamicHelp": false,
|
|
6754
|
-
"multiple": false,
|
|
6755
|
-
"type": "option"
|
|
6756
|
-
},
|
|
6757
|
-
"verbose": {
|
|
6758
|
-
"char": "v",
|
|
6759
|
-
"description": "Show detailed request/response information",
|
|
6760
|
-
"env": "XANO_VERBOSE",
|
|
6761
|
-
"name": "verbose",
|
|
6762
|
-
"required": false,
|
|
6763
|
-
"allowNo": false,
|
|
6764
|
-
"type": "boolean"
|
|
6765
|
-
},
|
|
6766
|
-
"latest": {
|
|
6767
|
-
"description": "Sort by newest first (descending ID)",
|
|
6768
|
-
"name": "latest",
|
|
6769
|
-
"allowNo": false,
|
|
6770
|
-
"type": "boolean"
|
|
6771
|
-
},
|
|
6772
|
-
"output": {
|
|
6773
|
-
"char": "o",
|
|
6774
|
-
"description": "Output format",
|
|
6775
|
-
"name": "output",
|
|
6776
|
-
"required": false,
|
|
6777
|
-
"default": "summary",
|
|
6778
|
-
"hasDynamicHelp": false,
|
|
6779
|
-
"multiple": false,
|
|
6780
|
-
"options": [
|
|
6781
|
-
"summary",
|
|
6782
|
-
"json"
|
|
6783
|
-
],
|
|
6784
|
-
"type": "option"
|
|
6785
|
-
}
|
|
6786
|
-
},
|
|
6787
|
-
"hasDynamicHelp": false,
|
|
6788
|
-
"hiddenAliases": [],
|
|
6789
|
-
"id": "workspace:list",
|
|
6790
|
-
"pluginAlias": "@xano/cli",
|
|
6791
|
-
"pluginName": "@xano/cli",
|
|
6792
|
-
"pluginType": "core",
|
|
6793
|
-
"strict": true,
|
|
6794
|
-
"enableJsonFlag": false,
|
|
6795
|
-
"isESM": true,
|
|
6796
|
-
"relativePath": [
|
|
6797
|
-
"dist",
|
|
6798
|
-
"commands",
|
|
6799
|
-
"workspace",
|
|
6800
|
-
"list",
|
|
6801
|
-
"index.js"
|
|
6802
|
-
]
|
|
6803
|
-
},
|
|
6804
6804
|
"profile:workspace:set": {
|
|
6805
6805
|
"aliases": [],
|
|
6806
6806
|
"args": {},
|
|
@@ -6947,15 +6947,13 @@
|
|
|
6947
6947
|
"index.js"
|
|
6948
6948
|
]
|
|
6949
6949
|
},
|
|
6950
|
-
"sandbox:env:
|
|
6950
|
+
"sandbox:env:get": {
|
|
6951
6951
|
"aliases": [],
|
|
6952
6952
|
"args": {},
|
|
6953
|
-
"description": "Get
|
|
6953
|
+
"description": "Get a single environment variable for a sandbox environment",
|
|
6954
6954
|
"examples": [
|
|
6955
|
-
"$ xano sandbox env
|
|
6956
|
-
"$ xano sandbox env
|
|
6957
|
-
"$ xano sandbox env get_all --view",
|
|
6958
|
-
"$ xano sandbox env get_all -o json"
|
|
6955
|
+
"$ xano sandbox env get --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6956
|
+
"$ xano sandbox env get --name DATABASE_URL -o json"
|
|
6959
6957
|
],
|
|
6960
6958
|
"flags": {
|
|
6961
6959
|
"config": {
|
|
@@ -6987,11 +6985,11 @@
|
|
|
6987
6985
|
"allowNo": false,
|
|
6988
6986
|
"type": "boolean"
|
|
6989
6987
|
},
|
|
6990
|
-
"
|
|
6991
|
-
"char": "
|
|
6992
|
-
"description": "
|
|
6993
|
-
"name": "
|
|
6994
|
-
"required":
|
|
6988
|
+
"name": {
|
|
6989
|
+
"char": "n",
|
|
6990
|
+
"description": "Environment variable name",
|
|
6991
|
+
"name": "name",
|
|
6992
|
+
"required": true,
|
|
6995
6993
|
"hasDynamicHelp": false,
|
|
6996
6994
|
"multiple": false,
|
|
6997
6995
|
"type": "option"
|
|
@@ -7009,18 +7007,11 @@
|
|
|
7009
7007
|
"json"
|
|
7010
7008
|
],
|
|
7011
7009
|
"type": "option"
|
|
7012
|
-
},
|
|
7013
|
-
"view": {
|
|
7014
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
7015
|
-
"name": "view",
|
|
7016
|
-
"required": false,
|
|
7017
|
-
"allowNo": false,
|
|
7018
|
-
"type": "boolean"
|
|
7019
7010
|
}
|
|
7020
7011
|
},
|
|
7021
7012
|
"hasDynamicHelp": false,
|
|
7022
7013
|
"hiddenAliases": [],
|
|
7023
|
-
"id": "sandbox:env:
|
|
7014
|
+
"id": "sandbox:env:get",
|
|
7024
7015
|
"pluginAlias": "@xano/cli",
|
|
7025
7016
|
"pluginName": "@xano/cli",
|
|
7026
7017
|
"pluginType": "core",
|
|
@@ -7032,17 +7023,19 @@
|
|
|
7032
7023
|
"commands",
|
|
7033
7024
|
"sandbox",
|
|
7034
7025
|
"env",
|
|
7035
|
-
"
|
|
7026
|
+
"get",
|
|
7036
7027
|
"index.js"
|
|
7037
7028
|
]
|
|
7038
7029
|
},
|
|
7039
|
-
"sandbox:env:
|
|
7030
|
+
"sandbox:env:get_all": {
|
|
7040
7031
|
"aliases": [],
|
|
7041
7032
|
"args": {},
|
|
7042
|
-
"description": "Get
|
|
7033
|
+
"description": "Get all environment variables for a sandbox environment and save to a YAML file",
|
|
7043
7034
|
"examples": [
|
|
7044
|
-
"$ xano sandbox env
|
|
7045
|
-
"$ xano sandbox env
|
|
7035
|
+
"$ xano sandbox env get_all\nEnvironment variables saved to env_<tenant>.yaml\n",
|
|
7036
|
+
"$ xano sandbox env get_all --file ./my-env.yaml",
|
|
7037
|
+
"$ xano sandbox env get_all --view",
|
|
7038
|
+
"$ xano sandbox env get_all -o json"
|
|
7046
7039
|
],
|
|
7047
7040
|
"flags": {
|
|
7048
7041
|
"config": {
|
|
@@ -7074,11 +7067,11 @@
|
|
|
7074
7067
|
"allowNo": false,
|
|
7075
7068
|
"type": "boolean"
|
|
7076
7069
|
},
|
|
7077
|
-
"
|
|
7078
|
-
"char": "
|
|
7079
|
-
"description": "
|
|
7080
|
-
"name": "
|
|
7081
|
-
"required":
|
|
7070
|
+
"file": {
|
|
7071
|
+
"char": "f",
|
|
7072
|
+
"description": "Output file path (default: env_<sandbox_name>.yaml)",
|
|
7073
|
+
"name": "file",
|
|
7074
|
+
"required": false,
|
|
7082
7075
|
"hasDynamicHelp": false,
|
|
7083
7076
|
"multiple": false,
|
|
7084
7077
|
"type": "option"
|
|
@@ -7096,11 +7089,18 @@
|
|
|
7096
7089
|
"json"
|
|
7097
7090
|
],
|
|
7098
7091
|
"type": "option"
|
|
7092
|
+
},
|
|
7093
|
+
"view": {
|
|
7094
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
7095
|
+
"name": "view",
|
|
7096
|
+
"required": false,
|
|
7097
|
+
"allowNo": false,
|
|
7098
|
+
"type": "boolean"
|
|
7099
7099
|
}
|
|
7100
7100
|
},
|
|
7101
7101
|
"hasDynamicHelp": false,
|
|
7102
7102
|
"hiddenAliases": [],
|
|
7103
|
-
"id": "sandbox:env:
|
|
7103
|
+
"id": "sandbox:env:get_all",
|
|
7104
7104
|
"pluginAlias": "@xano/cli",
|
|
7105
7105
|
"pluginName": "@xano/cli",
|
|
7106
7106
|
"pluginType": "core",
|
|
@@ -7112,7 +7112,7 @@
|
|
|
7112
7112
|
"commands",
|
|
7113
7113
|
"sandbox",
|
|
7114
7114
|
"env",
|
|
7115
|
-
"
|
|
7115
|
+
"get_all",
|
|
7116
7116
|
"index.js"
|
|
7117
7117
|
]
|
|
7118
7118
|
},
|
|
@@ -7187,94 +7187,6 @@
|
|
|
7187
7187
|
"index.js"
|
|
7188
7188
|
]
|
|
7189
7189
|
},
|
|
7190
|
-
"sandbox:env:set": {
|
|
7191
|
-
"aliases": [],
|
|
7192
|
-
"args": {},
|
|
7193
|
-
"description": "Set (create or update) an environment variable for a sandbox environment",
|
|
7194
|
-
"examples": [
|
|
7195
|
-
"$ xano sandbox env set --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set\n",
|
|
7196
|
-
"$ xano sandbox env set --name DATABASE_URL --value postgres://localhost:5432/mydb -o json"
|
|
7197
|
-
],
|
|
7198
|
-
"flags": {
|
|
7199
|
-
"config": {
|
|
7200
|
-
"char": "c",
|
|
7201
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
7202
|
-
"env": "XANO_CONFIG",
|
|
7203
|
-
"name": "config",
|
|
7204
|
-
"required": false,
|
|
7205
|
-
"hasDynamicHelp": false,
|
|
7206
|
-
"multiple": false,
|
|
7207
|
-
"type": "option"
|
|
7208
|
-
},
|
|
7209
|
-
"profile": {
|
|
7210
|
-
"char": "p",
|
|
7211
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
7212
|
-
"env": "XANO_PROFILE",
|
|
7213
|
-
"name": "profile",
|
|
7214
|
-
"required": false,
|
|
7215
|
-
"hasDynamicHelp": false,
|
|
7216
|
-
"multiple": false,
|
|
7217
|
-
"type": "option"
|
|
7218
|
-
},
|
|
7219
|
-
"verbose": {
|
|
7220
|
-
"char": "v",
|
|
7221
|
-
"description": "Show detailed request/response information",
|
|
7222
|
-
"env": "XANO_VERBOSE",
|
|
7223
|
-
"name": "verbose",
|
|
7224
|
-
"required": false,
|
|
7225
|
-
"allowNo": false,
|
|
7226
|
-
"type": "boolean"
|
|
7227
|
-
},
|
|
7228
|
-
"name": {
|
|
7229
|
-
"char": "n",
|
|
7230
|
-
"description": "Environment variable name",
|
|
7231
|
-
"name": "name",
|
|
7232
|
-
"required": true,
|
|
7233
|
-
"hasDynamicHelp": false,
|
|
7234
|
-
"multiple": false,
|
|
7235
|
-
"type": "option"
|
|
7236
|
-
},
|
|
7237
|
-
"output": {
|
|
7238
|
-
"char": "o",
|
|
7239
|
-
"description": "Output format",
|
|
7240
|
-
"name": "output",
|
|
7241
|
-
"required": false,
|
|
7242
|
-
"default": "summary",
|
|
7243
|
-
"hasDynamicHelp": false,
|
|
7244
|
-
"multiple": false,
|
|
7245
|
-
"options": [
|
|
7246
|
-
"summary",
|
|
7247
|
-
"json"
|
|
7248
|
-
],
|
|
7249
|
-
"type": "option"
|
|
7250
|
-
},
|
|
7251
|
-
"value": {
|
|
7252
|
-
"description": "Environment variable value",
|
|
7253
|
-
"name": "value",
|
|
7254
|
-
"required": true,
|
|
7255
|
-
"hasDynamicHelp": false,
|
|
7256
|
-
"multiple": false,
|
|
7257
|
-
"type": "option"
|
|
7258
|
-
}
|
|
7259
|
-
},
|
|
7260
|
-
"hasDynamicHelp": false,
|
|
7261
|
-
"hiddenAliases": [],
|
|
7262
|
-
"id": "sandbox:env:set",
|
|
7263
|
-
"pluginAlias": "@xano/cli",
|
|
7264
|
-
"pluginName": "@xano/cli",
|
|
7265
|
-
"pluginType": "core",
|
|
7266
|
-
"strict": true,
|
|
7267
|
-
"enableJsonFlag": false,
|
|
7268
|
-
"isESM": true,
|
|
7269
|
-
"relativePath": [
|
|
7270
|
-
"dist",
|
|
7271
|
-
"commands",
|
|
7272
|
-
"sandbox",
|
|
7273
|
-
"env",
|
|
7274
|
-
"set",
|
|
7275
|
-
"index.js"
|
|
7276
|
-
]
|
|
7277
|
-
},
|
|
7278
7190
|
"sandbox:env:set_all": {
|
|
7279
7191
|
"aliases": [],
|
|
7280
7192
|
"args": {},
|
|
@@ -7452,13 +7364,13 @@
|
|
|
7452
7364
|
"index.js"
|
|
7453
7365
|
]
|
|
7454
7366
|
},
|
|
7455
|
-
"sandbox:
|
|
7367
|
+
"sandbox:env:set": {
|
|
7456
7368
|
"aliases": [],
|
|
7457
7369
|
"args": {},
|
|
7458
|
-
"description": "
|
|
7370
|
+
"description": "Set (create or update) an environment variable for a sandbox environment",
|
|
7459
7371
|
"examples": [
|
|
7460
|
-
"$ xano sandbox
|
|
7461
|
-
"$ xano sandbox
|
|
7372
|
+
"$ xano sandbox env set --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set\n",
|
|
7373
|
+
"$ xano sandbox env set --name DATABASE_URL --value postgres://localhost:5432/mydb -o json"
|
|
7462
7374
|
],
|
|
7463
7375
|
"flags": {
|
|
7464
7376
|
"config": {
|
|
@@ -7490,26 +7402,13 @@
|
|
|
7490
7402
|
"allowNo": false,
|
|
7491
7403
|
"type": "boolean"
|
|
7492
7404
|
},
|
|
7493
|
-
"
|
|
7494
|
-
"char": "
|
|
7495
|
-
"description": "
|
|
7496
|
-
"name": "
|
|
7497
|
-
"required":
|
|
7498
|
-
"hasDynamicHelp": false,
|
|
7499
|
-
"multiple": false,
|
|
7500
|
-
"type": "option"
|
|
7501
|
-
},
|
|
7502
|
-
"obj-type": {
|
|
7503
|
-
"description": "Filter by object type",
|
|
7504
|
-
"name": "obj-type",
|
|
7505
|
-
"required": false,
|
|
7405
|
+
"name": {
|
|
7406
|
+
"char": "n",
|
|
7407
|
+
"description": "Environment variable name",
|
|
7408
|
+
"name": "name",
|
|
7409
|
+
"required": true,
|
|
7506
7410
|
"hasDynamicHelp": false,
|
|
7507
7411
|
"multiple": false,
|
|
7508
|
-
"options": [
|
|
7509
|
-
"function",
|
|
7510
|
-
"query",
|
|
7511
|
-
"middleware"
|
|
7512
|
-
],
|
|
7513
7412
|
"type": "option"
|
|
7514
7413
|
},
|
|
7515
7414
|
"output": {
|
|
@@ -7525,11 +7424,19 @@
|
|
|
7525
7424
|
"json"
|
|
7526
7425
|
],
|
|
7527
7426
|
"type": "option"
|
|
7427
|
+
},
|
|
7428
|
+
"value": {
|
|
7429
|
+
"description": "Environment variable value",
|
|
7430
|
+
"name": "value",
|
|
7431
|
+
"required": true,
|
|
7432
|
+
"hasDynamicHelp": false,
|
|
7433
|
+
"multiple": false,
|
|
7434
|
+
"type": "option"
|
|
7528
7435
|
}
|
|
7529
7436
|
},
|
|
7530
7437
|
"hasDynamicHelp": false,
|
|
7531
7438
|
"hiddenAliases": [],
|
|
7532
|
-
"id": "sandbox:
|
|
7439
|
+
"id": "sandbox:env:set",
|
|
7533
7440
|
"pluginAlias": "@xano/cli",
|
|
7534
7441
|
"pluginName": "@xano/cli",
|
|
7535
7442
|
"pluginType": "core",
|
|
@@ -7540,8 +7447,8 @@
|
|
|
7540
7447
|
"dist",
|
|
7541
7448
|
"commands",
|
|
7542
7449
|
"sandbox",
|
|
7543
|
-
"
|
|
7544
|
-
"
|
|
7450
|
+
"env",
|
|
7451
|
+
"set",
|
|
7545
7452
|
"index.js"
|
|
7546
7453
|
]
|
|
7547
7454
|
},
|
|
@@ -7652,19 +7559,13 @@
|
|
|
7652
7559
|
"index.js"
|
|
7653
7560
|
]
|
|
7654
7561
|
},
|
|
7655
|
-
"sandbox:unit_test:
|
|
7562
|
+
"sandbox:unit_test:list": {
|
|
7656
7563
|
"aliases": [],
|
|
7657
|
-
"args": {
|
|
7658
|
-
|
|
7659
|
-
"description": "ID of the unit test to run",
|
|
7660
|
-
"name": "unit_test_id",
|
|
7661
|
-
"required": true
|
|
7662
|
-
}
|
|
7663
|
-
},
|
|
7664
|
-
"description": "Run a unit test for a sandbox environment",
|
|
7564
|
+
"args": {},
|
|
7565
|
+
"description": "List all unit tests for a sandbox environment",
|
|
7665
7566
|
"examples": [
|
|
7666
|
-
"$ xano sandbox unit-test
|
|
7667
|
-
"$ xano sandbox unit-test
|
|
7567
|
+
"$ xano sandbox unit-test list\nUnit tests:\n - my-test (ID: abc-123) [function: math]\n",
|
|
7568
|
+
"$ xano sandbox unit-test list -o json"
|
|
7668
7569
|
],
|
|
7669
7570
|
"flags": {
|
|
7670
7571
|
"config": {
|
|
@@ -7696,6 +7597,28 @@
|
|
|
7696
7597
|
"allowNo": false,
|
|
7697
7598
|
"type": "boolean"
|
|
7698
7599
|
},
|
|
7600
|
+
"branch": {
|
|
7601
|
+
"char": "b",
|
|
7602
|
+
"description": "Filter by branch name",
|
|
7603
|
+
"name": "branch",
|
|
7604
|
+
"required": false,
|
|
7605
|
+
"hasDynamicHelp": false,
|
|
7606
|
+
"multiple": false,
|
|
7607
|
+
"type": "option"
|
|
7608
|
+
},
|
|
7609
|
+
"obj-type": {
|
|
7610
|
+
"description": "Filter by object type",
|
|
7611
|
+
"name": "obj-type",
|
|
7612
|
+
"required": false,
|
|
7613
|
+
"hasDynamicHelp": false,
|
|
7614
|
+
"multiple": false,
|
|
7615
|
+
"options": [
|
|
7616
|
+
"function",
|
|
7617
|
+
"query",
|
|
7618
|
+
"middleware"
|
|
7619
|
+
],
|
|
7620
|
+
"type": "option"
|
|
7621
|
+
},
|
|
7699
7622
|
"output": {
|
|
7700
7623
|
"char": "o",
|
|
7701
7624
|
"description": "Output format",
|
|
@@ -7713,7 +7636,7 @@
|
|
|
7713
7636
|
},
|
|
7714
7637
|
"hasDynamicHelp": false,
|
|
7715
7638
|
"hiddenAliases": [],
|
|
7716
|
-
"id": "sandbox:unit_test:
|
|
7639
|
+
"id": "sandbox:unit_test:list",
|
|
7717
7640
|
"pluginAlias": "@xano/cli",
|
|
7718
7641
|
"pluginName": "@xano/cli",
|
|
7719
7642
|
"pluginType": "core",
|
|
@@ -7725,7 +7648,7 @@
|
|
|
7725
7648
|
"commands",
|
|
7726
7649
|
"sandbox",
|
|
7727
7650
|
"unit_test",
|
|
7728
|
-
"
|
|
7651
|
+
"list",
|
|
7729
7652
|
"index.js"
|
|
7730
7653
|
]
|
|
7731
7654
|
},
|
|
@@ -7734,8 +7657,107 @@
|
|
|
7734
7657
|
"args": {},
|
|
7735
7658
|
"description": "Run all unit tests for a sandbox environment",
|
|
7736
7659
|
"examples": [
|
|
7737
|
-
"$ xano sandbox unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 4 passed, 1 failed\n",
|
|
7738
|
-
"$ xano sandbox unit-test run-all -o json"
|
|
7660
|
+
"$ xano sandbox unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 4 passed, 1 failed\n",
|
|
7661
|
+
"$ xano sandbox unit-test run-all -o json"
|
|
7662
|
+
],
|
|
7663
|
+
"flags": {
|
|
7664
|
+
"config": {
|
|
7665
|
+
"char": "c",
|
|
7666
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
7667
|
+
"env": "XANO_CONFIG",
|
|
7668
|
+
"name": "config",
|
|
7669
|
+
"required": false,
|
|
7670
|
+
"hasDynamicHelp": false,
|
|
7671
|
+
"multiple": false,
|
|
7672
|
+
"type": "option"
|
|
7673
|
+
},
|
|
7674
|
+
"profile": {
|
|
7675
|
+
"char": "p",
|
|
7676
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
7677
|
+
"env": "XANO_PROFILE",
|
|
7678
|
+
"name": "profile",
|
|
7679
|
+
"required": false,
|
|
7680
|
+
"hasDynamicHelp": false,
|
|
7681
|
+
"multiple": false,
|
|
7682
|
+
"type": "option"
|
|
7683
|
+
},
|
|
7684
|
+
"verbose": {
|
|
7685
|
+
"char": "v",
|
|
7686
|
+
"description": "Show detailed request/response information",
|
|
7687
|
+
"env": "XANO_VERBOSE",
|
|
7688
|
+
"name": "verbose",
|
|
7689
|
+
"required": false,
|
|
7690
|
+
"allowNo": false,
|
|
7691
|
+
"type": "boolean"
|
|
7692
|
+
},
|
|
7693
|
+
"branch": {
|
|
7694
|
+
"char": "b",
|
|
7695
|
+
"description": "Filter by branch name",
|
|
7696
|
+
"name": "branch",
|
|
7697
|
+
"required": false,
|
|
7698
|
+
"hasDynamicHelp": false,
|
|
7699
|
+
"multiple": false,
|
|
7700
|
+
"type": "option"
|
|
7701
|
+
},
|
|
7702
|
+
"obj-type": {
|
|
7703
|
+
"description": "Filter by object type",
|
|
7704
|
+
"name": "obj-type",
|
|
7705
|
+
"required": false,
|
|
7706
|
+
"hasDynamicHelp": false,
|
|
7707
|
+
"multiple": false,
|
|
7708
|
+
"options": [
|
|
7709
|
+
"function",
|
|
7710
|
+
"query",
|
|
7711
|
+
"middleware"
|
|
7712
|
+
],
|
|
7713
|
+
"type": "option"
|
|
7714
|
+
},
|
|
7715
|
+
"output": {
|
|
7716
|
+
"char": "o",
|
|
7717
|
+
"description": "Output format",
|
|
7718
|
+
"name": "output",
|
|
7719
|
+
"required": false,
|
|
7720
|
+
"default": "summary",
|
|
7721
|
+
"hasDynamicHelp": false,
|
|
7722
|
+
"multiple": false,
|
|
7723
|
+
"options": [
|
|
7724
|
+
"summary",
|
|
7725
|
+
"json"
|
|
7726
|
+
],
|
|
7727
|
+
"type": "option"
|
|
7728
|
+
}
|
|
7729
|
+
},
|
|
7730
|
+
"hasDynamicHelp": false,
|
|
7731
|
+
"hiddenAliases": [],
|
|
7732
|
+
"id": "sandbox:unit_test:run_all",
|
|
7733
|
+
"pluginAlias": "@xano/cli",
|
|
7734
|
+
"pluginName": "@xano/cli",
|
|
7735
|
+
"pluginType": "core",
|
|
7736
|
+
"strict": true,
|
|
7737
|
+
"enableJsonFlag": false,
|
|
7738
|
+
"isESM": true,
|
|
7739
|
+
"relativePath": [
|
|
7740
|
+
"dist",
|
|
7741
|
+
"commands",
|
|
7742
|
+
"sandbox",
|
|
7743
|
+
"unit_test",
|
|
7744
|
+
"run_all",
|
|
7745
|
+
"index.js"
|
|
7746
|
+
]
|
|
7747
|
+
},
|
|
7748
|
+
"sandbox:unit_test:run": {
|
|
7749
|
+
"aliases": [],
|
|
7750
|
+
"args": {
|
|
7751
|
+
"unit_test_id": {
|
|
7752
|
+
"description": "ID of the unit test to run",
|
|
7753
|
+
"name": "unit_test_id",
|
|
7754
|
+
"required": true
|
|
7755
|
+
}
|
|
7756
|
+
},
|
|
7757
|
+
"description": "Run a unit test for a sandbox environment",
|
|
7758
|
+
"examples": [
|
|
7759
|
+
"$ xano sandbox unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
7760
|
+
"$ xano sandbox unit-test run abc-123 -o json"
|
|
7739
7761
|
],
|
|
7740
7762
|
"flags": {
|
|
7741
7763
|
"config": {
|
|
@@ -7767,28 +7789,6 @@
|
|
|
7767
7789
|
"allowNo": false,
|
|
7768
7790
|
"type": "boolean"
|
|
7769
7791
|
},
|
|
7770
|
-
"branch": {
|
|
7771
|
-
"char": "b",
|
|
7772
|
-
"description": "Filter by branch name",
|
|
7773
|
-
"name": "branch",
|
|
7774
|
-
"required": false,
|
|
7775
|
-
"hasDynamicHelp": false,
|
|
7776
|
-
"multiple": false,
|
|
7777
|
-
"type": "option"
|
|
7778
|
-
},
|
|
7779
|
-
"obj-type": {
|
|
7780
|
-
"description": "Filter by object type",
|
|
7781
|
-
"name": "obj-type",
|
|
7782
|
-
"required": false,
|
|
7783
|
-
"hasDynamicHelp": false,
|
|
7784
|
-
"multiple": false,
|
|
7785
|
-
"options": [
|
|
7786
|
-
"function",
|
|
7787
|
-
"query",
|
|
7788
|
-
"middleware"
|
|
7789
|
-
],
|
|
7790
|
-
"type": "option"
|
|
7791
|
-
},
|
|
7792
7792
|
"output": {
|
|
7793
7793
|
"char": "o",
|
|
7794
7794
|
"description": "Output format",
|
|
@@ -7806,7 +7806,7 @@
|
|
|
7806
7806
|
},
|
|
7807
7807
|
"hasDynamicHelp": false,
|
|
7808
7808
|
"hiddenAliases": [],
|
|
7809
|
-
"id": "sandbox:unit_test:
|
|
7809
|
+
"id": "sandbox:unit_test:run",
|
|
7810
7810
|
"pluginAlias": "@xano/cli",
|
|
7811
7811
|
"pluginName": "@xano/cli",
|
|
7812
7812
|
"pluginType": "core",
|
|
@@ -7818,7 +7818,7 @@
|
|
|
7818
7818
|
"commands",
|
|
7819
7819
|
"sandbox",
|
|
7820
7820
|
"unit_test",
|
|
7821
|
-
"
|
|
7821
|
+
"run",
|
|
7822
7822
|
"index.js"
|
|
7823
7823
|
]
|
|
7824
7824
|
},
|
|
@@ -8641,7 +8641,8 @@
|
|
|
8641
8641
|
"$ xano static_host build push default -d ./dist -n \"v1.0.0\"\nPushed 15 files as build \"v1.0.0\"\nID: 123\n",
|
|
8642
8642
|
"$ xano static_host build push default\nPushed 8 files as build \"20260531-143022\"\n",
|
|
8643
8643
|
"$ xano static_host build push default -f ./build.zip -n \"v1.0.0\"\nPushed build.zip as build \"v1.0.0\"\nID: 124\n",
|
|
8644
|
-
"$ xano static_host build push myhost -n \"production\" --description \"Production build\" -w 40\nPushed 22 files as build \"production\"\nID: 125\n"
|
|
8644
|
+
"$ xano static_host build push myhost -n \"production\" --description \"Production build\" -w 40\nPushed 22 files as build \"production\"\nID: 125\n",
|
|
8645
|
+
"$ xano static_host build push default -d ./static --no-gitignore\nPushed 30 files as build \"20260531-143022\"\n"
|
|
8645
8646
|
],
|
|
8646
8647
|
"flags": {
|
|
8647
8648
|
"config": {
|
|
@@ -8714,6 +8715,13 @@
|
|
|
8714
8715
|
"multiple": false,
|
|
8715
8716
|
"type": "option"
|
|
8716
8717
|
},
|
|
8718
|
+
"no-gitignore": {
|
|
8719
|
+
"description": "Push every file in the directory, including those matched by .gitignore (the .git/ folder is always excluded)",
|
|
8720
|
+
"name": "no-gitignore",
|
|
8721
|
+
"required": false,
|
|
8722
|
+
"allowNo": false,
|
|
8723
|
+
"type": "boolean"
|
|
8724
|
+
},
|
|
8717
8725
|
"no-wait": {
|
|
8718
8726
|
"description": "Return immediately after upload instead of waiting for the build to finish",
|
|
8719
8727
|
"name": "no-wait",
|
|
@@ -8859,20 +8867,20 @@
|
|
|
8859
8867
|
"index.js"
|
|
8860
8868
|
]
|
|
8861
8869
|
},
|
|
8862
|
-
"tenant:backup:
|
|
8870
|
+
"tenant:backup:export": {
|
|
8863
8871
|
"aliases": [],
|
|
8864
8872
|
"args": {
|
|
8865
8873
|
"tenant_name": {
|
|
8866
|
-
"description": "Tenant name
|
|
8874
|
+
"description": "Tenant name to export backup from",
|
|
8867
8875
|
"name": "tenant_name",
|
|
8868
8876
|
"required": true
|
|
8869
8877
|
}
|
|
8870
8878
|
},
|
|
8871
|
-
"description": "
|
|
8879
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
8872
8880
|
"examples": [
|
|
8873
|
-
"$ xano tenant backup
|
|
8874
|
-
"$ xano tenant backup
|
|
8875
|
-
"$ xano tenant backup
|
|
8881
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
8882
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
8883
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
8876
8884
|
],
|
|
8877
8885
|
"flags": {
|
|
8878
8886
|
"config": {
|
|
@@ -8905,25 +8913,17 @@
|
|
|
8905
8913
|
"type": "boolean"
|
|
8906
8914
|
},
|
|
8907
8915
|
"backup_id": {
|
|
8908
|
-
"description": "Backup ID to
|
|
8916
|
+
"description": "Backup ID to export",
|
|
8909
8917
|
"name": "backup_id",
|
|
8910
8918
|
"required": true,
|
|
8911
8919
|
"hasDynamicHelp": false,
|
|
8912
8920
|
"multiple": false,
|
|
8913
8921
|
"type": "option"
|
|
8914
8922
|
},
|
|
8915
|
-
"
|
|
8916
|
-
"char": "f",
|
|
8917
|
-
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
8918
|
-
"name": "force",
|
|
8919
|
-
"required": false,
|
|
8920
|
-
"allowNo": false,
|
|
8921
|
-
"type": "boolean"
|
|
8922
|
-
},
|
|
8923
|
-
"output": {
|
|
8923
|
+
"format": {
|
|
8924
8924
|
"char": "o",
|
|
8925
8925
|
"description": "Output format",
|
|
8926
|
-
"name": "
|
|
8926
|
+
"name": "format",
|
|
8927
8927
|
"required": false,
|
|
8928
8928
|
"default": "summary",
|
|
8929
8929
|
"hasDynamicHelp": false,
|
|
@@ -8934,6 +8934,14 @@
|
|
|
8934
8934
|
],
|
|
8935
8935
|
"type": "option"
|
|
8936
8936
|
},
|
|
8937
|
+
"output": {
|
|
8938
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
8939
|
+
"name": "output",
|
|
8940
|
+
"required": false,
|
|
8941
|
+
"hasDynamicHelp": false,
|
|
8942
|
+
"multiple": false,
|
|
8943
|
+
"type": "option"
|
|
8944
|
+
},
|
|
8937
8945
|
"workspace": {
|
|
8938
8946
|
"char": "w",
|
|
8939
8947
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -8946,7 +8954,7 @@
|
|
|
8946
8954
|
},
|
|
8947
8955
|
"hasDynamicHelp": false,
|
|
8948
8956
|
"hiddenAliases": [],
|
|
8949
|
-
"id": "tenant:backup:
|
|
8957
|
+
"id": "tenant:backup:export",
|
|
8950
8958
|
"pluginAlias": "@xano/cli",
|
|
8951
8959
|
"pluginName": "@xano/cli",
|
|
8952
8960
|
"pluginType": "core",
|
|
@@ -8958,24 +8966,24 @@
|
|
|
8958
8966
|
"commands",
|
|
8959
8967
|
"tenant",
|
|
8960
8968
|
"backup",
|
|
8961
|
-
"
|
|
8969
|
+
"export",
|
|
8962
8970
|
"index.js"
|
|
8963
8971
|
]
|
|
8964
8972
|
},
|
|
8965
|
-
"tenant:backup:
|
|
8973
|
+
"tenant:backup:delete": {
|
|
8966
8974
|
"aliases": [],
|
|
8967
8975
|
"args": {
|
|
8968
8976
|
"tenant_name": {
|
|
8969
|
-
"description": "Tenant name
|
|
8977
|
+
"description": "Tenant name that owns the backup",
|
|
8970
8978
|
"name": "tenant_name",
|
|
8971
8979
|
"required": true
|
|
8972
8980
|
}
|
|
8973
8981
|
},
|
|
8974
|
-
"description": "
|
|
8982
|
+
"description": "[CRITICAL] NEVER delete a backup without explicit user confirmation; this removes your restore point. Deletes a tenant backup permanently.",
|
|
8975
8983
|
"examples": [
|
|
8976
|
-
"$ xano tenant backup
|
|
8977
|
-
"$ xano tenant backup
|
|
8978
|
-
"$ xano tenant backup
|
|
8984
|
+
"$ 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",
|
|
8985
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
8986
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
8979
8987
|
],
|
|
8980
8988
|
"flags": {
|
|
8981
8989
|
"config": {
|
|
@@ -9008,17 +9016,25 @@
|
|
|
9008
9016
|
"type": "boolean"
|
|
9009
9017
|
},
|
|
9010
9018
|
"backup_id": {
|
|
9011
|
-
"description": "Backup ID to
|
|
9019
|
+
"description": "Backup ID to delete",
|
|
9012
9020
|
"name": "backup_id",
|
|
9013
9021
|
"required": true,
|
|
9014
9022
|
"hasDynamicHelp": false,
|
|
9015
9023
|
"multiple": false,
|
|
9016
9024
|
"type": "option"
|
|
9017
9025
|
},
|
|
9018
|
-
"
|
|
9026
|
+
"force": {
|
|
9027
|
+
"char": "f",
|
|
9028
|
+
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
9029
|
+
"name": "force",
|
|
9030
|
+
"required": false,
|
|
9031
|
+
"allowNo": false,
|
|
9032
|
+
"type": "boolean"
|
|
9033
|
+
},
|
|
9034
|
+
"output": {
|
|
9019
9035
|
"char": "o",
|
|
9020
9036
|
"description": "Output format",
|
|
9021
|
-
"name": "
|
|
9037
|
+
"name": "output",
|
|
9022
9038
|
"required": false,
|
|
9023
9039
|
"default": "summary",
|
|
9024
9040
|
"hasDynamicHelp": false,
|
|
@@ -9029,14 +9045,6 @@
|
|
|
9029
9045
|
],
|
|
9030
9046
|
"type": "option"
|
|
9031
9047
|
},
|
|
9032
|
-
"output": {
|
|
9033
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
9034
|
-
"name": "output",
|
|
9035
|
-
"required": false,
|
|
9036
|
-
"hasDynamicHelp": false,
|
|
9037
|
-
"multiple": false,
|
|
9038
|
-
"type": "option"
|
|
9039
|
-
},
|
|
9040
9048
|
"workspace": {
|
|
9041
9049
|
"char": "w",
|
|
9042
9050
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -9049,7 +9057,7 @@
|
|
|
9049
9057
|
},
|
|
9050
9058
|
"hasDynamicHelp": false,
|
|
9051
9059
|
"hiddenAliases": [],
|
|
9052
|
-
"id": "tenant:backup:
|
|
9060
|
+
"id": "tenant:backup:delete",
|
|
9053
9061
|
"pluginAlias": "@xano/cli",
|
|
9054
9062
|
"pluginName": "@xano/cli",
|
|
9055
9063
|
"pluginType": "core",
|
|
@@ -9061,7 +9069,7 @@
|
|
|
9061
9069
|
"commands",
|
|
9062
9070
|
"tenant",
|
|
9063
9071
|
"backup",
|
|
9064
|
-
"
|
|
9072
|
+
"delete",
|
|
9065
9073
|
"index.js"
|
|
9066
9074
|
]
|
|
9067
9075
|
},
|
|
@@ -9265,13 +9273,19 @@
|
|
|
9265
9273
|
"index.js"
|
|
9266
9274
|
]
|
|
9267
9275
|
},
|
|
9268
|
-
"tenant:
|
|
9276
|
+
"tenant:backup:restore": {
|
|
9269
9277
|
"aliases": [],
|
|
9270
|
-
"args": {
|
|
9271
|
-
|
|
9278
|
+
"args": {
|
|
9279
|
+
"tenant_name": {
|
|
9280
|
+
"description": "Tenant name to restore",
|
|
9281
|
+
"name": "tenant_name",
|
|
9282
|
+
"required": true
|
|
9283
|
+
}
|
|
9284
|
+
},
|
|
9285
|
+
"description": "[CRITICAL] STOP and confirm with the user; this overwrites current tenant state. Restores a tenant from a backup, replacing current tenant data.",
|
|
9272
9286
|
"examples": [
|
|
9273
|
-
"$ xano tenant
|
|
9274
|
-
"$ xano tenant
|
|
9287
|
+
"$ 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",
|
|
9288
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
9275
9289
|
],
|
|
9276
9290
|
"flags": {
|
|
9277
9291
|
"config": {
|
|
@@ -9303,53 +9317,21 @@
|
|
|
9303
9317
|
"allowNo": false,
|
|
9304
9318
|
"type": "boolean"
|
|
9305
9319
|
},
|
|
9306
|
-
"
|
|
9307
|
-
"description": "
|
|
9308
|
-
"
|
|
9309
|
-
|
|
9310
|
-
],
|
|
9311
|
-
"name": "credentials",
|
|
9312
|
-
"required": false,
|
|
9313
|
-
"hasDynamicHelp": false,
|
|
9314
|
-
"multiple": false,
|
|
9315
|
-
"type": "option"
|
|
9316
|
-
},
|
|
9317
|
-
"credentials_file": {
|
|
9318
|
-
"description": "Path to kubeconfig credentials file",
|
|
9319
|
-
"exclusive": [
|
|
9320
|
-
"credentials"
|
|
9321
|
-
],
|
|
9322
|
-
"name": "credentials_file",
|
|
9323
|
-
"required": false,
|
|
9324
|
-
"hasDynamicHelp": false,
|
|
9325
|
-
"multiple": false,
|
|
9326
|
-
"type": "option"
|
|
9327
|
-
},
|
|
9328
|
-
"description": {
|
|
9329
|
-
"char": "d",
|
|
9330
|
-
"description": "Cluster description",
|
|
9331
|
-
"name": "description",
|
|
9332
|
-
"required": false,
|
|
9320
|
+
"backup_id": {
|
|
9321
|
+
"description": "Backup ID to restore from",
|
|
9322
|
+
"name": "backup_id",
|
|
9323
|
+
"required": true,
|
|
9333
9324
|
"hasDynamicHelp": false,
|
|
9334
9325
|
"multiple": false,
|
|
9335
9326
|
"type": "option"
|
|
9336
9327
|
},
|
|
9337
|
-
"
|
|
9338
|
-
"
|
|
9339
|
-
"
|
|
9328
|
+
"force": {
|
|
9329
|
+
"char": "f",
|
|
9330
|
+
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
9331
|
+
"name": "force",
|
|
9340
9332
|
"required": false,
|
|
9341
|
-
"
|
|
9342
|
-
"
|
|
9343
|
-
"type": "option"
|
|
9344
|
-
},
|
|
9345
|
-
"name": {
|
|
9346
|
-
"char": "n",
|
|
9347
|
-
"description": "Cluster name",
|
|
9348
|
-
"name": "name",
|
|
9349
|
-
"required": true,
|
|
9350
|
-
"hasDynamicHelp": false,
|
|
9351
|
-
"multiple": false,
|
|
9352
|
-
"type": "option"
|
|
9333
|
+
"allowNo": false,
|
|
9334
|
+
"type": "boolean"
|
|
9353
9335
|
},
|
|
9354
9336
|
"output": {
|
|
9355
9337
|
"char": "o",
|
|
@@ -9365,23 +9347,19 @@
|
|
|
9365
9347
|
],
|
|
9366
9348
|
"type": "option"
|
|
9367
9349
|
},
|
|
9368
|
-
"
|
|
9369
|
-
"
|
|
9370
|
-
"
|
|
9350
|
+
"workspace": {
|
|
9351
|
+
"char": "w",
|
|
9352
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
9353
|
+
"name": "workspace",
|
|
9371
9354
|
"required": false,
|
|
9372
|
-
"default": "standard",
|
|
9373
9355
|
"hasDynamicHelp": false,
|
|
9374
9356
|
"multiple": false,
|
|
9375
|
-
"options": [
|
|
9376
|
-
"standard",
|
|
9377
|
-
"run"
|
|
9378
|
-
],
|
|
9379
9357
|
"type": "option"
|
|
9380
9358
|
}
|
|
9381
9359
|
},
|
|
9382
9360
|
"hasDynamicHelp": false,
|
|
9383
9361
|
"hiddenAliases": [],
|
|
9384
|
-
"id": "tenant:
|
|
9362
|
+
"id": "tenant:backup:restore",
|
|
9385
9363
|
"pluginAlias": "@xano/cli",
|
|
9386
9364
|
"pluginName": "@xano/cli",
|
|
9387
9365
|
"pluginType": "core",
|
|
@@ -9392,25 +9370,18 @@
|
|
|
9392
9370
|
"dist",
|
|
9393
9371
|
"commands",
|
|
9394
9372
|
"tenant",
|
|
9395
|
-
"
|
|
9396
|
-
"
|
|
9373
|
+
"backup",
|
|
9374
|
+
"restore",
|
|
9397
9375
|
"index.js"
|
|
9398
9376
|
]
|
|
9399
9377
|
},
|
|
9400
|
-
"tenant:cluster:
|
|
9378
|
+
"tenant:cluster:create": {
|
|
9401
9379
|
"aliases": [],
|
|
9402
|
-
"args": {
|
|
9403
|
-
|
|
9404
|
-
"description": "Cluster ID to delete",
|
|
9405
|
-
"name": "cluster_id",
|
|
9406
|
-
"required": true
|
|
9407
|
-
}
|
|
9408
|
-
},
|
|
9409
|
-
"description": "[CRITICAL] NEVER run without explicit user confirmation; this removes an entire cluster. Deletes a tenant cluster permanently.",
|
|
9380
|
+
"args": {},
|
|
9381
|
+
"description": "Create a new tenant cluster",
|
|
9410
9382
|
"examples": [
|
|
9411
|
-
"$ xano tenant cluster
|
|
9412
|
-
"$ xano tenant cluster
|
|
9413
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
9383
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
9384
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
9414
9385
|
],
|
|
9415
9386
|
"flags": {
|
|
9416
9387
|
"config": {
|
|
@@ -9442,13 +9413,53 @@
|
|
|
9442
9413
|
"allowNo": false,
|
|
9443
9414
|
"type": "boolean"
|
|
9444
9415
|
},
|
|
9445
|
-
"
|
|
9446
|
-
"
|
|
9447
|
-
"
|
|
9448
|
-
|
|
9416
|
+
"credentials": {
|
|
9417
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
9418
|
+
"exclusive": [
|
|
9419
|
+
"credentials_file"
|
|
9420
|
+
],
|
|
9421
|
+
"name": "credentials",
|
|
9449
9422
|
"required": false,
|
|
9450
|
-
"
|
|
9451
|
-
"
|
|
9423
|
+
"hasDynamicHelp": false,
|
|
9424
|
+
"multiple": false,
|
|
9425
|
+
"type": "option"
|
|
9426
|
+
},
|
|
9427
|
+
"credentials_file": {
|
|
9428
|
+
"description": "Path to kubeconfig credentials file",
|
|
9429
|
+
"exclusive": [
|
|
9430
|
+
"credentials"
|
|
9431
|
+
],
|
|
9432
|
+
"name": "credentials_file",
|
|
9433
|
+
"required": false,
|
|
9434
|
+
"hasDynamicHelp": false,
|
|
9435
|
+
"multiple": false,
|
|
9436
|
+
"type": "option"
|
|
9437
|
+
},
|
|
9438
|
+
"description": {
|
|
9439
|
+
"char": "d",
|
|
9440
|
+
"description": "Cluster description",
|
|
9441
|
+
"name": "description",
|
|
9442
|
+
"required": false,
|
|
9443
|
+
"hasDynamicHelp": false,
|
|
9444
|
+
"multiple": false,
|
|
9445
|
+
"type": "option"
|
|
9446
|
+
},
|
|
9447
|
+
"domain": {
|
|
9448
|
+
"description": "Custom domain for the cluster",
|
|
9449
|
+
"name": "domain",
|
|
9450
|
+
"required": false,
|
|
9451
|
+
"hasDynamicHelp": false,
|
|
9452
|
+
"multiple": false,
|
|
9453
|
+
"type": "option"
|
|
9454
|
+
},
|
|
9455
|
+
"name": {
|
|
9456
|
+
"char": "n",
|
|
9457
|
+
"description": "Cluster name",
|
|
9458
|
+
"name": "name",
|
|
9459
|
+
"required": true,
|
|
9460
|
+
"hasDynamicHelp": false,
|
|
9461
|
+
"multiple": false,
|
|
9462
|
+
"type": "option"
|
|
9452
9463
|
},
|
|
9453
9464
|
"output": {
|
|
9454
9465
|
"char": "o",
|
|
@@ -9463,11 +9474,24 @@
|
|
|
9463
9474
|
"json"
|
|
9464
9475
|
],
|
|
9465
9476
|
"type": "option"
|
|
9477
|
+
},
|
|
9478
|
+
"type": {
|
|
9479
|
+
"description": "Cluster type",
|
|
9480
|
+
"name": "type",
|
|
9481
|
+
"required": false,
|
|
9482
|
+
"default": "standard",
|
|
9483
|
+
"hasDynamicHelp": false,
|
|
9484
|
+
"multiple": false,
|
|
9485
|
+
"options": [
|
|
9486
|
+
"standard",
|
|
9487
|
+
"run"
|
|
9488
|
+
],
|
|
9489
|
+
"type": "option"
|
|
9466
9490
|
}
|
|
9467
9491
|
},
|
|
9468
9492
|
"hasDynamicHelp": false,
|
|
9469
9493
|
"hiddenAliases": [],
|
|
9470
|
-
"id": "tenant:cluster:
|
|
9494
|
+
"id": "tenant:cluster:create",
|
|
9471
9495
|
"pluginAlias": "@xano/cli",
|
|
9472
9496
|
"pluginName": "@xano/cli",
|
|
9473
9497
|
"pluginType": "core",
|
|
@@ -9479,23 +9503,24 @@
|
|
|
9479
9503
|
"commands",
|
|
9480
9504
|
"tenant",
|
|
9481
9505
|
"cluster",
|
|
9482
|
-
"
|
|
9506
|
+
"create",
|
|
9483
9507
|
"index.js"
|
|
9484
9508
|
]
|
|
9485
9509
|
},
|
|
9486
|
-
"tenant:
|
|
9510
|
+
"tenant:cluster:delete": {
|
|
9487
9511
|
"aliases": [],
|
|
9488
9512
|
"args": {
|
|
9489
|
-
"
|
|
9490
|
-
"description": "
|
|
9491
|
-
"name": "
|
|
9513
|
+
"cluster_id": {
|
|
9514
|
+
"description": "Cluster ID to delete",
|
|
9515
|
+
"name": "cluster_id",
|
|
9492
9516
|
"required": true
|
|
9493
9517
|
}
|
|
9494
9518
|
},
|
|
9495
|
-
"description": "[CRITICAL]
|
|
9519
|
+
"description": "[CRITICAL] NEVER run without explicit user confirmation; this removes an entire cluster. Deletes a tenant cluster permanently.",
|
|
9496
9520
|
"examples": [
|
|
9497
|
-
"$ xano tenant
|
|
9498
|
-
"$ xano tenant
|
|
9521
|
+
"$ 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",
|
|
9522
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
9523
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
9499
9524
|
],
|
|
9500
9525
|
"flags": {
|
|
9501
9526
|
"config": {
|
|
@@ -9527,14 +9552,6 @@
|
|
|
9527
9552
|
"allowNo": false,
|
|
9528
9553
|
"type": "boolean"
|
|
9529
9554
|
},
|
|
9530
|
-
"backup_id": {
|
|
9531
|
-
"description": "Backup ID to restore from",
|
|
9532
|
-
"name": "backup_id",
|
|
9533
|
-
"required": true,
|
|
9534
|
-
"hasDynamicHelp": false,
|
|
9535
|
-
"multiple": false,
|
|
9536
|
-
"type": "option"
|
|
9537
|
-
},
|
|
9538
9555
|
"force": {
|
|
9539
9556
|
"char": "f",
|
|
9540
9557
|
"description": "[CRITICAL] Skips the confirmation prompt.",
|
|
@@ -9556,20 +9573,11 @@
|
|
|
9556
9573
|
"json"
|
|
9557
9574
|
],
|
|
9558
9575
|
"type": "option"
|
|
9559
|
-
},
|
|
9560
|
-
"workspace": {
|
|
9561
|
-
"char": "w",
|
|
9562
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
9563
|
-
"name": "workspace",
|
|
9564
|
-
"required": false,
|
|
9565
|
-
"hasDynamicHelp": false,
|
|
9566
|
-
"multiple": false,
|
|
9567
|
-
"type": "option"
|
|
9568
9576
|
}
|
|
9569
9577
|
},
|
|
9570
9578
|
"hasDynamicHelp": false,
|
|
9571
9579
|
"hiddenAliases": [],
|
|
9572
|
-
"id": "tenant:
|
|
9580
|
+
"id": "tenant:cluster:delete",
|
|
9573
9581
|
"pluginAlias": "@xano/cli",
|
|
9574
9582
|
"pluginName": "@xano/cli",
|
|
9575
9583
|
"pluginType": "core",
|
|
@@ -9580,8 +9588,8 @@
|
|
|
9580
9588
|
"dist",
|
|
9581
9589
|
"commands",
|
|
9582
9590
|
"tenant",
|
|
9583
|
-
"
|
|
9584
|
-
"
|
|
9591
|
+
"cluster",
|
|
9592
|
+
"delete",
|
|
9585
9593
|
"index.js"
|
|
9586
9594
|
]
|
|
9587
9595
|
},
|
|
@@ -10047,7 +10055,7 @@
|
|
|
10047
10055
|
"index.js"
|
|
10048
10056
|
]
|
|
10049
10057
|
},
|
|
10050
|
-
"tenant:env:
|
|
10058
|
+
"tenant:env:get_all": {
|
|
10051
10059
|
"aliases": [],
|
|
10052
10060
|
"args": {
|
|
10053
10061
|
"tenant_name": {
|
|
@@ -10056,10 +10064,12 @@
|
|
|
10056
10064
|
"required": true
|
|
10057
10065
|
}
|
|
10058
10066
|
},
|
|
10059
|
-
"description": "
|
|
10067
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
10060
10068
|
"examples": [
|
|
10061
|
-
"$ xano tenant env
|
|
10062
|
-
"$ xano tenant env
|
|
10069
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
10070
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
10071
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
10072
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
10063
10073
|
],
|
|
10064
10074
|
"flags": {
|
|
10065
10075
|
"config": {
|
|
@@ -10091,6 +10101,15 @@
|
|
|
10091
10101
|
"allowNo": false,
|
|
10092
10102
|
"type": "boolean"
|
|
10093
10103
|
},
|
|
10104
|
+
"file": {
|
|
10105
|
+
"char": "f",
|
|
10106
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
10107
|
+
"name": "file",
|
|
10108
|
+
"required": false,
|
|
10109
|
+
"hasDynamicHelp": false,
|
|
10110
|
+
"multiple": false,
|
|
10111
|
+
"type": "option"
|
|
10112
|
+
},
|
|
10094
10113
|
"output": {
|
|
10095
10114
|
"char": "o",
|
|
10096
10115
|
"description": "Output format",
|
|
@@ -10105,6 +10124,13 @@
|
|
|
10105
10124
|
],
|
|
10106
10125
|
"type": "option"
|
|
10107
10126
|
},
|
|
10127
|
+
"view": {
|
|
10128
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
10129
|
+
"name": "view",
|
|
10130
|
+
"required": false,
|
|
10131
|
+
"allowNo": false,
|
|
10132
|
+
"type": "boolean"
|
|
10133
|
+
},
|
|
10108
10134
|
"workspace": {
|
|
10109
10135
|
"char": "w",
|
|
10110
10136
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -10117,7 +10143,7 @@
|
|
|
10117
10143
|
},
|
|
10118
10144
|
"hasDynamicHelp": false,
|
|
10119
10145
|
"hiddenAliases": [],
|
|
10120
|
-
"id": "tenant:env:
|
|
10146
|
+
"id": "tenant:env:get_all",
|
|
10121
10147
|
"pluginAlias": "@xano/cli",
|
|
10122
10148
|
"pluginName": "@xano/cli",
|
|
10123
10149
|
"pluginType": "core",
|
|
@@ -10129,11 +10155,11 @@
|
|
|
10129
10155
|
"commands",
|
|
10130
10156
|
"tenant",
|
|
10131
10157
|
"env",
|
|
10132
|
-
"
|
|
10158
|
+
"get_all",
|
|
10133
10159
|
"index.js"
|
|
10134
10160
|
]
|
|
10135
10161
|
},
|
|
10136
|
-
"tenant:env:
|
|
10162
|
+
"tenant:env:set": {
|
|
10137
10163
|
"aliases": [],
|
|
10138
10164
|
"args": {
|
|
10139
10165
|
"tenant_name": {
|
|
@@ -10142,12 +10168,10 @@
|
|
|
10142
10168
|
"required": true
|
|
10143
10169
|
}
|
|
10144
10170
|
},
|
|
10145
|
-
"description": "
|
|
10171
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
10146
10172
|
"examples": [
|
|
10147
|
-
"$ xano tenant env
|
|
10148
|
-
"$ xano tenant env
|
|
10149
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
10150
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
10173
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
10174
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
10151
10175
|
],
|
|
10152
10176
|
"flags": {
|
|
10153
10177
|
"config": {
|
|
@@ -10179,11 +10203,11 @@
|
|
|
10179
10203
|
"allowNo": false,
|
|
10180
10204
|
"type": "boolean"
|
|
10181
10205
|
},
|
|
10182
|
-
"
|
|
10183
|
-
"char": "
|
|
10184
|
-
"description": "
|
|
10185
|
-
"name": "
|
|
10186
|
-
"required":
|
|
10206
|
+
"name": {
|
|
10207
|
+
"char": "n",
|
|
10208
|
+
"description": "Environment variable name",
|
|
10209
|
+
"name": "name",
|
|
10210
|
+
"required": true,
|
|
10187
10211
|
"hasDynamicHelp": false,
|
|
10188
10212
|
"multiple": false,
|
|
10189
10213
|
"type": "option"
|
|
@@ -10202,12 +10226,13 @@
|
|
|
10202
10226
|
],
|
|
10203
10227
|
"type": "option"
|
|
10204
10228
|
},
|
|
10205
|
-
"
|
|
10206
|
-
"description": "
|
|
10207
|
-
"name": "
|
|
10208
|
-
"required":
|
|
10209
|
-
"
|
|
10210
|
-
"
|
|
10229
|
+
"value": {
|
|
10230
|
+
"description": "Environment variable value",
|
|
10231
|
+
"name": "value",
|
|
10232
|
+
"required": true,
|
|
10233
|
+
"hasDynamicHelp": false,
|
|
10234
|
+
"multiple": false,
|
|
10235
|
+
"type": "option"
|
|
10211
10236
|
},
|
|
10212
10237
|
"workspace": {
|
|
10213
10238
|
"char": "w",
|
|
@@ -10221,7 +10246,7 @@
|
|
|
10221
10246
|
},
|
|
10222
10247
|
"hasDynamicHelp": false,
|
|
10223
10248
|
"hiddenAliases": [],
|
|
10224
|
-
"id": "tenant:env:
|
|
10249
|
+
"id": "tenant:env:set",
|
|
10225
10250
|
"pluginAlias": "@xano/cli",
|
|
10226
10251
|
"pluginName": "@xano/cli",
|
|
10227
10252
|
"pluginType": "core",
|
|
@@ -10233,11 +10258,11 @@
|
|
|
10233
10258
|
"commands",
|
|
10234
10259
|
"tenant",
|
|
10235
10260
|
"env",
|
|
10236
|
-
"
|
|
10261
|
+
"set",
|
|
10237
10262
|
"index.js"
|
|
10238
10263
|
]
|
|
10239
10264
|
},
|
|
10240
|
-
"tenant:env:
|
|
10265
|
+
"tenant:env:list": {
|
|
10241
10266
|
"aliases": [],
|
|
10242
10267
|
"args": {
|
|
10243
10268
|
"tenant_name": {
|
|
@@ -10246,10 +10271,10 @@
|
|
|
10246
10271
|
"required": true
|
|
10247
10272
|
}
|
|
10248
10273
|
},
|
|
10249
|
-
"description": "
|
|
10274
|
+
"description": "List environment variable keys for a tenant",
|
|
10250
10275
|
"examples": [
|
|
10251
|
-
"$ xano tenant env
|
|
10252
|
-
"$ xano tenant env
|
|
10276
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
10277
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
10253
10278
|
],
|
|
10254
10279
|
"flags": {
|
|
10255
10280
|
"config": {
|
|
@@ -10281,15 +10306,6 @@
|
|
|
10281
10306
|
"allowNo": false,
|
|
10282
10307
|
"type": "boolean"
|
|
10283
10308
|
},
|
|
10284
|
-
"name": {
|
|
10285
|
-
"char": "n",
|
|
10286
|
-
"description": "Environment variable name",
|
|
10287
|
-
"name": "name",
|
|
10288
|
-
"required": true,
|
|
10289
|
-
"hasDynamicHelp": false,
|
|
10290
|
-
"multiple": false,
|
|
10291
|
-
"type": "option"
|
|
10292
|
-
},
|
|
10293
10309
|
"output": {
|
|
10294
10310
|
"char": "o",
|
|
10295
10311
|
"description": "Output format",
|
|
@@ -10304,14 +10320,6 @@
|
|
|
10304
10320
|
],
|
|
10305
10321
|
"type": "option"
|
|
10306
10322
|
},
|
|
10307
|
-
"value": {
|
|
10308
|
-
"description": "Environment variable value",
|
|
10309
|
-
"name": "value",
|
|
10310
|
-
"required": true,
|
|
10311
|
-
"hasDynamicHelp": false,
|
|
10312
|
-
"multiple": false,
|
|
10313
|
-
"type": "option"
|
|
10314
|
-
},
|
|
10315
10323
|
"workspace": {
|
|
10316
10324
|
"char": "w",
|
|
10317
10325
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -10324,7 +10332,7 @@
|
|
|
10324
10332
|
},
|
|
10325
10333
|
"hasDynamicHelp": false,
|
|
10326
10334
|
"hiddenAliases": [],
|
|
10327
|
-
"id": "tenant:env:
|
|
10335
|
+
"id": "tenant:env:list",
|
|
10328
10336
|
"pluginAlias": "@xano/cli",
|
|
10329
10337
|
"pluginName": "@xano/cli",
|
|
10330
10338
|
"pluginType": "core",
|
|
@@ -10336,7 +10344,7 @@
|
|
|
10336
10344
|
"commands",
|
|
10337
10345
|
"tenant",
|
|
10338
10346
|
"env",
|
|
10339
|
-
"
|
|
10347
|
+
"list",
|
|
10340
10348
|
"index.js"
|
|
10341
10349
|
]
|
|
10342
10350
|
},
|
|
@@ -10653,7 +10661,103 @@
|
|
|
10653
10661
|
},
|
|
10654
10662
|
"hasDynamicHelp": false,
|
|
10655
10663
|
"hiddenAliases": [],
|
|
10656
|
-
"id": "tenant:license:set",
|
|
10664
|
+
"id": "tenant:license:set",
|
|
10665
|
+
"pluginAlias": "@xano/cli",
|
|
10666
|
+
"pluginName": "@xano/cli",
|
|
10667
|
+
"pluginType": "core",
|
|
10668
|
+
"strict": true,
|
|
10669
|
+
"enableJsonFlag": false,
|
|
10670
|
+
"isESM": true,
|
|
10671
|
+
"relativePath": [
|
|
10672
|
+
"dist",
|
|
10673
|
+
"commands",
|
|
10674
|
+
"tenant",
|
|
10675
|
+
"license",
|
|
10676
|
+
"set",
|
|
10677
|
+
"index.js"
|
|
10678
|
+
]
|
|
10679
|
+
},
|
|
10680
|
+
"tenant:snapshot:create": {
|
|
10681
|
+
"aliases": [],
|
|
10682
|
+
"args": {
|
|
10683
|
+
"tenant_name": {
|
|
10684
|
+
"description": "Tenant name to snapshot",
|
|
10685
|
+
"name": "tenant_name",
|
|
10686
|
+
"required": true
|
|
10687
|
+
}
|
|
10688
|
+
},
|
|
10689
|
+
"description": "Create a database snapshot for a tenant (an instant clone of the tenant's database)",
|
|
10690
|
+
"examples": [
|
|
10691
|
+
"$ xano tenant snapshot create t1234-abcd-xyz1 --label before-v2\nCreated snapshot t1234-abcd-xyz1_bk_20260603_203614 for tenant t1234-abcd-xyz1\n",
|
|
10692
|
+
"$ xano tenant snapshot create t1234-abcd-xyz1 -l before-v2 -o json"
|
|
10693
|
+
],
|
|
10694
|
+
"flags": {
|
|
10695
|
+
"config": {
|
|
10696
|
+
"char": "c",
|
|
10697
|
+
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
10698
|
+
"env": "XANO_CONFIG",
|
|
10699
|
+
"name": "config",
|
|
10700
|
+
"required": false,
|
|
10701
|
+
"hasDynamicHelp": false,
|
|
10702
|
+
"multiple": false,
|
|
10703
|
+
"type": "option"
|
|
10704
|
+
},
|
|
10705
|
+
"profile": {
|
|
10706
|
+
"char": "p",
|
|
10707
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
10708
|
+
"env": "XANO_PROFILE",
|
|
10709
|
+
"name": "profile",
|
|
10710
|
+
"required": false,
|
|
10711
|
+
"hasDynamicHelp": false,
|
|
10712
|
+
"multiple": false,
|
|
10713
|
+
"type": "option"
|
|
10714
|
+
},
|
|
10715
|
+
"verbose": {
|
|
10716
|
+
"char": "v",
|
|
10717
|
+
"description": "Show detailed request/response information",
|
|
10718
|
+
"env": "XANO_VERBOSE",
|
|
10719
|
+
"name": "verbose",
|
|
10720
|
+
"required": false,
|
|
10721
|
+
"allowNo": false,
|
|
10722
|
+
"type": "boolean"
|
|
10723
|
+
},
|
|
10724
|
+
"label": {
|
|
10725
|
+
"char": "l",
|
|
10726
|
+
"description": "Optional label appended to the snapshot description (alphanumeric)",
|
|
10727
|
+
"name": "label",
|
|
10728
|
+
"required": false,
|
|
10729
|
+
"default": "",
|
|
10730
|
+
"hasDynamicHelp": false,
|
|
10731
|
+
"multiple": false,
|
|
10732
|
+
"type": "option"
|
|
10733
|
+
},
|
|
10734
|
+
"output": {
|
|
10735
|
+
"char": "o",
|
|
10736
|
+
"description": "Output format",
|
|
10737
|
+
"name": "output",
|
|
10738
|
+
"required": false,
|
|
10739
|
+
"default": "summary",
|
|
10740
|
+
"hasDynamicHelp": false,
|
|
10741
|
+
"multiple": false,
|
|
10742
|
+
"options": [
|
|
10743
|
+
"summary",
|
|
10744
|
+
"json"
|
|
10745
|
+
],
|
|
10746
|
+
"type": "option"
|
|
10747
|
+
},
|
|
10748
|
+
"workspace": {
|
|
10749
|
+
"char": "w",
|
|
10750
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
10751
|
+
"name": "workspace",
|
|
10752
|
+
"required": false,
|
|
10753
|
+
"hasDynamicHelp": false,
|
|
10754
|
+
"multiple": false,
|
|
10755
|
+
"type": "option"
|
|
10756
|
+
}
|
|
10757
|
+
},
|
|
10758
|
+
"hasDynamicHelp": false,
|
|
10759
|
+
"hiddenAliases": [],
|
|
10760
|
+
"id": "tenant:snapshot:create",
|
|
10657
10761
|
"pluginAlias": "@xano/cli",
|
|
10658
10762
|
"pluginName": "@xano/cli",
|
|
10659
10763
|
"pluginType": "core",
|
|
@@ -10664,8 +10768,8 @@
|
|
|
10664
10768
|
"dist",
|
|
10665
10769
|
"commands",
|
|
10666
10770
|
"tenant",
|
|
10667
|
-
"
|
|
10668
|
-
"
|
|
10771
|
+
"snapshot",
|
|
10772
|
+
"create",
|
|
10669
10773
|
"index.js"
|
|
10670
10774
|
]
|
|
10671
10775
|
},
|
|
@@ -10771,19 +10875,19 @@
|
|
|
10771
10875
|
"index.js"
|
|
10772
10876
|
]
|
|
10773
10877
|
},
|
|
10774
|
-
"tenant:snapshot:
|
|
10878
|
+
"tenant:snapshot:list": {
|
|
10775
10879
|
"aliases": [],
|
|
10776
10880
|
"args": {
|
|
10777
10881
|
"tenant_name": {
|
|
10778
|
-
"description": "Tenant name to
|
|
10882
|
+
"description": "Tenant name to list snapshots for",
|
|
10779
10883
|
"name": "tenant_name",
|
|
10780
10884
|
"required": true
|
|
10781
10885
|
}
|
|
10782
10886
|
},
|
|
10783
|
-
"description": "
|
|
10887
|
+
"description": "List database snapshots for a tenant",
|
|
10784
10888
|
"examples": [
|
|
10785
|
-
"$ xano tenant snapshot
|
|
10786
|
-
"$ xano tenant snapshot
|
|
10889
|
+
"$ xano tenant snapshot list t1234-abcd-xyz1\nSnapshots for tenant t1234-abcd-xyz1:\n - t1234-abcd-xyz1 (25 MB) [ORIGINAL]\n - t1234-abcd-xyz1_bk_20260603_203614 (25 MB, 2026-06-03 20:36:14) [LIVE]\n",
|
|
10890
|
+
"$ xano tenant snapshot list t1234-abcd-xyz1 -o json"
|
|
10787
10891
|
],
|
|
10788
10892
|
"flags": {
|
|
10789
10893
|
"config": {
|
|
@@ -10815,16 +10919,6 @@
|
|
|
10815
10919
|
"allowNo": false,
|
|
10816
10920
|
"type": "boolean"
|
|
10817
10921
|
},
|
|
10818
|
-
"label": {
|
|
10819
|
-
"char": "l",
|
|
10820
|
-
"description": "Optional label appended to the snapshot description (alphanumeric)",
|
|
10821
|
-
"name": "label",
|
|
10822
|
-
"required": false,
|
|
10823
|
-
"default": "",
|
|
10824
|
-
"hasDynamicHelp": false,
|
|
10825
|
-
"multiple": false,
|
|
10826
|
-
"type": "option"
|
|
10827
|
-
},
|
|
10828
10922
|
"output": {
|
|
10829
10923
|
"char": "o",
|
|
10830
10924
|
"description": "Output format",
|
|
@@ -10851,7 +10945,7 @@
|
|
|
10851
10945
|
},
|
|
10852
10946
|
"hasDynamicHelp": false,
|
|
10853
10947
|
"hiddenAliases": [],
|
|
10854
|
-
"id": "tenant:snapshot:
|
|
10948
|
+
"id": "tenant:snapshot:list",
|
|
10855
10949
|
"pluginAlias": "@xano/cli",
|
|
10856
10950
|
"pluginName": "@xano/cli",
|
|
10857
10951
|
"pluginType": "core",
|
|
@@ -10863,23 +10957,23 @@
|
|
|
10863
10957
|
"commands",
|
|
10864
10958
|
"tenant",
|
|
10865
10959
|
"snapshot",
|
|
10866
|
-
"
|
|
10960
|
+
"list",
|
|
10867
10961
|
"index.js"
|
|
10868
10962
|
]
|
|
10869
10963
|
},
|
|
10870
|
-
"tenant:snapshot:
|
|
10964
|
+
"tenant:snapshot:swap": {
|
|
10871
10965
|
"aliases": [],
|
|
10872
10966
|
"args": {
|
|
10873
10967
|
"tenant_name": {
|
|
10874
|
-
"description": "Tenant name to
|
|
10968
|
+
"description": "Tenant name to swap",
|
|
10875
10969
|
"name": "tenant_name",
|
|
10876
10970
|
"required": true
|
|
10877
10971
|
}
|
|
10878
10972
|
},
|
|
10879
|
-
"description": "
|
|
10973
|
+
"description": "Swap a tenant's live database to a snapshot. This repoints the tenant; the current live database is left untouched, so you can swap back. To roll back, swap to the original database name.",
|
|
10880
10974
|
"examples": [
|
|
10881
|
-
"$ xano tenant snapshot
|
|
10882
|
-
"$ xano tenant snapshot
|
|
10975
|
+
"$ xano tenant snapshot swap t1234-abcd-xyz1 --snapshot t1234-abcd-xyz1_bk_20260603_203614\nSwapped tenant t1234-abcd-xyz1 from t1234-abcd-xyz1 to t1234-abcd-xyz1_bk_20260603_203614\n",
|
|
10976
|
+
"$ xano tenant snapshot swap t1234-abcd-xyz1 --snapshot t1234-abcd-xyz1 --force"
|
|
10883
10977
|
],
|
|
10884
10978
|
"flags": {
|
|
10885
10979
|
"config": {
|
|
@@ -10911,6 +11005,14 @@
|
|
|
10911
11005
|
"allowNo": false,
|
|
10912
11006
|
"type": "boolean"
|
|
10913
11007
|
},
|
|
11008
|
+
"force": {
|
|
11009
|
+
"char": "f",
|
|
11010
|
+
"description": "Skips the confirmation prompt.",
|
|
11011
|
+
"name": "force",
|
|
11012
|
+
"required": false,
|
|
11013
|
+
"allowNo": false,
|
|
11014
|
+
"type": "boolean"
|
|
11015
|
+
},
|
|
10914
11016
|
"output": {
|
|
10915
11017
|
"char": "o",
|
|
10916
11018
|
"description": "Output format",
|
|
@@ -10925,6 +11027,14 @@
|
|
|
10925
11027
|
],
|
|
10926
11028
|
"type": "option"
|
|
10927
11029
|
},
|
|
11030
|
+
"snapshot": {
|
|
11031
|
+
"description": "Snapshot database name to swap to (use the original tenant name to roll back)",
|
|
11032
|
+
"name": "snapshot",
|
|
11033
|
+
"required": true,
|
|
11034
|
+
"hasDynamicHelp": false,
|
|
11035
|
+
"multiple": false,
|
|
11036
|
+
"type": "option"
|
|
11037
|
+
},
|
|
10928
11038
|
"workspace": {
|
|
10929
11039
|
"char": "w",
|
|
10930
11040
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -10937,7 +11047,7 @@
|
|
|
10937
11047
|
},
|
|
10938
11048
|
"hasDynamicHelp": false,
|
|
10939
11049
|
"hiddenAliases": [],
|
|
10940
|
-
"id": "tenant:snapshot:
|
|
11050
|
+
"id": "tenant:snapshot:swap",
|
|
10941
11051
|
"pluginAlias": "@xano/cli",
|
|
10942
11052
|
"pluginName": "@xano/cli",
|
|
10943
11053
|
"pluginType": "core",
|
|
@@ -10949,7 +11059,7 @@
|
|
|
10949
11059
|
"commands",
|
|
10950
11060
|
"tenant",
|
|
10951
11061
|
"snapshot",
|
|
10952
|
-
"
|
|
11062
|
+
"swap",
|
|
10953
11063
|
"index.js"
|
|
10954
11064
|
]
|
|
10955
11065
|
},
|
|
@@ -11064,108 +11174,6 @@
|
|
|
11064
11174
|
"index.js"
|
|
11065
11175
|
]
|
|
11066
11176
|
},
|
|
11067
|
-
"tenant:snapshot:swap": {
|
|
11068
|
-
"aliases": [],
|
|
11069
|
-
"args": {
|
|
11070
|
-
"tenant_name": {
|
|
11071
|
-
"description": "Tenant name to swap",
|
|
11072
|
-
"name": "tenant_name",
|
|
11073
|
-
"required": true
|
|
11074
|
-
}
|
|
11075
|
-
},
|
|
11076
|
-
"description": "Swap a tenant's live database to a snapshot. This repoints the tenant; the current live database is left untouched, so you can swap back. To roll back, swap to the original database name.",
|
|
11077
|
-
"examples": [
|
|
11078
|
-
"$ xano tenant snapshot swap t1234-abcd-xyz1 --snapshot t1234-abcd-xyz1_bk_20260603_203614\nSwapped tenant t1234-abcd-xyz1 from t1234-abcd-xyz1 to t1234-abcd-xyz1_bk_20260603_203614\n",
|
|
11079
|
-
"$ xano tenant snapshot swap t1234-abcd-xyz1 --snapshot t1234-abcd-xyz1 --force"
|
|
11080
|
-
],
|
|
11081
|
-
"flags": {
|
|
11082
|
-
"config": {
|
|
11083
|
-
"char": "c",
|
|
11084
|
-
"description": "Path to credentials file (default: ~/.xano/credentials.yaml)",
|
|
11085
|
-
"env": "XANO_CONFIG",
|
|
11086
|
-
"name": "config",
|
|
11087
|
-
"required": false,
|
|
11088
|
-
"hasDynamicHelp": false,
|
|
11089
|
-
"multiple": false,
|
|
11090
|
-
"type": "option"
|
|
11091
|
-
},
|
|
11092
|
-
"profile": {
|
|
11093
|
-
"char": "p",
|
|
11094
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
11095
|
-
"env": "XANO_PROFILE",
|
|
11096
|
-
"name": "profile",
|
|
11097
|
-
"required": false,
|
|
11098
|
-
"hasDynamicHelp": false,
|
|
11099
|
-
"multiple": false,
|
|
11100
|
-
"type": "option"
|
|
11101
|
-
},
|
|
11102
|
-
"verbose": {
|
|
11103
|
-
"char": "v",
|
|
11104
|
-
"description": "Show detailed request/response information",
|
|
11105
|
-
"env": "XANO_VERBOSE",
|
|
11106
|
-
"name": "verbose",
|
|
11107
|
-
"required": false,
|
|
11108
|
-
"allowNo": false,
|
|
11109
|
-
"type": "boolean"
|
|
11110
|
-
},
|
|
11111
|
-
"force": {
|
|
11112
|
-
"char": "f",
|
|
11113
|
-
"description": "Skips the confirmation prompt.",
|
|
11114
|
-
"name": "force",
|
|
11115
|
-
"required": false,
|
|
11116
|
-
"allowNo": false,
|
|
11117
|
-
"type": "boolean"
|
|
11118
|
-
},
|
|
11119
|
-
"output": {
|
|
11120
|
-
"char": "o",
|
|
11121
|
-
"description": "Output format",
|
|
11122
|
-
"name": "output",
|
|
11123
|
-
"required": false,
|
|
11124
|
-
"default": "summary",
|
|
11125
|
-
"hasDynamicHelp": false,
|
|
11126
|
-
"multiple": false,
|
|
11127
|
-
"options": [
|
|
11128
|
-
"summary",
|
|
11129
|
-
"json"
|
|
11130
|
-
],
|
|
11131
|
-
"type": "option"
|
|
11132
|
-
},
|
|
11133
|
-
"snapshot": {
|
|
11134
|
-
"description": "Snapshot database name to swap to (use the original tenant name to roll back)",
|
|
11135
|
-
"name": "snapshot",
|
|
11136
|
-
"required": true,
|
|
11137
|
-
"hasDynamicHelp": false,
|
|
11138
|
-
"multiple": false,
|
|
11139
|
-
"type": "option"
|
|
11140
|
-
},
|
|
11141
|
-
"workspace": {
|
|
11142
|
-
"char": "w",
|
|
11143
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
11144
|
-
"name": "workspace",
|
|
11145
|
-
"required": false,
|
|
11146
|
-
"hasDynamicHelp": false,
|
|
11147
|
-
"multiple": false,
|
|
11148
|
-
"type": "option"
|
|
11149
|
-
}
|
|
11150
|
-
},
|
|
11151
|
-
"hasDynamicHelp": false,
|
|
11152
|
-
"hiddenAliases": [],
|
|
11153
|
-
"id": "tenant:snapshot:swap",
|
|
11154
|
-
"pluginAlias": "@xano/cli",
|
|
11155
|
-
"pluginName": "@xano/cli",
|
|
11156
|
-
"pluginType": "core",
|
|
11157
|
-
"strict": true,
|
|
11158
|
-
"enableJsonFlag": false,
|
|
11159
|
-
"isESM": true,
|
|
11160
|
-
"relativePath": [
|
|
11161
|
-
"dist",
|
|
11162
|
-
"commands",
|
|
11163
|
-
"tenant",
|
|
11164
|
-
"snapshot",
|
|
11165
|
-
"swap",
|
|
11166
|
-
"index.js"
|
|
11167
|
-
]
|
|
11168
|
-
},
|
|
11169
11177
|
"tenant:unit_test:run": {
|
|
11170
11178
|
"aliases": [],
|
|
11171
11179
|
"args": {
|
|
@@ -11772,7 +11780,7 @@
|
|
|
11772
11780
|
"index.js"
|
|
11773
11781
|
]
|
|
11774
11782
|
},
|
|
11775
|
-
"tenant:cluster:license:
|
|
11783
|
+
"tenant:cluster:license:get": {
|
|
11776
11784
|
"aliases": [],
|
|
11777
11785
|
"args": {
|
|
11778
11786
|
"cluster_id": {
|
|
@@ -11781,12 +11789,12 @@
|
|
|
11781
11789
|
"required": true
|
|
11782
11790
|
}
|
|
11783
11791
|
},
|
|
11784
|
-
"description": "
|
|
11792
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
11785
11793
|
"examples": [
|
|
11786
|
-
"$ xano tenant cluster license
|
|
11787
|
-
"$ xano tenant cluster license
|
|
11788
|
-
"$ xano tenant cluster license
|
|
11789
|
-
"$ xano tenant cluster license
|
|
11794
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
11795
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
11796
|
+
"$ xano tenant cluster license get 1 --view",
|
|
11797
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
11790
11798
|
],
|
|
11791
11799
|
"flags": {
|
|
11792
11800
|
"config": {
|
|
@@ -11818,22 +11826,9 @@
|
|
|
11818
11826
|
"allowNo": false,
|
|
11819
11827
|
"type": "boolean"
|
|
11820
11828
|
},
|
|
11821
|
-
"clean": {
|
|
11822
|
-
"description": "[IMPORTANT] ALWAYS confirm with the user before deleting the source kubeconfig file after upload. Removes the source file after successful upload.",
|
|
11823
|
-
"exclusive": [
|
|
11824
|
-
"value"
|
|
11825
|
-
],
|
|
11826
|
-
"name": "clean",
|
|
11827
|
-
"required": false,
|
|
11828
|
-
"allowNo": false,
|
|
11829
|
-
"type": "boolean"
|
|
11830
|
-
},
|
|
11831
11829
|
"file": {
|
|
11832
11830
|
"char": "f",
|
|
11833
|
-
"description": "
|
|
11834
|
-
"exclusive": [
|
|
11835
|
-
"value"
|
|
11836
|
-
],
|
|
11831
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
11837
11832
|
"name": "file",
|
|
11838
11833
|
"required": false,
|
|
11839
11834
|
"hasDynamicHelp": false,
|
|
@@ -11854,22 +11849,17 @@
|
|
|
11854
11849
|
],
|
|
11855
11850
|
"type": "option"
|
|
11856
11851
|
},
|
|
11857
|
-
"
|
|
11858
|
-
"description": "
|
|
11859
|
-
"
|
|
11860
|
-
"file",
|
|
11861
|
-
"clean"
|
|
11862
|
-
],
|
|
11863
|
-
"name": "value",
|
|
11852
|
+
"view": {
|
|
11853
|
+
"description": "Print license to stdout instead of saving to file",
|
|
11854
|
+
"name": "view",
|
|
11864
11855
|
"required": false,
|
|
11865
|
-
"
|
|
11866
|
-
"
|
|
11867
|
-
"type": "option"
|
|
11856
|
+
"allowNo": false,
|
|
11857
|
+
"type": "boolean"
|
|
11868
11858
|
}
|
|
11869
11859
|
},
|
|
11870
11860
|
"hasDynamicHelp": false,
|
|
11871
11861
|
"hiddenAliases": [],
|
|
11872
|
-
"id": "tenant:cluster:license:
|
|
11862
|
+
"id": "tenant:cluster:license:get",
|
|
11873
11863
|
"pluginAlias": "@xano/cli",
|
|
11874
11864
|
"pluginName": "@xano/cli",
|
|
11875
11865
|
"pluginType": "core",
|
|
@@ -11882,11 +11872,11 @@
|
|
|
11882
11872
|
"tenant",
|
|
11883
11873
|
"cluster",
|
|
11884
11874
|
"license",
|
|
11885
|
-
"
|
|
11875
|
+
"get",
|
|
11886
11876
|
"index.js"
|
|
11887
11877
|
]
|
|
11888
11878
|
},
|
|
11889
|
-
"tenant:cluster:license:
|
|
11879
|
+
"tenant:cluster:license:set": {
|
|
11890
11880
|
"aliases": [],
|
|
11891
11881
|
"args": {
|
|
11892
11882
|
"cluster_id": {
|
|
@@ -11895,12 +11885,12 @@
|
|
|
11895
11885
|
"required": true
|
|
11896
11886
|
}
|
|
11897
11887
|
},
|
|
11898
|
-
"description": "
|
|
11888
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
11899
11889
|
"examples": [
|
|
11900
|
-
"$ xano tenant cluster license
|
|
11901
|
-
"$ xano tenant cluster license
|
|
11902
|
-
"$ xano tenant cluster license
|
|
11903
|
-
"$ xano tenant cluster license
|
|
11890
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
11891
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
11892
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
11893
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
11904
11894
|
],
|
|
11905
11895
|
"flags": {
|
|
11906
11896
|
"config": {
|
|
@@ -11932,9 +11922,22 @@
|
|
|
11932
11922
|
"allowNo": false,
|
|
11933
11923
|
"type": "boolean"
|
|
11934
11924
|
},
|
|
11925
|
+
"clean": {
|
|
11926
|
+
"description": "[IMPORTANT] ALWAYS confirm with the user before deleting the source kubeconfig file after upload. Removes the source file after successful upload.",
|
|
11927
|
+
"exclusive": [
|
|
11928
|
+
"value"
|
|
11929
|
+
],
|
|
11930
|
+
"name": "clean",
|
|
11931
|
+
"required": false,
|
|
11932
|
+
"allowNo": false,
|
|
11933
|
+
"type": "boolean"
|
|
11934
|
+
},
|
|
11935
11935
|
"file": {
|
|
11936
11936
|
"char": "f",
|
|
11937
|
-
"description": "
|
|
11937
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
11938
|
+
"exclusive": [
|
|
11939
|
+
"value"
|
|
11940
|
+
],
|
|
11938
11941
|
"name": "file",
|
|
11939
11942
|
"required": false,
|
|
11940
11943
|
"hasDynamicHelp": false,
|
|
@@ -11955,17 +11958,22 @@
|
|
|
11955
11958
|
],
|
|
11956
11959
|
"type": "option"
|
|
11957
11960
|
},
|
|
11958
|
-
"
|
|
11959
|
-
"description": "
|
|
11960
|
-
"
|
|
11961
|
+
"value": {
|
|
11962
|
+
"description": "Inline kubeconfig YAML value",
|
|
11963
|
+
"exclusive": [
|
|
11964
|
+
"file",
|
|
11965
|
+
"clean"
|
|
11966
|
+
],
|
|
11967
|
+
"name": "value",
|
|
11961
11968
|
"required": false,
|
|
11962
|
-
"
|
|
11963
|
-
"
|
|
11969
|
+
"hasDynamicHelp": false,
|
|
11970
|
+
"multiple": false,
|
|
11971
|
+
"type": "option"
|
|
11964
11972
|
}
|
|
11965
11973
|
},
|
|
11966
11974
|
"hasDynamicHelp": false,
|
|
11967
11975
|
"hiddenAliases": [],
|
|
11968
|
-
"id": "tenant:cluster:license:
|
|
11976
|
+
"id": "tenant:cluster:license:set",
|
|
11969
11977
|
"pluginAlias": "@xano/cli",
|
|
11970
11978
|
"pluginName": "@xano/cli",
|
|
11971
11979
|
"pluginType": "core",
|
|
@@ -11978,10 +11986,10 @@
|
|
|
11978
11986
|
"tenant",
|
|
11979
11987
|
"cluster",
|
|
11980
11988
|
"license",
|
|
11981
|
-
"
|
|
11989
|
+
"set",
|
|
11982
11990
|
"index.js"
|
|
11983
11991
|
]
|
|
11984
11992
|
}
|
|
11985
11993
|
},
|
|
11986
|
-
"version": "1.0.4-beta.
|
|
11994
|
+
"version": "1.0.4-beta.5"
|
|
11987
11995
|
}
|