@xano/cli 0.0.82-beta.4 → 0.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -394,20 +394,20 @@
|
|
|
394
394
|
"index.js"
|
|
395
395
|
]
|
|
396
396
|
},
|
|
397
|
-
"branch:
|
|
397
|
+
"branch:set_live": {
|
|
398
398
|
"aliases": [],
|
|
399
399
|
"args": {
|
|
400
|
-
"
|
|
401
|
-
"description": "
|
|
402
|
-
"name": "
|
|
403
|
-
"required":
|
|
400
|
+
"branch_label": {
|
|
401
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
402
|
+
"name": "branch_label",
|
|
403
|
+
"required": true
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
|
-
"description": "
|
|
406
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
407
407
|
"examples": [
|
|
408
|
-
"$ xano branch
|
|
409
|
-
"$ xano branch
|
|
410
|
-
"$ xano branch
|
|
408
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
409
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
410
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
411
411
|
],
|
|
412
412
|
"flags": {
|
|
413
413
|
"profile": {
|
|
@@ -429,6 +429,14 @@
|
|
|
429
429
|
"allowNo": false,
|
|
430
430
|
"type": "boolean"
|
|
431
431
|
},
|
|
432
|
+
"force": {
|
|
433
|
+
"char": "f",
|
|
434
|
+
"description": "Skip confirmation prompt",
|
|
435
|
+
"name": "force",
|
|
436
|
+
"required": false,
|
|
437
|
+
"allowNo": false,
|
|
438
|
+
"type": "boolean"
|
|
439
|
+
},
|
|
432
440
|
"output": {
|
|
433
441
|
"char": "o",
|
|
434
442
|
"description": "Output format",
|
|
@@ -442,11 +450,20 @@
|
|
|
442
450
|
"json"
|
|
443
451
|
],
|
|
444
452
|
"type": "option"
|
|
453
|
+
},
|
|
454
|
+
"workspace": {
|
|
455
|
+
"char": "w",
|
|
456
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
457
|
+
"name": "workspace",
|
|
458
|
+
"required": false,
|
|
459
|
+
"hasDynamicHelp": false,
|
|
460
|
+
"multiple": false,
|
|
461
|
+
"type": "option"
|
|
445
462
|
}
|
|
446
463
|
},
|
|
447
464
|
"hasDynamicHelp": false,
|
|
448
465
|
"hiddenAliases": [],
|
|
449
|
-
"id": "branch:
|
|
466
|
+
"id": "branch:set_live",
|
|
450
467
|
"pluginAlias": "@xano/cli",
|
|
451
468
|
"pluginName": "@xano/cli",
|
|
452
469
|
"pluginType": "core",
|
|
@@ -457,24 +474,24 @@
|
|
|
457
474
|
"dist",
|
|
458
475
|
"commands",
|
|
459
476
|
"branch",
|
|
460
|
-
"
|
|
477
|
+
"set_live",
|
|
461
478
|
"index.js"
|
|
462
479
|
]
|
|
463
480
|
},
|
|
464
|
-
"branch:
|
|
481
|
+
"branch:list": {
|
|
465
482
|
"aliases": [],
|
|
466
483
|
"args": {
|
|
467
|
-
"
|
|
468
|
-
"description": "
|
|
469
|
-
"name": "
|
|
470
|
-
"required":
|
|
484
|
+
"workspace_id": {
|
|
485
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
486
|
+
"name": "workspace_id",
|
|
487
|
+
"required": false
|
|
471
488
|
}
|
|
472
489
|
},
|
|
473
|
-
"description": "
|
|
490
|
+
"description": "List all branches in a workspace",
|
|
474
491
|
"examples": [
|
|
475
|
-
"$ xano branch
|
|
476
|
-
"$ xano branch
|
|
477
|
-
"$ xano branch
|
|
492
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
493
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
494
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
478
495
|
],
|
|
479
496
|
"flags": {
|
|
480
497
|
"profile": {
|
|
@@ -496,14 +513,6 @@
|
|
|
496
513
|
"allowNo": false,
|
|
497
514
|
"type": "boolean"
|
|
498
515
|
},
|
|
499
|
-
"force": {
|
|
500
|
-
"char": "f",
|
|
501
|
-
"description": "Skip confirmation prompt",
|
|
502
|
-
"name": "force",
|
|
503
|
-
"required": false,
|
|
504
|
-
"allowNo": false,
|
|
505
|
-
"type": "boolean"
|
|
506
|
-
},
|
|
507
516
|
"output": {
|
|
508
517
|
"char": "o",
|
|
509
518
|
"description": "Output format",
|
|
@@ -517,20 +526,11 @@
|
|
|
517
526
|
"json"
|
|
518
527
|
],
|
|
519
528
|
"type": "option"
|
|
520
|
-
},
|
|
521
|
-
"workspace": {
|
|
522
|
-
"char": "w",
|
|
523
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
524
|
-
"name": "workspace",
|
|
525
|
-
"required": false,
|
|
526
|
-
"hasDynamicHelp": false,
|
|
527
|
-
"multiple": false,
|
|
528
|
-
"type": "option"
|
|
529
529
|
}
|
|
530
530
|
},
|
|
531
531
|
"hasDynamicHelp": false,
|
|
532
532
|
"hiddenAliases": [],
|
|
533
|
-
"id": "branch:
|
|
533
|
+
"id": "branch:list",
|
|
534
534
|
"pluginAlias": "@xano/cli",
|
|
535
535
|
"pluginName": "@xano/cli",
|
|
536
536
|
"pluginType": "core",
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
"dist",
|
|
542
542
|
"commands",
|
|
543
543
|
"branch",
|
|
544
|
-
"
|
|
544
|
+
"list",
|
|
545
545
|
"index.js"
|
|
546
546
|
]
|
|
547
547
|
},
|
|
@@ -989,19 +989,20 @@
|
|
|
989
989
|
"index.js"
|
|
990
990
|
]
|
|
991
991
|
},
|
|
992
|
-
"
|
|
992
|
+
"branch:get": {
|
|
993
993
|
"aliases": [],
|
|
994
994
|
"args": {
|
|
995
|
-
"
|
|
996
|
-
"description": "
|
|
997
|
-
"name": "
|
|
995
|
+
"branch_label": {
|
|
996
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
997
|
+
"name": "branch_label",
|
|
998
998
|
"required": true
|
|
999
999
|
}
|
|
1000
1000
|
},
|
|
1001
|
-
"description": "Get details
|
|
1001
|
+
"description": "Get details for a specific branch",
|
|
1002
1002
|
"examples": [
|
|
1003
|
-
"$ xano
|
|
1004
|
-
"$ xano
|
|
1003
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1004
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1005
|
+
"$ 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"
|
|
1005
1006
|
],
|
|
1006
1007
|
"flags": {
|
|
1007
1008
|
"profile": {
|
|
@@ -1036,71 +1037,20 @@
|
|
|
1036
1037
|
"json"
|
|
1037
1038
|
],
|
|
1038
1039
|
"type": "option"
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
"hasDynamicHelp": false,
|
|
1042
|
-
"hiddenAliases": [],
|
|
1043
|
-
"id": "platform:get",
|
|
1044
|
-
"pluginAlias": "@xano/cli",
|
|
1045
|
-
"pluginName": "@xano/cli",
|
|
1046
|
-
"pluginType": "core",
|
|
1047
|
-
"strict": true,
|
|
1048
|
-
"enableJsonFlag": false,
|
|
1049
|
-
"isESM": true,
|
|
1050
|
-
"relativePath": [
|
|
1051
|
-
"dist",
|
|
1052
|
-
"commands",
|
|
1053
|
-
"platform",
|
|
1054
|
-
"get",
|
|
1055
|
-
"index.js"
|
|
1056
|
-
]
|
|
1057
|
-
},
|
|
1058
|
-
"platform:list": {
|
|
1059
|
-
"aliases": [],
|
|
1060
|
-
"args": {},
|
|
1061
|
-
"description": "List all platforms",
|
|
1062
|
-
"examples": [
|
|
1063
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1064
|
-
"$ xano platform list --output json"
|
|
1065
|
-
],
|
|
1066
|
-
"flags": {
|
|
1067
|
-
"profile": {
|
|
1068
|
-
"char": "p",
|
|
1069
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1070
|
-
"env": "XANO_PROFILE",
|
|
1071
|
-
"name": "profile",
|
|
1072
|
-
"required": false,
|
|
1073
|
-
"hasDynamicHelp": false,
|
|
1074
|
-
"multiple": false,
|
|
1075
|
-
"type": "option"
|
|
1076
|
-
},
|
|
1077
|
-
"verbose": {
|
|
1078
|
-
"char": "v",
|
|
1079
|
-
"description": "Show detailed request/response information",
|
|
1080
|
-
"env": "XANO_VERBOSE",
|
|
1081
|
-
"name": "verbose",
|
|
1082
|
-
"required": false,
|
|
1083
|
-
"allowNo": false,
|
|
1084
|
-
"type": "boolean"
|
|
1085
1040
|
},
|
|
1086
|
-
"
|
|
1087
|
-
"char": "
|
|
1088
|
-
"description": "
|
|
1089
|
-
"name": "
|
|
1041
|
+
"workspace": {
|
|
1042
|
+
"char": "w",
|
|
1043
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1044
|
+
"name": "workspace",
|
|
1090
1045
|
"required": false,
|
|
1091
|
-
"default": "summary",
|
|
1092
1046
|
"hasDynamicHelp": false,
|
|
1093
1047
|
"multiple": false,
|
|
1094
|
-
"options": [
|
|
1095
|
-
"summary",
|
|
1096
|
-
"json"
|
|
1097
|
-
],
|
|
1098
1048
|
"type": "option"
|
|
1099
1049
|
}
|
|
1100
1050
|
},
|
|
1101
1051
|
"hasDynamicHelp": false,
|
|
1102
1052
|
"hiddenAliases": [],
|
|
1103
|
-
"id": "
|
|
1053
|
+
"id": "branch:get",
|
|
1104
1054
|
"pluginAlias": "@xano/cli",
|
|
1105
1055
|
"pluginName": "@xano/cli",
|
|
1106
1056
|
"pluginType": "core",
|
|
@@ -1110,8 +1060,8 @@
|
|
|
1110
1060
|
"relativePath": [
|
|
1111
1061
|
"dist",
|
|
1112
1062
|
"commands",
|
|
1113
|
-
"
|
|
1114
|
-
"
|
|
1063
|
+
"branch",
|
|
1064
|
+
"get",
|
|
1115
1065
|
"index.js"
|
|
1116
1066
|
]
|
|
1117
1067
|
},
|
|
@@ -1211,20 +1161,19 @@
|
|
|
1211
1161
|
"index.js"
|
|
1212
1162
|
]
|
|
1213
1163
|
},
|
|
1214
|
-
"
|
|
1164
|
+
"platform:get": {
|
|
1215
1165
|
"aliases": [],
|
|
1216
1166
|
"args": {
|
|
1217
|
-
"
|
|
1218
|
-
"description": "
|
|
1219
|
-
"name": "
|
|
1167
|
+
"platform_id": {
|
|
1168
|
+
"description": "Platform ID to retrieve",
|
|
1169
|
+
"name": "platform_id",
|
|
1220
1170
|
"required": true
|
|
1221
1171
|
}
|
|
1222
1172
|
},
|
|
1223
|
-
"description": "Get details
|
|
1173
|
+
"description": "Get details of a specific platform",
|
|
1224
1174
|
"examples": [
|
|
1225
|
-
"$ xano
|
|
1226
|
-
"$ xano
|
|
1227
|
-
"$ 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"
|
|
1175
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
1176
|
+
"$ xano platform get 23629 -o json"
|
|
1228
1177
|
],
|
|
1229
1178
|
"flags": {
|
|
1230
1179
|
"profile": {
|
|
@@ -1259,20 +1208,11 @@
|
|
|
1259
1208
|
"json"
|
|
1260
1209
|
],
|
|
1261
1210
|
"type": "option"
|
|
1262
|
-
},
|
|
1263
|
-
"workspace": {
|
|
1264
|
-
"char": "w",
|
|
1265
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1266
|
-
"name": "workspace",
|
|
1267
|
-
"required": false,
|
|
1268
|
-
"hasDynamicHelp": false,
|
|
1269
|
-
"multiple": false,
|
|
1270
|
-
"type": "option"
|
|
1271
1211
|
}
|
|
1272
1212
|
},
|
|
1273
1213
|
"hasDynamicHelp": false,
|
|
1274
1214
|
"hiddenAliases": [],
|
|
1275
|
-
"id": "
|
|
1215
|
+
"id": "platform:get",
|
|
1276
1216
|
"pluginAlias": "@xano/cli",
|
|
1277
1217
|
"pluginName": "@xano/cli",
|
|
1278
1218
|
"pluginType": "core",
|
|
@@ -1282,39 +1222,57 @@
|
|
|
1282
1222
|
"relativePath": [
|
|
1283
1223
|
"dist",
|
|
1284
1224
|
"commands",
|
|
1285
|
-
"
|
|
1225
|
+
"platform",
|
|
1286
1226
|
"get",
|
|
1287
1227
|
"index.js"
|
|
1288
1228
|
]
|
|
1289
1229
|
},
|
|
1290
|
-
"
|
|
1230
|
+
"platform:list": {
|
|
1291
1231
|
"aliases": [],
|
|
1292
|
-
"args": {
|
|
1293
|
-
|
|
1294
|
-
"description": "Profile name to delete",
|
|
1295
|
-
"name": "name",
|
|
1296
|
-
"required": true
|
|
1297
|
-
}
|
|
1298
|
-
},
|
|
1299
|
-
"description": "Delete a profile configuration",
|
|
1232
|
+
"args": {},
|
|
1233
|
+
"description": "List all platforms",
|
|
1300
1234
|
"examples": [
|
|
1301
|
-
"$ xano
|
|
1302
|
-
"$ xano
|
|
1303
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1235
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1236
|
+
"$ xano platform list --output json"
|
|
1304
1237
|
],
|
|
1305
1238
|
"flags": {
|
|
1306
|
-
"
|
|
1307
|
-
"char": "
|
|
1308
|
-
"description": "
|
|
1309
|
-
"
|
|
1239
|
+
"profile": {
|
|
1240
|
+
"char": "p",
|
|
1241
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1242
|
+
"env": "XANO_PROFILE",
|
|
1243
|
+
"name": "profile",
|
|
1244
|
+
"required": false,
|
|
1245
|
+
"hasDynamicHelp": false,
|
|
1246
|
+
"multiple": false,
|
|
1247
|
+
"type": "option"
|
|
1248
|
+
},
|
|
1249
|
+
"verbose": {
|
|
1250
|
+
"char": "v",
|
|
1251
|
+
"description": "Show detailed request/response information",
|
|
1252
|
+
"env": "XANO_VERBOSE",
|
|
1253
|
+
"name": "verbose",
|
|
1310
1254
|
"required": false,
|
|
1311
1255
|
"allowNo": false,
|
|
1312
1256
|
"type": "boolean"
|
|
1257
|
+
},
|
|
1258
|
+
"output": {
|
|
1259
|
+
"char": "o",
|
|
1260
|
+
"description": "Output format",
|
|
1261
|
+
"name": "output",
|
|
1262
|
+
"required": false,
|
|
1263
|
+
"default": "summary",
|
|
1264
|
+
"hasDynamicHelp": false,
|
|
1265
|
+
"multiple": false,
|
|
1266
|
+
"options": [
|
|
1267
|
+
"summary",
|
|
1268
|
+
"json"
|
|
1269
|
+
],
|
|
1270
|
+
"type": "option"
|
|
1313
1271
|
}
|
|
1314
1272
|
},
|
|
1315
1273
|
"hasDynamicHelp": false,
|
|
1316
1274
|
"hiddenAliases": [],
|
|
1317
|
-
"id": "
|
|
1275
|
+
"id": "platform:list",
|
|
1318
1276
|
"pluginAlias": "@xano/cli",
|
|
1319
1277
|
"pluginName": "@xano/cli",
|
|
1320
1278
|
"pluginType": "core",
|
|
@@ -1324,24 +1282,85 @@
|
|
|
1324
1282
|
"relativePath": [
|
|
1325
1283
|
"dist",
|
|
1326
1284
|
"commands",
|
|
1327
|
-
"
|
|
1328
|
-
"
|
|
1285
|
+
"platform",
|
|
1286
|
+
"list",
|
|
1329
1287
|
"index.js"
|
|
1330
1288
|
]
|
|
1331
1289
|
},
|
|
1332
|
-
"profile:
|
|
1290
|
+
"profile:get": {
|
|
1333
1291
|
"aliases": [],
|
|
1334
|
-
"args": {
|
|
1335
|
-
|
|
1336
|
-
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1337
|
-
"name": "name",
|
|
1338
|
-
"required": false
|
|
1339
|
-
}
|
|
1340
|
-
},
|
|
1341
|
-
"description": "Edit an existing profile configuration",
|
|
1292
|
+
"args": {},
|
|
1293
|
+
"description": "Get the current default profile name",
|
|
1342
1294
|
"examples": [
|
|
1343
|
-
"$ xano profile
|
|
1344
|
-
|
|
1295
|
+
"$ xano profile get\nproduction\n"
|
|
1296
|
+
],
|
|
1297
|
+
"flags": {},
|
|
1298
|
+
"hasDynamicHelp": false,
|
|
1299
|
+
"hiddenAliases": [],
|
|
1300
|
+
"id": "profile:get",
|
|
1301
|
+
"pluginAlias": "@xano/cli",
|
|
1302
|
+
"pluginName": "@xano/cli",
|
|
1303
|
+
"pluginType": "core",
|
|
1304
|
+
"strict": true,
|
|
1305
|
+
"enableJsonFlag": false,
|
|
1306
|
+
"isESM": true,
|
|
1307
|
+
"relativePath": [
|
|
1308
|
+
"dist",
|
|
1309
|
+
"commands",
|
|
1310
|
+
"profile",
|
|
1311
|
+
"get",
|
|
1312
|
+
"index.js"
|
|
1313
|
+
]
|
|
1314
|
+
},
|
|
1315
|
+
"profile:list": {
|
|
1316
|
+
"aliases": [],
|
|
1317
|
+
"args": {},
|
|
1318
|
+
"description": "List all available profile configurations",
|
|
1319
|
+
"examples": [
|
|
1320
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1321
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1322
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1323
|
+
],
|
|
1324
|
+
"flags": {
|
|
1325
|
+
"details": {
|
|
1326
|
+
"char": "d",
|
|
1327
|
+
"description": "Show detailed information for each profile",
|
|
1328
|
+
"name": "details",
|
|
1329
|
+
"required": false,
|
|
1330
|
+
"allowNo": false,
|
|
1331
|
+
"type": "boolean"
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"hasDynamicHelp": false,
|
|
1335
|
+
"hiddenAliases": [],
|
|
1336
|
+
"id": "profile:list",
|
|
1337
|
+
"pluginAlias": "@xano/cli",
|
|
1338
|
+
"pluginName": "@xano/cli",
|
|
1339
|
+
"pluginType": "core",
|
|
1340
|
+
"strict": true,
|
|
1341
|
+
"enableJsonFlag": false,
|
|
1342
|
+
"isESM": true,
|
|
1343
|
+
"relativePath": [
|
|
1344
|
+
"dist",
|
|
1345
|
+
"commands",
|
|
1346
|
+
"profile",
|
|
1347
|
+
"list",
|
|
1348
|
+
"index.js"
|
|
1349
|
+
]
|
|
1350
|
+
},
|
|
1351
|
+
"profile:edit": {
|
|
1352
|
+
"aliases": [],
|
|
1353
|
+
"args": {
|
|
1354
|
+
"name": {
|
|
1355
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1356
|
+
"name": "name",
|
|
1357
|
+
"required": false
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
"description": "Edit an existing profile configuration",
|
|
1361
|
+
"examples": [
|
|
1362
|
+
"$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1363
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1345
1364
|
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1346
1365
|
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1347
1366
|
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
@@ -1459,53 +1478,53 @@
|
|
|
1459
1478
|
"index.js"
|
|
1460
1479
|
]
|
|
1461
1480
|
},
|
|
1462
|
-
"profile:
|
|
1463
|
-
"aliases": [],
|
|
1464
|
-
"args": {},
|
|
1465
|
-
"description": "Get the current default profile name",
|
|
1466
|
-
"examples": [
|
|
1467
|
-
"$ xano profile get\nproduction\n"
|
|
1468
|
-
],
|
|
1469
|
-
"flags": {},
|
|
1470
|
-
"hasDynamicHelp": false,
|
|
1471
|
-
"hiddenAliases": [],
|
|
1472
|
-
"id": "profile:get",
|
|
1473
|
-
"pluginAlias": "@xano/cli",
|
|
1474
|
-
"pluginName": "@xano/cli",
|
|
1475
|
-
"pluginType": "core",
|
|
1476
|
-
"strict": true,
|
|
1477
|
-
"enableJsonFlag": false,
|
|
1478
|
-
"isESM": true,
|
|
1479
|
-
"relativePath": [
|
|
1480
|
-
"dist",
|
|
1481
|
-
"commands",
|
|
1482
|
-
"profile",
|
|
1483
|
-
"get",
|
|
1484
|
-
"index.js"
|
|
1485
|
-
]
|
|
1486
|
-
},
|
|
1487
|
-
"profile:list": {
|
|
1481
|
+
"profile:me": {
|
|
1488
1482
|
"aliases": [],
|
|
1489
1483
|
"args": {},
|
|
1490
|
-
"description": "
|
|
1484
|
+
"description": "Get information about the currently authenticated user",
|
|
1491
1485
|
"examples": [
|
|
1492
|
-
"$ xano profile:
|
|
1493
|
-
"$ xano profile:
|
|
1494
|
-
"$ xano profile:
|
|
1486
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1487
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1488
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1495
1489
|
],
|
|
1496
1490
|
"flags": {
|
|
1497
|
-
"
|
|
1498
|
-
"char": "
|
|
1499
|
-
"description": "
|
|
1500
|
-
"
|
|
1491
|
+
"profile": {
|
|
1492
|
+
"char": "p",
|
|
1493
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1494
|
+
"env": "XANO_PROFILE",
|
|
1495
|
+
"name": "profile",
|
|
1496
|
+
"required": false,
|
|
1497
|
+
"hasDynamicHelp": false,
|
|
1498
|
+
"multiple": false,
|
|
1499
|
+
"type": "option"
|
|
1500
|
+
},
|
|
1501
|
+
"verbose": {
|
|
1502
|
+
"char": "v",
|
|
1503
|
+
"description": "Show detailed request/response information",
|
|
1504
|
+
"env": "XANO_VERBOSE",
|
|
1505
|
+
"name": "verbose",
|
|
1501
1506
|
"required": false,
|
|
1502
1507
|
"allowNo": false,
|
|
1503
1508
|
"type": "boolean"
|
|
1509
|
+
},
|
|
1510
|
+
"output": {
|
|
1511
|
+
"char": "o",
|
|
1512
|
+
"description": "Output format",
|
|
1513
|
+
"name": "output",
|
|
1514
|
+
"required": false,
|
|
1515
|
+
"default": "summary",
|
|
1516
|
+
"hasDynamicHelp": false,
|
|
1517
|
+
"multiple": false,
|
|
1518
|
+
"options": [
|
|
1519
|
+
"summary",
|
|
1520
|
+
"json"
|
|
1521
|
+
],
|
|
1522
|
+
"type": "option"
|
|
1504
1523
|
}
|
|
1505
1524
|
},
|
|
1506
1525
|
"hasDynamicHelp": false,
|
|
1507
1526
|
"hiddenAliases": [],
|
|
1508
|
-
"id": "profile:
|
|
1527
|
+
"id": "profile:me",
|
|
1509
1528
|
"pluginAlias": "@xano/cli",
|
|
1510
1529
|
"pluginName": "@xano/cli",
|
|
1511
1530
|
"pluginType": "core",
|
|
@@ -1516,7 +1535,7 @@
|
|
|
1516
1535
|
"dist",
|
|
1517
1536
|
"commands",
|
|
1518
1537
|
"profile",
|
|
1519
|
-
"
|
|
1538
|
+
"me",
|
|
1520
1539
|
"index.js"
|
|
1521
1540
|
]
|
|
1522
1541
|
},
|
|
@@ -1551,53 +1570,71 @@
|
|
|
1551
1570
|
"index.js"
|
|
1552
1571
|
]
|
|
1553
1572
|
},
|
|
1554
|
-
"profile:
|
|
1573
|
+
"profile:token": {
|
|
1555
1574
|
"aliases": [],
|
|
1556
1575
|
"args": {},
|
|
1557
|
-
"description": "
|
|
1576
|
+
"description": "Print the access token for the default profile",
|
|
1558
1577
|
"examples": [
|
|
1559
|
-
"$ xano profile:
|
|
1560
|
-
"$ xano profile:
|
|
1561
|
-
|
|
1578
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1579
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1580
|
+
],
|
|
1581
|
+
"flags": {},
|
|
1582
|
+
"hasDynamicHelp": false,
|
|
1583
|
+
"hiddenAliases": [],
|
|
1584
|
+
"id": "profile:token",
|
|
1585
|
+
"pluginAlias": "@xano/cli",
|
|
1586
|
+
"pluginName": "@xano/cli",
|
|
1587
|
+
"pluginType": "core",
|
|
1588
|
+
"strict": true,
|
|
1589
|
+
"enableJsonFlag": false,
|
|
1590
|
+
"isESM": true,
|
|
1591
|
+
"relativePath": [
|
|
1592
|
+
"dist",
|
|
1593
|
+
"commands",
|
|
1594
|
+
"profile",
|
|
1595
|
+
"token",
|
|
1596
|
+
"index.js"
|
|
1597
|
+
]
|
|
1598
|
+
},
|
|
1599
|
+
"profile:wizard": {
|
|
1600
|
+
"aliases": [],
|
|
1601
|
+
"args": {},
|
|
1602
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1603
|
+
"examples": [
|
|
1604
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1562
1605
|
],
|
|
1563
1606
|
"flags": {
|
|
1564
|
-
"
|
|
1565
|
-
"char": "
|
|
1566
|
-
"description": "
|
|
1567
|
-
"
|
|
1568
|
-
"
|
|
1607
|
+
"insecure": {
|
|
1608
|
+
"char": "k",
|
|
1609
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1610
|
+
"name": "insecure",
|
|
1611
|
+
"required": false,
|
|
1612
|
+
"allowNo": false,
|
|
1613
|
+
"type": "boolean"
|
|
1614
|
+
},
|
|
1615
|
+
"name": {
|
|
1616
|
+
"char": "n",
|
|
1617
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1618
|
+
"name": "name",
|
|
1569
1619
|
"required": false,
|
|
1570
1620
|
"hasDynamicHelp": false,
|
|
1571
1621
|
"multiple": false,
|
|
1572
1622
|
"type": "option"
|
|
1573
1623
|
},
|
|
1574
|
-
"
|
|
1575
|
-
"char": "v",
|
|
1576
|
-
"description": "Show detailed request/response information",
|
|
1577
|
-
"env": "XANO_VERBOSE",
|
|
1578
|
-
"name": "verbose",
|
|
1579
|
-
"required": false,
|
|
1580
|
-
"allowNo": false,
|
|
1581
|
-
"type": "boolean"
|
|
1582
|
-
},
|
|
1583
|
-
"output": {
|
|
1624
|
+
"origin": {
|
|
1584
1625
|
"char": "o",
|
|
1585
|
-
"description": "
|
|
1586
|
-
"name": "
|
|
1626
|
+
"description": "Xano instance origin URL",
|
|
1627
|
+
"name": "origin",
|
|
1587
1628
|
"required": false,
|
|
1588
|
-
"default": "
|
|
1629
|
+
"default": "https://app.xano.com",
|
|
1589
1630
|
"hasDynamicHelp": false,
|
|
1590
1631
|
"multiple": false,
|
|
1591
|
-
"options": [
|
|
1592
|
-
"summary",
|
|
1593
|
-
"json"
|
|
1594
|
-
],
|
|
1595
1632
|
"type": "option"
|
|
1596
1633
|
}
|
|
1597
1634
|
},
|
|
1598
1635
|
"hasDynamicHelp": false,
|
|
1599
1636
|
"hiddenAliases": [],
|
|
1600
|
-
"id": "profile:
|
|
1637
|
+
"id": "profile:wizard",
|
|
1601
1638
|
"pluginAlias": "@xano/cli",
|
|
1602
1639
|
"pluginName": "@xano/cli",
|
|
1603
1640
|
"pluginType": "core",
|
|
@@ -1608,22 +1645,22 @@
|
|
|
1608
1645
|
"dist",
|
|
1609
1646
|
"commands",
|
|
1610
1647
|
"profile",
|
|
1611
|
-
"
|
|
1648
|
+
"wizard",
|
|
1612
1649
|
"index.js"
|
|
1613
1650
|
]
|
|
1614
1651
|
},
|
|
1615
|
-
"profile:
|
|
1652
|
+
"profile:workspace": {
|
|
1616
1653
|
"aliases": [],
|
|
1617
1654
|
"args": {},
|
|
1618
|
-
"description": "Print the
|
|
1655
|
+
"description": "Print the workspace ID for the default profile",
|
|
1619
1656
|
"examples": [
|
|
1620
|
-
"$ xano profile:
|
|
1621
|
-
"$ xano profile:
|
|
1657
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1658
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1622
1659
|
],
|
|
1623
1660
|
"flags": {},
|
|
1624
1661
|
"hasDynamicHelp": false,
|
|
1625
1662
|
"hiddenAliases": [],
|
|
1626
|
-
"id": "profile:
|
|
1663
|
+
"id": "profile:workspace",
|
|
1627
1664
|
"pluginAlias": "@xano/cli",
|
|
1628
1665
|
"pluginName": "@xano/cli",
|
|
1629
1666
|
"pluginType": "core",
|
|
@@ -1634,7 +1671,7 @@
|
|
|
1634
1671
|
"dist",
|
|
1635
1672
|
"commands",
|
|
1636
1673
|
"profile",
|
|
1637
|
-
"
|
|
1674
|
+
"workspace",
|
|
1638
1675
|
"index.js"
|
|
1639
1676
|
]
|
|
1640
1677
|
},
|
|
@@ -1749,32 +1786,6 @@
|
|
|
1749
1786
|
"index.js"
|
|
1750
1787
|
]
|
|
1751
1788
|
},
|
|
1752
|
-
"profile:workspace": {
|
|
1753
|
-
"aliases": [],
|
|
1754
|
-
"args": {},
|
|
1755
|
-
"description": "Print the workspace ID for the default profile",
|
|
1756
|
-
"examples": [
|
|
1757
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1758
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1759
|
-
],
|
|
1760
|
-
"flags": {},
|
|
1761
|
-
"hasDynamicHelp": false,
|
|
1762
|
-
"hiddenAliases": [],
|
|
1763
|
-
"id": "profile:workspace",
|
|
1764
|
-
"pluginAlias": "@xano/cli",
|
|
1765
|
-
"pluginName": "@xano/cli",
|
|
1766
|
-
"pluginType": "core",
|
|
1767
|
-
"strict": true,
|
|
1768
|
-
"enableJsonFlag": false,
|
|
1769
|
-
"isESM": true,
|
|
1770
|
-
"relativePath": [
|
|
1771
|
-
"dist",
|
|
1772
|
-
"commands",
|
|
1773
|
-
"profile",
|
|
1774
|
-
"workspace",
|
|
1775
|
-
"index.js"
|
|
1776
|
-
]
|
|
1777
|
-
},
|
|
1778
1789
|
"release:delete": {
|
|
1779
1790
|
"aliases": [],
|
|
1780
1791
|
"args": {
|
|
@@ -1859,59 +1870,6 @@
|
|
|
1859
1870
|
"index.js"
|
|
1860
1871
|
]
|
|
1861
1872
|
},
|
|
1862
|
-
"profile:wizard": {
|
|
1863
|
-
"aliases": [],
|
|
1864
|
-
"args": {},
|
|
1865
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1866
|
-
"examples": [
|
|
1867
|
-
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1868
|
-
],
|
|
1869
|
-
"flags": {
|
|
1870
|
-
"insecure": {
|
|
1871
|
-
"char": "k",
|
|
1872
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1873
|
-
"name": "insecure",
|
|
1874
|
-
"required": false,
|
|
1875
|
-
"allowNo": false,
|
|
1876
|
-
"type": "boolean"
|
|
1877
|
-
},
|
|
1878
|
-
"name": {
|
|
1879
|
-
"char": "n",
|
|
1880
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1881
|
-
"name": "name",
|
|
1882
|
-
"required": false,
|
|
1883
|
-
"hasDynamicHelp": false,
|
|
1884
|
-
"multiple": false,
|
|
1885
|
-
"type": "option"
|
|
1886
|
-
},
|
|
1887
|
-
"origin": {
|
|
1888
|
-
"char": "o",
|
|
1889
|
-
"description": "Xano instance origin URL",
|
|
1890
|
-
"name": "origin",
|
|
1891
|
-
"required": false,
|
|
1892
|
-
"default": "https://app.xano.com",
|
|
1893
|
-
"hasDynamicHelp": false,
|
|
1894
|
-
"multiple": false,
|
|
1895
|
-
"type": "option"
|
|
1896
|
-
}
|
|
1897
|
-
},
|
|
1898
|
-
"hasDynamicHelp": false,
|
|
1899
|
-
"hiddenAliases": [],
|
|
1900
|
-
"id": "profile:wizard",
|
|
1901
|
-
"pluginAlias": "@xano/cli",
|
|
1902
|
-
"pluginName": "@xano/cli",
|
|
1903
|
-
"pluginType": "core",
|
|
1904
|
-
"strict": true,
|
|
1905
|
-
"enableJsonFlag": false,
|
|
1906
|
-
"isESM": true,
|
|
1907
|
-
"relativePath": [
|
|
1908
|
-
"dist",
|
|
1909
|
-
"commands",
|
|
1910
|
-
"profile",
|
|
1911
|
-
"wizard",
|
|
1912
|
-
"index.js"
|
|
1913
|
-
]
|
|
1914
|
-
},
|
|
1915
1873
|
"release:edit": {
|
|
1916
1874
|
"aliases": [],
|
|
1917
1875
|
"args": {
|
|
@@ -2164,70 +2122,34 @@
|
|
|
2164
2122
|
"index.js"
|
|
2165
2123
|
]
|
|
2166
2124
|
},
|
|
2167
|
-
"
|
|
2125
|
+
"profile:delete": {
|
|
2168
2126
|
"aliases": [],
|
|
2169
|
-
"args": {
|
|
2170
|
-
|
|
2127
|
+
"args": {
|
|
2128
|
+
"name": {
|
|
2129
|
+
"description": "Profile name to delete",
|
|
2130
|
+
"name": "name",
|
|
2131
|
+
"required": true
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"description": "Delete a profile configuration",
|
|
2171
2135
|
"examples": [
|
|
2172
|
-
"$ xano
|
|
2173
|
-
"$ xano
|
|
2136
|
+
"$ 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",
|
|
2137
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
2138
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
2174
2139
|
],
|
|
2175
2140
|
"flags": {
|
|
2176
|
-
"
|
|
2177
|
-
"char": "
|
|
2178
|
-
"description": "
|
|
2179
|
-
"
|
|
2180
|
-
"name": "profile",
|
|
2181
|
-
"required": false,
|
|
2182
|
-
"hasDynamicHelp": false,
|
|
2183
|
-
"multiple": false,
|
|
2184
|
-
"type": "option"
|
|
2185
|
-
},
|
|
2186
|
-
"verbose": {
|
|
2187
|
-
"char": "v",
|
|
2188
|
-
"description": "Show detailed request/response information",
|
|
2189
|
-
"env": "XANO_VERBOSE",
|
|
2190
|
-
"name": "verbose",
|
|
2141
|
+
"force": {
|
|
2142
|
+
"char": "f",
|
|
2143
|
+
"description": "Skip confirmation prompt",
|
|
2144
|
+
"name": "force",
|
|
2191
2145
|
"required": false,
|
|
2192
2146
|
"allowNo": false,
|
|
2193
2147
|
"type": "boolean"
|
|
2194
|
-
},
|
|
2195
|
-
"file": {
|
|
2196
|
-
"char": "f",
|
|
2197
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2198
|
-
"name": "file",
|
|
2199
|
-
"required": true,
|
|
2200
|
-
"hasDynamicHelp": false,
|
|
2201
|
-
"multiple": false,
|
|
2202
|
-
"type": "option"
|
|
2203
|
-
},
|
|
2204
|
-
"output": {
|
|
2205
|
-
"char": "o",
|
|
2206
|
-
"description": "Output format",
|
|
2207
|
-
"name": "output",
|
|
2208
|
-
"required": false,
|
|
2209
|
-
"default": "summary",
|
|
2210
|
-
"hasDynamicHelp": false,
|
|
2211
|
-
"multiple": false,
|
|
2212
|
-
"options": [
|
|
2213
|
-
"summary",
|
|
2214
|
-
"json"
|
|
2215
|
-
],
|
|
2216
|
-
"type": "option"
|
|
2217
|
-
},
|
|
2218
|
-
"workspace": {
|
|
2219
|
-
"char": "w",
|
|
2220
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2221
|
-
"name": "workspace",
|
|
2222
|
-
"required": false,
|
|
2223
|
-
"hasDynamicHelp": false,
|
|
2224
|
-
"multiple": false,
|
|
2225
|
-
"type": "option"
|
|
2226
2148
|
}
|
|
2227
2149
|
},
|
|
2228
2150
|
"hasDynamicHelp": false,
|
|
2229
2151
|
"hiddenAliases": [],
|
|
2230
|
-
"id": "
|
|
2152
|
+
"id": "profile:delete",
|
|
2231
2153
|
"pluginAlias": "@xano/cli",
|
|
2232
2154
|
"pluginName": "@xano/cli",
|
|
2233
2155
|
"pluginType": "core",
|
|
@@ -2237,18 +2159,18 @@
|
|
|
2237
2159
|
"relativePath": [
|
|
2238
2160
|
"dist",
|
|
2239
2161
|
"commands",
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2162
|
+
"profile",
|
|
2163
|
+
"delete",
|
|
2242
2164
|
"index.js"
|
|
2243
2165
|
]
|
|
2244
2166
|
},
|
|
2245
|
-
"release:
|
|
2167
|
+
"release:import": {
|
|
2246
2168
|
"aliases": [],
|
|
2247
2169
|
"args": {},
|
|
2248
|
-
"description": "
|
|
2170
|
+
"description": "Import a release file into a workspace",
|
|
2249
2171
|
"examples": [
|
|
2250
|
-
"$ xano release
|
|
2251
|
-
"$ xano release
|
|
2172
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2173
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2252
2174
|
],
|
|
2253
2175
|
"flags": {
|
|
2254
2176
|
"profile": {
|
|
@@ -2270,6 +2192,15 @@
|
|
|
2270
2192
|
"allowNo": false,
|
|
2271
2193
|
"type": "boolean"
|
|
2272
2194
|
},
|
|
2195
|
+
"file": {
|
|
2196
|
+
"char": "f",
|
|
2197
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2198
|
+
"name": "file",
|
|
2199
|
+
"required": true,
|
|
2200
|
+
"hasDynamicHelp": false,
|
|
2201
|
+
"multiple": false,
|
|
2202
|
+
"type": "option"
|
|
2203
|
+
},
|
|
2273
2204
|
"output": {
|
|
2274
2205
|
"char": "o",
|
|
2275
2206
|
"description": "Output format",
|
|
@@ -2296,7 +2227,7 @@
|
|
|
2296
2227
|
},
|
|
2297
2228
|
"hasDynamicHelp": false,
|
|
2298
2229
|
"hiddenAliases": [],
|
|
2299
|
-
"id": "release:
|
|
2230
|
+
"id": "release:import",
|
|
2300
2231
|
"pluginAlias": "@xano/cli",
|
|
2301
2232
|
"pluginName": "@xano/cli",
|
|
2302
2233
|
"pluginType": "core",
|
|
@@ -2307,26 +2238,17 @@
|
|
|
2307
2238
|
"dist",
|
|
2308
2239
|
"commands",
|
|
2309
2240
|
"release",
|
|
2310
|
-
"
|
|
2241
|
+
"import",
|
|
2311
2242
|
"index.js"
|
|
2312
2243
|
]
|
|
2313
2244
|
},
|
|
2314
|
-
"release:
|
|
2245
|
+
"release:list": {
|
|
2315
2246
|
"aliases": [],
|
|
2316
|
-
"args": {
|
|
2317
|
-
|
|
2318
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2319
|
-
"name": "directory",
|
|
2320
|
-
"required": true
|
|
2321
|
-
}
|
|
2322
|
-
},
|
|
2323
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2247
|
+
"args": {},
|
|
2248
|
+
"description": "List all releases in a workspace",
|
|
2324
2249
|
"examples": [
|
|
2325
|
-
"$ xano release
|
|
2326
|
-
"$ xano release
|
|
2327
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2328
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2329
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2250
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2251
|
+
"$ xano release list -w 5 --output json"
|
|
2330
2252
|
],
|
|
2331
2253
|
"flags": {
|
|
2332
2254
|
"profile": {
|
|
@@ -2348,39 +2270,6 @@
|
|
|
2348
2270
|
"allowNo": false,
|
|
2349
2271
|
"type": "boolean"
|
|
2350
2272
|
},
|
|
2351
|
-
"description": {
|
|
2352
|
-
"char": "d",
|
|
2353
|
-
"description": "Release description",
|
|
2354
|
-
"name": "description",
|
|
2355
|
-
"required": false,
|
|
2356
|
-
"default": "",
|
|
2357
|
-
"hasDynamicHelp": false,
|
|
2358
|
-
"multiple": false,
|
|
2359
|
-
"type": "option"
|
|
2360
|
-
},
|
|
2361
|
-
"env": {
|
|
2362
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2363
|
-
"name": "env",
|
|
2364
|
-
"required": false,
|
|
2365
|
-
"allowNo": true,
|
|
2366
|
-
"type": "boolean"
|
|
2367
|
-
},
|
|
2368
|
-
"hotfix": {
|
|
2369
|
-
"description": "Mark as a hotfix release",
|
|
2370
|
-
"name": "hotfix",
|
|
2371
|
-
"required": false,
|
|
2372
|
-
"allowNo": false,
|
|
2373
|
-
"type": "boolean"
|
|
2374
|
-
},
|
|
2375
|
-
"name": {
|
|
2376
|
-
"char": "n",
|
|
2377
|
-
"description": "Name for the release",
|
|
2378
|
-
"name": "name",
|
|
2379
|
-
"required": true,
|
|
2380
|
-
"hasDynamicHelp": false,
|
|
2381
|
-
"multiple": false,
|
|
2382
|
-
"type": "option"
|
|
2383
|
-
},
|
|
2384
2273
|
"output": {
|
|
2385
2274
|
"char": "o",
|
|
2386
2275
|
"description": "Output format",
|
|
@@ -2395,16 +2284,9 @@
|
|
|
2395
2284
|
],
|
|
2396
2285
|
"type": "option"
|
|
2397
2286
|
},
|
|
2398
|
-
"records": {
|
|
2399
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2400
|
-
"name": "records",
|
|
2401
|
-
"required": false,
|
|
2402
|
-
"allowNo": true,
|
|
2403
|
-
"type": "boolean"
|
|
2404
|
-
},
|
|
2405
2287
|
"workspace": {
|
|
2406
2288
|
"char": "w",
|
|
2407
|
-
"description": "Workspace ID (
|
|
2289
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2408
2290
|
"name": "workspace",
|
|
2409
2291
|
"required": false,
|
|
2410
2292
|
"hasDynamicHelp": false,
|
|
@@ -2414,7 +2296,7 @@
|
|
|
2414
2296
|
},
|
|
2415
2297
|
"hasDynamicHelp": false,
|
|
2416
2298
|
"hiddenAliases": [],
|
|
2417
|
-
"id": "release:
|
|
2299
|
+
"id": "release:list",
|
|
2418
2300
|
"pluginAlias": "@xano/cli",
|
|
2419
2301
|
"pluginName": "@xano/cli",
|
|
2420
2302
|
"pluginType": "core",
|
|
@@ -2425,7 +2307,7 @@
|
|
|
2425
2307
|
"dist",
|
|
2426
2308
|
"commands",
|
|
2427
2309
|
"release",
|
|
2428
|
-
"
|
|
2310
|
+
"list",
|
|
2429
2311
|
"index.js"
|
|
2430
2312
|
]
|
|
2431
2313
|
},
|
|
@@ -2920,19 +2802,22 @@
|
|
|
2920
2802
|
"index.js"
|
|
2921
2803
|
]
|
|
2922
2804
|
},
|
|
2923
|
-
"
|
|
2805
|
+
"release:push": {
|
|
2924
2806
|
"aliases": [],
|
|
2925
2807
|
"args": {
|
|
2926
|
-
"
|
|
2927
|
-
"description": "
|
|
2928
|
-
"name": "
|
|
2808
|
+
"directory": {
|
|
2809
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2810
|
+
"name": "directory",
|
|
2929
2811
|
"required": true
|
|
2930
2812
|
}
|
|
2931
2813
|
},
|
|
2932
|
-
"description": "
|
|
2814
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2933
2815
|
"examples": [
|
|
2934
|
-
"$ xano
|
|
2935
|
-
"$ xano
|
|
2816
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2817
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2818
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2819
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2820
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2936
2821
|
],
|
|
2937
2822
|
"flags": {
|
|
2938
2823
|
"profile": {
|
|
@@ -2956,24 +2841,139 @@
|
|
|
2956
2841
|
},
|
|
2957
2842
|
"description": {
|
|
2958
2843
|
"char": "d",
|
|
2959
|
-
"description": "
|
|
2844
|
+
"description": "Release description",
|
|
2960
2845
|
"name": "description",
|
|
2961
2846
|
"required": false,
|
|
2847
|
+
"default": "",
|
|
2962
2848
|
"hasDynamicHelp": false,
|
|
2963
2849
|
"multiple": false,
|
|
2964
2850
|
"type": "option"
|
|
2965
2851
|
},
|
|
2966
|
-
"
|
|
2967
|
-
"description": "
|
|
2968
|
-
"name": "
|
|
2852
|
+
"env": {
|
|
2853
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2854
|
+
"name": "env",
|
|
2855
|
+
"required": false,
|
|
2856
|
+
"allowNo": true,
|
|
2857
|
+
"type": "boolean"
|
|
2858
|
+
},
|
|
2859
|
+
"hotfix": {
|
|
2860
|
+
"description": "Mark as a hotfix release",
|
|
2861
|
+
"name": "hotfix",
|
|
2969
2862
|
"required": false,
|
|
2863
|
+
"allowNo": false,
|
|
2864
|
+
"type": "boolean"
|
|
2865
|
+
},
|
|
2866
|
+
"name": {
|
|
2867
|
+
"char": "n",
|
|
2868
|
+
"description": "Name for the release",
|
|
2869
|
+
"name": "name",
|
|
2870
|
+
"required": true,
|
|
2970
2871
|
"hasDynamicHelp": false,
|
|
2971
2872
|
"multiple": false,
|
|
2972
2873
|
"type": "option"
|
|
2973
2874
|
},
|
|
2974
|
-
"
|
|
2975
|
-
"
|
|
2976
|
-
"
|
|
2875
|
+
"output": {
|
|
2876
|
+
"char": "o",
|
|
2877
|
+
"description": "Output format",
|
|
2878
|
+
"name": "output",
|
|
2879
|
+
"required": false,
|
|
2880
|
+
"default": "summary",
|
|
2881
|
+
"hasDynamicHelp": false,
|
|
2882
|
+
"multiple": false,
|
|
2883
|
+
"options": [
|
|
2884
|
+
"summary",
|
|
2885
|
+
"json"
|
|
2886
|
+
],
|
|
2887
|
+
"type": "option"
|
|
2888
|
+
},
|
|
2889
|
+
"records": {
|
|
2890
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2891
|
+
"name": "records",
|
|
2892
|
+
"required": false,
|
|
2893
|
+
"allowNo": true,
|
|
2894
|
+
"type": "boolean"
|
|
2895
|
+
},
|
|
2896
|
+
"workspace": {
|
|
2897
|
+
"char": "w",
|
|
2898
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2899
|
+
"name": "workspace",
|
|
2900
|
+
"required": false,
|
|
2901
|
+
"hasDynamicHelp": false,
|
|
2902
|
+
"multiple": false,
|
|
2903
|
+
"type": "option"
|
|
2904
|
+
}
|
|
2905
|
+
},
|
|
2906
|
+
"hasDynamicHelp": false,
|
|
2907
|
+
"hiddenAliases": [],
|
|
2908
|
+
"id": "release:push",
|
|
2909
|
+
"pluginAlias": "@xano/cli",
|
|
2910
|
+
"pluginName": "@xano/cli",
|
|
2911
|
+
"pluginType": "core",
|
|
2912
|
+
"strict": true,
|
|
2913
|
+
"enableJsonFlag": false,
|
|
2914
|
+
"isESM": true,
|
|
2915
|
+
"relativePath": [
|
|
2916
|
+
"dist",
|
|
2917
|
+
"commands",
|
|
2918
|
+
"release",
|
|
2919
|
+
"push",
|
|
2920
|
+
"index.js"
|
|
2921
|
+
]
|
|
2922
|
+
},
|
|
2923
|
+
"tenant:edit": {
|
|
2924
|
+
"aliases": [],
|
|
2925
|
+
"args": {
|
|
2926
|
+
"tenant_name": {
|
|
2927
|
+
"description": "Tenant name to edit",
|
|
2928
|
+
"name": "tenant_name",
|
|
2929
|
+
"required": true
|
|
2930
|
+
}
|
|
2931
|
+
},
|
|
2932
|
+
"description": "Edit an existing tenant",
|
|
2933
|
+
"examples": [
|
|
2934
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
2935
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
2936
|
+
],
|
|
2937
|
+
"flags": {
|
|
2938
|
+
"profile": {
|
|
2939
|
+
"char": "p",
|
|
2940
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2941
|
+
"env": "XANO_PROFILE",
|
|
2942
|
+
"name": "profile",
|
|
2943
|
+
"required": false,
|
|
2944
|
+
"hasDynamicHelp": false,
|
|
2945
|
+
"multiple": false,
|
|
2946
|
+
"type": "option"
|
|
2947
|
+
},
|
|
2948
|
+
"verbose": {
|
|
2949
|
+
"char": "v",
|
|
2950
|
+
"description": "Show detailed request/response information",
|
|
2951
|
+
"env": "XANO_VERBOSE",
|
|
2952
|
+
"name": "verbose",
|
|
2953
|
+
"required": false,
|
|
2954
|
+
"allowNo": false,
|
|
2955
|
+
"type": "boolean"
|
|
2956
|
+
},
|
|
2957
|
+
"description": {
|
|
2958
|
+
"char": "d",
|
|
2959
|
+
"description": "New description",
|
|
2960
|
+
"name": "description",
|
|
2961
|
+
"required": false,
|
|
2962
|
+
"hasDynamicHelp": false,
|
|
2963
|
+
"multiple": false,
|
|
2964
|
+
"type": "option"
|
|
2965
|
+
},
|
|
2966
|
+
"display": {
|
|
2967
|
+
"description": "New display name",
|
|
2968
|
+
"name": "display",
|
|
2969
|
+
"required": false,
|
|
2970
|
+
"hasDynamicHelp": false,
|
|
2971
|
+
"multiple": false,
|
|
2972
|
+
"type": "option"
|
|
2973
|
+
},
|
|
2974
|
+
"domain": {
|
|
2975
|
+
"description": "Custom domain",
|
|
2976
|
+
"name": "domain",
|
|
2977
2977
|
"required": false,
|
|
2978
2978
|
"hasDynamicHelp": false,
|
|
2979
2979
|
"multiple": false,
|
|
@@ -3061,8 +3061,7 @@
|
|
|
3061
3061
|
"description": "Deploy a release to a tenant",
|
|
3062
3062
|
"examples": [
|
|
3063
3063
|
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
3064
|
-
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3065
|
-
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 --license ./license.yaml"
|
|
3064
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3066
3065
|
],
|
|
3067
3066
|
"flags": {
|
|
3068
3067
|
"profile": {
|
|
@@ -3084,15 +3083,6 @@
|
|
|
3084
3083
|
"allowNo": false,
|
|
3085
3084
|
"type": "boolean"
|
|
3086
3085
|
},
|
|
3087
|
-
"license": {
|
|
3088
|
-
"char": "l",
|
|
3089
|
-
"description": "Path to a license override file to apply after deploy",
|
|
3090
|
-
"name": "license",
|
|
3091
|
-
"required": false,
|
|
3092
|
-
"hasDynamicHelp": false,
|
|
3093
|
-
"multiple": false,
|
|
3094
|
-
"type": "option"
|
|
3095
|
-
},
|
|
3096
3086
|
"output": {
|
|
3097
3087
|
"char": "o",
|
|
3098
3088
|
"description": "Output format",
|
|
@@ -3226,19 +3216,13 @@
|
|
|
3226
3216
|
"index.js"
|
|
3227
3217
|
]
|
|
3228
3218
|
},
|
|
3229
|
-
"tenant:
|
|
3219
|
+
"tenant:list": {
|
|
3230
3220
|
"aliases": [],
|
|
3231
|
-
"args": {
|
|
3232
|
-
|
|
3233
|
-
"description": "Tenant name to retrieve",
|
|
3234
|
-
"name": "tenant_name",
|
|
3235
|
-
"required": true
|
|
3236
|
-
}
|
|
3237
|
-
},
|
|
3238
|
-
"description": "Get details of a specific tenant",
|
|
3221
|
+
"args": {},
|
|
3222
|
+
"description": "List all tenants in a workspace",
|
|
3239
3223
|
"examples": [
|
|
3240
|
-
"$ xano tenant
|
|
3241
|
-
"$ xano tenant
|
|
3224
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
|
|
3225
|
+
"$ xano tenant list -w 5 --output json"
|
|
3242
3226
|
],
|
|
3243
3227
|
"flags": {
|
|
3244
3228
|
"profile": {
|
|
@@ -3286,7 +3270,7 @@
|
|
|
3286
3270
|
},
|
|
3287
3271
|
"hasDynamicHelp": false,
|
|
3288
3272
|
"hiddenAliases": [],
|
|
3289
|
-
"id": "tenant:
|
|
3273
|
+
"id": "tenant:list",
|
|
3290
3274
|
"pluginAlias": "@xano/cli",
|
|
3291
3275
|
"pluginName": "@xano/cli",
|
|
3292
3276
|
"pluginType": "core",
|
|
@@ -3297,7 +3281,100 @@
|
|
|
3297
3281
|
"dist",
|
|
3298
3282
|
"commands",
|
|
3299
3283
|
"tenant",
|
|
3300
|
-
"
|
|
3284
|
+
"list",
|
|
3285
|
+
"index.js"
|
|
3286
|
+
]
|
|
3287
|
+
},
|
|
3288
|
+
"tenant:pull": {
|
|
3289
|
+
"aliases": [],
|
|
3290
|
+
"args": {
|
|
3291
|
+
"directory": {
|
|
3292
|
+
"description": "Output directory for pulled documents",
|
|
3293
|
+
"name": "directory",
|
|
3294
|
+
"required": true
|
|
3295
|
+
}
|
|
3296
|
+
},
|
|
3297
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3298
|
+
"examples": [
|
|
3299
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3300
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3301
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3302
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3303
|
+
],
|
|
3304
|
+
"flags": {
|
|
3305
|
+
"profile": {
|
|
3306
|
+
"char": "p",
|
|
3307
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3308
|
+
"env": "XANO_PROFILE",
|
|
3309
|
+
"name": "profile",
|
|
3310
|
+
"required": false,
|
|
3311
|
+
"hasDynamicHelp": false,
|
|
3312
|
+
"multiple": false,
|
|
3313
|
+
"type": "option"
|
|
3314
|
+
},
|
|
3315
|
+
"verbose": {
|
|
3316
|
+
"char": "v",
|
|
3317
|
+
"description": "Show detailed request/response information",
|
|
3318
|
+
"env": "XANO_VERBOSE",
|
|
3319
|
+
"name": "verbose",
|
|
3320
|
+
"required": false,
|
|
3321
|
+
"allowNo": false,
|
|
3322
|
+
"type": "boolean"
|
|
3323
|
+
},
|
|
3324
|
+
"draft": {
|
|
3325
|
+
"description": "Include draft versions",
|
|
3326
|
+
"name": "draft",
|
|
3327
|
+
"required": false,
|
|
3328
|
+
"allowNo": false,
|
|
3329
|
+
"type": "boolean"
|
|
3330
|
+
},
|
|
3331
|
+
"env": {
|
|
3332
|
+
"description": "Include environment variables",
|
|
3333
|
+
"name": "env",
|
|
3334
|
+
"required": false,
|
|
3335
|
+
"allowNo": false,
|
|
3336
|
+
"type": "boolean"
|
|
3337
|
+
},
|
|
3338
|
+
"records": {
|
|
3339
|
+
"description": "Include records",
|
|
3340
|
+
"name": "records",
|
|
3341
|
+
"required": false,
|
|
3342
|
+
"allowNo": false,
|
|
3343
|
+
"type": "boolean"
|
|
3344
|
+
},
|
|
3345
|
+
"tenant": {
|
|
3346
|
+
"char": "t",
|
|
3347
|
+
"description": "Tenant name to pull from",
|
|
3348
|
+
"name": "tenant",
|
|
3349
|
+
"required": true,
|
|
3350
|
+
"hasDynamicHelp": false,
|
|
3351
|
+
"multiple": false,
|
|
3352
|
+
"type": "option"
|
|
3353
|
+
},
|
|
3354
|
+
"workspace": {
|
|
3355
|
+
"char": "w",
|
|
3356
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3357
|
+
"name": "workspace",
|
|
3358
|
+
"required": false,
|
|
3359
|
+
"hasDynamicHelp": false,
|
|
3360
|
+
"multiple": false,
|
|
3361
|
+
"type": "option"
|
|
3362
|
+
}
|
|
3363
|
+
},
|
|
3364
|
+
"hasDynamicHelp": false,
|
|
3365
|
+
"hiddenAliases": [],
|
|
3366
|
+
"id": "tenant:pull",
|
|
3367
|
+
"pluginAlias": "@xano/cli",
|
|
3368
|
+
"pluginName": "@xano/cli",
|
|
3369
|
+
"pluginType": "core",
|
|
3370
|
+
"strict": true,
|
|
3371
|
+
"enableJsonFlag": false,
|
|
3372
|
+
"isESM": true,
|
|
3373
|
+
"relativePath": [
|
|
3374
|
+
"dist",
|
|
3375
|
+
"commands",
|
|
3376
|
+
"tenant",
|
|
3377
|
+
"pull",
|
|
3301
3378
|
"index.js"
|
|
3302
3379
|
]
|
|
3303
3380
|
},
|
|
@@ -3495,21 +3572,19 @@
|
|
|
3495
3572
|
"index.js"
|
|
3496
3573
|
]
|
|
3497
3574
|
},
|
|
3498
|
-
"
|
|
3575
|
+
"unit_test:run": {
|
|
3499
3576
|
"aliases": [],
|
|
3500
3577
|
"args": {
|
|
3501
|
-
"
|
|
3502
|
-
"description": "
|
|
3503
|
-
"name": "
|
|
3578
|
+
"unit_test_id": {
|
|
3579
|
+
"description": "ID of the unit test to run",
|
|
3580
|
+
"name": "unit_test_id",
|
|
3504
3581
|
"required": true
|
|
3505
3582
|
}
|
|
3506
3583
|
},
|
|
3507
|
-
"description": "
|
|
3584
|
+
"description": "Run a unit test",
|
|
3508
3585
|
"examples": [
|
|
3509
|
-
"$ xano
|
|
3510
|
-
"$ xano
|
|
3511
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3512
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3586
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3587
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3513
3588
|
],
|
|
3514
3589
|
"flags": {
|
|
3515
3590
|
"profile": {
|
|
@@ -3531,95 +3606,10 @@
|
|
|
3531
3606
|
"allowNo": false,
|
|
3532
3607
|
"type": "boolean"
|
|
3533
3608
|
},
|
|
3534
|
-
"
|
|
3535
|
-
"
|
|
3536
|
-
"
|
|
3537
|
-
"
|
|
3538
|
-
"allowNo": false,
|
|
3539
|
-
"type": "boolean"
|
|
3540
|
-
},
|
|
3541
|
-
"env": {
|
|
3542
|
-
"description": "Include environment variables",
|
|
3543
|
-
"name": "env",
|
|
3544
|
-
"required": false,
|
|
3545
|
-
"allowNo": false,
|
|
3546
|
-
"type": "boolean"
|
|
3547
|
-
},
|
|
3548
|
-
"records": {
|
|
3549
|
-
"description": "Include records",
|
|
3550
|
-
"name": "records",
|
|
3551
|
-
"required": false,
|
|
3552
|
-
"allowNo": false,
|
|
3553
|
-
"type": "boolean"
|
|
3554
|
-
},
|
|
3555
|
-
"tenant": {
|
|
3556
|
-
"char": "t",
|
|
3557
|
-
"description": "Tenant name to pull from",
|
|
3558
|
-
"name": "tenant",
|
|
3559
|
-
"required": true,
|
|
3560
|
-
"hasDynamicHelp": false,
|
|
3561
|
-
"multiple": false,
|
|
3562
|
-
"type": "option"
|
|
3563
|
-
},
|
|
3564
|
-
"workspace": {
|
|
3565
|
-
"char": "w",
|
|
3566
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
3567
|
-
"name": "workspace",
|
|
3568
|
-
"required": false,
|
|
3569
|
-
"hasDynamicHelp": false,
|
|
3570
|
-
"multiple": false,
|
|
3571
|
-
"type": "option"
|
|
3572
|
-
}
|
|
3573
|
-
},
|
|
3574
|
-
"hasDynamicHelp": false,
|
|
3575
|
-
"hiddenAliases": [],
|
|
3576
|
-
"id": "tenant:pull",
|
|
3577
|
-
"pluginAlias": "@xano/cli",
|
|
3578
|
-
"pluginName": "@xano/cli",
|
|
3579
|
-
"pluginType": "core",
|
|
3580
|
-
"strict": true,
|
|
3581
|
-
"enableJsonFlag": false,
|
|
3582
|
-
"isESM": true,
|
|
3583
|
-
"relativePath": [
|
|
3584
|
-
"dist",
|
|
3585
|
-
"commands",
|
|
3586
|
-
"tenant",
|
|
3587
|
-
"pull",
|
|
3588
|
-
"index.js"
|
|
3589
|
-
]
|
|
3590
|
-
},
|
|
3591
|
-
"tenant:list": {
|
|
3592
|
-
"aliases": [],
|
|
3593
|
-
"args": {},
|
|
3594
|
-
"description": "List all tenants in a workspace",
|
|
3595
|
-
"examples": [
|
|
3596
|
-
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
|
|
3597
|
-
"$ xano tenant list -w 5 --output json"
|
|
3598
|
-
],
|
|
3599
|
-
"flags": {
|
|
3600
|
-
"profile": {
|
|
3601
|
-
"char": "p",
|
|
3602
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3603
|
-
"env": "XANO_PROFILE",
|
|
3604
|
-
"name": "profile",
|
|
3605
|
-
"required": false,
|
|
3606
|
-
"hasDynamicHelp": false,
|
|
3607
|
-
"multiple": false,
|
|
3608
|
-
"type": "option"
|
|
3609
|
-
},
|
|
3610
|
-
"verbose": {
|
|
3611
|
-
"char": "v",
|
|
3612
|
-
"description": "Show detailed request/response information",
|
|
3613
|
-
"env": "XANO_VERBOSE",
|
|
3614
|
-
"name": "verbose",
|
|
3615
|
-
"required": false,
|
|
3616
|
-
"allowNo": false,
|
|
3617
|
-
"type": "boolean"
|
|
3618
|
-
},
|
|
3619
|
-
"output": {
|
|
3620
|
-
"char": "o",
|
|
3621
|
-
"description": "Output format",
|
|
3622
|
-
"name": "output",
|
|
3609
|
+
"output": {
|
|
3610
|
+
"char": "o",
|
|
3611
|
+
"description": "Output format",
|
|
3612
|
+
"name": "output",
|
|
3623
3613
|
"required": false,
|
|
3624
3614
|
"default": "summary",
|
|
3625
3615
|
"hasDynamicHelp": false,
|
|
@@ -3642,7 +3632,7 @@
|
|
|
3642
3632
|
},
|
|
3643
3633
|
"hasDynamicHelp": false,
|
|
3644
3634
|
"hiddenAliases": [],
|
|
3645
|
-
"id": "
|
|
3635
|
+
"id": "unit_test:run",
|
|
3646
3636
|
"pluginAlias": "@xano/cli",
|
|
3647
3637
|
"pluginName": "@xano/cli",
|
|
3648
3638
|
"pluginType": "core",
|
|
@@ -3652,24 +3642,24 @@
|
|
|
3652
3642
|
"relativePath": [
|
|
3653
3643
|
"dist",
|
|
3654
3644
|
"commands",
|
|
3655
|
-
"
|
|
3656
|
-
"
|
|
3645
|
+
"unit_test",
|
|
3646
|
+
"run",
|
|
3657
3647
|
"index.js"
|
|
3658
3648
|
]
|
|
3659
3649
|
},
|
|
3660
|
-
"
|
|
3650
|
+
"workflow_test:delete": {
|
|
3661
3651
|
"aliases": [],
|
|
3662
3652
|
"args": {
|
|
3663
|
-
"
|
|
3664
|
-
"description": "ID of the
|
|
3665
|
-
"name": "
|
|
3653
|
+
"workflow_test_id": {
|
|
3654
|
+
"description": "ID of the workflow test to delete",
|
|
3655
|
+
"name": "workflow_test_id",
|
|
3666
3656
|
"required": true
|
|
3667
3657
|
}
|
|
3668
3658
|
},
|
|
3669
|
-
"description": "
|
|
3659
|
+
"description": "Delete a workflow test",
|
|
3670
3660
|
"examples": [
|
|
3671
|
-
"$ xano
|
|
3672
|
-
"$ xano
|
|
3661
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3662
|
+
"$ xano workflow-test delete 1 --force"
|
|
3673
3663
|
],
|
|
3674
3664
|
"flags": {
|
|
3675
3665
|
"profile": {
|
|
@@ -3691,6 +3681,14 @@
|
|
|
3691
3681
|
"allowNo": false,
|
|
3692
3682
|
"type": "boolean"
|
|
3693
3683
|
},
|
|
3684
|
+
"force": {
|
|
3685
|
+
"char": "f",
|
|
3686
|
+
"description": "Skip confirmation prompt",
|
|
3687
|
+
"name": "force",
|
|
3688
|
+
"required": false,
|
|
3689
|
+
"allowNo": false,
|
|
3690
|
+
"type": "boolean"
|
|
3691
|
+
},
|
|
3694
3692
|
"output": {
|
|
3695
3693
|
"char": "o",
|
|
3696
3694
|
"description": "Output format",
|
|
@@ -3717,7 +3715,7 @@
|
|
|
3717
3715
|
},
|
|
3718
3716
|
"hasDynamicHelp": false,
|
|
3719
3717
|
"hiddenAliases": [],
|
|
3720
|
-
"id": "
|
|
3718
|
+
"id": "workflow_test:delete",
|
|
3721
3719
|
"pluginAlias": "@xano/cli",
|
|
3722
3720
|
"pluginName": "@xano/cli",
|
|
3723
3721
|
"pluginType": "core",
|
|
@@ -3727,8 +3725,8 @@
|
|
|
3727
3725
|
"relativePath": [
|
|
3728
3726
|
"dist",
|
|
3729
3727
|
"commands",
|
|
3730
|
-
"
|
|
3731
|
-
"
|
|
3728
|
+
"workflow_test",
|
|
3729
|
+
"delete",
|
|
3732
3730
|
"index.js"
|
|
3733
3731
|
]
|
|
3734
3732
|
},
|
|
@@ -3823,19 +3821,20 @@
|
|
|
3823
3821
|
"index.js"
|
|
3824
3822
|
]
|
|
3825
3823
|
},
|
|
3826
|
-
"workflow_test:
|
|
3824
|
+
"workflow_test:get": {
|
|
3827
3825
|
"aliases": [],
|
|
3828
3826
|
"args": {
|
|
3829
3827
|
"workflow_test_id": {
|
|
3830
|
-
"description": "ID of the workflow test
|
|
3828
|
+
"description": "ID of the workflow test",
|
|
3831
3829
|
"name": "workflow_test_id",
|
|
3832
3830
|
"required": true
|
|
3833
3831
|
}
|
|
3834
3832
|
},
|
|
3835
|
-
"description": "
|
|
3833
|
+
"description": "Get a specific workflow test",
|
|
3836
3834
|
"examples": [
|
|
3837
|
-
"$ xano workflow-test
|
|
3838
|
-
"$ xano workflow-test
|
|
3835
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3836
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3837
|
+
"$ xano workflow-test get 1 -o json"
|
|
3839
3838
|
],
|
|
3840
3839
|
"flags": {
|
|
3841
3840
|
"profile": {
|
|
@@ -3857,10 +3856,9 @@
|
|
|
3857
3856
|
"allowNo": false,
|
|
3858
3857
|
"type": "boolean"
|
|
3859
3858
|
},
|
|
3860
|
-
"
|
|
3861
|
-
"
|
|
3862
|
-
"
|
|
3863
|
-
"name": "force",
|
|
3859
|
+
"include-draft": {
|
|
3860
|
+
"description": "Include draft version",
|
|
3861
|
+
"name": "include-draft",
|
|
3864
3862
|
"required": false,
|
|
3865
3863
|
"allowNo": false,
|
|
3866
3864
|
"type": "boolean"
|
|
@@ -3875,7 +3873,8 @@
|
|
|
3875
3873
|
"multiple": false,
|
|
3876
3874
|
"options": [
|
|
3877
3875
|
"summary",
|
|
3878
|
-
"json"
|
|
3876
|
+
"json",
|
|
3877
|
+
"xs"
|
|
3879
3878
|
],
|
|
3880
3879
|
"type": "option"
|
|
3881
3880
|
},
|
|
@@ -3891,7 +3890,7 @@
|
|
|
3891
3890
|
},
|
|
3892
3891
|
"hasDynamicHelp": false,
|
|
3893
3892
|
"hiddenAliases": [],
|
|
3894
|
-
"id": "workflow_test:
|
|
3893
|
+
"id": "workflow_test:get",
|
|
3895
3894
|
"pluginAlias": "@xano/cli",
|
|
3896
3895
|
"pluginName": "@xano/cli",
|
|
3897
3896
|
"pluginType": "core",
|
|
@@ -3902,7 +3901,7 @@
|
|
|
3902
3901
|
"dist",
|
|
3903
3902
|
"commands",
|
|
3904
3903
|
"workflow_test",
|
|
3905
|
-
"
|
|
3904
|
+
"get",
|
|
3906
3905
|
"index.js"
|
|
3907
3906
|
]
|
|
3908
3907
|
},
|
|
@@ -3981,13 +3980,14 @@
|
|
|
3981
3980
|
"index.js"
|
|
3982
3981
|
]
|
|
3983
3982
|
},
|
|
3984
|
-
"workflow_test:
|
|
3983
|
+
"workflow_test:list": {
|
|
3985
3984
|
"aliases": [],
|
|
3986
3985
|
"args": {},
|
|
3987
|
-
"description": "
|
|
3986
|
+
"description": "List all workflow tests in a workspace",
|
|
3988
3987
|
"examples": [
|
|
3989
|
-
"$ xano workflow-test
|
|
3990
|
-
"$ xano workflow-test
|
|
3988
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3989
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3990
|
+
"$ xano workflow-test list --branch main"
|
|
3991
3991
|
],
|
|
3992
3992
|
"flags": {
|
|
3993
3993
|
"profile": {
|
|
@@ -4044,7 +4044,7 @@
|
|
|
4044
4044
|
},
|
|
4045
4045
|
"hasDynamicHelp": false,
|
|
4046
4046
|
"hiddenAliases": [],
|
|
4047
|
-
"id": "workflow_test:
|
|
4047
|
+
"id": "workflow_test:list",
|
|
4048
4048
|
"pluginAlias": "@xano/cli",
|
|
4049
4049
|
"pluginName": "@xano/cli",
|
|
4050
4050
|
"pluginType": "core",
|
|
@@ -4055,18 +4055,17 @@
|
|
|
4055
4055
|
"dist",
|
|
4056
4056
|
"commands",
|
|
4057
4057
|
"workflow_test",
|
|
4058
|
-
"
|
|
4058
|
+
"list",
|
|
4059
4059
|
"index.js"
|
|
4060
4060
|
]
|
|
4061
4061
|
},
|
|
4062
|
-
"workflow_test:
|
|
4062
|
+
"workflow_test:run_all": {
|
|
4063
4063
|
"aliases": [],
|
|
4064
4064
|
"args": {},
|
|
4065
|
-
"description": "
|
|
4065
|
+
"description": "Run all workflow tests in a workspace",
|
|
4066
4066
|
"examples": [
|
|
4067
|
-
"$ xano workflow-test
|
|
4068
|
-
"$ xano workflow-test
|
|
4069
|
-
"$ xano workflow-test list --branch main"
|
|
4067
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
4068
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4070
4069
|
],
|
|
4071
4070
|
"flags": {
|
|
4072
4071
|
"profile": {
|
|
@@ -4123,91 +4122,7 @@
|
|
|
4123
4122
|
},
|
|
4124
4123
|
"hasDynamicHelp": false,
|
|
4125
4124
|
"hiddenAliases": [],
|
|
4126
|
-
"id": "workflow_test:
|
|
4127
|
-
"pluginAlias": "@xano/cli",
|
|
4128
|
-
"pluginName": "@xano/cli",
|
|
4129
|
-
"pluginType": "core",
|
|
4130
|
-
"strict": true,
|
|
4131
|
-
"enableJsonFlag": false,
|
|
4132
|
-
"isESM": true,
|
|
4133
|
-
"relativePath": [
|
|
4134
|
-
"dist",
|
|
4135
|
-
"commands",
|
|
4136
|
-
"workflow_test",
|
|
4137
|
-
"list",
|
|
4138
|
-
"index.js"
|
|
4139
|
-
]
|
|
4140
|
-
},
|
|
4141
|
-
"workflow_test:get": {
|
|
4142
|
-
"aliases": [],
|
|
4143
|
-
"args": {
|
|
4144
|
-
"workflow_test_id": {
|
|
4145
|
-
"description": "ID of the workflow test",
|
|
4146
|
-
"name": "workflow_test_id",
|
|
4147
|
-
"required": true
|
|
4148
|
-
}
|
|
4149
|
-
},
|
|
4150
|
-
"description": "Get a specific workflow test",
|
|
4151
|
-
"examples": [
|
|
4152
|
-
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
4153
|
-
"$ xano workflow-test get 1 -o xs",
|
|
4154
|
-
"$ xano workflow-test get 1 -o json"
|
|
4155
|
-
],
|
|
4156
|
-
"flags": {
|
|
4157
|
-
"profile": {
|
|
4158
|
-
"char": "p",
|
|
4159
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4160
|
-
"env": "XANO_PROFILE",
|
|
4161
|
-
"name": "profile",
|
|
4162
|
-
"required": false,
|
|
4163
|
-
"hasDynamicHelp": false,
|
|
4164
|
-
"multiple": false,
|
|
4165
|
-
"type": "option"
|
|
4166
|
-
},
|
|
4167
|
-
"verbose": {
|
|
4168
|
-
"char": "v",
|
|
4169
|
-
"description": "Show detailed request/response information",
|
|
4170
|
-
"env": "XANO_VERBOSE",
|
|
4171
|
-
"name": "verbose",
|
|
4172
|
-
"required": false,
|
|
4173
|
-
"allowNo": false,
|
|
4174
|
-
"type": "boolean"
|
|
4175
|
-
},
|
|
4176
|
-
"include-draft": {
|
|
4177
|
-
"description": "Include draft version",
|
|
4178
|
-
"name": "include-draft",
|
|
4179
|
-
"required": false,
|
|
4180
|
-
"allowNo": false,
|
|
4181
|
-
"type": "boolean"
|
|
4182
|
-
},
|
|
4183
|
-
"output": {
|
|
4184
|
-
"char": "o",
|
|
4185
|
-
"description": "Output format",
|
|
4186
|
-
"name": "output",
|
|
4187
|
-
"required": false,
|
|
4188
|
-
"default": "summary",
|
|
4189
|
-
"hasDynamicHelp": false,
|
|
4190
|
-
"multiple": false,
|
|
4191
|
-
"options": [
|
|
4192
|
-
"summary",
|
|
4193
|
-
"json",
|
|
4194
|
-
"xs"
|
|
4195
|
-
],
|
|
4196
|
-
"type": "option"
|
|
4197
|
-
},
|
|
4198
|
-
"workspace": {
|
|
4199
|
-
"char": "w",
|
|
4200
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4201
|
-
"name": "workspace",
|
|
4202
|
-
"required": false,
|
|
4203
|
-
"hasDynamicHelp": false,
|
|
4204
|
-
"multiple": false,
|
|
4205
|
-
"type": "option"
|
|
4206
|
-
}
|
|
4207
|
-
},
|
|
4208
|
-
"hasDynamicHelp": false,
|
|
4209
|
-
"hiddenAliases": [],
|
|
4210
|
-
"id": "workflow_test:get",
|
|
4125
|
+
"id": "workflow_test:run_all",
|
|
4211
4126
|
"pluginAlias": "@xano/cli",
|
|
4212
4127
|
"pluginName": "@xano/cli",
|
|
4213
4128
|
"pluginType": "core",
|
|
@@ -4218,7 +4133,7 @@
|
|
|
4218
4133
|
"dist",
|
|
4219
4134
|
"commands",
|
|
4220
4135
|
"workflow_test",
|
|
4221
|
-
"
|
|
4136
|
+
"run_all",
|
|
4222
4137
|
"index.js"
|
|
4223
4138
|
]
|
|
4224
4139
|
},
|
|
@@ -4373,21 +4288,19 @@
|
|
|
4373
4288
|
"index.js"
|
|
4374
4289
|
]
|
|
4375
4290
|
},
|
|
4376
|
-
"
|
|
4291
|
+
"tenant:get": {
|
|
4377
4292
|
"aliases": [],
|
|
4378
4293
|
"args": {
|
|
4379
|
-
"
|
|
4380
|
-
"description": "
|
|
4381
|
-
"name": "
|
|
4382
|
-
"required":
|
|
4294
|
+
"tenant_name": {
|
|
4295
|
+
"description": "Tenant name to retrieve",
|
|
4296
|
+
"name": "tenant_name",
|
|
4297
|
+
"required": true
|
|
4383
4298
|
}
|
|
4384
4299
|
},
|
|
4385
|
-
"description": "
|
|
4300
|
+
"description": "Get details of a specific tenant",
|
|
4386
4301
|
"examples": [
|
|
4387
|
-
"$ xano
|
|
4388
|
-
"$ xano
|
|
4389
|
-
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4390
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4302
|
+
"$ 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",
|
|
4303
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
4391
4304
|
],
|
|
4392
4305
|
"flags": {
|
|
4393
4306
|
"profile": {
|
|
@@ -4409,24 +4322,82 @@
|
|
|
4409
4322
|
"allowNo": false,
|
|
4410
4323
|
"type": "boolean"
|
|
4411
4324
|
},
|
|
4412
|
-
"
|
|
4413
|
-
"char": "
|
|
4414
|
-
"description": "
|
|
4415
|
-
"name": "
|
|
4325
|
+
"output": {
|
|
4326
|
+
"char": "o",
|
|
4327
|
+
"description": "Output format",
|
|
4328
|
+
"name": "output",
|
|
4416
4329
|
"required": false,
|
|
4330
|
+
"default": "summary",
|
|
4417
4331
|
"hasDynamicHelp": false,
|
|
4418
4332
|
"multiple": false,
|
|
4333
|
+
"options": [
|
|
4334
|
+
"summary",
|
|
4335
|
+
"json"
|
|
4336
|
+
],
|
|
4419
4337
|
"type": "option"
|
|
4420
4338
|
},
|
|
4421
|
-
"
|
|
4422
|
-
"char": "
|
|
4423
|
-
"description": "
|
|
4424
|
-
"name": "
|
|
4339
|
+
"workspace": {
|
|
4340
|
+
"char": "w",
|
|
4341
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4342
|
+
"name": "workspace",
|
|
4343
|
+
"required": false,
|
|
4344
|
+
"hasDynamicHelp": false,
|
|
4345
|
+
"multiple": false,
|
|
4346
|
+
"type": "option"
|
|
4347
|
+
}
|
|
4348
|
+
},
|
|
4349
|
+
"hasDynamicHelp": false,
|
|
4350
|
+
"hiddenAliases": [],
|
|
4351
|
+
"id": "tenant:get",
|
|
4352
|
+
"pluginAlias": "@xano/cli",
|
|
4353
|
+
"pluginName": "@xano/cli",
|
|
4354
|
+
"pluginType": "core",
|
|
4355
|
+
"strict": true,
|
|
4356
|
+
"enableJsonFlag": false,
|
|
4357
|
+
"isESM": true,
|
|
4358
|
+
"relativePath": [
|
|
4359
|
+
"dist",
|
|
4360
|
+
"commands",
|
|
4361
|
+
"tenant",
|
|
4362
|
+
"get",
|
|
4363
|
+
"index.js"
|
|
4364
|
+
]
|
|
4365
|
+
},
|
|
4366
|
+
"workspace:get": {
|
|
4367
|
+
"aliases": [],
|
|
4368
|
+
"args": {
|
|
4369
|
+
"workspace_id": {
|
|
4370
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4371
|
+
"name": "workspace_id",
|
|
4372
|
+
"required": false
|
|
4373
|
+
}
|
|
4374
|
+
},
|
|
4375
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4376
|
+
"examples": [
|
|
4377
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4378
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4379
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4380
|
+
],
|
|
4381
|
+
"flags": {
|
|
4382
|
+
"profile": {
|
|
4383
|
+
"char": "p",
|
|
4384
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4385
|
+
"env": "XANO_PROFILE",
|
|
4386
|
+
"name": "profile",
|
|
4425
4387
|
"required": false,
|
|
4426
4388
|
"hasDynamicHelp": false,
|
|
4427
4389
|
"multiple": false,
|
|
4428
4390
|
"type": "option"
|
|
4429
4391
|
},
|
|
4392
|
+
"verbose": {
|
|
4393
|
+
"char": "v",
|
|
4394
|
+
"description": "Show detailed request/response information",
|
|
4395
|
+
"env": "XANO_VERBOSE",
|
|
4396
|
+
"name": "verbose",
|
|
4397
|
+
"required": false,
|
|
4398
|
+
"allowNo": false,
|
|
4399
|
+
"type": "boolean"
|
|
4400
|
+
},
|
|
4430
4401
|
"output": {
|
|
4431
4402
|
"char": "o",
|
|
4432
4403
|
"description": "Output format",
|
|
@@ -4440,25 +4411,11 @@
|
|
|
4440
4411
|
"json"
|
|
4441
4412
|
],
|
|
4442
4413
|
"type": "option"
|
|
4443
|
-
},
|
|
4444
|
-
"require-token": {
|
|
4445
|
-
"description": "Whether to require a token for documentation access",
|
|
4446
|
-
"name": "require-token",
|
|
4447
|
-
"required": false,
|
|
4448
|
-
"allowNo": true,
|
|
4449
|
-
"type": "boolean"
|
|
4450
|
-
},
|
|
4451
|
-
"swagger": {
|
|
4452
|
-
"description": "Enable or disable swagger documentation",
|
|
4453
|
-
"name": "swagger",
|
|
4454
|
-
"required": false,
|
|
4455
|
-
"allowNo": true,
|
|
4456
|
-
"type": "boolean"
|
|
4457
4414
|
}
|
|
4458
4415
|
},
|
|
4459
4416
|
"hasDynamicHelp": false,
|
|
4460
4417
|
"hiddenAliases": [],
|
|
4461
|
-
"id": "workspace:
|
|
4418
|
+
"id": "workspace:get",
|
|
4462
4419
|
"pluginAlias": "@xano/cli",
|
|
4463
4420
|
"pluginName": "@xano/cli",
|
|
4464
4421
|
"pluginType": "core",
|
|
@@ -4469,7 +4426,7 @@
|
|
|
4469
4426
|
"dist",
|
|
4470
4427
|
"commands",
|
|
4471
4428
|
"workspace",
|
|
4472
|
-
"
|
|
4429
|
+
"get",
|
|
4473
4430
|
"index.js"
|
|
4474
4431
|
]
|
|
4475
4432
|
},
|
|
@@ -4771,19 +4728,13 @@
|
|
|
4771
4728
|
"index.js"
|
|
4772
4729
|
]
|
|
4773
4730
|
},
|
|
4774
|
-
"
|
|
4731
|
+
"profile:workspace:set": {
|
|
4775
4732
|
"aliases": [],
|
|
4776
|
-
"args": {
|
|
4777
|
-
|
|
4778
|
-
"description": "Tenant name to back up",
|
|
4779
|
-
"name": "tenant_name",
|
|
4780
|
-
"required": true
|
|
4781
|
-
}
|
|
4782
|
-
},
|
|
4783
|
-
"description": "Create a backup for a tenant",
|
|
4733
|
+
"args": {},
|
|
4734
|
+
"description": "Interactively select a workspace for a profile",
|
|
4784
4735
|
"examples": [
|
|
4785
|
-
"$ xano
|
|
4786
|
-
"$ xano
|
|
4736
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
4737
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
4787
4738
|
],
|
|
4788
4739
|
"flags": {
|
|
4789
4740
|
"profile": {
|
|
@@ -4804,44 +4755,11 @@
|
|
|
4804
4755
|
"required": false,
|
|
4805
4756
|
"allowNo": false,
|
|
4806
4757
|
"type": "boolean"
|
|
4807
|
-
},
|
|
4808
|
-
"description": {
|
|
4809
|
-
"char": "d",
|
|
4810
|
-
"description": "Backup description",
|
|
4811
|
-
"name": "description",
|
|
4812
|
-
"required": false,
|
|
4813
|
-
"default": "",
|
|
4814
|
-
"hasDynamicHelp": false,
|
|
4815
|
-
"multiple": false,
|
|
4816
|
-
"type": "option"
|
|
4817
|
-
},
|
|
4818
|
-
"output": {
|
|
4819
|
-
"char": "o",
|
|
4820
|
-
"description": "Output format",
|
|
4821
|
-
"name": "output",
|
|
4822
|
-
"required": false,
|
|
4823
|
-
"default": "summary",
|
|
4824
|
-
"hasDynamicHelp": false,
|
|
4825
|
-
"multiple": false,
|
|
4826
|
-
"options": [
|
|
4827
|
-
"summary",
|
|
4828
|
-
"json"
|
|
4829
|
-
],
|
|
4830
|
-
"type": "option"
|
|
4831
|
-
},
|
|
4832
|
-
"workspace": {
|
|
4833
|
-
"char": "w",
|
|
4834
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4835
|
-
"name": "workspace",
|
|
4836
|
-
"required": false,
|
|
4837
|
-
"hasDynamicHelp": false,
|
|
4838
|
-
"multiple": false,
|
|
4839
|
-
"type": "option"
|
|
4840
4758
|
}
|
|
4841
4759
|
},
|
|
4842
4760
|
"hasDynamicHelp": false,
|
|
4843
4761
|
"hiddenAliases": [],
|
|
4844
|
-
"id": "
|
|
4762
|
+
"id": "profile:workspace:set",
|
|
4845
4763
|
"pluginAlias": "@xano/cli",
|
|
4846
4764
|
"pluginName": "@xano/cli",
|
|
4847
4765
|
"pluginType": "core",
|
|
@@ -4851,19 +4769,26 @@
|
|
|
4851
4769
|
"relativePath": [
|
|
4852
4770
|
"dist",
|
|
4853
4771
|
"commands",
|
|
4854
|
-
"
|
|
4855
|
-
"
|
|
4856
|
-
"
|
|
4772
|
+
"profile",
|
|
4773
|
+
"workspace",
|
|
4774
|
+
"set",
|
|
4857
4775
|
"index.js"
|
|
4858
4776
|
]
|
|
4859
4777
|
},
|
|
4860
|
-
"
|
|
4778
|
+
"static_host:build:create": {
|
|
4861
4779
|
"aliases": [],
|
|
4862
|
-
"args": {
|
|
4863
|
-
|
|
4780
|
+
"args": {
|
|
4781
|
+
"static_host": {
|
|
4782
|
+
"description": "Static Host name",
|
|
4783
|
+
"name": "static_host",
|
|
4784
|
+
"required": true
|
|
4785
|
+
}
|
|
4786
|
+
},
|
|
4787
|
+
"description": "Create a new build for a static host",
|
|
4864
4788
|
"examples": [
|
|
4865
|
-
"$ xano
|
|
4866
|
-
"$ xano
|
|
4789
|
+
"$ 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",
|
|
4790
|
+
"$ 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",
|
|
4791
|
+
"$ 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"
|
|
4867
4792
|
],
|
|
4868
4793
|
"flags": {
|
|
4869
4794
|
"profile": {
|
|
@@ -4884,11 +4809,61 @@
|
|
|
4884
4809
|
"required": false,
|
|
4885
4810
|
"allowNo": false,
|
|
4886
4811
|
"type": "boolean"
|
|
4812
|
+
},
|
|
4813
|
+
"description": {
|
|
4814
|
+
"char": "d",
|
|
4815
|
+
"description": "Build description",
|
|
4816
|
+
"name": "description",
|
|
4817
|
+
"required": false,
|
|
4818
|
+
"hasDynamicHelp": false,
|
|
4819
|
+
"multiple": false,
|
|
4820
|
+
"type": "option"
|
|
4821
|
+
},
|
|
4822
|
+
"file": {
|
|
4823
|
+
"char": "f",
|
|
4824
|
+
"description": "Path to zip file to upload",
|
|
4825
|
+
"name": "file",
|
|
4826
|
+
"required": true,
|
|
4827
|
+
"hasDynamicHelp": false,
|
|
4828
|
+
"multiple": false,
|
|
4829
|
+
"type": "option"
|
|
4830
|
+
},
|
|
4831
|
+
"name": {
|
|
4832
|
+
"char": "n",
|
|
4833
|
+
"description": "Build name",
|
|
4834
|
+
"name": "name",
|
|
4835
|
+
"required": true,
|
|
4836
|
+
"hasDynamicHelp": false,
|
|
4837
|
+
"multiple": false,
|
|
4838
|
+
"type": "option"
|
|
4839
|
+
},
|
|
4840
|
+
"output": {
|
|
4841
|
+
"char": "o",
|
|
4842
|
+
"description": "Output format",
|
|
4843
|
+
"name": "output",
|
|
4844
|
+
"required": false,
|
|
4845
|
+
"default": "summary",
|
|
4846
|
+
"hasDynamicHelp": false,
|
|
4847
|
+
"multiple": false,
|
|
4848
|
+
"options": [
|
|
4849
|
+
"summary",
|
|
4850
|
+
"json"
|
|
4851
|
+
],
|
|
4852
|
+
"type": "option"
|
|
4853
|
+
},
|
|
4854
|
+
"workspace": {
|
|
4855
|
+
"char": "w",
|
|
4856
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4857
|
+
"name": "workspace",
|
|
4858
|
+
"required": false,
|
|
4859
|
+
"hasDynamicHelp": false,
|
|
4860
|
+
"multiple": false,
|
|
4861
|
+
"type": "option"
|
|
4887
4862
|
}
|
|
4888
4863
|
},
|
|
4889
4864
|
"hasDynamicHelp": false,
|
|
4890
4865
|
"hiddenAliases": [],
|
|
4891
|
-
"id": "
|
|
4866
|
+
"id": "static_host:build:create",
|
|
4892
4867
|
"pluginAlias": "@xano/cli",
|
|
4893
4868
|
"pluginName": "@xano/cli",
|
|
4894
4869
|
"pluginType": "core",
|
|
@@ -4898,26 +4873,27 @@
|
|
|
4898
4873
|
"relativePath": [
|
|
4899
4874
|
"dist",
|
|
4900
4875
|
"commands",
|
|
4901
|
-
"
|
|
4902
|
-
"
|
|
4903
|
-
"
|
|
4876
|
+
"static_host",
|
|
4877
|
+
"build",
|
|
4878
|
+
"create",
|
|
4904
4879
|
"index.js"
|
|
4905
4880
|
]
|
|
4906
4881
|
},
|
|
4907
|
-
"workspace:
|
|
4882
|
+
"workspace:edit": {
|
|
4908
4883
|
"aliases": [],
|
|
4909
4884
|
"args": {
|
|
4910
4885
|
"workspace_id": {
|
|
4911
|
-
"description": "Workspace ID to
|
|
4886
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4912
4887
|
"name": "workspace_id",
|
|
4913
4888
|
"required": false
|
|
4914
4889
|
}
|
|
4915
4890
|
},
|
|
4916
|
-
"description": "
|
|
4891
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4917
4892
|
"examples": [
|
|
4918
|
-
"$ xano workspace
|
|
4919
|
-
"$ xano workspace
|
|
4920
|
-
"$ xano workspace
|
|
4893
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4894
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4895
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4896
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4921
4897
|
],
|
|
4922
4898
|
"flags": {
|
|
4923
4899
|
"profile": {
|
|
@@ -4939,24 +4915,56 @@
|
|
|
4939
4915
|
"allowNo": false,
|
|
4940
4916
|
"type": "boolean"
|
|
4941
4917
|
},
|
|
4942
|
-
"
|
|
4943
|
-
"char": "
|
|
4944
|
-
"description": "
|
|
4945
|
-
"name": "
|
|
4918
|
+
"description": {
|
|
4919
|
+
"char": "d",
|
|
4920
|
+
"description": "New description for the workspace",
|
|
4921
|
+
"name": "description",
|
|
4946
4922
|
"required": false,
|
|
4947
|
-
"default": "summary",
|
|
4948
4923
|
"hasDynamicHelp": false,
|
|
4949
4924
|
"multiple": false,
|
|
4950
|
-
"
|
|
4951
|
-
|
|
4925
|
+
"type": "option"
|
|
4926
|
+
},
|
|
4927
|
+
"name": {
|
|
4928
|
+
"char": "n",
|
|
4929
|
+
"description": "New name for the workspace",
|
|
4930
|
+
"name": "name",
|
|
4931
|
+
"required": false,
|
|
4932
|
+
"hasDynamicHelp": false,
|
|
4933
|
+
"multiple": false,
|
|
4934
|
+
"type": "option"
|
|
4935
|
+
},
|
|
4936
|
+
"output": {
|
|
4937
|
+
"char": "o",
|
|
4938
|
+
"description": "Output format",
|
|
4939
|
+
"name": "output",
|
|
4940
|
+
"required": false,
|
|
4941
|
+
"default": "summary",
|
|
4942
|
+
"hasDynamicHelp": false,
|
|
4943
|
+
"multiple": false,
|
|
4944
|
+
"options": [
|
|
4945
|
+
"summary",
|
|
4952
4946
|
"json"
|
|
4953
4947
|
],
|
|
4954
4948
|
"type": "option"
|
|
4949
|
+
},
|
|
4950
|
+
"require-token": {
|
|
4951
|
+
"description": "Whether to require a token for documentation access",
|
|
4952
|
+
"name": "require-token",
|
|
4953
|
+
"required": false,
|
|
4954
|
+
"allowNo": true,
|
|
4955
|
+
"type": "boolean"
|
|
4956
|
+
},
|
|
4957
|
+
"swagger": {
|
|
4958
|
+
"description": "Enable or disable swagger documentation",
|
|
4959
|
+
"name": "swagger",
|
|
4960
|
+
"required": false,
|
|
4961
|
+
"allowNo": true,
|
|
4962
|
+
"type": "boolean"
|
|
4955
4963
|
}
|
|
4956
4964
|
},
|
|
4957
4965
|
"hasDynamicHelp": false,
|
|
4958
4966
|
"hiddenAliases": [],
|
|
4959
|
-
"id": "workspace:
|
|
4967
|
+
"id": "workspace:edit",
|
|
4960
4968
|
"pluginAlias": "@xano/cli",
|
|
4961
4969
|
"pluginName": "@xano/cli",
|
|
4962
4970
|
"pluginType": "core",
|
|
@@ -4967,24 +4975,30 @@
|
|
|
4967
4975
|
"dist",
|
|
4968
4976
|
"commands",
|
|
4969
4977
|
"workspace",
|
|
4970
|
-
"
|
|
4978
|
+
"edit",
|
|
4971
4979
|
"index.js"
|
|
4972
4980
|
]
|
|
4973
4981
|
},
|
|
4974
|
-
"
|
|
4982
|
+
"static_host:build:get": {
|
|
4975
4983
|
"aliases": [],
|
|
4976
4984
|
"args": {
|
|
4977
|
-
"
|
|
4978
|
-
"description": "
|
|
4979
|
-
"name": "
|
|
4985
|
+
"build_id": {
|
|
4986
|
+
"description": "Build ID",
|
|
4987
|
+
"name": "build_id",
|
|
4988
|
+
"required": true
|
|
4989
|
+
},
|
|
4990
|
+
"static_host": {
|
|
4991
|
+
"description": "Static Host name",
|
|
4992
|
+
"name": "static_host",
|
|
4980
4993
|
"required": true
|
|
4981
4994
|
}
|
|
4982
4995
|
},
|
|
4983
|
-
"description": "
|
|
4996
|
+
"description": "Get details of a specific build for a static host",
|
|
4984
4997
|
"examples": [
|
|
4985
|
-
"$ xano
|
|
4986
|
-
"$ xano
|
|
4987
|
-
"$ xano
|
|
4998
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4999
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5000
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5001
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4988
5002
|
],
|
|
4989
5003
|
"flags": {
|
|
4990
5004
|
"profile": {
|
|
@@ -5006,22 +5020,6 @@
|
|
|
5006
5020
|
"allowNo": false,
|
|
5007
5021
|
"type": "boolean"
|
|
5008
5022
|
},
|
|
5009
|
-
"backup_id": {
|
|
5010
|
-
"description": "Backup ID to delete",
|
|
5011
|
-
"name": "backup_id",
|
|
5012
|
-
"required": true,
|
|
5013
|
-
"hasDynamicHelp": false,
|
|
5014
|
-
"multiple": false,
|
|
5015
|
-
"type": "option"
|
|
5016
|
-
},
|
|
5017
|
-
"force": {
|
|
5018
|
-
"char": "f",
|
|
5019
|
-
"description": "Skip confirmation prompt",
|
|
5020
|
-
"name": "force",
|
|
5021
|
-
"required": false,
|
|
5022
|
-
"allowNo": false,
|
|
5023
|
-
"type": "boolean"
|
|
5024
|
-
},
|
|
5025
5023
|
"output": {
|
|
5026
5024
|
"char": "o",
|
|
5027
5025
|
"description": "Output format",
|
|
@@ -5038,7 +5036,7 @@
|
|
|
5038
5036
|
},
|
|
5039
5037
|
"workspace": {
|
|
5040
5038
|
"char": "w",
|
|
5041
|
-
"description": "Workspace ID (
|
|
5039
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5042
5040
|
"name": "workspace",
|
|
5043
5041
|
"required": false,
|
|
5044
5042
|
"hasDynamicHelp": false,
|
|
@@ -5048,7 +5046,7 @@
|
|
|
5048
5046
|
},
|
|
5049
5047
|
"hasDynamicHelp": false,
|
|
5050
5048
|
"hiddenAliases": [],
|
|
5051
|
-
"id": "
|
|
5049
|
+
"id": "static_host:build:get",
|
|
5052
5050
|
"pluginAlias": "@xano/cli",
|
|
5053
5051
|
"pluginName": "@xano/cli",
|
|
5054
5052
|
"pluginType": "core",
|
|
@@ -5058,26 +5056,27 @@
|
|
|
5058
5056
|
"relativePath": [
|
|
5059
5057
|
"dist",
|
|
5060
5058
|
"commands",
|
|
5061
|
-
"
|
|
5062
|
-
"
|
|
5063
|
-
"
|
|
5059
|
+
"static_host",
|
|
5060
|
+
"build",
|
|
5061
|
+
"get",
|
|
5064
5062
|
"index.js"
|
|
5065
5063
|
]
|
|
5066
5064
|
},
|
|
5067
|
-
"
|
|
5065
|
+
"static_host:build:list": {
|
|
5068
5066
|
"aliases": [],
|
|
5069
5067
|
"args": {
|
|
5070
|
-
"
|
|
5071
|
-
"description": "
|
|
5072
|
-
"name": "
|
|
5068
|
+
"static_host": {
|
|
5069
|
+
"description": "Static Host name",
|
|
5070
|
+
"name": "static_host",
|
|
5073
5071
|
"required": true
|
|
5074
5072
|
}
|
|
5075
5073
|
},
|
|
5076
|
-
"description": "
|
|
5074
|
+
"description": "List all builds for a static host",
|
|
5077
5075
|
"examples": [
|
|
5078
|
-
"$ xano
|
|
5079
|
-
"$ xano
|
|
5080
|
-
"$ xano
|
|
5076
|
+
"$ 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",
|
|
5077
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
5078
|
+
"$ 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",
|
|
5079
|
+
"$ 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"
|
|
5081
5080
|
],
|
|
5082
5081
|
"flags": {
|
|
5083
5082
|
"profile": {
|
|
@@ -5099,18 +5098,10 @@
|
|
|
5099
5098
|
"allowNo": false,
|
|
5100
5099
|
"type": "boolean"
|
|
5101
5100
|
},
|
|
5102
|
-
"
|
|
5103
|
-
"description": "Backup ID to export",
|
|
5104
|
-
"name": "backup_id",
|
|
5105
|
-
"required": true,
|
|
5106
|
-
"hasDynamicHelp": false,
|
|
5107
|
-
"multiple": false,
|
|
5108
|
-
"type": "option"
|
|
5109
|
-
},
|
|
5110
|
-
"format": {
|
|
5101
|
+
"output": {
|
|
5111
5102
|
"char": "o",
|
|
5112
5103
|
"description": "Output format",
|
|
5113
|
-
"name": "
|
|
5104
|
+
"name": "output",
|
|
5114
5105
|
"required": false,
|
|
5115
5106
|
"default": "summary",
|
|
5116
5107
|
"hasDynamicHelp": false,
|
|
@@ -5121,17 +5112,27 @@
|
|
|
5121
5112
|
],
|
|
5122
5113
|
"type": "option"
|
|
5123
5114
|
},
|
|
5124
|
-
"
|
|
5125
|
-
"description": "
|
|
5126
|
-
"name": "
|
|
5115
|
+
"page": {
|
|
5116
|
+
"description": "Page number for pagination",
|
|
5117
|
+
"name": "page",
|
|
5118
|
+
"required": false,
|
|
5119
|
+
"default": 1,
|
|
5120
|
+
"hasDynamicHelp": false,
|
|
5121
|
+
"multiple": false,
|
|
5122
|
+
"type": "option"
|
|
5123
|
+
},
|
|
5124
|
+
"per_page": {
|
|
5125
|
+
"description": "Number of results per page",
|
|
5126
|
+
"name": "per_page",
|
|
5127
5127
|
"required": false,
|
|
5128
|
+
"default": 50,
|
|
5128
5129
|
"hasDynamicHelp": false,
|
|
5129
5130
|
"multiple": false,
|
|
5130
5131
|
"type": "option"
|
|
5131
5132
|
},
|
|
5132
5133
|
"workspace": {
|
|
5133
5134
|
"char": "w",
|
|
5134
|
-
"description": "Workspace ID (
|
|
5135
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5135
5136
|
"name": "workspace",
|
|
5136
5137
|
"required": false,
|
|
5137
5138
|
"hasDynamicHelp": false,
|
|
@@ -5141,7 +5142,7 @@
|
|
|
5141
5142
|
},
|
|
5142
5143
|
"hasDynamicHelp": false,
|
|
5143
5144
|
"hiddenAliases": [],
|
|
5144
|
-
"id": "
|
|
5145
|
+
"id": "static_host:build:list",
|
|
5145
5146
|
"pluginAlias": "@xano/cli",
|
|
5146
5147
|
"pluginName": "@xano/cli",
|
|
5147
5148
|
"pluginType": "core",
|
|
@@ -5151,25 +5152,25 @@
|
|
|
5151
5152
|
"relativePath": [
|
|
5152
5153
|
"dist",
|
|
5153
5154
|
"commands",
|
|
5154
|
-
"
|
|
5155
|
-
"
|
|
5156
|
-
"
|
|
5155
|
+
"static_host",
|
|
5156
|
+
"build",
|
|
5157
|
+
"list",
|
|
5157
5158
|
"index.js"
|
|
5158
5159
|
]
|
|
5159
5160
|
},
|
|
5160
|
-
"tenant:backup:
|
|
5161
|
+
"tenant:backup:create": {
|
|
5161
5162
|
"aliases": [],
|
|
5162
5163
|
"args": {
|
|
5163
5164
|
"tenant_name": {
|
|
5164
|
-
"description": "Tenant name to
|
|
5165
|
+
"description": "Tenant name to back up",
|
|
5165
5166
|
"name": "tenant_name",
|
|
5166
5167
|
"required": true
|
|
5167
5168
|
}
|
|
5168
5169
|
},
|
|
5169
|
-
"description": "
|
|
5170
|
+
"description": "Create a backup for a tenant",
|
|
5170
5171
|
"examples": [
|
|
5171
|
-
"$ xano tenant backup
|
|
5172
|
-
"$ xano tenant backup
|
|
5172
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5173
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5173
5174
|
],
|
|
5174
5175
|
"flags": {
|
|
5175
5176
|
"profile": {
|
|
@@ -5191,6 +5192,16 @@
|
|
|
5191
5192
|
"allowNo": false,
|
|
5192
5193
|
"type": "boolean"
|
|
5193
5194
|
},
|
|
5195
|
+
"description": {
|
|
5196
|
+
"char": "d",
|
|
5197
|
+
"description": "Backup description",
|
|
5198
|
+
"name": "description",
|
|
5199
|
+
"required": false,
|
|
5200
|
+
"default": "",
|
|
5201
|
+
"hasDynamicHelp": false,
|
|
5202
|
+
"multiple": false,
|
|
5203
|
+
"type": "option"
|
|
5204
|
+
},
|
|
5194
5205
|
"output": {
|
|
5195
5206
|
"char": "o",
|
|
5196
5207
|
"description": "Output format",
|
|
@@ -5205,15 +5216,6 @@
|
|
|
5205
5216
|
],
|
|
5206
5217
|
"type": "option"
|
|
5207
5218
|
},
|
|
5208
|
-
"page": {
|
|
5209
|
-
"description": "Page number for pagination",
|
|
5210
|
-
"name": "page",
|
|
5211
|
-
"required": false,
|
|
5212
|
-
"default": 1,
|
|
5213
|
-
"hasDynamicHelp": false,
|
|
5214
|
-
"multiple": false,
|
|
5215
|
-
"type": "option"
|
|
5216
|
-
},
|
|
5217
5219
|
"workspace": {
|
|
5218
5220
|
"char": "w",
|
|
5219
5221
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5226,7 +5228,7 @@
|
|
|
5226
5228
|
},
|
|
5227
5229
|
"hasDynamicHelp": false,
|
|
5228
5230
|
"hiddenAliases": [],
|
|
5229
|
-
"id": "tenant:backup:
|
|
5231
|
+
"id": "tenant:backup:create",
|
|
5230
5232
|
"pluginAlias": "@xano/cli",
|
|
5231
5233
|
"pluginName": "@xano/cli",
|
|
5232
5234
|
"pluginType": "core",
|
|
@@ -5238,23 +5240,24 @@
|
|
|
5238
5240
|
"commands",
|
|
5239
5241
|
"tenant",
|
|
5240
5242
|
"backup",
|
|
5241
|
-
"
|
|
5243
|
+
"create",
|
|
5242
5244
|
"index.js"
|
|
5243
5245
|
]
|
|
5244
5246
|
},
|
|
5245
|
-
"tenant:backup:
|
|
5247
|
+
"tenant:backup:delete": {
|
|
5246
5248
|
"aliases": [],
|
|
5247
5249
|
"args": {
|
|
5248
5250
|
"tenant_name": {
|
|
5249
|
-
"description": "Tenant name
|
|
5251
|
+
"description": "Tenant name that owns the backup",
|
|
5250
5252
|
"name": "tenant_name",
|
|
5251
5253
|
"required": true
|
|
5252
5254
|
}
|
|
5253
5255
|
},
|
|
5254
|
-
"description": "
|
|
5256
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5255
5257
|
"examples": [
|
|
5256
|
-
"$ xano tenant backup
|
|
5257
|
-
"$ xano tenant backup
|
|
5258
|
+
"$ 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",
|
|
5259
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5260
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5258
5261
|
],
|
|
5259
5262
|
"flags": {
|
|
5260
5263
|
"profile": {
|
|
@@ -5277,7 +5280,7 @@
|
|
|
5277
5280
|
"type": "boolean"
|
|
5278
5281
|
},
|
|
5279
5282
|
"backup_id": {
|
|
5280
|
-
"description": "Backup ID to
|
|
5283
|
+
"description": "Backup ID to delete",
|
|
5281
5284
|
"name": "backup_id",
|
|
5282
5285
|
"required": true,
|
|
5283
5286
|
"hasDynamicHelp": false,
|
|
@@ -5318,7 +5321,7 @@
|
|
|
5318
5321
|
},
|
|
5319
5322
|
"hasDynamicHelp": false,
|
|
5320
5323
|
"hiddenAliases": [],
|
|
5321
|
-
"id": "tenant:backup:
|
|
5324
|
+
"id": "tenant:backup:delete",
|
|
5322
5325
|
"pluginAlias": "@xano/cli",
|
|
5323
5326
|
"pluginName": "@xano/cli",
|
|
5324
5327
|
"pluginType": "core",
|
|
@@ -5330,7 +5333,7 @@
|
|
|
5330
5333
|
"commands",
|
|
5331
5334
|
"tenant",
|
|
5332
5335
|
"backup",
|
|
5333
|
-
"
|
|
5336
|
+
"delete",
|
|
5334
5337
|
"index.js"
|
|
5335
5338
|
]
|
|
5336
5339
|
},
|
|
@@ -5429,13 +5432,20 @@
|
|
|
5429
5432
|
"index.js"
|
|
5430
5433
|
]
|
|
5431
5434
|
},
|
|
5432
|
-
"tenant:
|
|
5435
|
+
"tenant:backup:export": {
|
|
5433
5436
|
"aliases": [],
|
|
5434
|
-
"args": {
|
|
5435
|
-
|
|
5437
|
+
"args": {
|
|
5438
|
+
"tenant_name": {
|
|
5439
|
+
"description": "Tenant name to export backup from",
|
|
5440
|
+
"name": "tenant_name",
|
|
5441
|
+
"required": true
|
|
5442
|
+
}
|
|
5443
|
+
},
|
|
5444
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5436
5445
|
"examples": [
|
|
5437
|
-
"$ xano tenant
|
|
5438
|
-
"$ xano tenant
|
|
5446
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5447
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5448
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5439
5449
|
],
|
|
5440
5450
|
"flags": {
|
|
5441
5451
|
"profile": {
|
|
@@ -5457,54 +5467,98 @@
|
|
|
5457
5467
|
"allowNo": false,
|
|
5458
5468
|
"type": "boolean"
|
|
5459
5469
|
},
|
|
5460
|
-
"
|
|
5461
|
-
"description": "
|
|
5462
|
-
"
|
|
5463
|
-
|
|
5464
|
-
],
|
|
5465
|
-
"name": "credentials",
|
|
5466
|
-
"required": false,
|
|
5470
|
+
"backup_id": {
|
|
5471
|
+
"description": "Backup ID to export",
|
|
5472
|
+
"name": "backup_id",
|
|
5473
|
+
"required": true,
|
|
5467
5474
|
"hasDynamicHelp": false,
|
|
5468
5475
|
"multiple": false,
|
|
5469
5476
|
"type": "option"
|
|
5470
5477
|
},
|
|
5471
|
-
"
|
|
5472
|
-
"
|
|
5473
|
-
"
|
|
5474
|
-
|
|
5475
|
-
],
|
|
5476
|
-
"name": "credentials_file",
|
|
5478
|
+
"format": {
|
|
5479
|
+
"char": "o",
|
|
5480
|
+
"description": "Output format",
|
|
5481
|
+
"name": "format",
|
|
5477
5482
|
"required": false,
|
|
5483
|
+
"default": "summary",
|
|
5478
5484
|
"hasDynamicHelp": false,
|
|
5479
5485
|
"multiple": false,
|
|
5486
|
+
"options": [
|
|
5487
|
+
"summary",
|
|
5488
|
+
"json"
|
|
5489
|
+
],
|
|
5480
5490
|
"type": "option"
|
|
5481
5491
|
},
|
|
5482
|
-
"
|
|
5483
|
-
"
|
|
5484
|
-
"
|
|
5485
|
-
"name": "description",
|
|
5492
|
+
"output": {
|
|
5493
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5494
|
+
"name": "output",
|
|
5486
5495
|
"required": false,
|
|
5487
5496
|
"hasDynamicHelp": false,
|
|
5488
5497
|
"multiple": false,
|
|
5489
5498
|
"type": "option"
|
|
5490
5499
|
},
|
|
5491
|
-
"
|
|
5492
|
-
"
|
|
5493
|
-
"
|
|
5500
|
+
"workspace": {
|
|
5501
|
+
"char": "w",
|
|
5502
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5503
|
+
"name": "workspace",
|
|
5494
5504
|
"required": false,
|
|
5495
5505
|
"hasDynamicHelp": false,
|
|
5496
5506
|
"multiple": false,
|
|
5497
5507
|
"type": "option"
|
|
5498
|
-
}
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5508
|
+
}
|
|
5509
|
+
},
|
|
5510
|
+
"hasDynamicHelp": false,
|
|
5511
|
+
"hiddenAliases": [],
|
|
5512
|
+
"id": "tenant:backup:export",
|
|
5513
|
+
"pluginAlias": "@xano/cli",
|
|
5514
|
+
"pluginName": "@xano/cli",
|
|
5515
|
+
"pluginType": "core",
|
|
5516
|
+
"strict": true,
|
|
5517
|
+
"enableJsonFlag": false,
|
|
5518
|
+
"isESM": true,
|
|
5519
|
+
"relativePath": [
|
|
5520
|
+
"dist",
|
|
5521
|
+
"commands",
|
|
5522
|
+
"tenant",
|
|
5523
|
+
"backup",
|
|
5524
|
+
"export",
|
|
5525
|
+
"index.js"
|
|
5526
|
+
]
|
|
5527
|
+
},
|
|
5528
|
+
"tenant:backup:list": {
|
|
5529
|
+
"aliases": [],
|
|
5530
|
+
"args": {
|
|
5531
|
+
"tenant_name": {
|
|
5532
|
+
"description": "Tenant name to list backups for",
|
|
5533
|
+
"name": "tenant_name",
|
|
5534
|
+
"required": true
|
|
5535
|
+
}
|
|
5536
|
+
},
|
|
5537
|
+
"description": "List backups for a tenant",
|
|
5538
|
+
"examples": [
|
|
5539
|
+
"$ 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",
|
|
5540
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5541
|
+
],
|
|
5542
|
+
"flags": {
|
|
5543
|
+
"profile": {
|
|
5544
|
+
"char": "p",
|
|
5545
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5546
|
+
"env": "XANO_PROFILE",
|
|
5547
|
+
"name": "profile",
|
|
5548
|
+
"required": false,
|
|
5549
|
+
"hasDynamicHelp": false,
|
|
5505
5550
|
"multiple": false,
|
|
5506
5551
|
"type": "option"
|
|
5507
5552
|
},
|
|
5553
|
+
"verbose": {
|
|
5554
|
+
"char": "v",
|
|
5555
|
+
"description": "Show detailed request/response information",
|
|
5556
|
+
"env": "XANO_VERBOSE",
|
|
5557
|
+
"name": "verbose",
|
|
5558
|
+
"required": false,
|
|
5559
|
+
"allowNo": false,
|
|
5560
|
+
"type": "boolean"
|
|
5561
|
+
},
|
|
5508
5562
|
"output": {
|
|
5509
5563
|
"char": "o",
|
|
5510
5564
|
"description": "Output format",
|
|
@@ -5519,23 +5573,28 @@
|
|
|
5519
5573
|
],
|
|
5520
5574
|
"type": "option"
|
|
5521
5575
|
},
|
|
5522
|
-
"
|
|
5523
|
-
"description": "
|
|
5524
|
-
"name": "
|
|
5576
|
+
"page": {
|
|
5577
|
+
"description": "Page number for pagination",
|
|
5578
|
+
"name": "page",
|
|
5579
|
+
"required": false,
|
|
5580
|
+
"default": 1,
|
|
5581
|
+
"hasDynamicHelp": false,
|
|
5582
|
+
"multiple": false,
|
|
5583
|
+
"type": "option"
|
|
5584
|
+
},
|
|
5585
|
+
"workspace": {
|
|
5586
|
+
"char": "w",
|
|
5587
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5588
|
+
"name": "workspace",
|
|
5525
5589
|
"required": false,
|
|
5526
|
-
"default": "standard",
|
|
5527
5590
|
"hasDynamicHelp": false,
|
|
5528
5591
|
"multiple": false,
|
|
5529
|
-
"options": [
|
|
5530
|
-
"standard",
|
|
5531
|
-
"run"
|
|
5532
|
-
],
|
|
5533
5592
|
"type": "option"
|
|
5534
5593
|
}
|
|
5535
5594
|
},
|
|
5536
5595
|
"hasDynamicHelp": false,
|
|
5537
5596
|
"hiddenAliases": [],
|
|
5538
|
-
"id": "tenant:
|
|
5597
|
+
"id": "tenant:backup:list",
|
|
5539
5598
|
"pluginAlias": "@xano/cli",
|
|
5540
5599
|
"pluginName": "@xano/cli",
|
|
5541
5600
|
"pluginType": "core",
|
|
@@ -5546,25 +5605,24 @@
|
|
|
5546
5605
|
"dist",
|
|
5547
5606
|
"commands",
|
|
5548
5607
|
"tenant",
|
|
5549
|
-
"
|
|
5550
|
-
"
|
|
5608
|
+
"backup",
|
|
5609
|
+
"list",
|
|
5551
5610
|
"index.js"
|
|
5552
5611
|
]
|
|
5553
5612
|
},
|
|
5554
|
-
"tenant:
|
|
5613
|
+
"tenant:backup:restore": {
|
|
5555
5614
|
"aliases": [],
|
|
5556
5615
|
"args": {
|
|
5557
|
-
"
|
|
5558
|
-
"description": "
|
|
5559
|
-
"name": "
|
|
5616
|
+
"tenant_name": {
|
|
5617
|
+
"description": "Tenant name to restore",
|
|
5618
|
+
"name": "tenant_name",
|
|
5560
5619
|
"required": true
|
|
5561
5620
|
}
|
|
5562
5621
|
},
|
|
5563
|
-
"description": "
|
|
5622
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5564
5623
|
"examples": [
|
|
5565
|
-
"$ xano tenant
|
|
5566
|
-
"$ xano tenant
|
|
5567
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5624
|
+
"$ 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",
|
|
5625
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5568
5626
|
],
|
|
5569
5627
|
"flags": {
|
|
5570
5628
|
"profile": {
|
|
@@ -5586,6 +5644,14 @@
|
|
|
5586
5644
|
"allowNo": false,
|
|
5587
5645
|
"type": "boolean"
|
|
5588
5646
|
},
|
|
5647
|
+
"backup_id": {
|
|
5648
|
+
"description": "Backup ID to restore from",
|
|
5649
|
+
"name": "backup_id",
|
|
5650
|
+
"required": true,
|
|
5651
|
+
"hasDynamicHelp": false,
|
|
5652
|
+
"multiple": false,
|
|
5653
|
+
"type": "option"
|
|
5654
|
+
},
|
|
5589
5655
|
"force": {
|
|
5590
5656
|
"char": "f",
|
|
5591
5657
|
"description": "Skip confirmation prompt",
|
|
@@ -5607,11 +5673,20 @@
|
|
|
5607
5673
|
"json"
|
|
5608
5674
|
],
|
|
5609
5675
|
"type": "option"
|
|
5676
|
+
},
|
|
5677
|
+
"workspace": {
|
|
5678
|
+
"char": "w",
|
|
5679
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5680
|
+
"name": "workspace",
|
|
5681
|
+
"required": false,
|
|
5682
|
+
"hasDynamicHelp": false,
|
|
5683
|
+
"multiple": false,
|
|
5684
|
+
"type": "option"
|
|
5610
5685
|
}
|
|
5611
5686
|
},
|
|
5612
5687
|
"hasDynamicHelp": false,
|
|
5613
5688
|
"hiddenAliases": [],
|
|
5614
|
-
"id": "tenant:
|
|
5689
|
+
"id": "tenant:backup:restore",
|
|
5615
5690
|
"pluginAlias": "@xano/cli",
|
|
5616
5691
|
"pluginName": "@xano/cli",
|
|
5617
5692
|
"pluginType": "core",
|
|
@@ -5622,24 +5697,18 @@
|
|
|
5622
5697
|
"dist",
|
|
5623
5698
|
"commands",
|
|
5624
5699
|
"tenant",
|
|
5625
|
-
"
|
|
5626
|
-
"
|
|
5700
|
+
"backup",
|
|
5701
|
+
"restore",
|
|
5627
5702
|
"index.js"
|
|
5628
5703
|
]
|
|
5629
5704
|
},
|
|
5630
|
-
"tenant:cluster:
|
|
5705
|
+
"tenant:cluster:create": {
|
|
5631
5706
|
"aliases": [],
|
|
5632
|
-
"args": {
|
|
5633
|
-
|
|
5634
|
-
"description": "Cluster ID to edit",
|
|
5635
|
-
"name": "cluster_id",
|
|
5636
|
-
"required": true
|
|
5637
|
-
}
|
|
5638
|
-
},
|
|
5639
|
-
"description": "Update an existing tenant cluster",
|
|
5707
|
+
"args": {},
|
|
5708
|
+
"description": "Create a new tenant cluster",
|
|
5640
5709
|
"examples": [
|
|
5641
|
-
"$ xano tenant cluster
|
|
5642
|
-
"$ xano tenant cluster
|
|
5710
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5711
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5643
5712
|
],
|
|
5644
5713
|
"flags": {
|
|
5645
5714
|
"profile": {
|
|
@@ -5661,11 +5730,33 @@
|
|
|
5661
5730
|
"allowNo": false,
|
|
5662
5731
|
"type": "boolean"
|
|
5663
5732
|
},
|
|
5733
|
+
"credentials": {
|
|
5734
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5735
|
+
"exclusive": [
|
|
5736
|
+
"credentials_file"
|
|
5737
|
+
],
|
|
5738
|
+
"name": "credentials",
|
|
5739
|
+
"required": false,
|
|
5740
|
+
"hasDynamicHelp": false,
|
|
5741
|
+
"multiple": false,
|
|
5742
|
+
"type": "option"
|
|
5743
|
+
},
|
|
5744
|
+
"credentials_file": {
|
|
5745
|
+
"description": "Path to kubeconfig credentials file",
|
|
5746
|
+
"exclusive": [
|
|
5747
|
+
"credentials"
|
|
5748
|
+
],
|
|
5749
|
+
"name": "credentials_file",
|
|
5750
|
+
"required": false,
|
|
5751
|
+
"hasDynamicHelp": false,
|
|
5752
|
+
"multiple": false,
|
|
5753
|
+
"type": "option"
|
|
5754
|
+
},
|
|
5664
5755
|
"description": {
|
|
5665
5756
|
"char": "d",
|
|
5666
5757
|
"description": "Cluster description",
|
|
5667
5758
|
"name": "description",
|
|
5668
|
-
"required":
|
|
5759
|
+
"required": false,
|
|
5669
5760
|
"hasDynamicHelp": false,
|
|
5670
5761
|
"multiple": false,
|
|
5671
5762
|
"type": "option"
|
|
@@ -5673,7 +5764,7 @@
|
|
|
5673
5764
|
"domain": {
|
|
5674
5765
|
"description": "Custom domain for the cluster",
|
|
5675
5766
|
"name": "domain",
|
|
5676
|
-
"required":
|
|
5767
|
+
"required": false,
|
|
5677
5768
|
"hasDynamicHelp": false,
|
|
5678
5769
|
"multiple": false,
|
|
5679
5770
|
"type": "option"
|
|
@@ -5704,7 +5795,8 @@
|
|
|
5704
5795
|
"type": {
|
|
5705
5796
|
"description": "Cluster type",
|
|
5706
5797
|
"name": "type",
|
|
5707
|
-
"required":
|
|
5798
|
+
"required": false,
|
|
5799
|
+
"default": "standard",
|
|
5708
5800
|
"hasDynamicHelp": false,
|
|
5709
5801
|
"multiple": false,
|
|
5710
5802
|
"options": [
|
|
@@ -5716,7 +5808,7 @@
|
|
|
5716
5808
|
},
|
|
5717
5809
|
"hasDynamicHelp": false,
|
|
5718
5810
|
"hiddenAliases": [],
|
|
5719
|
-
"id": "tenant:cluster:
|
|
5811
|
+
"id": "tenant:cluster:create",
|
|
5720
5812
|
"pluginAlias": "@xano/cli",
|
|
5721
5813
|
"pluginName": "@xano/cli",
|
|
5722
5814
|
"pluginType": "core",
|
|
@@ -5728,23 +5820,24 @@
|
|
|
5728
5820
|
"commands",
|
|
5729
5821
|
"tenant",
|
|
5730
5822
|
"cluster",
|
|
5731
|
-
"
|
|
5823
|
+
"create",
|
|
5732
5824
|
"index.js"
|
|
5733
5825
|
]
|
|
5734
5826
|
},
|
|
5735
|
-
"tenant:cluster:
|
|
5827
|
+
"tenant:cluster:delete": {
|
|
5736
5828
|
"aliases": [],
|
|
5737
5829
|
"args": {
|
|
5738
5830
|
"cluster_id": {
|
|
5739
|
-
"description": "Cluster ID to
|
|
5831
|
+
"description": "Cluster ID to delete",
|
|
5740
5832
|
"name": "cluster_id",
|
|
5741
5833
|
"required": true
|
|
5742
5834
|
}
|
|
5743
5835
|
},
|
|
5744
|
-
"description": "
|
|
5836
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5745
5837
|
"examples": [
|
|
5746
|
-
"$ xano tenant cluster
|
|
5747
|
-
"$ xano tenant cluster
|
|
5838
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5839
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5840
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5748
5841
|
],
|
|
5749
5842
|
"flags": {
|
|
5750
5843
|
"profile": {
|
|
@@ -5766,63 +5859,10 @@
|
|
|
5766
5859
|
"allowNo": false,
|
|
5767
5860
|
"type": "boolean"
|
|
5768
5861
|
},
|
|
5769
|
-
"
|
|
5770
|
-
"char": "
|
|
5771
|
-
"description": "
|
|
5772
|
-
"name": "
|
|
5773
|
-
"required": false,
|
|
5774
|
-
"default": "summary",
|
|
5775
|
-
"hasDynamicHelp": false,
|
|
5776
|
-
"multiple": false,
|
|
5777
|
-
"options": [
|
|
5778
|
-
"summary",
|
|
5779
|
-
"json"
|
|
5780
|
-
],
|
|
5781
|
-
"type": "option"
|
|
5782
|
-
}
|
|
5783
|
-
},
|
|
5784
|
-
"hasDynamicHelp": false,
|
|
5785
|
-
"hiddenAliases": [],
|
|
5786
|
-
"id": "tenant:cluster:get",
|
|
5787
|
-
"pluginAlias": "@xano/cli",
|
|
5788
|
-
"pluginName": "@xano/cli",
|
|
5789
|
-
"pluginType": "core",
|
|
5790
|
-
"strict": true,
|
|
5791
|
-
"enableJsonFlag": false,
|
|
5792
|
-
"isESM": true,
|
|
5793
|
-
"relativePath": [
|
|
5794
|
-
"dist",
|
|
5795
|
-
"commands",
|
|
5796
|
-
"tenant",
|
|
5797
|
-
"cluster",
|
|
5798
|
-
"get",
|
|
5799
|
-
"index.js"
|
|
5800
|
-
]
|
|
5801
|
-
},
|
|
5802
|
-
"tenant:cluster:list": {
|
|
5803
|
-
"aliases": [],
|
|
5804
|
-
"args": {},
|
|
5805
|
-
"description": "List all tenant clusters",
|
|
5806
|
-
"examples": [
|
|
5807
|
-
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5808
|
-
"$ xano tenant cluster list --output json"
|
|
5809
|
-
],
|
|
5810
|
-
"flags": {
|
|
5811
|
-
"profile": {
|
|
5812
|
-
"char": "p",
|
|
5813
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5814
|
-
"env": "XANO_PROFILE",
|
|
5815
|
-
"name": "profile",
|
|
5816
|
-
"required": false,
|
|
5817
|
-
"hasDynamicHelp": false,
|
|
5818
|
-
"multiple": false,
|
|
5819
|
-
"type": "option"
|
|
5820
|
-
},
|
|
5821
|
-
"verbose": {
|
|
5822
|
-
"char": "v",
|
|
5823
|
-
"description": "Show detailed request/response information",
|
|
5824
|
-
"env": "XANO_VERBOSE",
|
|
5825
|
-
"name": "verbose",
|
|
5862
|
+
"force": {
|
|
5863
|
+
"char": "f",
|
|
5864
|
+
"description": "Skip confirmation prompt",
|
|
5865
|
+
"name": "force",
|
|
5826
5866
|
"required": false,
|
|
5827
5867
|
"allowNo": false,
|
|
5828
5868
|
"type": "boolean"
|
|
@@ -5844,7 +5884,7 @@
|
|
|
5844
5884
|
},
|
|
5845
5885
|
"hasDynamicHelp": false,
|
|
5846
5886
|
"hiddenAliases": [],
|
|
5847
|
-
"id": "tenant:cluster:
|
|
5887
|
+
"id": "tenant:cluster:delete",
|
|
5848
5888
|
"pluginAlias": "@xano/cli",
|
|
5849
5889
|
"pluginName": "@xano/cli",
|
|
5850
5890
|
"pluginType": "core",
|
|
@@ -5856,24 +5896,23 @@
|
|
|
5856
5896
|
"commands",
|
|
5857
5897
|
"tenant",
|
|
5858
5898
|
"cluster",
|
|
5859
|
-
"
|
|
5899
|
+
"delete",
|
|
5860
5900
|
"index.js"
|
|
5861
5901
|
]
|
|
5862
5902
|
},
|
|
5863
|
-
"tenant:
|
|
5903
|
+
"tenant:cluster:edit": {
|
|
5864
5904
|
"aliases": [],
|
|
5865
5905
|
"args": {
|
|
5866
|
-
"
|
|
5867
|
-
"description": "
|
|
5868
|
-
"name": "
|
|
5906
|
+
"cluster_id": {
|
|
5907
|
+
"description": "Cluster ID to edit",
|
|
5908
|
+
"name": "cluster_id",
|
|
5869
5909
|
"required": true
|
|
5870
5910
|
}
|
|
5871
5911
|
},
|
|
5872
|
-
"description": "
|
|
5912
|
+
"description": "Update an existing tenant cluster",
|
|
5873
5913
|
"examples": [
|
|
5874
|
-
"$ xano tenant
|
|
5875
|
-
"$ xano tenant
|
|
5876
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
5914
|
+
"$ 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",
|
|
5915
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5877
5916
|
],
|
|
5878
5917
|
"flags": {
|
|
5879
5918
|
"profile": {
|
|
@@ -5895,17 +5934,26 @@
|
|
|
5895
5934
|
"allowNo": false,
|
|
5896
5935
|
"type": "boolean"
|
|
5897
5936
|
},
|
|
5898
|
-
"
|
|
5899
|
-
"char": "
|
|
5900
|
-
"description": "
|
|
5901
|
-
"name": "
|
|
5902
|
-
"required":
|
|
5903
|
-
"
|
|
5904
|
-
"
|
|
5937
|
+
"description": {
|
|
5938
|
+
"char": "d",
|
|
5939
|
+
"description": "Cluster description",
|
|
5940
|
+
"name": "description",
|
|
5941
|
+
"required": true,
|
|
5942
|
+
"hasDynamicHelp": false,
|
|
5943
|
+
"multiple": false,
|
|
5944
|
+
"type": "option"
|
|
5945
|
+
},
|
|
5946
|
+
"domain": {
|
|
5947
|
+
"description": "Custom domain for the cluster",
|
|
5948
|
+
"name": "domain",
|
|
5949
|
+
"required": true,
|
|
5950
|
+
"hasDynamicHelp": false,
|
|
5951
|
+
"multiple": false,
|
|
5952
|
+
"type": "option"
|
|
5905
5953
|
},
|
|
5906
5954
|
"name": {
|
|
5907
5955
|
"char": "n",
|
|
5908
|
-
"description": "
|
|
5956
|
+
"description": "Cluster name",
|
|
5909
5957
|
"name": "name",
|
|
5910
5958
|
"required": true,
|
|
5911
5959
|
"hasDynamicHelp": false,
|
|
@@ -5926,19 +5974,22 @@
|
|
|
5926
5974
|
],
|
|
5927
5975
|
"type": "option"
|
|
5928
5976
|
},
|
|
5929
|
-
"
|
|
5930
|
-
"
|
|
5931
|
-
"
|
|
5932
|
-
"
|
|
5933
|
-
"required": false,
|
|
5977
|
+
"type": {
|
|
5978
|
+
"description": "Cluster type",
|
|
5979
|
+
"name": "type",
|
|
5980
|
+
"required": true,
|
|
5934
5981
|
"hasDynamicHelp": false,
|
|
5935
5982
|
"multiple": false,
|
|
5983
|
+
"options": [
|
|
5984
|
+
"standard",
|
|
5985
|
+
"run"
|
|
5986
|
+
],
|
|
5936
5987
|
"type": "option"
|
|
5937
5988
|
}
|
|
5938
5989
|
},
|
|
5939
5990
|
"hasDynamicHelp": false,
|
|
5940
5991
|
"hiddenAliases": [],
|
|
5941
|
-
"id": "tenant:
|
|
5992
|
+
"id": "tenant:cluster:edit",
|
|
5942
5993
|
"pluginAlias": "@xano/cli",
|
|
5943
5994
|
"pluginName": "@xano/cli",
|
|
5944
5995
|
"pluginType": "core",
|
|
@@ -5949,24 +6000,24 @@
|
|
|
5949
6000
|
"dist",
|
|
5950
6001
|
"commands",
|
|
5951
6002
|
"tenant",
|
|
5952
|
-
"
|
|
5953
|
-
"
|
|
6003
|
+
"cluster",
|
|
6004
|
+
"edit",
|
|
5954
6005
|
"index.js"
|
|
5955
6006
|
]
|
|
5956
6007
|
},
|
|
5957
|
-
"tenant:
|
|
6008
|
+
"tenant:cluster:get": {
|
|
5958
6009
|
"aliases": [],
|
|
5959
6010
|
"args": {
|
|
5960
|
-
"
|
|
5961
|
-
"description": "
|
|
5962
|
-
"name": "
|
|
6011
|
+
"cluster_id": {
|
|
6012
|
+
"description": "Cluster ID to retrieve",
|
|
6013
|
+
"name": "cluster_id",
|
|
5963
6014
|
"required": true
|
|
5964
6015
|
}
|
|
5965
6016
|
},
|
|
5966
|
-
"description": "Get
|
|
6017
|
+
"description": "Get details of a specific tenant cluster",
|
|
5967
6018
|
"examples": [
|
|
5968
|
-
"$ xano tenant
|
|
5969
|
-
"$ xano tenant
|
|
6019
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
6020
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5970
6021
|
],
|
|
5971
6022
|
"flags": {
|
|
5972
6023
|
"profile": {
|
|
@@ -5988,15 +6039,6 @@
|
|
|
5988
6039
|
"allowNo": false,
|
|
5989
6040
|
"type": "boolean"
|
|
5990
6041
|
},
|
|
5991
|
-
"name": {
|
|
5992
|
-
"char": "n",
|
|
5993
|
-
"description": "Environment variable name",
|
|
5994
|
-
"name": "name",
|
|
5995
|
-
"required": true,
|
|
5996
|
-
"hasDynamicHelp": false,
|
|
5997
|
-
"multiple": false,
|
|
5998
|
-
"type": "option"
|
|
5999
|
-
},
|
|
6000
6042
|
"output": {
|
|
6001
6043
|
"char": "o",
|
|
6002
6044
|
"description": "Output format",
|
|
@@ -6010,20 +6052,11 @@
|
|
|
6010
6052
|
"json"
|
|
6011
6053
|
],
|
|
6012
6054
|
"type": "option"
|
|
6013
|
-
},
|
|
6014
|
-
"workspace": {
|
|
6015
|
-
"char": "w",
|
|
6016
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6017
|
-
"name": "workspace",
|
|
6018
|
-
"required": false,
|
|
6019
|
-
"hasDynamicHelp": false,
|
|
6020
|
-
"multiple": false,
|
|
6021
|
-
"type": "option"
|
|
6022
6055
|
}
|
|
6023
6056
|
},
|
|
6024
6057
|
"hasDynamicHelp": false,
|
|
6025
6058
|
"hiddenAliases": [],
|
|
6026
|
-
"id": "tenant:
|
|
6059
|
+
"id": "tenant:cluster:get",
|
|
6027
6060
|
"pluginAlias": "@xano/cli",
|
|
6028
6061
|
"pluginName": "@xano/cli",
|
|
6029
6062
|
"pluginType": "core",
|
|
@@ -6034,12 +6067,12 @@
|
|
|
6034
6067
|
"dist",
|
|
6035
6068
|
"commands",
|
|
6036
6069
|
"tenant",
|
|
6037
|
-
"
|
|
6070
|
+
"cluster",
|
|
6038
6071
|
"get",
|
|
6039
6072
|
"index.js"
|
|
6040
6073
|
]
|
|
6041
6074
|
},
|
|
6042
|
-
"tenant:env:
|
|
6075
|
+
"tenant:env:delete": {
|
|
6043
6076
|
"aliases": [],
|
|
6044
6077
|
"args": {
|
|
6045
6078
|
"tenant_name": {
|
|
@@ -6048,12 +6081,11 @@
|
|
|
6048
6081
|
"required": true
|
|
6049
6082
|
}
|
|
6050
6083
|
},
|
|
6051
|
-
"description": "
|
|
6084
|
+
"description": "Delete an environment variable from a tenant",
|
|
6052
6085
|
"examples": [
|
|
6053
|
-
"$ xano tenant env
|
|
6054
|
-
"$ xano tenant env
|
|
6055
|
-
"$ xano tenant env
|
|
6056
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6086
|
+
"$ 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",
|
|
6087
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6088
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6057
6089
|
],
|
|
6058
6090
|
"flags": {
|
|
6059
6091
|
"profile": {
|
|
@@ -6075,11 +6107,19 @@
|
|
|
6075
6107
|
"allowNo": false,
|
|
6076
6108
|
"type": "boolean"
|
|
6077
6109
|
},
|
|
6078
|
-
"
|
|
6110
|
+
"force": {
|
|
6079
6111
|
"char": "f",
|
|
6080
|
-
"description": "
|
|
6081
|
-
"name": "
|
|
6112
|
+
"description": "Skip confirmation prompt",
|
|
6113
|
+
"name": "force",
|
|
6082
6114
|
"required": false,
|
|
6115
|
+
"allowNo": false,
|
|
6116
|
+
"type": "boolean"
|
|
6117
|
+
},
|
|
6118
|
+
"name": {
|
|
6119
|
+
"char": "n",
|
|
6120
|
+
"description": "Environment variable name",
|
|
6121
|
+
"name": "name",
|
|
6122
|
+
"required": true,
|
|
6083
6123
|
"hasDynamicHelp": false,
|
|
6084
6124
|
"multiple": false,
|
|
6085
6125
|
"type": "option"
|
|
@@ -6098,13 +6138,6 @@
|
|
|
6098
6138
|
],
|
|
6099
6139
|
"type": "option"
|
|
6100
6140
|
},
|
|
6101
|
-
"view": {
|
|
6102
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6103
|
-
"name": "view",
|
|
6104
|
-
"required": false,
|
|
6105
|
-
"allowNo": false,
|
|
6106
|
-
"type": "boolean"
|
|
6107
|
-
},
|
|
6108
6141
|
"workspace": {
|
|
6109
6142
|
"char": "w",
|
|
6110
6143
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6117,7 +6150,7 @@
|
|
|
6117
6150
|
},
|
|
6118
6151
|
"hasDynamicHelp": false,
|
|
6119
6152
|
"hiddenAliases": [],
|
|
6120
|
-
"id": "tenant:env:
|
|
6153
|
+
"id": "tenant:env:delete",
|
|
6121
6154
|
"pluginAlias": "@xano/cli",
|
|
6122
6155
|
"pluginName": "@xano/cli",
|
|
6123
6156
|
"pluginType": "core",
|
|
@@ -6129,23 +6162,17 @@
|
|
|
6129
6162
|
"commands",
|
|
6130
6163
|
"tenant",
|
|
6131
6164
|
"env",
|
|
6132
|
-
"
|
|
6165
|
+
"delete",
|
|
6133
6166
|
"index.js"
|
|
6134
6167
|
]
|
|
6135
6168
|
},
|
|
6136
|
-
"tenant:
|
|
6169
|
+
"tenant:cluster:list": {
|
|
6137
6170
|
"aliases": [],
|
|
6138
|
-
"args": {
|
|
6139
|
-
|
|
6140
|
-
"description": "Tenant name",
|
|
6141
|
-
"name": "tenant_name",
|
|
6142
|
-
"required": true
|
|
6143
|
-
}
|
|
6144
|
-
},
|
|
6145
|
-
"description": "List environment variable keys for a tenant",
|
|
6171
|
+
"args": {},
|
|
6172
|
+
"description": "List all tenant clusters",
|
|
6146
6173
|
"examples": [
|
|
6147
|
-
"$ xano tenant
|
|
6148
|
-
"$ xano tenant
|
|
6174
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6175
|
+
"$ xano tenant cluster list --output json"
|
|
6149
6176
|
],
|
|
6150
6177
|
"flags": {
|
|
6151
6178
|
"profile": {
|
|
@@ -6180,20 +6207,11 @@
|
|
|
6180
6207
|
"json"
|
|
6181
6208
|
],
|
|
6182
6209
|
"type": "option"
|
|
6183
|
-
},
|
|
6184
|
-
"workspace": {
|
|
6185
|
-
"char": "w",
|
|
6186
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6187
|
-
"name": "workspace",
|
|
6188
|
-
"required": false,
|
|
6189
|
-
"hasDynamicHelp": false,
|
|
6190
|
-
"multiple": false,
|
|
6191
|
-
"type": "option"
|
|
6192
6210
|
}
|
|
6193
6211
|
},
|
|
6194
6212
|
"hasDynamicHelp": false,
|
|
6195
6213
|
"hiddenAliases": [],
|
|
6196
|
-
"id": "tenant:
|
|
6214
|
+
"id": "tenant:cluster:list",
|
|
6197
6215
|
"pluginAlias": "@xano/cli",
|
|
6198
6216
|
"pluginName": "@xano/cli",
|
|
6199
6217
|
"pluginType": "core",
|
|
@@ -6204,12 +6222,12 @@
|
|
|
6204
6222
|
"dist",
|
|
6205
6223
|
"commands",
|
|
6206
6224
|
"tenant",
|
|
6207
|
-
"
|
|
6225
|
+
"cluster",
|
|
6208
6226
|
"list",
|
|
6209
6227
|
"index.js"
|
|
6210
6228
|
]
|
|
6211
6229
|
},
|
|
6212
|
-
"tenant:env:
|
|
6230
|
+
"tenant:env:get": {
|
|
6213
6231
|
"aliases": [],
|
|
6214
6232
|
"args": {
|
|
6215
6233
|
"tenant_name": {
|
|
@@ -6218,11 +6236,10 @@
|
|
|
6218
6236
|
"required": true
|
|
6219
6237
|
}
|
|
6220
6238
|
},
|
|
6221
|
-
"description": "
|
|
6239
|
+
"description": "Get a single environment variable for a tenant",
|
|
6222
6240
|
"examples": [
|
|
6223
|
-
"$ xano tenant env
|
|
6224
|
-
"$ xano tenant env
|
|
6225
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6241
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6242
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6226
6243
|
],
|
|
6227
6244
|
"flags": {
|
|
6228
6245
|
"profile": {
|
|
@@ -6244,18 +6261,11 @@
|
|
|
6244
6261
|
"allowNo": false,
|
|
6245
6262
|
"type": "boolean"
|
|
6246
6263
|
},
|
|
6247
|
-
"
|
|
6248
|
-
"
|
|
6249
|
-
"
|
|
6250
|
-
"
|
|
6251
|
-
"
|
|
6252
|
-
"type": "boolean"
|
|
6253
|
-
},
|
|
6254
|
-
"file": {
|
|
6255
|
-
"char": "f",
|
|
6256
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6257
|
-
"name": "file",
|
|
6258
|
-
"required": false,
|
|
6264
|
+
"name": {
|
|
6265
|
+
"char": "n",
|
|
6266
|
+
"description": "Environment variable name",
|
|
6267
|
+
"name": "name",
|
|
6268
|
+
"required": true,
|
|
6259
6269
|
"hasDynamicHelp": false,
|
|
6260
6270
|
"multiple": false,
|
|
6261
6271
|
"type": "option"
|
|
@@ -6286,7 +6296,7 @@
|
|
|
6286
6296
|
},
|
|
6287
6297
|
"hasDynamicHelp": false,
|
|
6288
6298
|
"hiddenAliases": [],
|
|
6289
|
-
"id": "tenant:env:
|
|
6299
|
+
"id": "tenant:env:get",
|
|
6290
6300
|
"pluginAlias": "@xano/cli",
|
|
6291
6301
|
"pluginName": "@xano/cli",
|
|
6292
6302
|
"pluginType": "core",
|
|
@@ -6298,24 +6308,25 @@
|
|
|
6298
6308
|
"commands",
|
|
6299
6309
|
"tenant",
|
|
6300
6310
|
"env",
|
|
6301
|
-
"
|
|
6311
|
+
"get",
|
|
6302
6312
|
"index.js"
|
|
6303
6313
|
]
|
|
6304
6314
|
},
|
|
6305
|
-
"
|
|
6315
|
+
"tenant:env:get_all": {
|
|
6306
6316
|
"aliases": [],
|
|
6307
6317
|
"args": {
|
|
6308
|
-
"
|
|
6309
|
-
"description": "
|
|
6310
|
-
"name": "
|
|
6318
|
+
"tenant_name": {
|
|
6319
|
+
"description": "Tenant name",
|
|
6320
|
+
"name": "tenant_name",
|
|
6311
6321
|
"required": true
|
|
6312
6322
|
}
|
|
6313
6323
|
},
|
|
6314
|
-
"description": "
|
|
6324
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6315
6325
|
"examples": [
|
|
6316
|
-
"$ xano
|
|
6317
|
-
"$ xano
|
|
6318
|
-
"$ xano
|
|
6326
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6327
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6328
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6329
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6319
6330
|
],
|
|
6320
6331
|
"flags": {
|
|
6321
6332
|
"profile": {
|
|
@@ -6337,29 +6348,11 @@
|
|
|
6337
6348
|
"allowNo": false,
|
|
6338
6349
|
"type": "boolean"
|
|
6339
6350
|
},
|
|
6340
|
-
"description": {
|
|
6341
|
-
"char": "d",
|
|
6342
|
-
"description": "Build description",
|
|
6343
|
-
"name": "description",
|
|
6344
|
-
"required": false,
|
|
6345
|
-
"hasDynamicHelp": false,
|
|
6346
|
-
"multiple": false,
|
|
6347
|
-
"type": "option"
|
|
6348
|
-
},
|
|
6349
6351
|
"file": {
|
|
6350
6352
|
"char": "f",
|
|
6351
|
-
"description": "
|
|
6353
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6352
6354
|
"name": "file",
|
|
6353
|
-
"required":
|
|
6354
|
-
"hasDynamicHelp": false,
|
|
6355
|
-
"multiple": false,
|
|
6356
|
-
"type": "option"
|
|
6357
|
-
},
|
|
6358
|
-
"name": {
|
|
6359
|
-
"char": "n",
|
|
6360
|
-
"description": "Build name",
|
|
6361
|
-
"name": "name",
|
|
6362
|
-
"required": true,
|
|
6355
|
+
"required": false,
|
|
6363
6356
|
"hasDynamicHelp": false,
|
|
6364
6357
|
"multiple": false,
|
|
6365
6358
|
"type": "option"
|
|
@@ -6378,9 +6371,16 @@
|
|
|
6378
6371
|
],
|
|
6379
6372
|
"type": "option"
|
|
6380
6373
|
},
|
|
6374
|
+
"view": {
|
|
6375
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6376
|
+
"name": "view",
|
|
6377
|
+
"required": false,
|
|
6378
|
+
"allowNo": false,
|
|
6379
|
+
"type": "boolean"
|
|
6380
|
+
},
|
|
6381
6381
|
"workspace": {
|
|
6382
6382
|
"char": "w",
|
|
6383
|
-
"description": "Workspace ID (
|
|
6383
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6384
6384
|
"name": "workspace",
|
|
6385
6385
|
"required": false,
|
|
6386
6386
|
"hasDynamicHelp": false,
|
|
@@ -6390,7 +6390,7 @@
|
|
|
6390
6390
|
},
|
|
6391
6391
|
"hasDynamicHelp": false,
|
|
6392
6392
|
"hiddenAliases": [],
|
|
6393
|
-
"id": "
|
|
6393
|
+
"id": "tenant:env:get_all",
|
|
6394
6394
|
"pluginAlias": "@xano/cli",
|
|
6395
6395
|
"pluginName": "@xano/cli",
|
|
6396
6396
|
"pluginType": "core",
|
|
@@ -6400,13 +6400,13 @@
|
|
|
6400
6400
|
"relativePath": [
|
|
6401
6401
|
"dist",
|
|
6402
6402
|
"commands",
|
|
6403
|
-
"
|
|
6404
|
-
"
|
|
6405
|
-
"
|
|
6403
|
+
"tenant",
|
|
6404
|
+
"env",
|
|
6405
|
+
"get_all",
|
|
6406
6406
|
"index.js"
|
|
6407
6407
|
]
|
|
6408
6408
|
},
|
|
6409
|
-
"tenant:env:
|
|
6409
|
+
"tenant:env:list": {
|
|
6410
6410
|
"aliases": [],
|
|
6411
6411
|
"args": {
|
|
6412
6412
|
"tenant_name": {
|
|
@@ -6415,10 +6415,10 @@
|
|
|
6415
6415
|
"required": true
|
|
6416
6416
|
}
|
|
6417
6417
|
},
|
|
6418
|
-
"description": "
|
|
6418
|
+
"description": "List environment variable keys for a tenant",
|
|
6419
6419
|
"examples": [
|
|
6420
|
-
"$ xano tenant env
|
|
6421
|
-
"$ xano tenant env
|
|
6420
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6421
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6422
6422
|
],
|
|
6423
6423
|
"flags": {
|
|
6424
6424
|
"profile": {
|
|
@@ -6440,15 +6440,6 @@
|
|
|
6440
6440
|
"allowNo": false,
|
|
6441
6441
|
"type": "boolean"
|
|
6442
6442
|
},
|
|
6443
|
-
"name": {
|
|
6444
|
-
"char": "n",
|
|
6445
|
-
"description": "Environment variable name",
|
|
6446
|
-
"name": "name",
|
|
6447
|
-
"required": true,
|
|
6448
|
-
"hasDynamicHelp": false,
|
|
6449
|
-
"multiple": false,
|
|
6450
|
-
"type": "option"
|
|
6451
|
-
},
|
|
6452
6443
|
"output": {
|
|
6453
6444
|
"char": "o",
|
|
6454
6445
|
"description": "Output format",
|
|
@@ -6463,14 +6454,6 @@
|
|
|
6463
6454
|
],
|
|
6464
6455
|
"type": "option"
|
|
6465
6456
|
},
|
|
6466
|
-
"value": {
|
|
6467
|
-
"description": "Environment variable value",
|
|
6468
|
-
"name": "value",
|
|
6469
|
-
"required": true,
|
|
6470
|
-
"hasDynamicHelp": false,
|
|
6471
|
-
"multiple": false,
|
|
6472
|
-
"type": "option"
|
|
6473
|
-
},
|
|
6474
6457
|
"workspace": {
|
|
6475
6458
|
"char": "w",
|
|
6476
6459
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6483,7 +6466,7 @@
|
|
|
6483
6466
|
},
|
|
6484
6467
|
"hasDynamicHelp": false,
|
|
6485
6468
|
"hiddenAliases": [],
|
|
6486
|
-
"id": "tenant:env:
|
|
6469
|
+
"id": "tenant:env:list",
|
|
6487
6470
|
"pluginAlias": "@xano/cli",
|
|
6488
6471
|
"pluginName": "@xano/cli",
|
|
6489
6472
|
"pluginType": "core",
|
|
@@ -6495,30 +6478,23 @@
|
|
|
6495
6478
|
"commands",
|
|
6496
6479
|
"tenant",
|
|
6497
6480
|
"env",
|
|
6498
|
-
"
|
|
6481
|
+
"list",
|
|
6499
6482
|
"index.js"
|
|
6500
6483
|
]
|
|
6501
6484
|
},
|
|
6502
|
-
"
|
|
6485
|
+
"tenant:env:set": {
|
|
6503
6486
|
"aliases": [],
|
|
6504
6487
|
"args": {
|
|
6505
|
-
"
|
|
6506
|
-
"description": "
|
|
6507
|
-
"name": "
|
|
6508
|
-
"required": true
|
|
6509
|
-
},
|
|
6510
|
-
"static_host": {
|
|
6511
|
-
"description": "Static Host name",
|
|
6512
|
-
"name": "static_host",
|
|
6488
|
+
"tenant_name": {
|
|
6489
|
+
"description": "Tenant name",
|
|
6490
|
+
"name": "tenant_name",
|
|
6513
6491
|
"required": true
|
|
6514
6492
|
}
|
|
6515
6493
|
},
|
|
6516
|
-
"description": "
|
|
6494
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6517
6495
|
"examples": [
|
|
6518
|
-
"$ xano
|
|
6519
|
-
"$ xano
|
|
6520
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
6521
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
6496
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6497
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6522
6498
|
],
|
|
6523
6499
|
"flags": {
|
|
6524
6500
|
"profile": {
|
|
@@ -6540,6 +6516,15 @@
|
|
|
6540
6516
|
"allowNo": false,
|
|
6541
6517
|
"type": "boolean"
|
|
6542
6518
|
},
|
|
6519
|
+
"name": {
|
|
6520
|
+
"char": "n",
|
|
6521
|
+
"description": "Environment variable name",
|
|
6522
|
+
"name": "name",
|
|
6523
|
+
"required": true,
|
|
6524
|
+
"hasDynamicHelp": false,
|
|
6525
|
+
"multiple": false,
|
|
6526
|
+
"type": "option"
|
|
6527
|
+
},
|
|
6543
6528
|
"output": {
|
|
6544
6529
|
"char": "o",
|
|
6545
6530
|
"description": "Output format",
|
|
@@ -6554,9 +6539,17 @@
|
|
|
6554
6539
|
],
|
|
6555
6540
|
"type": "option"
|
|
6556
6541
|
},
|
|
6542
|
+
"value": {
|
|
6543
|
+
"description": "Environment variable value",
|
|
6544
|
+
"name": "value",
|
|
6545
|
+
"required": true,
|
|
6546
|
+
"hasDynamicHelp": false,
|
|
6547
|
+
"multiple": false,
|
|
6548
|
+
"type": "option"
|
|
6549
|
+
},
|
|
6557
6550
|
"workspace": {
|
|
6558
6551
|
"char": "w",
|
|
6559
|
-
"description": "Workspace ID (
|
|
6552
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6560
6553
|
"name": "workspace",
|
|
6561
6554
|
"required": false,
|
|
6562
6555
|
"hasDynamicHelp": false,
|
|
@@ -6566,7 +6559,7 @@
|
|
|
6566
6559
|
},
|
|
6567
6560
|
"hasDynamicHelp": false,
|
|
6568
6561
|
"hiddenAliases": [],
|
|
6569
|
-
"id": "
|
|
6562
|
+
"id": "tenant:env:set",
|
|
6570
6563
|
"pluginAlias": "@xano/cli",
|
|
6571
6564
|
"pluginName": "@xano/cli",
|
|
6572
6565
|
"pluginType": "core",
|
|
@@ -6576,27 +6569,26 @@
|
|
|
6576
6569
|
"relativePath": [
|
|
6577
6570
|
"dist",
|
|
6578
6571
|
"commands",
|
|
6579
|
-
"
|
|
6580
|
-
"
|
|
6581
|
-
"
|
|
6572
|
+
"tenant",
|
|
6573
|
+
"env",
|
|
6574
|
+
"set",
|
|
6582
6575
|
"index.js"
|
|
6583
6576
|
]
|
|
6584
6577
|
},
|
|
6585
|
-
"
|
|
6578
|
+
"tenant:env:set_all": {
|
|
6586
6579
|
"aliases": [],
|
|
6587
6580
|
"args": {
|
|
6588
|
-
"
|
|
6589
|
-
"description": "
|
|
6590
|
-
"name": "
|
|
6581
|
+
"tenant_name": {
|
|
6582
|
+
"description": "Tenant name",
|
|
6583
|
+
"name": "tenant_name",
|
|
6591
6584
|
"required": true
|
|
6592
6585
|
}
|
|
6593
6586
|
},
|
|
6594
|
-
"description": "
|
|
6587
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6595
6588
|
"examples": [
|
|
6596
|
-
"$ xano
|
|
6597
|
-
"$ xano
|
|
6598
|
-
"$ xano
|
|
6599
|
-
"$ 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"
|
|
6589
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6590
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6591
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6600
6592
|
],
|
|
6601
6593
|
"flags": {
|
|
6602
6594
|
"profile": {
|
|
@@ -6618,6 +6610,22 @@
|
|
|
6618
6610
|
"allowNo": false,
|
|
6619
6611
|
"type": "boolean"
|
|
6620
6612
|
},
|
|
6613
|
+
"clean": {
|
|
6614
|
+
"description": "Remove the source file after successful upload",
|
|
6615
|
+
"name": "clean",
|
|
6616
|
+
"required": false,
|
|
6617
|
+
"allowNo": false,
|
|
6618
|
+
"type": "boolean"
|
|
6619
|
+
},
|
|
6620
|
+
"file": {
|
|
6621
|
+
"char": "f",
|
|
6622
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6623
|
+
"name": "file",
|
|
6624
|
+
"required": false,
|
|
6625
|
+
"hasDynamicHelp": false,
|
|
6626
|
+
"multiple": false,
|
|
6627
|
+
"type": "option"
|
|
6628
|
+
},
|
|
6621
6629
|
"output": {
|
|
6622
6630
|
"char": "o",
|
|
6623
6631
|
"description": "Output format",
|
|
@@ -6632,27 +6640,9 @@
|
|
|
6632
6640
|
],
|
|
6633
6641
|
"type": "option"
|
|
6634
6642
|
},
|
|
6635
|
-
"page": {
|
|
6636
|
-
"description": "Page number for pagination",
|
|
6637
|
-
"name": "page",
|
|
6638
|
-
"required": false,
|
|
6639
|
-
"default": 1,
|
|
6640
|
-
"hasDynamicHelp": false,
|
|
6641
|
-
"multiple": false,
|
|
6642
|
-
"type": "option"
|
|
6643
|
-
},
|
|
6644
|
-
"per_page": {
|
|
6645
|
-
"description": "Number of results per page",
|
|
6646
|
-
"name": "per_page",
|
|
6647
|
-
"required": false,
|
|
6648
|
-
"default": 50,
|
|
6649
|
-
"hasDynamicHelp": false,
|
|
6650
|
-
"multiple": false,
|
|
6651
|
-
"type": "option"
|
|
6652
|
-
},
|
|
6653
6643
|
"workspace": {
|
|
6654
6644
|
"char": "w",
|
|
6655
|
-
"description": "Workspace ID (
|
|
6645
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6656
6646
|
"name": "workspace",
|
|
6657
6647
|
"required": false,
|
|
6658
6648
|
"hasDynamicHelp": false,
|
|
@@ -6662,7 +6652,7 @@
|
|
|
6662
6652
|
},
|
|
6663
6653
|
"hasDynamicHelp": false,
|
|
6664
6654
|
"hiddenAliases": [],
|
|
6665
|
-
"id": "
|
|
6655
|
+
"id": "tenant:env:set_all",
|
|
6666
6656
|
"pluginAlias": "@xano/cli",
|
|
6667
6657
|
"pluginName": "@xano/cli",
|
|
6668
6658
|
"pluginType": "core",
|
|
@@ -6672,9 +6662,9 @@
|
|
|
6672
6662
|
"relativePath": [
|
|
6673
6663
|
"dist",
|
|
6674
6664
|
"commands",
|
|
6675
|
-
"
|
|
6676
|
-
"
|
|
6677
|
-
"
|
|
6665
|
+
"tenant",
|
|
6666
|
+
"env",
|
|
6667
|
+
"set_all",
|
|
6678
6668
|
"index.js"
|
|
6679
6669
|
]
|
|
6680
6670
|
},
|
|
@@ -7169,5 +7159,5 @@
|
|
|
7169
7159
|
]
|
|
7170
7160
|
}
|
|
7171
7161
|
},
|
|
7172
|
-
"version": "0.0.
|
|
7162
|
+
"version": "0.0.83"
|
|
7173
7163
|
}
|