@xano/cli 0.0.52 → 0.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +1358 -1358
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -296,20 +296,20 @@
|
|
|
296
296
|
"index.js"
|
|
297
297
|
]
|
|
298
298
|
},
|
|
299
|
-
"branch:
|
|
299
|
+
"branch:delete": {
|
|
300
300
|
"aliases": [],
|
|
301
301
|
"args": {
|
|
302
302
|
"branch_label": {
|
|
303
|
-
"description": "Branch label (
|
|
303
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
304
304
|
"name": "branch_label",
|
|
305
305
|
"required": true
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
|
-
"description": "
|
|
308
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
309
309
|
"examples": [
|
|
310
|
-
"$ xano branch
|
|
311
|
-
"$ xano branch
|
|
312
|
-
"$ xano branch
|
|
310
|
+
"$ 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",
|
|
311
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
312
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
313
313
|
],
|
|
314
314
|
"flags": {
|
|
315
315
|
"profile": {
|
|
@@ -331,6 +331,14 @@
|
|
|
331
331
|
"allowNo": false,
|
|
332
332
|
"type": "boolean"
|
|
333
333
|
},
|
|
334
|
+
"force": {
|
|
335
|
+
"char": "f",
|
|
336
|
+
"description": "Skip confirmation prompt",
|
|
337
|
+
"name": "force",
|
|
338
|
+
"required": false,
|
|
339
|
+
"allowNo": false,
|
|
340
|
+
"type": "boolean"
|
|
341
|
+
},
|
|
334
342
|
"output": {
|
|
335
343
|
"char": "o",
|
|
336
344
|
"description": "Output format",
|
|
@@ -357,7 +365,7 @@
|
|
|
357
365
|
},
|
|
358
366
|
"hasDynamicHelp": false,
|
|
359
367
|
"hiddenAliases": [],
|
|
360
|
-
"id": "branch:
|
|
368
|
+
"id": "branch:delete",
|
|
361
369
|
"pluginAlias": "@xano/cli",
|
|
362
370
|
"pluginName": "@xano/cli",
|
|
363
371
|
"pluginType": "core",
|
|
@@ -368,24 +376,24 @@
|
|
|
368
376
|
"dist",
|
|
369
377
|
"commands",
|
|
370
378
|
"branch",
|
|
371
|
-
"
|
|
379
|
+
"delete",
|
|
372
380
|
"index.js"
|
|
373
381
|
]
|
|
374
382
|
},
|
|
375
|
-
"branch:
|
|
383
|
+
"branch:get": {
|
|
376
384
|
"aliases": [],
|
|
377
385
|
"args": {
|
|
378
386
|
"branch_label": {
|
|
379
|
-
"description": "Branch label
|
|
387
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
380
388
|
"name": "branch_label",
|
|
381
389
|
"required": true
|
|
382
390
|
}
|
|
383
391
|
},
|
|
384
|
-
"description": "
|
|
392
|
+
"description": "Get details for a specific branch",
|
|
385
393
|
"examples": [
|
|
386
|
-
"$ xano branch
|
|
387
|
-
"$ xano branch
|
|
388
|
-
"$ xano branch
|
|
394
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
395
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
396
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
389
397
|
],
|
|
390
398
|
"flags": {
|
|
391
399
|
"profile": {
|
|
@@ -407,14 +415,6 @@
|
|
|
407
415
|
"allowNo": false,
|
|
408
416
|
"type": "boolean"
|
|
409
417
|
},
|
|
410
|
-
"force": {
|
|
411
|
-
"char": "f",
|
|
412
|
-
"description": "Skip confirmation prompt",
|
|
413
|
-
"name": "force",
|
|
414
|
-
"required": false,
|
|
415
|
-
"allowNo": false,
|
|
416
|
-
"type": "boolean"
|
|
417
|
-
},
|
|
418
418
|
"output": {
|
|
419
419
|
"char": "o",
|
|
420
420
|
"description": "Output format",
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
},
|
|
442
442
|
"hasDynamicHelp": false,
|
|
443
443
|
"hiddenAliases": [],
|
|
444
|
-
"id": "branch:
|
|
444
|
+
"id": "branch:get",
|
|
445
445
|
"pluginAlias": "@xano/cli",
|
|
446
446
|
"pluginName": "@xano/cli",
|
|
447
447
|
"pluginType": "core",
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
"dist",
|
|
453
453
|
"commands",
|
|
454
454
|
"branch",
|
|
455
|
-
"
|
|
455
|
+
"get",
|
|
456
456
|
"index.js"
|
|
457
457
|
]
|
|
458
458
|
},
|
|
@@ -673,6 +673,66 @@
|
|
|
673
673
|
"index.js"
|
|
674
674
|
]
|
|
675
675
|
},
|
|
676
|
+
"platform:list": {
|
|
677
|
+
"aliases": [],
|
|
678
|
+
"args": {},
|
|
679
|
+
"description": "List all platforms",
|
|
680
|
+
"examples": [
|
|
681
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
682
|
+
"$ xano platform list --output json"
|
|
683
|
+
],
|
|
684
|
+
"flags": {
|
|
685
|
+
"profile": {
|
|
686
|
+
"char": "p",
|
|
687
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
688
|
+
"env": "XANO_PROFILE",
|
|
689
|
+
"name": "profile",
|
|
690
|
+
"required": false,
|
|
691
|
+
"hasDynamicHelp": false,
|
|
692
|
+
"multiple": false,
|
|
693
|
+
"type": "option"
|
|
694
|
+
},
|
|
695
|
+
"verbose": {
|
|
696
|
+
"char": "v",
|
|
697
|
+
"description": "Show detailed request/response information",
|
|
698
|
+
"env": "XANO_VERBOSE",
|
|
699
|
+
"name": "verbose",
|
|
700
|
+
"required": false,
|
|
701
|
+
"allowNo": false,
|
|
702
|
+
"type": "boolean"
|
|
703
|
+
},
|
|
704
|
+
"output": {
|
|
705
|
+
"char": "o",
|
|
706
|
+
"description": "Output format",
|
|
707
|
+
"name": "output",
|
|
708
|
+
"required": false,
|
|
709
|
+
"default": "summary",
|
|
710
|
+
"hasDynamicHelp": false,
|
|
711
|
+
"multiple": false,
|
|
712
|
+
"options": [
|
|
713
|
+
"summary",
|
|
714
|
+
"json"
|
|
715
|
+
],
|
|
716
|
+
"type": "option"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"hasDynamicHelp": false,
|
|
720
|
+
"hiddenAliases": [],
|
|
721
|
+
"id": "platform:list",
|
|
722
|
+
"pluginAlias": "@xano/cli",
|
|
723
|
+
"pluginName": "@xano/cli",
|
|
724
|
+
"pluginType": "core",
|
|
725
|
+
"strict": true,
|
|
726
|
+
"enableJsonFlag": false,
|
|
727
|
+
"isESM": true,
|
|
728
|
+
"relativePath": [
|
|
729
|
+
"dist",
|
|
730
|
+
"commands",
|
|
731
|
+
"platform",
|
|
732
|
+
"list",
|
|
733
|
+
"index.js"
|
|
734
|
+
]
|
|
735
|
+
},
|
|
676
736
|
"function:create": {
|
|
677
737
|
"aliases": [],
|
|
678
738
|
"args": {},
|
|
@@ -992,52 +1052,79 @@
|
|
|
992
1052
|
"index.js"
|
|
993
1053
|
]
|
|
994
1054
|
},
|
|
995
|
-
"
|
|
1055
|
+
"profile:create": {
|
|
996
1056
|
"aliases": [],
|
|
997
|
-
"args": {
|
|
998
|
-
|
|
1057
|
+
"args": {
|
|
1058
|
+
"name": {
|
|
1059
|
+
"description": "Profile name",
|
|
1060
|
+
"name": "name",
|
|
1061
|
+
"required": true
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"description": "Create a new profile configuration",
|
|
999
1065
|
"examples": [
|
|
1000
|
-
"$ xano
|
|
1001
|
-
"$ xano
|
|
1066
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1067
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1068
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1069
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1002
1070
|
],
|
|
1003
1071
|
"flags": {
|
|
1004
|
-
"
|
|
1005
|
-
"char": "
|
|
1006
|
-
"description": "
|
|
1007
|
-
"
|
|
1008
|
-
"
|
|
1072
|
+
"access_token": {
|
|
1073
|
+
"char": "t",
|
|
1074
|
+
"description": "Access token for the Xano Metadata API",
|
|
1075
|
+
"name": "access_token",
|
|
1076
|
+
"required": true,
|
|
1077
|
+
"hasDynamicHelp": false,
|
|
1078
|
+
"multiple": false,
|
|
1079
|
+
"type": "option"
|
|
1080
|
+
},
|
|
1081
|
+
"account_origin": {
|
|
1082
|
+
"char": "a",
|
|
1083
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1084
|
+
"name": "account_origin",
|
|
1009
1085
|
"required": false,
|
|
1010
1086
|
"hasDynamicHelp": false,
|
|
1011
1087
|
"multiple": false,
|
|
1012
1088
|
"type": "option"
|
|
1013
1089
|
},
|
|
1014
|
-
"
|
|
1015
|
-
"char": "
|
|
1016
|
-
"description": "
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1090
|
+
"branch": {
|
|
1091
|
+
"char": "b",
|
|
1092
|
+
"description": "Branch name",
|
|
1093
|
+
"name": "branch",
|
|
1094
|
+
"required": false,
|
|
1095
|
+
"hasDynamicHelp": false,
|
|
1096
|
+
"multiple": false,
|
|
1097
|
+
"type": "option"
|
|
1098
|
+
},
|
|
1099
|
+
"default": {
|
|
1100
|
+
"description": "Set this profile as the default",
|
|
1101
|
+
"name": "default",
|
|
1019
1102
|
"required": false,
|
|
1020
1103
|
"allowNo": false,
|
|
1021
1104
|
"type": "boolean"
|
|
1022
1105
|
},
|
|
1023
|
-
"
|
|
1024
|
-
"char": "
|
|
1025
|
-
"description": "
|
|
1026
|
-
"name": "
|
|
1106
|
+
"instance_origin": {
|
|
1107
|
+
"char": "i",
|
|
1108
|
+
"description": "Instance origin URL",
|
|
1109
|
+
"name": "instance_origin",
|
|
1110
|
+
"required": true,
|
|
1111
|
+
"hasDynamicHelp": false,
|
|
1112
|
+
"multiple": false,
|
|
1113
|
+
"type": "option"
|
|
1114
|
+
},
|
|
1115
|
+
"workspace": {
|
|
1116
|
+
"char": "w",
|
|
1117
|
+
"description": "Workspace name",
|
|
1118
|
+
"name": "workspace",
|
|
1027
1119
|
"required": false,
|
|
1028
|
-
"default": "summary",
|
|
1029
1120
|
"hasDynamicHelp": false,
|
|
1030
1121
|
"multiple": false,
|
|
1031
|
-
"options": [
|
|
1032
|
-
"summary",
|
|
1033
|
-
"json"
|
|
1034
|
-
],
|
|
1035
1122
|
"type": "option"
|
|
1036
1123
|
}
|
|
1037
1124
|
},
|
|
1038
1125
|
"hasDynamicHelp": false,
|
|
1039
1126
|
"hiddenAliases": [],
|
|
1040
|
-
"id": "
|
|
1127
|
+
"id": "profile:create",
|
|
1041
1128
|
"pluginAlias": "@xano/cli",
|
|
1042
1129
|
"pluginName": "@xano/cli",
|
|
1043
1130
|
"pluginType": "core",
|
|
@@ -1047,8 +1134,8 @@
|
|
|
1047
1134
|
"relativePath": [
|
|
1048
1135
|
"dist",
|
|
1049
1136
|
"commands",
|
|
1050
|
-
"
|
|
1051
|
-
"
|
|
1137
|
+
"profile",
|
|
1138
|
+
"create",
|
|
1052
1139
|
"index.js"
|
|
1053
1140
|
]
|
|
1054
1141
|
},
|
|
@@ -1177,121 +1264,34 @@
|
|
|
1177
1264
|
"index.js"
|
|
1178
1265
|
]
|
|
1179
1266
|
},
|
|
1180
|
-
"profile:
|
|
1267
|
+
"profile:delete": {
|
|
1181
1268
|
"aliases": [],
|
|
1182
1269
|
"args": {
|
|
1183
1270
|
"name": {
|
|
1184
|
-
"description": "Profile name",
|
|
1271
|
+
"description": "Profile name to delete",
|
|
1185
1272
|
"name": "name",
|
|
1186
1273
|
"required": true
|
|
1187
1274
|
}
|
|
1188
1275
|
},
|
|
1189
|
-
"description": "
|
|
1276
|
+
"description": "Delete a profile configuration",
|
|
1190
1277
|
"examples": [
|
|
1191
|
-
"$ xano profile:
|
|
1192
|
-
"$ xano profile:
|
|
1193
|
-
"$ xano profile:
|
|
1194
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1278
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1279
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1280
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1195
1281
|
],
|
|
1196
1282
|
"flags": {
|
|
1197
|
-
"
|
|
1198
|
-
"char": "
|
|
1199
|
-
"description": "
|
|
1200
|
-
"name": "
|
|
1201
|
-
"required": true,
|
|
1202
|
-
"hasDynamicHelp": false,
|
|
1203
|
-
"multiple": false,
|
|
1204
|
-
"type": "option"
|
|
1205
|
-
},
|
|
1206
|
-
"account_origin": {
|
|
1207
|
-
"char": "a",
|
|
1208
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1209
|
-
"name": "account_origin",
|
|
1210
|
-
"required": false,
|
|
1211
|
-
"hasDynamicHelp": false,
|
|
1212
|
-
"multiple": false,
|
|
1213
|
-
"type": "option"
|
|
1214
|
-
},
|
|
1215
|
-
"branch": {
|
|
1216
|
-
"char": "b",
|
|
1217
|
-
"description": "Branch name",
|
|
1218
|
-
"name": "branch",
|
|
1219
|
-
"required": false,
|
|
1220
|
-
"hasDynamicHelp": false,
|
|
1221
|
-
"multiple": false,
|
|
1222
|
-
"type": "option"
|
|
1223
|
-
},
|
|
1224
|
-
"default": {
|
|
1225
|
-
"description": "Set this profile as the default",
|
|
1226
|
-
"name": "default",
|
|
1283
|
+
"force": {
|
|
1284
|
+
"char": "f",
|
|
1285
|
+
"description": "Skip confirmation prompt",
|
|
1286
|
+
"name": "force",
|
|
1227
1287
|
"required": false,
|
|
1228
1288
|
"allowNo": false,
|
|
1229
1289
|
"type": "boolean"
|
|
1230
|
-
},
|
|
1231
|
-
"instance_origin": {
|
|
1232
|
-
"char": "i",
|
|
1233
|
-
"description": "Instance origin URL",
|
|
1234
|
-
"name": "instance_origin",
|
|
1235
|
-
"required": true,
|
|
1236
|
-
"hasDynamicHelp": false,
|
|
1237
|
-
"multiple": false,
|
|
1238
|
-
"type": "option"
|
|
1239
|
-
},
|
|
1240
|
-
"workspace": {
|
|
1241
|
-
"char": "w",
|
|
1242
|
-
"description": "Workspace name",
|
|
1243
|
-
"name": "workspace",
|
|
1244
|
-
"required": false,
|
|
1245
|
-
"hasDynamicHelp": false,
|
|
1246
|
-
"multiple": false,
|
|
1247
|
-
"type": "option"
|
|
1248
1290
|
}
|
|
1249
1291
|
},
|
|
1250
1292
|
"hasDynamicHelp": false,
|
|
1251
1293
|
"hiddenAliases": [],
|
|
1252
|
-
"id": "profile:
|
|
1253
|
-
"pluginAlias": "@xano/cli",
|
|
1254
|
-
"pluginName": "@xano/cli",
|
|
1255
|
-
"pluginType": "core",
|
|
1256
|
-
"strict": true,
|
|
1257
|
-
"enableJsonFlag": false,
|
|
1258
|
-
"isESM": true,
|
|
1259
|
-
"relativePath": [
|
|
1260
|
-
"dist",
|
|
1261
|
-
"commands",
|
|
1262
|
-
"profile",
|
|
1263
|
-
"create",
|
|
1264
|
-
"index.js"
|
|
1265
|
-
]
|
|
1266
|
-
},
|
|
1267
|
-
"profile:delete": {
|
|
1268
|
-
"aliases": [],
|
|
1269
|
-
"args": {
|
|
1270
|
-
"name": {
|
|
1271
|
-
"description": "Profile name to delete",
|
|
1272
|
-
"name": "name",
|
|
1273
|
-
"required": true
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
"description": "Delete a profile configuration",
|
|
1277
|
-
"examples": [
|
|
1278
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1279
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1280
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1281
|
-
],
|
|
1282
|
-
"flags": {
|
|
1283
|
-
"force": {
|
|
1284
|
-
"char": "f",
|
|
1285
|
-
"description": "Skip confirmation prompt",
|
|
1286
|
-
"name": "force",
|
|
1287
|
-
"required": false,
|
|
1288
|
-
"allowNo": false,
|
|
1289
|
-
"type": "boolean"
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
"hasDynamicHelp": false,
|
|
1293
|
-
"hiddenAliases": [],
|
|
1294
|
-
"id": "profile:delete",
|
|
1294
|
+
"id": "profile:delete",
|
|
1295
1295
|
"pluginAlias": "@xano/cli",
|
|
1296
1296
|
"pluginName": "@xano/cli",
|
|
1297
1297
|
"pluginType": "core",
|
|
@@ -1542,6 +1542,37 @@
|
|
|
1542
1542
|
"index.js"
|
|
1543
1543
|
]
|
|
1544
1544
|
},
|
|
1545
|
+
"profile:set": {
|
|
1546
|
+
"aliases": [],
|
|
1547
|
+
"args": {
|
|
1548
|
+
"name": {
|
|
1549
|
+
"description": "Profile name to set as default",
|
|
1550
|
+
"name": "name",
|
|
1551
|
+
"required": true
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"description": "Set the default profile",
|
|
1555
|
+
"examples": [
|
|
1556
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1557
|
+
],
|
|
1558
|
+
"flags": {},
|
|
1559
|
+
"hasDynamicHelp": false,
|
|
1560
|
+
"hiddenAliases": [],
|
|
1561
|
+
"id": "profile:set",
|
|
1562
|
+
"pluginAlias": "@xano/cli",
|
|
1563
|
+
"pluginName": "@xano/cli",
|
|
1564
|
+
"pluginType": "core",
|
|
1565
|
+
"strict": true,
|
|
1566
|
+
"enableJsonFlag": false,
|
|
1567
|
+
"isESM": true,
|
|
1568
|
+
"relativePath": [
|
|
1569
|
+
"dist",
|
|
1570
|
+
"commands",
|
|
1571
|
+
"profile",
|
|
1572
|
+
"set",
|
|
1573
|
+
"index.js"
|
|
1574
|
+
]
|
|
1575
|
+
},
|
|
1545
1576
|
"profile:token": {
|
|
1546
1577
|
"aliases": [],
|
|
1547
1578
|
"args": {},
|
|
@@ -1568,23 +1599,18 @@
|
|
|
1568
1599
|
"index.js"
|
|
1569
1600
|
]
|
|
1570
1601
|
},
|
|
1571
|
-
"profile:
|
|
1602
|
+
"profile:workspace": {
|
|
1572
1603
|
"aliases": [],
|
|
1573
|
-
"args": {
|
|
1574
|
-
|
|
1575
|
-
"description": "Profile name to set as default",
|
|
1576
|
-
"name": "name",
|
|
1577
|
-
"required": true
|
|
1578
|
-
}
|
|
1579
|
-
},
|
|
1580
|
-
"description": "Set the default profile",
|
|
1604
|
+
"args": {},
|
|
1605
|
+
"description": "Print the workspace ID for the default profile",
|
|
1581
1606
|
"examples": [
|
|
1582
|
-
"$ xano profile
|
|
1607
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1608
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1583
1609
|
],
|
|
1584
1610
|
"flags": {},
|
|
1585
1611
|
"hasDynamicHelp": false,
|
|
1586
1612
|
"hiddenAliases": [],
|
|
1587
|
-
"id": "profile:
|
|
1613
|
+
"id": "profile:workspace",
|
|
1588
1614
|
"pluginAlias": "@xano/cli",
|
|
1589
1615
|
"pluginName": "@xano/cli",
|
|
1590
1616
|
"pluginType": "core",
|
|
@@ -1595,7 +1621,7 @@
|
|
|
1595
1621
|
"dist",
|
|
1596
1622
|
"commands",
|
|
1597
1623
|
"profile",
|
|
1598
|
-
"
|
|
1624
|
+
"workspace",
|
|
1599
1625
|
"index.js"
|
|
1600
1626
|
]
|
|
1601
1627
|
},
|
|
@@ -1644,20 +1670,19 @@
|
|
|
1644
1670
|
"index.js"
|
|
1645
1671
|
]
|
|
1646
1672
|
},
|
|
1647
|
-
"release:
|
|
1673
|
+
"release:edit": {
|
|
1648
1674
|
"aliases": [],
|
|
1649
1675
|
"args": {
|
|
1650
1676
|
"release_name": {
|
|
1651
|
-
"description": "Release name to
|
|
1677
|
+
"description": "Release name to edit",
|
|
1652
1678
|
"name": "release_name",
|
|
1653
1679
|
"required": true
|
|
1654
1680
|
}
|
|
1655
1681
|
},
|
|
1656
|
-
"description": "
|
|
1682
|
+
"description": "Edit an existing release",
|
|
1657
1683
|
"examples": [
|
|
1658
|
-
"$ xano release
|
|
1659
|
-
"$ xano release
|
|
1660
|
-
"$ xano release delete v1.0 -f -o json"
|
|
1684
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1685
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1661
1686
|
],
|
|
1662
1687
|
"flags": {
|
|
1663
1688
|
"profile": {
|
|
@@ -1679,13 +1704,23 @@
|
|
|
1679
1704
|
"allowNo": false,
|
|
1680
1705
|
"type": "boolean"
|
|
1681
1706
|
},
|
|
1682
|
-
"
|
|
1683
|
-
"char": "
|
|
1684
|
-
"description": "
|
|
1685
|
-
"name": "
|
|
1707
|
+
"description": {
|
|
1708
|
+
"char": "d",
|
|
1709
|
+
"description": "New description",
|
|
1710
|
+
"name": "description",
|
|
1686
1711
|
"required": false,
|
|
1687
|
-
"
|
|
1688
|
-
"
|
|
1712
|
+
"hasDynamicHelp": false,
|
|
1713
|
+
"multiple": false,
|
|
1714
|
+
"type": "option"
|
|
1715
|
+
},
|
|
1716
|
+
"name": {
|
|
1717
|
+
"char": "n",
|
|
1718
|
+
"description": "New name for the release",
|
|
1719
|
+
"name": "name",
|
|
1720
|
+
"required": false,
|
|
1721
|
+
"hasDynamicHelp": false,
|
|
1722
|
+
"multiple": false,
|
|
1723
|
+
"type": "option"
|
|
1689
1724
|
},
|
|
1690
1725
|
"output": {
|
|
1691
1726
|
"char": "o",
|
|
@@ -1713,7 +1748,7 @@
|
|
|
1713
1748
|
},
|
|
1714
1749
|
"hasDynamicHelp": false,
|
|
1715
1750
|
"hiddenAliases": [],
|
|
1716
|
-
"id": "release:
|
|
1751
|
+
"id": "release:edit",
|
|
1717
1752
|
"pluginAlias": "@xano/cli",
|
|
1718
1753
|
"pluginName": "@xano/cli",
|
|
1719
1754
|
"pluginType": "core",
|
|
@@ -1724,33 +1759,7 @@
|
|
|
1724
1759
|
"dist",
|
|
1725
1760
|
"commands",
|
|
1726
1761
|
"release",
|
|
1727
|
-
"
|
|
1728
|
-
"index.js"
|
|
1729
|
-
]
|
|
1730
|
-
},
|
|
1731
|
-
"profile:workspace": {
|
|
1732
|
-
"aliases": [],
|
|
1733
|
-
"args": {},
|
|
1734
|
-
"description": "Print the workspace ID for the default profile",
|
|
1735
|
-
"examples": [
|
|
1736
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1737
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1738
|
-
],
|
|
1739
|
-
"flags": {},
|
|
1740
|
-
"hasDynamicHelp": false,
|
|
1741
|
-
"hiddenAliases": [],
|
|
1742
|
-
"id": "profile:workspace",
|
|
1743
|
-
"pluginAlias": "@xano/cli",
|
|
1744
|
-
"pluginName": "@xano/cli",
|
|
1745
|
-
"pluginType": "core",
|
|
1746
|
-
"strict": true,
|
|
1747
|
-
"enableJsonFlag": false,
|
|
1748
|
-
"isESM": true,
|
|
1749
|
-
"relativePath": [
|
|
1750
|
-
"dist",
|
|
1751
|
-
"commands",
|
|
1752
|
-
"profile",
|
|
1753
|
-
"workspace",
|
|
1762
|
+
"edit",
|
|
1754
1763
|
"index.js"
|
|
1755
1764
|
]
|
|
1756
1765
|
},
|
|
@@ -1949,19 +1958,19 @@
|
|
|
1949
1958
|
"index.js"
|
|
1950
1959
|
]
|
|
1951
1960
|
},
|
|
1952
|
-
"release:
|
|
1961
|
+
"release:get": {
|
|
1953
1962
|
"aliases": [],
|
|
1954
1963
|
"args": {
|
|
1955
1964
|
"release_name": {
|
|
1956
|
-
"description": "Release name to
|
|
1965
|
+
"description": "Release name to retrieve",
|
|
1957
1966
|
"name": "release_name",
|
|
1958
1967
|
"required": true
|
|
1959
1968
|
}
|
|
1960
1969
|
},
|
|
1961
|
-
"description": "
|
|
1970
|
+
"description": "Get details of a specific release",
|
|
1962
1971
|
"examples": [
|
|
1963
|
-
"$ xano release
|
|
1964
|
-
"$ xano release
|
|
1972
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
1973
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
1965
1974
|
],
|
|
1966
1975
|
"flags": {
|
|
1967
1976
|
"profile": {
|
|
@@ -1983,24 +1992,6 @@
|
|
|
1983
1992
|
"allowNo": false,
|
|
1984
1993
|
"type": "boolean"
|
|
1985
1994
|
},
|
|
1986
|
-
"description": {
|
|
1987
|
-
"char": "d",
|
|
1988
|
-
"description": "New description",
|
|
1989
|
-
"name": "description",
|
|
1990
|
-
"required": false,
|
|
1991
|
-
"hasDynamicHelp": false,
|
|
1992
|
-
"multiple": false,
|
|
1993
|
-
"type": "option"
|
|
1994
|
-
},
|
|
1995
|
-
"name": {
|
|
1996
|
-
"char": "n",
|
|
1997
|
-
"description": "New name for the release",
|
|
1998
|
-
"name": "name",
|
|
1999
|
-
"required": false,
|
|
2000
|
-
"hasDynamicHelp": false,
|
|
2001
|
-
"multiple": false,
|
|
2002
|
-
"type": "option"
|
|
2003
|
-
},
|
|
2004
1995
|
"output": {
|
|
2005
1996
|
"char": "o",
|
|
2006
1997
|
"description": "Output format",
|
|
@@ -2027,7 +2018,7 @@
|
|
|
2027
2018
|
},
|
|
2028
2019
|
"hasDynamicHelp": false,
|
|
2029
2020
|
"hiddenAliases": [],
|
|
2030
|
-
"id": "release:
|
|
2021
|
+
"id": "release:get",
|
|
2031
2022
|
"pluginAlias": "@xano/cli",
|
|
2032
2023
|
"pluginName": "@xano/cli",
|
|
2033
2024
|
"pluginType": "core",
|
|
@@ -2038,17 +2029,24 @@
|
|
|
2038
2029
|
"dist",
|
|
2039
2030
|
"commands",
|
|
2040
2031
|
"release",
|
|
2041
|
-
"
|
|
2032
|
+
"get",
|
|
2042
2033
|
"index.js"
|
|
2043
2034
|
]
|
|
2044
2035
|
},
|
|
2045
|
-
"release:
|
|
2036
|
+
"release:delete": {
|
|
2046
2037
|
"aliases": [],
|
|
2047
|
-
"args": {
|
|
2048
|
-
|
|
2038
|
+
"args": {
|
|
2039
|
+
"release_name": {
|
|
2040
|
+
"description": "Release name to delete",
|
|
2041
|
+
"name": "release_name",
|
|
2042
|
+
"required": true
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
2049
2046
|
"examples": [
|
|
2050
|
-
"$ xano release
|
|
2051
|
-
"$ xano release
|
|
2047
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
2048
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
2049
|
+
"$ xano release delete v1.0 -f -o json"
|
|
2052
2050
|
],
|
|
2053
2051
|
"flags": {
|
|
2054
2052
|
"profile": {
|
|
@@ -2070,14 +2068,13 @@
|
|
|
2070
2068
|
"allowNo": false,
|
|
2071
2069
|
"type": "boolean"
|
|
2072
2070
|
},
|
|
2073
|
-
"
|
|
2071
|
+
"force": {
|
|
2074
2072
|
"char": "f",
|
|
2075
|
-
"description": "
|
|
2076
|
-
"name": "
|
|
2077
|
-
"required":
|
|
2078
|
-
"
|
|
2079
|
-
"
|
|
2080
|
-
"type": "option"
|
|
2073
|
+
"description": "Skip confirmation prompt",
|
|
2074
|
+
"name": "force",
|
|
2075
|
+
"required": false,
|
|
2076
|
+
"allowNo": false,
|
|
2077
|
+
"type": "boolean"
|
|
2081
2078
|
},
|
|
2082
2079
|
"output": {
|
|
2083
2080
|
"char": "o",
|
|
@@ -2105,7 +2102,7 @@
|
|
|
2105
2102
|
},
|
|
2106
2103
|
"hasDynamicHelp": false,
|
|
2107
2104
|
"hiddenAliases": [],
|
|
2108
|
-
"id": "release:
|
|
2105
|
+
"id": "release:delete",
|
|
2109
2106
|
"pluginAlias": "@xano/cli",
|
|
2110
2107
|
"pluginName": "@xano/cli",
|
|
2111
2108
|
"pluginType": "core",
|
|
@@ -2116,24 +2113,17 @@
|
|
|
2116
2113
|
"dist",
|
|
2117
2114
|
"commands",
|
|
2118
2115
|
"release",
|
|
2119
|
-
"
|
|
2116
|
+
"delete",
|
|
2120
2117
|
"index.js"
|
|
2121
2118
|
]
|
|
2122
2119
|
},
|
|
2123
|
-
"release:
|
|
2120
|
+
"release:list": {
|
|
2124
2121
|
"aliases": [],
|
|
2125
|
-
"args": {
|
|
2126
|
-
|
|
2127
|
-
"description": "Output directory for pulled documents",
|
|
2128
|
-
"name": "directory",
|
|
2129
|
-
"required": true
|
|
2130
|
-
}
|
|
2131
|
-
},
|
|
2132
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2122
|
+
"args": {},
|
|
2123
|
+
"description": "List all releases in a workspace",
|
|
2133
2124
|
"examples": [
|
|
2134
|
-
"$ xano release
|
|
2135
|
-
"$ xano release
|
|
2136
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2125
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2126
|
+
"$ xano release list -w 5 --output json"
|
|
2137
2127
|
],
|
|
2138
2128
|
"flags": {
|
|
2139
2129
|
"profile": {
|
|
@@ -2155,32 +2145,23 @@
|
|
|
2155
2145
|
"allowNo": false,
|
|
2156
2146
|
"type": "boolean"
|
|
2157
2147
|
},
|
|
2158
|
-
"
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2148
|
+
"output": {
|
|
2149
|
+
"char": "o",
|
|
2150
|
+
"description": "Output format",
|
|
2151
|
+
"name": "output",
|
|
2161
2152
|
"required": false,
|
|
2162
|
-
"
|
|
2163
|
-
"
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
"
|
|
2170
|
-
"type": "boolean"
|
|
2171
|
-
},
|
|
2172
|
-
"release": {
|
|
2173
|
-
"char": "r",
|
|
2174
|
-
"description": "Release name to pull from",
|
|
2175
|
-
"name": "release",
|
|
2176
|
-
"required": true,
|
|
2177
|
-
"hasDynamicHelp": false,
|
|
2178
|
-
"multiple": false,
|
|
2179
|
-
"type": "option"
|
|
2153
|
+
"default": "summary",
|
|
2154
|
+
"hasDynamicHelp": false,
|
|
2155
|
+
"multiple": false,
|
|
2156
|
+
"options": [
|
|
2157
|
+
"summary",
|
|
2158
|
+
"json"
|
|
2159
|
+
],
|
|
2160
|
+
"type": "option"
|
|
2180
2161
|
},
|
|
2181
2162
|
"workspace": {
|
|
2182
2163
|
"char": "w",
|
|
2183
|
-
"description": "Workspace ID (
|
|
2164
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2184
2165
|
"name": "workspace",
|
|
2185
2166
|
"required": false,
|
|
2186
2167
|
"hasDynamicHelp": false,
|
|
@@ -2190,7 +2171,7 @@
|
|
|
2190
2171
|
},
|
|
2191
2172
|
"hasDynamicHelp": false,
|
|
2192
2173
|
"hiddenAliases": [],
|
|
2193
|
-
"id": "release:
|
|
2174
|
+
"id": "release:list",
|
|
2194
2175
|
"pluginAlias": "@xano/cli",
|
|
2195
2176
|
"pluginName": "@xano/cli",
|
|
2196
2177
|
"pluginType": "core",
|
|
@@ -2201,23 +2182,17 @@
|
|
|
2201
2182
|
"dist",
|
|
2202
2183
|
"commands",
|
|
2203
2184
|
"release",
|
|
2204
|
-
"
|
|
2185
|
+
"list",
|
|
2205
2186
|
"index.js"
|
|
2206
2187
|
]
|
|
2207
2188
|
},
|
|
2208
|
-
"release:
|
|
2189
|
+
"release:import": {
|
|
2209
2190
|
"aliases": [],
|
|
2210
|
-
"args": {
|
|
2211
|
-
|
|
2212
|
-
"description": "Release name to retrieve",
|
|
2213
|
-
"name": "release_name",
|
|
2214
|
-
"required": true
|
|
2215
|
-
}
|
|
2216
|
-
},
|
|
2217
|
-
"description": "Get details of a specific release",
|
|
2191
|
+
"args": {},
|
|
2192
|
+
"description": "Import a release file into a workspace",
|
|
2218
2193
|
"examples": [
|
|
2219
|
-
"$ xano release
|
|
2220
|
-
"$ xano release
|
|
2194
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2195
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2221
2196
|
],
|
|
2222
2197
|
"flags": {
|
|
2223
2198
|
"profile": {
|
|
@@ -2239,6 +2214,15 @@
|
|
|
2239
2214
|
"allowNo": false,
|
|
2240
2215
|
"type": "boolean"
|
|
2241
2216
|
},
|
|
2217
|
+
"file": {
|
|
2218
|
+
"char": "f",
|
|
2219
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2220
|
+
"name": "file",
|
|
2221
|
+
"required": true,
|
|
2222
|
+
"hasDynamicHelp": false,
|
|
2223
|
+
"multiple": false,
|
|
2224
|
+
"type": "option"
|
|
2225
|
+
},
|
|
2242
2226
|
"output": {
|
|
2243
2227
|
"char": "o",
|
|
2244
2228
|
"description": "Output format",
|
|
@@ -2265,7 +2249,7 @@
|
|
|
2265
2249
|
},
|
|
2266
2250
|
"hasDynamicHelp": false,
|
|
2267
2251
|
"hiddenAliases": [],
|
|
2268
|
-
"id": "release:
|
|
2252
|
+
"id": "release:import",
|
|
2269
2253
|
"pluginAlias": "@xano/cli",
|
|
2270
2254
|
"pluginName": "@xano/cli",
|
|
2271
2255
|
"pluginType": "core",
|
|
@@ -2276,17 +2260,24 @@
|
|
|
2276
2260
|
"dist",
|
|
2277
2261
|
"commands",
|
|
2278
2262
|
"release",
|
|
2279
|
-
"
|
|
2263
|
+
"import",
|
|
2280
2264
|
"index.js"
|
|
2281
2265
|
]
|
|
2282
2266
|
},
|
|
2283
|
-
"release:
|
|
2267
|
+
"release:pull": {
|
|
2284
2268
|
"aliases": [],
|
|
2285
|
-
"args": {
|
|
2286
|
-
|
|
2269
|
+
"args": {
|
|
2270
|
+
"directory": {
|
|
2271
|
+
"description": "Output directory for pulled documents",
|
|
2272
|
+
"name": "directory",
|
|
2273
|
+
"required": true
|
|
2274
|
+
}
|
|
2275
|
+
},
|
|
2276
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2287
2277
|
"examples": [
|
|
2288
|
-
"$ xano release
|
|
2289
|
-
"$ xano release
|
|
2278
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2279
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2280
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2290
2281
|
],
|
|
2291
2282
|
"flags": {
|
|
2292
2283
|
"profile": {
|
|
@@ -2308,23 +2299,32 @@
|
|
|
2308
2299
|
"allowNo": false,
|
|
2309
2300
|
"type": "boolean"
|
|
2310
2301
|
},
|
|
2311
|
-
"
|
|
2312
|
-
"
|
|
2313
|
-
"
|
|
2314
|
-
"name": "output",
|
|
2302
|
+
"env": {
|
|
2303
|
+
"description": "Include environment variables",
|
|
2304
|
+
"name": "env",
|
|
2315
2305
|
"required": false,
|
|
2316
|
-
"
|
|
2306
|
+
"allowNo": false,
|
|
2307
|
+
"type": "boolean"
|
|
2308
|
+
},
|
|
2309
|
+
"records": {
|
|
2310
|
+
"description": "Include records",
|
|
2311
|
+
"name": "records",
|
|
2312
|
+
"required": false,
|
|
2313
|
+
"allowNo": false,
|
|
2314
|
+
"type": "boolean"
|
|
2315
|
+
},
|
|
2316
|
+
"release": {
|
|
2317
|
+
"char": "r",
|
|
2318
|
+
"description": "Release name to pull from",
|
|
2319
|
+
"name": "release",
|
|
2320
|
+
"required": true,
|
|
2317
2321
|
"hasDynamicHelp": false,
|
|
2318
2322
|
"multiple": false,
|
|
2319
|
-
"options": [
|
|
2320
|
-
"summary",
|
|
2321
|
-
"json"
|
|
2322
|
-
],
|
|
2323
2323
|
"type": "option"
|
|
2324
2324
|
},
|
|
2325
2325
|
"workspace": {
|
|
2326
2326
|
"char": "w",
|
|
2327
|
-
"description": "Workspace ID (
|
|
2327
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2328
2328
|
"name": "workspace",
|
|
2329
2329
|
"required": false,
|
|
2330
2330
|
"hasDynamicHelp": false,
|
|
@@ -2334,7 +2334,7 @@
|
|
|
2334
2334
|
},
|
|
2335
2335
|
"hasDynamicHelp": false,
|
|
2336
2336
|
"hiddenAliases": [],
|
|
2337
|
-
"id": "release:
|
|
2337
|
+
"id": "release:pull",
|
|
2338
2338
|
"pluginAlias": "@xano/cli",
|
|
2339
2339
|
"pluginName": "@xano/cli",
|
|
2340
2340
|
"pluginType": "core",
|
|
@@ -2345,7 +2345,7 @@
|
|
|
2345
2345
|
"dist",
|
|
2346
2346
|
"commands",
|
|
2347
2347
|
"release",
|
|
2348
|
-
"
|
|
2348
|
+
"pull",
|
|
2349
2349
|
"index.js"
|
|
2350
2350
|
]
|
|
2351
2351
|
},
|
|
@@ -2467,15 +2467,14 @@
|
|
|
2467
2467
|
"index.js"
|
|
2468
2468
|
]
|
|
2469
2469
|
},
|
|
2470
|
-
"
|
|
2470
|
+
"unit_test:list": {
|
|
2471
2471
|
"aliases": [],
|
|
2472
2472
|
"args": {},
|
|
2473
|
-
"description": "List all
|
|
2473
|
+
"description": "List all unit tests in a workspace",
|
|
2474
2474
|
"examples": [
|
|
2475
|
-
"$ xano
|
|
2476
|
-
"$ xano
|
|
2477
|
-
"$ xano
|
|
2478
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2475
|
+
"$ 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",
|
|
2476
|
+
"$ xano unit-test list -w 5 --output json",
|
|
2477
|
+
"$ xano unit-test list --obj-type function"
|
|
2479
2478
|
],
|
|
2480
2479
|
"flags": {
|
|
2481
2480
|
"profile": {
|
|
@@ -2497,41 +2496,45 @@
|
|
|
2497
2496
|
"allowNo": false,
|
|
2498
2497
|
"type": "boolean"
|
|
2499
2498
|
},
|
|
2500
|
-
"
|
|
2501
|
-
"char": "
|
|
2502
|
-
"description": "
|
|
2503
|
-
"name": "
|
|
2499
|
+
"branch": {
|
|
2500
|
+
"char": "b",
|
|
2501
|
+
"description": "Filter by branch name",
|
|
2502
|
+
"name": "branch",
|
|
2504
2503
|
"required": false,
|
|
2505
|
-
"default": "summary",
|
|
2506
2504
|
"hasDynamicHelp": false,
|
|
2507
2505
|
"multiple": false,
|
|
2508
|
-
"options": [
|
|
2509
|
-
"summary",
|
|
2510
|
-
"json"
|
|
2511
|
-
],
|
|
2512
2506
|
"type": "option"
|
|
2513
2507
|
},
|
|
2514
|
-
"
|
|
2515
|
-
"description": "
|
|
2516
|
-
"name": "
|
|
2508
|
+
"obj-type": {
|
|
2509
|
+
"description": "Filter by object type",
|
|
2510
|
+
"name": "obj-type",
|
|
2517
2511
|
"required": false,
|
|
2518
|
-
"default": 1,
|
|
2519
2512
|
"hasDynamicHelp": false,
|
|
2520
2513
|
"multiple": false,
|
|
2514
|
+
"options": [
|
|
2515
|
+
"function",
|
|
2516
|
+
"query",
|
|
2517
|
+
"middleware"
|
|
2518
|
+
],
|
|
2521
2519
|
"type": "option"
|
|
2522
2520
|
},
|
|
2523
|
-
"
|
|
2524
|
-
"
|
|
2525
|
-
"
|
|
2521
|
+
"output": {
|
|
2522
|
+
"char": "o",
|
|
2523
|
+
"description": "Output format",
|
|
2524
|
+
"name": "output",
|
|
2526
2525
|
"required": false,
|
|
2527
|
-
"default":
|
|
2526
|
+
"default": "summary",
|
|
2528
2527
|
"hasDynamicHelp": false,
|
|
2529
2528
|
"multiple": false,
|
|
2529
|
+
"options": [
|
|
2530
|
+
"summary",
|
|
2531
|
+
"json"
|
|
2532
|
+
],
|
|
2530
2533
|
"type": "option"
|
|
2531
2534
|
},
|
|
2532
2535
|
"workspace": {
|
|
2533
2536
|
"char": "w",
|
|
2534
|
-
"description": "Workspace ID (
|
|
2537
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2535
2538
|
"name": "workspace",
|
|
2536
2539
|
"required": false,
|
|
2537
2540
|
"hasDynamicHelp": false,
|
|
@@ -2541,7 +2544,7 @@
|
|
|
2541
2544
|
},
|
|
2542
2545
|
"hasDynamicHelp": false,
|
|
2543
2546
|
"hiddenAliases": [],
|
|
2544
|
-
"id": "
|
|
2547
|
+
"id": "unit_test:list",
|
|
2545
2548
|
"pluginAlias": "@xano/cli",
|
|
2546
2549
|
"pluginName": "@xano/cli",
|
|
2547
2550
|
"pluginType": "core",
|
|
@@ -2551,24 +2554,20 @@
|
|
|
2551
2554
|
"relativePath": [
|
|
2552
2555
|
"dist",
|
|
2553
2556
|
"commands",
|
|
2554
|
-
"
|
|
2557
|
+
"unit_test",
|
|
2555
2558
|
"list",
|
|
2556
2559
|
"index.js"
|
|
2557
2560
|
]
|
|
2558
2561
|
},
|
|
2559
|
-
"
|
|
2562
|
+
"static_host:list": {
|
|
2560
2563
|
"aliases": [],
|
|
2561
|
-
"args": {
|
|
2562
|
-
|
|
2563
|
-
"description": "Display name for the tenant",
|
|
2564
|
-
"name": "display",
|
|
2565
|
-
"required": true
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
|
-
"description": "Create a new tenant in a workspace",
|
|
2564
|
+
"args": {},
|
|
2565
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2569
2566
|
"examples": [
|
|
2570
|
-
"$ xano
|
|
2571
|
-
"$ xano
|
|
2567
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2568
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2569
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2570
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2572
2571
|
],
|
|
2573
2572
|
"flags": {
|
|
2574
2573
|
"profile": {
|
|
@@ -2590,57 +2589,6 @@
|
|
|
2590
2589
|
"allowNo": false,
|
|
2591
2590
|
"type": "boolean"
|
|
2592
2591
|
},
|
|
2593
|
-
"cluster_id": {
|
|
2594
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2595
|
-
"name": "cluster_id",
|
|
2596
|
-
"required": false,
|
|
2597
|
-
"hasDynamicHelp": false,
|
|
2598
|
-
"multiple": false,
|
|
2599
|
-
"type": "option"
|
|
2600
|
-
},
|
|
2601
|
-
"description": {
|
|
2602
|
-
"char": "d",
|
|
2603
|
-
"description": "Tenant description",
|
|
2604
|
-
"name": "description",
|
|
2605
|
-
"required": false,
|
|
2606
|
-
"hasDynamicHelp": false,
|
|
2607
|
-
"multiple": false,
|
|
2608
|
-
"type": "option"
|
|
2609
|
-
},
|
|
2610
|
-
"domain": {
|
|
2611
|
-
"description": "Custom domain for the tenant",
|
|
2612
|
-
"name": "domain",
|
|
2613
|
-
"required": false,
|
|
2614
|
-
"hasDynamicHelp": false,
|
|
2615
|
-
"multiple": false,
|
|
2616
|
-
"type": "option"
|
|
2617
|
-
},
|
|
2618
|
-
"ephemeral": {
|
|
2619
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2620
|
-
"name": "ephemeral",
|
|
2621
|
-
"allowNo": false,
|
|
2622
|
-
"type": "boolean"
|
|
2623
|
-
},
|
|
2624
|
-
"ingress": {
|
|
2625
|
-
"description": "Enable ingress",
|
|
2626
|
-
"name": "ingress",
|
|
2627
|
-
"allowNo": true,
|
|
2628
|
-
"type": "boolean"
|
|
2629
|
-
},
|
|
2630
|
-
"license": {
|
|
2631
|
-
"description": "License tier",
|
|
2632
|
-
"name": "license",
|
|
2633
|
-
"required": false,
|
|
2634
|
-
"default": "tier1",
|
|
2635
|
-
"hasDynamicHelp": false,
|
|
2636
|
-
"multiple": false,
|
|
2637
|
-
"options": [
|
|
2638
|
-
"tier1",
|
|
2639
|
-
"tier2",
|
|
2640
|
-
"tier3"
|
|
2641
|
-
],
|
|
2642
|
-
"type": "option"
|
|
2643
|
-
},
|
|
2644
2592
|
"output": {
|
|
2645
2593
|
"char": "o",
|
|
2646
2594
|
"description": "Output format",
|
|
@@ -2655,23 +2603,27 @@
|
|
|
2655
2603
|
],
|
|
2656
2604
|
"type": "option"
|
|
2657
2605
|
},
|
|
2658
|
-
"
|
|
2659
|
-
"description": "
|
|
2660
|
-
"name": "
|
|
2606
|
+
"page": {
|
|
2607
|
+
"description": "Page number for pagination",
|
|
2608
|
+
"name": "page",
|
|
2661
2609
|
"required": false,
|
|
2610
|
+
"default": 1,
|
|
2662
2611
|
"hasDynamicHelp": false,
|
|
2663
2612
|
"multiple": false,
|
|
2664
2613
|
"type": "option"
|
|
2665
2614
|
},
|
|
2666
|
-
"
|
|
2667
|
-
"description": "
|
|
2668
|
-
"name": "
|
|
2669
|
-
"
|
|
2670
|
-
"
|
|
2615
|
+
"per_page": {
|
|
2616
|
+
"description": "Number of results per page",
|
|
2617
|
+
"name": "per_page",
|
|
2618
|
+
"required": false,
|
|
2619
|
+
"default": 50,
|
|
2620
|
+
"hasDynamicHelp": false,
|
|
2621
|
+
"multiple": false,
|
|
2622
|
+
"type": "option"
|
|
2671
2623
|
},
|
|
2672
2624
|
"workspace": {
|
|
2673
2625
|
"char": "w",
|
|
2674
|
-
"description": "Workspace ID (
|
|
2626
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2675
2627
|
"name": "workspace",
|
|
2676
2628
|
"required": false,
|
|
2677
2629
|
"hasDynamicHelp": false,
|
|
@@ -2681,7 +2633,7 @@
|
|
|
2681
2633
|
},
|
|
2682
2634
|
"hasDynamicHelp": false,
|
|
2683
2635
|
"hiddenAliases": [],
|
|
2684
|
-
"id": "
|
|
2636
|
+
"id": "static_host:list",
|
|
2685
2637
|
"pluginAlias": "@xano/cli",
|
|
2686
2638
|
"pluginName": "@xano/cli",
|
|
2687
2639
|
"pluginType": "core",
|
|
@@ -2691,24 +2643,24 @@
|
|
|
2691
2643
|
"relativePath": [
|
|
2692
2644
|
"dist",
|
|
2693
2645
|
"commands",
|
|
2694
|
-
"
|
|
2695
|
-
"
|
|
2646
|
+
"static_host",
|
|
2647
|
+
"list",
|
|
2696
2648
|
"index.js"
|
|
2697
2649
|
]
|
|
2698
2650
|
},
|
|
2699
|
-
"
|
|
2651
|
+
"unit_test:run": {
|
|
2700
2652
|
"aliases": [],
|
|
2701
2653
|
"args": {
|
|
2702
|
-
"
|
|
2703
|
-
"description": "
|
|
2704
|
-
"name": "
|
|
2654
|
+
"unit_test_id": {
|
|
2655
|
+
"description": "ID of the unit test to run",
|
|
2656
|
+
"name": "unit_test_id",
|
|
2705
2657
|
"required": true
|
|
2706
2658
|
}
|
|
2707
2659
|
},
|
|
2708
|
-
"description": "
|
|
2660
|
+
"description": "Run a unit test",
|
|
2709
2661
|
"examples": [
|
|
2710
|
-
"$ xano
|
|
2711
|
-
"$ xano
|
|
2662
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
2663
|
+
"$ xano unit-test run abc-123 -o json"
|
|
2712
2664
|
],
|
|
2713
2665
|
"flags": {
|
|
2714
2666
|
"profile": {
|
|
@@ -2744,12 +2696,95 @@
|
|
|
2744
2696
|
],
|
|
2745
2697
|
"type": "option"
|
|
2746
2698
|
},
|
|
2747
|
-
"
|
|
2748
|
-
"
|
|
2749
|
-
"
|
|
2750
|
-
"
|
|
2699
|
+
"workspace": {
|
|
2700
|
+
"char": "w",
|
|
2701
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2702
|
+
"name": "workspace",
|
|
2703
|
+
"required": false,
|
|
2704
|
+
"hasDynamicHelp": false,
|
|
2705
|
+
"multiple": false,
|
|
2706
|
+
"type": "option"
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2709
|
+
"hasDynamicHelp": false,
|
|
2710
|
+
"hiddenAliases": [],
|
|
2711
|
+
"id": "unit_test:run",
|
|
2712
|
+
"pluginAlias": "@xano/cli",
|
|
2713
|
+
"pluginName": "@xano/cli",
|
|
2714
|
+
"pluginType": "core",
|
|
2715
|
+
"strict": true,
|
|
2716
|
+
"enableJsonFlag": false,
|
|
2717
|
+
"isESM": true,
|
|
2718
|
+
"relativePath": [
|
|
2719
|
+
"dist",
|
|
2720
|
+
"commands",
|
|
2721
|
+
"unit_test",
|
|
2722
|
+
"run",
|
|
2723
|
+
"index.js"
|
|
2724
|
+
]
|
|
2725
|
+
},
|
|
2726
|
+
"unit_test:run_all": {
|
|
2727
|
+
"aliases": [],
|
|
2728
|
+
"args": {},
|
|
2729
|
+
"description": "Run all unit tests in a workspace",
|
|
2730
|
+
"examples": [
|
|
2731
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
2732
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
2733
|
+
],
|
|
2734
|
+
"flags": {
|
|
2735
|
+
"profile": {
|
|
2736
|
+
"char": "p",
|
|
2737
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2738
|
+
"env": "XANO_PROFILE",
|
|
2739
|
+
"name": "profile",
|
|
2740
|
+
"required": false,
|
|
2741
|
+
"hasDynamicHelp": false,
|
|
2742
|
+
"multiple": false,
|
|
2743
|
+
"type": "option"
|
|
2744
|
+
},
|
|
2745
|
+
"verbose": {
|
|
2746
|
+
"char": "v",
|
|
2747
|
+
"description": "Show detailed request/response information",
|
|
2748
|
+
"env": "XANO_VERBOSE",
|
|
2749
|
+
"name": "verbose",
|
|
2750
|
+
"required": false,
|
|
2751
|
+
"allowNo": false,
|
|
2752
|
+
"type": "boolean"
|
|
2753
|
+
},
|
|
2754
|
+
"branch": {
|
|
2755
|
+
"char": "b",
|
|
2756
|
+
"description": "Filter by branch name",
|
|
2757
|
+
"name": "branch",
|
|
2758
|
+
"required": false,
|
|
2759
|
+
"hasDynamicHelp": false,
|
|
2760
|
+
"multiple": false,
|
|
2761
|
+
"type": "option"
|
|
2762
|
+
},
|
|
2763
|
+
"obj-type": {
|
|
2764
|
+
"description": "Filter by object type",
|
|
2765
|
+
"name": "obj-type",
|
|
2766
|
+
"required": false,
|
|
2767
|
+
"hasDynamicHelp": false,
|
|
2768
|
+
"multiple": false,
|
|
2769
|
+
"options": [
|
|
2770
|
+
"function",
|
|
2771
|
+
"query",
|
|
2772
|
+
"middleware"
|
|
2773
|
+
],
|
|
2774
|
+
"type": "option"
|
|
2775
|
+
},
|
|
2776
|
+
"output": {
|
|
2777
|
+
"char": "o",
|
|
2778
|
+
"description": "Output format",
|
|
2779
|
+
"name": "output",
|
|
2780
|
+
"required": false,
|
|
2781
|
+
"default": "summary",
|
|
2751
2782
|
"hasDynamicHelp": false,
|
|
2752
2783
|
"multiple": false,
|
|
2784
|
+
"options": [
|
|
2785
|
+
"summary",
|
|
2786
|
+
"json"
|
|
2787
|
+
],
|
|
2753
2788
|
"type": "option"
|
|
2754
2789
|
},
|
|
2755
2790
|
"workspace": {
|
|
@@ -2764,7 +2799,7 @@
|
|
|
2764
2799
|
},
|
|
2765
2800
|
"hasDynamicHelp": false,
|
|
2766
2801
|
"hiddenAliases": [],
|
|
2767
|
-
"id": "
|
|
2802
|
+
"id": "unit_test:run_all",
|
|
2768
2803
|
"pluginAlias": "@xano/cli",
|
|
2769
2804
|
"pluginName": "@xano/cli",
|
|
2770
2805
|
"pluginType": "core",
|
|
@@ -2774,25 +2809,24 @@
|
|
|
2774
2809
|
"relativePath": [
|
|
2775
2810
|
"dist",
|
|
2776
2811
|
"commands",
|
|
2777
|
-
"
|
|
2778
|
-
"
|
|
2812
|
+
"unit_test",
|
|
2813
|
+
"run_all",
|
|
2779
2814
|
"index.js"
|
|
2780
2815
|
]
|
|
2781
2816
|
},
|
|
2782
|
-
"tenant:
|
|
2817
|
+
"tenant:create": {
|
|
2783
2818
|
"aliases": [],
|
|
2784
2819
|
"args": {
|
|
2785
|
-
"
|
|
2786
|
-
"description": "
|
|
2787
|
-
"name": "
|
|
2820
|
+
"display": {
|
|
2821
|
+
"description": "Display name for the tenant",
|
|
2822
|
+
"name": "display",
|
|
2788
2823
|
"required": true
|
|
2789
2824
|
}
|
|
2790
2825
|
},
|
|
2791
|
-
"description": "
|
|
2826
|
+
"description": "Create a new tenant in a workspace",
|
|
2792
2827
|
"examples": [
|
|
2793
|
-
"$ xano tenant
|
|
2794
|
-
"$ xano tenant
|
|
2795
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2828
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2829
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2796
2830
|
],
|
|
2797
2831
|
"flags": {
|
|
2798
2832
|
"profile": {
|
|
@@ -2814,14 +2848,57 @@
|
|
|
2814
2848
|
"allowNo": false,
|
|
2815
2849
|
"type": "boolean"
|
|
2816
2850
|
},
|
|
2817
|
-
"
|
|
2818
|
-
"
|
|
2819
|
-
"
|
|
2820
|
-
"
|
|
2851
|
+
"cluster_id": {
|
|
2852
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2853
|
+
"name": "cluster_id",
|
|
2854
|
+
"required": false,
|
|
2855
|
+
"hasDynamicHelp": false,
|
|
2856
|
+
"multiple": false,
|
|
2857
|
+
"type": "option"
|
|
2858
|
+
},
|
|
2859
|
+
"description": {
|
|
2860
|
+
"char": "d",
|
|
2861
|
+
"description": "Tenant description",
|
|
2862
|
+
"name": "description",
|
|
2863
|
+
"required": false,
|
|
2864
|
+
"hasDynamicHelp": false,
|
|
2865
|
+
"multiple": false,
|
|
2866
|
+
"type": "option"
|
|
2867
|
+
},
|
|
2868
|
+
"domain": {
|
|
2869
|
+
"description": "Custom domain for the tenant",
|
|
2870
|
+
"name": "domain",
|
|
2821
2871
|
"required": false,
|
|
2872
|
+
"hasDynamicHelp": false,
|
|
2873
|
+
"multiple": false,
|
|
2874
|
+
"type": "option"
|
|
2875
|
+
},
|
|
2876
|
+
"ephemeral": {
|
|
2877
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2878
|
+
"name": "ephemeral",
|
|
2822
2879
|
"allowNo": false,
|
|
2823
2880
|
"type": "boolean"
|
|
2824
2881
|
},
|
|
2882
|
+
"ingress": {
|
|
2883
|
+
"description": "Enable ingress",
|
|
2884
|
+
"name": "ingress",
|
|
2885
|
+
"allowNo": true,
|
|
2886
|
+
"type": "boolean"
|
|
2887
|
+
},
|
|
2888
|
+
"license": {
|
|
2889
|
+
"description": "License tier",
|
|
2890
|
+
"name": "license",
|
|
2891
|
+
"required": false,
|
|
2892
|
+
"default": "tier1",
|
|
2893
|
+
"hasDynamicHelp": false,
|
|
2894
|
+
"multiple": false,
|
|
2895
|
+
"options": [
|
|
2896
|
+
"tier1",
|
|
2897
|
+
"tier2",
|
|
2898
|
+
"tier3"
|
|
2899
|
+
],
|
|
2900
|
+
"type": "option"
|
|
2901
|
+
},
|
|
2825
2902
|
"output": {
|
|
2826
2903
|
"char": "o",
|
|
2827
2904
|
"description": "Output format",
|
|
@@ -2836,6 +2913,20 @@
|
|
|
2836
2913
|
],
|
|
2837
2914
|
"type": "option"
|
|
2838
2915
|
},
|
|
2916
|
+
"platform_id": {
|
|
2917
|
+
"description": "Platform ID to use",
|
|
2918
|
+
"name": "platform_id",
|
|
2919
|
+
"required": false,
|
|
2920
|
+
"hasDynamicHelp": false,
|
|
2921
|
+
"multiple": false,
|
|
2922
|
+
"type": "option"
|
|
2923
|
+
},
|
|
2924
|
+
"tasks": {
|
|
2925
|
+
"description": "Enable background tasks",
|
|
2926
|
+
"name": "tasks",
|
|
2927
|
+
"allowNo": true,
|
|
2928
|
+
"type": "boolean"
|
|
2929
|
+
},
|
|
2839
2930
|
"workspace": {
|
|
2840
2931
|
"char": "w",
|
|
2841
2932
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2848,7 +2939,7 @@
|
|
|
2848
2939
|
},
|
|
2849
2940
|
"hasDynamicHelp": false,
|
|
2850
2941
|
"hiddenAliases": [],
|
|
2851
|
-
"id": "tenant:
|
|
2942
|
+
"id": "tenant:create",
|
|
2852
2943
|
"pluginAlias": "@xano/cli",
|
|
2853
2944
|
"pluginName": "@xano/cli",
|
|
2854
2945
|
"pluginType": "core",
|
|
@@ -2859,23 +2950,24 @@
|
|
|
2859
2950
|
"dist",
|
|
2860
2951
|
"commands",
|
|
2861
2952
|
"tenant",
|
|
2862
|
-
"
|
|
2953
|
+
"create",
|
|
2863
2954
|
"index.js"
|
|
2864
2955
|
]
|
|
2865
2956
|
},
|
|
2866
|
-
"tenant:
|
|
2957
|
+
"tenant:delete": {
|
|
2867
2958
|
"aliases": [],
|
|
2868
2959
|
"args": {
|
|
2869
2960
|
"tenant_name": {
|
|
2870
|
-
"description": "Tenant name to
|
|
2961
|
+
"description": "Tenant name to delete",
|
|
2871
2962
|
"name": "tenant_name",
|
|
2872
2963
|
"required": true
|
|
2873
2964
|
}
|
|
2874
2965
|
},
|
|
2875
|
-
"description": "
|
|
2966
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2876
2967
|
"examples": [
|
|
2877
|
-
"$ xano tenant
|
|
2878
|
-
"$ xano tenant
|
|
2968
|
+
"$ 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",
|
|
2969
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2970
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2879
2971
|
],
|
|
2880
2972
|
"flags": {
|
|
2881
2973
|
"profile": {
|
|
@@ -2897,6 +2989,14 @@
|
|
|
2897
2989
|
"allowNo": false,
|
|
2898
2990
|
"type": "boolean"
|
|
2899
2991
|
},
|
|
2992
|
+
"force": {
|
|
2993
|
+
"char": "f",
|
|
2994
|
+
"description": "Skip confirmation prompt",
|
|
2995
|
+
"name": "force",
|
|
2996
|
+
"required": false,
|
|
2997
|
+
"allowNo": false,
|
|
2998
|
+
"type": "boolean"
|
|
2999
|
+
},
|
|
2900
3000
|
"output": {
|
|
2901
3001
|
"char": "o",
|
|
2902
3002
|
"description": "Output format",
|
|
@@ -2923,7 +3023,7 @@
|
|
|
2923
3023
|
},
|
|
2924
3024
|
"hasDynamicHelp": false,
|
|
2925
3025
|
"hiddenAliases": [],
|
|
2926
|
-
"id": "tenant:
|
|
3026
|
+
"id": "tenant:delete",
|
|
2927
3027
|
"pluginAlias": "@xano/cli",
|
|
2928
3028
|
"pluginName": "@xano/cli",
|
|
2929
3029
|
"pluginType": "core",
|
|
@@ -2934,11 +3034,11 @@
|
|
|
2934
3034
|
"dist",
|
|
2935
3035
|
"commands",
|
|
2936
3036
|
"tenant",
|
|
2937
|
-
"
|
|
3037
|
+
"delete",
|
|
2938
3038
|
"index.js"
|
|
2939
3039
|
]
|
|
2940
3040
|
},
|
|
2941
|
-
"tenant:
|
|
3041
|
+
"tenant:deploy_platform": {
|
|
2942
3042
|
"aliases": [],
|
|
2943
3043
|
"args": {
|
|
2944
3044
|
"tenant_name": {
|
|
@@ -2947,10 +3047,10 @@
|
|
|
2947
3047
|
"required": true
|
|
2948
3048
|
}
|
|
2949
3049
|
},
|
|
2950
|
-
"description": "Deploy a
|
|
3050
|
+
"description": "Deploy a platform version to a tenant",
|
|
2951
3051
|
"examples": [
|
|
2952
|
-
"$ xano tenant
|
|
2953
|
-
"$ xano tenant
|
|
3052
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
3053
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2954
3054
|
],
|
|
2955
3055
|
"flags": {
|
|
2956
3056
|
"profile": {
|
|
@@ -2986,10 +3086,9 @@
|
|
|
2986
3086
|
],
|
|
2987
3087
|
"type": "option"
|
|
2988
3088
|
},
|
|
2989
|
-
"
|
|
2990
|
-
"
|
|
2991
|
-
"
|
|
2992
|
-
"name": "release",
|
|
3089
|
+
"platform_id": {
|
|
3090
|
+
"description": "Platform ID to deploy",
|
|
3091
|
+
"name": "platform_id",
|
|
2993
3092
|
"required": true,
|
|
2994
3093
|
"hasDynamicHelp": false,
|
|
2995
3094
|
"multiple": false,
|
|
@@ -3007,7 +3106,7 @@
|
|
|
3007
3106
|
},
|
|
3008
3107
|
"hasDynamicHelp": false,
|
|
3009
3108
|
"hiddenAliases": [],
|
|
3010
|
-
"id": "tenant:
|
|
3109
|
+
"id": "tenant:deploy_platform",
|
|
3011
3110
|
"pluginAlias": "@xano/cli",
|
|
3012
3111
|
"pluginName": "@xano/cli",
|
|
3013
3112
|
"pluginType": "core",
|
|
@@ -3018,7 +3117,7 @@
|
|
|
3018
3117
|
"dist",
|
|
3019
3118
|
"commands",
|
|
3020
3119
|
"tenant",
|
|
3021
|
-
"
|
|
3120
|
+
"deploy_platform",
|
|
3022
3121
|
"index.js"
|
|
3023
3122
|
]
|
|
3024
3123
|
},
|
|
@@ -3151,19 +3250,19 @@
|
|
|
3151
3250
|
"index.js"
|
|
3152
3251
|
]
|
|
3153
3252
|
},
|
|
3154
|
-
"tenant:
|
|
3253
|
+
"tenant:deploy_release": {
|
|
3155
3254
|
"aliases": [],
|
|
3156
3255
|
"args": {
|
|
3157
3256
|
"tenant_name": {
|
|
3158
|
-
"description": "Tenant name to
|
|
3257
|
+
"description": "Tenant name to deploy to",
|
|
3159
3258
|
"name": "tenant_name",
|
|
3160
3259
|
"required": true
|
|
3161
3260
|
}
|
|
3162
3261
|
},
|
|
3163
|
-
"description": "
|
|
3262
|
+
"description": "Deploy a release to a tenant",
|
|
3164
3263
|
"examples": [
|
|
3165
|
-
"$ xano tenant
|
|
3166
|
-
"$ xano tenant
|
|
3264
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
3265
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3167
3266
|
],
|
|
3168
3267
|
"flags": {
|
|
3169
3268
|
"profile": {
|
|
@@ -3199,19 +3298,20 @@
|
|
|
3199
3298
|
],
|
|
3200
3299
|
"type": "option"
|
|
3201
3300
|
},
|
|
3202
|
-
"
|
|
3203
|
-
"char": "
|
|
3204
|
-
"description": "
|
|
3205
|
-
"name": "
|
|
3206
|
-
"required":
|
|
3207
|
-
"
|
|
3208
|
-
"
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
"
|
|
3213
|
-
"
|
|
3214
|
-
"
|
|
3301
|
+
"release": {
|
|
3302
|
+
"char": "r",
|
|
3303
|
+
"description": "Release name to deploy",
|
|
3304
|
+
"name": "release",
|
|
3305
|
+
"required": true,
|
|
3306
|
+
"hasDynamicHelp": false,
|
|
3307
|
+
"multiple": false,
|
|
3308
|
+
"type": "option"
|
|
3309
|
+
},
|
|
3310
|
+
"workspace": {
|
|
3311
|
+
"char": "w",
|
|
3312
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3313
|
+
"name": "workspace",
|
|
3314
|
+
"required": false,
|
|
3215
3315
|
"hasDynamicHelp": false,
|
|
3216
3316
|
"multiple": false,
|
|
3217
3317
|
"type": "option"
|
|
@@ -3219,7 +3319,7 @@
|
|
|
3219
3319
|
},
|
|
3220
3320
|
"hasDynamicHelp": false,
|
|
3221
3321
|
"hiddenAliases": [],
|
|
3222
|
-
"id": "tenant:
|
|
3322
|
+
"id": "tenant:deploy_release",
|
|
3223
3323
|
"pluginAlias": "@xano/cli",
|
|
3224
3324
|
"pluginName": "@xano/cli",
|
|
3225
3325
|
"pluginType": "core",
|
|
@@ -3230,25 +3330,23 @@
|
|
|
3230
3330
|
"dist",
|
|
3231
3331
|
"commands",
|
|
3232
3332
|
"tenant",
|
|
3233
|
-
"
|
|
3333
|
+
"deploy_release",
|
|
3234
3334
|
"index.js"
|
|
3235
3335
|
]
|
|
3236
3336
|
},
|
|
3237
|
-
"tenant:
|
|
3337
|
+
"tenant:get": {
|
|
3238
3338
|
"aliases": [],
|
|
3239
3339
|
"args": {
|
|
3240
|
-
"
|
|
3241
|
-
"description": "
|
|
3242
|
-
"name": "
|
|
3340
|
+
"tenant_name": {
|
|
3341
|
+
"description": "Tenant name to retrieve",
|
|
3342
|
+
"name": "tenant_name",
|
|
3243
3343
|
"required": true
|
|
3244
3344
|
}
|
|
3245
3345
|
},
|
|
3246
|
-
"description": "
|
|
3346
|
+
"description": "Get details of a specific tenant",
|
|
3247
3347
|
"examples": [
|
|
3248
|
-
"$ xano tenant
|
|
3249
|
-
"$ xano tenant
|
|
3250
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3251
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3348
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3349
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3252
3350
|
],
|
|
3253
3351
|
"flags": {
|
|
3254
3352
|
"profile": {
|
|
@@ -3270,39 +3368,106 @@
|
|
|
3270
3368
|
"allowNo": false,
|
|
3271
3369
|
"type": "boolean"
|
|
3272
3370
|
},
|
|
3273
|
-
"
|
|
3274
|
-
"
|
|
3275
|
-
"
|
|
3371
|
+
"output": {
|
|
3372
|
+
"char": "o",
|
|
3373
|
+
"description": "Output format",
|
|
3374
|
+
"name": "output",
|
|
3276
3375
|
"required": false,
|
|
3277
|
-
"
|
|
3278
|
-
"
|
|
3376
|
+
"default": "summary",
|
|
3377
|
+
"hasDynamicHelp": false,
|
|
3378
|
+
"multiple": false,
|
|
3379
|
+
"options": [
|
|
3380
|
+
"summary",
|
|
3381
|
+
"json"
|
|
3382
|
+
],
|
|
3383
|
+
"type": "option"
|
|
3279
3384
|
},
|
|
3280
|
-
"
|
|
3281
|
-
"
|
|
3282
|
-
"
|
|
3385
|
+
"workspace": {
|
|
3386
|
+
"char": "w",
|
|
3387
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3388
|
+
"name": "workspace",
|
|
3283
3389
|
"required": false,
|
|
3284
|
-
"
|
|
3285
|
-
"
|
|
3390
|
+
"hasDynamicHelp": false,
|
|
3391
|
+
"multiple": false,
|
|
3392
|
+
"type": "option"
|
|
3393
|
+
}
|
|
3394
|
+
},
|
|
3395
|
+
"hasDynamicHelp": false,
|
|
3396
|
+
"hiddenAliases": [],
|
|
3397
|
+
"id": "tenant:get",
|
|
3398
|
+
"pluginAlias": "@xano/cli",
|
|
3399
|
+
"pluginName": "@xano/cli",
|
|
3400
|
+
"pluginType": "core",
|
|
3401
|
+
"strict": true,
|
|
3402
|
+
"enableJsonFlag": false,
|
|
3403
|
+
"isESM": true,
|
|
3404
|
+
"relativePath": [
|
|
3405
|
+
"dist",
|
|
3406
|
+
"commands",
|
|
3407
|
+
"tenant",
|
|
3408
|
+
"get",
|
|
3409
|
+
"index.js"
|
|
3410
|
+
]
|
|
3411
|
+
},
|
|
3412
|
+
"tenant:impersonate": {
|
|
3413
|
+
"aliases": [],
|
|
3414
|
+
"args": {
|
|
3415
|
+
"tenant_name": {
|
|
3416
|
+
"description": "Tenant name to impersonate",
|
|
3417
|
+
"name": "tenant_name",
|
|
3418
|
+
"required": true
|
|
3419
|
+
}
|
|
3420
|
+
},
|
|
3421
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3422
|
+
"examples": [
|
|
3423
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3424
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3425
|
+
],
|
|
3426
|
+
"flags": {
|
|
3427
|
+
"profile": {
|
|
3428
|
+
"char": "p",
|
|
3429
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3430
|
+
"env": "XANO_PROFILE",
|
|
3431
|
+
"name": "profile",
|
|
3432
|
+
"required": false,
|
|
3433
|
+
"hasDynamicHelp": false,
|
|
3434
|
+
"multiple": false,
|
|
3435
|
+
"type": "option"
|
|
3286
3436
|
},
|
|
3287
|
-
"
|
|
3288
|
-
"
|
|
3289
|
-
"
|
|
3437
|
+
"verbose": {
|
|
3438
|
+
"char": "v",
|
|
3439
|
+
"description": "Show detailed request/response information",
|
|
3440
|
+
"env": "XANO_VERBOSE",
|
|
3441
|
+
"name": "verbose",
|
|
3290
3442
|
"required": false,
|
|
3291
3443
|
"allowNo": false,
|
|
3292
3444
|
"type": "boolean"
|
|
3293
3445
|
},
|
|
3294
|
-
"
|
|
3295
|
-
"char": "
|
|
3296
|
-
"description": "
|
|
3297
|
-
"name": "
|
|
3298
|
-
"required":
|
|
3446
|
+
"output": {
|
|
3447
|
+
"char": "o",
|
|
3448
|
+
"description": "Output format",
|
|
3449
|
+
"name": "output",
|
|
3450
|
+
"required": false,
|
|
3451
|
+
"default": "summary",
|
|
3299
3452
|
"hasDynamicHelp": false,
|
|
3300
3453
|
"multiple": false,
|
|
3454
|
+
"options": [
|
|
3455
|
+
"summary",
|
|
3456
|
+
"json"
|
|
3457
|
+
],
|
|
3301
3458
|
"type": "option"
|
|
3302
3459
|
},
|
|
3460
|
+
"url-only": {
|
|
3461
|
+
"char": "u",
|
|
3462
|
+
"description": "Print the URL without opening the browser",
|
|
3463
|
+
"name": "url-only",
|
|
3464
|
+
"required": false,
|
|
3465
|
+
"allowNo": false,
|
|
3466
|
+
"type": "boolean"
|
|
3467
|
+
},
|
|
3303
3468
|
"workspace": {
|
|
3304
3469
|
"char": "w",
|
|
3305
|
-
"description": "Workspace ID (
|
|
3470
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3306
3471
|
"name": "workspace",
|
|
3307
3472
|
"required": false,
|
|
3308
3473
|
"hasDynamicHelp": false,
|
|
@@ -3312,7 +3477,7 @@
|
|
|
3312
3477
|
},
|
|
3313
3478
|
"hasDynamicHelp": false,
|
|
3314
3479
|
"hiddenAliases": [],
|
|
3315
|
-
"id": "tenant:
|
|
3480
|
+
"id": "tenant:impersonate",
|
|
3316
3481
|
"pluginAlias": "@xano/cli",
|
|
3317
3482
|
"pluginName": "@xano/cli",
|
|
3318
3483
|
"pluginType": "core",
|
|
@@ -3323,7 +3488,7 @@
|
|
|
3323
3488
|
"dist",
|
|
3324
3489
|
"commands",
|
|
3325
3490
|
"tenant",
|
|
3326
|
-
"
|
|
3491
|
+
"impersonate",
|
|
3327
3492
|
"index.js"
|
|
3328
3493
|
]
|
|
3329
3494
|
},
|
|
@@ -3396,14 +3561,21 @@
|
|
|
3396
3561
|
"index.js"
|
|
3397
3562
|
]
|
|
3398
3563
|
},
|
|
3399
|
-
"
|
|
3564
|
+
"tenant:pull": {
|
|
3400
3565
|
"aliases": [],
|
|
3401
|
-
"args": {
|
|
3402
|
-
|
|
3566
|
+
"args": {
|
|
3567
|
+
"directory": {
|
|
3568
|
+
"description": "Output directory for pulled documents",
|
|
3569
|
+
"name": "directory",
|
|
3570
|
+
"required": true
|
|
3571
|
+
}
|
|
3572
|
+
},
|
|
3573
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3403
3574
|
"examples": [
|
|
3404
|
-
"$ xano
|
|
3405
|
-
"$ xano
|
|
3406
|
-
"$ xano
|
|
3575
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3576
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3577
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3578
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3407
3579
|
],
|
|
3408
3580
|
"flags": {
|
|
3409
3581
|
"profile": {
|
|
@@ -3425,45 +3597,39 @@
|
|
|
3425
3597
|
"allowNo": false,
|
|
3426
3598
|
"type": "boolean"
|
|
3427
3599
|
},
|
|
3428
|
-
"
|
|
3429
|
-
"
|
|
3430
|
-
"
|
|
3431
|
-
"name": "branch",
|
|
3600
|
+
"draft": {
|
|
3601
|
+
"description": "Include draft versions",
|
|
3602
|
+
"name": "draft",
|
|
3432
3603
|
"required": false,
|
|
3433
|
-
"
|
|
3434
|
-
"
|
|
3435
|
-
"type": "option"
|
|
3604
|
+
"allowNo": false,
|
|
3605
|
+
"type": "boolean"
|
|
3436
3606
|
},
|
|
3437
|
-
"
|
|
3438
|
-
"description": "
|
|
3439
|
-
"name": "
|
|
3607
|
+
"env": {
|
|
3608
|
+
"description": "Include environment variables",
|
|
3609
|
+
"name": "env",
|
|
3440
3610
|
"required": false,
|
|
3441
|
-
"
|
|
3442
|
-
"
|
|
3443
|
-
"options": [
|
|
3444
|
-
"function",
|
|
3445
|
-
"query",
|
|
3446
|
-
"middleware"
|
|
3447
|
-
],
|
|
3448
|
-
"type": "option"
|
|
3611
|
+
"allowNo": false,
|
|
3612
|
+
"type": "boolean"
|
|
3449
3613
|
},
|
|
3450
|
-
"
|
|
3451
|
-
"
|
|
3452
|
-
"
|
|
3453
|
-
"name": "output",
|
|
3614
|
+
"records": {
|
|
3615
|
+
"description": "Include records",
|
|
3616
|
+
"name": "records",
|
|
3454
3617
|
"required": false,
|
|
3455
|
-
"
|
|
3618
|
+
"allowNo": false,
|
|
3619
|
+
"type": "boolean"
|
|
3620
|
+
},
|
|
3621
|
+
"tenant": {
|
|
3622
|
+
"char": "t",
|
|
3623
|
+
"description": "Tenant name to pull from",
|
|
3624
|
+
"name": "tenant",
|
|
3625
|
+
"required": true,
|
|
3456
3626
|
"hasDynamicHelp": false,
|
|
3457
3627
|
"multiple": false,
|
|
3458
|
-
"options": [
|
|
3459
|
-
"summary",
|
|
3460
|
-
"json"
|
|
3461
|
-
],
|
|
3462
3628
|
"type": "option"
|
|
3463
3629
|
},
|
|
3464
3630
|
"workspace": {
|
|
3465
3631
|
"char": "w",
|
|
3466
|
-
"description": "Workspace ID (
|
|
3632
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3467
3633
|
"name": "workspace",
|
|
3468
3634
|
"required": false,
|
|
3469
3635
|
"hasDynamicHelp": false,
|
|
@@ -3473,7 +3639,7 @@
|
|
|
3473
3639
|
},
|
|
3474
3640
|
"hasDynamicHelp": false,
|
|
3475
3641
|
"hiddenAliases": [],
|
|
3476
|
-
"id": "
|
|
3642
|
+
"id": "tenant:pull",
|
|
3477
3643
|
"pluginAlias": "@xano/cli",
|
|
3478
3644
|
"pluginName": "@xano/cli",
|
|
3479
3645
|
"pluginType": "core",
|
|
@@ -3483,8 +3649,8 @@
|
|
|
3483
3649
|
"relativePath": [
|
|
3484
3650
|
"dist",
|
|
3485
3651
|
"commands",
|
|
3486
|
-
"
|
|
3487
|
-
"
|
|
3652
|
+
"tenant",
|
|
3653
|
+
"pull",
|
|
3488
3654
|
"index.js"
|
|
3489
3655
|
]
|
|
3490
3656
|
},
|
|
@@ -3583,19 +3749,20 @@
|
|
|
3583
3749
|
"index.js"
|
|
3584
3750
|
]
|
|
3585
3751
|
},
|
|
3586
|
-
"
|
|
3752
|
+
"workflow_test:get": {
|
|
3587
3753
|
"aliases": [],
|
|
3588
3754
|
"args": {
|
|
3589
|
-
"
|
|
3590
|
-
"description": "ID of the
|
|
3591
|
-
"name": "
|
|
3755
|
+
"workflow_test_id": {
|
|
3756
|
+
"description": "ID of the workflow test",
|
|
3757
|
+
"name": "workflow_test_id",
|
|
3592
3758
|
"required": true
|
|
3593
3759
|
}
|
|
3594
3760
|
},
|
|
3595
|
-
"description": "
|
|
3761
|
+
"description": "Get a specific workflow test",
|
|
3596
3762
|
"examples": [
|
|
3597
|
-
"$ xano
|
|
3598
|
-
"$ xano
|
|
3763
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3764
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3765
|
+
"$ xano workflow-test get 1 -o json"
|
|
3599
3766
|
],
|
|
3600
3767
|
"flags": {
|
|
3601
3768
|
"profile": {
|
|
@@ -3617,6 +3784,13 @@
|
|
|
3617
3784
|
"allowNo": false,
|
|
3618
3785
|
"type": "boolean"
|
|
3619
3786
|
},
|
|
3787
|
+
"include-draft": {
|
|
3788
|
+
"description": "Include draft version",
|
|
3789
|
+
"name": "include-draft",
|
|
3790
|
+
"required": false,
|
|
3791
|
+
"allowNo": false,
|
|
3792
|
+
"type": "boolean"
|
|
3793
|
+
},
|
|
3620
3794
|
"output": {
|
|
3621
3795
|
"char": "o",
|
|
3622
3796
|
"description": "Output format",
|
|
@@ -3627,7 +3801,8 @@
|
|
|
3627
3801
|
"multiple": false,
|
|
3628
3802
|
"options": [
|
|
3629
3803
|
"summary",
|
|
3630
|
-
"json"
|
|
3804
|
+
"json",
|
|
3805
|
+
"xs"
|
|
3631
3806
|
],
|
|
3632
3807
|
"type": "option"
|
|
3633
3808
|
},
|
|
@@ -3643,7 +3818,7 @@
|
|
|
3643
3818
|
},
|
|
3644
3819
|
"hasDynamicHelp": false,
|
|
3645
3820
|
"hiddenAliases": [],
|
|
3646
|
-
"id": "
|
|
3821
|
+
"id": "workflow_test:get",
|
|
3647
3822
|
"pluginAlias": "@xano/cli",
|
|
3648
3823
|
"pluginName": "@xano/cli",
|
|
3649
3824
|
"pluginType": "core",
|
|
@@ -3653,8 +3828,8 @@
|
|
|
3653
3828
|
"relativePath": [
|
|
3654
3829
|
"dist",
|
|
3655
3830
|
"commands",
|
|
3656
|
-
"
|
|
3657
|
-
"
|
|
3831
|
+
"workflow_test",
|
|
3832
|
+
"get",
|
|
3658
3833
|
"index.js"
|
|
3659
3834
|
]
|
|
3660
3835
|
},
|
|
@@ -3741,20 +3916,19 @@
|
|
|
3741
3916
|
"index.js"
|
|
3742
3917
|
]
|
|
3743
3918
|
},
|
|
3744
|
-
"workflow_test:
|
|
3919
|
+
"workflow_test:run": {
|
|
3745
3920
|
"aliases": [],
|
|
3746
3921
|
"args": {
|
|
3747
3922
|
"workflow_test_id": {
|
|
3748
|
-
"description": "ID of the workflow test",
|
|
3923
|
+
"description": "ID of the workflow test to run",
|
|
3749
3924
|
"name": "workflow_test_id",
|
|
3750
3925
|
"required": true
|
|
3751
3926
|
}
|
|
3752
3927
|
},
|
|
3753
|
-
"description": "
|
|
3928
|
+
"description": "Run a workflow test",
|
|
3754
3929
|
"examples": [
|
|
3755
|
-
"$ xano workflow-test
|
|
3756
|
-
"$ xano workflow-test
|
|
3757
|
-
"$ xano workflow-test get 1 -o json"
|
|
3930
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3931
|
+
"$ xano workflow-test run 1 -o json"
|
|
3758
3932
|
],
|
|
3759
3933
|
"flags": {
|
|
3760
3934
|
"profile": {
|
|
@@ -3776,13 +3950,6 @@
|
|
|
3776
3950
|
"allowNo": false,
|
|
3777
3951
|
"type": "boolean"
|
|
3778
3952
|
},
|
|
3779
|
-
"include-draft": {
|
|
3780
|
-
"description": "Include draft version",
|
|
3781
|
-
"name": "include-draft",
|
|
3782
|
-
"required": false,
|
|
3783
|
-
"allowNo": false,
|
|
3784
|
-
"type": "boolean"
|
|
3785
|
-
},
|
|
3786
3953
|
"output": {
|
|
3787
3954
|
"char": "o",
|
|
3788
3955
|
"description": "Output format",
|
|
@@ -3793,8 +3960,7 @@
|
|
|
3793
3960
|
"multiple": false,
|
|
3794
3961
|
"options": [
|
|
3795
3962
|
"summary",
|
|
3796
|
-
"json"
|
|
3797
|
-
"xs"
|
|
3963
|
+
"json"
|
|
3798
3964
|
],
|
|
3799
3965
|
"type": "option"
|
|
3800
3966
|
},
|
|
@@ -3810,7 +3976,7 @@
|
|
|
3810
3976
|
},
|
|
3811
3977
|
"hasDynamicHelp": false,
|
|
3812
3978
|
"hiddenAliases": [],
|
|
3813
|
-
"id": "workflow_test:
|
|
3979
|
+
"id": "workflow_test:run",
|
|
3814
3980
|
"pluginAlias": "@xano/cli",
|
|
3815
3981
|
"pluginName": "@xano/cli",
|
|
3816
3982
|
"pluginType": "core",
|
|
@@ -3821,17 +3987,18 @@
|
|
|
3821
3987
|
"dist",
|
|
3822
3988
|
"commands",
|
|
3823
3989
|
"workflow_test",
|
|
3824
|
-
"
|
|
3990
|
+
"run",
|
|
3825
3991
|
"index.js"
|
|
3826
3992
|
]
|
|
3827
3993
|
},
|
|
3828
|
-
"
|
|
3994
|
+
"workflow_test:list": {
|
|
3829
3995
|
"aliases": [],
|
|
3830
3996
|
"args": {},
|
|
3831
|
-
"description": "
|
|
3997
|
+
"description": "List all workflow tests in a workspace",
|
|
3832
3998
|
"examples": [
|
|
3833
|
-
"$ xano
|
|
3834
|
-
"$ xano
|
|
3999
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4000
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4001
|
+
"$ xano workflow-test list --branch main"
|
|
3835
4002
|
],
|
|
3836
4003
|
"flags": {
|
|
3837
4004
|
"profile": {
|
|
@@ -3862,94 +4029,6 @@
|
|
|
3862
4029
|
"multiple": false,
|
|
3863
4030
|
"type": "option"
|
|
3864
4031
|
},
|
|
3865
|
-
"obj-type": {
|
|
3866
|
-
"description": "Filter by object type",
|
|
3867
|
-
"name": "obj-type",
|
|
3868
|
-
"required": false,
|
|
3869
|
-
"hasDynamicHelp": false,
|
|
3870
|
-
"multiple": false,
|
|
3871
|
-
"options": [
|
|
3872
|
-
"function",
|
|
3873
|
-
"query",
|
|
3874
|
-
"middleware"
|
|
3875
|
-
],
|
|
3876
|
-
"type": "option"
|
|
3877
|
-
},
|
|
3878
|
-
"output": {
|
|
3879
|
-
"char": "o",
|
|
3880
|
-
"description": "Output format",
|
|
3881
|
-
"name": "output",
|
|
3882
|
-
"required": false,
|
|
3883
|
-
"default": "summary",
|
|
3884
|
-
"hasDynamicHelp": false,
|
|
3885
|
-
"multiple": false,
|
|
3886
|
-
"options": [
|
|
3887
|
-
"summary",
|
|
3888
|
-
"json"
|
|
3889
|
-
],
|
|
3890
|
-
"type": "option"
|
|
3891
|
-
},
|
|
3892
|
-
"workspace": {
|
|
3893
|
-
"char": "w",
|
|
3894
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3895
|
-
"name": "workspace",
|
|
3896
|
-
"required": false,
|
|
3897
|
-
"hasDynamicHelp": false,
|
|
3898
|
-
"multiple": false,
|
|
3899
|
-
"type": "option"
|
|
3900
|
-
}
|
|
3901
|
-
},
|
|
3902
|
-
"hasDynamicHelp": false,
|
|
3903
|
-
"hiddenAliases": [],
|
|
3904
|
-
"id": "unit_test:run_all",
|
|
3905
|
-
"pluginAlias": "@xano/cli",
|
|
3906
|
-
"pluginName": "@xano/cli",
|
|
3907
|
-
"pluginType": "core",
|
|
3908
|
-
"strict": true,
|
|
3909
|
-
"enableJsonFlag": false,
|
|
3910
|
-
"isESM": true,
|
|
3911
|
-
"relativePath": [
|
|
3912
|
-
"dist",
|
|
3913
|
-
"commands",
|
|
3914
|
-
"unit_test",
|
|
3915
|
-
"run_all",
|
|
3916
|
-
"index.js"
|
|
3917
|
-
]
|
|
3918
|
-
},
|
|
3919
|
-
"workflow_test:run": {
|
|
3920
|
-
"aliases": [],
|
|
3921
|
-
"args": {
|
|
3922
|
-
"workflow_test_id": {
|
|
3923
|
-
"description": "ID of the workflow test to run",
|
|
3924
|
-
"name": "workflow_test_id",
|
|
3925
|
-
"required": true
|
|
3926
|
-
}
|
|
3927
|
-
},
|
|
3928
|
-
"description": "Run a workflow test",
|
|
3929
|
-
"examples": [
|
|
3930
|
-
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3931
|
-
"$ xano workflow-test run 1 -o json"
|
|
3932
|
-
],
|
|
3933
|
-
"flags": {
|
|
3934
|
-
"profile": {
|
|
3935
|
-
"char": "p",
|
|
3936
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3937
|
-
"env": "XANO_PROFILE",
|
|
3938
|
-
"name": "profile",
|
|
3939
|
-
"required": false,
|
|
3940
|
-
"hasDynamicHelp": false,
|
|
3941
|
-
"multiple": false,
|
|
3942
|
-
"type": "option"
|
|
3943
|
-
},
|
|
3944
|
-
"verbose": {
|
|
3945
|
-
"char": "v",
|
|
3946
|
-
"description": "Show detailed request/response information",
|
|
3947
|
-
"env": "XANO_VERBOSE",
|
|
3948
|
-
"name": "verbose",
|
|
3949
|
-
"required": false,
|
|
3950
|
-
"allowNo": false,
|
|
3951
|
-
"type": "boolean"
|
|
3952
|
-
},
|
|
3953
4032
|
"output": {
|
|
3954
4033
|
"char": "o",
|
|
3955
4034
|
"description": "Output format",
|
|
@@ -3976,7 +4055,7 @@
|
|
|
3976
4055
|
},
|
|
3977
4056
|
"hasDynamicHelp": false,
|
|
3978
4057
|
"hiddenAliases": [],
|
|
3979
|
-
"id": "workflow_test:
|
|
4058
|
+
"id": "workflow_test:list",
|
|
3980
4059
|
"pluginAlias": "@xano/cli",
|
|
3981
4060
|
"pluginName": "@xano/cli",
|
|
3982
4061
|
"pluginType": "core",
|
|
@@ -3987,7 +4066,7 @@
|
|
|
3987
4066
|
"dist",
|
|
3988
4067
|
"commands",
|
|
3989
4068
|
"workflow_test",
|
|
3990
|
-
"
|
|
4069
|
+
"list",
|
|
3991
4070
|
"index.js"
|
|
3992
4071
|
]
|
|
3993
4072
|
},
|
|
@@ -4069,14 +4148,20 @@
|
|
|
4069
4148
|
"index.js"
|
|
4070
4149
|
]
|
|
4071
4150
|
},
|
|
4072
|
-
"
|
|
4151
|
+
"workspace:create": {
|
|
4073
4152
|
"aliases": [],
|
|
4074
|
-
"args": {
|
|
4075
|
-
|
|
4153
|
+
"args": {
|
|
4154
|
+
"name": {
|
|
4155
|
+
"description": "Name of the workspace",
|
|
4156
|
+
"name": "name",
|
|
4157
|
+
"required": true
|
|
4158
|
+
}
|
|
4159
|
+
},
|
|
4160
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4076
4161
|
"examples": [
|
|
4077
|
-
"$ xano
|
|
4078
|
-
"$ xano
|
|
4079
|
-
"$ xano
|
|
4162
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4163
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4164
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4080
4165
|
],
|
|
4081
4166
|
"flags": {
|
|
4082
4167
|
"profile": {
|
|
@@ -4098,10 +4183,10 @@
|
|
|
4098
4183
|
"allowNo": false,
|
|
4099
4184
|
"type": "boolean"
|
|
4100
4185
|
},
|
|
4101
|
-
"
|
|
4102
|
-
"char": "
|
|
4103
|
-
"description": "
|
|
4104
|
-
"name": "
|
|
4186
|
+
"description": {
|
|
4187
|
+
"char": "d",
|
|
4188
|
+
"description": "Description for the workspace",
|
|
4189
|
+
"name": "description",
|
|
4105
4190
|
"required": false,
|
|
4106
4191
|
"hasDynamicHelp": false,
|
|
4107
4192
|
"multiple": false,
|
|
@@ -4120,20 +4205,11 @@
|
|
|
4120
4205
|
"json"
|
|
4121
4206
|
],
|
|
4122
4207
|
"type": "option"
|
|
4123
|
-
},
|
|
4124
|
-
"workspace": {
|
|
4125
|
-
"char": "w",
|
|
4126
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4127
|
-
"name": "workspace",
|
|
4128
|
-
"required": false,
|
|
4129
|
-
"hasDynamicHelp": false,
|
|
4130
|
-
"multiple": false,
|
|
4131
|
-
"type": "option"
|
|
4132
4208
|
}
|
|
4133
4209
|
},
|
|
4134
4210
|
"hasDynamicHelp": false,
|
|
4135
4211
|
"hiddenAliases": [],
|
|
4136
|
-
"id": "
|
|
4212
|
+
"id": "workspace:create",
|
|
4137
4213
|
"pluginAlias": "@xano/cli",
|
|
4138
4214
|
"pluginName": "@xano/cli",
|
|
4139
4215
|
"pluginType": "core",
|
|
@@ -4143,25 +4219,25 @@
|
|
|
4143
4219
|
"relativePath": [
|
|
4144
4220
|
"dist",
|
|
4145
4221
|
"commands",
|
|
4146
|
-
"
|
|
4147
|
-
"
|
|
4222
|
+
"workspace",
|
|
4223
|
+
"create",
|
|
4148
4224
|
"index.js"
|
|
4149
4225
|
]
|
|
4150
4226
|
},
|
|
4151
|
-
"workspace:
|
|
4227
|
+
"workspace:delete": {
|
|
4152
4228
|
"aliases": [],
|
|
4153
4229
|
"args": {
|
|
4154
|
-
"
|
|
4155
|
-
"description": "
|
|
4156
|
-
"name": "
|
|
4230
|
+
"workspace_id": {
|
|
4231
|
+
"description": "Workspace ID to delete",
|
|
4232
|
+
"name": "workspace_id",
|
|
4157
4233
|
"required": true
|
|
4158
4234
|
}
|
|
4159
4235
|
},
|
|
4160
|
-
"description": "
|
|
4236
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4161
4237
|
"examples": [
|
|
4162
|
-
"$ xano workspace
|
|
4163
|
-
"$ xano workspace
|
|
4164
|
-
"$ xano workspace
|
|
4238
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4239
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4240
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4165
4241
|
],
|
|
4166
4242
|
"flags": {
|
|
4167
4243
|
"profile": {
|
|
@@ -4183,14 +4259,13 @@
|
|
|
4183
4259
|
"allowNo": false,
|
|
4184
4260
|
"type": "boolean"
|
|
4185
4261
|
},
|
|
4186
|
-
"
|
|
4187
|
-
"char": "
|
|
4188
|
-
"description": "
|
|
4189
|
-
"name": "
|
|
4262
|
+
"force": {
|
|
4263
|
+
"char": "f",
|
|
4264
|
+
"description": "Skip confirmation prompt",
|
|
4265
|
+
"name": "force",
|
|
4190
4266
|
"required": false,
|
|
4191
|
-
"
|
|
4192
|
-
"
|
|
4193
|
-
"type": "option"
|
|
4267
|
+
"allowNo": false,
|
|
4268
|
+
"type": "boolean"
|
|
4194
4269
|
},
|
|
4195
4270
|
"output": {
|
|
4196
4271
|
"char": "o",
|
|
@@ -4209,7 +4284,7 @@
|
|
|
4209
4284
|
},
|
|
4210
4285
|
"hasDynamicHelp": false,
|
|
4211
4286
|
"hiddenAliases": [],
|
|
4212
|
-
"id": "workspace:
|
|
4287
|
+
"id": "workspace:delete",
|
|
4213
4288
|
"pluginAlias": "@xano/cli",
|
|
4214
4289
|
"pluginName": "@xano/cli",
|
|
4215
4290
|
"pluginType": "core",
|
|
@@ -4220,7 +4295,7 @@
|
|
|
4220
4295
|
"dist",
|
|
4221
4296
|
"commands",
|
|
4222
4297
|
"workspace",
|
|
4223
|
-
"
|
|
4298
|
+
"delete",
|
|
4224
4299
|
"index.js"
|
|
4225
4300
|
]
|
|
4226
4301
|
},
|
|
@@ -4391,20 +4466,15 @@
|
|
|
4391
4466
|
"index.js"
|
|
4392
4467
|
]
|
|
4393
4468
|
},
|
|
4394
|
-
"workspace:
|
|
4469
|
+
"workspace:list": {
|
|
4395
4470
|
"aliases": [],
|
|
4396
|
-
"args": {
|
|
4397
|
-
|
|
4398
|
-
"description": "Workspace ID to delete",
|
|
4399
|
-
"name": "workspace_id",
|
|
4400
|
-
"required": true
|
|
4401
|
-
}
|
|
4402
|
-
},
|
|
4403
|
-
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4471
|
+
"args": {},
|
|
4472
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4404
4473
|
"examples": [
|
|
4405
|
-
"$ xano workspace
|
|
4406
|
-
"$ xano workspace
|
|
4407
|
-
"$ xano workspace
|
|
4474
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4475
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4476
|
+
"$ 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",
|
|
4477
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4408
4478
|
],
|
|
4409
4479
|
"flags": {
|
|
4410
4480
|
"profile": {
|
|
@@ -4426,14 +4496,6 @@
|
|
|
4426
4496
|
"allowNo": false,
|
|
4427
4497
|
"type": "boolean"
|
|
4428
4498
|
},
|
|
4429
|
-
"force": {
|
|
4430
|
-
"char": "f",
|
|
4431
|
-
"description": "Skip confirmation prompt",
|
|
4432
|
-
"name": "force",
|
|
4433
|
-
"required": false,
|
|
4434
|
-
"allowNo": false,
|
|
4435
|
-
"type": "boolean"
|
|
4436
|
-
},
|
|
4437
4499
|
"output": {
|
|
4438
4500
|
"char": "o",
|
|
4439
4501
|
"description": "Output format",
|
|
@@ -4451,7 +4513,7 @@
|
|
|
4451
4513
|
},
|
|
4452
4514
|
"hasDynamicHelp": false,
|
|
4453
4515
|
"hiddenAliases": [],
|
|
4454
|
-
"id": "workspace:
|
|
4516
|
+
"id": "workspace:list",
|
|
4455
4517
|
"pluginAlias": "@xano/cli",
|
|
4456
4518
|
"pluginName": "@xano/cli",
|
|
4457
4519
|
"pluginType": "core",
|
|
@@ -4462,23 +4524,26 @@
|
|
|
4462
4524
|
"dist",
|
|
4463
4525
|
"commands",
|
|
4464
4526
|
"workspace",
|
|
4465
|
-
"
|
|
4527
|
+
"list",
|
|
4466
4528
|
"index.js"
|
|
4467
4529
|
]
|
|
4468
4530
|
},
|
|
4469
|
-
"
|
|
4531
|
+
"workspace:pull": {
|
|
4470
4532
|
"aliases": [],
|
|
4471
4533
|
"args": {
|
|
4472
|
-
"
|
|
4473
|
-
"description": "
|
|
4474
|
-
"name": "
|
|
4534
|
+
"directory": {
|
|
4535
|
+
"description": "Output directory for pulled documents",
|
|
4536
|
+
"name": "directory",
|
|
4475
4537
|
"required": true
|
|
4476
4538
|
}
|
|
4477
4539
|
},
|
|
4478
|
-
"description": "
|
|
4540
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4479
4541
|
"examples": [
|
|
4480
|
-
"$ xano
|
|
4481
|
-
"$ xano
|
|
4542
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4543
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4544
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4545
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4546
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4482
4547
|
],
|
|
4483
4548
|
"flags": {
|
|
4484
4549
|
"profile": {
|
|
@@ -4500,33 +4565,39 @@
|
|
|
4500
4565
|
"allowNo": false,
|
|
4501
4566
|
"type": "boolean"
|
|
4502
4567
|
},
|
|
4503
|
-
"
|
|
4504
|
-
"char": "
|
|
4505
|
-
"description": "
|
|
4506
|
-
"name": "
|
|
4568
|
+
"branch": {
|
|
4569
|
+
"char": "b",
|
|
4570
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4571
|
+
"name": "branch",
|
|
4507
4572
|
"required": false,
|
|
4508
|
-
"default": "",
|
|
4509
4573
|
"hasDynamicHelp": false,
|
|
4510
4574
|
"multiple": false,
|
|
4511
4575
|
"type": "option"
|
|
4512
4576
|
},
|
|
4513
|
-
"
|
|
4514
|
-
"
|
|
4515
|
-
"
|
|
4516
|
-
"
|
|
4517
|
-
"
|
|
4518
|
-
"
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
"
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
"type": "
|
|
4577
|
+
"env": {
|
|
4578
|
+
"description": "Include environment variables",
|
|
4579
|
+
"name": "env",
|
|
4580
|
+
"required": false,
|
|
4581
|
+
"allowNo": false,
|
|
4582
|
+
"type": "boolean"
|
|
4583
|
+
},
|
|
4584
|
+
"draft": {
|
|
4585
|
+
"description": "Include draft versions",
|
|
4586
|
+
"name": "draft",
|
|
4587
|
+
"required": false,
|
|
4588
|
+
"allowNo": false,
|
|
4589
|
+
"type": "boolean"
|
|
4590
|
+
},
|
|
4591
|
+
"records": {
|
|
4592
|
+
"description": "Include records",
|
|
4593
|
+
"name": "records",
|
|
4594
|
+
"required": false,
|
|
4595
|
+
"allowNo": false,
|
|
4596
|
+
"type": "boolean"
|
|
4526
4597
|
},
|
|
4527
4598
|
"workspace": {
|
|
4528
4599
|
"char": "w",
|
|
4529
|
-
"description": "Workspace ID (
|
|
4600
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4530
4601
|
"name": "workspace",
|
|
4531
4602
|
"required": false,
|
|
4532
4603
|
"hasDynamicHelp": false,
|
|
@@ -4536,7 +4607,7 @@
|
|
|
4536
4607
|
},
|
|
4537
4608
|
"hasDynamicHelp": false,
|
|
4538
4609
|
"hiddenAliases": [],
|
|
4539
|
-
"id": "
|
|
4610
|
+
"id": "workspace:pull",
|
|
4540
4611
|
"pluginAlias": "@xano/cli",
|
|
4541
4612
|
"pluginName": "@xano/cli",
|
|
4542
4613
|
"pluginType": "core",
|
|
@@ -4546,26 +4617,25 @@
|
|
|
4546
4617
|
"relativePath": [
|
|
4547
4618
|
"dist",
|
|
4548
4619
|
"commands",
|
|
4549
|
-
"
|
|
4550
|
-
"
|
|
4551
|
-
"create",
|
|
4620
|
+
"workspace",
|
|
4621
|
+
"pull",
|
|
4552
4622
|
"index.js"
|
|
4553
4623
|
]
|
|
4554
4624
|
},
|
|
4555
|
-
"
|
|
4625
|
+
"static_host:build:create": {
|
|
4556
4626
|
"aliases": [],
|
|
4557
4627
|
"args": {
|
|
4558
|
-
"
|
|
4559
|
-
"description": "
|
|
4560
|
-
"name": "
|
|
4628
|
+
"static_host": {
|
|
4629
|
+
"description": "Static Host name",
|
|
4630
|
+
"name": "static_host",
|
|
4561
4631
|
"required": true
|
|
4562
4632
|
}
|
|
4563
4633
|
},
|
|
4564
|
-
"description": "
|
|
4634
|
+
"description": "Create a new build for a static host",
|
|
4565
4635
|
"examples": [
|
|
4566
|
-
"$ xano
|
|
4567
|
-
"$ xano
|
|
4568
|
-
"$ xano
|
|
4636
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
4637
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
4638
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4569
4639
|
],
|
|
4570
4640
|
"flags": {
|
|
4571
4641
|
"profile": {
|
|
@@ -4587,21 +4657,32 @@
|
|
|
4587
4657
|
"allowNo": false,
|
|
4588
4658
|
"type": "boolean"
|
|
4589
4659
|
},
|
|
4590
|
-
"
|
|
4591
|
-
"
|
|
4592
|
-
"
|
|
4593
|
-
"
|
|
4660
|
+
"description": {
|
|
4661
|
+
"char": "d",
|
|
4662
|
+
"description": "Build description",
|
|
4663
|
+
"name": "description",
|
|
4664
|
+
"required": false,
|
|
4594
4665
|
"hasDynamicHelp": false,
|
|
4595
4666
|
"multiple": false,
|
|
4596
4667
|
"type": "option"
|
|
4597
4668
|
},
|
|
4598
|
-
"
|
|
4669
|
+
"file": {
|
|
4599
4670
|
"char": "f",
|
|
4600
|
-
"description": "
|
|
4601
|
-
"name": "
|
|
4602
|
-
"required":
|
|
4603
|
-
"
|
|
4604
|
-
"
|
|
4671
|
+
"description": "Path to zip file to upload",
|
|
4672
|
+
"name": "file",
|
|
4673
|
+
"required": true,
|
|
4674
|
+
"hasDynamicHelp": false,
|
|
4675
|
+
"multiple": false,
|
|
4676
|
+
"type": "option"
|
|
4677
|
+
},
|
|
4678
|
+
"name": {
|
|
4679
|
+
"char": "n",
|
|
4680
|
+
"description": "Build name",
|
|
4681
|
+
"name": "name",
|
|
4682
|
+
"required": true,
|
|
4683
|
+
"hasDynamicHelp": false,
|
|
4684
|
+
"multiple": false,
|
|
4685
|
+
"type": "option"
|
|
4605
4686
|
},
|
|
4606
4687
|
"output": {
|
|
4607
4688
|
"char": "o",
|
|
@@ -4619,7 +4700,7 @@
|
|
|
4619
4700
|
},
|
|
4620
4701
|
"workspace": {
|
|
4621
4702
|
"char": "w",
|
|
4622
|
-
"description": "Workspace ID (
|
|
4703
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4623
4704
|
"name": "workspace",
|
|
4624
4705
|
"required": false,
|
|
4625
4706
|
"hasDynamicHelp": false,
|
|
@@ -4629,7 +4710,7 @@
|
|
|
4629
4710
|
},
|
|
4630
4711
|
"hasDynamicHelp": false,
|
|
4631
4712
|
"hiddenAliases": [],
|
|
4632
|
-
"id": "
|
|
4713
|
+
"id": "static_host:build:create",
|
|
4633
4714
|
"pluginAlias": "@xano/cli",
|
|
4634
4715
|
"pluginName": "@xano/cli",
|
|
4635
4716
|
"pluginType": "core",
|
|
@@ -4639,26 +4720,32 @@
|
|
|
4639
4720
|
"relativePath": [
|
|
4640
4721
|
"dist",
|
|
4641
4722
|
"commands",
|
|
4642
|
-
"
|
|
4643
|
-
"
|
|
4644
|
-
"
|
|
4723
|
+
"static_host",
|
|
4724
|
+
"build",
|
|
4725
|
+
"create",
|
|
4645
4726
|
"index.js"
|
|
4646
4727
|
]
|
|
4647
4728
|
},
|
|
4648
|
-
"
|
|
4729
|
+
"static_host:build:get": {
|
|
4649
4730
|
"aliases": [],
|
|
4650
4731
|
"args": {
|
|
4651
|
-
"
|
|
4652
|
-
"description": "
|
|
4653
|
-
"name": "
|
|
4732
|
+
"build_id": {
|
|
4733
|
+
"description": "Build ID",
|
|
4734
|
+
"name": "build_id",
|
|
4735
|
+
"required": true
|
|
4736
|
+
},
|
|
4737
|
+
"static_host": {
|
|
4738
|
+
"description": "Static Host name",
|
|
4739
|
+
"name": "static_host",
|
|
4654
4740
|
"required": true
|
|
4655
4741
|
}
|
|
4656
4742
|
},
|
|
4657
|
-
"description": "
|
|
4743
|
+
"description": "Get details of a specific build for a static host",
|
|
4658
4744
|
"examples": [
|
|
4659
|
-
"$ xano
|
|
4660
|
-
"$ xano
|
|
4661
|
-
"$ xano
|
|
4745
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4746
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4747
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4748
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4662
4749
|
],
|
|
4663
4750
|
"flags": {
|
|
4664
4751
|
"profile": {
|
|
@@ -4680,18 +4767,10 @@
|
|
|
4680
4767
|
"allowNo": false,
|
|
4681
4768
|
"type": "boolean"
|
|
4682
4769
|
},
|
|
4683
|
-
"
|
|
4684
|
-
"description": "Backup ID to export",
|
|
4685
|
-
"name": "backup_id",
|
|
4686
|
-
"required": true,
|
|
4687
|
-
"hasDynamicHelp": false,
|
|
4688
|
-
"multiple": false,
|
|
4689
|
-
"type": "option"
|
|
4690
|
-
},
|
|
4691
|
-
"format": {
|
|
4770
|
+
"output": {
|
|
4692
4771
|
"char": "o",
|
|
4693
4772
|
"description": "Output format",
|
|
4694
|
-
"name": "
|
|
4773
|
+
"name": "output",
|
|
4695
4774
|
"required": false,
|
|
4696
4775
|
"default": "summary",
|
|
4697
4776
|
"hasDynamicHelp": false,
|
|
@@ -4702,17 +4781,9 @@
|
|
|
4702
4781
|
],
|
|
4703
4782
|
"type": "option"
|
|
4704
4783
|
},
|
|
4705
|
-
"output": {
|
|
4706
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
4707
|
-
"name": "output",
|
|
4708
|
-
"required": false,
|
|
4709
|
-
"hasDynamicHelp": false,
|
|
4710
|
-
"multiple": false,
|
|
4711
|
-
"type": "option"
|
|
4712
|
-
},
|
|
4713
4784
|
"workspace": {
|
|
4714
4785
|
"char": "w",
|
|
4715
|
-
"description": "Workspace ID (
|
|
4786
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4716
4787
|
"name": "workspace",
|
|
4717
4788
|
"required": false,
|
|
4718
4789
|
"hasDynamicHelp": false,
|
|
@@ -4722,7 +4793,7 @@
|
|
|
4722
4793
|
},
|
|
4723
4794
|
"hasDynamicHelp": false,
|
|
4724
4795
|
"hiddenAliases": [],
|
|
4725
|
-
"id": "
|
|
4796
|
+
"id": "static_host:build:get",
|
|
4726
4797
|
"pluginAlias": "@xano/cli",
|
|
4727
4798
|
"pluginName": "@xano/cli",
|
|
4728
4799
|
"pluginType": "core",
|
|
@@ -4732,21 +4803,27 @@
|
|
|
4732
4803
|
"relativePath": [
|
|
4733
4804
|
"dist",
|
|
4734
4805
|
"commands",
|
|
4735
|
-
"
|
|
4736
|
-
"
|
|
4737
|
-
"
|
|
4806
|
+
"static_host",
|
|
4807
|
+
"build",
|
|
4808
|
+
"get",
|
|
4738
4809
|
"index.js"
|
|
4739
4810
|
]
|
|
4740
4811
|
},
|
|
4741
|
-
"
|
|
4812
|
+
"static_host:build:list": {
|
|
4742
4813
|
"aliases": [],
|
|
4743
|
-
"args": {
|
|
4744
|
-
|
|
4814
|
+
"args": {
|
|
4815
|
+
"static_host": {
|
|
4816
|
+
"description": "Static Host name",
|
|
4817
|
+
"name": "static_host",
|
|
4818
|
+
"required": true
|
|
4819
|
+
}
|
|
4820
|
+
},
|
|
4821
|
+
"description": "List all builds for a static host",
|
|
4745
4822
|
"examples": [
|
|
4746
|
-
"$ xano
|
|
4747
|
-
"$ xano
|
|
4748
|
-
"$ xano
|
|
4749
|
-
"$ xano
|
|
4823
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4824
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4825
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4826
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4750
4827
|
],
|
|
4751
4828
|
"flags": {
|
|
4752
4829
|
"profile": {
|
|
@@ -4781,92 +4858,25 @@
|
|
|
4781
4858
|
"json"
|
|
4782
4859
|
],
|
|
4783
4860
|
"type": "option"
|
|
4784
|
-
}
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
"id": "workspace:list",
|
|
4789
|
-
"pluginAlias": "@xano/cli",
|
|
4790
|
-
"pluginName": "@xano/cli",
|
|
4791
|
-
"pluginType": "core",
|
|
4792
|
-
"strict": true,
|
|
4793
|
-
"enableJsonFlag": false,
|
|
4794
|
-
"isESM": true,
|
|
4795
|
-
"relativePath": [
|
|
4796
|
-
"dist",
|
|
4797
|
-
"commands",
|
|
4798
|
-
"workspace",
|
|
4799
|
-
"list",
|
|
4800
|
-
"index.js"
|
|
4801
|
-
]
|
|
4802
|
-
},
|
|
4803
|
-
"workspace:pull": {
|
|
4804
|
-
"aliases": [],
|
|
4805
|
-
"args": {
|
|
4806
|
-
"directory": {
|
|
4807
|
-
"description": "Output directory for pulled documents",
|
|
4808
|
-
"name": "directory",
|
|
4809
|
-
"required": true
|
|
4810
|
-
}
|
|
4811
|
-
},
|
|
4812
|
-
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4813
|
-
"examples": [
|
|
4814
|
-
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4815
|
-
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4816
|
-
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4817
|
-
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4818
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4819
|
-
],
|
|
4820
|
-
"flags": {
|
|
4821
|
-
"profile": {
|
|
4822
|
-
"char": "p",
|
|
4823
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4824
|
-
"env": "XANO_PROFILE",
|
|
4825
|
-
"name": "profile",
|
|
4861
|
+
},
|
|
4862
|
+
"page": {
|
|
4863
|
+
"description": "Page number for pagination",
|
|
4864
|
+
"name": "page",
|
|
4826
4865
|
"required": false,
|
|
4866
|
+
"default": 1,
|
|
4827
4867
|
"hasDynamicHelp": false,
|
|
4828
4868
|
"multiple": false,
|
|
4829
4869
|
"type": "option"
|
|
4830
4870
|
},
|
|
4831
|
-
"
|
|
4832
|
-
"
|
|
4833
|
-
"
|
|
4834
|
-
"env": "XANO_VERBOSE",
|
|
4835
|
-
"name": "verbose",
|
|
4836
|
-
"required": false,
|
|
4837
|
-
"allowNo": false,
|
|
4838
|
-
"type": "boolean"
|
|
4839
|
-
},
|
|
4840
|
-
"branch": {
|
|
4841
|
-
"char": "b",
|
|
4842
|
-
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4843
|
-
"name": "branch",
|
|
4871
|
+
"per_page": {
|
|
4872
|
+
"description": "Number of results per page",
|
|
4873
|
+
"name": "per_page",
|
|
4844
4874
|
"required": false,
|
|
4875
|
+
"default": 50,
|
|
4845
4876
|
"hasDynamicHelp": false,
|
|
4846
4877
|
"multiple": false,
|
|
4847
4878
|
"type": "option"
|
|
4848
4879
|
},
|
|
4849
|
-
"env": {
|
|
4850
|
-
"description": "Include environment variables",
|
|
4851
|
-
"name": "env",
|
|
4852
|
-
"required": false,
|
|
4853
|
-
"allowNo": false,
|
|
4854
|
-
"type": "boolean"
|
|
4855
|
-
},
|
|
4856
|
-
"draft": {
|
|
4857
|
-
"description": "Include draft versions",
|
|
4858
|
-
"name": "draft",
|
|
4859
|
-
"required": false,
|
|
4860
|
-
"allowNo": false,
|
|
4861
|
-
"type": "boolean"
|
|
4862
|
-
},
|
|
4863
|
-
"records": {
|
|
4864
|
-
"description": "Include records",
|
|
4865
|
-
"name": "records",
|
|
4866
|
-
"required": false,
|
|
4867
|
-
"allowNo": false,
|
|
4868
|
-
"type": "boolean"
|
|
4869
|
-
},
|
|
4870
4880
|
"workspace": {
|
|
4871
4881
|
"char": "w",
|
|
4872
4882
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4879,7 +4889,7 @@
|
|
|
4879
4889
|
},
|
|
4880
4890
|
"hasDynamicHelp": false,
|
|
4881
4891
|
"hiddenAliases": [],
|
|
4882
|
-
"id": "
|
|
4892
|
+
"id": "static_host:build:list",
|
|
4883
4893
|
"pluginAlias": "@xano/cli",
|
|
4884
4894
|
"pluginName": "@xano/cli",
|
|
4885
4895
|
"pluginType": "core",
|
|
@@ -4889,8 +4899,9 @@
|
|
|
4889
4899
|
"relativePath": [
|
|
4890
4900
|
"dist",
|
|
4891
4901
|
"commands",
|
|
4892
|
-
"
|
|
4893
|
-
"
|
|
4902
|
+
"static_host",
|
|
4903
|
+
"build",
|
|
4904
|
+
"list",
|
|
4894
4905
|
"index.js"
|
|
4895
4906
|
]
|
|
4896
4907
|
},
|
|
@@ -4978,195 +4989,19 @@
|
|
|
4978
4989
|
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4979
4990
|
"name": "sync-guids",
|
|
4980
4991
|
"required": false,
|
|
4981
|
-
"allowNo": true,
|
|
4982
|
-
"type": "boolean"
|
|
4983
|
-
},
|
|
4984
|
-
"truncate": {
|
|
4985
|
-
"description": "Truncate all table records before importing",
|
|
4986
|
-
"name": "truncate",
|
|
4987
|
-
"required": false,
|
|
4988
|
-
"allowNo": false,
|
|
4989
|
-
"type": "boolean"
|
|
4990
|
-
},
|
|
4991
|
-
"workspace": {
|
|
4992
|
-
"char": "w",
|
|
4993
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4994
|
-
"name": "workspace",
|
|
4995
|
-
"required": false,
|
|
4996
|
-
"hasDynamicHelp": false,
|
|
4997
|
-
"multiple": false,
|
|
4998
|
-
"type": "option"
|
|
4999
|
-
}
|
|
5000
|
-
},
|
|
5001
|
-
"hasDynamicHelp": false,
|
|
5002
|
-
"hiddenAliases": [],
|
|
5003
|
-
"id": "workspace:push",
|
|
5004
|
-
"pluginAlias": "@xano/cli",
|
|
5005
|
-
"pluginName": "@xano/cli",
|
|
5006
|
-
"pluginType": "core",
|
|
5007
|
-
"strict": true,
|
|
5008
|
-
"enableJsonFlag": false,
|
|
5009
|
-
"isESM": true,
|
|
5010
|
-
"relativePath": [
|
|
5011
|
-
"dist",
|
|
5012
|
-
"commands",
|
|
5013
|
-
"workspace",
|
|
5014
|
-
"push",
|
|
5015
|
-
"index.js"
|
|
5016
|
-
]
|
|
5017
|
-
},
|
|
5018
|
-
"tenant:backup:list": {
|
|
5019
|
-
"aliases": [],
|
|
5020
|
-
"args": {
|
|
5021
|
-
"tenant_name": {
|
|
5022
|
-
"description": "Tenant name to list backups for",
|
|
5023
|
-
"name": "tenant_name",
|
|
5024
|
-
"required": true
|
|
5025
|
-
}
|
|
5026
|
-
},
|
|
5027
|
-
"description": "List backups for a tenant",
|
|
5028
|
-
"examples": [
|
|
5029
|
-
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5030
|
-
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5031
|
-
],
|
|
5032
|
-
"flags": {
|
|
5033
|
-
"profile": {
|
|
5034
|
-
"char": "p",
|
|
5035
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5036
|
-
"env": "XANO_PROFILE",
|
|
5037
|
-
"name": "profile",
|
|
5038
|
-
"required": false,
|
|
5039
|
-
"hasDynamicHelp": false,
|
|
5040
|
-
"multiple": false,
|
|
5041
|
-
"type": "option"
|
|
5042
|
-
},
|
|
5043
|
-
"verbose": {
|
|
5044
|
-
"char": "v",
|
|
5045
|
-
"description": "Show detailed request/response information",
|
|
5046
|
-
"env": "XANO_VERBOSE",
|
|
5047
|
-
"name": "verbose",
|
|
5048
|
-
"required": false,
|
|
5049
|
-
"allowNo": false,
|
|
5050
|
-
"type": "boolean"
|
|
5051
|
-
},
|
|
5052
|
-
"output": {
|
|
5053
|
-
"char": "o",
|
|
5054
|
-
"description": "Output format",
|
|
5055
|
-
"name": "output",
|
|
5056
|
-
"required": false,
|
|
5057
|
-
"default": "summary",
|
|
5058
|
-
"hasDynamicHelp": false,
|
|
5059
|
-
"multiple": false,
|
|
5060
|
-
"options": [
|
|
5061
|
-
"summary",
|
|
5062
|
-
"json"
|
|
5063
|
-
],
|
|
5064
|
-
"type": "option"
|
|
5065
|
-
},
|
|
5066
|
-
"page": {
|
|
5067
|
-
"description": "Page number for pagination",
|
|
5068
|
-
"name": "page",
|
|
5069
|
-
"required": false,
|
|
5070
|
-
"default": 1,
|
|
5071
|
-
"hasDynamicHelp": false,
|
|
5072
|
-
"multiple": false,
|
|
5073
|
-
"type": "option"
|
|
5074
|
-
},
|
|
5075
|
-
"workspace": {
|
|
5076
|
-
"char": "w",
|
|
5077
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5078
|
-
"name": "workspace",
|
|
5079
|
-
"required": false,
|
|
5080
|
-
"hasDynamicHelp": false,
|
|
5081
|
-
"multiple": false,
|
|
5082
|
-
"type": "option"
|
|
5083
|
-
}
|
|
5084
|
-
},
|
|
5085
|
-
"hasDynamicHelp": false,
|
|
5086
|
-
"hiddenAliases": [],
|
|
5087
|
-
"id": "tenant:backup:list",
|
|
5088
|
-
"pluginAlias": "@xano/cli",
|
|
5089
|
-
"pluginName": "@xano/cli",
|
|
5090
|
-
"pluginType": "core",
|
|
5091
|
-
"strict": true,
|
|
5092
|
-
"enableJsonFlag": false,
|
|
5093
|
-
"isESM": true,
|
|
5094
|
-
"relativePath": [
|
|
5095
|
-
"dist",
|
|
5096
|
-
"commands",
|
|
5097
|
-
"tenant",
|
|
5098
|
-
"backup",
|
|
5099
|
-
"list",
|
|
5100
|
-
"index.js"
|
|
5101
|
-
]
|
|
5102
|
-
},
|
|
5103
|
-
"tenant:backup:restore": {
|
|
5104
|
-
"aliases": [],
|
|
5105
|
-
"args": {
|
|
5106
|
-
"tenant_name": {
|
|
5107
|
-
"description": "Tenant name to restore",
|
|
5108
|
-
"name": "tenant_name",
|
|
5109
|
-
"required": true
|
|
5110
|
-
}
|
|
5111
|
-
},
|
|
5112
|
-
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5113
|
-
"examples": [
|
|
5114
|
-
"$ 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",
|
|
5115
|
-
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5116
|
-
],
|
|
5117
|
-
"flags": {
|
|
5118
|
-
"profile": {
|
|
5119
|
-
"char": "p",
|
|
5120
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5121
|
-
"env": "XANO_PROFILE",
|
|
5122
|
-
"name": "profile",
|
|
5123
|
-
"required": false,
|
|
5124
|
-
"hasDynamicHelp": false,
|
|
5125
|
-
"multiple": false,
|
|
5126
|
-
"type": "option"
|
|
5127
|
-
},
|
|
5128
|
-
"verbose": {
|
|
5129
|
-
"char": "v",
|
|
5130
|
-
"description": "Show detailed request/response information",
|
|
5131
|
-
"env": "XANO_VERBOSE",
|
|
5132
|
-
"name": "verbose",
|
|
5133
|
-
"required": false,
|
|
5134
|
-
"allowNo": false,
|
|
4992
|
+
"allowNo": true,
|
|
5135
4993
|
"type": "boolean"
|
|
5136
4994
|
},
|
|
5137
|
-
"
|
|
5138
|
-
"description": "
|
|
5139
|
-
"name": "
|
|
5140
|
-
"required": true,
|
|
5141
|
-
"hasDynamicHelp": false,
|
|
5142
|
-
"multiple": false,
|
|
5143
|
-
"type": "option"
|
|
5144
|
-
},
|
|
5145
|
-
"force": {
|
|
5146
|
-
"char": "f",
|
|
5147
|
-
"description": "Skip confirmation prompt",
|
|
5148
|
-
"name": "force",
|
|
4995
|
+
"truncate": {
|
|
4996
|
+
"description": "Truncate all table records before importing",
|
|
4997
|
+
"name": "truncate",
|
|
5149
4998
|
"required": false,
|
|
5150
4999
|
"allowNo": false,
|
|
5151
5000
|
"type": "boolean"
|
|
5152
5001
|
},
|
|
5153
|
-
"output": {
|
|
5154
|
-
"char": "o",
|
|
5155
|
-
"description": "Output format",
|
|
5156
|
-
"name": "output",
|
|
5157
|
-
"required": false,
|
|
5158
|
-
"default": "summary",
|
|
5159
|
-
"hasDynamicHelp": false,
|
|
5160
|
-
"multiple": false,
|
|
5161
|
-
"options": [
|
|
5162
|
-
"summary",
|
|
5163
|
-
"json"
|
|
5164
|
-
],
|
|
5165
|
-
"type": "option"
|
|
5166
|
-
},
|
|
5167
5002
|
"workspace": {
|
|
5168
5003
|
"char": "w",
|
|
5169
|
-
"description": "Workspace ID (
|
|
5004
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5170
5005
|
"name": "workspace",
|
|
5171
5006
|
"required": false,
|
|
5172
5007
|
"hasDynamicHelp": false,
|
|
@@ -5176,7 +5011,7 @@
|
|
|
5176
5011
|
},
|
|
5177
5012
|
"hasDynamicHelp": false,
|
|
5178
5013
|
"hiddenAliases": [],
|
|
5179
|
-
"id": "
|
|
5014
|
+
"id": "workspace:push",
|
|
5180
5015
|
"pluginAlias": "@xano/cli",
|
|
5181
5016
|
"pluginName": "@xano/cli",
|
|
5182
5017
|
"pluginType": "core",
|
|
@@ -5186,26 +5021,24 @@
|
|
|
5186
5021
|
"relativePath": [
|
|
5187
5022
|
"dist",
|
|
5188
5023
|
"commands",
|
|
5189
|
-
"
|
|
5190
|
-
"
|
|
5191
|
-
"restore",
|
|
5024
|
+
"workspace",
|
|
5025
|
+
"push",
|
|
5192
5026
|
"index.js"
|
|
5193
5027
|
]
|
|
5194
5028
|
},
|
|
5195
|
-
"
|
|
5029
|
+
"tenant:backup:create": {
|
|
5196
5030
|
"aliases": [],
|
|
5197
5031
|
"args": {
|
|
5198
|
-
"
|
|
5199
|
-
"description": "
|
|
5200
|
-
"name": "
|
|
5032
|
+
"tenant_name": {
|
|
5033
|
+
"description": "Tenant name to back up",
|
|
5034
|
+
"name": "tenant_name",
|
|
5201
5035
|
"required": true
|
|
5202
5036
|
}
|
|
5203
5037
|
},
|
|
5204
|
-
"description": "Create a
|
|
5038
|
+
"description": "Create a backup for a tenant",
|
|
5205
5039
|
"examples": [
|
|
5206
|
-
"$ xano
|
|
5207
|
-
"$ xano
|
|
5208
|
-
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
5040
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5041
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5209
5042
|
],
|
|
5210
5043
|
"flags": {
|
|
5211
5044
|
"profile": {
|
|
@@ -5229,27 +5062,10 @@
|
|
|
5229
5062
|
},
|
|
5230
5063
|
"description": {
|
|
5231
5064
|
"char": "d",
|
|
5232
|
-
"description": "
|
|
5065
|
+
"description": "Backup description",
|
|
5233
5066
|
"name": "description",
|
|
5234
5067
|
"required": false,
|
|
5235
|
-
"
|
|
5236
|
-
"multiple": false,
|
|
5237
|
-
"type": "option"
|
|
5238
|
-
},
|
|
5239
|
-
"file": {
|
|
5240
|
-
"char": "f",
|
|
5241
|
-
"description": "Path to zip file to upload",
|
|
5242
|
-
"name": "file",
|
|
5243
|
-
"required": true,
|
|
5244
|
-
"hasDynamicHelp": false,
|
|
5245
|
-
"multiple": false,
|
|
5246
|
-
"type": "option"
|
|
5247
|
-
},
|
|
5248
|
-
"name": {
|
|
5249
|
-
"char": "n",
|
|
5250
|
-
"description": "Build name",
|
|
5251
|
-
"name": "name",
|
|
5252
|
-
"required": true,
|
|
5068
|
+
"default": "",
|
|
5253
5069
|
"hasDynamicHelp": false,
|
|
5254
5070
|
"multiple": false,
|
|
5255
5071
|
"type": "option"
|
|
@@ -5270,7 +5086,7 @@
|
|
|
5270
5086
|
},
|
|
5271
5087
|
"workspace": {
|
|
5272
5088
|
"char": "w",
|
|
5273
|
-
"description": "Workspace ID (
|
|
5089
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5274
5090
|
"name": "workspace",
|
|
5275
5091
|
"required": false,
|
|
5276
5092
|
"hasDynamicHelp": false,
|
|
@@ -5280,7 +5096,7 @@
|
|
|
5280
5096
|
},
|
|
5281
5097
|
"hasDynamicHelp": false,
|
|
5282
5098
|
"hiddenAliases": [],
|
|
5283
|
-
"id": "
|
|
5099
|
+
"id": "tenant:backup:create",
|
|
5284
5100
|
"pluginAlias": "@xano/cli",
|
|
5285
5101
|
"pluginName": "@xano/cli",
|
|
5286
5102
|
"pluginType": "core",
|
|
@@ -5290,32 +5106,26 @@
|
|
|
5290
5106
|
"relativePath": [
|
|
5291
5107
|
"dist",
|
|
5292
5108
|
"commands",
|
|
5293
|
-
"
|
|
5294
|
-
"
|
|
5109
|
+
"tenant",
|
|
5110
|
+
"backup",
|
|
5295
5111
|
"create",
|
|
5296
5112
|
"index.js"
|
|
5297
5113
|
]
|
|
5298
5114
|
},
|
|
5299
|
-
"
|
|
5115
|
+
"tenant:backup:export": {
|
|
5300
5116
|
"aliases": [],
|
|
5301
5117
|
"args": {
|
|
5302
|
-
"
|
|
5303
|
-
"description": "
|
|
5304
|
-
"name": "
|
|
5305
|
-
"required": true
|
|
5306
|
-
},
|
|
5307
|
-
"static_host": {
|
|
5308
|
-
"description": "Static Host name",
|
|
5309
|
-
"name": "static_host",
|
|
5118
|
+
"tenant_name": {
|
|
5119
|
+
"description": "Tenant name to export backup from",
|
|
5120
|
+
"name": "tenant_name",
|
|
5310
5121
|
"required": true
|
|
5311
5122
|
}
|
|
5312
5123
|
},
|
|
5313
|
-
"description": "
|
|
5124
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5314
5125
|
"examples": [
|
|
5315
|
-
"$ xano
|
|
5316
|
-
"$ xano
|
|
5317
|
-
"$ xano
|
|
5318
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5126
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5127
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5128
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5319
5129
|
],
|
|
5320
5130
|
"flags": {
|
|
5321
5131
|
"profile": {
|
|
@@ -5337,10 +5147,18 @@
|
|
|
5337
5147
|
"allowNo": false,
|
|
5338
5148
|
"type": "boolean"
|
|
5339
5149
|
},
|
|
5340
|
-
"
|
|
5150
|
+
"backup_id": {
|
|
5151
|
+
"description": "Backup ID to export",
|
|
5152
|
+
"name": "backup_id",
|
|
5153
|
+
"required": true,
|
|
5154
|
+
"hasDynamicHelp": false,
|
|
5155
|
+
"multiple": false,
|
|
5156
|
+
"type": "option"
|
|
5157
|
+
},
|
|
5158
|
+
"format": {
|
|
5341
5159
|
"char": "o",
|
|
5342
5160
|
"description": "Output format",
|
|
5343
|
-
"name": "
|
|
5161
|
+
"name": "format",
|
|
5344
5162
|
"required": false,
|
|
5345
5163
|
"default": "summary",
|
|
5346
5164
|
"hasDynamicHelp": false,
|
|
@@ -5351,9 +5169,17 @@
|
|
|
5351
5169
|
],
|
|
5352
5170
|
"type": "option"
|
|
5353
5171
|
},
|
|
5172
|
+
"output": {
|
|
5173
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5174
|
+
"name": "output",
|
|
5175
|
+
"required": false,
|
|
5176
|
+
"hasDynamicHelp": false,
|
|
5177
|
+
"multiple": false,
|
|
5178
|
+
"type": "option"
|
|
5179
|
+
},
|
|
5354
5180
|
"workspace": {
|
|
5355
5181
|
"char": "w",
|
|
5356
|
-
"description": "Workspace ID (
|
|
5182
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5357
5183
|
"name": "workspace",
|
|
5358
5184
|
"required": false,
|
|
5359
5185
|
"hasDynamicHelp": false,
|
|
@@ -5363,7 +5189,7 @@
|
|
|
5363
5189
|
},
|
|
5364
5190
|
"hasDynamicHelp": false,
|
|
5365
5191
|
"hiddenAliases": [],
|
|
5366
|
-
"id": "
|
|
5192
|
+
"id": "tenant:backup:export",
|
|
5367
5193
|
"pluginAlias": "@xano/cli",
|
|
5368
5194
|
"pluginName": "@xano/cli",
|
|
5369
5195
|
"pluginType": "core",
|
|
@@ -5373,19 +5199,26 @@
|
|
|
5373
5199
|
"relativePath": [
|
|
5374
5200
|
"dist",
|
|
5375
5201
|
"commands",
|
|
5376
|
-
"
|
|
5377
|
-
"
|
|
5378
|
-
"
|
|
5202
|
+
"tenant",
|
|
5203
|
+
"backup",
|
|
5204
|
+
"export",
|
|
5379
5205
|
"index.js"
|
|
5380
5206
|
]
|
|
5381
5207
|
},
|
|
5382
|
-
"tenant:
|
|
5208
|
+
"tenant:backup:delete": {
|
|
5383
5209
|
"aliases": [],
|
|
5384
|
-
"args": {
|
|
5385
|
-
|
|
5210
|
+
"args": {
|
|
5211
|
+
"tenant_name": {
|
|
5212
|
+
"description": "Tenant name that owns the backup",
|
|
5213
|
+
"name": "tenant_name",
|
|
5214
|
+
"required": true
|
|
5215
|
+
}
|
|
5216
|
+
},
|
|
5217
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5386
5218
|
"examples": [
|
|
5387
|
-
"$ xano tenant
|
|
5388
|
-
"$ xano tenant
|
|
5219
|
+
"$ 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",
|
|
5220
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5221
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5389
5222
|
],
|
|
5390
5223
|
"flags": {
|
|
5391
5224
|
"profile": {
|
|
@@ -5407,53 +5240,21 @@
|
|
|
5407
5240
|
"allowNo": false,
|
|
5408
5241
|
"type": "boolean"
|
|
5409
5242
|
},
|
|
5410
|
-
"
|
|
5411
|
-
"description": "
|
|
5412
|
-
"
|
|
5413
|
-
|
|
5414
|
-
],
|
|
5415
|
-
"name": "credentials",
|
|
5416
|
-
"required": false,
|
|
5417
|
-
"hasDynamicHelp": false,
|
|
5418
|
-
"multiple": false,
|
|
5419
|
-
"type": "option"
|
|
5420
|
-
},
|
|
5421
|
-
"credentials_file": {
|
|
5422
|
-
"description": "Path to kubeconfig credentials file",
|
|
5423
|
-
"exclusive": [
|
|
5424
|
-
"credentials"
|
|
5425
|
-
],
|
|
5426
|
-
"name": "credentials_file",
|
|
5427
|
-
"required": false,
|
|
5428
|
-
"hasDynamicHelp": false,
|
|
5429
|
-
"multiple": false,
|
|
5430
|
-
"type": "option"
|
|
5431
|
-
},
|
|
5432
|
-
"description": {
|
|
5433
|
-
"char": "d",
|
|
5434
|
-
"description": "Cluster description",
|
|
5435
|
-
"name": "description",
|
|
5436
|
-
"required": false,
|
|
5243
|
+
"backup_id": {
|
|
5244
|
+
"description": "Backup ID to delete",
|
|
5245
|
+
"name": "backup_id",
|
|
5246
|
+
"required": true,
|
|
5437
5247
|
"hasDynamicHelp": false,
|
|
5438
5248
|
"multiple": false,
|
|
5439
5249
|
"type": "option"
|
|
5440
5250
|
},
|
|
5441
|
-
"
|
|
5442
|
-
"
|
|
5443
|
-
"
|
|
5251
|
+
"force": {
|
|
5252
|
+
"char": "f",
|
|
5253
|
+
"description": "Skip confirmation prompt",
|
|
5254
|
+
"name": "force",
|
|
5444
5255
|
"required": false,
|
|
5445
|
-
"
|
|
5446
|
-
"
|
|
5447
|
-
"type": "option"
|
|
5448
|
-
},
|
|
5449
|
-
"name": {
|
|
5450
|
-
"char": "n",
|
|
5451
|
-
"description": "Cluster name",
|
|
5452
|
-
"name": "name",
|
|
5453
|
-
"required": true,
|
|
5454
|
-
"hasDynamicHelp": false,
|
|
5455
|
-
"multiple": false,
|
|
5456
|
-
"type": "option"
|
|
5256
|
+
"allowNo": false,
|
|
5257
|
+
"type": "boolean"
|
|
5457
5258
|
},
|
|
5458
5259
|
"output": {
|
|
5459
5260
|
"char": "o",
|
|
@@ -5469,23 +5270,19 @@
|
|
|
5469
5270
|
],
|
|
5470
5271
|
"type": "option"
|
|
5471
5272
|
},
|
|
5472
|
-
"
|
|
5473
|
-
"
|
|
5474
|
-
"
|
|
5273
|
+
"workspace": {
|
|
5274
|
+
"char": "w",
|
|
5275
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5276
|
+
"name": "workspace",
|
|
5475
5277
|
"required": false,
|
|
5476
|
-
"default": "standard",
|
|
5477
5278
|
"hasDynamicHelp": false,
|
|
5478
5279
|
"multiple": false,
|
|
5479
|
-
"options": [
|
|
5480
|
-
"standard",
|
|
5481
|
-
"run"
|
|
5482
|
-
],
|
|
5483
5280
|
"type": "option"
|
|
5484
5281
|
}
|
|
5485
5282
|
},
|
|
5486
5283
|
"hasDynamicHelp": false,
|
|
5487
5284
|
"hiddenAliases": [],
|
|
5488
|
-
"id": "tenant:
|
|
5285
|
+
"id": "tenant:backup:delete",
|
|
5489
5286
|
"pluginAlias": "@xano/cli",
|
|
5490
5287
|
"pluginName": "@xano/cli",
|
|
5491
5288
|
"pluginType": "core",
|
|
@@ -5496,26 +5293,24 @@
|
|
|
5496
5293
|
"dist",
|
|
5497
5294
|
"commands",
|
|
5498
5295
|
"tenant",
|
|
5499
|
-
"
|
|
5500
|
-
"
|
|
5296
|
+
"backup",
|
|
5297
|
+
"delete",
|
|
5501
5298
|
"index.js"
|
|
5502
5299
|
]
|
|
5503
5300
|
},
|
|
5504
|
-
"
|
|
5301
|
+
"tenant:backup:list": {
|
|
5505
5302
|
"aliases": [],
|
|
5506
5303
|
"args": {
|
|
5507
|
-
"
|
|
5508
|
-
"description": "
|
|
5509
|
-
"name": "
|
|
5304
|
+
"tenant_name": {
|
|
5305
|
+
"description": "Tenant name to list backups for",
|
|
5306
|
+
"name": "tenant_name",
|
|
5510
5307
|
"required": true
|
|
5511
5308
|
}
|
|
5512
5309
|
},
|
|
5513
|
-
"description": "List
|
|
5310
|
+
"description": "List backups for a tenant",
|
|
5514
5311
|
"examples": [
|
|
5515
|
-
"$ xano
|
|
5516
|
-
"$ xano
|
|
5517
|
-
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
5518
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
5312
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5313
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5519
5314
|
],
|
|
5520
5315
|
"flags": {
|
|
5521
5316
|
"profile": {
|
|
@@ -5560,18 +5355,9 @@
|
|
|
5560
5355
|
"multiple": false,
|
|
5561
5356
|
"type": "option"
|
|
5562
5357
|
},
|
|
5563
|
-
"per_page": {
|
|
5564
|
-
"description": "Number of results per page",
|
|
5565
|
-
"name": "per_page",
|
|
5566
|
-
"required": false,
|
|
5567
|
-
"default": 50,
|
|
5568
|
-
"hasDynamicHelp": false,
|
|
5569
|
-
"multiple": false,
|
|
5570
|
-
"type": "option"
|
|
5571
|
-
},
|
|
5572
5358
|
"workspace": {
|
|
5573
5359
|
"char": "w",
|
|
5574
|
-
"description": "Workspace ID (
|
|
5360
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5575
5361
|
"name": "workspace",
|
|
5576
5362
|
"required": false,
|
|
5577
5363
|
"hasDynamicHelp": false,
|
|
@@ -5581,7 +5367,7 @@
|
|
|
5581
5367
|
},
|
|
5582
5368
|
"hasDynamicHelp": false,
|
|
5583
5369
|
"hiddenAliases": [],
|
|
5584
|
-
"id": "
|
|
5370
|
+
"id": "tenant:backup:list",
|
|
5585
5371
|
"pluginAlias": "@xano/cli",
|
|
5586
5372
|
"pluginName": "@xano/cli",
|
|
5587
5373
|
"pluginType": "core",
|
|
@@ -5591,8 +5377,8 @@
|
|
|
5591
5377
|
"relativePath": [
|
|
5592
5378
|
"dist",
|
|
5593
5379
|
"commands",
|
|
5594
|
-
"
|
|
5595
|
-
"
|
|
5380
|
+
"tenant",
|
|
5381
|
+
"backup",
|
|
5596
5382
|
"list",
|
|
5597
5383
|
"index.js"
|
|
5598
5384
|
]
|
|
@@ -5692,19 +5478,13 @@
|
|
|
5692
5478
|
"index.js"
|
|
5693
5479
|
]
|
|
5694
5480
|
},
|
|
5695
|
-
"tenant:cluster:
|
|
5481
|
+
"tenant:cluster:create": {
|
|
5696
5482
|
"aliases": [],
|
|
5697
|
-
"args": {
|
|
5698
|
-
|
|
5699
|
-
"description": "Cluster ID to edit",
|
|
5700
|
-
"name": "cluster_id",
|
|
5701
|
-
"required": true
|
|
5702
|
-
}
|
|
5703
|
-
},
|
|
5704
|
-
"description": "Update an existing tenant cluster",
|
|
5483
|
+
"args": {},
|
|
5484
|
+
"description": "Create a new tenant cluster",
|
|
5705
5485
|
"examples": [
|
|
5706
|
-
"$ xano tenant cluster
|
|
5707
|
-
"$ xano tenant cluster
|
|
5486
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5487
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5708
5488
|
],
|
|
5709
5489
|
"flags": {
|
|
5710
5490
|
"profile": {
|
|
@@ -5726,11 +5506,33 @@
|
|
|
5726
5506
|
"allowNo": false,
|
|
5727
5507
|
"type": "boolean"
|
|
5728
5508
|
},
|
|
5509
|
+
"credentials": {
|
|
5510
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5511
|
+
"exclusive": [
|
|
5512
|
+
"credentials_file"
|
|
5513
|
+
],
|
|
5514
|
+
"name": "credentials",
|
|
5515
|
+
"required": false,
|
|
5516
|
+
"hasDynamicHelp": false,
|
|
5517
|
+
"multiple": false,
|
|
5518
|
+
"type": "option"
|
|
5519
|
+
},
|
|
5520
|
+
"credentials_file": {
|
|
5521
|
+
"description": "Path to kubeconfig credentials file",
|
|
5522
|
+
"exclusive": [
|
|
5523
|
+
"credentials"
|
|
5524
|
+
],
|
|
5525
|
+
"name": "credentials_file",
|
|
5526
|
+
"required": false,
|
|
5527
|
+
"hasDynamicHelp": false,
|
|
5528
|
+
"multiple": false,
|
|
5529
|
+
"type": "option"
|
|
5530
|
+
},
|
|
5729
5531
|
"description": {
|
|
5730
5532
|
"char": "d",
|
|
5731
5533
|
"description": "Cluster description",
|
|
5732
5534
|
"name": "description",
|
|
5733
|
-
"required":
|
|
5535
|
+
"required": false,
|
|
5734
5536
|
"hasDynamicHelp": false,
|
|
5735
5537
|
"multiple": false,
|
|
5736
5538
|
"type": "option"
|
|
@@ -5738,7 +5540,7 @@
|
|
|
5738
5540
|
"domain": {
|
|
5739
5541
|
"description": "Custom domain for the cluster",
|
|
5740
5542
|
"name": "domain",
|
|
5741
|
-
"required":
|
|
5543
|
+
"required": false,
|
|
5742
5544
|
"hasDynamicHelp": false,
|
|
5743
5545
|
"multiple": false,
|
|
5744
5546
|
"type": "option"
|
|
@@ -5769,7 +5571,8 @@
|
|
|
5769
5571
|
"type": {
|
|
5770
5572
|
"description": "Cluster type",
|
|
5771
5573
|
"name": "type",
|
|
5772
|
-
"required":
|
|
5574
|
+
"required": false,
|
|
5575
|
+
"default": "standard",
|
|
5773
5576
|
"hasDynamicHelp": false,
|
|
5774
5577
|
"multiple": false,
|
|
5775
5578
|
"options": [
|
|
@@ -5781,7 +5584,7 @@
|
|
|
5781
5584
|
},
|
|
5782
5585
|
"hasDynamicHelp": false,
|
|
5783
5586
|
"hiddenAliases": [],
|
|
5784
|
-
"id": "tenant:cluster:
|
|
5587
|
+
"id": "tenant:cluster:create",
|
|
5785
5588
|
"pluginAlias": "@xano/cli",
|
|
5786
5589
|
"pluginName": "@xano/cli",
|
|
5787
5590
|
"pluginType": "core",
|
|
@@ -5793,23 +5596,23 @@
|
|
|
5793
5596
|
"commands",
|
|
5794
5597
|
"tenant",
|
|
5795
5598
|
"cluster",
|
|
5796
|
-
"
|
|
5599
|
+
"create",
|
|
5797
5600
|
"index.js"
|
|
5798
5601
|
]
|
|
5799
5602
|
},
|
|
5800
|
-
"tenant:
|
|
5603
|
+
"tenant:backup:restore": {
|
|
5801
5604
|
"aliases": [],
|
|
5802
5605
|
"args": {
|
|
5803
|
-
"
|
|
5804
|
-
"description": "
|
|
5805
|
-
"name": "
|
|
5606
|
+
"tenant_name": {
|
|
5607
|
+
"description": "Tenant name to restore",
|
|
5608
|
+
"name": "tenant_name",
|
|
5806
5609
|
"required": true
|
|
5807
5610
|
}
|
|
5808
5611
|
},
|
|
5809
|
-
"description": "
|
|
5612
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5810
5613
|
"examples": [
|
|
5811
|
-
"$ xano tenant
|
|
5812
|
-
"$ xano tenant
|
|
5614
|
+
"$ 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",
|
|
5615
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5813
5616
|
],
|
|
5814
5617
|
"flags": {
|
|
5815
5618
|
"profile": {
|
|
@@ -5831,6 +5634,22 @@
|
|
|
5831
5634
|
"allowNo": false,
|
|
5832
5635
|
"type": "boolean"
|
|
5833
5636
|
},
|
|
5637
|
+
"backup_id": {
|
|
5638
|
+
"description": "Backup ID to restore from",
|
|
5639
|
+
"name": "backup_id",
|
|
5640
|
+
"required": true,
|
|
5641
|
+
"hasDynamicHelp": false,
|
|
5642
|
+
"multiple": false,
|
|
5643
|
+
"type": "option"
|
|
5644
|
+
},
|
|
5645
|
+
"force": {
|
|
5646
|
+
"char": "f",
|
|
5647
|
+
"description": "Skip confirmation prompt",
|
|
5648
|
+
"name": "force",
|
|
5649
|
+
"required": false,
|
|
5650
|
+
"allowNo": false,
|
|
5651
|
+
"type": "boolean"
|
|
5652
|
+
},
|
|
5834
5653
|
"output": {
|
|
5835
5654
|
"char": "o",
|
|
5836
5655
|
"description": "Output format",
|
|
@@ -5844,11 +5663,20 @@
|
|
|
5844
5663
|
"json"
|
|
5845
5664
|
],
|
|
5846
5665
|
"type": "option"
|
|
5666
|
+
},
|
|
5667
|
+
"workspace": {
|
|
5668
|
+
"char": "w",
|
|
5669
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5670
|
+
"name": "workspace",
|
|
5671
|
+
"required": false,
|
|
5672
|
+
"hasDynamicHelp": false,
|
|
5673
|
+
"multiple": false,
|
|
5674
|
+
"type": "option"
|
|
5847
5675
|
}
|
|
5848
5676
|
},
|
|
5849
5677
|
"hasDynamicHelp": false,
|
|
5850
5678
|
"hiddenAliases": [],
|
|
5851
|
-
"id": "tenant:
|
|
5679
|
+
"id": "tenant:backup:restore",
|
|
5852
5680
|
"pluginAlias": "@xano/cli",
|
|
5853
5681
|
"pluginName": "@xano/cli",
|
|
5854
5682
|
"pluginType": "core",
|
|
@@ -5859,8 +5687,8 @@
|
|
|
5859
5687
|
"dist",
|
|
5860
5688
|
"commands",
|
|
5861
5689
|
"tenant",
|
|
5862
|
-
"
|
|
5863
|
-
"
|
|
5690
|
+
"backup",
|
|
5691
|
+
"restore",
|
|
5864
5692
|
"index.js"
|
|
5865
5693
|
]
|
|
5866
5694
|
},
|
|
@@ -5940,20 +5768,19 @@
|
|
|
5940
5768
|
"index.js"
|
|
5941
5769
|
]
|
|
5942
5770
|
},
|
|
5943
|
-
"tenant:
|
|
5771
|
+
"tenant:cluster:edit": {
|
|
5944
5772
|
"aliases": [],
|
|
5945
5773
|
"args": {
|
|
5946
|
-
"
|
|
5947
|
-
"description": "
|
|
5948
|
-
"name": "
|
|
5774
|
+
"cluster_id": {
|
|
5775
|
+
"description": "Cluster ID to edit",
|
|
5776
|
+
"name": "cluster_id",
|
|
5949
5777
|
"required": true
|
|
5950
5778
|
}
|
|
5951
5779
|
},
|
|
5952
|
-
"description": "
|
|
5780
|
+
"description": "Update an existing tenant cluster",
|
|
5953
5781
|
"examples": [
|
|
5954
|
-
"$ xano tenant
|
|
5955
|
-
"$ xano tenant
|
|
5956
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
5782
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5783
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5957
5784
|
],
|
|
5958
5785
|
"flags": {
|
|
5959
5786
|
"profile": {
|
|
@@ -5975,17 +5802,26 @@
|
|
|
5975
5802
|
"allowNo": false,
|
|
5976
5803
|
"type": "boolean"
|
|
5977
5804
|
},
|
|
5978
|
-
"
|
|
5979
|
-
"char": "
|
|
5980
|
-
"description": "
|
|
5981
|
-
"name": "
|
|
5982
|
-
"required":
|
|
5983
|
-
"
|
|
5984
|
-
"
|
|
5805
|
+
"description": {
|
|
5806
|
+
"char": "d",
|
|
5807
|
+
"description": "Cluster description",
|
|
5808
|
+
"name": "description",
|
|
5809
|
+
"required": true,
|
|
5810
|
+
"hasDynamicHelp": false,
|
|
5811
|
+
"multiple": false,
|
|
5812
|
+
"type": "option"
|
|
5813
|
+
},
|
|
5814
|
+
"domain": {
|
|
5815
|
+
"description": "Custom domain for the cluster",
|
|
5816
|
+
"name": "domain",
|
|
5817
|
+
"required": true,
|
|
5818
|
+
"hasDynamicHelp": false,
|
|
5819
|
+
"multiple": false,
|
|
5820
|
+
"type": "option"
|
|
5985
5821
|
},
|
|
5986
5822
|
"name": {
|
|
5987
5823
|
"char": "n",
|
|
5988
|
-
"description": "
|
|
5824
|
+
"description": "Cluster name",
|
|
5989
5825
|
"name": "name",
|
|
5990
5826
|
"required": true,
|
|
5991
5827
|
"hasDynamicHelp": false,
|
|
@@ -6006,19 +5842,89 @@
|
|
|
6006
5842
|
],
|
|
6007
5843
|
"type": "option"
|
|
6008
5844
|
},
|
|
6009
|
-
"
|
|
6010
|
-
"
|
|
6011
|
-
"
|
|
6012
|
-
"
|
|
5845
|
+
"type": {
|
|
5846
|
+
"description": "Cluster type",
|
|
5847
|
+
"name": "type",
|
|
5848
|
+
"required": true,
|
|
5849
|
+
"hasDynamicHelp": false,
|
|
5850
|
+
"multiple": false,
|
|
5851
|
+
"options": [
|
|
5852
|
+
"standard",
|
|
5853
|
+
"run"
|
|
5854
|
+
],
|
|
5855
|
+
"type": "option"
|
|
5856
|
+
}
|
|
5857
|
+
},
|
|
5858
|
+
"hasDynamicHelp": false,
|
|
5859
|
+
"hiddenAliases": [],
|
|
5860
|
+
"id": "tenant:cluster:edit",
|
|
5861
|
+
"pluginAlias": "@xano/cli",
|
|
5862
|
+
"pluginName": "@xano/cli",
|
|
5863
|
+
"pluginType": "core",
|
|
5864
|
+
"strict": true,
|
|
5865
|
+
"enableJsonFlag": false,
|
|
5866
|
+
"isESM": true,
|
|
5867
|
+
"relativePath": [
|
|
5868
|
+
"dist",
|
|
5869
|
+
"commands",
|
|
5870
|
+
"tenant",
|
|
5871
|
+
"cluster",
|
|
5872
|
+
"edit",
|
|
5873
|
+
"index.js"
|
|
5874
|
+
]
|
|
5875
|
+
},
|
|
5876
|
+
"tenant:cluster:get": {
|
|
5877
|
+
"aliases": [],
|
|
5878
|
+
"args": {
|
|
5879
|
+
"cluster_id": {
|
|
5880
|
+
"description": "Cluster ID to retrieve",
|
|
5881
|
+
"name": "cluster_id",
|
|
5882
|
+
"required": true
|
|
5883
|
+
}
|
|
5884
|
+
},
|
|
5885
|
+
"description": "Get details of a specific tenant cluster",
|
|
5886
|
+
"examples": [
|
|
5887
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5888
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5889
|
+
],
|
|
5890
|
+
"flags": {
|
|
5891
|
+
"profile": {
|
|
5892
|
+
"char": "p",
|
|
5893
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5894
|
+
"env": "XANO_PROFILE",
|
|
5895
|
+
"name": "profile",
|
|
5896
|
+
"required": false,
|
|
5897
|
+
"hasDynamicHelp": false,
|
|
5898
|
+
"multiple": false,
|
|
5899
|
+
"type": "option"
|
|
5900
|
+
},
|
|
5901
|
+
"verbose": {
|
|
5902
|
+
"char": "v",
|
|
5903
|
+
"description": "Show detailed request/response information",
|
|
5904
|
+
"env": "XANO_VERBOSE",
|
|
5905
|
+
"name": "verbose",
|
|
5906
|
+
"required": false,
|
|
5907
|
+
"allowNo": false,
|
|
5908
|
+
"type": "boolean"
|
|
5909
|
+
},
|
|
5910
|
+
"output": {
|
|
5911
|
+
"char": "o",
|
|
5912
|
+
"description": "Output format",
|
|
5913
|
+
"name": "output",
|
|
6013
5914
|
"required": false,
|
|
5915
|
+
"default": "summary",
|
|
6014
5916
|
"hasDynamicHelp": false,
|
|
6015
5917
|
"multiple": false,
|
|
5918
|
+
"options": [
|
|
5919
|
+
"summary",
|
|
5920
|
+
"json"
|
|
5921
|
+
],
|
|
6016
5922
|
"type": "option"
|
|
6017
5923
|
}
|
|
6018
5924
|
},
|
|
6019
5925
|
"hasDynamicHelp": false,
|
|
6020
5926
|
"hiddenAliases": [],
|
|
6021
|
-
"id": "tenant:
|
|
5927
|
+
"id": "tenant:cluster:get",
|
|
6022
5928
|
"pluginAlias": "@xano/cli",
|
|
6023
5929
|
"pluginName": "@xano/cli",
|
|
6024
5930
|
"pluginType": "core",
|
|
@@ -6029,8 +5935,8 @@
|
|
|
6029
5935
|
"dist",
|
|
6030
5936
|
"commands",
|
|
6031
5937
|
"tenant",
|
|
6032
|
-
"
|
|
6033
|
-
"
|
|
5938
|
+
"cluster",
|
|
5939
|
+
"get",
|
|
6034
5940
|
"index.js"
|
|
6035
5941
|
]
|
|
6036
5942
|
},
|
|
@@ -6095,7 +6001,7 @@
|
|
|
6095
6001
|
"index.js"
|
|
6096
6002
|
]
|
|
6097
6003
|
},
|
|
6098
|
-
"tenant:env:
|
|
6004
|
+
"tenant:env:delete": {
|
|
6099
6005
|
"aliases": [],
|
|
6100
6006
|
"args": {
|
|
6101
6007
|
"tenant_name": {
|
|
@@ -6104,10 +6010,11 @@
|
|
|
6104
6010
|
"required": true
|
|
6105
6011
|
}
|
|
6106
6012
|
},
|
|
6107
|
-
"description": "
|
|
6013
|
+
"description": "Delete an environment variable from a tenant",
|
|
6108
6014
|
"examples": [
|
|
6109
|
-
"$ xano tenant env
|
|
6110
|
-
"$ xano tenant env
|
|
6015
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6016
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6017
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6111
6018
|
],
|
|
6112
6019
|
"flags": {
|
|
6113
6020
|
"profile": {
|
|
@@ -6129,6 +6036,14 @@
|
|
|
6129
6036
|
"allowNo": false,
|
|
6130
6037
|
"type": "boolean"
|
|
6131
6038
|
},
|
|
6039
|
+
"force": {
|
|
6040
|
+
"char": "f",
|
|
6041
|
+
"description": "Skip confirmation prompt",
|
|
6042
|
+
"name": "force",
|
|
6043
|
+
"required": false,
|
|
6044
|
+
"allowNo": false,
|
|
6045
|
+
"type": "boolean"
|
|
6046
|
+
},
|
|
6132
6047
|
"name": {
|
|
6133
6048
|
"char": "n",
|
|
6134
6049
|
"description": "Environment variable name",
|
|
@@ -6152,14 +6067,6 @@
|
|
|
6152
6067
|
],
|
|
6153
6068
|
"type": "option"
|
|
6154
6069
|
},
|
|
6155
|
-
"value": {
|
|
6156
|
-
"description": "Environment variable value",
|
|
6157
|
-
"name": "value",
|
|
6158
|
-
"required": true,
|
|
6159
|
-
"hasDynamicHelp": false,
|
|
6160
|
-
"multiple": false,
|
|
6161
|
-
"type": "option"
|
|
6162
|
-
},
|
|
6163
6070
|
"workspace": {
|
|
6164
6071
|
"char": "w",
|
|
6165
6072
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6172,7 +6079,7 @@
|
|
|
6172
6079
|
},
|
|
6173
6080
|
"hasDynamicHelp": false,
|
|
6174
6081
|
"hiddenAliases": [],
|
|
6175
|
-
"id": "tenant:env:
|
|
6082
|
+
"id": "tenant:env:delete",
|
|
6176
6083
|
"pluginAlias": "@xano/cli",
|
|
6177
6084
|
"pluginName": "@xano/cli",
|
|
6178
6085
|
"pluginType": "core",
|
|
@@ -6184,11 +6091,11 @@
|
|
|
6184
6091
|
"commands",
|
|
6185
6092
|
"tenant",
|
|
6186
6093
|
"env",
|
|
6187
|
-
"
|
|
6094
|
+
"delete",
|
|
6188
6095
|
"index.js"
|
|
6189
6096
|
]
|
|
6190
6097
|
},
|
|
6191
|
-
"tenant:env:
|
|
6098
|
+
"tenant:env:get": {
|
|
6192
6099
|
"aliases": [],
|
|
6193
6100
|
"args": {
|
|
6194
6101
|
"tenant_name": {
|
|
@@ -6197,10 +6104,10 @@
|
|
|
6197
6104
|
"required": true
|
|
6198
6105
|
}
|
|
6199
6106
|
},
|
|
6200
|
-
"description": "
|
|
6107
|
+
"description": "Get a single environment variable for a tenant",
|
|
6201
6108
|
"examples": [
|
|
6202
|
-
"$ xano tenant env
|
|
6203
|
-
"$ xano tenant env
|
|
6109
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6110
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6204
6111
|
],
|
|
6205
6112
|
"flags": {
|
|
6206
6113
|
"profile": {
|
|
@@ -6222,6 +6129,15 @@
|
|
|
6222
6129
|
"allowNo": false,
|
|
6223
6130
|
"type": "boolean"
|
|
6224
6131
|
},
|
|
6132
|
+
"name": {
|
|
6133
|
+
"char": "n",
|
|
6134
|
+
"description": "Environment variable name",
|
|
6135
|
+
"name": "name",
|
|
6136
|
+
"required": true,
|
|
6137
|
+
"hasDynamicHelp": false,
|
|
6138
|
+
"multiple": false,
|
|
6139
|
+
"type": "option"
|
|
6140
|
+
},
|
|
6225
6141
|
"output": {
|
|
6226
6142
|
"char": "o",
|
|
6227
6143
|
"description": "Output format",
|
|
@@ -6248,7 +6164,7 @@
|
|
|
6248
6164
|
},
|
|
6249
6165
|
"hasDynamicHelp": false,
|
|
6250
6166
|
"hiddenAliases": [],
|
|
6251
|
-
"id": "tenant:env:
|
|
6167
|
+
"id": "tenant:env:get",
|
|
6252
6168
|
"pluginAlias": "@xano/cli",
|
|
6253
6169
|
"pluginName": "@xano/cli",
|
|
6254
6170
|
"pluginType": "core",
|
|
@@ -6260,7 +6176,7 @@
|
|
|
6260
6176
|
"commands",
|
|
6261
6177
|
"tenant",
|
|
6262
6178
|
"env",
|
|
6263
|
-
"
|
|
6179
|
+
"get",
|
|
6264
6180
|
"index.js"
|
|
6265
6181
|
]
|
|
6266
6182
|
},
|
|
@@ -6358,7 +6274,7 @@
|
|
|
6358
6274
|
"index.js"
|
|
6359
6275
|
]
|
|
6360
6276
|
},
|
|
6361
|
-
"tenant:env:
|
|
6277
|
+
"tenant:env:set": {
|
|
6362
6278
|
"aliases": [],
|
|
6363
6279
|
"args": {
|
|
6364
6280
|
"tenant_name": {
|
|
@@ -6367,10 +6283,10 @@
|
|
|
6367
6283
|
"required": true
|
|
6368
6284
|
}
|
|
6369
6285
|
},
|
|
6370
|
-
"description": "
|
|
6286
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6371
6287
|
"examples": [
|
|
6372
|
-
"$ xano tenant env
|
|
6373
|
-
"$ xano tenant env
|
|
6288
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6289
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6374
6290
|
],
|
|
6375
6291
|
"flags": {
|
|
6376
6292
|
"profile": {
|
|
@@ -6415,6 +6331,14 @@
|
|
|
6415
6331
|
],
|
|
6416
6332
|
"type": "option"
|
|
6417
6333
|
},
|
|
6334
|
+
"value": {
|
|
6335
|
+
"description": "Environment variable value",
|
|
6336
|
+
"name": "value",
|
|
6337
|
+
"required": true,
|
|
6338
|
+
"hasDynamicHelp": false,
|
|
6339
|
+
"multiple": false,
|
|
6340
|
+
"type": "option"
|
|
6341
|
+
},
|
|
6418
6342
|
"workspace": {
|
|
6419
6343
|
"char": "w",
|
|
6420
6344
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6427,7 +6351,7 @@
|
|
|
6427
6351
|
},
|
|
6428
6352
|
"hasDynamicHelp": false,
|
|
6429
6353
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:env:
|
|
6354
|
+
"id": "tenant:env:set",
|
|
6431
6355
|
"pluginAlias": "@xano/cli",
|
|
6432
6356
|
"pluginName": "@xano/cli",
|
|
6433
6357
|
"pluginType": "core",
|
|
@@ -6439,11 +6363,11 @@
|
|
|
6439
6363
|
"commands",
|
|
6440
6364
|
"tenant",
|
|
6441
6365
|
"env",
|
|
6442
|
-
"
|
|
6366
|
+
"set",
|
|
6443
6367
|
"index.js"
|
|
6444
6368
|
]
|
|
6445
6369
|
},
|
|
6446
|
-
"tenant:env:
|
|
6370
|
+
"tenant:env:list": {
|
|
6447
6371
|
"aliases": [],
|
|
6448
6372
|
"args": {
|
|
6449
6373
|
"tenant_name": {
|
|
@@ -6452,11 +6376,10 @@
|
|
|
6452
6376
|
"required": true
|
|
6453
6377
|
}
|
|
6454
6378
|
},
|
|
6455
|
-
"description": "
|
|
6379
|
+
"description": "List environment variable keys for a tenant",
|
|
6456
6380
|
"examples": [
|
|
6457
|
-
"$ xano tenant env
|
|
6458
|
-
"$ xano tenant env
|
|
6459
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6381
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6382
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6460
6383
|
],
|
|
6461
6384
|
"flags": {
|
|
6462
6385
|
"profile": {
|
|
@@ -6478,22 +6401,6 @@
|
|
|
6478
6401
|
"allowNo": false,
|
|
6479
6402
|
"type": "boolean"
|
|
6480
6403
|
},
|
|
6481
|
-
"clean": {
|
|
6482
|
-
"description": "Remove the source file after successful upload",
|
|
6483
|
-
"name": "clean",
|
|
6484
|
-
"required": false,
|
|
6485
|
-
"allowNo": false,
|
|
6486
|
-
"type": "boolean"
|
|
6487
|
-
},
|
|
6488
|
-
"file": {
|
|
6489
|
-
"char": "f",
|
|
6490
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6491
|
-
"name": "file",
|
|
6492
|
-
"required": false,
|
|
6493
|
-
"hasDynamicHelp": false,
|
|
6494
|
-
"multiple": false,
|
|
6495
|
-
"type": "option"
|
|
6496
|
-
},
|
|
6497
6404
|
"output": {
|
|
6498
6405
|
"char": "o",
|
|
6499
6406
|
"description": "Output format",
|
|
@@ -6520,7 +6427,7 @@
|
|
|
6520
6427
|
},
|
|
6521
6428
|
"hasDynamicHelp": false,
|
|
6522
6429
|
"hiddenAliases": [],
|
|
6523
|
-
"id": "tenant:env:
|
|
6430
|
+
"id": "tenant:env:list",
|
|
6524
6431
|
"pluginAlias": "@xano/cli",
|
|
6525
6432
|
"pluginName": "@xano/cli",
|
|
6526
6433
|
"pluginType": "core",
|
|
@@ -6532,7 +6439,7 @@
|
|
|
6532
6439
|
"commands",
|
|
6533
6440
|
"tenant",
|
|
6534
6441
|
"env",
|
|
6535
|
-
"
|
|
6442
|
+
"list",
|
|
6536
6443
|
"index.js"
|
|
6537
6444
|
]
|
|
6538
6445
|
},
|
|
@@ -6742,21 +6649,20 @@
|
|
|
6742
6649
|
"index.js"
|
|
6743
6650
|
]
|
|
6744
6651
|
},
|
|
6745
|
-
"tenant:
|
|
6652
|
+
"tenant:env:set_all": {
|
|
6746
6653
|
"aliases": [],
|
|
6747
6654
|
"args": {
|
|
6748
|
-
"
|
|
6749
|
-
"description": "Tenant
|
|
6750
|
-
"name": "
|
|
6655
|
+
"tenant_name": {
|
|
6656
|
+
"description": "Tenant name",
|
|
6657
|
+
"name": "tenant_name",
|
|
6751
6658
|
"required": true
|
|
6752
6659
|
}
|
|
6753
6660
|
},
|
|
6754
|
-
"description": "
|
|
6661
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6755
6662
|
"examples": [
|
|
6756
|
-
"$ xano tenant
|
|
6757
|
-
"$ xano tenant
|
|
6758
|
-
"$ xano tenant
|
|
6759
|
-
"$ xano tenant cluster license get 1 -o json"
|
|
6663
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6664
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6665
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6760
6666
|
],
|
|
6761
6667
|
"flags": {
|
|
6762
6668
|
"profile": {
|
|
@@ -6778,9 +6684,16 @@
|
|
|
6778
6684
|
"allowNo": false,
|
|
6779
6685
|
"type": "boolean"
|
|
6780
6686
|
},
|
|
6687
|
+
"clean": {
|
|
6688
|
+
"description": "Remove the source file after successful upload",
|
|
6689
|
+
"name": "clean",
|
|
6690
|
+
"required": false,
|
|
6691
|
+
"allowNo": false,
|
|
6692
|
+
"type": "boolean"
|
|
6693
|
+
},
|
|
6781
6694
|
"file": {
|
|
6782
6695
|
"char": "f",
|
|
6783
|
-
"description": "
|
|
6696
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6784
6697
|
"name": "file",
|
|
6785
6698
|
"required": false,
|
|
6786
6699
|
"hasDynamicHelp": false,
|
|
@@ -6801,17 +6714,19 @@
|
|
|
6801
6714
|
],
|
|
6802
6715
|
"type": "option"
|
|
6803
6716
|
},
|
|
6804
|
-
"
|
|
6805
|
-
"
|
|
6806
|
-
"
|
|
6717
|
+
"workspace": {
|
|
6718
|
+
"char": "w",
|
|
6719
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6720
|
+
"name": "workspace",
|
|
6807
6721
|
"required": false,
|
|
6808
|
-
"
|
|
6809
|
-
"
|
|
6722
|
+
"hasDynamicHelp": false,
|
|
6723
|
+
"multiple": false,
|
|
6724
|
+
"type": "option"
|
|
6810
6725
|
}
|
|
6811
6726
|
},
|
|
6812
6727
|
"hasDynamicHelp": false,
|
|
6813
6728
|
"hiddenAliases": [],
|
|
6814
|
-
"id": "tenant:
|
|
6729
|
+
"id": "tenant:env:set_all",
|
|
6815
6730
|
"pluginAlias": "@xano/cli",
|
|
6816
6731
|
"pluginName": "@xano/cli",
|
|
6817
6732
|
"pluginType": "core",
|
|
@@ -6822,13 +6737,12 @@
|
|
|
6822
6737
|
"dist",
|
|
6823
6738
|
"commands",
|
|
6824
6739
|
"tenant",
|
|
6825
|
-
"
|
|
6826
|
-
"
|
|
6827
|
-
"get",
|
|
6740
|
+
"env",
|
|
6741
|
+
"set_all",
|
|
6828
6742
|
"index.js"
|
|
6829
6743
|
]
|
|
6830
6744
|
},
|
|
6831
|
-
"tenant:cluster:license:
|
|
6745
|
+
"tenant:cluster:license:get": {
|
|
6832
6746
|
"aliases": [],
|
|
6833
6747
|
"args": {
|
|
6834
6748
|
"cluster_id": {
|
|
@@ -6837,12 +6751,12 @@
|
|
|
6837
6751
|
"required": true
|
|
6838
6752
|
}
|
|
6839
6753
|
},
|
|
6840
|
-
"description": "
|
|
6754
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6841
6755
|
"examples": [
|
|
6842
|
-
"$ xano tenant cluster license
|
|
6843
|
-
"$ xano tenant cluster license
|
|
6844
|
-
"$ xano tenant cluster license
|
|
6845
|
-
"$ xano tenant cluster license
|
|
6756
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6757
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6758
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6759
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6846
6760
|
],
|
|
6847
6761
|
"flags": {
|
|
6848
6762
|
"profile": {
|
|
@@ -6864,22 +6778,9 @@
|
|
|
6864
6778
|
"allowNo": false,
|
|
6865
6779
|
"type": "boolean"
|
|
6866
6780
|
},
|
|
6867
|
-
"clean": {
|
|
6868
|
-
"description": "Remove the source file after successful upload",
|
|
6869
|
-
"exclusive": [
|
|
6870
|
-
"value"
|
|
6871
|
-
],
|
|
6872
|
-
"name": "clean",
|
|
6873
|
-
"required": false,
|
|
6874
|
-
"allowNo": false,
|
|
6875
|
-
"type": "boolean"
|
|
6876
|
-
},
|
|
6877
6781
|
"file": {
|
|
6878
6782
|
"char": "f",
|
|
6879
|
-
"description": "
|
|
6880
|
-
"exclusive": [
|
|
6881
|
-
"value"
|
|
6882
|
-
],
|
|
6783
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6883
6784
|
"name": "file",
|
|
6884
6785
|
"required": false,
|
|
6885
6786
|
"hasDynamicHelp": false,
|
|
@@ -6900,22 +6801,17 @@
|
|
|
6900
6801
|
],
|
|
6901
6802
|
"type": "option"
|
|
6902
6803
|
},
|
|
6903
|
-
"
|
|
6904
|
-
"description": "
|
|
6905
|
-
"
|
|
6906
|
-
"file",
|
|
6907
|
-
"clean"
|
|
6908
|
-
],
|
|
6909
|
-
"name": "value",
|
|
6804
|
+
"view": {
|
|
6805
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6806
|
+
"name": "view",
|
|
6910
6807
|
"required": false,
|
|
6911
|
-
"
|
|
6912
|
-
"
|
|
6913
|
-
"type": "option"
|
|
6808
|
+
"allowNo": false,
|
|
6809
|
+
"type": "boolean"
|
|
6914
6810
|
}
|
|
6915
6811
|
},
|
|
6916
6812
|
"hasDynamicHelp": false,
|
|
6917
6813
|
"hiddenAliases": [],
|
|
6918
|
-
"id": "tenant:cluster:license:
|
|
6814
|
+
"id": "tenant:cluster:license:get",
|
|
6919
6815
|
"pluginAlias": "@xano/cli",
|
|
6920
6816
|
"pluginName": "@xano/cli",
|
|
6921
6817
|
"pluginType": "core",
|
|
@@ -6928,7 +6824,7 @@
|
|
|
6928
6824
|
"tenant",
|
|
6929
6825
|
"cluster",
|
|
6930
6826
|
"license",
|
|
6931
|
-
"
|
|
6827
|
+
"get",
|
|
6932
6828
|
"index.js"
|
|
6933
6829
|
]
|
|
6934
6830
|
},
|
|
@@ -7025,7 +6921,111 @@
|
|
|
7025
6921
|
"pull",
|
|
7026
6922
|
"index.js"
|
|
7027
6923
|
]
|
|
6924
|
+
},
|
|
6925
|
+
"tenant:cluster:license:set": {
|
|
6926
|
+
"aliases": [],
|
|
6927
|
+
"args": {
|
|
6928
|
+
"cluster_id": {
|
|
6929
|
+
"description": "Tenant cluster ID",
|
|
6930
|
+
"name": "cluster_id",
|
|
6931
|
+
"required": true
|
|
6932
|
+
}
|
|
6933
|
+
},
|
|
6934
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
6935
|
+
"examples": [
|
|
6936
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
6937
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
6938
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
6939
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
6940
|
+
],
|
|
6941
|
+
"flags": {
|
|
6942
|
+
"profile": {
|
|
6943
|
+
"char": "p",
|
|
6944
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6945
|
+
"env": "XANO_PROFILE",
|
|
6946
|
+
"name": "profile",
|
|
6947
|
+
"required": false,
|
|
6948
|
+
"hasDynamicHelp": false,
|
|
6949
|
+
"multiple": false,
|
|
6950
|
+
"type": "option"
|
|
6951
|
+
},
|
|
6952
|
+
"verbose": {
|
|
6953
|
+
"char": "v",
|
|
6954
|
+
"description": "Show detailed request/response information",
|
|
6955
|
+
"env": "XANO_VERBOSE",
|
|
6956
|
+
"name": "verbose",
|
|
6957
|
+
"required": false,
|
|
6958
|
+
"allowNo": false,
|
|
6959
|
+
"type": "boolean"
|
|
6960
|
+
},
|
|
6961
|
+
"clean": {
|
|
6962
|
+
"description": "Remove the source file after successful upload",
|
|
6963
|
+
"exclusive": [
|
|
6964
|
+
"value"
|
|
6965
|
+
],
|
|
6966
|
+
"name": "clean",
|
|
6967
|
+
"required": false,
|
|
6968
|
+
"allowNo": false,
|
|
6969
|
+
"type": "boolean"
|
|
6970
|
+
},
|
|
6971
|
+
"file": {
|
|
6972
|
+
"char": "f",
|
|
6973
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
6974
|
+
"exclusive": [
|
|
6975
|
+
"value"
|
|
6976
|
+
],
|
|
6977
|
+
"name": "file",
|
|
6978
|
+
"required": false,
|
|
6979
|
+
"hasDynamicHelp": false,
|
|
6980
|
+
"multiple": false,
|
|
6981
|
+
"type": "option"
|
|
6982
|
+
},
|
|
6983
|
+
"output": {
|
|
6984
|
+
"char": "o",
|
|
6985
|
+
"description": "Output format",
|
|
6986
|
+
"name": "output",
|
|
6987
|
+
"required": false,
|
|
6988
|
+
"default": "summary",
|
|
6989
|
+
"hasDynamicHelp": false,
|
|
6990
|
+
"multiple": false,
|
|
6991
|
+
"options": [
|
|
6992
|
+
"summary",
|
|
6993
|
+
"json"
|
|
6994
|
+
],
|
|
6995
|
+
"type": "option"
|
|
6996
|
+
},
|
|
6997
|
+
"value": {
|
|
6998
|
+
"description": "Inline kubeconfig YAML value",
|
|
6999
|
+
"exclusive": [
|
|
7000
|
+
"file",
|
|
7001
|
+
"clean"
|
|
7002
|
+
],
|
|
7003
|
+
"name": "value",
|
|
7004
|
+
"required": false,
|
|
7005
|
+
"hasDynamicHelp": false,
|
|
7006
|
+
"multiple": false,
|
|
7007
|
+
"type": "option"
|
|
7008
|
+
}
|
|
7009
|
+
},
|
|
7010
|
+
"hasDynamicHelp": false,
|
|
7011
|
+
"hiddenAliases": [],
|
|
7012
|
+
"id": "tenant:cluster:license:set",
|
|
7013
|
+
"pluginAlias": "@xano/cli",
|
|
7014
|
+
"pluginName": "@xano/cli",
|
|
7015
|
+
"pluginType": "core",
|
|
7016
|
+
"strict": true,
|
|
7017
|
+
"enableJsonFlag": false,
|
|
7018
|
+
"isESM": true,
|
|
7019
|
+
"relativePath": [
|
|
7020
|
+
"dist",
|
|
7021
|
+
"commands",
|
|
7022
|
+
"tenant",
|
|
7023
|
+
"cluster",
|
|
7024
|
+
"license",
|
|
7025
|
+
"set",
|
|
7026
|
+
"index.js"
|
|
7027
|
+
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.54"
|
|
7031
7031
|
}
|