@xano/cli 0.0.57 → 0.0.59
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 +1380 -1380
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -296,20 +296,20 @@
|
|
|
296
296
|
"index.js"
|
|
297
297
|
]
|
|
298
298
|
},
|
|
299
|
-
"branch:
|
|
299
|
+
"branch:delete": {
|
|
300
300
|
"aliases": [],
|
|
301
301
|
"args": {
|
|
302
302
|
"branch_label": {
|
|
303
|
-
"description": "Branch label (
|
|
303
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
304
304
|
"name": "branch_label",
|
|
305
305
|
"required": true
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
|
-
"description": "
|
|
308
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
309
309
|
"examples": [
|
|
310
|
-
"$ xano branch
|
|
311
|
-
"$ xano branch
|
|
312
|
-
"$ xano branch
|
|
310
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
311
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
312
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
313
313
|
],
|
|
314
314
|
"flags": {
|
|
315
315
|
"profile": {
|
|
@@ -331,6 +331,14 @@
|
|
|
331
331
|
"allowNo": false,
|
|
332
332
|
"type": "boolean"
|
|
333
333
|
},
|
|
334
|
+
"force": {
|
|
335
|
+
"char": "f",
|
|
336
|
+
"description": "Skip confirmation prompt",
|
|
337
|
+
"name": "force",
|
|
338
|
+
"required": false,
|
|
339
|
+
"allowNo": false,
|
|
340
|
+
"type": "boolean"
|
|
341
|
+
},
|
|
334
342
|
"output": {
|
|
335
343
|
"char": "o",
|
|
336
344
|
"description": "Output format",
|
|
@@ -357,7 +365,7 @@
|
|
|
357
365
|
},
|
|
358
366
|
"hasDynamicHelp": false,
|
|
359
367
|
"hiddenAliases": [],
|
|
360
|
-
"id": "branch:
|
|
368
|
+
"id": "branch:delete",
|
|
361
369
|
"pluginAlias": "@xano/cli",
|
|
362
370
|
"pluginName": "@xano/cli",
|
|
363
371
|
"pluginType": "core",
|
|
@@ -368,24 +376,24 @@
|
|
|
368
376
|
"dist",
|
|
369
377
|
"commands",
|
|
370
378
|
"branch",
|
|
371
|
-
"
|
|
379
|
+
"delete",
|
|
372
380
|
"index.js"
|
|
373
381
|
]
|
|
374
382
|
},
|
|
375
|
-
"branch:
|
|
383
|
+
"branch:get": {
|
|
376
384
|
"aliases": [],
|
|
377
385
|
"args": {
|
|
378
|
-
"
|
|
379
|
-
"description": "
|
|
380
|
-
"name": "
|
|
381
|
-
"required":
|
|
386
|
+
"branch_label": {
|
|
387
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
388
|
+
"name": "branch_label",
|
|
389
|
+
"required": true
|
|
382
390
|
}
|
|
383
391
|
},
|
|
384
|
-
"description": "
|
|
392
|
+
"description": "Get details for a specific branch",
|
|
385
393
|
"examples": [
|
|
386
|
-
"$ xano branch
|
|
387
|
-
"$ xano branch
|
|
388
|
-
"$ xano branch
|
|
394
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
395
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
396
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
389
397
|
],
|
|
390
398
|
"flags": {
|
|
391
399
|
"profile": {
|
|
@@ -420,77 +428,20 @@
|
|
|
420
428
|
"json"
|
|
421
429
|
],
|
|
422
430
|
"type": "option"
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
"hasDynamicHelp": false,
|
|
426
|
-
"hiddenAliases": [],
|
|
427
|
-
"id": "branch:list",
|
|
428
|
-
"pluginAlias": "@xano/cli",
|
|
429
|
-
"pluginName": "@xano/cli",
|
|
430
|
-
"pluginType": "core",
|
|
431
|
-
"strict": true,
|
|
432
|
-
"enableJsonFlag": false,
|
|
433
|
-
"isESM": true,
|
|
434
|
-
"relativePath": [
|
|
435
|
-
"dist",
|
|
436
|
-
"commands",
|
|
437
|
-
"branch",
|
|
438
|
-
"list",
|
|
439
|
-
"index.js"
|
|
440
|
-
]
|
|
441
|
-
},
|
|
442
|
-
"platform:get": {
|
|
443
|
-
"aliases": [],
|
|
444
|
-
"args": {
|
|
445
|
-
"platform_id": {
|
|
446
|
-
"description": "Platform ID to retrieve",
|
|
447
|
-
"name": "platform_id",
|
|
448
|
-
"required": true
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
"description": "Get details of a specific platform",
|
|
452
|
-
"examples": [
|
|
453
|
-
"$ 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",
|
|
454
|
-
"$ xano platform get 23629 -o json"
|
|
455
|
-
],
|
|
456
|
-
"flags": {
|
|
457
|
-
"profile": {
|
|
458
|
-
"char": "p",
|
|
459
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
460
|
-
"env": "XANO_PROFILE",
|
|
461
|
-
"name": "profile",
|
|
462
|
-
"required": false,
|
|
463
|
-
"hasDynamicHelp": false,
|
|
464
|
-
"multiple": false,
|
|
465
|
-
"type": "option"
|
|
466
|
-
},
|
|
467
|
-
"verbose": {
|
|
468
|
-
"char": "v",
|
|
469
|
-
"description": "Show detailed request/response information",
|
|
470
|
-
"env": "XANO_VERBOSE",
|
|
471
|
-
"name": "verbose",
|
|
472
|
-
"required": false,
|
|
473
|
-
"allowNo": false,
|
|
474
|
-
"type": "boolean"
|
|
475
431
|
},
|
|
476
|
-
"
|
|
477
|
-
"char": "
|
|
478
|
-
"description": "
|
|
479
|
-
"name": "
|
|
432
|
+
"workspace": {
|
|
433
|
+
"char": "w",
|
|
434
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
435
|
+
"name": "workspace",
|
|
480
436
|
"required": false,
|
|
481
|
-
"default": "summary",
|
|
482
437
|
"hasDynamicHelp": false,
|
|
483
438
|
"multiple": false,
|
|
484
|
-
"options": [
|
|
485
|
-
"summary",
|
|
486
|
-
"json"
|
|
487
|
-
],
|
|
488
439
|
"type": "option"
|
|
489
440
|
}
|
|
490
441
|
},
|
|
491
442
|
"hasDynamicHelp": false,
|
|
492
443
|
"hiddenAliases": [],
|
|
493
|
-
"id": "
|
|
444
|
+
"id": "branch:get",
|
|
494
445
|
"pluginAlias": "@xano/cli",
|
|
495
446
|
"pluginName": "@xano/cli",
|
|
496
447
|
"pluginType": "core",
|
|
@@ -500,7 +451,7 @@
|
|
|
500
451
|
"relativePath": [
|
|
501
452
|
"dist",
|
|
502
453
|
"commands",
|
|
503
|
-
"
|
|
454
|
+
"branch",
|
|
504
455
|
"get",
|
|
505
456
|
"index.js"
|
|
506
457
|
]
|
|
@@ -589,13 +540,20 @@
|
|
|
589
540
|
"index.js"
|
|
590
541
|
]
|
|
591
542
|
},
|
|
592
|
-
"
|
|
543
|
+
"branch:list": {
|
|
593
544
|
"aliases": [],
|
|
594
|
-
"args": {
|
|
595
|
-
|
|
545
|
+
"args": {
|
|
546
|
+
"workspace_id": {
|
|
547
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
548
|
+
"name": "workspace_id",
|
|
549
|
+
"required": false
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"description": "List all branches in a workspace",
|
|
596
553
|
"examples": [
|
|
597
|
-
"$ xano
|
|
598
|
-
"$ xano
|
|
554
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
555
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
556
|
+
"$ 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"
|
|
599
557
|
],
|
|
600
558
|
"flags": {
|
|
601
559
|
"profile": {
|
|
@@ -634,7 +592,7 @@
|
|
|
634
592
|
},
|
|
635
593
|
"hasDynamicHelp": false,
|
|
636
594
|
"hiddenAliases": [],
|
|
637
|
-
"id": "
|
|
595
|
+
"id": "branch:list",
|
|
638
596
|
"pluginAlias": "@xano/cli",
|
|
639
597
|
"pluginName": "@xano/cli",
|
|
640
598
|
"pluginType": "core",
|
|
@@ -644,7 +602,7 @@
|
|
|
644
602
|
"relativePath": [
|
|
645
603
|
"dist",
|
|
646
604
|
"commands",
|
|
647
|
-
"
|
|
605
|
+
"branch",
|
|
648
606
|
"list",
|
|
649
607
|
"index.js"
|
|
650
608
|
]
|
|
@@ -1093,79 +1051,52 @@
|
|
|
1093
1051
|
"index.js"
|
|
1094
1052
|
]
|
|
1095
1053
|
},
|
|
1096
|
-
"
|
|
1054
|
+
"platform:list": {
|
|
1097
1055
|
"aliases": [],
|
|
1098
|
-
"args": {
|
|
1099
|
-
|
|
1100
|
-
"description": "Profile name",
|
|
1101
|
-
"name": "name",
|
|
1102
|
-
"required": true
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
"description": "Create a new profile configuration",
|
|
1056
|
+
"args": {},
|
|
1057
|
+
"description": "List all platforms",
|
|
1106
1058
|
"examples": [
|
|
1107
|
-
"$ xano
|
|
1108
|
-
"$ xano
|
|
1109
|
-
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1110
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1059
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1060
|
+
"$ xano platform list --output json"
|
|
1111
1061
|
],
|
|
1112
1062
|
"flags": {
|
|
1113
|
-
"
|
|
1114
|
-
"char": "
|
|
1115
|
-
"description": "
|
|
1116
|
-
"
|
|
1117
|
-
"
|
|
1118
|
-
"hasDynamicHelp": false,
|
|
1119
|
-
"multiple": false,
|
|
1120
|
-
"type": "option"
|
|
1121
|
-
},
|
|
1122
|
-
"account_origin": {
|
|
1123
|
-
"char": "a",
|
|
1124
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1125
|
-
"name": "account_origin",
|
|
1126
|
-
"required": false,
|
|
1127
|
-
"hasDynamicHelp": false,
|
|
1128
|
-
"multiple": false,
|
|
1129
|
-
"type": "option"
|
|
1130
|
-
},
|
|
1131
|
-
"branch": {
|
|
1132
|
-
"char": "b",
|
|
1133
|
-
"description": "Branch name",
|
|
1134
|
-
"name": "branch",
|
|
1063
|
+
"profile": {
|
|
1064
|
+
"char": "p",
|
|
1065
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1066
|
+
"env": "XANO_PROFILE",
|
|
1067
|
+
"name": "profile",
|
|
1135
1068
|
"required": false,
|
|
1136
1069
|
"hasDynamicHelp": false,
|
|
1137
1070
|
"multiple": false,
|
|
1138
1071
|
"type": "option"
|
|
1139
1072
|
},
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1142
|
-
"
|
|
1073
|
+
"verbose": {
|
|
1074
|
+
"char": "v",
|
|
1075
|
+
"description": "Show detailed request/response information",
|
|
1076
|
+
"env": "XANO_VERBOSE",
|
|
1077
|
+
"name": "verbose",
|
|
1143
1078
|
"required": false,
|
|
1144
1079
|
"allowNo": false,
|
|
1145
1080
|
"type": "boolean"
|
|
1146
1081
|
},
|
|
1147
|
-
"
|
|
1148
|
-
"char": "
|
|
1149
|
-
"description": "
|
|
1150
|
-
"name": "
|
|
1151
|
-
"required": true,
|
|
1152
|
-
"hasDynamicHelp": false,
|
|
1153
|
-
"multiple": false,
|
|
1154
|
-
"type": "option"
|
|
1155
|
-
},
|
|
1156
|
-
"workspace": {
|
|
1157
|
-
"char": "w",
|
|
1158
|
-
"description": "Workspace name",
|
|
1159
|
-
"name": "workspace",
|
|
1082
|
+
"output": {
|
|
1083
|
+
"char": "o",
|
|
1084
|
+
"description": "Output format",
|
|
1085
|
+
"name": "output",
|
|
1160
1086
|
"required": false,
|
|
1087
|
+
"default": "summary",
|
|
1161
1088
|
"hasDynamicHelp": false,
|
|
1162
1089
|
"multiple": false,
|
|
1090
|
+
"options": [
|
|
1091
|
+
"summary",
|
|
1092
|
+
"json"
|
|
1093
|
+
],
|
|
1163
1094
|
"type": "option"
|
|
1164
1095
|
}
|
|
1165
1096
|
},
|
|
1166
1097
|
"hasDynamicHelp": false,
|
|
1167
1098
|
"hiddenAliases": [],
|
|
1168
|
-
"id": "
|
|
1099
|
+
"id": "platform:list",
|
|
1169
1100
|
"pluginAlias": "@xano/cli",
|
|
1170
1101
|
"pluginName": "@xano/cli",
|
|
1171
1102
|
"pluginType": "core",
|
|
@@ -1175,25 +1106,24 @@
|
|
|
1175
1106
|
"relativePath": [
|
|
1176
1107
|
"dist",
|
|
1177
1108
|
"commands",
|
|
1178
|
-
"
|
|
1179
|
-
"
|
|
1109
|
+
"platform",
|
|
1110
|
+
"list",
|
|
1180
1111
|
"index.js"
|
|
1181
1112
|
]
|
|
1182
1113
|
},
|
|
1183
|
-
"
|
|
1114
|
+
"platform:get": {
|
|
1184
1115
|
"aliases": [],
|
|
1185
1116
|
"args": {
|
|
1186
|
-
"
|
|
1187
|
-
"description": "
|
|
1188
|
-
"name": "
|
|
1117
|
+
"platform_id": {
|
|
1118
|
+
"description": "Platform ID to retrieve",
|
|
1119
|
+
"name": "platform_id",
|
|
1189
1120
|
"required": true
|
|
1190
1121
|
}
|
|
1191
1122
|
},
|
|
1192
|
-
"description": "
|
|
1123
|
+
"description": "Get details of a specific platform",
|
|
1193
1124
|
"examples": [
|
|
1194
|
-
"$ xano
|
|
1195
|
-
"$ xano
|
|
1196
|
-
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
1125
|
+
"$ 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",
|
|
1126
|
+
"$ xano platform get 23629 -o json"
|
|
1197
1127
|
],
|
|
1198
1128
|
"flags": {
|
|
1199
1129
|
"profile": {
|
|
@@ -1215,14 +1145,6 @@
|
|
|
1215
1145
|
"allowNo": false,
|
|
1216
1146
|
"type": "boolean"
|
|
1217
1147
|
},
|
|
1218
|
-
"force": {
|
|
1219
|
-
"char": "f",
|
|
1220
|
-
"description": "Skip confirmation prompt",
|
|
1221
|
-
"name": "force",
|
|
1222
|
-
"required": false,
|
|
1223
|
-
"allowNo": false,
|
|
1224
|
-
"type": "boolean"
|
|
1225
|
-
},
|
|
1226
1148
|
"output": {
|
|
1227
1149
|
"char": "o",
|
|
1228
1150
|
"description": "Output format",
|
|
@@ -1236,20 +1158,11 @@
|
|
|
1236
1158
|
"json"
|
|
1237
1159
|
],
|
|
1238
1160
|
"type": "option"
|
|
1239
|
-
},
|
|
1240
|
-
"workspace": {
|
|
1241
|
-
"char": "w",
|
|
1242
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1243
|
-
"name": "workspace",
|
|
1244
|
-
"required": false,
|
|
1245
|
-
"hasDynamicHelp": false,
|
|
1246
|
-
"multiple": false,
|
|
1247
|
-
"type": "option"
|
|
1248
1161
|
}
|
|
1249
1162
|
},
|
|
1250
1163
|
"hasDynamicHelp": false,
|
|
1251
1164
|
"hiddenAliases": [],
|
|
1252
|
-
"id": "
|
|
1165
|
+
"id": "platform:get",
|
|
1253
1166
|
"pluginAlias": "@xano/cli",
|
|
1254
1167
|
"pluginName": "@xano/cli",
|
|
1255
1168
|
"pluginType": "core",
|
|
@@ -1259,18 +1172,172 @@
|
|
|
1259
1172
|
"relativePath": [
|
|
1260
1173
|
"dist",
|
|
1261
1174
|
"commands",
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1175
|
+
"platform",
|
|
1176
|
+
"get",
|
|
1264
1177
|
"index.js"
|
|
1265
1178
|
]
|
|
1266
1179
|
},
|
|
1267
|
-
"profile:
|
|
1180
|
+
"profile:create": {
|
|
1268
1181
|
"aliases": [],
|
|
1269
1182
|
"args": {
|
|
1270
1183
|
"name": {
|
|
1271
|
-
"description": "Profile name
|
|
1184
|
+
"description": "Profile name",
|
|
1272
1185
|
"name": "name",
|
|
1273
|
-
"required":
|
|
1186
|
+
"required": true
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"description": "Create a new profile configuration",
|
|
1190
|
+
"examples": [
|
|
1191
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1192
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1193
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1194
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1195
|
+
],
|
|
1196
|
+
"flags": {
|
|
1197
|
+
"access_token": {
|
|
1198
|
+
"char": "t",
|
|
1199
|
+
"description": "Access token for the Xano Metadata API",
|
|
1200
|
+
"name": "access_token",
|
|
1201
|
+
"required": true,
|
|
1202
|
+
"hasDynamicHelp": false,
|
|
1203
|
+
"multiple": false,
|
|
1204
|
+
"type": "option"
|
|
1205
|
+
},
|
|
1206
|
+
"account_origin": {
|
|
1207
|
+
"char": "a",
|
|
1208
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1209
|
+
"name": "account_origin",
|
|
1210
|
+
"required": false,
|
|
1211
|
+
"hasDynamicHelp": false,
|
|
1212
|
+
"multiple": false,
|
|
1213
|
+
"type": "option"
|
|
1214
|
+
},
|
|
1215
|
+
"branch": {
|
|
1216
|
+
"char": "b",
|
|
1217
|
+
"description": "Branch name",
|
|
1218
|
+
"name": "branch",
|
|
1219
|
+
"required": false,
|
|
1220
|
+
"hasDynamicHelp": false,
|
|
1221
|
+
"multiple": false,
|
|
1222
|
+
"type": "option"
|
|
1223
|
+
},
|
|
1224
|
+
"default": {
|
|
1225
|
+
"description": "Set this profile as the default",
|
|
1226
|
+
"name": "default",
|
|
1227
|
+
"required": false,
|
|
1228
|
+
"allowNo": false,
|
|
1229
|
+
"type": "boolean"
|
|
1230
|
+
},
|
|
1231
|
+
"instance_origin": {
|
|
1232
|
+
"char": "i",
|
|
1233
|
+
"description": "Instance origin URL",
|
|
1234
|
+
"name": "instance_origin",
|
|
1235
|
+
"required": true,
|
|
1236
|
+
"hasDynamicHelp": false,
|
|
1237
|
+
"multiple": false,
|
|
1238
|
+
"type": "option"
|
|
1239
|
+
},
|
|
1240
|
+
"workspace": {
|
|
1241
|
+
"char": "w",
|
|
1242
|
+
"description": "Workspace name",
|
|
1243
|
+
"name": "workspace",
|
|
1244
|
+
"required": false,
|
|
1245
|
+
"hasDynamicHelp": false,
|
|
1246
|
+
"multiple": false,
|
|
1247
|
+
"type": "option"
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
"hasDynamicHelp": false,
|
|
1251
|
+
"hiddenAliases": [],
|
|
1252
|
+
"id": "profile:create",
|
|
1253
|
+
"pluginAlias": "@xano/cli",
|
|
1254
|
+
"pluginName": "@xano/cli",
|
|
1255
|
+
"pluginType": "core",
|
|
1256
|
+
"strict": true,
|
|
1257
|
+
"enableJsonFlag": false,
|
|
1258
|
+
"isESM": true,
|
|
1259
|
+
"relativePath": [
|
|
1260
|
+
"dist",
|
|
1261
|
+
"commands",
|
|
1262
|
+
"profile",
|
|
1263
|
+
"create",
|
|
1264
|
+
"index.js"
|
|
1265
|
+
]
|
|
1266
|
+
},
|
|
1267
|
+
"profile:delete": {
|
|
1268
|
+
"aliases": [],
|
|
1269
|
+
"args": {
|
|
1270
|
+
"name": {
|
|
1271
|
+
"description": "Profile name to delete",
|
|
1272
|
+
"name": "name",
|
|
1273
|
+
"required": true
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
"description": "Delete a profile configuration",
|
|
1277
|
+
"examples": [
|
|
1278
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1279
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1280
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1281
|
+
],
|
|
1282
|
+
"flags": {
|
|
1283
|
+
"force": {
|
|
1284
|
+
"char": "f",
|
|
1285
|
+
"description": "Skip confirmation prompt",
|
|
1286
|
+
"name": "force",
|
|
1287
|
+
"required": false,
|
|
1288
|
+
"allowNo": false,
|
|
1289
|
+
"type": "boolean"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"hasDynamicHelp": false,
|
|
1293
|
+
"hiddenAliases": [],
|
|
1294
|
+
"id": "profile:delete",
|
|
1295
|
+
"pluginAlias": "@xano/cli",
|
|
1296
|
+
"pluginName": "@xano/cli",
|
|
1297
|
+
"pluginType": "core",
|
|
1298
|
+
"strict": true,
|
|
1299
|
+
"enableJsonFlag": false,
|
|
1300
|
+
"isESM": true,
|
|
1301
|
+
"relativePath": [
|
|
1302
|
+
"dist",
|
|
1303
|
+
"commands",
|
|
1304
|
+
"profile",
|
|
1305
|
+
"delete",
|
|
1306
|
+
"index.js"
|
|
1307
|
+
]
|
|
1308
|
+
},
|
|
1309
|
+
"profile:get": {
|
|
1310
|
+
"aliases": [],
|
|
1311
|
+
"args": {},
|
|
1312
|
+
"description": "Get the current default profile name",
|
|
1313
|
+
"examples": [
|
|
1314
|
+
"$ xano profile get\nproduction\n"
|
|
1315
|
+
],
|
|
1316
|
+
"flags": {},
|
|
1317
|
+
"hasDynamicHelp": false,
|
|
1318
|
+
"hiddenAliases": [],
|
|
1319
|
+
"id": "profile:get",
|
|
1320
|
+
"pluginAlias": "@xano/cli",
|
|
1321
|
+
"pluginName": "@xano/cli",
|
|
1322
|
+
"pluginType": "core",
|
|
1323
|
+
"strict": true,
|
|
1324
|
+
"enableJsonFlag": false,
|
|
1325
|
+
"isESM": true,
|
|
1326
|
+
"relativePath": [
|
|
1327
|
+
"dist",
|
|
1328
|
+
"commands",
|
|
1329
|
+
"profile",
|
|
1330
|
+
"get",
|
|
1331
|
+
"index.js"
|
|
1332
|
+
]
|
|
1333
|
+
},
|
|
1334
|
+
"profile:edit": {
|
|
1335
|
+
"aliases": [],
|
|
1336
|
+
"args": {
|
|
1337
|
+
"name": {
|
|
1338
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1339
|
+
"name": "name",
|
|
1340
|
+
"required": false
|
|
1274
1341
|
}
|
|
1275
1342
|
},
|
|
1276
1343
|
"description": "Edit an existing profile configuration",
|
|
@@ -1414,31 +1481,6 @@
|
|
|
1414
1481
|
"index.js"
|
|
1415
1482
|
]
|
|
1416
1483
|
},
|
|
1417
|
-
"profile:get": {
|
|
1418
|
-
"aliases": [],
|
|
1419
|
-
"args": {},
|
|
1420
|
-
"description": "Get the current default profile name",
|
|
1421
|
-
"examples": [
|
|
1422
|
-
"$ xano profile get\nproduction\n"
|
|
1423
|
-
],
|
|
1424
|
-
"flags": {},
|
|
1425
|
-
"hasDynamicHelp": false,
|
|
1426
|
-
"hiddenAliases": [],
|
|
1427
|
-
"id": "profile:get",
|
|
1428
|
-
"pluginAlias": "@xano/cli",
|
|
1429
|
-
"pluginName": "@xano/cli",
|
|
1430
|
-
"pluginType": "core",
|
|
1431
|
-
"strict": true,
|
|
1432
|
-
"enableJsonFlag": false,
|
|
1433
|
-
"isESM": true,
|
|
1434
|
-
"relativePath": [
|
|
1435
|
-
"dist",
|
|
1436
|
-
"commands",
|
|
1437
|
-
"profile",
|
|
1438
|
-
"get",
|
|
1439
|
-
"index.js"
|
|
1440
|
-
]
|
|
1441
|
-
},
|
|
1442
1484
|
"profile:me": {
|
|
1443
1485
|
"aliases": [],
|
|
1444
1486
|
"args": {},
|
|
@@ -1526,48 +1568,6 @@
|
|
|
1526
1568
|
"index.js"
|
|
1527
1569
|
]
|
|
1528
1570
|
},
|
|
1529
|
-
"profile:delete": {
|
|
1530
|
-
"aliases": [],
|
|
1531
|
-
"args": {
|
|
1532
|
-
"name": {
|
|
1533
|
-
"description": "Profile name to delete",
|
|
1534
|
-
"name": "name",
|
|
1535
|
-
"required": true
|
|
1536
|
-
}
|
|
1537
|
-
},
|
|
1538
|
-
"description": "Delete a profile configuration",
|
|
1539
|
-
"examples": [
|
|
1540
|
-
"$ 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",
|
|
1541
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1542
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1543
|
-
],
|
|
1544
|
-
"flags": {
|
|
1545
|
-
"force": {
|
|
1546
|
-
"char": "f",
|
|
1547
|
-
"description": "Skip confirmation prompt",
|
|
1548
|
-
"name": "force",
|
|
1549
|
-
"required": false,
|
|
1550
|
-
"allowNo": false,
|
|
1551
|
-
"type": "boolean"
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
"hasDynamicHelp": false,
|
|
1555
|
-
"hiddenAliases": [],
|
|
1556
|
-
"id": "profile:delete",
|
|
1557
|
-
"pluginAlias": "@xano/cli",
|
|
1558
|
-
"pluginName": "@xano/cli",
|
|
1559
|
-
"pluginType": "core",
|
|
1560
|
-
"strict": true,
|
|
1561
|
-
"enableJsonFlag": false,
|
|
1562
|
-
"isESM": true,
|
|
1563
|
-
"relativePath": [
|
|
1564
|
-
"dist",
|
|
1565
|
-
"commands",
|
|
1566
|
-
"profile",
|
|
1567
|
-
"delete",
|
|
1568
|
-
"index.js"
|
|
1569
|
-
]
|
|
1570
|
-
},
|
|
1571
1571
|
"profile:set": {
|
|
1572
1572
|
"aliases": [],
|
|
1573
1573
|
"args": {
|
|
@@ -1599,32 +1599,6 @@
|
|
|
1599
1599
|
"index.js"
|
|
1600
1600
|
]
|
|
1601
1601
|
},
|
|
1602
|
-
"profile:workspace": {
|
|
1603
|
-
"aliases": [],
|
|
1604
|
-
"args": {},
|
|
1605
|
-
"description": "Print the workspace ID for the default profile",
|
|
1606
|
-
"examples": [
|
|
1607
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1608
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1609
|
-
],
|
|
1610
|
-
"flags": {},
|
|
1611
|
-
"hasDynamicHelp": false,
|
|
1612
|
-
"hiddenAliases": [],
|
|
1613
|
-
"id": "profile:workspace",
|
|
1614
|
-
"pluginAlias": "@xano/cli",
|
|
1615
|
-
"pluginName": "@xano/cli",
|
|
1616
|
-
"pluginType": "core",
|
|
1617
|
-
"strict": true,
|
|
1618
|
-
"enableJsonFlag": false,
|
|
1619
|
-
"isESM": true,
|
|
1620
|
-
"relativePath": [
|
|
1621
|
-
"dist",
|
|
1622
|
-
"commands",
|
|
1623
|
-
"profile",
|
|
1624
|
-
"workspace",
|
|
1625
|
-
"index.js"
|
|
1626
|
-
]
|
|
1627
|
-
},
|
|
1628
1602
|
"profile:wizard": {
|
|
1629
1603
|
"aliases": [],
|
|
1630
1604
|
"args": {},
|
|
@@ -1670,20 +1644,41 @@
|
|
|
1670
1644
|
"index.js"
|
|
1671
1645
|
]
|
|
1672
1646
|
},
|
|
1673
|
-
"
|
|
1647
|
+
"profile:workspace": {
|
|
1674
1648
|
"aliases": [],
|
|
1675
|
-
"args": {
|
|
1676
|
-
|
|
1677
|
-
"description": "Release name to delete",
|
|
1678
|
-
"name": "release_name",
|
|
1679
|
-
"required": true
|
|
1680
|
-
}
|
|
1681
|
-
},
|
|
1682
|
-
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1649
|
+
"args": {},
|
|
1650
|
+
"description": "Print the workspace ID for the default profile",
|
|
1683
1651
|
"examples": [
|
|
1684
|
-
"$ xano
|
|
1685
|
-
"$ xano
|
|
1686
|
-
|
|
1652
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1653
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1654
|
+
],
|
|
1655
|
+
"flags": {},
|
|
1656
|
+
"hasDynamicHelp": false,
|
|
1657
|
+
"hiddenAliases": [],
|
|
1658
|
+
"id": "profile:workspace",
|
|
1659
|
+
"pluginAlias": "@xano/cli",
|
|
1660
|
+
"pluginName": "@xano/cli",
|
|
1661
|
+
"pluginType": "core",
|
|
1662
|
+
"strict": true,
|
|
1663
|
+
"enableJsonFlag": false,
|
|
1664
|
+
"isESM": true,
|
|
1665
|
+
"relativePath": [
|
|
1666
|
+
"dist",
|
|
1667
|
+
"commands",
|
|
1668
|
+
"profile",
|
|
1669
|
+
"workspace",
|
|
1670
|
+
"index.js"
|
|
1671
|
+
]
|
|
1672
|
+
},
|
|
1673
|
+
"static_host:list": {
|
|
1674
|
+
"aliases": [],
|
|
1675
|
+
"args": {},
|
|
1676
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1677
|
+
"examples": [
|
|
1678
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1679
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1680
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
1681
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1687
1682
|
],
|
|
1688
1683
|
"flags": {
|
|
1689
1684
|
"profile": {
|
|
@@ -1705,14 +1700,6 @@
|
|
|
1705
1700
|
"allowNo": false,
|
|
1706
1701
|
"type": "boolean"
|
|
1707
1702
|
},
|
|
1708
|
-
"force": {
|
|
1709
|
-
"char": "f",
|
|
1710
|
-
"description": "Skip confirmation prompt",
|
|
1711
|
-
"name": "force",
|
|
1712
|
-
"required": false,
|
|
1713
|
-
"allowNo": false,
|
|
1714
|
-
"type": "boolean"
|
|
1715
|
-
},
|
|
1716
1703
|
"output": {
|
|
1717
1704
|
"char": "o",
|
|
1718
1705
|
"description": "Output format",
|
|
@@ -1727,9 +1714,27 @@
|
|
|
1727
1714
|
],
|
|
1728
1715
|
"type": "option"
|
|
1729
1716
|
},
|
|
1717
|
+
"page": {
|
|
1718
|
+
"description": "Page number for pagination",
|
|
1719
|
+
"name": "page",
|
|
1720
|
+
"required": false,
|
|
1721
|
+
"default": 1,
|
|
1722
|
+
"hasDynamicHelp": false,
|
|
1723
|
+
"multiple": false,
|
|
1724
|
+
"type": "option"
|
|
1725
|
+
},
|
|
1726
|
+
"per_page": {
|
|
1727
|
+
"description": "Number of results per page",
|
|
1728
|
+
"name": "per_page",
|
|
1729
|
+
"required": false,
|
|
1730
|
+
"default": 50,
|
|
1731
|
+
"hasDynamicHelp": false,
|
|
1732
|
+
"multiple": false,
|
|
1733
|
+
"type": "option"
|
|
1734
|
+
},
|
|
1730
1735
|
"workspace": {
|
|
1731
1736
|
"char": "w",
|
|
1732
|
-
"description": "Workspace ID (
|
|
1737
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1733
1738
|
"name": "workspace",
|
|
1734
1739
|
"required": false,
|
|
1735
1740
|
"hasDynamicHelp": false,
|
|
@@ -1739,7 +1744,7 @@
|
|
|
1739
1744
|
},
|
|
1740
1745
|
"hasDynamicHelp": false,
|
|
1741
1746
|
"hiddenAliases": [],
|
|
1742
|
-
"id": "
|
|
1747
|
+
"id": "static_host:list",
|
|
1743
1748
|
"pluginAlias": "@xano/cli",
|
|
1744
1749
|
"pluginName": "@xano/cli",
|
|
1745
1750
|
"pluginType": "core",
|
|
@@ -1749,24 +1754,18 @@
|
|
|
1749
1754
|
"relativePath": [
|
|
1750
1755
|
"dist",
|
|
1751
1756
|
"commands",
|
|
1752
|
-
"
|
|
1753
|
-
"
|
|
1757
|
+
"static_host",
|
|
1758
|
+
"list",
|
|
1754
1759
|
"index.js"
|
|
1755
1760
|
]
|
|
1756
1761
|
},
|
|
1757
|
-
"release:
|
|
1762
|
+
"release:create": {
|
|
1758
1763
|
"aliases": [],
|
|
1759
|
-
"args": {
|
|
1760
|
-
|
|
1761
|
-
"description": "Release name to edit",
|
|
1762
|
-
"name": "release_name",
|
|
1763
|
-
"required": true
|
|
1764
|
-
}
|
|
1765
|
-
},
|
|
1766
|
-
"description": "Edit an existing release",
|
|
1764
|
+
"args": {},
|
|
1765
|
+
"description": "Create a new release in a workspace",
|
|
1767
1766
|
"examples": [
|
|
1768
|
-
"$ xano release
|
|
1769
|
-
"$ xano release
|
|
1767
|
+
"$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
|
|
1768
|
+
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
1770
1769
|
],
|
|
1771
1770
|
"flags": {
|
|
1772
1771
|
"profile": {
|
|
@@ -1788,20 +1787,36 @@
|
|
|
1788
1787
|
"allowNo": false,
|
|
1789
1788
|
"type": "boolean"
|
|
1790
1789
|
},
|
|
1790
|
+
"branch": {
|
|
1791
|
+
"char": "b",
|
|
1792
|
+
"description": "Branch to create the release from",
|
|
1793
|
+
"name": "branch",
|
|
1794
|
+
"required": true,
|
|
1795
|
+
"hasDynamicHelp": false,
|
|
1796
|
+
"multiple": false,
|
|
1797
|
+
"type": "option"
|
|
1798
|
+
},
|
|
1791
1799
|
"description": {
|
|
1792
1800
|
"char": "d",
|
|
1793
|
-
"description": "
|
|
1801
|
+
"description": "Release description",
|
|
1794
1802
|
"name": "description",
|
|
1795
1803
|
"required": false,
|
|
1796
1804
|
"hasDynamicHelp": false,
|
|
1797
1805
|
"multiple": false,
|
|
1798
1806
|
"type": "option"
|
|
1799
1807
|
},
|
|
1808
|
+
"hotfix": {
|
|
1809
|
+
"description": "Mark as a hotfix release",
|
|
1810
|
+
"name": "hotfix",
|
|
1811
|
+
"required": false,
|
|
1812
|
+
"allowNo": false,
|
|
1813
|
+
"type": "boolean"
|
|
1814
|
+
},
|
|
1800
1815
|
"name": {
|
|
1801
1816
|
"char": "n",
|
|
1802
|
-
"description": "
|
|
1817
|
+
"description": "Name for the release",
|
|
1803
1818
|
"name": "name",
|
|
1804
|
-
"required":
|
|
1819
|
+
"required": true,
|
|
1805
1820
|
"hasDynamicHelp": false,
|
|
1806
1821
|
"multiple": false,
|
|
1807
1822
|
"type": "option"
|
|
@@ -1820,6 +1835,14 @@
|
|
|
1820
1835
|
],
|
|
1821
1836
|
"type": "option"
|
|
1822
1837
|
},
|
|
1838
|
+
"table-ids": {
|
|
1839
|
+
"description": "Comma-separated table IDs to include",
|
|
1840
|
+
"name": "table-ids",
|
|
1841
|
+
"required": false,
|
|
1842
|
+
"hasDynamicHelp": false,
|
|
1843
|
+
"multiple": false,
|
|
1844
|
+
"type": "option"
|
|
1845
|
+
},
|
|
1823
1846
|
"workspace": {
|
|
1824
1847
|
"char": "w",
|
|
1825
1848
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1832,7 +1855,7 @@
|
|
|
1832
1855
|
},
|
|
1833
1856
|
"hasDynamicHelp": false,
|
|
1834
1857
|
"hiddenAliases": [],
|
|
1835
|
-
"id": "release:
|
|
1858
|
+
"id": "release:create",
|
|
1836
1859
|
"pluginAlias": "@xano/cli",
|
|
1837
1860
|
"pluginName": "@xano/cli",
|
|
1838
1861
|
"pluginType": "core",
|
|
@@ -1843,24 +1866,24 @@
|
|
|
1843
1866
|
"dist",
|
|
1844
1867
|
"commands",
|
|
1845
1868
|
"release",
|
|
1846
|
-
"
|
|
1869
|
+
"create",
|
|
1847
1870
|
"index.js"
|
|
1848
1871
|
]
|
|
1849
1872
|
},
|
|
1850
|
-
"release:
|
|
1873
|
+
"release:delete": {
|
|
1851
1874
|
"aliases": [],
|
|
1852
1875
|
"args": {
|
|
1853
1876
|
"release_name": {
|
|
1854
|
-
"description": "Release name to
|
|
1877
|
+
"description": "Release name to delete",
|
|
1855
1878
|
"name": "release_name",
|
|
1856
1879
|
"required": true
|
|
1857
1880
|
}
|
|
1858
1881
|
},
|
|
1859
|
-
"description": "
|
|
1882
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1860
1883
|
"examples": [
|
|
1861
|
-
"$ xano release
|
|
1862
|
-
"$ xano release
|
|
1863
|
-
"$ xano release
|
|
1884
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1885
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1886
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1864
1887
|
],
|
|
1865
1888
|
"flags": {
|
|
1866
1889
|
"profile": {
|
|
@@ -1882,10 +1905,18 @@
|
|
|
1882
1905
|
"allowNo": false,
|
|
1883
1906
|
"type": "boolean"
|
|
1884
1907
|
},
|
|
1885
|
-
"
|
|
1908
|
+
"force": {
|
|
1909
|
+
"char": "f",
|
|
1910
|
+
"description": "Skip confirmation prompt",
|
|
1911
|
+
"name": "force",
|
|
1912
|
+
"required": false,
|
|
1913
|
+
"allowNo": false,
|
|
1914
|
+
"type": "boolean"
|
|
1915
|
+
},
|
|
1916
|
+
"output": {
|
|
1886
1917
|
"char": "o",
|
|
1887
1918
|
"description": "Output format",
|
|
1888
|
-
"name": "
|
|
1919
|
+
"name": "output",
|
|
1889
1920
|
"required": false,
|
|
1890
1921
|
"default": "summary",
|
|
1891
1922
|
"hasDynamicHelp": false,
|
|
@@ -1896,14 +1927,6 @@
|
|
|
1896
1927
|
],
|
|
1897
1928
|
"type": "option"
|
|
1898
1929
|
},
|
|
1899
|
-
"output": {
|
|
1900
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1901
|
-
"name": "output",
|
|
1902
|
-
"required": false,
|
|
1903
|
-
"hasDynamicHelp": false,
|
|
1904
|
-
"multiple": false,
|
|
1905
|
-
"type": "option"
|
|
1906
|
-
},
|
|
1907
1930
|
"workspace": {
|
|
1908
1931
|
"char": "w",
|
|
1909
1932
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1916,7 +1939,7 @@
|
|
|
1916
1939
|
},
|
|
1917
1940
|
"hasDynamicHelp": false,
|
|
1918
1941
|
"hiddenAliases": [],
|
|
1919
|
-
"id": "release:
|
|
1942
|
+
"id": "release:delete",
|
|
1920
1943
|
"pluginAlias": "@xano/cli",
|
|
1921
1944
|
"pluginName": "@xano/cli",
|
|
1922
1945
|
"pluginType": "core",
|
|
@@ -1927,17 +1950,23 @@
|
|
|
1927
1950
|
"dist",
|
|
1928
1951
|
"commands",
|
|
1929
1952
|
"release",
|
|
1930
|
-
"
|
|
1953
|
+
"delete",
|
|
1931
1954
|
"index.js"
|
|
1932
1955
|
]
|
|
1933
1956
|
},
|
|
1934
|
-
"release:
|
|
1957
|
+
"release:edit": {
|
|
1935
1958
|
"aliases": [],
|
|
1936
|
-
"args": {
|
|
1937
|
-
|
|
1959
|
+
"args": {
|
|
1960
|
+
"release_name": {
|
|
1961
|
+
"description": "Release name to edit",
|
|
1962
|
+
"name": "release_name",
|
|
1963
|
+
"required": true
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
"description": "Edit an existing release",
|
|
1938
1967
|
"examples": [
|
|
1939
|
-
"$ xano release
|
|
1940
|
-
"$ xano release
|
|
1968
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1969
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1941
1970
|
],
|
|
1942
1971
|
"flags": {
|
|
1943
1972
|
"profile": {
|
|
@@ -1959,36 +1988,20 @@
|
|
|
1959
1988
|
"allowNo": false,
|
|
1960
1989
|
"type": "boolean"
|
|
1961
1990
|
},
|
|
1962
|
-
"branch": {
|
|
1963
|
-
"char": "b",
|
|
1964
|
-
"description": "Branch to create the release from",
|
|
1965
|
-
"name": "branch",
|
|
1966
|
-
"required": true,
|
|
1967
|
-
"hasDynamicHelp": false,
|
|
1968
|
-
"multiple": false,
|
|
1969
|
-
"type": "option"
|
|
1970
|
-
},
|
|
1971
1991
|
"description": {
|
|
1972
1992
|
"char": "d",
|
|
1973
|
-
"description": "
|
|
1993
|
+
"description": "New description",
|
|
1974
1994
|
"name": "description",
|
|
1975
1995
|
"required": false,
|
|
1976
1996
|
"hasDynamicHelp": false,
|
|
1977
1997
|
"multiple": false,
|
|
1978
1998
|
"type": "option"
|
|
1979
1999
|
},
|
|
1980
|
-
"hotfix": {
|
|
1981
|
-
"description": "Mark as a hotfix release",
|
|
1982
|
-
"name": "hotfix",
|
|
1983
|
-
"required": false,
|
|
1984
|
-
"allowNo": false,
|
|
1985
|
-
"type": "boolean"
|
|
1986
|
-
},
|
|
1987
2000
|
"name": {
|
|
1988
2001
|
"char": "n",
|
|
1989
|
-
"description": "
|
|
2002
|
+
"description": "New name for the release",
|
|
1990
2003
|
"name": "name",
|
|
1991
|
-
"required":
|
|
2004
|
+
"required": false,
|
|
1992
2005
|
"hasDynamicHelp": false,
|
|
1993
2006
|
"multiple": false,
|
|
1994
2007
|
"type": "option"
|
|
@@ -2007,14 +2020,6 @@
|
|
|
2007
2020
|
],
|
|
2008
2021
|
"type": "option"
|
|
2009
2022
|
},
|
|
2010
|
-
"table-ids": {
|
|
2011
|
-
"description": "Comma-separated table IDs to include",
|
|
2012
|
-
"name": "table-ids",
|
|
2013
|
-
"required": false,
|
|
2014
|
-
"hasDynamicHelp": false,
|
|
2015
|
-
"multiple": false,
|
|
2016
|
-
"type": "option"
|
|
2017
|
-
},
|
|
2018
2023
|
"workspace": {
|
|
2019
2024
|
"char": "w",
|
|
2020
2025
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2027,7 +2032,7 @@
|
|
|
2027
2032
|
},
|
|
2028
2033
|
"hasDynamicHelp": false,
|
|
2029
2034
|
"hiddenAliases": [],
|
|
2030
|
-
"id": "release:
|
|
2035
|
+
"id": "release:edit",
|
|
2031
2036
|
"pluginAlias": "@xano/cli",
|
|
2032
2037
|
"pluginName": "@xano/cli",
|
|
2033
2038
|
"pluginType": "core",
|
|
@@ -2038,17 +2043,24 @@
|
|
|
2038
2043
|
"dist",
|
|
2039
2044
|
"commands",
|
|
2040
2045
|
"release",
|
|
2041
|
-
"
|
|
2046
|
+
"edit",
|
|
2042
2047
|
"index.js"
|
|
2043
2048
|
]
|
|
2044
2049
|
},
|
|
2045
|
-
"release:
|
|
2050
|
+
"release:export": {
|
|
2046
2051
|
"aliases": [],
|
|
2047
|
-
"args": {
|
|
2048
|
-
|
|
2052
|
+
"args": {
|
|
2053
|
+
"release_name": {
|
|
2054
|
+
"description": "Release name to export",
|
|
2055
|
+
"name": "release_name",
|
|
2056
|
+
"required": true
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
"description": "Export (download) a release to a local file",
|
|
2049
2060
|
"examples": [
|
|
2050
|
-
"$ xano release
|
|
2051
|
-
"$ xano release
|
|
2061
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
2062
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
2063
|
+
"$ xano release export v1.0 -o json"
|
|
2052
2064
|
],
|
|
2053
2065
|
"flags": {
|
|
2054
2066
|
"profile": {
|
|
@@ -2070,19 +2082,10 @@
|
|
|
2070
2082
|
"allowNo": false,
|
|
2071
2083
|
"type": "boolean"
|
|
2072
2084
|
},
|
|
2073
|
-
"
|
|
2074
|
-
"char": "f",
|
|
2075
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2076
|
-
"name": "file",
|
|
2077
|
-
"required": true,
|
|
2078
|
-
"hasDynamicHelp": false,
|
|
2079
|
-
"multiple": false,
|
|
2080
|
-
"type": "option"
|
|
2081
|
-
},
|
|
2082
|
-
"output": {
|
|
2085
|
+
"format": {
|
|
2083
2086
|
"char": "o",
|
|
2084
2087
|
"description": "Output format",
|
|
2085
|
-
"name": "
|
|
2088
|
+
"name": "format",
|
|
2086
2089
|
"required": false,
|
|
2087
2090
|
"default": "summary",
|
|
2088
2091
|
"hasDynamicHelp": false,
|
|
@@ -2093,6 +2096,14 @@
|
|
|
2093
2096
|
],
|
|
2094
2097
|
"type": "option"
|
|
2095
2098
|
},
|
|
2099
|
+
"output": {
|
|
2100
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2101
|
+
"name": "output",
|
|
2102
|
+
"required": false,
|
|
2103
|
+
"hasDynamicHelp": false,
|
|
2104
|
+
"multiple": false,
|
|
2105
|
+
"type": "option"
|
|
2106
|
+
},
|
|
2096
2107
|
"workspace": {
|
|
2097
2108
|
"char": "w",
|
|
2098
2109
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2105,7 +2116,7 @@
|
|
|
2105
2116
|
},
|
|
2106
2117
|
"hasDynamicHelp": false,
|
|
2107
2118
|
"hiddenAliases": [],
|
|
2108
|
-
"id": "release:
|
|
2119
|
+
"id": "release:export",
|
|
2109
2120
|
"pluginAlias": "@xano/cli",
|
|
2110
2121
|
"pluginName": "@xano/cli",
|
|
2111
2122
|
"pluginType": "core",
|
|
@@ -2116,17 +2127,23 @@
|
|
|
2116
2127
|
"dist",
|
|
2117
2128
|
"commands",
|
|
2118
2129
|
"release",
|
|
2119
|
-
"
|
|
2130
|
+
"export",
|
|
2120
2131
|
"index.js"
|
|
2121
2132
|
]
|
|
2122
2133
|
},
|
|
2123
|
-
"release:
|
|
2134
|
+
"release:get": {
|
|
2124
2135
|
"aliases": [],
|
|
2125
|
-
"args": {
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2136
|
+
"args": {
|
|
2137
|
+
"release_name": {
|
|
2138
|
+
"description": "Release name to retrieve",
|
|
2139
|
+
"name": "release_name",
|
|
2140
|
+
"required": true
|
|
2141
|
+
}
|
|
2142
|
+
},
|
|
2143
|
+
"description": "Get details of a specific release",
|
|
2144
|
+
"examples": [
|
|
2145
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2146
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2130
2147
|
],
|
|
2131
2148
|
"flags": {
|
|
2132
2149
|
"profile": {
|
|
@@ -2174,7 +2191,7 @@
|
|
|
2174
2191
|
},
|
|
2175
2192
|
"hasDynamicHelp": false,
|
|
2176
2193
|
"hiddenAliases": [],
|
|
2177
|
-
"id": "release:
|
|
2194
|
+
"id": "release:get",
|
|
2178
2195
|
"pluginAlias": "@xano/cli",
|
|
2179
2196
|
"pluginName": "@xano/cli",
|
|
2180
2197
|
"pluginType": "core",
|
|
@@ -2185,7 +2202,7 @@
|
|
|
2185
2202
|
"dist",
|
|
2186
2203
|
"commands",
|
|
2187
2204
|
"release",
|
|
2188
|
-
"
|
|
2205
|
+
"get",
|
|
2189
2206
|
"index.js"
|
|
2190
2207
|
]
|
|
2191
2208
|
},
|
|
@@ -2274,22 +2291,13 @@
|
|
|
2274
2291
|
"index.js"
|
|
2275
2292
|
]
|
|
2276
2293
|
},
|
|
2277
|
-
"release:
|
|
2294
|
+
"release:list": {
|
|
2278
2295
|
"aliases": [],
|
|
2279
|
-
"args": {
|
|
2280
|
-
|
|
2281
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2282
|
-
"name": "directory",
|
|
2283
|
-
"required": true
|
|
2284
|
-
}
|
|
2285
|
-
},
|
|
2286
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2296
|
+
"args": {},
|
|
2297
|
+
"description": "List all releases in a workspace",
|
|
2287
2298
|
"examples": [
|
|
2288
|
-
"$ xano release
|
|
2289
|
-
"$ xano release
|
|
2290
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2291
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2292
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2299
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2300
|
+
"$ xano release list -w 5 --output json"
|
|
2293
2301
|
],
|
|
2294
2302
|
"flags": {
|
|
2295
2303
|
"profile": {
|
|
@@ -2311,39 +2319,6 @@
|
|
|
2311
2319
|
"allowNo": false,
|
|
2312
2320
|
"type": "boolean"
|
|
2313
2321
|
},
|
|
2314
|
-
"description": {
|
|
2315
|
-
"char": "d",
|
|
2316
|
-
"description": "Release description",
|
|
2317
|
-
"name": "description",
|
|
2318
|
-
"required": false,
|
|
2319
|
-
"default": "",
|
|
2320
|
-
"hasDynamicHelp": false,
|
|
2321
|
-
"multiple": false,
|
|
2322
|
-
"type": "option"
|
|
2323
|
-
},
|
|
2324
|
-
"env": {
|
|
2325
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2326
|
-
"name": "env",
|
|
2327
|
-
"required": false,
|
|
2328
|
-
"allowNo": true,
|
|
2329
|
-
"type": "boolean"
|
|
2330
|
-
},
|
|
2331
|
-
"hotfix": {
|
|
2332
|
-
"description": "Mark as a hotfix release",
|
|
2333
|
-
"name": "hotfix",
|
|
2334
|
-
"required": false,
|
|
2335
|
-
"allowNo": false,
|
|
2336
|
-
"type": "boolean"
|
|
2337
|
-
},
|
|
2338
|
-
"name": {
|
|
2339
|
-
"char": "n",
|
|
2340
|
-
"description": "Name for the release",
|
|
2341
|
-
"name": "name",
|
|
2342
|
-
"required": true,
|
|
2343
|
-
"hasDynamicHelp": false,
|
|
2344
|
-
"multiple": false,
|
|
2345
|
-
"type": "option"
|
|
2346
|
-
},
|
|
2347
2322
|
"output": {
|
|
2348
2323
|
"char": "o",
|
|
2349
2324
|
"description": "Output format",
|
|
@@ -2358,16 +2333,9 @@
|
|
|
2358
2333
|
],
|
|
2359
2334
|
"type": "option"
|
|
2360
2335
|
},
|
|
2361
|
-
"records": {
|
|
2362
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2363
|
-
"name": "records",
|
|
2364
|
-
"required": false,
|
|
2365
|
-
"allowNo": true,
|
|
2366
|
-
"type": "boolean"
|
|
2367
|
-
},
|
|
2368
2336
|
"workspace": {
|
|
2369
2337
|
"char": "w",
|
|
2370
|
-
"description": "Workspace ID (
|
|
2338
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2371
2339
|
"name": "workspace",
|
|
2372
2340
|
"required": false,
|
|
2373
2341
|
"hasDynamicHelp": false,
|
|
@@ -2377,7 +2345,7 @@
|
|
|
2377
2345
|
},
|
|
2378
2346
|
"hasDynamicHelp": false,
|
|
2379
2347
|
"hiddenAliases": [],
|
|
2380
|
-
"id": "release:
|
|
2348
|
+
"id": "release:list",
|
|
2381
2349
|
"pluginAlias": "@xano/cli",
|
|
2382
2350
|
"pluginName": "@xano/cli",
|
|
2383
2351
|
"pluginType": "core",
|
|
@@ -2388,19 +2356,17 @@
|
|
|
2388
2356
|
"dist",
|
|
2389
2357
|
"commands",
|
|
2390
2358
|
"release",
|
|
2391
|
-
"
|
|
2359
|
+
"list",
|
|
2392
2360
|
"index.js"
|
|
2393
2361
|
]
|
|
2394
2362
|
},
|
|
2395
|
-
"
|
|
2363
|
+
"release:import": {
|
|
2396
2364
|
"aliases": [],
|
|
2397
2365
|
"args": {},
|
|
2398
|
-
"description": "
|
|
2366
|
+
"description": "Import a release file into a workspace",
|
|
2399
2367
|
"examples": [
|
|
2400
|
-
"$ xano
|
|
2401
|
-
"$ xano
|
|
2402
|
-
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2403
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2368
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2369
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2404
2370
|
],
|
|
2405
2371
|
"flags": {
|
|
2406
2372
|
"profile": {
|
|
@@ -2422,6 +2388,15 @@
|
|
|
2422
2388
|
"allowNo": false,
|
|
2423
2389
|
"type": "boolean"
|
|
2424
2390
|
},
|
|
2391
|
+
"file": {
|
|
2392
|
+
"char": "f",
|
|
2393
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2394
|
+
"name": "file",
|
|
2395
|
+
"required": true,
|
|
2396
|
+
"hasDynamicHelp": false,
|
|
2397
|
+
"multiple": false,
|
|
2398
|
+
"type": "option"
|
|
2399
|
+
},
|
|
2425
2400
|
"output": {
|
|
2426
2401
|
"char": "o",
|
|
2427
2402
|
"description": "Output format",
|
|
@@ -2436,27 +2411,9 @@
|
|
|
2436
2411
|
],
|
|
2437
2412
|
"type": "option"
|
|
2438
2413
|
},
|
|
2439
|
-
"page": {
|
|
2440
|
-
"description": "Page number for pagination",
|
|
2441
|
-
"name": "page",
|
|
2442
|
-
"required": false,
|
|
2443
|
-
"default": 1,
|
|
2444
|
-
"hasDynamicHelp": false,
|
|
2445
|
-
"multiple": false,
|
|
2446
|
-
"type": "option"
|
|
2447
|
-
},
|
|
2448
|
-
"per_page": {
|
|
2449
|
-
"description": "Number of results per page",
|
|
2450
|
-
"name": "per_page",
|
|
2451
|
-
"required": false,
|
|
2452
|
-
"default": 50,
|
|
2453
|
-
"hasDynamicHelp": false,
|
|
2454
|
-
"multiple": false,
|
|
2455
|
-
"type": "option"
|
|
2456
|
-
},
|
|
2457
2414
|
"workspace": {
|
|
2458
2415
|
"char": "w",
|
|
2459
|
-
"description": "Workspace ID (
|
|
2416
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2460
2417
|
"name": "workspace",
|
|
2461
2418
|
"required": false,
|
|
2462
2419
|
"hasDynamicHelp": false,
|
|
@@ -2466,7 +2423,7 @@
|
|
|
2466
2423
|
},
|
|
2467
2424
|
"hasDynamicHelp": false,
|
|
2468
2425
|
"hiddenAliases": [],
|
|
2469
|
-
"id": "
|
|
2426
|
+
"id": "release:import",
|
|
2470
2427
|
"pluginAlias": "@xano/cli",
|
|
2471
2428
|
"pluginName": "@xano/cli",
|
|
2472
2429
|
"pluginType": "core",
|
|
@@ -2476,24 +2433,27 @@
|
|
|
2476
2433
|
"relativePath": [
|
|
2477
2434
|
"dist",
|
|
2478
2435
|
"commands",
|
|
2479
|
-
"
|
|
2480
|
-
"
|
|
2436
|
+
"release",
|
|
2437
|
+
"import",
|
|
2481
2438
|
"index.js"
|
|
2482
2439
|
]
|
|
2483
2440
|
},
|
|
2484
|
-
"release:
|
|
2441
|
+
"release:push": {
|
|
2485
2442
|
"aliases": [],
|
|
2486
2443
|
"args": {
|
|
2487
|
-
"
|
|
2488
|
-
"description": "
|
|
2489
|
-
"name": "
|
|
2444
|
+
"directory": {
|
|
2445
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2446
|
+
"name": "directory",
|
|
2490
2447
|
"required": true
|
|
2491
2448
|
}
|
|
2492
2449
|
},
|
|
2493
|
-
"description": "
|
|
2450
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2494
2451
|
"examples": [
|
|
2495
|
-
"$ xano release
|
|
2496
|
-
"$ xano release
|
|
2452
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2453
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2454
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2455
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2456
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2497
2457
|
],
|
|
2498
2458
|
"flags": {
|
|
2499
2459
|
"profile": {
|
|
@@ -2515,6 +2475,39 @@
|
|
|
2515
2475
|
"allowNo": false,
|
|
2516
2476
|
"type": "boolean"
|
|
2517
2477
|
},
|
|
2478
|
+
"description": {
|
|
2479
|
+
"char": "d",
|
|
2480
|
+
"description": "Release description",
|
|
2481
|
+
"name": "description",
|
|
2482
|
+
"required": false,
|
|
2483
|
+
"default": "",
|
|
2484
|
+
"hasDynamicHelp": false,
|
|
2485
|
+
"multiple": false,
|
|
2486
|
+
"type": "option"
|
|
2487
|
+
},
|
|
2488
|
+
"env": {
|
|
2489
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2490
|
+
"name": "env",
|
|
2491
|
+
"required": false,
|
|
2492
|
+
"allowNo": true,
|
|
2493
|
+
"type": "boolean"
|
|
2494
|
+
},
|
|
2495
|
+
"hotfix": {
|
|
2496
|
+
"description": "Mark as a hotfix release",
|
|
2497
|
+
"name": "hotfix",
|
|
2498
|
+
"required": false,
|
|
2499
|
+
"allowNo": false,
|
|
2500
|
+
"type": "boolean"
|
|
2501
|
+
},
|
|
2502
|
+
"name": {
|
|
2503
|
+
"char": "n",
|
|
2504
|
+
"description": "Name for the release",
|
|
2505
|
+
"name": "name",
|
|
2506
|
+
"required": true,
|
|
2507
|
+
"hasDynamicHelp": false,
|
|
2508
|
+
"multiple": false,
|
|
2509
|
+
"type": "option"
|
|
2510
|
+
},
|
|
2518
2511
|
"output": {
|
|
2519
2512
|
"char": "o",
|
|
2520
2513
|
"description": "Output format",
|
|
@@ -2529,9 +2522,16 @@
|
|
|
2529
2522
|
],
|
|
2530
2523
|
"type": "option"
|
|
2531
2524
|
},
|
|
2525
|
+
"records": {
|
|
2526
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2527
|
+
"name": "records",
|
|
2528
|
+
"required": false,
|
|
2529
|
+
"allowNo": true,
|
|
2530
|
+
"type": "boolean"
|
|
2531
|
+
},
|
|
2532
2532
|
"workspace": {
|
|
2533
2533
|
"char": "w",
|
|
2534
|
-
"description": "Workspace ID (
|
|
2534
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2535
2535
|
"name": "workspace",
|
|
2536
2536
|
"required": false,
|
|
2537
2537
|
"hasDynamicHelp": false,
|
|
@@ -2541,7 +2541,7 @@
|
|
|
2541
2541
|
},
|
|
2542
2542
|
"hasDynamicHelp": false,
|
|
2543
2543
|
"hiddenAliases": [],
|
|
2544
|
-
"id": "release:
|
|
2544
|
+
"id": "release:push",
|
|
2545
2545
|
"pluginAlias": "@xano/cli",
|
|
2546
2546
|
"pluginName": "@xano/cli",
|
|
2547
2547
|
"pluginType": "core",
|
|
@@ -2552,23 +2552,24 @@
|
|
|
2552
2552
|
"dist",
|
|
2553
2553
|
"commands",
|
|
2554
2554
|
"release",
|
|
2555
|
-
"
|
|
2555
|
+
"push",
|
|
2556
2556
|
"index.js"
|
|
2557
2557
|
]
|
|
2558
2558
|
},
|
|
2559
|
-
"tenant:
|
|
2559
|
+
"tenant:delete": {
|
|
2560
2560
|
"aliases": [],
|
|
2561
2561
|
"args": {
|
|
2562
2562
|
"tenant_name": {
|
|
2563
|
-
"description": "Tenant name to
|
|
2563
|
+
"description": "Tenant name to delete",
|
|
2564
2564
|
"name": "tenant_name",
|
|
2565
2565
|
"required": true
|
|
2566
2566
|
}
|
|
2567
2567
|
},
|
|
2568
|
-
"description": "
|
|
2568
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2569
2569
|
"examples": [
|
|
2570
|
-
"$ xano tenant
|
|
2571
|
-
"$ xano tenant
|
|
2570
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2571
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2572
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2572
2573
|
],
|
|
2573
2574
|
"flags": {
|
|
2574
2575
|
"profile": {
|
|
@@ -2590,6 +2591,14 @@
|
|
|
2590
2591
|
"allowNo": false,
|
|
2591
2592
|
"type": "boolean"
|
|
2592
2593
|
},
|
|
2594
|
+
"force": {
|
|
2595
|
+
"char": "f",
|
|
2596
|
+
"description": "Skip confirmation prompt",
|
|
2597
|
+
"name": "force",
|
|
2598
|
+
"required": false,
|
|
2599
|
+
"allowNo": false,
|
|
2600
|
+
"type": "boolean"
|
|
2601
|
+
},
|
|
2593
2602
|
"output": {
|
|
2594
2603
|
"char": "o",
|
|
2595
2604
|
"description": "Output format",
|
|
@@ -2604,14 +2613,6 @@
|
|
|
2604
2613
|
],
|
|
2605
2614
|
"type": "option"
|
|
2606
2615
|
},
|
|
2607
|
-
"platform_id": {
|
|
2608
|
-
"description": "Platform ID to deploy",
|
|
2609
|
-
"name": "platform_id",
|
|
2610
|
-
"required": true,
|
|
2611
|
-
"hasDynamicHelp": false,
|
|
2612
|
-
"multiple": false,
|
|
2613
|
-
"type": "option"
|
|
2614
|
-
},
|
|
2615
2616
|
"workspace": {
|
|
2616
2617
|
"char": "w",
|
|
2617
2618
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2624,7 +2625,7 @@
|
|
|
2624
2625
|
},
|
|
2625
2626
|
"hasDynamicHelp": false,
|
|
2626
2627
|
"hiddenAliases": [],
|
|
2627
|
-
"id": "tenant:
|
|
2628
|
+
"id": "tenant:delete",
|
|
2628
2629
|
"pluginAlias": "@xano/cli",
|
|
2629
2630
|
"pluginName": "@xano/cli",
|
|
2630
2631
|
"pluginType": "core",
|
|
@@ -2635,24 +2636,23 @@
|
|
|
2635
2636
|
"dist",
|
|
2636
2637
|
"commands",
|
|
2637
2638
|
"tenant",
|
|
2638
|
-
"
|
|
2639
|
+
"delete",
|
|
2639
2640
|
"index.js"
|
|
2640
2641
|
]
|
|
2641
2642
|
},
|
|
2642
|
-
"tenant:
|
|
2643
|
+
"tenant:deploy_platform": {
|
|
2643
2644
|
"aliases": [],
|
|
2644
2645
|
"args": {
|
|
2645
2646
|
"tenant_name": {
|
|
2646
|
-
"description": "Tenant name to
|
|
2647
|
+
"description": "Tenant name to deploy to",
|
|
2647
2648
|
"name": "tenant_name",
|
|
2648
2649
|
"required": true
|
|
2649
2650
|
}
|
|
2650
2651
|
},
|
|
2651
|
-
"description": "
|
|
2652
|
+
"description": "Deploy a platform version to a tenant",
|
|
2652
2653
|
"examples": [
|
|
2653
|
-
"$ xano tenant
|
|
2654
|
-
"$ xano tenant
|
|
2655
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2654
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2655
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2656
2656
|
],
|
|
2657
2657
|
"flags": {
|
|
2658
2658
|
"profile": {
|
|
@@ -2674,14 +2674,6 @@
|
|
|
2674
2674
|
"allowNo": false,
|
|
2675
2675
|
"type": "boolean"
|
|
2676
2676
|
},
|
|
2677
|
-
"force": {
|
|
2678
|
-
"char": "f",
|
|
2679
|
-
"description": "Skip confirmation prompt",
|
|
2680
|
-
"name": "force",
|
|
2681
|
-
"required": false,
|
|
2682
|
-
"allowNo": false,
|
|
2683
|
-
"type": "boolean"
|
|
2684
|
-
},
|
|
2685
2677
|
"output": {
|
|
2686
2678
|
"char": "o",
|
|
2687
2679
|
"description": "Output format",
|
|
@@ -2696,6 +2688,14 @@
|
|
|
2696
2688
|
],
|
|
2697
2689
|
"type": "option"
|
|
2698
2690
|
},
|
|
2691
|
+
"platform_id": {
|
|
2692
|
+
"description": "Platform ID to deploy",
|
|
2693
|
+
"name": "platform_id",
|
|
2694
|
+
"required": true,
|
|
2695
|
+
"hasDynamicHelp": false,
|
|
2696
|
+
"multiple": false,
|
|
2697
|
+
"type": "option"
|
|
2698
|
+
},
|
|
2699
2699
|
"workspace": {
|
|
2700
2700
|
"char": "w",
|
|
2701
2701
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2708,7 +2708,7 @@
|
|
|
2708
2708
|
},
|
|
2709
2709
|
"hasDynamicHelp": false,
|
|
2710
2710
|
"hiddenAliases": [],
|
|
2711
|
-
"id": "tenant:
|
|
2711
|
+
"id": "tenant:deploy_platform",
|
|
2712
2712
|
"pluginAlias": "@xano/cli",
|
|
2713
2713
|
"pluginName": "@xano/cli",
|
|
2714
2714
|
"pluginType": "core",
|
|
@@ -2719,7 +2719,7 @@
|
|
|
2719
2719
|
"dist",
|
|
2720
2720
|
"commands",
|
|
2721
2721
|
"tenant",
|
|
2722
|
-
"
|
|
2722
|
+
"deploy_platform",
|
|
2723
2723
|
"index.js"
|
|
2724
2724
|
]
|
|
2725
2725
|
},
|
|
@@ -2863,19 +2863,19 @@
|
|
|
2863
2863
|
"index.js"
|
|
2864
2864
|
]
|
|
2865
2865
|
},
|
|
2866
|
-
"tenant:
|
|
2866
|
+
"tenant:get": {
|
|
2867
2867
|
"aliases": [],
|
|
2868
2868
|
"args": {
|
|
2869
2869
|
"tenant_name": {
|
|
2870
|
-
"description": "Tenant name to
|
|
2870
|
+
"description": "Tenant name to retrieve",
|
|
2871
2871
|
"name": "tenant_name",
|
|
2872
2872
|
"required": true
|
|
2873
2873
|
}
|
|
2874
2874
|
},
|
|
2875
|
-
"description": "
|
|
2875
|
+
"description": "Get details of a specific tenant",
|
|
2876
2876
|
"examples": [
|
|
2877
|
-
"$ xano tenant
|
|
2878
|
-
"$ xano tenant
|
|
2877
|
+
"$ 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",
|
|
2878
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
2879
2879
|
],
|
|
2880
2880
|
"flags": {
|
|
2881
2881
|
"profile": {
|
|
@@ -2911,15 +2911,6 @@
|
|
|
2911
2911
|
],
|
|
2912
2912
|
"type": "option"
|
|
2913
2913
|
},
|
|
2914
|
-
"release": {
|
|
2915
|
-
"char": "r",
|
|
2916
|
-
"description": "Release name to deploy",
|
|
2917
|
-
"name": "release",
|
|
2918
|
-
"required": true,
|
|
2919
|
-
"hasDynamicHelp": false,
|
|
2920
|
-
"multiple": false,
|
|
2921
|
-
"type": "option"
|
|
2922
|
-
},
|
|
2923
2914
|
"workspace": {
|
|
2924
2915
|
"char": "w",
|
|
2925
2916
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2932,7 +2923,7 @@
|
|
|
2932
2923
|
},
|
|
2933
2924
|
"hasDynamicHelp": false,
|
|
2934
2925
|
"hiddenAliases": [],
|
|
2935
|
-
"id": "tenant:
|
|
2926
|
+
"id": "tenant:get",
|
|
2936
2927
|
"pluginAlias": "@xano/cli",
|
|
2937
2928
|
"pluginName": "@xano/cli",
|
|
2938
2929
|
"pluginType": "core",
|
|
@@ -2943,7 +2934,7 @@
|
|
|
2943
2934
|
"dist",
|
|
2944
2935
|
"commands",
|
|
2945
2936
|
"tenant",
|
|
2946
|
-
"
|
|
2937
|
+
"get",
|
|
2947
2938
|
"index.js"
|
|
2948
2939
|
]
|
|
2949
2940
|
},
|
|
@@ -3076,19 +3067,19 @@
|
|
|
3076
3067
|
"index.js"
|
|
3077
3068
|
]
|
|
3078
3069
|
},
|
|
3079
|
-
"tenant:
|
|
3070
|
+
"tenant:deploy_release": {
|
|
3080
3071
|
"aliases": [],
|
|
3081
3072
|
"args": {
|
|
3082
3073
|
"tenant_name": {
|
|
3083
|
-
"description": "Tenant name to
|
|
3074
|
+
"description": "Tenant name to deploy to",
|
|
3084
3075
|
"name": "tenant_name",
|
|
3085
3076
|
"required": true
|
|
3086
3077
|
}
|
|
3087
3078
|
},
|
|
3088
|
-
"description": "
|
|
3079
|
+
"description": "Deploy a release to a tenant",
|
|
3089
3080
|
"examples": [
|
|
3090
|
-
"$ xano tenant
|
|
3091
|
-
"$ xano tenant
|
|
3081
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
3082
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3092
3083
|
],
|
|
3093
3084
|
"flags": {
|
|
3094
3085
|
"profile": {
|
|
@@ -3124,6 +3115,15 @@
|
|
|
3124
3115
|
],
|
|
3125
3116
|
"type": "option"
|
|
3126
3117
|
},
|
|
3118
|
+
"release": {
|
|
3119
|
+
"char": "r",
|
|
3120
|
+
"description": "Release name to deploy",
|
|
3121
|
+
"name": "release",
|
|
3122
|
+
"required": true,
|
|
3123
|
+
"hasDynamicHelp": false,
|
|
3124
|
+
"multiple": false,
|
|
3125
|
+
"type": "option"
|
|
3126
|
+
},
|
|
3127
3127
|
"workspace": {
|
|
3128
3128
|
"char": "w",
|
|
3129
3129
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3136,7 +3136,7 @@
|
|
|
3136
3136
|
},
|
|
3137
3137
|
"hasDynamicHelp": false,
|
|
3138
3138
|
"hiddenAliases": [],
|
|
3139
|
-
"id": "tenant:
|
|
3139
|
+
"id": "tenant:deploy_release",
|
|
3140
3140
|
"pluginAlias": "@xano/cli",
|
|
3141
3141
|
"pluginName": "@xano/cli",
|
|
3142
3142
|
"pluginType": "core",
|
|
@@ -3147,7 +3147,100 @@
|
|
|
3147
3147
|
"dist",
|
|
3148
3148
|
"commands",
|
|
3149
3149
|
"tenant",
|
|
3150
|
-
"
|
|
3150
|
+
"deploy_release",
|
|
3151
|
+
"index.js"
|
|
3152
|
+
]
|
|
3153
|
+
},
|
|
3154
|
+
"tenant:pull": {
|
|
3155
|
+
"aliases": [],
|
|
3156
|
+
"args": {
|
|
3157
|
+
"directory": {
|
|
3158
|
+
"description": "Output directory for pulled documents",
|
|
3159
|
+
"name": "directory",
|
|
3160
|
+
"required": true
|
|
3161
|
+
}
|
|
3162
|
+
},
|
|
3163
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3164
|
+
"examples": [
|
|
3165
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3166
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3167
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3168
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3169
|
+
],
|
|
3170
|
+
"flags": {
|
|
3171
|
+
"profile": {
|
|
3172
|
+
"char": "p",
|
|
3173
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3174
|
+
"env": "XANO_PROFILE",
|
|
3175
|
+
"name": "profile",
|
|
3176
|
+
"required": false,
|
|
3177
|
+
"hasDynamicHelp": false,
|
|
3178
|
+
"multiple": false,
|
|
3179
|
+
"type": "option"
|
|
3180
|
+
},
|
|
3181
|
+
"verbose": {
|
|
3182
|
+
"char": "v",
|
|
3183
|
+
"description": "Show detailed request/response information",
|
|
3184
|
+
"env": "XANO_VERBOSE",
|
|
3185
|
+
"name": "verbose",
|
|
3186
|
+
"required": false,
|
|
3187
|
+
"allowNo": false,
|
|
3188
|
+
"type": "boolean"
|
|
3189
|
+
},
|
|
3190
|
+
"draft": {
|
|
3191
|
+
"description": "Include draft versions",
|
|
3192
|
+
"name": "draft",
|
|
3193
|
+
"required": false,
|
|
3194
|
+
"allowNo": false,
|
|
3195
|
+
"type": "boolean"
|
|
3196
|
+
},
|
|
3197
|
+
"env": {
|
|
3198
|
+
"description": "Include environment variables",
|
|
3199
|
+
"name": "env",
|
|
3200
|
+
"required": false,
|
|
3201
|
+
"allowNo": false,
|
|
3202
|
+
"type": "boolean"
|
|
3203
|
+
},
|
|
3204
|
+
"records": {
|
|
3205
|
+
"description": "Include records",
|
|
3206
|
+
"name": "records",
|
|
3207
|
+
"required": false,
|
|
3208
|
+
"allowNo": false,
|
|
3209
|
+
"type": "boolean"
|
|
3210
|
+
},
|
|
3211
|
+
"tenant": {
|
|
3212
|
+
"char": "t",
|
|
3213
|
+
"description": "Tenant name to pull from",
|
|
3214
|
+
"name": "tenant",
|
|
3215
|
+
"required": true,
|
|
3216
|
+
"hasDynamicHelp": false,
|
|
3217
|
+
"multiple": false,
|
|
3218
|
+
"type": "option"
|
|
3219
|
+
},
|
|
3220
|
+
"workspace": {
|
|
3221
|
+
"char": "w",
|
|
3222
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3223
|
+
"name": "workspace",
|
|
3224
|
+
"required": false,
|
|
3225
|
+
"hasDynamicHelp": false,
|
|
3226
|
+
"multiple": false,
|
|
3227
|
+
"type": "option"
|
|
3228
|
+
}
|
|
3229
|
+
},
|
|
3230
|
+
"hasDynamicHelp": false,
|
|
3231
|
+
"hiddenAliases": [],
|
|
3232
|
+
"id": "tenant:pull",
|
|
3233
|
+
"pluginAlias": "@xano/cli",
|
|
3234
|
+
"pluginName": "@xano/cli",
|
|
3235
|
+
"pluginType": "core",
|
|
3236
|
+
"strict": true,
|
|
3237
|
+
"enableJsonFlag": false,
|
|
3238
|
+
"isESM": true,
|
|
3239
|
+
"relativePath": [
|
|
3240
|
+
"dist",
|
|
3241
|
+
"commands",
|
|
3242
|
+
"tenant",
|
|
3243
|
+
"pull",
|
|
3151
3244
|
"index.js"
|
|
3152
3245
|
]
|
|
3153
3246
|
},
|
|
@@ -3234,13 +3327,114 @@
|
|
|
3234
3327
|
"index.js"
|
|
3235
3328
|
]
|
|
3236
3329
|
},
|
|
3237
|
-
"tenant:
|
|
3330
|
+
"tenant:push": {
|
|
3238
3331
|
"aliases": [],
|
|
3239
|
-
"args": {
|
|
3240
|
-
|
|
3332
|
+
"args": {
|
|
3333
|
+
"directory": {
|
|
3334
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3335
|
+
"name": "directory",
|
|
3336
|
+
"required": true
|
|
3337
|
+
}
|
|
3338
|
+
},
|
|
3339
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3241
3340
|
"examples": [
|
|
3242
|
-
"$ xano tenant
|
|
3243
|
-
"$ xano tenant
|
|
3341
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3342
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3343
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3344
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3345
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3346
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3347
|
+
],
|
|
3348
|
+
"flags": {
|
|
3349
|
+
"profile": {
|
|
3350
|
+
"char": "p",
|
|
3351
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3352
|
+
"env": "XANO_PROFILE",
|
|
3353
|
+
"name": "profile",
|
|
3354
|
+
"required": false,
|
|
3355
|
+
"hasDynamicHelp": false,
|
|
3356
|
+
"multiple": false,
|
|
3357
|
+
"type": "option"
|
|
3358
|
+
},
|
|
3359
|
+
"verbose": {
|
|
3360
|
+
"char": "v",
|
|
3361
|
+
"description": "Show detailed request/response information",
|
|
3362
|
+
"env": "XANO_VERBOSE",
|
|
3363
|
+
"name": "verbose",
|
|
3364
|
+
"required": false,
|
|
3365
|
+
"allowNo": false,
|
|
3366
|
+
"type": "boolean"
|
|
3367
|
+
},
|
|
3368
|
+
"env": {
|
|
3369
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3370
|
+
"name": "env",
|
|
3371
|
+
"required": false,
|
|
3372
|
+
"allowNo": true,
|
|
3373
|
+
"type": "boolean"
|
|
3374
|
+
},
|
|
3375
|
+
"records": {
|
|
3376
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3377
|
+
"name": "records",
|
|
3378
|
+
"required": false,
|
|
3379
|
+
"allowNo": true,
|
|
3380
|
+
"type": "boolean"
|
|
3381
|
+
},
|
|
3382
|
+
"tenant": {
|
|
3383
|
+
"char": "t",
|
|
3384
|
+
"description": "Tenant name to push to",
|
|
3385
|
+
"name": "tenant",
|
|
3386
|
+
"required": true,
|
|
3387
|
+
"hasDynamicHelp": false,
|
|
3388
|
+
"multiple": false,
|
|
3389
|
+
"type": "option"
|
|
3390
|
+
},
|
|
3391
|
+
"truncate": {
|
|
3392
|
+
"description": "Truncate all table records before importing",
|
|
3393
|
+
"name": "truncate",
|
|
3394
|
+
"required": false,
|
|
3395
|
+
"allowNo": false,
|
|
3396
|
+
"type": "boolean"
|
|
3397
|
+
},
|
|
3398
|
+
"workspace": {
|
|
3399
|
+
"char": "w",
|
|
3400
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3401
|
+
"name": "workspace",
|
|
3402
|
+
"required": false,
|
|
3403
|
+
"hasDynamicHelp": false,
|
|
3404
|
+
"multiple": false,
|
|
3405
|
+
"type": "option"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
"hasDynamicHelp": false,
|
|
3409
|
+
"hiddenAliases": [],
|
|
3410
|
+
"id": "tenant:push",
|
|
3411
|
+
"pluginAlias": "@xano/cli",
|
|
3412
|
+
"pluginName": "@xano/cli",
|
|
3413
|
+
"pluginType": "core",
|
|
3414
|
+
"strict": true,
|
|
3415
|
+
"enableJsonFlag": false,
|
|
3416
|
+
"isESM": true,
|
|
3417
|
+
"relativePath": [
|
|
3418
|
+
"dist",
|
|
3419
|
+
"commands",
|
|
3420
|
+
"tenant",
|
|
3421
|
+
"push",
|
|
3422
|
+
"index.js"
|
|
3423
|
+
]
|
|
3424
|
+
},
|
|
3425
|
+
"unit_test:run": {
|
|
3426
|
+
"aliases": [],
|
|
3427
|
+
"args": {
|
|
3428
|
+
"unit_test_id": {
|
|
3429
|
+
"description": "ID of the unit test to run",
|
|
3430
|
+
"name": "unit_test_id",
|
|
3431
|
+
"required": true
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
"description": "Run a unit test",
|
|
3435
|
+
"examples": [
|
|
3436
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3437
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3244
3438
|
],
|
|
3245
3439
|
"flags": {
|
|
3246
3440
|
"profile": {
|
|
@@ -3288,7 +3482,7 @@
|
|
|
3288
3482
|
},
|
|
3289
3483
|
"hasDynamicHelp": false,
|
|
3290
3484
|
"hiddenAliases": [],
|
|
3291
|
-
"id": "
|
|
3485
|
+
"id": "unit_test:run",
|
|
3292
3486
|
"pluginAlias": "@xano/cli",
|
|
3293
3487
|
"pluginName": "@xano/cli",
|
|
3294
3488
|
"pluginType": "core",
|
|
@@ -3298,26 +3492,18 @@
|
|
|
3298
3492
|
"relativePath": [
|
|
3299
3493
|
"dist",
|
|
3300
3494
|
"commands",
|
|
3301
|
-
"
|
|
3302
|
-
"
|
|
3495
|
+
"unit_test",
|
|
3496
|
+
"run",
|
|
3303
3497
|
"index.js"
|
|
3304
3498
|
]
|
|
3305
3499
|
},
|
|
3306
|
-
"
|
|
3500
|
+
"unit_test:run_all": {
|
|
3307
3501
|
"aliases": [],
|
|
3308
|
-
"args": {
|
|
3309
|
-
|
|
3310
|
-
"description": "Output directory for pulled documents",
|
|
3311
|
-
"name": "directory",
|
|
3312
|
-
"required": true
|
|
3313
|
-
}
|
|
3314
|
-
},
|
|
3315
|
-
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3502
|
+
"args": {},
|
|
3503
|
+
"description": "Run all unit tests in a workspace",
|
|
3316
3504
|
"examples": [
|
|
3317
|
-
"$ xano
|
|
3318
|
-
"$ xano
|
|
3319
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3320
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3505
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
3506
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3321
3507
|
],
|
|
3322
3508
|
"flags": {
|
|
3323
3509
|
"profile": {
|
|
@@ -3339,39 +3525,45 @@
|
|
|
3339
3525
|
"allowNo": false,
|
|
3340
3526
|
"type": "boolean"
|
|
3341
3527
|
},
|
|
3342
|
-
"
|
|
3343
|
-
"
|
|
3344
|
-
"
|
|
3528
|
+
"branch": {
|
|
3529
|
+
"char": "b",
|
|
3530
|
+
"description": "Filter by branch name",
|
|
3531
|
+
"name": "branch",
|
|
3345
3532
|
"required": false,
|
|
3346
|
-
"
|
|
3347
|
-
"
|
|
3533
|
+
"hasDynamicHelp": false,
|
|
3534
|
+
"multiple": false,
|
|
3535
|
+
"type": "option"
|
|
3348
3536
|
},
|
|
3349
|
-
"
|
|
3350
|
-
"description": "
|
|
3351
|
-
"name": "
|
|
3537
|
+
"obj-type": {
|
|
3538
|
+
"description": "Filter by object type",
|
|
3539
|
+
"name": "obj-type",
|
|
3352
3540
|
"required": false,
|
|
3353
|
-
"
|
|
3354
|
-
"
|
|
3541
|
+
"hasDynamicHelp": false,
|
|
3542
|
+
"multiple": false,
|
|
3543
|
+
"options": [
|
|
3544
|
+
"function",
|
|
3545
|
+
"query",
|
|
3546
|
+
"middleware"
|
|
3547
|
+
],
|
|
3548
|
+
"type": "option"
|
|
3355
3549
|
},
|
|
3356
|
-
"
|
|
3357
|
-
"
|
|
3358
|
-
"
|
|
3550
|
+
"output": {
|
|
3551
|
+
"char": "o",
|
|
3552
|
+
"description": "Output format",
|
|
3553
|
+
"name": "output",
|
|
3359
3554
|
"required": false,
|
|
3360
|
-
"
|
|
3361
|
-
"type": "boolean"
|
|
3362
|
-
},
|
|
3363
|
-
"tenant": {
|
|
3364
|
-
"char": "t",
|
|
3365
|
-
"description": "Tenant name to pull from",
|
|
3366
|
-
"name": "tenant",
|
|
3367
|
-
"required": true,
|
|
3555
|
+
"default": "summary",
|
|
3368
3556
|
"hasDynamicHelp": false,
|
|
3369
3557
|
"multiple": false,
|
|
3558
|
+
"options": [
|
|
3559
|
+
"summary",
|
|
3560
|
+
"json"
|
|
3561
|
+
],
|
|
3370
3562
|
"type": "option"
|
|
3371
3563
|
},
|
|
3372
3564
|
"workspace": {
|
|
3373
3565
|
"char": "w",
|
|
3374
|
-
"description": "Workspace ID (
|
|
3566
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3375
3567
|
"name": "workspace",
|
|
3376
3568
|
"required": false,
|
|
3377
3569
|
"hasDynamicHelp": false,
|
|
@@ -3381,7 +3573,7 @@
|
|
|
3381
3573
|
},
|
|
3382
3574
|
"hasDynamicHelp": false,
|
|
3383
3575
|
"hiddenAliases": [],
|
|
3384
|
-
"id": "
|
|
3576
|
+
"id": "unit_test:run_all",
|
|
3385
3577
|
"pluginAlias": "@xano/cli",
|
|
3386
3578
|
"pluginName": "@xano/cli",
|
|
3387
3579
|
"pluginType": "core",
|
|
@@ -3391,28 +3583,25 @@
|
|
|
3391
3583
|
"relativePath": [
|
|
3392
3584
|
"dist",
|
|
3393
3585
|
"commands",
|
|
3394
|
-
"
|
|
3395
|
-
"
|
|
3586
|
+
"unit_test",
|
|
3587
|
+
"run_all",
|
|
3396
3588
|
"index.js"
|
|
3397
3589
|
]
|
|
3398
3590
|
},
|
|
3399
|
-
"
|
|
3591
|
+
"workspace:create": {
|
|
3400
3592
|
"aliases": [],
|
|
3401
3593
|
"args": {
|
|
3402
|
-
"
|
|
3403
|
-
"description": "
|
|
3404
|
-
"name": "
|
|
3594
|
+
"name": {
|
|
3595
|
+
"description": "Name of the workspace",
|
|
3596
|
+
"name": "name",
|
|
3405
3597
|
"required": true
|
|
3406
3598
|
}
|
|
3407
3599
|
},
|
|
3408
|
-
"description": "
|
|
3600
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
3409
3601
|
"examples": [
|
|
3410
|
-
"$ xano
|
|
3411
|
-
"$ xano
|
|
3412
|
-
"$ xano
|
|
3413
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3414
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3415
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3602
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
3603
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
3604
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
3416
3605
|
],
|
|
3417
3606
|
"flags": {
|
|
3418
3607
|
"profile": {
|
|
@@ -3434,39 +3623,115 @@
|
|
|
3434
3623
|
"allowNo": false,
|
|
3435
3624
|
"type": "boolean"
|
|
3436
3625
|
},
|
|
3437
|
-
"
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3626
|
+
"description": {
|
|
3627
|
+
"char": "d",
|
|
3628
|
+
"description": "Description for the workspace",
|
|
3629
|
+
"name": "description",
|
|
3440
3630
|
"required": false,
|
|
3441
|
-
"
|
|
3442
|
-
"
|
|
3631
|
+
"hasDynamicHelp": false,
|
|
3632
|
+
"multiple": false,
|
|
3633
|
+
"type": "option"
|
|
3443
3634
|
},
|
|
3444
|
-
"
|
|
3445
|
-
"
|
|
3446
|
-
"
|
|
3635
|
+
"output": {
|
|
3636
|
+
"char": "o",
|
|
3637
|
+
"description": "Output format",
|
|
3638
|
+
"name": "output",
|
|
3639
|
+
"required": false,
|
|
3640
|
+
"default": "summary",
|
|
3641
|
+
"hasDynamicHelp": false,
|
|
3642
|
+
"multiple": false,
|
|
3643
|
+
"options": [
|
|
3644
|
+
"summary",
|
|
3645
|
+
"json"
|
|
3646
|
+
],
|
|
3647
|
+
"type": "option"
|
|
3648
|
+
}
|
|
3649
|
+
},
|
|
3650
|
+
"hasDynamicHelp": false,
|
|
3651
|
+
"hiddenAliases": [],
|
|
3652
|
+
"id": "workspace:create",
|
|
3653
|
+
"pluginAlias": "@xano/cli",
|
|
3654
|
+
"pluginName": "@xano/cli",
|
|
3655
|
+
"pluginType": "core",
|
|
3656
|
+
"strict": true,
|
|
3657
|
+
"enableJsonFlag": false,
|
|
3658
|
+
"isESM": true,
|
|
3659
|
+
"relativePath": [
|
|
3660
|
+
"dist",
|
|
3661
|
+
"commands",
|
|
3662
|
+
"workspace",
|
|
3663
|
+
"create",
|
|
3664
|
+
"index.js"
|
|
3665
|
+
]
|
|
3666
|
+
},
|
|
3667
|
+
"unit_test:list": {
|
|
3668
|
+
"aliases": [],
|
|
3669
|
+
"args": {},
|
|
3670
|
+
"description": "List all unit tests in a workspace",
|
|
3671
|
+
"examples": [
|
|
3672
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3673
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3674
|
+
"$ xano unit-test list --obj-type function"
|
|
3675
|
+
],
|
|
3676
|
+
"flags": {
|
|
3677
|
+
"profile": {
|
|
3678
|
+
"char": "p",
|
|
3679
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3680
|
+
"env": "XANO_PROFILE",
|
|
3681
|
+
"name": "profile",
|
|
3447
3682
|
"required": false,
|
|
3448
|
-
"allowNo": true,
|
|
3449
|
-
"type": "boolean"
|
|
3450
|
-
},
|
|
3451
|
-
"tenant": {
|
|
3452
|
-
"char": "t",
|
|
3453
|
-
"description": "Tenant name to push to",
|
|
3454
|
-
"name": "tenant",
|
|
3455
|
-
"required": true,
|
|
3456
3683
|
"hasDynamicHelp": false,
|
|
3457
3684
|
"multiple": false,
|
|
3458
3685
|
"type": "option"
|
|
3459
3686
|
},
|
|
3460
|
-
"
|
|
3461
|
-
"
|
|
3462
|
-
"
|
|
3687
|
+
"verbose": {
|
|
3688
|
+
"char": "v",
|
|
3689
|
+
"description": "Show detailed request/response information",
|
|
3690
|
+
"env": "XANO_VERBOSE",
|
|
3691
|
+
"name": "verbose",
|
|
3463
3692
|
"required": false,
|
|
3464
3693
|
"allowNo": false,
|
|
3465
3694
|
"type": "boolean"
|
|
3466
3695
|
},
|
|
3696
|
+
"branch": {
|
|
3697
|
+
"char": "b",
|
|
3698
|
+
"description": "Filter by branch name",
|
|
3699
|
+
"name": "branch",
|
|
3700
|
+
"required": false,
|
|
3701
|
+
"hasDynamicHelp": false,
|
|
3702
|
+
"multiple": false,
|
|
3703
|
+
"type": "option"
|
|
3704
|
+
},
|
|
3705
|
+
"obj-type": {
|
|
3706
|
+
"description": "Filter by object type",
|
|
3707
|
+
"name": "obj-type",
|
|
3708
|
+
"required": false,
|
|
3709
|
+
"hasDynamicHelp": false,
|
|
3710
|
+
"multiple": false,
|
|
3711
|
+
"options": [
|
|
3712
|
+
"function",
|
|
3713
|
+
"query",
|
|
3714
|
+
"middleware"
|
|
3715
|
+
],
|
|
3716
|
+
"type": "option"
|
|
3717
|
+
},
|
|
3718
|
+
"output": {
|
|
3719
|
+
"char": "o",
|
|
3720
|
+
"description": "Output format",
|
|
3721
|
+
"name": "output",
|
|
3722
|
+
"required": false,
|
|
3723
|
+
"default": "summary",
|
|
3724
|
+
"hasDynamicHelp": false,
|
|
3725
|
+
"multiple": false,
|
|
3726
|
+
"options": [
|
|
3727
|
+
"summary",
|
|
3728
|
+
"json"
|
|
3729
|
+
],
|
|
3730
|
+
"type": "option"
|
|
3731
|
+
},
|
|
3467
3732
|
"workspace": {
|
|
3468
3733
|
"char": "w",
|
|
3469
|
-
"description": "Workspace ID (
|
|
3734
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3470
3735
|
"name": "workspace",
|
|
3471
3736
|
"required": false,
|
|
3472
3737
|
"hasDynamicHelp": false,
|
|
@@ -3476,7 +3741,7 @@
|
|
|
3476
3741
|
},
|
|
3477
3742
|
"hasDynamicHelp": false,
|
|
3478
3743
|
"hiddenAliases": [],
|
|
3479
|
-
"id": "
|
|
3744
|
+
"id": "unit_test:list",
|
|
3480
3745
|
"pluginAlias": "@xano/cli",
|
|
3481
3746
|
"pluginName": "@xano/cli",
|
|
3482
3747
|
"pluginType": "core",
|
|
@@ -3486,24 +3751,18 @@
|
|
|
3486
3751
|
"relativePath": [
|
|
3487
3752
|
"dist",
|
|
3488
3753
|
"commands",
|
|
3489
|
-
"
|
|
3490
|
-
"
|
|
3754
|
+
"unit_test",
|
|
3755
|
+
"list",
|
|
3491
3756
|
"index.js"
|
|
3492
3757
|
]
|
|
3493
3758
|
},
|
|
3494
|
-
"
|
|
3759
|
+
"tenant:list": {
|
|
3495
3760
|
"aliases": [],
|
|
3496
|
-
"args": {
|
|
3497
|
-
|
|
3498
|
-
"description": "ID of the unit test to run",
|
|
3499
|
-
"name": "unit_test_id",
|
|
3500
|
-
"required": true
|
|
3501
|
-
}
|
|
3502
|
-
},
|
|
3503
|
-
"description": "Run a unit test",
|
|
3761
|
+
"args": {},
|
|
3762
|
+
"description": "List all tenants in a workspace",
|
|
3504
3763
|
"examples": [
|
|
3505
|
-
"$ xano
|
|
3506
|
-
"$ xano
|
|
3764
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3765
|
+
"$ xano tenant list -w 5 --output json"
|
|
3507
3766
|
],
|
|
3508
3767
|
"flags": {
|
|
3509
3768
|
"profile": {
|
|
@@ -3551,7 +3810,7 @@
|
|
|
3551
3810
|
},
|
|
3552
3811
|
"hasDynamicHelp": false,
|
|
3553
3812
|
"hiddenAliases": [],
|
|
3554
|
-
"id": "
|
|
3813
|
+
"id": "tenant:list",
|
|
3555
3814
|
"pluginAlias": "@xano/cli",
|
|
3556
3815
|
"pluginName": "@xano/cli",
|
|
3557
3816
|
"pluginType": "core",
|
|
@@ -3561,19 +3820,26 @@
|
|
|
3561
3820
|
"relativePath": [
|
|
3562
3821
|
"dist",
|
|
3563
3822
|
"commands",
|
|
3564
|
-
"
|
|
3565
|
-
"
|
|
3823
|
+
"tenant",
|
|
3824
|
+
"list",
|
|
3566
3825
|
"index.js"
|
|
3567
3826
|
]
|
|
3568
3827
|
},
|
|
3569
|
-
"
|
|
3828
|
+
"workspace:edit": {
|
|
3570
3829
|
"aliases": [],
|
|
3571
|
-
"args": {
|
|
3572
|
-
|
|
3830
|
+
"args": {
|
|
3831
|
+
"workspace_id": {
|
|
3832
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3833
|
+
"name": "workspace_id",
|
|
3834
|
+
"required": false
|
|
3835
|
+
}
|
|
3836
|
+
},
|
|
3837
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
3573
3838
|
"examples": [
|
|
3574
|
-
"$ xano
|
|
3575
|
-
"$ xano
|
|
3576
|
-
"$ xano
|
|
3839
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
3840
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
3841
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
3842
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
3577
3843
|
],
|
|
3578
3844
|
"flags": {
|
|
3579
3845
|
"profile": {
|
|
@@ -3595,26 +3861,22 @@
|
|
|
3595
3861
|
"allowNo": false,
|
|
3596
3862
|
"type": "boolean"
|
|
3597
3863
|
},
|
|
3598
|
-
"
|
|
3599
|
-
"char": "
|
|
3600
|
-
"description": "
|
|
3601
|
-
"name": "
|
|
3864
|
+
"description": {
|
|
3865
|
+
"char": "d",
|
|
3866
|
+
"description": "New description for the workspace",
|
|
3867
|
+
"name": "description",
|
|
3602
3868
|
"required": false,
|
|
3603
3869
|
"hasDynamicHelp": false,
|
|
3604
3870
|
"multiple": false,
|
|
3605
3871
|
"type": "option"
|
|
3606
3872
|
},
|
|
3607
|
-
"
|
|
3608
|
-
"
|
|
3609
|
-
"
|
|
3873
|
+
"name": {
|
|
3874
|
+
"char": "n",
|
|
3875
|
+
"description": "New name for the workspace",
|
|
3876
|
+
"name": "name",
|
|
3610
3877
|
"required": false,
|
|
3611
3878
|
"hasDynamicHelp": false,
|
|
3612
3879
|
"multiple": false,
|
|
3613
|
-
"options": [
|
|
3614
|
-
"function",
|
|
3615
|
-
"query",
|
|
3616
|
-
"middleware"
|
|
3617
|
-
],
|
|
3618
3880
|
"type": "option"
|
|
3619
3881
|
},
|
|
3620
3882
|
"output": {
|
|
@@ -3631,19 +3893,24 @@
|
|
|
3631
3893
|
],
|
|
3632
3894
|
"type": "option"
|
|
3633
3895
|
},
|
|
3634
|
-
"
|
|
3635
|
-
"
|
|
3636
|
-
"
|
|
3637
|
-
"name": "workspace",
|
|
3896
|
+
"require-token": {
|
|
3897
|
+
"description": "Whether to require a token for documentation access",
|
|
3898
|
+
"name": "require-token",
|
|
3638
3899
|
"required": false,
|
|
3639
|
-
"
|
|
3640
|
-
"
|
|
3641
|
-
|
|
3900
|
+
"allowNo": true,
|
|
3901
|
+
"type": "boolean"
|
|
3902
|
+
},
|
|
3903
|
+
"swagger": {
|
|
3904
|
+
"description": "Enable or disable swagger documentation",
|
|
3905
|
+
"name": "swagger",
|
|
3906
|
+
"required": false,
|
|
3907
|
+
"allowNo": true,
|
|
3908
|
+
"type": "boolean"
|
|
3642
3909
|
}
|
|
3643
3910
|
},
|
|
3644
3911
|
"hasDynamicHelp": false,
|
|
3645
3912
|
"hiddenAliases": [],
|
|
3646
|
-
"id": "
|
|
3913
|
+
"id": "workspace:edit",
|
|
3647
3914
|
"pluginAlias": "@xano/cli",
|
|
3648
3915
|
"pluginName": "@xano/cli",
|
|
3649
3916
|
"pluginType": "core",
|
|
@@ -3653,18 +3920,25 @@
|
|
|
3653
3920
|
"relativePath": [
|
|
3654
3921
|
"dist",
|
|
3655
3922
|
"commands",
|
|
3656
|
-
"
|
|
3657
|
-
"
|
|
3923
|
+
"workspace",
|
|
3924
|
+
"edit",
|
|
3658
3925
|
"index.js"
|
|
3659
3926
|
]
|
|
3660
3927
|
},
|
|
3661
|
-
"
|
|
3928
|
+
"workspace:delete": {
|
|
3662
3929
|
"aliases": [],
|
|
3663
|
-
"args": {
|
|
3664
|
-
|
|
3930
|
+
"args": {
|
|
3931
|
+
"workspace_id": {
|
|
3932
|
+
"description": "Workspace ID to delete",
|
|
3933
|
+
"name": "workspace_id",
|
|
3934
|
+
"required": true
|
|
3935
|
+
}
|
|
3936
|
+
},
|
|
3937
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
3665
3938
|
"examples": [
|
|
3666
|
-
"$ xano
|
|
3667
|
-
"$ xano
|
|
3939
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
3940
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
3941
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3668
3942
|
],
|
|
3669
3943
|
"flags": {
|
|
3670
3944
|
"profile": {
|
|
@@ -3686,27 +3960,13 @@
|
|
|
3686
3960
|
"allowNo": false,
|
|
3687
3961
|
"type": "boolean"
|
|
3688
3962
|
},
|
|
3689
|
-
"
|
|
3690
|
-
"char": "
|
|
3691
|
-
"description": "
|
|
3692
|
-
"name": "
|
|
3693
|
-
"required": false,
|
|
3694
|
-
"hasDynamicHelp": false,
|
|
3695
|
-
"multiple": false,
|
|
3696
|
-
"type": "option"
|
|
3697
|
-
},
|
|
3698
|
-
"obj-type": {
|
|
3699
|
-
"description": "Filter by object type",
|
|
3700
|
-
"name": "obj-type",
|
|
3963
|
+
"force": {
|
|
3964
|
+
"char": "f",
|
|
3965
|
+
"description": "Skip confirmation prompt",
|
|
3966
|
+
"name": "force",
|
|
3701
3967
|
"required": false,
|
|
3702
|
-
"
|
|
3703
|
-
"
|
|
3704
|
-
"options": [
|
|
3705
|
-
"function",
|
|
3706
|
-
"query",
|
|
3707
|
-
"middleware"
|
|
3708
|
-
],
|
|
3709
|
-
"type": "option"
|
|
3968
|
+
"allowNo": false,
|
|
3969
|
+
"type": "boolean"
|
|
3710
3970
|
},
|
|
3711
3971
|
"output": {
|
|
3712
3972
|
"char": "o",
|
|
@@ -3721,20 +3981,11 @@
|
|
|
3721
3981
|
"json"
|
|
3722
3982
|
],
|
|
3723
3983
|
"type": "option"
|
|
3724
|
-
},
|
|
3725
|
-
"workspace": {
|
|
3726
|
-
"char": "w",
|
|
3727
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3728
|
-
"name": "workspace",
|
|
3729
|
-
"required": false,
|
|
3730
|
-
"hasDynamicHelp": false,
|
|
3731
|
-
"multiple": false,
|
|
3732
|
-
"type": "option"
|
|
3733
3984
|
}
|
|
3734
3985
|
},
|
|
3735
3986
|
"hasDynamicHelp": false,
|
|
3736
3987
|
"hiddenAliases": [],
|
|
3737
|
-
"id": "
|
|
3988
|
+
"id": "workspace:delete",
|
|
3738
3989
|
"pluginAlias": "@xano/cli",
|
|
3739
3990
|
"pluginName": "@xano/cli",
|
|
3740
3991
|
"pluginType": "core",
|
|
@@ -3744,25 +3995,25 @@
|
|
|
3744
3995
|
"relativePath": [
|
|
3745
3996
|
"dist",
|
|
3746
3997
|
"commands",
|
|
3747
|
-
"
|
|
3748
|
-
"
|
|
3998
|
+
"workspace",
|
|
3999
|
+
"delete",
|
|
3749
4000
|
"index.js"
|
|
3750
4001
|
]
|
|
3751
4002
|
},
|
|
3752
|
-
"workspace:
|
|
4003
|
+
"workspace:get": {
|
|
3753
4004
|
"aliases": [],
|
|
3754
4005
|
"args": {
|
|
3755
|
-
"
|
|
3756
|
-
"description": "
|
|
3757
|
-
"name": "
|
|
3758
|
-
"required":
|
|
4006
|
+
"workspace_id": {
|
|
4007
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4008
|
+
"name": "workspace_id",
|
|
4009
|
+
"required": false
|
|
3759
4010
|
}
|
|
3760
4011
|
},
|
|
3761
|
-
"description": "
|
|
4012
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
3762
4013
|
"examples": [
|
|
3763
|
-
"$ xano workspace
|
|
3764
|
-
"$ xano workspace
|
|
3765
|
-
"$ xano workspace
|
|
4014
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4015
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4016
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
3766
4017
|
],
|
|
3767
4018
|
"flags": {
|
|
3768
4019
|
"profile": {
|
|
@@ -3784,15 +4035,6 @@
|
|
|
3784
4035
|
"allowNo": false,
|
|
3785
4036
|
"type": "boolean"
|
|
3786
4037
|
},
|
|
3787
|
-
"description": {
|
|
3788
|
-
"char": "d",
|
|
3789
|
-
"description": "Description for the workspace",
|
|
3790
|
-
"name": "description",
|
|
3791
|
-
"required": false,
|
|
3792
|
-
"hasDynamicHelp": false,
|
|
3793
|
-
"multiple": false,
|
|
3794
|
-
"type": "option"
|
|
3795
|
-
},
|
|
3796
4038
|
"output": {
|
|
3797
4039
|
"char": "o",
|
|
3798
4040
|
"description": "Output format",
|
|
@@ -3810,7 +4052,7 @@
|
|
|
3810
4052
|
},
|
|
3811
4053
|
"hasDynamicHelp": false,
|
|
3812
4054
|
"hiddenAliases": [],
|
|
3813
|
-
"id": "workspace:
|
|
4055
|
+
"id": "workspace:get",
|
|
3814
4056
|
"pluginAlias": "@xano/cli",
|
|
3815
4057
|
"pluginName": "@xano/cli",
|
|
3816
4058
|
"pluginType": "core",
|
|
@@ -3821,24 +4063,23 @@
|
|
|
3821
4063
|
"dist",
|
|
3822
4064
|
"commands",
|
|
3823
4065
|
"workspace",
|
|
3824
|
-
"
|
|
4066
|
+
"get",
|
|
3825
4067
|
"index.js"
|
|
3826
4068
|
]
|
|
3827
4069
|
},
|
|
3828
|
-
"
|
|
4070
|
+
"workflow_test:delete": {
|
|
3829
4071
|
"aliases": [],
|
|
3830
4072
|
"args": {
|
|
3831
|
-
"
|
|
3832
|
-
"description": "
|
|
3833
|
-
"name": "
|
|
4073
|
+
"workflow_test_id": {
|
|
4074
|
+
"description": "ID of the workflow test to delete",
|
|
4075
|
+
"name": "workflow_test_id",
|
|
3834
4076
|
"required": true
|
|
3835
4077
|
}
|
|
3836
4078
|
},
|
|
3837
|
-
"description": "Delete a
|
|
4079
|
+
"description": "Delete a workflow test",
|
|
3838
4080
|
"examples": [
|
|
3839
|
-
"$ xano
|
|
3840
|
-
"$ xano
|
|
3841
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4081
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
4082
|
+
"$ xano workflow-test delete 1 --force"
|
|
3842
4083
|
],
|
|
3843
4084
|
"flags": {
|
|
3844
4085
|
"profile": {
|
|
@@ -3881,11 +4122,20 @@
|
|
|
3881
4122
|
"json"
|
|
3882
4123
|
],
|
|
3883
4124
|
"type": "option"
|
|
4125
|
+
},
|
|
4126
|
+
"workspace": {
|
|
4127
|
+
"char": "w",
|
|
4128
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4129
|
+
"name": "workspace",
|
|
4130
|
+
"required": false,
|
|
4131
|
+
"hasDynamicHelp": false,
|
|
4132
|
+
"multiple": false,
|
|
4133
|
+
"type": "option"
|
|
3884
4134
|
}
|
|
3885
4135
|
},
|
|
3886
4136
|
"hasDynamicHelp": false,
|
|
3887
4137
|
"hiddenAliases": [],
|
|
3888
|
-
"id": "
|
|
4138
|
+
"id": "workflow_test:delete",
|
|
3889
4139
|
"pluginAlias": "@xano/cli",
|
|
3890
4140
|
"pluginName": "@xano/cli",
|
|
3891
4141
|
"pluginType": "core",
|
|
@@ -3895,25 +4145,25 @@
|
|
|
3895
4145
|
"relativePath": [
|
|
3896
4146
|
"dist",
|
|
3897
4147
|
"commands",
|
|
3898
|
-
"
|
|
4148
|
+
"workflow_test",
|
|
3899
4149
|
"delete",
|
|
3900
4150
|
"index.js"
|
|
3901
4151
|
]
|
|
3902
4152
|
},
|
|
3903
|
-
"
|
|
4153
|
+
"workflow_test:get": {
|
|
3904
4154
|
"aliases": [],
|
|
3905
4155
|
"args": {
|
|
3906
|
-
"
|
|
3907
|
-
"description": "
|
|
3908
|
-
"name": "
|
|
3909
|
-
"required":
|
|
4156
|
+
"workflow_test_id": {
|
|
4157
|
+
"description": "ID of the workflow test",
|
|
4158
|
+
"name": "workflow_test_id",
|
|
4159
|
+
"required": true
|
|
3910
4160
|
}
|
|
3911
4161
|
},
|
|
3912
|
-
"description": "Get
|
|
4162
|
+
"description": "Get a specific workflow test",
|
|
3913
4163
|
"examples": [
|
|
3914
|
-
"$ xano
|
|
3915
|
-
"$ xano
|
|
3916
|
-
"$ xano
|
|
4164
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
4165
|
+
"$ xano workflow-test get 1 -o xs",
|
|
4166
|
+
"$ xano workflow-test get 1 -o json"
|
|
3917
4167
|
],
|
|
3918
4168
|
"flags": {
|
|
3919
4169
|
"profile": {
|
|
@@ -3935,6 +4185,13 @@
|
|
|
3935
4185
|
"allowNo": false,
|
|
3936
4186
|
"type": "boolean"
|
|
3937
4187
|
},
|
|
4188
|
+
"include-draft": {
|
|
4189
|
+
"description": "Include draft version",
|
|
4190
|
+
"name": "include-draft",
|
|
4191
|
+
"required": false,
|
|
4192
|
+
"allowNo": false,
|
|
4193
|
+
"type": "boolean"
|
|
4194
|
+
},
|
|
3938
4195
|
"output": {
|
|
3939
4196
|
"char": "o",
|
|
3940
4197
|
"description": "Output format",
|
|
@@ -3945,14 +4202,24 @@
|
|
|
3945
4202
|
"multiple": false,
|
|
3946
4203
|
"options": [
|
|
3947
4204
|
"summary",
|
|
3948
|
-
"json"
|
|
4205
|
+
"json",
|
|
4206
|
+
"xs"
|
|
3949
4207
|
],
|
|
3950
4208
|
"type": "option"
|
|
4209
|
+
},
|
|
4210
|
+
"workspace": {
|
|
4211
|
+
"char": "w",
|
|
4212
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4213
|
+
"name": "workspace",
|
|
4214
|
+
"required": false,
|
|
4215
|
+
"hasDynamicHelp": false,
|
|
4216
|
+
"multiple": false,
|
|
4217
|
+
"type": "option"
|
|
3951
4218
|
}
|
|
3952
4219
|
},
|
|
3953
4220
|
"hasDynamicHelp": false,
|
|
3954
4221
|
"hiddenAliases": [],
|
|
3955
|
-
"id": "
|
|
4222
|
+
"id": "workflow_test:get",
|
|
3956
4223
|
"pluginAlias": "@xano/cli",
|
|
3957
4224
|
"pluginName": "@xano/cli",
|
|
3958
4225
|
"pluginType": "core",
|
|
@@ -3962,26 +4229,19 @@
|
|
|
3962
4229
|
"relativePath": [
|
|
3963
4230
|
"dist",
|
|
3964
4231
|
"commands",
|
|
3965
|
-
"
|
|
4232
|
+
"workflow_test",
|
|
3966
4233
|
"get",
|
|
3967
4234
|
"index.js"
|
|
3968
4235
|
]
|
|
3969
4236
|
},
|
|
3970
|
-
"
|
|
4237
|
+
"workflow_test:list": {
|
|
3971
4238
|
"aliases": [],
|
|
3972
|
-
"args": {
|
|
3973
|
-
|
|
3974
|
-
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3975
|
-
"name": "workspace_id",
|
|
3976
|
-
"required": false
|
|
3977
|
-
}
|
|
3978
|
-
},
|
|
3979
|
-
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4239
|
+
"args": {},
|
|
4240
|
+
"description": "List all workflow tests in a workspace",
|
|
3980
4241
|
"examples": [
|
|
3981
|
-
"$ xano
|
|
3982
|
-
"$ xano
|
|
3983
|
-
"$ xano
|
|
3984
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4242
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4243
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4244
|
+
"$ xano workflow-test list --branch main"
|
|
3985
4245
|
],
|
|
3986
4246
|
"flags": {
|
|
3987
4247
|
"profile": {
|
|
@@ -4003,19 +4263,10 @@
|
|
|
4003
4263
|
"allowNo": false,
|
|
4004
4264
|
"type": "boolean"
|
|
4005
4265
|
},
|
|
4006
|
-
"
|
|
4007
|
-
"char": "
|
|
4008
|
-
"description": "
|
|
4009
|
-
"name": "
|
|
4010
|
-
"required": false,
|
|
4011
|
-
"hasDynamicHelp": false,
|
|
4012
|
-
"multiple": false,
|
|
4013
|
-
"type": "option"
|
|
4014
|
-
},
|
|
4015
|
-
"name": {
|
|
4016
|
-
"char": "n",
|
|
4017
|
-
"description": "New name for the workspace",
|
|
4018
|
-
"name": "name",
|
|
4266
|
+
"branch": {
|
|
4267
|
+
"char": "b",
|
|
4268
|
+
"description": "Filter by branch name",
|
|
4269
|
+
"name": "branch",
|
|
4019
4270
|
"required": false,
|
|
4020
4271
|
"hasDynamicHelp": false,
|
|
4021
4272
|
"multiple": false,
|
|
@@ -4035,24 +4286,19 @@
|
|
|
4035
4286
|
],
|
|
4036
4287
|
"type": "option"
|
|
4037
4288
|
},
|
|
4038
|
-
"
|
|
4039
|
-
"
|
|
4040
|
-
"
|
|
4041
|
-
"
|
|
4042
|
-
"allowNo": true,
|
|
4043
|
-
"type": "boolean"
|
|
4044
|
-
},
|
|
4045
|
-
"swagger": {
|
|
4046
|
-
"description": "Enable or disable swagger documentation",
|
|
4047
|
-
"name": "swagger",
|
|
4289
|
+
"workspace": {
|
|
4290
|
+
"char": "w",
|
|
4291
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4292
|
+
"name": "workspace",
|
|
4048
4293
|
"required": false,
|
|
4049
|
-
"
|
|
4050
|
-
"
|
|
4294
|
+
"hasDynamicHelp": false,
|
|
4295
|
+
"multiple": false,
|
|
4296
|
+
"type": "option"
|
|
4051
4297
|
}
|
|
4052
4298
|
},
|
|
4053
4299
|
"hasDynamicHelp": false,
|
|
4054
4300
|
"hiddenAliases": [],
|
|
4055
|
-
"id": "
|
|
4301
|
+
"id": "workflow_test:list",
|
|
4056
4302
|
"pluginAlias": "@xano/cli",
|
|
4057
4303
|
"pluginName": "@xano/cli",
|
|
4058
4304
|
"pluginType": "core",
|
|
@@ -4062,24 +4308,24 @@
|
|
|
4062
4308
|
"relativePath": [
|
|
4063
4309
|
"dist",
|
|
4064
4310
|
"commands",
|
|
4065
|
-
"
|
|
4066
|
-
"
|
|
4311
|
+
"workflow_test",
|
|
4312
|
+
"list",
|
|
4067
4313
|
"index.js"
|
|
4068
4314
|
]
|
|
4069
4315
|
},
|
|
4070
|
-
"workflow_test:
|
|
4316
|
+
"workflow_test:run": {
|
|
4071
4317
|
"aliases": [],
|
|
4072
4318
|
"args": {
|
|
4073
4319
|
"workflow_test_id": {
|
|
4074
|
-
"description": "ID of the workflow test to
|
|
4320
|
+
"description": "ID of the workflow test to run",
|
|
4075
4321
|
"name": "workflow_test_id",
|
|
4076
4322
|
"required": true
|
|
4077
4323
|
}
|
|
4078
4324
|
},
|
|
4079
|
-
"description": "
|
|
4325
|
+
"description": "Run a workflow test",
|
|
4080
4326
|
"examples": [
|
|
4081
|
-
"$ xano workflow-test
|
|
4082
|
-
"$ xano workflow-test
|
|
4327
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4328
|
+
"$ xano workflow-test run 1 -o json"
|
|
4083
4329
|
],
|
|
4084
4330
|
"flags": {
|
|
4085
4331
|
"profile": {
|
|
@@ -4101,14 +4347,6 @@
|
|
|
4101
4347
|
"allowNo": false,
|
|
4102
4348
|
"type": "boolean"
|
|
4103
4349
|
},
|
|
4104
|
-
"force": {
|
|
4105
|
-
"char": "f",
|
|
4106
|
-
"description": "Skip confirmation prompt",
|
|
4107
|
-
"name": "force",
|
|
4108
|
-
"required": false,
|
|
4109
|
-
"allowNo": false,
|
|
4110
|
-
"type": "boolean"
|
|
4111
|
-
},
|
|
4112
4350
|
"output": {
|
|
4113
4351
|
"char": "o",
|
|
4114
4352
|
"description": "Output format",
|
|
@@ -4135,7 +4373,7 @@
|
|
|
4135
4373
|
},
|
|
4136
4374
|
"hasDynamicHelp": false,
|
|
4137
4375
|
"hiddenAliases": [],
|
|
4138
|
-
"id": "workflow_test:
|
|
4376
|
+
"id": "workflow_test:run",
|
|
4139
4377
|
"pluginAlias": "@xano/cli",
|
|
4140
4378
|
"pluginName": "@xano/cli",
|
|
4141
4379
|
"pluginType": "core",
|
|
@@ -4146,7 +4384,7 @@
|
|
|
4146
4384
|
"dist",
|
|
4147
4385
|
"commands",
|
|
4148
4386
|
"workflow_test",
|
|
4149
|
-
"
|
|
4387
|
+
"run",
|
|
4150
4388
|
"index.js"
|
|
4151
4389
|
]
|
|
4152
4390
|
},
|
|
@@ -4352,211 +4590,57 @@
|
|
|
4352
4590
|
"branch": {
|
|
4353
4591
|
"char": "b",
|
|
4354
4592
|
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4355
|
-
"name": "branch",
|
|
4356
|
-
"required": false,
|
|
4357
|
-
"hasDynamicHelp": false,
|
|
4358
|
-
"multiple": false,
|
|
4359
|
-
"type": "option"
|
|
4360
|
-
},
|
|
4361
|
-
"delete": {
|
|
4362
|
-
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4363
|
-
"name": "delete",
|
|
4364
|
-
"required": false,
|
|
4365
|
-
"allowNo": true,
|
|
4366
|
-
"type": "boolean"
|
|
4367
|
-
},
|
|
4368
|
-
"env": {
|
|
4369
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4370
|
-
"name": "env",
|
|
4371
|
-
"required": false,
|
|
4372
|
-
"allowNo": true,
|
|
4373
|
-
"type": "boolean"
|
|
4374
|
-
},
|
|
4375
|
-
"partial": {
|
|
4376
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4377
|
-
"name": "partial",
|
|
4378
|
-
"required": false,
|
|
4379
|
-
"allowNo": false,
|
|
4380
|
-
"type": "boolean"
|
|
4381
|
-
},
|
|
4382
|
-
"records": {
|
|
4383
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4384
|
-
"name": "records",
|
|
4385
|
-
"required": false,
|
|
4386
|
-
"allowNo": true,
|
|
4387
|
-
"type": "boolean"
|
|
4388
|
-
},
|
|
4389
|
-
"sync-guids": {
|
|
4390
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4391
|
-
"name": "sync-guids",
|
|
4392
|
-
"required": false,
|
|
4393
|
-
"allowNo": true,
|
|
4394
|
-
"type": "boolean"
|
|
4395
|
-
},
|
|
4396
|
-
"truncate": {
|
|
4397
|
-
"description": "Truncate all table records before importing",
|
|
4398
|
-
"name": "truncate",
|
|
4399
|
-
"required": false,
|
|
4400
|
-
"allowNo": false,
|
|
4401
|
-
"type": "boolean"
|
|
4402
|
-
},
|
|
4403
|
-
"workspace": {
|
|
4404
|
-
"char": "w",
|
|
4405
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4406
|
-
"name": "workspace",
|
|
4407
|
-
"required": false,
|
|
4408
|
-
"hasDynamicHelp": false,
|
|
4409
|
-
"multiple": false,
|
|
4410
|
-
"type": "option"
|
|
4411
|
-
}
|
|
4412
|
-
},
|
|
4413
|
-
"hasDynamicHelp": false,
|
|
4414
|
-
"hiddenAliases": [],
|
|
4415
|
-
"id": "workspace:push",
|
|
4416
|
-
"pluginAlias": "@xano/cli",
|
|
4417
|
-
"pluginName": "@xano/cli",
|
|
4418
|
-
"pluginType": "core",
|
|
4419
|
-
"strict": true,
|
|
4420
|
-
"enableJsonFlag": false,
|
|
4421
|
-
"isESM": true,
|
|
4422
|
-
"relativePath": [
|
|
4423
|
-
"dist",
|
|
4424
|
-
"commands",
|
|
4425
|
-
"workspace",
|
|
4426
|
-
"push",
|
|
4427
|
-
"index.js"
|
|
4428
|
-
]
|
|
4429
|
-
},
|
|
4430
|
-
"workflow_test:list": {
|
|
4431
|
-
"aliases": [],
|
|
4432
|
-
"args": {},
|
|
4433
|
-
"description": "List all workflow tests in a workspace",
|
|
4434
|
-
"examples": [
|
|
4435
|
-
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4436
|
-
"$ xano workflow-test list -w 5 --output json",
|
|
4437
|
-
"$ xano workflow-test list --branch main"
|
|
4438
|
-
],
|
|
4439
|
-
"flags": {
|
|
4440
|
-
"profile": {
|
|
4441
|
-
"char": "p",
|
|
4442
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4443
|
-
"env": "XANO_PROFILE",
|
|
4444
|
-
"name": "profile",
|
|
4445
|
-
"required": false,
|
|
4446
|
-
"hasDynamicHelp": false,
|
|
4447
|
-
"multiple": false,
|
|
4448
|
-
"type": "option"
|
|
4449
|
-
},
|
|
4450
|
-
"verbose": {
|
|
4451
|
-
"char": "v",
|
|
4452
|
-
"description": "Show detailed request/response information",
|
|
4453
|
-
"env": "XANO_VERBOSE",
|
|
4454
|
-
"name": "verbose",
|
|
4455
|
-
"required": false,
|
|
4456
|
-
"allowNo": false,
|
|
4457
|
-
"type": "boolean"
|
|
4458
|
-
},
|
|
4459
|
-
"branch": {
|
|
4460
|
-
"char": "b",
|
|
4461
|
-
"description": "Filter by branch name",
|
|
4462
|
-
"name": "branch",
|
|
4463
|
-
"required": false,
|
|
4464
|
-
"hasDynamicHelp": false,
|
|
4465
|
-
"multiple": false,
|
|
4466
|
-
"type": "option"
|
|
4467
|
-
},
|
|
4468
|
-
"output": {
|
|
4469
|
-
"char": "o",
|
|
4470
|
-
"description": "Output format",
|
|
4471
|
-
"name": "output",
|
|
4472
|
-
"required": false,
|
|
4473
|
-
"default": "summary",
|
|
4474
|
-
"hasDynamicHelp": false,
|
|
4475
|
-
"multiple": false,
|
|
4476
|
-
"options": [
|
|
4477
|
-
"summary",
|
|
4478
|
-
"json"
|
|
4479
|
-
],
|
|
4480
|
-
"type": "option"
|
|
4481
|
-
},
|
|
4482
|
-
"workspace": {
|
|
4483
|
-
"char": "w",
|
|
4484
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4485
|
-
"name": "workspace",
|
|
4486
|
-
"required": false,
|
|
4487
|
-
"hasDynamicHelp": false,
|
|
4488
|
-
"multiple": false,
|
|
4489
|
-
"type": "option"
|
|
4490
|
-
}
|
|
4491
|
-
},
|
|
4492
|
-
"hasDynamicHelp": false,
|
|
4493
|
-
"hiddenAliases": [],
|
|
4494
|
-
"id": "workflow_test:list",
|
|
4495
|
-
"pluginAlias": "@xano/cli",
|
|
4496
|
-
"pluginName": "@xano/cli",
|
|
4497
|
-
"pluginType": "core",
|
|
4498
|
-
"strict": true,
|
|
4499
|
-
"enableJsonFlag": false,
|
|
4500
|
-
"isESM": true,
|
|
4501
|
-
"relativePath": [
|
|
4502
|
-
"dist",
|
|
4503
|
-
"commands",
|
|
4504
|
-
"workflow_test",
|
|
4505
|
-
"list",
|
|
4506
|
-
"index.js"
|
|
4507
|
-
]
|
|
4508
|
-
},
|
|
4509
|
-
"workflow_test:run": {
|
|
4510
|
-
"aliases": [],
|
|
4511
|
-
"args": {
|
|
4512
|
-
"workflow_test_id": {
|
|
4513
|
-
"description": "ID of the workflow test to run",
|
|
4514
|
-
"name": "workflow_test_id",
|
|
4515
|
-
"required": true
|
|
4516
|
-
}
|
|
4517
|
-
},
|
|
4518
|
-
"description": "Run a workflow test",
|
|
4519
|
-
"examples": [
|
|
4520
|
-
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4521
|
-
"$ xano workflow-test run 1 -o json"
|
|
4522
|
-
],
|
|
4523
|
-
"flags": {
|
|
4524
|
-
"profile": {
|
|
4525
|
-
"char": "p",
|
|
4526
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4527
|
-
"env": "XANO_PROFILE",
|
|
4528
|
-
"name": "profile",
|
|
4593
|
+
"name": "branch",
|
|
4529
4594
|
"required": false,
|
|
4530
4595
|
"hasDynamicHelp": false,
|
|
4531
4596
|
"multiple": false,
|
|
4532
4597
|
"type": "option"
|
|
4533
4598
|
},
|
|
4534
|
-
"
|
|
4535
|
-
"
|
|
4536
|
-
"
|
|
4537
|
-
"
|
|
4538
|
-
"
|
|
4599
|
+
"delete": {
|
|
4600
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4601
|
+
"name": "delete",
|
|
4602
|
+
"required": false,
|
|
4603
|
+
"allowNo": true,
|
|
4604
|
+
"type": "boolean"
|
|
4605
|
+
},
|
|
4606
|
+
"env": {
|
|
4607
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4608
|
+
"name": "env",
|
|
4609
|
+
"required": false,
|
|
4610
|
+
"allowNo": true,
|
|
4611
|
+
"type": "boolean"
|
|
4612
|
+
},
|
|
4613
|
+
"partial": {
|
|
4614
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4615
|
+
"name": "partial",
|
|
4539
4616
|
"required": false,
|
|
4540
4617
|
"allowNo": false,
|
|
4541
4618
|
"type": "boolean"
|
|
4542
4619
|
},
|
|
4543
|
-
"
|
|
4544
|
-
"
|
|
4545
|
-
"
|
|
4546
|
-
"name": "output",
|
|
4620
|
+
"records": {
|
|
4621
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4622
|
+
"name": "records",
|
|
4547
4623
|
"required": false,
|
|
4548
|
-
"
|
|
4549
|
-
"
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
"
|
|
4624
|
+
"allowNo": true,
|
|
4625
|
+
"type": "boolean"
|
|
4626
|
+
},
|
|
4627
|
+
"sync-guids": {
|
|
4628
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4629
|
+
"name": "sync-guids",
|
|
4630
|
+
"required": false,
|
|
4631
|
+
"allowNo": true,
|
|
4632
|
+
"type": "boolean"
|
|
4633
|
+
},
|
|
4634
|
+
"truncate": {
|
|
4635
|
+
"description": "Truncate all table records before importing",
|
|
4636
|
+
"name": "truncate",
|
|
4637
|
+
"required": false,
|
|
4638
|
+
"allowNo": false,
|
|
4639
|
+
"type": "boolean"
|
|
4556
4640
|
},
|
|
4557
4641
|
"workspace": {
|
|
4558
4642
|
"char": "w",
|
|
4559
|
-
"description": "Workspace ID (
|
|
4643
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4560
4644
|
"name": "workspace",
|
|
4561
4645
|
"required": false,
|
|
4562
4646
|
"hasDynamicHelp": false,
|
|
@@ -4566,7 +4650,7 @@
|
|
|
4566
4650
|
},
|
|
4567
4651
|
"hasDynamicHelp": false,
|
|
4568
4652
|
"hiddenAliases": [],
|
|
4569
|
-
"id": "
|
|
4653
|
+
"id": "workspace:push",
|
|
4570
4654
|
"pluginAlias": "@xano/cli",
|
|
4571
4655
|
"pluginName": "@xano/cli",
|
|
4572
4656
|
"pluginType": "core",
|
|
@@ -4576,8 +4660,8 @@
|
|
|
4576
4660
|
"relativePath": [
|
|
4577
4661
|
"dist",
|
|
4578
4662
|
"commands",
|
|
4579
|
-
"
|
|
4580
|
-
"
|
|
4663
|
+
"workspace",
|
|
4664
|
+
"push",
|
|
4581
4665
|
"index.js"
|
|
4582
4666
|
]
|
|
4583
4667
|
},
|
|
@@ -4659,20 +4743,20 @@
|
|
|
4659
4743
|
"index.js"
|
|
4660
4744
|
]
|
|
4661
4745
|
},
|
|
4662
|
-
"
|
|
4746
|
+
"static_host:build:create": {
|
|
4663
4747
|
"aliases": [],
|
|
4664
4748
|
"args": {
|
|
4665
|
-
"
|
|
4666
|
-
"description": "
|
|
4667
|
-
"name": "
|
|
4749
|
+
"static_host": {
|
|
4750
|
+
"description": "Static Host name",
|
|
4751
|
+
"name": "static_host",
|
|
4668
4752
|
"required": true
|
|
4669
4753
|
}
|
|
4670
4754
|
},
|
|
4671
|
-
"description": "
|
|
4755
|
+
"description": "Create a new build for a static host",
|
|
4672
4756
|
"examples": [
|
|
4673
|
-
"$ xano
|
|
4674
|
-
"$ xano
|
|
4675
|
-
"$ xano
|
|
4757
|
+
"$ 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",
|
|
4758
|
+
"$ 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",
|
|
4759
|
+
"$ 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"
|
|
4676
4760
|
],
|
|
4677
4761
|
"flags": {
|
|
4678
4762
|
"profile": {
|
|
@@ -4694,12 +4778,32 @@
|
|
|
4694
4778
|
"allowNo": false,
|
|
4695
4779
|
"type": "boolean"
|
|
4696
4780
|
},
|
|
4697
|
-
"
|
|
4698
|
-
"
|
|
4699
|
-
"
|
|
4781
|
+
"description": {
|
|
4782
|
+
"char": "d",
|
|
4783
|
+
"description": "Build description",
|
|
4784
|
+
"name": "description",
|
|
4700
4785
|
"required": false,
|
|
4701
|
-
"
|
|
4702
|
-
"
|
|
4786
|
+
"hasDynamicHelp": false,
|
|
4787
|
+
"multiple": false,
|
|
4788
|
+
"type": "option"
|
|
4789
|
+
},
|
|
4790
|
+
"file": {
|
|
4791
|
+
"char": "f",
|
|
4792
|
+
"description": "Path to zip file to upload",
|
|
4793
|
+
"name": "file",
|
|
4794
|
+
"required": true,
|
|
4795
|
+
"hasDynamicHelp": false,
|
|
4796
|
+
"multiple": false,
|
|
4797
|
+
"type": "option"
|
|
4798
|
+
},
|
|
4799
|
+
"name": {
|
|
4800
|
+
"char": "n",
|
|
4801
|
+
"description": "Build name",
|
|
4802
|
+
"name": "name",
|
|
4803
|
+
"required": true,
|
|
4804
|
+
"hasDynamicHelp": false,
|
|
4805
|
+
"multiple": false,
|
|
4806
|
+
"type": "option"
|
|
4703
4807
|
},
|
|
4704
4808
|
"output": {
|
|
4705
4809
|
"char": "o",
|
|
@@ -4711,14 +4815,13 @@
|
|
|
4711
4815
|
"multiple": false,
|
|
4712
4816
|
"options": [
|
|
4713
4817
|
"summary",
|
|
4714
|
-
"json"
|
|
4715
|
-
"xs"
|
|
4818
|
+
"json"
|
|
4716
4819
|
],
|
|
4717
4820
|
"type": "option"
|
|
4718
4821
|
},
|
|
4719
4822
|
"workspace": {
|
|
4720
4823
|
"char": "w",
|
|
4721
|
-
"description": "Workspace ID (
|
|
4824
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4722
4825
|
"name": "workspace",
|
|
4723
4826
|
"required": false,
|
|
4724
4827
|
"hasDynamicHelp": false,
|
|
@@ -4728,7 +4831,7 @@
|
|
|
4728
4831
|
},
|
|
4729
4832
|
"hasDynamicHelp": false,
|
|
4730
4833
|
"hiddenAliases": [],
|
|
4731
|
-
"id": "
|
|
4834
|
+
"id": "static_host:build:create",
|
|
4732
4835
|
"pluginAlias": "@xano/cli",
|
|
4733
4836
|
"pluginName": "@xano/cli",
|
|
4734
4837
|
"pluginType": "core",
|
|
@@ -4738,8 +4841,9 @@
|
|
|
4738
4841
|
"relativePath": [
|
|
4739
4842
|
"dist",
|
|
4740
4843
|
"commands",
|
|
4741
|
-
"
|
|
4742
|
-
"
|
|
4844
|
+
"static_host",
|
|
4845
|
+
"build",
|
|
4846
|
+
"create",
|
|
4743
4847
|
"index.js"
|
|
4744
4848
|
]
|
|
4745
4849
|
},
|
|
@@ -4922,20 +5026,19 @@
|
|
|
4922
5026
|
"index.js"
|
|
4923
5027
|
]
|
|
4924
5028
|
},
|
|
4925
|
-
"
|
|
5029
|
+
"tenant:backup:create": {
|
|
4926
5030
|
"aliases": [],
|
|
4927
5031
|
"args": {
|
|
4928
|
-
"
|
|
4929
|
-
"description": "
|
|
4930
|
-
"name": "
|
|
5032
|
+
"tenant_name": {
|
|
5033
|
+
"description": "Tenant name to back up",
|
|
5034
|
+
"name": "tenant_name",
|
|
4931
5035
|
"required": true
|
|
4932
5036
|
}
|
|
4933
5037
|
},
|
|
4934
|
-
"description": "Create a
|
|
5038
|
+
"description": "Create a backup for a tenant",
|
|
4935
5039
|
"examples": [
|
|
4936
|
-
"$ xano
|
|
4937
|
-
"$ xano
|
|
4938
|
-
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
5040
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5041
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
4939
5042
|
],
|
|
4940
5043
|
"flags": {
|
|
4941
5044
|
"profile": {
|
|
@@ -4959,124 +5062,14 @@
|
|
|
4959
5062
|
},
|
|
4960
5063
|
"description": {
|
|
4961
5064
|
"char": "d",
|
|
4962
|
-
"description": "
|
|
5065
|
+
"description": "Backup description",
|
|
4963
5066
|
"name": "description",
|
|
4964
5067
|
"required": false,
|
|
5068
|
+
"default": "",
|
|
4965
5069
|
"hasDynamicHelp": false,
|
|
4966
5070
|
"multiple": false,
|
|
4967
5071
|
"type": "option"
|
|
4968
5072
|
},
|
|
4969
|
-
"file": {
|
|
4970
|
-
"char": "f",
|
|
4971
|
-
"description": "Path to zip file to upload",
|
|
4972
|
-
"name": "file",
|
|
4973
|
-
"required": true,
|
|
4974
|
-
"hasDynamicHelp": false,
|
|
4975
|
-
"multiple": false,
|
|
4976
|
-
"type": "option"
|
|
4977
|
-
},
|
|
4978
|
-
"name": {
|
|
4979
|
-
"char": "n",
|
|
4980
|
-
"description": "Build name",
|
|
4981
|
-
"name": "name",
|
|
4982
|
-
"required": true,
|
|
4983
|
-
"hasDynamicHelp": false,
|
|
4984
|
-
"multiple": false,
|
|
4985
|
-
"type": "option"
|
|
4986
|
-
},
|
|
4987
|
-
"output": {
|
|
4988
|
-
"char": "o",
|
|
4989
|
-
"description": "Output format",
|
|
4990
|
-
"name": "output",
|
|
4991
|
-
"required": false,
|
|
4992
|
-
"default": "summary",
|
|
4993
|
-
"hasDynamicHelp": false,
|
|
4994
|
-
"multiple": false,
|
|
4995
|
-
"options": [
|
|
4996
|
-
"summary",
|
|
4997
|
-
"json"
|
|
4998
|
-
],
|
|
4999
|
-
"type": "option"
|
|
5000
|
-
},
|
|
5001
|
-
"workspace": {
|
|
5002
|
-
"char": "w",
|
|
5003
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
5004
|
-
"name": "workspace",
|
|
5005
|
-
"required": false,
|
|
5006
|
-
"hasDynamicHelp": false,
|
|
5007
|
-
"multiple": false,
|
|
5008
|
-
"type": "option"
|
|
5009
|
-
}
|
|
5010
|
-
},
|
|
5011
|
-
"hasDynamicHelp": false,
|
|
5012
|
-
"hiddenAliases": [],
|
|
5013
|
-
"id": "static_host:build:create",
|
|
5014
|
-
"pluginAlias": "@xano/cli",
|
|
5015
|
-
"pluginName": "@xano/cli",
|
|
5016
|
-
"pluginType": "core",
|
|
5017
|
-
"strict": true,
|
|
5018
|
-
"enableJsonFlag": false,
|
|
5019
|
-
"isESM": true,
|
|
5020
|
-
"relativePath": [
|
|
5021
|
-
"dist",
|
|
5022
|
-
"commands",
|
|
5023
|
-
"static_host",
|
|
5024
|
-
"build",
|
|
5025
|
-
"create",
|
|
5026
|
-
"index.js"
|
|
5027
|
-
]
|
|
5028
|
-
},
|
|
5029
|
-
"tenant:backup:delete": {
|
|
5030
|
-
"aliases": [],
|
|
5031
|
-
"args": {
|
|
5032
|
-
"tenant_name": {
|
|
5033
|
-
"description": "Tenant name that owns the backup",
|
|
5034
|
-
"name": "tenant_name",
|
|
5035
|
-
"required": true
|
|
5036
|
-
}
|
|
5037
|
-
},
|
|
5038
|
-
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5039
|
-
"examples": [
|
|
5040
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5041
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5042
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5043
|
-
],
|
|
5044
|
-
"flags": {
|
|
5045
|
-
"profile": {
|
|
5046
|
-
"char": "p",
|
|
5047
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5048
|
-
"env": "XANO_PROFILE",
|
|
5049
|
-
"name": "profile",
|
|
5050
|
-
"required": false,
|
|
5051
|
-
"hasDynamicHelp": false,
|
|
5052
|
-
"multiple": false,
|
|
5053
|
-
"type": "option"
|
|
5054
|
-
},
|
|
5055
|
-
"verbose": {
|
|
5056
|
-
"char": "v",
|
|
5057
|
-
"description": "Show detailed request/response information",
|
|
5058
|
-
"env": "XANO_VERBOSE",
|
|
5059
|
-
"name": "verbose",
|
|
5060
|
-
"required": false,
|
|
5061
|
-
"allowNo": false,
|
|
5062
|
-
"type": "boolean"
|
|
5063
|
-
},
|
|
5064
|
-
"backup_id": {
|
|
5065
|
-
"description": "Backup ID to delete",
|
|
5066
|
-
"name": "backup_id",
|
|
5067
|
-
"required": true,
|
|
5068
|
-
"hasDynamicHelp": false,
|
|
5069
|
-
"multiple": false,
|
|
5070
|
-
"type": "option"
|
|
5071
|
-
},
|
|
5072
|
-
"force": {
|
|
5073
|
-
"char": "f",
|
|
5074
|
-
"description": "Skip confirmation prompt",
|
|
5075
|
-
"name": "force",
|
|
5076
|
-
"required": false,
|
|
5077
|
-
"allowNo": false,
|
|
5078
|
-
"type": "boolean"
|
|
5079
|
-
},
|
|
5080
5073
|
"output": {
|
|
5081
5074
|
"char": "o",
|
|
5082
5075
|
"description": "Output format",
|
|
@@ -5103,7 +5096,7 @@
|
|
|
5103
5096
|
},
|
|
5104
5097
|
"hasDynamicHelp": false,
|
|
5105
5098
|
"hiddenAliases": [],
|
|
5106
|
-
"id": "tenant:backup:
|
|
5099
|
+
"id": "tenant:backup:create",
|
|
5107
5100
|
"pluginAlias": "@xano/cli",
|
|
5108
5101
|
"pluginName": "@xano/cli",
|
|
5109
5102
|
"pluginType": "core",
|
|
@@ -5115,23 +5108,24 @@
|
|
|
5115
5108
|
"commands",
|
|
5116
5109
|
"tenant",
|
|
5117
5110
|
"backup",
|
|
5118
|
-
"
|
|
5111
|
+
"create",
|
|
5119
5112
|
"index.js"
|
|
5120
5113
|
]
|
|
5121
5114
|
},
|
|
5122
|
-
"tenant:backup:
|
|
5115
|
+
"tenant:backup:delete": {
|
|
5123
5116
|
"aliases": [],
|
|
5124
5117
|
"args": {
|
|
5125
5118
|
"tenant_name": {
|
|
5126
|
-
"description": "Tenant name
|
|
5119
|
+
"description": "Tenant name that owns the backup",
|
|
5127
5120
|
"name": "tenant_name",
|
|
5128
5121
|
"required": true
|
|
5129
5122
|
}
|
|
5130
5123
|
},
|
|
5131
|
-
"description": "
|
|
5124
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5132
5125
|
"examples": [
|
|
5133
|
-
"$ xano tenant backup
|
|
5134
|
-
"$ xano tenant backup
|
|
5126
|
+
"$ 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",
|
|
5127
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5128
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5135
5129
|
],
|
|
5136
5130
|
"flags": {
|
|
5137
5131
|
"profile": {
|
|
@@ -5153,16 +5147,22 @@
|
|
|
5153
5147
|
"allowNo": false,
|
|
5154
5148
|
"type": "boolean"
|
|
5155
5149
|
},
|
|
5156
|
-
"
|
|
5157
|
-
"
|
|
5158
|
-
"
|
|
5159
|
-
"
|
|
5160
|
-
"required": false,
|
|
5161
|
-
"default": "",
|
|
5150
|
+
"backup_id": {
|
|
5151
|
+
"description": "Backup ID to delete",
|
|
5152
|
+
"name": "backup_id",
|
|
5153
|
+
"required": true,
|
|
5162
5154
|
"hasDynamicHelp": false,
|
|
5163
5155
|
"multiple": false,
|
|
5164
5156
|
"type": "option"
|
|
5165
5157
|
},
|
|
5158
|
+
"force": {
|
|
5159
|
+
"char": "f",
|
|
5160
|
+
"description": "Skip confirmation prompt",
|
|
5161
|
+
"name": "force",
|
|
5162
|
+
"required": false,
|
|
5163
|
+
"allowNo": false,
|
|
5164
|
+
"type": "boolean"
|
|
5165
|
+
},
|
|
5166
5166
|
"output": {
|
|
5167
5167
|
"char": "o",
|
|
5168
5168
|
"description": "Output format",
|
|
@@ -5189,7 +5189,7 @@
|
|
|
5189
5189
|
},
|
|
5190
5190
|
"hasDynamicHelp": false,
|
|
5191
5191
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "tenant:backup:
|
|
5192
|
+
"id": "tenant:backup:delete",
|
|
5193
5193
|
"pluginAlias": "@xano/cli",
|
|
5194
5194
|
"pluginName": "@xano/cli",
|
|
5195
5195
|
"pluginType": "core",
|
|
@@ -5201,7 +5201,7 @@
|
|
|
5201
5201
|
"commands",
|
|
5202
5202
|
"tenant",
|
|
5203
5203
|
"backup",
|
|
5204
|
-
"
|
|
5204
|
+
"delete",
|
|
5205
5205
|
"index.js"
|
|
5206
5206
|
]
|
|
5207
5207
|
},
|
|
@@ -5475,82 +5475,6 @@
|
|
|
5475
5475
|
"index.js"
|
|
5476
5476
|
]
|
|
5477
5477
|
},
|
|
5478
|
-
"tenant:cluster:delete": {
|
|
5479
|
-
"aliases": [],
|
|
5480
|
-
"args": {
|
|
5481
|
-
"cluster_id": {
|
|
5482
|
-
"description": "Cluster ID to delete",
|
|
5483
|
-
"name": "cluster_id",
|
|
5484
|
-
"required": true
|
|
5485
|
-
}
|
|
5486
|
-
},
|
|
5487
|
-
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5488
|
-
"examples": [
|
|
5489
|
-
"$ 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",
|
|
5490
|
-
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5491
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5492
|
-
],
|
|
5493
|
-
"flags": {
|
|
5494
|
-
"profile": {
|
|
5495
|
-
"char": "p",
|
|
5496
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5497
|
-
"env": "XANO_PROFILE",
|
|
5498
|
-
"name": "profile",
|
|
5499
|
-
"required": false,
|
|
5500
|
-
"hasDynamicHelp": false,
|
|
5501
|
-
"multiple": false,
|
|
5502
|
-
"type": "option"
|
|
5503
|
-
},
|
|
5504
|
-
"verbose": {
|
|
5505
|
-
"char": "v",
|
|
5506
|
-
"description": "Show detailed request/response information",
|
|
5507
|
-
"env": "XANO_VERBOSE",
|
|
5508
|
-
"name": "verbose",
|
|
5509
|
-
"required": false,
|
|
5510
|
-
"allowNo": false,
|
|
5511
|
-
"type": "boolean"
|
|
5512
|
-
},
|
|
5513
|
-
"force": {
|
|
5514
|
-
"char": "f",
|
|
5515
|
-
"description": "Skip confirmation prompt",
|
|
5516
|
-
"name": "force",
|
|
5517
|
-
"required": false,
|
|
5518
|
-
"allowNo": false,
|
|
5519
|
-
"type": "boolean"
|
|
5520
|
-
},
|
|
5521
|
-
"output": {
|
|
5522
|
-
"char": "o",
|
|
5523
|
-
"description": "Output format",
|
|
5524
|
-
"name": "output",
|
|
5525
|
-
"required": false,
|
|
5526
|
-
"default": "summary",
|
|
5527
|
-
"hasDynamicHelp": false,
|
|
5528
|
-
"multiple": false,
|
|
5529
|
-
"options": [
|
|
5530
|
-
"summary",
|
|
5531
|
-
"json"
|
|
5532
|
-
],
|
|
5533
|
-
"type": "option"
|
|
5534
|
-
}
|
|
5535
|
-
},
|
|
5536
|
-
"hasDynamicHelp": false,
|
|
5537
|
-
"hiddenAliases": [],
|
|
5538
|
-
"id": "tenant:cluster:delete",
|
|
5539
|
-
"pluginAlias": "@xano/cli",
|
|
5540
|
-
"pluginName": "@xano/cli",
|
|
5541
|
-
"pluginType": "core",
|
|
5542
|
-
"strict": true,
|
|
5543
|
-
"enableJsonFlag": false,
|
|
5544
|
-
"isESM": true,
|
|
5545
|
-
"relativePath": [
|
|
5546
|
-
"dist",
|
|
5547
|
-
"commands",
|
|
5548
|
-
"tenant",
|
|
5549
|
-
"cluster",
|
|
5550
|
-
"delete",
|
|
5551
|
-
"index.js"
|
|
5552
|
-
]
|
|
5553
|
-
},
|
|
5554
5478
|
"tenant:cluster:create": {
|
|
5555
5479
|
"aliases": [],
|
|
5556
5480
|
"args": {},
|
|
@@ -5673,19 +5597,19 @@
|
|
|
5673
5597
|
"index.js"
|
|
5674
5598
|
]
|
|
5675
5599
|
},
|
|
5676
|
-
"tenant:
|
|
5600
|
+
"tenant:cluster:edit": {
|
|
5677
5601
|
"aliases": [],
|
|
5678
5602
|
"args": {
|
|
5679
|
-
"
|
|
5680
|
-
"description": "
|
|
5681
|
-
"name": "
|
|
5603
|
+
"cluster_id": {
|
|
5604
|
+
"description": "Cluster ID to edit",
|
|
5605
|
+
"name": "cluster_id",
|
|
5682
5606
|
"required": true
|
|
5683
5607
|
}
|
|
5684
5608
|
},
|
|
5685
|
-
"description": "
|
|
5609
|
+
"description": "Update an existing tenant cluster",
|
|
5686
5610
|
"examples": [
|
|
5687
|
-
"$ xano tenant
|
|
5688
|
-
"$ xano tenant
|
|
5611
|
+
"$ 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",
|
|
5612
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5689
5613
|
],
|
|
5690
5614
|
"flags": {
|
|
5691
5615
|
"profile": {
|
|
@@ -5709,18 +5633,25 @@
|
|
|
5709
5633
|
},
|
|
5710
5634
|
"description": {
|
|
5711
5635
|
"char": "d",
|
|
5712
|
-
"description": "
|
|
5636
|
+
"description": "Cluster description",
|
|
5713
5637
|
"name": "description",
|
|
5714
|
-
"required":
|
|
5715
|
-
"default": "",
|
|
5638
|
+
"required": true,
|
|
5716
5639
|
"hasDynamicHelp": false,
|
|
5717
5640
|
"multiple": false,
|
|
5718
5641
|
"type": "option"
|
|
5719
5642
|
},
|
|
5720
|
-
"
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5723
|
-
"
|
|
5643
|
+
"domain": {
|
|
5644
|
+
"description": "Custom domain for the cluster",
|
|
5645
|
+
"name": "domain",
|
|
5646
|
+
"required": true,
|
|
5647
|
+
"hasDynamicHelp": false,
|
|
5648
|
+
"multiple": false,
|
|
5649
|
+
"type": "option"
|
|
5650
|
+
},
|
|
5651
|
+
"name": {
|
|
5652
|
+
"char": "n",
|
|
5653
|
+
"description": "Cluster name",
|
|
5654
|
+
"name": "name",
|
|
5724
5655
|
"required": true,
|
|
5725
5656
|
"hasDynamicHelp": false,
|
|
5726
5657
|
"multiple": false,
|
|
@@ -5740,19 +5671,22 @@
|
|
|
5740
5671
|
],
|
|
5741
5672
|
"type": "option"
|
|
5742
5673
|
},
|
|
5743
|
-
"
|
|
5744
|
-
"
|
|
5745
|
-
"
|
|
5746
|
-
"
|
|
5747
|
-
"required": false,
|
|
5674
|
+
"type": {
|
|
5675
|
+
"description": "Cluster type",
|
|
5676
|
+
"name": "type",
|
|
5677
|
+
"required": true,
|
|
5748
5678
|
"hasDynamicHelp": false,
|
|
5749
5679
|
"multiple": false,
|
|
5680
|
+
"options": [
|
|
5681
|
+
"standard",
|
|
5682
|
+
"run"
|
|
5683
|
+
],
|
|
5750
5684
|
"type": "option"
|
|
5751
5685
|
}
|
|
5752
5686
|
},
|
|
5753
5687
|
"hasDynamicHelp": false,
|
|
5754
5688
|
"hiddenAliases": [],
|
|
5755
|
-
"id": "tenant:
|
|
5689
|
+
"id": "tenant:cluster:edit",
|
|
5756
5690
|
"pluginAlias": "@xano/cli",
|
|
5757
5691
|
"pluginName": "@xano/cli",
|
|
5758
5692
|
"pluginType": "core",
|
|
@@ -5763,24 +5697,24 @@
|
|
|
5763
5697
|
"dist",
|
|
5764
5698
|
"commands",
|
|
5765
5699
|
"tenant",
|
|
5766
|
-
"
|
|
5767
|
-
"
|
|
5700
|
+
"cluster",
|
|
5701
|
+
"edit",
|
|
5768
5702
|
"index.js"
|
|
5769
5703
|
]
|
|
5770
5704
|
},
|
|
5771
|
-
"tenant:cluster:
|
|
5705
|
+
"tenant:cluster:get": {
|
|
5772
5706
|
"aliases": [],
|
|
5773
5707
|
"args": {
|
|
5774
5708
|
"cluster_id": {
|
|
5775
|
-
"description": "Cluster ID to
|
|
5709
|
+
"description": "Cluster ID to retrieve",
|
|
5776
5710
|
"name": "cluster_id",
|
|
5777
5711
|
"required": true
|
|
5778
5712
|
}
|
|
5779
5713
|
},
|
|
5780
|
-
"description": "
|
|
5714
|
+
"description": "Get details of a specific tenant cluster",
|
|
5781
5715
|
"examples": [
|
|
5782
|
-
"$ xano tenant cluster
|
|
5783
|
-
"$ xano tenant cluster
|
|
5716
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5717
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5784
5718
|
],
|
|
5785
5719
|
"flags": {
|
|
5786
5720
|
"profile": {
|
|
@@ -5802,32 +5736,6 @@
|
|
|
5802
5736
|
"allowNo": false,
|
|
5803
5737
|
"type": "boolean"
|
|
5804
5738
|
},
|
|
5805
|
-
"description": {
|
|
5806
|
-
"char": "d",
|
|
5807
|
-
"description": "Cluster description",
|
|
5808
|
-
"name": "description",
|
|
5809
|
-
"required": true,
|
|
5810
|
-
"hasDynamicHelp": false,
|
|
5811
|
-
"multiple": false,
|
|
5812
|
-
"type": "option"
|
|
5813
|
-
},
|
|
5814
|
-
"domain": {
|
|
5815
|
-
"description": "Custom domain for the cluster",
|
|
5816
|
-
"name": "domain",
|
|
5817
|
-
"required": true,
|
|
5818
|
-
"hasDynamicHelp": false,
|
|
5819
|
-
"multiple": false,
|
|
5820
|
-
"type": "option"
|
|
5821
|
-
},
|
|
5822
|
-
"name": {
|
|
5823
|
-
"char": "n",
|
|
5824
|
-
"description": "Cluster name",
|
|
5825
|
-
"name": "name",
|
|
5826
|
-
"required": true,
|
|
5827
|
-
"hasDynamicHelp": false,
|
|
5828
|
-
"multiple": false,
|
|
5829
|
-
"type": "option"
|
|
5830
|
-
},
|
|
5831
5739
|
"output": {
|
|
5832
5740
|
"char": "o",
|
|
5833
5741
|
"description": "Output format",
|
|
@@ -5841,23 +5749,11 @@
|
|
|
5841
5749
|
"json"
|
|
5842
5750
|
],
|
|
5843
5751
|
"type": "option"
|
|
5844
|
-
},
|
|
5845
|
-
"type": {
|
|
5846
|
-
"description": "Cluster type",
|
|
5847
|
-
"name": "type",
|
|
5848
|
-
"required": true,
|
|
5849
|
-
"hasDynamicHelp": false,
|
|
5850
|
-
"multiple": false,
|
|
5851
|
-
"options": [
|
|
5852
|
-
"standard",
|
|
5853
|
-
"run"
|
|
5854
|
-
],
|
|
5855
|
-
"type": "option"
|
|
5856
5752
|
}
|
|
5857
5753
|
},
|
|
5858
5754
|
"hasDynamicHelp": false,
|
|
5859
5755
|
"hiddenAliases": [],
|
|
5860
|
-
"id": "tenant:cluster:
|
|
5756
|
+
"id": "tenant:cluster:get",
|
|
5861
5757
|
"pluginAlias": "@xano/cli",
|
|
5862
5758
|
"pluginName": "@xano/cli",
|
|
5863
5759
|
"pluginType": "core",
|
|
@@ -5869,23 +5765,24 @@
|
|
|
5869
5765
|
"commands",
|
|
5870
5766
|
"tenant",
|
|
5871
5767
|
"cluster",
|
|
5872
|
-
"
|
|
5768
|
+
"get",
|
|
5873
5769
|
"index.js"
|
|
5874
5770
|
]
|
|
5875
5771
|
},
|
|
5876
|
-
"tenant:cluster:
|
|
5772
|
+
"tenant:cluster:delete": {
|
|
5877
5773
|
"aliases": [],
|
|
5878
5774
|
"args": {
|
|
5879
5775
|
"cluster_id": {
|
|
5880
|
-
"description": "Cluster ID to
|
|
5776
|
+
"description": "Cluster ID to delete",
|
|
5881
5777
|
"name": "cluster_id",
|
|
5882
5778
|
"required": true
|
|
5883
5779
|
}
|
|
5884
5780
|
},
|
|
5885
|
-
"description": "
|
|
5781
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5886
5782
|
"examples": [
|
|
5887
|
-
"$ xano tenant cluster
|
|
5888
|
-
"$ xano tenant cluster
|
|
5783
|
+
"$ 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",
|
|
5784
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5785
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5889
5786
|
],
|
|
5890
5787
|
"flags": {
|
|
5891
5788
|
"profile": {
|
|
@@ -5907,6 +5804,14 @@
|
|
|
5907
5804
|
"allowNo": false,
|
|
5908
5805
|
"type": "boolean"
|
|
5909
5806
|
},
|
|
5807
|
+
"force": {
|
|
5808
|
+
"char": "f",
|
|
5809
|
+
"description": "Skip confirmation prompt",
|
|
5810
|
+
"name": "force",
|
|
5811
|
+
"required": false,
|
|
5812
|
+
"allowNo": false,
|
|
5813
|
+
"type": "boolean"
|
|
5814
|
+
},
|
|
5910
5815
|
"output": {
|
|
5911
5816
|
"char": "o",
|
|
5912
5817
|
"description": "Output format",
|
|
@@ -5924,7 +5829,7 @@
|
|
|
5924
5829
|
},
|
|
5925
5830
|
"hasDynamicHelp": false,
|
|
5926
5831
|
"hiddenAliases": [],
|
|
5927
|
-
"id": "tenant:cluster:
|
|
5832
|
+
"id": "tenant:cluster:delete",
|
|
5928
5833
|
"pluginAlias": "@xano/cli",
|
|
5929
5834
|
"pluginName": "@xano/cli",
|
|
5930
5835
|
"pluginType": "core",
|
|
@@ -5936,7 +5841,7 @@
|
|
|
5936
5841
|
"commands",
|
|
5937
5842
|
"tenant",
|
|
5938
5843
|
"cluster",
|
|
5939
|
-
"
|
|
5844
|
+
"delete",
|
|
5940
5845
|
"index.js"
|
|
5941
5846
|
]
|
|
5942
5847
|
},
|
|
@@ -6001,7 +5906,7 @@
|
|
|
6001
5906
|
"index.js"
|
|
6002
5907
|
]
|
|
6003
5908
|
},
|
|
6004
|
-
"tenant:env:
|
|
5909
|
+
"tenant:env:delete": {
|
|
6005
5910
|
"aliases": [],
|
|
6006
5911
|
"args": {
|
|
6007
5912
|
"tenant_name": {
|
|
@@ -6010,10 +5915,11 @@
|
|
|
6010
5915
|
"required": true
|
|
6011
5916
|
}
|
|
6012
5917
|
},
|
|
6013
|
-
"description": "
|
|
5918
|
+
"description": "Delete an environment variable from a tenant",
|
|
6014
5919
|
"examples": [
|
|
6015
|
-
"$ xano tenant env
|
|
6016
|
-
"$ xano tenant env
|
|
5920
|
+
"$ 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",
|
|
5921
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
5922
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6017
5923
|
],
|
|
6018
5924
|
"flags": {
|
|
6019
5925
|
"profile": {
|
|
@@ -6035,6 +5941,14 @@
|
|
|
6035
5941
|
"allowNo": false,
|
|
6036
5942
|
"type": "boolean"
|
|
6037
5943
|
},
|
|
5944
|
+
"force": {
|
|
5945
|
+
"char": "f",
|
|
5946
|
+
"description": "Skip confirmation prompt",
|
|
5947
|
+
"name": "force",
|
|
5948
|
+
"required": false,
|
|
5949
|
+
"allowNo": false,
|
|
5950
|
+
"type": "boolean"
|
|
5951
|
+
},
|
|
6038
5952
|
"name": {
|
|
6039
5953
|
"char": "n",
|
|
6040
5954
|
"description": "Environment variable name",
|
|
@@ -6070,7 +5984,7 @@
|
|
|
6070
5984
|
},
|
|
6071
5985
|
"hasDynamicHelp": false,
|
|
6072
5986
|
"hiddenAliases": [],
|
|
6073
|
-
"id": "tenant:env:
|
|
5987
|
+
"id": "tenant:env:delete",
|
|
6074
5988
|
"pluginAlias": "@xano/cli",
|
|
6075
5989
|
"pluginName": "@xano/cli",
|
|
6076
5990
|
"pluginType": "core",
|
|
@@ -6082,11 +5996,11 @@
|
|
|
6082
5996
|
"commands",
|
|
6083
5997
|
"tenant",
|
|
6084
5998
|
"env",
|
|
6085
|
-
"
|
|
5999
|
+
"delete",
|
|
6086
6000
|
"index.js"
|
|
6087
6001
|
]
|
|
6088
6002
|
},
|
|
6089
|
-
"tenant:env:
|
|
6003
|
+
"tenant:env:get": {
|
|
6090
6004
|
"aliases": [],
|
|
6091
6005
|
"args": {
|
|
6092
6006
|
"tenant_name": {
|
|
@@ -6095,12 +6009,10 @@
|
|
|
6095
6009
|
"required": true
|
|
6096
6010
|
}
|
|
6097
6011
|
},
|
|
6098
|
-
"description": "Get
|
|
6012
|
+
"description": "Get a single environment variable for a tenant",
|
|
6099
6013
|
"examples": [
|
|
6100
|
-
"$ xano tenant env
|
|
6101
|
-
"$ xano tenant env
|
|
6102
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6103
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6014
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6015
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6104
6016
|
],
|
|
6105
6017
|
"flags": {
|
|
6106
6018
|
"profile": {
|
|
@@ -6122,11 +6034,11 @@
|
|
|
6122
6034
|
"allowNo": false,
|
|
6123
6035
|
"type": "boolean"
|
|
6124
6036
|
},
|
|
6125
|
-
"
|
|
6126
|
-
"char": "
|
|
6127
|
-
"description": "
|
|
6128
|
-
"name": "
|
|
6129
|
-
"required":
|
|
6037
|
+
"name": {
|
|
6038
|
+
"char": "n",
|
|
6039
|
+
"description": "Environment variable name",
|
|
6040
|
+
"name": "name",
|
|
6041
|
+
"required": true,
|
|
6130
6042
|
"hasDynamicHelp": false,
|
|
6131
6043
|
"multiple": false,
|
|
6132
6044
|
"type": "option"
|
|
@@ -6145,13 +6057,6 @@
|
|
|
6145
6057
|
],
|
|
6146
6058
|
"type": "option"
|
|
6147
6059
|
},
|
|
6148
|
-
"view": {
|
|
6149
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6150
|
-
"name": "view",
|
|
6151
|
-
"required": false,
|
|
6152
|
-
"allowNo": false,
|
|
6153
|
-
"type": "boolean"
|
|
6154
|
-
},
|
|
6155
6060
|
"workspace": {
|
|
6156
6061
|
"char": "w",
|
|
6157
6062
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6164,7 +6069,7 @@
|
|
|
6164
6069
|
},
|
|
6165
6070
|
"hasDynamicHelp": false,
|
|
6166
6071
|
"hiddenAliases": [],
|
|
6167
|
-
"id": "tenant:env:
|
|
6072
|
+
"id": "tenant:env:get",
|
|
6168
6073
|
"pluginAlias": "@xano/cli",
|
|
6169
6074
|
"pluginName": "@xano/cli",
|
|
6170
6075
|
"pluginType": "core",
|
|
@@ -6176,24 +6081,23 @@
|
|
|
6176
6081
|
"commands",
|
|
6177
6082
|
"tenant",
|
|
6178
6083
|
"env",
|
|
6179
|
-
"
|
|
6084
|
+
"get",
|
|
6180
6085
|
"index.js"
|
|
6181
6086
|
]
|
|
6182
6087
|
},
|
|
6183
|
-
"tenant:
|
|
6088
|
+
"tenant:backup:import": {
|
|
6184
6089
|
"aliases": [],
|
|
6185
6090
|
"args": {
|
|
6186
6091
|
"tenant_name": {
|
|
6187
|
-
"description": "Tenant name",
|
|
6092
|
+
"description": "Tenant name to import backup into",
|
|
6188
6093
|
"name": "tenant_name",
|
|
6189
6094
|
"required": true
|
|
6190
6095
|
}
|
|
6191
6096
|
},
|
|
6192
|
-
"description": "
|
|
6097
|
+
"description": "Import a backup file into a tenant",
|
|
6193
6098
|
"examples": [
|
|
6194
|
-
"$ xano tenant
|
|
6195
|
-
"$ xano tenant
|
|
6196
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6099
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
6100
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
6197
6101
|
],
|
|
6198
6102
|
"flags": {
|
|
6199
6103
|
"profile": {
|
|
@@ -6215,18 +6119,20 @@
|
|
|
6215
6119
|
"allowNo": false,
|
|
6216
6120
|
"type": "boolean"
|
|
6217
6121
|
},
|
|
6218
|
-
"
|
|
6219
|
-
"char": "
|
|
6220
|
-
"description": "
|
|
6221
|
-
"name": "
|
|
6122
|
+
"description": {
|
|
6123
|
+
"char": "d",
|
|
6124
|
+
"description": "Backup description",
|
|
6125
|
+
"name": "description",
|
|
6222
6126
|
"required": false,
|
|
6223
|
-
"
|
|
6224
|
-
"
|
|
6127
|
+
"default": "",
|
|
6128
|
+
"hasDynamicHelp": false,
|
|
6129
|
+
"multiple": false,
|
|
6130
|
+
"type": "option"
|
|
6225
6131
|
},
|
|
6226
|
-
"
|
|
6227
|
-
"char": "
|
|
6228
|
-
"description": "
|
|
6229
|
-
"name": "
|
|
6132
|
+
"file": {
|
|
6133
|
+
"char": "f",
|
|
6134
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
6135
|
+
"name": "file",
|
|
6230
6136
|
"required": true,
|
|
6231
6137
|
"hasDynamicHelp": false,
|
|
6232
6138
|
"multiple": false,
|
|
@@ -6258,7 +6164,7 @@
|
|
|
6258
6164
|
},
|
|
6259
6165
|
"hasDynamicHelp": false,
|
|
6260
6166
|
"hiddenAliases": [],
|
|
6261
|
-
"id": "tenant:
|
|
6167
|
+
"id": "tenant:backup:import",
|
|
6262
6168
|
"pluginAlias": "@xano/cli",
|
|
6263
6169
|
"pluginName": "@xano/cli",
|
|
6264
6170
|
"pluginType": "core",
|
|
@@ -6269,8 +6175,8 @@
|
|
|
6269
6175
|
"dist",
|
|
6270
6176
|
"commands",
|
|
6271
6177
|
"tenant",
|
|
6272
|
-
"
|
|
6273
|
-
"
|
|
6178
|
+
"backup",
|
|
6179
|
+
"import",
|
|
6274
6180
|
"index.js"
|
|
6275
6181
|
]
|
|
6276
6182
|
},
|
|
@@ -6536,7 +6442,7 @@
|
|
|
6536
6442
|
"index.js"
|
|
6537
6443
|
]
|
|
6538
6444
|
},
|
|
6539
|
-
"tenant:license:
|
|
6445
|
+
"tenant:license:get": {
|
|
6540
6446
|
"aliases": [],
|
|
6541
6447
|
"args": {
|
|
6542
6448
|
"tenant_name": {
|
|
@@ -6545,12 +6451,12 @@
|
|
|
6545
6451
|
"required": true
|
|
6546
6452
|
}
|
|
6547
6453
|
},
|
|
6548
|
-
"description": "
|
|
6454
|
+
"description": "Get the license for a tenant",
|
|
6549
6455
|
"examples": [
|
|
6550
|
-
"$ xano tenant license
|
|
6551
|
-
"$ xano tenant license
|
|
6552
|
-
"$ xano tenant license
|
|
6553
|
-
"$ xano tenant license
|
|
6456
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6457
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6458
|
+
"$ xano tenant license get my-tenant --view",
|
|
6459
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6554
6460
|
],
|
|
6555
6461
|
"flags": {
|
|
6556
6462
|
"profile": {
|
|
@@ -6572,22 +6478,9 @@
|
|
|
6572
6478
|
"allowNo": false,
|
|
6573
6479
|
"type": "boolean"
|
|
6574
6480
|
},
|
|
6575
|
-
"clean": {
|
|
6576
|
-
"description": "Remove the source file after successful upload",
|
|
6577
|
-
"exclusive": [
|
|
6578
|
-
"value"
|
|
6579
|
-
],
|
|
6580
|
-
"name": "clean",
|
|
6581
|
-
"required": false,
|
|
6582
|
-
"allowNo": false,
|
|
6583
|
-
"type": "boolean"
|
|
6584
|
-
},
|
|
6585
6481
|
"file": {
|
|
6586
6482
|
"char": "f",
|
|
6587
|
-
"description": "
|
|
6588
|
-
"exclusive": [
|
|
6589
|
-
"value"
|
|
6590
|
-
],
|
|
6483
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6591
6484
|
"name": "file",
|
|
6592
6485
|
"required": false,
|
|
6593
6486
|
"hasDynamicHelp": false,
|
|
@@ -6608,17 +6501,12 @@
|
|
|
6608
6501
|
],
|
|
6609
6502
|
"type": "option"
|
|
6610
6503
|
},
|
|
6611
|
-
"
|
|
6612
|
-
"description": "
|
|
6613
|
-
"
|
|
6614
|
-
"file",
|
|
6615
|
-
"clean"
|
|
6616
|
-
],
|
|
6617
|
-
"name": "value",
|
|
6504
|
+
"view": {
|
|
6505
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6506
|
+
"name": "view",
|
|
6618
6507
|
"required": false,
|
|
6619
|
-
"
|
|
6620
|
-
"
|
|
6621
|
-
"type": "option"
|
|
6508
|
+
"allowNo": false,
|
|
6509
|
+
"type": "boolean"
|
|
6622
6510
|
},
|
|
6623
6511
|
"workspace": {
|
|
6624
6512
|
"char": "w",
|
|
@@ -6632,7 +6520,7 @@
|
|
|
6632
6520
|
},
|
|
6633
6521
|
"hasDynamicHelp": false,
|
|
6634
6522
|
"hiddenAliases": [],
|
|
6635
|
-
"id": "tenant:license:
|
|
6523
|
+
"id": "tenant:license:get",
|
|
6636
6524
|
"pluginAlias": "@xano/cli",
|
|
6637
6525
|
"pluginName": "@xano/cli",
|
|
6638
6526
|
"pluginType": "core",
|
|
@@ -6644,11 +6532,11 @@
|
|
|
6644
6532
|
"commands",
|
|
6645
6533
|
"tenant",
|
|
6646
6534
|
"license",
|
|
6647
|
-
"
|
|
6535
|
+
"get",
|
|
6648
6536
|
"index.js"
|
|
6649
6537
|
]
|
|
6650
6538
|
},
|
|
6651
|
-
"tenant:license:
|
|
6539
|
+
"tenant:license:set": {
|
|
6652
6540
|
"aliases": [],
|
|
6653
6541
|
"args": {
|
|
6654
6542
|
"tenant_name": {
|
|
@@ -6657,12 +6545,12 @@
|
|
|
6657
6545
|
"required": true
|
|
6658
6546
|
}
|
|
6659
6547
|
},
|
|
6660
|
-
"description": "
|
|
6548
|
+
"description": "Set/update the license for a tenant",
|
|
6661
6549
|
"examples": [
|
|
6662
|
-
"$ xano tenant license
|
|
6663
|
-
"$ xano tenant license
|
|
6664
|
-
"$ xano tenant license
|
|
6665
|
-
"$ xano tenant license
|
|
6550
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6551
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6552
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6553
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6666
6554
|
],
|
|
6667
6555
|
"flags": {
|
|
6668
6556
|
"profile": {
|
|
@@ -6684,9 +6572,22 @@
|
|
|
6684
6572
|
"allowNo": false,
|
|
6685
6573
|
"type": "boolean"
|
|
6686
6574
|
},
|
|
6575
|
+
"clean": {
|
|
6576
|
+
"description": "Remove the source file after successful upload",
|
|
6577
|
+
"exclusive": [
|
|
6578
|
+
"value"
|
|
6579
|
+
],
|
|
6580
|
+
"name": "clean",
|
|
6581
|
+
"required": false,
|
|
6582
|
+
"allowNo": false,
|
|
6583
|
+
"type": "boolean"
|
|
6584
|
+
},
|
|
6687
6585
|
"file": {
|
|
6688
6586
|
"char": "f",
|
|
6689
|
-
"description": "
|
|
6587
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6588
|
+
"exclusive": [
|
|
6589
|
+
"value"
|
|
6590
|
+
],
|
|
6690
6591
|
"name": "file",
|
|
6691
6592
|
"required": false,
|
|
6692
6593
|
"hasDynamicHelp": false,
|
|
@@ -6707,12 +6608,17 @@
|
|
|
6707
6608
|
],
|
|
6708
6609
|
"type": "option"
|
|
6709
6610
|
},
|
|
6710
|
-
"
|
|
6711
|
-
"description": "
|
|
6712
|
-
"
|
|
6611
|
+
"value": {
|
|
6612
|
+
"description": "Inline license value",
|
|
6613
|
+
"exclusive": [
|
|
6614
|
+
"file",
|
|
6615
|
+
"clean"
|
|
6616
|
+
],
|
|
6617
|
+
"name": "value",
|
|
6713
6618
|
"required": false,
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6619
|
+
"hasDynamicHelp": false,
|
|
6620
|
+
"multiple": false,
|
|
6621
|
+
"type": "option"
|
|
6716
6622
|
},
|
|
6717
6623
|
"workspace": {
|
|
6718
6624
|
"char": "w",
|
|
@@ -6726,7 +6632,7 @@
|
|
|
6726
6632
|
},
|
|
6727
6633
|
"hasDynamicHelp": false,
|
|
6728
6634
|
"hiddenAliases": [],
|
|
6729
|
-
"id": "tenant:license:
|
|
6635
|
+
"id": "tenant:license:set",
|
|
6730
6636
|
"pluginAlias": "@xano/cli",
|
|
6731
6637
|
"pluginName": "@xano/cli",
|
|
6732
6638
|
"pluginType": "core",
|
|
@@ -6738,7 +6644,7 @@
|
|
|
6738
6644
|
"commands",
|
|
6739
6645
|
"tenant",
|
|
6740
6646
|
"license",
|
|
6741
|
-
"
|
|
6647
|
+
"set",
|
|
6742
6648
|
"index.js"
|
|
6743
6649
|
]
|
|
6744
6650
|
},
|
|
@@ -6836,6 +6742,100 @@
|
|
|
6836
6742
|
"index.js"
|
|
6837
6743
|
]
|
|
6838
6744
|
},
|
|
6745
|
+
"tenant:env:get_all": {
|
|
6746
|
+
"aliases": [],
|
|
6747
|
+
"args": {
|
|
6748
|
+
"tenant_name": {
|
|
6749
|
+
"description": "Tenant name",
|
|
6750
|
+
"name": "tenant_name",
|
|
6751
|
+
"required": true
|
|
6752
|
+
}
|
|
6753
|
+
},
|
|
6754
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6755
|
+
"examples": [
|
|
6756
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6757
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6758
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6759
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6760
|
+
],
|
|
6761
|
+
"flags": {
|
|
6762
|
+
"profile": {
|
|
6763
|
+
"char": "p",
|
|
6764
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6765
|
+
"env": "XANO_PROFILE",
|
|
6766
|
+
"name": "profile",
|
|
6767
|
+
"required": false,
|
|
6768
|
+
"hasDynamicHelp": false,
|
|
6769
|
+
"multiple": false,
|
|
6770
|
+
"type": "option"
|
|
6771
|
+
},
|
|
6772
|
+
"verbose": {
|
|
6773
|
+
"char": "v",
|
|
6774
|
+
"description": "Show detailed request/response information",
|
|
6775
|
+
"env": "XANO_VERBOSE",
|
|
6776
|
+
"name": "verbose",
|
|
6777
|
+
"required": false,
|
|
6778
|
+
"allowNo": false,
|
|
6779
|
+
"type": "boolean"
|
|
6780
|
+
},
|
|
6781
|
+
"file": {
|
|
6782
|
+
"char": "f",
|
|
6783
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6784
|
+
"name": "file",
|
|
6785
|
+
"required": false,
|
|
6786
|
+
"hasDynamicHelp": false,
|
|
6787
|
+
"multiple": false,
|
|
6788
|
+
"type": "option"
|
|
6789
|
+
},
|
|
6790
|
+
"output": {
|
|
6791
|
+
"char": "o",
|
|
6792
|
+
"description": "Output format",
|
|
6793
|
+
"name": "output",
|
|
6794
|
+
"required": false,
|
|
6795
|
+
"default": "summary",
|
|
6796
|
+
"hasDynamicHelp": false,
|
|
6797
|
+
"multiple": false,
|
|
6798
|
+
"options": [
|
|
6799
|
+
"summary",
|
|
6800
|
+
"json"
|
|
6801
|
+
],
|
|
6802
|
+
"type": "option"
|
|
6803
|
+
},
|
|
6804
|
+
"view": {
|
|
6805
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6806
|
+
"name": "view",
|
|
6807
|
+
"required": false,
|
|
6808
|
+
"allowNo": false,
|
|
6809
|
+
"type": "boolean"
|
|
6810
|
+
},
|
|
6811
|
+
"workspace": {
|
|
6812
|
+
"char": "w",
|
|
6813
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6814
|
+
"name": "workspace",
|
|
6815
|
+
"required": false,
|
|
6816
|
+
"hasDynamicHelp": false,
|
|
6817
|
+
"multiple": false,
|
|
6818
|
+
"type": "option"
|
|
6819
|
+
}
|
|
6820
|
+
},
|
|
6821
|
+
"hasDynamicHelp": false,
|
|
6822
|
+
"hiddenAliases": [],
|
|
6823
|
+
"id": "tenant:env:get_all",
|
|
6824
|
+
"pluginAlias": "@xano/cli",
|
|
6825
|
+
"pluginName": "@xano/cli",
|
|
6826
|
+
"pluginType": "core",
|
|
6827
|
+
"strict": true,
|
|
6828
|
+
"enableJsonFlag": false,
|
|
6829
|
+
"isESM": true,
|
|
6830
|
+
"relativePath": [
|
|
6831
|
+
"dist",
|
|
6832
|
+
"commands",
|
|
6833
|
+
"tenant",
|
|
6834
|
+
"env",
|
|
6835
|
+
"get_all",
|
|
6836
|
+
"index.js"
|
|
6837
|
+
]
|
|
6838
|
+
},
|
|
6839
6839
|
"tenant:cluster:license:get": {
|
|
6840
6840
|
"aliases": [],
|
|
6841
6841
|
"args": {
|
|
@@ -7027,5 +7027,5 @@
|
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.59"
|
|
7031
7031
|
}
|