@xano/cli 0.0.35 → 0.0.37

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.
@@ -226,20 +226,20 @@
226
226
  "index.js"
227
227
  ]
228
228
  },
229
- "branch:edit": {
229
+ "branch:get": {
230
230
  "aliases": [],
231
231
  "args": {
232
232
  "branch_label": {
233
- "description": "Branch label to edit (cannot edit \"v1\" label)",
233
+ "description": "Branch label (e.g., \"v1\", \"dev\")",
234
234
  "name": "branch_label",
235
235
  "required": true
236
236
  }
237
237
  },
238
- "description": "Update an existing branch (cannot update \"v1\" label)",
238
+ "description": "Get details for a specific branch",
239
239
  "examples": [
240
- "$ xano branch edit dev --label development\nUpdated branch: development\n",
241
- "$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
242
- "$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
240
+ "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
241
+ "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
242
+ "$ 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"
243
243
  ],
244
244
  "flags": {
245
245
  "profile": {
@@ -261,33 +261,6 @@
261
261
  "allowNo": false,
262
262
  "type": "boolean"
263
263
  },
264
- "color": {
265
- "char": "c",
266
- "description": "New color hex code for the branch (e.g., \"#ff5733\")",
267
- "name": "color",
268
- "required": false,
269
- "hasDynamicHelp": false,
270
- "multiple": false,
271
- "type": "option"
272
- },
273
- "description": {
274
- "char": "d",
275
- "description": "New description for the branch",
276
- "name": "description",
277
- "required": false,
278
- "hasDynamicHelp": false,
279
- "multiple": false,
280
- "type": "option"
281
- },
282
- "label": {
283
- "char": "l",
284
- "description": "New label for the branch",
285
- "name": "label",
286
- "required": false,
287
- "hasDynamicHelp": false,
288
- "multiple": false,
289
- "type": "option"
290
- },
291
264
  "output": {
292
265
  "char": "o",
293
266
  "description": "Output format",
@@ -314,7 +287,7 @@
314
287
  },
315
288
  "hasDynamicHelp": false,
316
289
  "hiddenAliases": [],
317
- "id": "branch:edit",
290
+ "id": "branch:get",
318
291
  "pluginAlias": "@xano/cli",
319
292
  "pluginName": "@xano/cli",
320
293
  "pluginType": "core",
@@ -325,24 +298,24 @@
325
298
  "dist",
326
299
  "commands",
327
300
  "branch",
328
- "edit",
301
+ "get",
329
302
  "index.js"
330
303
  ]
331
304
  },
332
- "branch:get": {
305
+ "branch:edit": {
333
306
  "aliases": [],
334
307
  "args": {
335
308
  "branch_label": {
336
- "description": "Branch label (e.g., \"v1\", \"dev\")",
309
+ "description": "Branch label to edit (cannot edit \"v1\" label)",
337
310
  "name": "branch_label",
338
311
  "required": true
339
312
  }
340
313
  },
341
- "description": "Get details for a specific branch",
314
+ "description": "Update an existing branch (cannot update \"v1\" label)",
342
315
  "examples": [
343
- "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
344
- "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
345
- "$ 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"
316
+ "$ xano branch edit dev --label development\nUpdated branch: development\n",
317
+ "$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
318
+ "$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
346
319
  ],
347
320
  "flags": {
348
321
  "profile": {
@@ -364,6 +337,33 @@
364
337
  "allowNo": false,
365
338
  "type": "boolean"
366
339
  },
340
+ "color": {
341
+ "char": "c",
342
+ "description": "New color hex code for the branch (e.g., \"#ff5733\")",
343
+ "name": "color",
344
+ "required": false,
345
+ "hasDynamicHelp": false,
346
+ "multiple": false,
347
+ "type": "option"
348
+ },
349
+ "description": {
350
+ "char": "d",
351
+ "description": "New description for the branch",
352
+ "name": "description",
353
+ "required": false,
354
+ "hasDynamicHelp": false,
355
+ "multiple": false,
356
+ "type": "option"
357
+ },
358
+ "label": {
359
+ "char": "l",
360
+ "description": "New label for the branch",
361
+ "name": "label",
362
+ "required": false,
363
+ "hasDynamicHelp": false,
364
+ "multiple": false,
365
+ "type": "option"
366
+ },
367
367
  "output": {
368
368
  "char": "o",
369
369
  "description": "Output format",
@@ -390,7 +390,7 @@
390
390
  },
391
391
  "hasDynamicHelp": false,
392
392
  "hiddenAliases": [],
393
- "id": "branch:get",
393
+ "id": "branch:edit",
394
394
  "pluginAlias": "@xano/cli",
395
395
  "pluginName": "@xano/cli",
396
396
  "pluginType": "core",
@@ -401,7 +401,7 @@
401
401
  "dist",
402
402
  "commands",
403
403
  "branch",
404
- "get",
404
+ "edit",
405
405
  "index.js"
406
406
  ]
407
407
  },
@@ -1066,140 +1066,52 @@
1066
1066
  "index.js"
1067
1067
  ]
1068
1068
  },
1069
- "profile:create": {
1069
+ "platform:list": {
1070
1070
  "aliases": [],
1071
- "args": {
1072
- "name": {
1073
- "description": "Profile name",
1074
- "name": "name",
1075
- "required": true
1076
- }
1077
- },
1078
- "description": "Create a new profile configuration",
1071
+ "args": {},
1072
+ "description": "List all platforms",
1079
1073
  "examples": [
1080
- "$ 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",
1081
- "$ 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",
1082
- "$ 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",
1083
- "$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch -j my-project\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
1084
- "$ 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"
1074
+ "$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
1075
+ "$ xano platform list --output json"
1085
1076
  ],
1086
1077
  "flags": {
1087
- "access_token": {
1088
- "char": "t",
1089
- "description": "Access token for the Xano Metadata API",
1090
- "name": "access_token",
1091
- "required": true,
1092
- "hasDynamicHelp": false,
1093
- "multiple": false,
1094
- "type": "option"
1095
- },
1096
- "account_origin": {
1097
- "char": "a",
1098
- "description": "Account origin URL. Optional for self hosted installs.",
1099
- "name": "account_origin",
1100
- "required": false,
1101
- "hasDynamicHelp": false,
1102
- "multiple": false,
1103
- "type": "option"
1104
- },
1105
- "branch": {
1106
- "char": "b",
1107
- "description": "Branch name",
1108
- "name": "branch",
1078
+ "profile": {
1079
+ "char": "p",
1080
+ "description": "Profile to use (uses default profile if not specified)",
1081
+ "env": "XANO_PROFILE",
1082
+ "name": "profile",
1109
1083
  "required": false,
1110
1084
  "hasDynamicHelp": false,
1111
1085
  "multiple": false,
1112
1086
  "type": "option"
1113
1087
  },
1114
- "default": {
1115
- "description": "Set this profile as the default",
1116
- "name": "default",
1088
+ "verbose": {
1089
+ "char": "v",
1090
+ "description": "Show detailed request/response information",
1091
+ "env": "XANO_VERBOSE",
1092
+ "name": "verbose",
1117
1093
  "required": false,
1118
1094
  "allowNo": false,
1119
1095
  "type": "boolean"
1120
1096
  },
1121
- "instance_origin": {
1122
- "char": "i",
1123
- "description": "Instance origin URL",
1124
- "name": "instance_origin",
1125
- "required": true,
1126
- "hasDynamicHelp": false,
1127
- "multiple": false,
1128
- "type": "option"
1129
- },
1130
- "project": {
1131
- "char": "j",
1132
- "description": "Project name",
1133
- "name": "project",
1134
- "required": false,
1135
- "hasDynamicHelp": false,
1136
- "multiple": false,
1137
- "type": "option"
1138
- },
1139
- "run_base_url": {
1140
- "char": "r",
1141
- "description": "Xano Run API base URL (default: https://app.xano.com/)",
1142
- "name": "run_base_url",
1143
- "required": false,
1144
- "hasDynamicHelp": false,
1145
- "multiple": false,
1146
- "type": "option"
1147
- },
1148
- "workspace": {
1149
- "char": "w",
1150
- "description": "Workspace name",
1151
- "name": "workspace",
1097
+ "output": {
1098
+ "char": "o",
1099
+ "description": "Output format",
1100
+ "name": "output",
1152
1101
  "required": false,
1102
+ "default": "summary",
1153
1103
  "hasDynamicHelp": false,
1154
1104
  "multiple": false,
1105
+ "options": [
1106
+ "summary",
1107
+ "json"
1108
+ ],
1155
1109
  "type": "option"
1156
1110
  }
1157
1111
  },
1158
1112
  "hasDynamicHelp": false,
1159
1113
  "hiddenAliases": [],
1160
- "id": "profile:create",
1161
- "pluginAlias": "@xano/cli",
1162
- "pluginName": "@xano/cli",
1163
- "pluginType": "core",
1164
- "strict": true,
1165
- "enableJsonFlag": false,
1166
- "isESM": true,
1167
- "relativePath": [
1168
- "dist",
1169
- "commands",
1170
- "profile",
1171
- "create",
1172
- "index.js"
1173
- ]
1174
- },
1175
- "profile:delete": {
1176
- "aliases": [],
1177
- "args": {
1178
- "name": {
1179
- "description": "Profile name to delete",
1180
- "name": "name",
1181
- "required": true
1182
- }
1183
- },
1184
- "description": "Delete a profile configuration",
1185
- "examples": [
1186
- "$ 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",
1187
- "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
1188
- "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
1189
- ],
1190
- "flags": {
1191
- "force": {
1192
- "char": "f",
1193
- "description": "Skip confirmation prompt",
1194
- "name": "force",
1195
- "required": false,
1196
- "allowNo": false,
1197
- "type": "boolean"
1198
- }
1199
- },
1200
- "hasDynamicHelp": false,
1201
- "hiddenAliases": [],
1202
- "id": "profile:delete",
1114
+ "id": "platform:list",
1203
1115
  "pluginAlias": "@xano/cli",
1204
1116
  "pluginName": "@xano/cli",
1205
1117
  "pluginType": "core",
@@ -1209,8 +1121,8 @@
1209
1121
  "relativePath": [
1210
1122
  "dist",
1211
1123
  "commands",
1212
- "profile",
1213
- "delete",
1124
+ "platform",
1125
+ "list",
1214
1126
  "index.js"
1215
1127
  ]
1216
1128
  },
@@ -1362,18 +1274,34 @@
1362
1274
  "index.js"
1363
1275
  ]
1364
1276
  },
1365
- "profile:get_default": {
1277
+ "profile:delete": {
1366
1278
  "aliases": [],
1367
- "args": {},
1368
- "description": "Get the current default profile name",
1279
+ "args": {
1280
+ "name": {
1281
+ "description": "Profile name to delete",
1282
+ "name": "name",
1283
+ "required": true
1284
+ }
1285
+ },
1286
+ "description": "Delete a profile configuration",
1369
1287
  "examples": [
1370
- "$ xano profile:get-default\nproduction\n",
1371
- "$ xano profile:get-default\nNo default profile set\n"
1288
+ "$ 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",
1289
+ "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
1290
+ "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
1372
1291
  ],
1373
- "flags": {},
1292
+ "flags": {
1293
+ "force": {
1294
+ "char": "f",
1295
+ "description": "Skip confirmation prompt",
1296
+ "name": "force",
1297
+ "required": false,
1298
+ "allowNo": false,
1299
+ "type": "boolean"
1300
+ }
1301
+ },
1374
1302
  "hasDynamicHelp": false,
1375
1303
  "hiddenAliases": [],
1376
- "id": "profile:get_default",
1304
+ "id": "profile:delete",
1377
1305
  "pluginAlias": "@xano/cli",
1378
1306
  "pluginName": "@xano/cli",
1379
1307
  "pluginType": "core",
@@ -1384,57 +1312,102 @@
1384
1312
  "dist",
1385
1313
  "commands",
1386
1314
  "profile",
1387
- "get_default",
1315
+ "delete",
1388
1316
  "index.js"
1389
1317
  ]
1390
1318
  },
1391
- "profile:me": {
1319
+ "profile:create": {
1392
1320
  "aliases": [],
1393
- "args": {},
1394
- "description": "Get information about the currently authenticated user",
1321
+ "args": {
1322
+ "name": {
1323
+ "description": "Profile name",
1324
+ "name": "name",
1325
+ "required": true
1326
+ }
1327
+ },
1328
+ "description": "Create a new profile configuration",
1395
1329
  "examples": [
1396
- "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1397
- "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1398
- "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1330
+ "$ 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",
1331
+ "$ 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",
1332
+ "$ 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",
1333
+ "$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch -j my-project\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
1334
+ "$ 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"
1399
1335
  ],
1400
1336
  "flags": {
1401
- "profile": {
1402
- "char": "p",
1403
- "description": "Profile to use (uses default profile if not specified)",
1404
- "env": "XANO_PROFILE",
1405
- "name": "profile",
1337
+ "access_token": {
1338
+ "char": "t",
1339
+ "description": "Access token for the Xano Metadata API",
1340
+ "name": "access_token",
1341
+ "required": true,
1342
+ "hasDynamicHelp": false,
1343
+ "multiple": false,
1344
+ "type": "option"
1345
+ },
1346
+ "account_origin": {
1347
+ "char": "a",
1348
+ "description": "Account origin URL. Optional for self hosted installs.",
1349
+ "name": "account_origin",
1406
1350
  "required": false,
1407
1351
  "hasDynamicHelp": false,
1408
1352
  "multiple": false,
1409
1353
  "type": "option"
1410
1354
  },
1411
- "verbose": {
1412
- "char": "v",
1413
- "description": "Show detailed request/response information",
1414
- "env": "XANO_VERBOSE",
1415
- "name": "verbose",
1355
+ "branch": {
1356
+ "char": "b",
1357
+ "description": "Branch name",
1358
+ "name": "branch",
1359
+ "required": false,
1360
+ "hasDynamicHelp": false,
1361
+ "multiple": false,
1362
+ "type": "option"
1363
+ },
1364
+ "default": {
1365
+ "description": "Set this profile as the default",
1366
+ "name": "default",
1416
1367
  "required": false,
1417
1368
  "allowNo": false,
1418
1369
  "type": "boolean"
1419
1370
  },
1420
- "output": {
1421
- "char": "o",
1422
- "description": "Output format",
1423
- "name": "output",
1371
+ "instance_origin": {
1372
+ "char": "i",
1373
+ "description": "Instance origin URL",
1374
+ "name": "instance_origin",
1375
+ "required": true,
1376
+ "hasDynamicHelp": false,
1377
+ "multiple": false,
1378
+ "type": "option"
1379
+ },
1380
+ "project": {
1381
+ "char": "j",
1382
+ "description": "Project name",
1383
+ "name": "project",
1384
+ "required": false,
1385
+ "hasDynamicHelp": false,
1386
+ "multiple": false,
1387
+ "type": "option"
1388
+ },
1389
+ "run_base_url": {
1390
+ "char": "r",
1391
+ "description": "Xano Run API base URL (default: https://app.xano.com/)",
1392
+ "name": "run_base_url",
1393
+ "required": false,
1394
+ "hasDynamicHelp": false,
1395
+ "multiple": false,
1396
+ "type": "option"
1397
+ },
1398
+ "workspace": {
1399
+ "char": "w",
1400
+ "description": "Workspace name",
1401
+ "name": "workspace",
1424
1402
  "required": false,
1425
- "default": "summary",
1426
1403
  "hasDynamicHelp": false,
1427
1404
  "multiple": false,
1428
- "options": [
1429
- "summary",
1430
- "json"
1431
- ],
1432
1405
  "type": "option"
1433
1406
  }
1434
1407
  },
1435
1408
  "hasDynamicHelp": false,
1436
1409
  "hiddenAliases": [],
1437
- "id": "profile:me",
1410
+ "id": "profile:create",
1438
1411
  "pluginAlias": "@xano/cli",
1439
1412
  "pluginName": "@xano/cli",
1440
1413
  "pluginType": "core",
@@ -1445,7 +1418,7 @@
1445
1418
  "dist",
1446
1419
  "commands",
1447
1420
  "profile",
1448
- "me",
1421
+ "create",
1449
1422
  "index.js"
1450
1423
  ]
1451
1424
  },
@@ -1511,18 +1484,18 @@
1511
1484
  "index.js"
1512
1485
  ]
1513
1486
  },
1514
- "profile:token": {
1487
+ "profile:get_default": {
1515
1488
  "aliases": [],
1516
1489
  "args": {},
1517
- "description": "Print the access token for the default profile",
1490
+ "description": "Get the current default profile name",
1518
1491
  "examples": [
1519
- "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1520
- "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1492
+ "$ xano profile:get-default\nproduction\n",
1493
+ "$ xano profile:get-default\nNo default profile set\n"
1521
1494
  ],
1522
1495
  "flags": {},
1523
1496
  "hasDynamicHelp": false,
1524
1497
  "hiddenAliases": [],
1525
- "id": "profile:token",
1498
+ "id": "profile:get_default",
1526
1499
  "pluginAlias": "@xano/cli",
1527
1500
  "pluginName": "@xano/cli",
1528
1501
  "pluginType": "core",
@@ -1533,41 +1506,22 @@
1533
1506
  "dist",
1534
1507
  "commands",
1535
1508
  "profile",
1536
- "token",
1509
+ "get_default",
1537
1510
  "index.js"
1538
1511
  ]
1539
1512
  },
1540
- "profile:wizard": {
1513
+ "profile:token": {
1541
1514
  "aliases": [],
1542
1515
  "args": {},
1543
- "description": "Create a new profile configuration using an interactive wizard",
1516
+ "description": "Print the access token for the default profile",
1544
1517
  "examples": [
1545
- "$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
1518
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1519
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1546
1520
  ],
1547
- "flags": {
1548
- "name": {
1549
- "char": "n",
1550
- "description": "Profile name (skip prompt if provided)",
1551
- "name": "name",
1552
- "required": false,
1553
- "hasDynamicHelp": false,
1554
- "multiple": false,
1555
- "type": "option"
1556
- },
1557
- "origin": {
1558
- "char": "o",
1559
- "description": "Xano instance origin URL",
1560
- "name": "origin",
1561
- "required": false,
1562
- "default": "https://app.xano.com",
1563
- "hasDynamicHelp": false,
1564
- "multiple": false,
1565
- "type": "option"
1566
- }
1567
- },
1521
+ "flags": {},
1568
1522
  "hasDynamicHelp": false,
1569
1523
  "hiddenAliases": [],
1570
- "id": "profile:wizard",
1524
+ "id": "profile:token",
1571
1525
  "pluginAlias": "@xano/cli",
1572
1526
  "pluginName": "@xano/cli",
1573
1527
  "pluginType": "core",
@@ -1578,7 +1532,7 @@
1578
1532
  "dist",
1579
1533
  "commands",
1580
1534
  "profile",
1581
- "wizard",
1535
+ "token",
1582
1536
  "index.js"
1583
1537
  ]
1584
1538
  },
@@ -1614,13 +1568,14 @@
1614
1568
  "index.js"
1615
1569
  ]
1616
1570
  },
1617
- "platform:list": {
1571
+ "profile:me": {
1618
1572
  "aliases": [],
1619
1573
  "args": {},
1620
- "description": "List all platforms",
1574
+ "description": "Get information about the currently authenticated user",
1621
1575
  "examples": [
1622
- "$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
1623
- "$ xano platform list --output json"
1576
+ "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1577
+ "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1578
+ "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1624
1579
  ],
1625
1580
  "flags": {
1626
1581
  "profile": {
@@ -1659,7 +1614,7 @@
1659
1614
  },
1660
1615
  "hasDynamicHelp": false,
1661
1616
  "hiddenAliases": [],
1662
- "id": "platform:list",
1617
+ "id": "profile:me",
1663
1618
  "pluginAlias": "@xano/cli",
1664
1619
  "pluginName": "@xano/cli",
1665
1620
  "pluginType": "core",
@@ -1669,29 +1624,64 @@
1669
1624
  "relativePath": [
1670
1625
  "dist",
1671
1626
  "commands",
1672
- "platform",
1673
- "list",
1627
+ "profile",
1628
+ "me",
1674
1629
  "index.js"
1675
1630
  ]
1676
1631
  },
1677
- "run:exec": {
1632
+ "profile:wizard": {
1678
1633
  "aliases": [],
1679
- "args": {
1680
- "path": {
1681
- "description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
1682
- "name": "path",
1683
- "required": false
1634
+ "args": {},
1635
+ "description": "Create a new profile configuration using an interactive wizard",
1636
+ "examples": [
1637
+ "$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
1638
+ ],
1639
+ "flags": {
1640
+ "name": {
1641
+ "char": "n",
1642
+ "description": "Profile name (skip prompt if provided)",
1643
+ "name": "name",
1644
+ "required": false,
1645
+ "hasDynamicHelp": false,
1646
+ "multiple": false,
1647
+ "type": "option"
1648
+ },
1649
+ "origin": {
1650
+ "char": "o",
1651
+ "description": "Xano instance origin URL",
1652
+ "name": "origin",
1653
+ "required": false,
1654
+ "default": "https://app.xano.com",
1655
+ "hasDynamicHelp": false,
1656
+ "multiple": false,
1657
+ "type": "option"
1684
1658
  }
1685
1659
  },
1686
- "description": "Execute XanoScript code (job or service)",
1660
+ "hasDynamicHelp": false,
1661
+ "hiddenAliases": [],
1662
+ "id": "profile:wizard",
1663
+ "pluginAlias": "@xano/cli",
1664
+ "pluginName": "@xano/cli",
1665
+ "pluginType": "core",
1666
+ "strict": true,
1667
+ "enableJsonFlag": false,
1668
+ "isESM": true,
1669
+ "relativePath": [
1670
+ "dist",
1671
+ "commands",
1672
+ "profile",
1673
+ "wizard",
1674
+ "index.js"
1675
+ ]
1676
+ },
1677
+ "run:info": {
1678
+ "aliases": [],
1679
+ "args": {},
1680
+ "description": "Get information about a XanoScript document (type, inputs, env vars)",
1687
1681
  "examples": [
1688
- "$ xano run exec script.xs\nExecuted successfully!\n...\n",
1689
- "$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
1690
- "$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
1691
- "$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
1692
- "$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
1693
- "$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
1694
- "$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
1682
+ "$ xano run info -f script.xs\nDocument Info:\n Type: job\n Inputs:\n - name (string, required)\n - count (number, optional)\n Environment Variables:\n - API_KEY\n - DEBUG\n",
1683
+ "$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
1684
+ "$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
1695
1685
  ],
1696
1686
  "flags": {
1697
1687
  "profile": {
@@ -1713,34 +1703,9 @@
1713
1703
  "allowNo": false,
1714
1704
  "type": "boolean"
1715
1705
  },
1716
- "args": {
1717
- "char": "a",
1718
- "description": "Path or URL to JSON file containing input arguments",
1719
- "name": "args",
1720
- "required": false,
1721
- "hasDynamicHelp": false,
1722
- "multiple": false,
1723
- "type": "option"
1724
- },
1725
- "edit": {
1726
- "char": "e",
1727
- "description": "Open file in editor before running (requires path argument or --file)",
1728
- "name": "edit",
1729
- "required": false,
1730
- "allowNo": false,
1731
- "type": "boolean"
1732
- },
1733
- "env": {
1734
- "description": "Environment variable override (key=value)",
1735
- "name": "env",
1736
- "required": false,
1737
- "hasDynamicHelp": false,
1738
- "multiple": true,
1739
- "type": "option"
1740
- },
1741
1706
  "file": {
1742
1707
  "char": "f",
1743
- "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
1708
+ "description": "Path or URL to file containing XanoScript code",
1744
1709
  "exclusive": [
1745
1710
  "stdin"
1746
1711
  ],
@@ -1778,7 +1743,7 @@
1778
1743
  },
1779
1744
  "hasDynamicHelp": false,
1780
1745
  "hiddenAliases": [],
1781
- "id": "run:exec",
1746
+ "id": "run:info",
1782
1747
  "pluginAlias": "@xano/cli",
1783
1748
  "pluginName": "@xano/cli",
1784
1749
  "pluginType": "core",
@@ -1788,18 +1753,28 @@
1788
1753
  "dist",
1789
1754
  "commands",
1790
1755
  "run",
1791
- "exec",
1756
+ "info",
1792
1757
  "index.js"
1793
1758
  ]
1794
1759
  },
1795
- "run:info": {
1760
+ "run:exec": {
1796
1761
  "aliases": [],
1797
- "args": {},
1798
- "description": "Get information about a XanoScript document (type, inputs, env vars)",
1762
+ "args": {
1763
+ "path": {
1764
+ "description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
1765
+ "name": "path",
1766
+ "required": false
1767
+ }
1768
+ },
1769
+ "description": "Execute XanoScript code (job or service)",
1799
1770
  "examples": [
1800
- "$ xano run info -f script.xs\nDocument Info:\n Type: job\n Inputs:\n - name (string, required)\n - count (number, optional)\n Environment Variables:\n - API_KEY\n - DEBUG\n",
1801
- "$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
1802
- "$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
1771
+ "$ xano run exec script.xs\nExecuted successfully!\n...\n",
1772
+ "$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
1773
+ "$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
1774
+ "$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
1775
+ "$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
1776
+ "$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
1777
+ "$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
1803
1778
  ],
1804
1779
  "flags": {
1805
1780
  "profile": {
@@ -1821,9 +1796,34 @@
1821
1796
  "allowNo": false,
1822
1797
  "type": "boolean"
1823
1798
  },
1799
+ "args": {
1800
+ "char": "a",
1801
+ "description": "Path or URL to JSON file containing input arguments",
1802
+ "name": "args",
1803
+ "required": false,
1804
+ "hasDynamicHelp": false,
1805
+ "multiple": false,
1806
+ "type": "option"
1807
+ },
1808
+ "edit": {
1809
+ "char": "e",
1810
+ "description": "Open file in editor before running (requires path argument or --file)",
1811
+ "name": "edit",
1812
+ "required": false,
1813
+ "allowNo": false,
1814
+ "type": "boolean"
1815
+ },
1816
+ "env": {
1817
+ "description": "Environment variable override (key=value)",
1818
+ "name": "env",
1819
+ "required": false,
1820
+ "hasDynamicHelp": false,
1821
+ "multiple": true,
1822
+ "type": "option"
1823
+ },
1824
1824
  "file": {
1825
1825
  "char": "f",
1826
- "description": "Path or URL to file containing XanoScript code",
1826
+ "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
1827
1827
  "exclusive": [
1828
1828
  "stdin"
1829
1829
  ],
@@ -1861,7 +1861,7 @@
1861
1861
  },
1862
1862
  "hasDynamicHelp": false,
1863
1863
  "hiddenAliases": [],
1864
- "id": "run:info",
1864
+ "id": "run:exec",
1865
1865
  "pluginAlias": "@xano/cli",
1866
1866
  "pluginName": "@xano/cli",
1867
1867
  "pluginType": "core",
@@ -1871,24 +1871,19 @@
1871
1871
  "dist",
1872
1872
  "commands",
1873
1873
  "run",
1874
- "info",
1874
+ "exec",
1875
1875
  "index.js"
1876
1876
  ]
1877
1877
  },
1878
- "release:delete": {
1878
+ "static_host:list": {
1879
1879
  "aliases": [],
1880
- "args": {
1881
- "release_id": {
1882
- "description": "Release ID to delete",
1883
- "name": "release_id",
1884
- "required": true
1885
- }
1886
- },
1887
- "description": "Delete a release permanently. This action cannot be undone.",
1880
+ "args": {},
1881
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
1888
1882
  "examples": [
1889
- "$ xano release delete 10\nAre you sure you want to delete release #10? This action cannot be undone. (y/N) y\nDeleted release #10\n",
1890
- "$ xano release delete 10 --force\nDeleted release #10\n",
1891
- "$ xano release delete 10 -f -o json"
1883
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1884
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1885
+ "$ 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",
1886
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
1892
1887
  ],
1893
1888
  "flags": {
1894
1889
  "profile": {
@@ -1910,14 +1905,6 @@
1910
1905
  "allowNo": false,
1911
1906
  "type": "boolean"
1912
1907
  },
1913
- "force": {
1914
- "char": "f",
1915
- "description": "Skip confirmation prompt",
1916
- "name": "force",
1917
- "required": false,
1918
- "allowNo": false,
1919
- "type": "boolean"
1920
- },
1921
1908
  "output": {
1922
1909
  "char": "o",
1923
1910
  "description": "Output format",
@@ -1932,9 +1919,27 @@
1932
1919
  ],
1933
1920
  "type": "option"
1934
1921
  },
1922
+ "page": {
1923
+ "description": "Page number for pagination",
1924
+ "name": "page",
1925
+ "required": false,
1926
+ "default": 1,
1927
+ "hasDynamicHelp": false,
1928
+ "multiple": false,
1929
+ "type": "option"
1930
+ },
1931
+ "per_page": {
1932
+ "description": "Number of results per page",
1933
+ "name": "per_page",
1934
+ "required": false,
1935
+ "default": 50,
1936
+ "hasDynamicHelp": false,
1937
+ "multiple": false,
1938
+ "type": "option"
1939
+ },
1935
1940
  "workspace": {
1936
1941
  "char": "w",
1937
- "description": "Workspace ID (uses profile workspace if not provided)",
1942
+ "description": "Workspace ID (optional if set in profile)",
1938
1943
  "name": "workspace",
1939
1944
  "required": false,
1940
1945
  "hasDynamicHelp": false,
@@ -1944,7 +1949,7 @@
1944
1949
  },
1945
1950
  "hasDynamicHelp": false,
1946
1951
  "hiddenAliases": [],
1947
- "id": "release:delete",
1952
+ "id": "static_host:list",
1948
1953
  "pluginAlias": "@xano/cli",
1949
1954
  "pluginName": "@xano/cli",
1950
1955
  "pluginType": "core",
@@ -1954,18 +1959,24 @@
1954
1959
  "relativePath": [
1955
1960
  "dist",
1956
1961
  "commands",
1957
- "release",
1958
- "delete",
1962
+ "static_host",
1963
+ "list",
1959
1964
  "index.js"
1960
1965
  ]
1961
1966
  },
1962
- "release:create": {
1967
+ "tenant:deploy_platform": {
1963
1968
  "aliases": [],
1964
- "args": {},
1965
- "description": "Create a new release in a workspace",
1969
+ "args": {
1970
+ "tenant_name": {
1971
+ "description": "Tenant name to deploy to",
1972
+ "name": "tenant_name",
1973
+ "required": true
1974
+ }
1975
+ },
1976
+ "description": "Deploy a platform version to a tenant",
1966
1977
  "examples": [
1967
- "$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
1968
- "$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
1978
+ "$ xano tenant deploy-platform t1234-abcd-xyz1 --platform-id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
1979
+ "$ xano tenant deploy-platform t1234-abcd-xyz1 --platform-id 5 -o json"
1969
1980
  ],
1970
1981
  "flags": {
1971
1982
  "profile": {
@@ -1987,40 +1998,6 @@
1987
1998
  "allowNo": false,
1988
1999
  "type": "boolean"
1989
2000
  },
1990
- "branch": {
1991
- "char": "b",
1992
- "description": "Branch to create the release from",
1993
- "name": "branch",
1994
- "required": true,
1995
- "hasDynamicHelp": false,
1996
- "multiple": false,
1997
- "type": "option"
1998
- },
1999
- "description": {
2000
- "char": "d",
2001
- "description": "Release description",
2002
- "name": "description",
2003
- "required": false,
2004
- "hasDynamicHelp": false,
2005
- "multiple": false,
2006
- "type": "option"
2007
- },
2008
- "hotfix": {
2009
- "description": "Mark as a hotfix release",
2010
- "name": "hotfix",
2011
- "required": false,
2012
- "allowNo": false,
2013
- "type": "boolean"
2014
- },
2015
- "name": {
2016
- "char": "n",
2017
- "description": "Name for the release",
2018
- "name": "name",
2019
- "required": true,
2020
- "hasDynamicHelp": false,
2021
- "multiple": false,
2022
- "type": "option"
2023
- },
2024
2001
  "output": {
2025
2002
  "char": "o",
2026
2003
  "description": "Output format",
@@ -2035,10 +2012,10 @@
2035
2012
  ],
2036
2013
  "type": "option"
2037
2014
  },
2038
- "table-ids": {
2039
- "description": "Comma-separated table IDs to include",
2040
- "name": "table-ids",
2041
- "required": false,
2015
+ "platform-id": {
2016
+ "description": "Platform ID to deploy",
2017
+ "name": "platform-id",
2018
+ "required": true,
2042
2019
  "hasDynamicHelp": false,
2043
2020
  "multiple": false,
2044
2021
  "type": "option"
@@ -2055,7 +2032,7 @@
2055
2032
  },
2056
2033
  "hasDynamicHelp": false,
2057
2034
  "hiddenAliases": [],
2058
- "id": "release:create",
2035
+ "id": "tenant:deploy_platform",
2059
2036
  "pluginAlias": "@xano/cli",
2060
2037
  "pluginName": "@xano/cli",
2061
2038
  "pluginType": "core",
@@ -2065,24 +2042,18 @@
2065
2042
  "relativePath": [
2066
2043
  "dist",
2067
2044
  "commands",
2068
- "release",
2069
- "create",
2045
+ "tenant",
2046
+ "deploy_platform",
2070
2047
  "index.js"
2071
2048
  ]
2072
2049
  },
2073
- "release:edit": {
2050
+ "tenant:create": {
2074
2051
  "aliases": [],
2075
- "args": {
2076
- "release_id": {
2077
- "description": "Release ID to edit",
2078
- "name": "release_id",
2079
- "required": true
2080
- }
2081
- },
2082
- "description": "Edit an existing release",
2052
+ "args": {},
2053
+ "description": "Create a new tenant in a workspace",
2083
2054
  "examples": [
2084
- "$ xano release edit 10 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
2085
- "$ xano release edit 10 --description \"New description\" -o json"
2055
+ "$ xano tenant create --display \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
2056
+ "$ xano tenant create --display \"Staging\" --description \"Staging env\" --cluster-id 1 --platform-id 1 --license tier2 -o json"
2086
2057
  ],
2087
2058
  "flags": {
2088
2059
  "profile": {
@@ -2104,22 +2075,57 @@
2104
2075
  "allowNo": false,
2105
2076
  "type": "boolean"
2106
2077
  },
2078
+ "cluster-id": {
2079
+ "description": "Cluster ID to deploy to (required for tier2/tier3)",
2080
+ "name": "cluster-id",
2081
+ "required": false,
2082
+ "hasDynamicHelp": false,
2083
+ "multiple": false,
2084
+ "type": "option"
2085
+ },
2107
2086
  "description": {
2108
2087
  "char": "d",
2109
- "description": "New description",
2088
+ "description": "Tenant description",
2110
2089
  "name": "description",
2111
2090
  "required": false,
2112
2091
  "hasDynamicHelp": false,
2113
2092
  "multiple": false,
2114
2093
  "type": "option"
2115
2094
  },
2116
- "name": {
2117
- "char": "n",
2118
- "description": "New name for the release",
2119
- "name": "name",
2095
+ "display": {
2096
+ "description": "Display name for the tenant",
2097
+ "name": "display",
2098
+ "required": true,
2099
+ "hasDynamicHelp": false,
2100
+ "multiple": false,
2101
+ "type": "option"
2102
+ },
2103
+ "domain": {
2104
+ "description": "Custom domain for the tenant",
2105
+ "name": "domain",
2106
+ "required": false,
2107
+ "hasDynamicHelp": false,
2108
+ "multiple": false,
2109
+ "type": "option"
2110
+ },
2111
+ "ingress": {
2112
+ "description": "Enable ingress",
2113
+ "name": "ingress",
2114
+ "allowNo": true,
2115
+ "type": "boolean"
2116
+ },
2117
+ "license": {
2118
+ "description": "License tier",
2119
+ "name": "license",
2120
2120
  "required": false,
2121
+ "default": "tier1",
2121
2122
  "hasDynamicHelp": false,
2122
2123
  "multiple": false,
2124
+ "options": [
2125
+ "tier1",
2126
+ "tier2",
2127
+ "tier3"
2128
+ ],
2123
2129
  "type": "option"
2124
2130
  },
2125
2131
  "output": {
@@ -2136,6 +2142,20 @@
2136
2142
  ],
2137
2143
  "type": "option"
2138
2144
  },
2145
+ "platform-id": {
2146
+ "description": "Platform ID to use",
2147
+ "name": "platform-id",
2148
+ "required": false,
2149
+ "hasDynamicHelp": false,
2150
+ "multiple": false,
2151
+ "type": "option"
2152
+ },
2153
+ "tasks": {
2154
+ "description": "Enable background tasks",
2155
+ "name": "tasks",
2156
+ "allowNo": true,
2157
+ "type": "boolean"
2158
+ },
2139
2159
  "workspace": {
2140
2160
  "char": "w",
2141
2161
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2148,7 +2168,7 @@
2148
2168
  },
2149
2169
  "hasDynamicHelp": false,
2150
2170
  "hiddenAliases": [],
2151
- "id": "release:edit",
2171
+ "id": "tenant:create",
2152
2172
  "pluginAlias": "@xano/cli",
2153
2173
  "pluginName": "@xano/cli",
2154
2174
  "pluginType": "core",
@@ -2158,18 +2178,24 @@
2158
2178
  "relativePath": [
2159
2179
  "dist",
2160
2180
  "commands",
2161
- "release",
2162
- "edit",
2181
+ "tenant",
2182
+ "create",
2163
2183
  "index.js"
2164
2184
  ]
2165
2185
  },
2166
- "release:import": {
2186
+ "tenant:deploy_release": {
2167
2187
  "aliases": [],
2168
- "args": {},
2169
- "description": "Import a release file into a workspace",
2188
+ "args": {
2189
+ "tenant_name": {
2190
+ "description": "Tenant name to deploy to",
2191
+ "name": "tenant_name",
2192
+ "required": true
2193
+ }
2194
+ },
2195
+ "description": "Deploy a release to a tenant",
2170
2196
  "examples": [
2171
- "$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
2172
- "$ xano release import --file ./my-release.tar.gz -o json"
2197
+ "$ xano tenant deploy-release t1234-abcd-xyz1 --release-id 10\nDeployed release 10 to tenant: My Tenant (my-tenant)\n",
2198
+ "$ xano tenant deploy-release t1234-abcd-xyz1 --release-id 10 -o json"
2173
2199
  ],
2174
2200
  "flags": {
2175
2201
  "profile": {
@@ -2191,15 +2217,6 @@
2191
2217
  "allowNo": false,
2192
2218
  "type": "boolean"
2193
2219
  },
2194
- "file": {
2195
- "char": "f",
2196
- "description": "Path to the release file (.tar.gz)",
2197
- "name": "file",
2198
- "required": true,
2199
- "hasDynamicHelp": false,
2200
- "multiple": false,
2201
- "type": "option"
2202
- },
2203
2220
  "output": {
2204
2221
  "char": "o",
2205
2222
  "description": "Output format",
@@ -2214,6 +2231,14 @@
2214
2231
  ],
2215
2232
  "type": "option"
2216
2233
  },
2234
+ "release-id": {
2235
+ "description": "Release ID to deploy",
2236
+ "name": "release-id",
2237
+ "required": true,
2238
+ "hasDynamicHelp": false,
2239
+ "multiple": false,
2240
+ "type": "option"
2241
+ },
2217
2242
  "workspace": {
2218
2243
  "char": "w",
2219
2244
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2226,7 +2251,7 @@
2226
2251
  },
2227
2252
  "hasDynamicHelp": false,
2228
2253
  "hiddenAliases": [],
2229
- "id": "release:import",
2254
+ "id": "tenant:deploy_release",
2230
2255
  "pluginAlias": "@xano/cli",
2231
2256
  "pluginName": "@xano/cli",
2232
2257
  "pluginType": "core",
@@ -2236,25 +2261,24 @@
2236
2261
  "relativePath": [
2237
2262
  "dist",
2238
2263
  "commands",
2239
- "release",
2240
- "import",
2264
+ "tenant",
2265
+ "deploy_release",
2241
2266
  "index.js"
2242
2267
  ]
2243
2268
  },
2244
- "release:export": {
2269
+ "tenant:edit": {
2245
2270
  "aliases": [],
2246
2271
  "args": {
2247
- "release_id": {
2248
- "description": "Release ID to export",
2249
- "name": "release_id",
2272
+ "tenant_name": {
2273
+ "description": "Tenant name to edit",
2274
+ "name": "tenant_name",
2250
2275
  "required": true
2251
2276
  }
2252
2277
  },
2253
- "description": "Export (download) a release to a local file",
2278
+ "description": "Edit an existing tenant",
2254
2279
  "examples": [
2255
- "$ xano release export 10\nDownloaded release #10 to ./release-10.tar.gz\n",
2256
- "$ xano release export 10 --output ./backups/my-release.tar.gz",
2257
- "$ xano release export 10 -o json"
2280
+ "$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
2281
+ "$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
2258
2282
  ],
2259
2283
  "flags": {
2260
2284
  "profile": {
@@ -2276,10 +2300,42 @@
2276
2300
  "allowNo": false,
2277
2301
  "type": "boolean"
2278
2302
  },
2279
- "format": {
2303
+ "description": {
2304
+ "char": "d",
2305
+ "description": "New description",
2306
+ "name": "description",
2307
+ "required": false,
2308
+ "hasDynamicHelp": false,
2309
+ "multiple": false,
2310
+ "type": "option"
2311
+ },
2312
+ "display": {
2313
+ "description": "New display name",
2314
+ "name": "display",
2315
+ "required": false,
2316
+ "hasDynamicHelp": false,
2317
+ "multiple": false,
2318
+ "type": "option"
2319
+ },
2320
+ "domain": {
2321
+ "description": "Custom domain",
2322
+ "name": "domain",
2323
+ "required": false,
2324
+ "hasDynamicHelp": false,
2325
+ "multiple": false,
2326
+ "type": "option"
2327
+ },
2328
+ "ingress": {
2329
+ "description": "Enable/disable ingress",
2330
+ "name": "ingress",
2331
+ "required": false,
2332
+ "allowNo": true,
2333
+ "type": "boolean"
2334
+ },
2335
+ "output": {
2280
2336
  "char": "o",
2281
2337
  "description": "Output format",
2282
- "name": "format",
2338
+ "name": "output",
2283
2339
  "required": false,
2284
2340
  "default": "summary",
2285
2341
  "hasDynamicHelp": false,
@@ -2290,14 +2346,28 @@
2290
2346
  ],
2291
2347
  "type": "option"
2292
2348
  },
2293
- "output": {
2294
- "description": "Output file path (defaults to ./release-{id}.tar.gz)",
2295
- "name": "output",
2349
+ "proxy": {
2350
+ "description": "Proxy URL",
2351
+ "name": "proxy",
2296
2352
  "required": false,
2297
2353
  "hasDynamicHelp": false,
2298
2354
  "multiple": false,
2299
2355
  "type": "option"
2300
2356
  },
2357
+ "rbac": {
2358
+ "description": "Enable/disable RBAC",
2359
+ "name": "rbac",
2360
+ "required": false,
2361
+ "allowNo": true,
2362
+ "type": "boolean"
2363
+ },
2364
+ "tasks": {
2365
+ "description": "Enable/disable background tasks",
2366
+ "name": "tasks",
2367
+ "required": false,
2368
+ "allowNo": true,
2369
+ "type": "boolean"
2370
+ },
2301
2371
  "workspace": {
2302
2372
  "char": "w",
2303
2373
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2310,7 +2380,7 @@
2310
2380
  },
2311
2381
  "hasDynamicHelp": false,
2312
2382
  "hiddenAliases": [],
2313
- "id": "release:export",
2383
+ "id": "tenant:edit",
2314
2384
  "pluginAlias": "@xano/cli",
2315
2385
  "pluginName": "@xano/cli",
2316
2386
  "pluginType": "core",
@@ -2320,24 +2390,24 @@
2320
2390
  "relativePath": [
2321
2391
  "dist",
2322
2392
  "commands",
2323
- "release",
2324
- "export",
2393
+ "tenant",
2394
+ "edit",
2325
2395
  "index.js"
2326
2396
  ]
2327
2397
  },
2328
- "release:get": {
2398
+ "tenant:get": {
2329
2399
  "aliases": [],
2330
2400
  "args": {
2331
- "release_id": {
2332
- "description": "Release ID to retrieve",
2333
- "name": "release_id",
2401
+ "tenant_name": {
2402
+ "description": "Tenant name to retrieve",
2403
+ "name": "tenant_name",
2334
2404
  "required": true
2335
2405
  }
2336
2406
  },
2337
- "description": "Get details of a specific release",
2407
+ "description": "Get details of a specific tenant",
2338
2408
  "examples": [
2339
- "$ xano release get 10\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2340
- "$ xano release get 10 -w 5 -o json"
2409
+ "$ 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",
2410
+ "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
2341
2411
  ],
2342
2412
  "flags": {
2343
2413
  "profile": {
@@ -2385,7 +2455,7 @@
2385
2455
  },
2386
2456
  "hasDynamicHelp": false,
2387
2457
  "hiddenAliases": [],
2388
- "id": "release:get",
2458
+ "id": "tenant:get",
2389
2459
  "pluginAlias": "@xano/cli",
2390
2460
  "pluginName": "@xano/cli",
2391
2461
  "pluginType": "core",
@@ -2395,18 +2465,18 @@
2395
2465
  "relativePath": [
2396
2466
  "dist",
2397
2467
  "commands",
2398
- "release",
2468
+ "tenant",
2399
2469
  "get",
2400
2470
  "index.js"
2401
2471
  ]
2402
2472
  },
2403
- "release:list": {
2473
+ "tenant:list": {
2404
2474
  "aliases": [],
2405
2475
  "args": {},
2406
- "description": "List all releases in a workspace",
2476
+ "description": "List all tenants in a workspace",
2407
2477
  "examples": [
2408
- "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2409
- "$ xano release list -w 5 --output json"
2478
+ "$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
2479
+ "$ xano tenant list -w 5 --output json"
2410
2480
  ],
2411
2481
  "flags": {
2412
2482
  "profile": {
@@ -2454,7 +2524,7 @@
2454
2524
  },
2455
2525
  "hasDynamicHelp": false,
2456
2526
  "hiddenAliases": [],
2457
- "id": "release:list",
2527
+ "id": "tenant:list",
2458
2528
  "pluginAlias": "@xano/cli",
2459
2529
  "pluginName": "@xano/cli",
2460
2530
  "pluginType": "core",
@@ -2464,7 +2534,7 @@
2464
2534
  "relativePath": [
2465
2535
  "dist",
2466
2536
  "commands",
2467
- "release",
2537
+ "tenant",
2468
2538
  "list",
2469
2539
  "index.js"
2470
2540
  ]
@@ -2553,19 +2623,13 @@
2553
2623
  "index.js"
2554
2624
  ]
2555
2625
  },
2556
- "tenant:deploy_release": {
2626
+ "release:create": {
2557
2627
  "aliases": [],
2558
- "args": {
2559
- "tenant_name": {
2560
- "description": "Tenant name to deploy to",
2561
- "name": "tenant_name",
2562
- "required": true
2563
- }
2564
- },
2565
- "description": "Deploy a release to a tenant",
2628
+ "args": {},
2629
+ "description": "Create a new release in a workspace",
2566
2630
  "examples": [
2567
- "$ xano tenant deploy-release t1234-abcd-xyz1 --release-id 10\nDeployed release 10 to tenant: My Tenant (my-tenant)\n",
2568
- "$ xano tenant deploy-release t1234-abcd-xyz1 --release-id 10 -o json"
2631
+ "$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
2632
+ "$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
2569
2633
  ],
2570
2634
  "flags": {
2571
2635
  "profile": {
@@ -2587,6 +2651,40 @@
2587
2651
  "allowNo": false,
2588
2652
  "type": "boolean"
2589
2653
  },
2654
+ "branch": {
2655
+ "char": "b",
2656
+ "description": "Branch to create the release from",
2657
+ "name": "branch",
2658
+ "required": true,
2659
+ "hasDynamicHelp": false,
2660
+ "multiple": false,
2661
+ "type": "option"
2662
+ },
2663
+ "description": {
2664
+ "char": "d",
2665
+ "description": "Release description",
2666
+ "name": "description",
2667
+ "required": false,
2668
+ "hasDynamicHelp": false,
2669
+ "multiple": false,
2670
+ "type": "option"
2671
+ },
2672
+ "hotfix": {
2673
+ "description": "Mark as a hotfix release",
2674
+ "name": "hotfix",
2675
+ "required": false,
2676
+ "allowNo": false,
2677
+ "type": "boolean"
2678
+ },
2679
+ "name": {
2680
+ "char": "n",
2681
+ "description": "Name for the release",
2682
+ "name": "name",
2683
+ "required": true,
2684
+ "hasDynamicHelp": false,
2685
+ "multiple": false,
2686
+ "type": "option"
2687
+ },
2590
2688
  "output": {
2591
2689
  "char": "o",
2592
2690
  "description": "Output format",
@@ -2601,10 +2699,10 @@
2601
2699
  ],
2602
2700
  "type": "option"
2603
2701
  },
2604
- "release-id": {
2605
- "description": "Release ID to deploy",
2606
- "name": "release-id",
2607
- "required": true,
2702
+ "table-ids": {
2703
+ "description": "Comma-separated table IDs to include",
2704
+ "name": "table-ids",
2705
+ "required": false,
2608
2706
  "hasDynamicHelp": false,
2609
2707
  "multiple": false,
2610
2708
  "type": "option"
@@ -2621,7 +2719,7 @@
2621
2719
  },
2622
2720
  "hasDynamicHelp": false,
2623
2721
  "hiddenAliases": [],
2624
- "id": "tenant:deploy_release",
2722
+ "id": "release:create",
2625
2723
  "pluginAlias": "@xano/cli",
2626
2724
  "pluginName": "@xano/cli",
2627
2725
  "pluginType": "core",
@@ -2631,18 +2729,25 @@
2631
2729
  "relativePath": [
2632
2730
  "dist",
2633
2731
  "commands",
2634
- "tenant",
2635
- "deploy_release",
2732
+ "release",
2733
+ "create",
2636
2734
  "index.js"
2637
2735
  ]
2638
2736
  },
2639
- "tenant:create": {
2737
+ "release:delete": {
2640
2738
  "aliases": [],
2641
- "args": {},
2642
- "description": "Create a new tenant in a workspace",
2739
+ "args": {
2740
+ "release_id": {
2741
+ "description": "Release ID to delete",
2742
+ "name": "release_id",
2743
+ "required": true
2744
+ }
2745
+ },
2746
+ "description": "Delete a release permanently. This action cannot be undone.",
2643
2747
  "examples": [
2644
- "$ xano tenant create --display \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
2645
- "$ xano tenant create --display \"Staging\" --description \"Staging env\" --cluster-id 1 --platform-id 1 --license tier2 -o json"
2748
+ "$ xano release delete 10\nAre you sure you want to delete release #10? This action cannot be undone. (y/N) y\nDeleted release #10\n",
2749
+ "$ xano release delete 10 --force\nDeleted release #10\n",
2750
+ "$ xano release delete 10 -f -o json"
2646
2751
  ],
2647
2752
  "flags": {
2648
2753
  "profile": {
@@ -2664,57 +2769,105 @@
2664
2769
  "allowNo": false,
2665
2770
  "type": "boolean"
2666
2771
  },
2667
- "cluster-id": {
2668
- "description": "Cluster ID to deploy to (required for tier2/tier3)",
2669
- "name": "cluster-id",
2772
+ "force": {
2773
+ "char": "f",
2774
+ "description": "Skip confirmation prompt",
2775
+ "name": "force",
2776
+ "required": false,
2777
+ "allowNo": false,
2778
+ "type": "boolean"
2779
+ },
2780
+ "output": {
2781
+ "char": "o",
2782
+ "description": "Output format",
2783
+ "name": "output",
2670
2784
  "required": false,
2785
+ "default": "summary",
2671
2786
  "hasDynamicHelp": false,
2672
2787
  "multiple": false,
2788
+ "options": [
2789
+ "summary",
2790
+ "json"
2791
+ ],
2673
2792
  "type": "option"
2674
2793
  },
2675
- "description": {
2676
- "char": "d",
2677
- "description": "Tenant description",
2678
- "name": "description",
2794
+ "workspace": {
2795
+ "char": "w",
2796
+ "description": "Workspace ID (uses profile workspace if not provided)",
2797
+ "name": "workspace",
2679
2798
  "required": false,
2680
2799
  "hasDynamicHelp": false,
2681
2800
  "multiple": false,
2682
2801
  "type": "option"
2683
- },
2684
- "display": {
2685
- "description": "Display name for the tenant",
2686
- "name": "display",
2687
- "required": true,
2802
+ }
2803
+ },
2804
+ "hasDynamicHelp": false,
2805
+ "hiddenAliases": [],
2806
+ "id": "release:delete",
2807
+ "pluginAlias": "@xano/cli",
2808
+ "pluginName": "@xano/cli",
2809
+ "pluginType": "core",
2810
+ "strict": true,
2811
+ "enableJsonFlag": false,
2812
+ "isESM": true,
2813
+ "relativePath": [
2814
+ "dist",
2815
+ "commands",
2816
+ "release",
2817
+ "delete",
2818
+ "index.js"
2819
+ ]
2820
+ },
2821
+ "release:edit": {
2822
+ "aliases": [],
2823
+ "args": {
2824
+ "release_id": {
2825
+ "description": "Release ID to edit",
2826
+ "name": "release_id",
2827
+ "required": true
2828
+ }
2829
+ },
2830
+ "description": "Edit an existing release",
2831
+ "examples": [
2832
+ "$ xano release edit 10 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
2833
+ "$ xano release edit 10 --description \"New description\" -o json"
2834
+ ],
2835
+ "flags": {
2836
+ "profile": {
2837
+ "char": "p",
2838
+ "description": "Profile to use (uses default profile if not specified)",
2839
+ "env": "XANO_PROFILE",
2840
+ "name": "profile",
2841
+ "required": false,
2688
2842
  "hasDynamicHelp": false,
2689
2843
  "multiple": false,
2690
2844
  "type": "option"
2691
2845
  },
2692
- "domain": {
2693
- "description": "Custom domain for the tenant",
2694
- "name": "domain",
2846
+ "verbose": {
2847
+ "char": "v",
2848
+ "description": "Show detailed request/response information",
2849
+ "env": "XANO_VERBOSE",
2850
+ "name": "verbose",
2851
+ "required": false,
2852
+ "allowNo": false,
2853
+ "type": "boolean"
2854
+ },
2855
+ "description": {
2856
+ "char": "d",
2857
+ "description": "New description",
2858
+ "name": "description",
2695
2859
  "required": false,
2696
2860
  "hasDynamicHelp": false,
2697
2861
  "multiple": false,
2698
2862
  "type": "option"
2699
2863
  },
2700
- "ingress": {
2701
- "description": "Enable ingress",
2702
- "name": "ingress",
2703
- "allowNo": true,
2704
- "type": "boolean"
2705
- },
2706
- "license": {
2707
- "description": "License tier",
2708
- "name": "license",
2864
+ "name": {
2865
+ "char": "n",
2866
+ "description": "New name for the release",
2867
+ "name": "name",
2709
2868
  "required": false,
2710
- "default": "tier1",
2711
2869
  "hasDynamicHelp": false,
2712
2870
  "multiple": false,
2713
- "options": [
2714
- "tier1",
2715
- "tier2",
2716
- "tier3"
2717
- ],
2718
2871
  "type": "option"
2719
2872
  },
2720
2873
  "output": {
@@ -2731,20 +2884,6 @@
2731
2884
  ],
2732
2885
  "type": "option"
2733
2886
  },
2734
- "platform-id": {
2735
- "description": "Platform ID to use",
2736
- "name": "platform-id",
2737
- "required": false,
2738
- "hasDynamicHelp": false,
2739
- "multiple": false,
2740
- "type": "option"
2741
- },
2742
- "tasks": {
2743
- "description": "Enable background tasks",
2744
- "name": "tasks",
2745
- "allowNo": true,
2746
- "type": "boolean"
2747
- },
2748
2887
  "workspace": {
2749
2888
  "char": "w",
2750
2889
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2757,7 +2896,7 @@
2757
2896
  },
2758
2897
  "hasDynamicHelp": false,
2759
2898
  "hiddenAliases": [],
2760
- "id": "tenant:create",
2899
+ "id": "release:edit",
2761
2900
  "pluginAlias": "@xano/cli",
2762
2901
  "pluginName": "@xano/cli",
2763
2902
  "pluginType": "core",
@@ -2767,24 +2906,18 @@
2767
2906
  "relativePath": [
2768
2907
  "dist",
2769
2908
  "commands",
2770
- "tenant",
2771
- "create",
2909
+ "release",
2910
+ "edit",
2772
2911
  "index.js"
2773
2912
  ]
2774
2913
  },
2775
- "tenant:deploy_platform": {
2914
+ "release:import": {
2776
2915
  "aliases": [],
2777
- "args": {
2778
- "tenant_name": {
2779
- "description": "Tenant name to deploy to",
2780
- "name": "tenant_name",
2781
- "required": true
2782
- }
2783
- },
2784
- "description": "Deploy a platform version to a tenant",
2916
+ "args": {},
2917
+ "description": "Import a release file into a workspace",
2785
2918
  "examples": [
2786
- "$ xano tenant deploy-platform t1234-abcd-xyz1 --platform-id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
2787
- "$ xano tenant deploy-platform t1234-abcd-xyz1 --platform-id 5 -o json"
2919
+ "$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
2920
+ "$ xano release import --file ./my-release.tar.gz -o json"
2788
2921
  ],
2789
2922
  "flags": {
2790
2923
  "profile": {
@@ -2806,6 +2939,15 @@
2806
2939
  "allowNo": false,
2807
2940
  "type": "boolean"
2808
2941
  },
2942
+ "file": {
2943
+ "char": "f",
2944
+ "description": "Path to the release file (.tar.gz)",
2945
+ "name": "file",
2946
+ "required": true,
2947
+ "hasDynamicHelp": false,
2948
+ "multiple": false,
2949
+ "type": "option"
2950
+ },
2809
2951
  "output": {
2810
2952
  "char": "o",
2811
2953
  "description": "Output format",
@@ -2820,14 +2962,6 @@
2820
2962
  ],
2821
2963
  "type": "option"
2822
2964
  },
2823
- "platform-id": {
2824
- "description": "Platform ID to deploy",
2825
- "name": "platform-id",
2826
- "required": true,
2827
- "hasDynamicHelp": false,
2828
- "multiple": false,
2829
- "type": "option"
2830
- },
2831
2965
  "workspace": {
2832
2966
  "char": "w",
2833
2967
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2840,7 +2974,7 @@
2840
2974
  },
2841
2975
  "hasDynamicHelp": false,
2842
2976
  "hiddenAliases": [],
2843
- "id": "tenant:deploy_platform",
2977
+ "id": "release:import",
2844
2978
  "pluginAlias": "@xano/cli",
2845
2979
  "pluginName": "@xano/cli",
2846
2980
  "pluginType": "core",
@@ -2850,24 +2984,18 @@
2850
2984
  "relativePath": [
2851
2985
  "dist",
2852
2986
  "commands",
2853
- "tenant",
2854
- "deploy_platform",
2987
+ "release",
2988
+ "import",
2855
2989
  "index.js"
2856
2990
  ]
2857
2991
  },
2858
- "tenant:edit": {
2992
+ "release:list": {
2859
2993
  "aliases": [],
2860
- "args": {
2861
- "tenant_name": {
2862
- "description": "Tenant name to edit",
2863
- "name": "tenant_name",
2864
- "required": true
2865
- }
2866
- },
2867
- "description": "Edit an existing tenant",
2994
+ "args": {},
2995
+ "description": "List all releases in a workspace",
2868
2996
  "examples": [
2869
- "$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
2870
- "$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
2997
+ "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2998
+ "$ xano release list -w 5 --output json"
2871
2999
  ],
2872
3000
  "flags": {
2873
3001
  "profile": {
@@ -2889,38 +3017,6 @@
2889
3017
  "allowNo": false,
2890
3018
  "type": "boolean"
2891
3019
  },
2892
- "description": {
2893
- "char": "d",
2894
- "description": "New description",
2895
- "name": "description",
2896
- "required": false,
2897
- "hasDynamicHelp": false,
2898
- "multiple": false,
2899
- "type": "option"
2900
- },
2901
- "display": {
2902
- "description": "New display name",
2903
- "name": "display",
2904
- "required": false,
2905
- "hasDynamicHelp": false,
2906
- "multiple": false,
2907
- "type": "option"
2908
- },
2909
- "domain": {
2910
- "description": "Custom domain",
2911
- "name": "domain",
2912
- "required": false,
2913
- "hasDynamicHelp": false,
2914
- "multiple": false,
2915
- "type": "option"
2916
- },
2917
- "ingress": {
2918
- "description": "Enable/disable ingress",
2919
- "name": "ingress",
2920
- "required": false,
2921
- "allowNo": true,
2922
- "type": "boolean"
2923
- },
2924
3020
  "output": {
2925
3021
  "char": "o",
2926
3022
  "description": "Output format",
@@ -2935,28 +3031,6 @@
2935
3031
  ],
2936
3032
  "type": "option"
2937
3033
  },
2938
- "proxy": {
2939
- "description": "Proxy URL",
2940
- "name": "proxy",
2941
- "required": false,
2942
- "hasDynamicHelp": false,
2943
- "multiple": false,
2944
- "type": "option"
2945
- },
2946
- "rbac": {
2947
- "description": "Enable/disable RBAC",
2948
- "name": "rbac",
2949
- "required": false,
2950
- "allowNo": true,
2951
- "type": "boolean"
2952
- },
2953
- "tasks": {
2954
- "description": "Enable/disable background tasks",
2955
- "name": "tasks",
2956
- "required": false,
2957
- "allowNo": true,
2958
- "type": "boolean"
2959
- },
2960
3034
  "workspace": {
2961
3035
  "char": "w",
2962
3036
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2969,7 +3043,7 @@
2969
3043
  },
2970
3044
  "hasDynamicHelp": false,
2971
3045
  "hiddenAliases": [],
2972
- "id": "tenant:edit",
3046
+ "id": "release:list",
2973
3047
  "pluginAlias": "@xano/cli",
2974
3048
  "pluginName": "@xano/cli",
2975
3049
  "pluginType": "core",
@@ -2979,24 +3053,24 @@
2979
3053
  "relativePath": [
2980
3054
  "dist",
2981
3055
  "commands",
2982
- "tenant",
2983
- "edit",
3056
+ "release",
3057
+ "list",
2984
3058
  "index.js"
2985
3059
  ]
2986
3060
  },
2987
- "tenant:get": {
3061
+ "release:get": {
2988
3062
  "aliases": [],
2989
3063
  "args": {
2990
- "tenant_name": {
2991
- "description": "Tenant name to retrieve",
2992
- "name": "tenant_name",
3064
+ "release_id": {
3065
+ "description": "Release ID to retrieve",
3066
+ "name": "release_id",
2993
3067
  "required": true
2994
3068
  }
2995
3069
  },
2996
- "description": "Get details of a specific tenant",
3070
+ "description": "Get details of a specific release",
2997
3071
  "examples": [
2998
- "$ 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",
2999
- "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3072
+ "$ xano release get 10\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
3073
+ "$ xano release get 10 -w 5 -o json"
3000
3074
  ],
3001
3075
  "flags": {
3002
3076
  "profile": {
@@ -3044,7 +3118,7 @@
3044
3118
  },
3045
3119
  "hasDynamicHelp": false,
3046
3120
  "hiddenAliases": [],
3047
- "id": "tenant:get",
3121
+ "id": "release:get",
3048
3122
  "pluginAlias": "@xano/cli",
3049
3123
  "pluginName": "@xano/cli",
3050
3124
  "pluginType": "core",
@@ -3054,18 +3128,25 @@
3054
3128
  "relativePath": [
3055
3129
  "dist",
3056
3130
  "commands",
3057
- "tenant",
3131
+ "release",
3058
3132
  "get",
3059
3133
  "index.js"
3060
3134
  ]
3061
3135
  },
3062
- "tenant:list": {
3136
+ "release:export": {
3063
3137
  "aliases": [],
3064
- "args": {},
3065
- "description": "List all tenants in a workspace",
3138
+ "args": {
3139
+ "release_id": {
3140
+ "description": "Release ID to export",
3141
+ "name": "release_id",
3142
+ "required": true
3143
+ }
3144
+ },
3145
+ "description": "Export (download) a release to a local file",
3066
3146
  "examples": [
3067
- "$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
3068
- "$ xano tenant list -w 5 --output json"
3147
+ "$ xano release export 10\nDownloaded release #10 to ./release-10.tar.gz\n",
3148
+ "$ xano release export 10 --output ./backups/my-release.tar.gz",
3149
+ "$ xano release export 10 -o json"
3069
3150
  ],
3070
3151
  "flags": {
3071
3152
  "profile": {
@@ -3087,10 +3168,10 @@
3087
3168
  "allowNo": false,
3088
3169
  "type": "boolean"
3089
3170
  },
3090
- "output": {
3171
+ "format": {
3091
3172
  "char": "o",
3092
3173
  "description": "Output format",
3093
- "name": "output",
3174
+ "name": "format",
3094
3175
  "required": false,
3095
3176
  "default": "summary",
3096
3177
  "hasDynamicHelp": false,
@@ -3101,10 +3182,18 @@
3101
3182
  ],
3102
3183
  "type": "option"
3103
3184
  },
3104
- "workspace": {
3105
- "char": "w",
3106
- "description": "Workspace ID (uses profile workspace if not provided)",
3107
- "name": "workspace",
3185
+ "output": {
3186
+ "description": "Output file path (defaults to ./release-{id}.tar.gz)",
3187
+ "name": "output",
3188
+ "required": false,
3189
+ "hasDynamicHelp": false,
3190
+ "multiple": false,
3191
+ "type": "option"
3192
+ },
3193
+ "workspace": {
3194
+ "char": "w",
3195
+ "description": "Workspace ID (uses profile workspace if not provided)",
3196
+ "name": "workspace",
3108
3197
  "required": false,
3109
3198
  "hasDynamicHelp": false,
3110
3199
  "multiple": false,
@@ -3113,7 +3202,7 @@
3113
3202
  },
3114
3203
  "hasDynamicHelp": false,
3115
3204
  "hiddenAliases": [],
3116
- "id": "tenant:list",
3205
+ "id": "release:export",
3117
3206
  "pluginAlias": "@xano/cli",
3118
3207
  "pluginName": "@xano/cli",
3119
3208
  "pluginType": "core",
@@ -3123,20 +3212,19 @@
3123
3212
  "relativePath": [
3124
3213
  "dist",
3125
3214
  "commands",
3126
- "tenant",
3127
- "list",
3215
+ "release",
3216
+ "export",
3128
3217
  "index.js"
3129
3218
  ]
3130
3219
  },
3131
- "static_host:list": {
3220
+ "unit_test:list": {
3132
3221
  "aliases": [],
3133
3222
  "args": {},
3134
- "description": "List all static hosts in a workspace from the Xano Metadata API",
3223
+ "description": "List all unit tests in a workspace",
3135
3224
  "examples": [
3136
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3137
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3138
- "$ 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",
3139
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
3225
+ "$ 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",
3226
+ "$ xano unit-test list -w 5 --output json",
3227
+ "$ xano unit-test list --obj-type function"
3140
3228
  ],
3141
3229
  "flags": {
3142
3230
  "profile": {
@@ -3158,6 +3246,28 @@
3158
3246
  "allowNo": false,
3159
3247
  "type": "boolean"
3160
3248
  },
3249
+ "branch": {
3250
+ "char": "b",
3251
+ "description": "Filter by branch name",
3252
+ "name": "branch",
3253
+ "required": false,
3254
+ "hasDynamicHelp": false,
3255
+ "multiple": false,
3256
+ "type": "option"
3257
+ },
3258
+ "obj-type": {
3259
+ "description": "Filter by object type",
3260
+ "name": "obj-type",
3261
+ "required": false,
3262
+ "hasDynamicHelp": false,
3263
+ "multiple": false,
3264
+ "options": [
3265
+ "function",
3266
+ "query",
3267
+ "middleware"
3268
+ ],
3269
+ "type": "option"
3270
+ },
3161
3271
  "output": {
3162
3272
  "char": "o",
3163
3273
  "description": "Output format",
@@ -3172,27 +3282,84 @@
3172
3282
  ],
3173
3283
  "type": "option"
3174
3284
  },
3175
- "page": {
3176
- "description": "Page number for pagination",
3177
- "name": "page",
3285
+ "workspace": {
3286
+ "char": "w",
3287
+ "description": "Workspace ID (uses profile workspace if not provided)",
3288
+ "name": "workspace",
3289
+ "required": false,
3290
+ "hasDynamicHelp": false,
3291
+ "multiple": false,
3292
+ "type": "option"
3293
+ }
3294
+ },
3295
+ "hasDynamicHelp": false,
3296
+ "hiddenAliases": [],
3297
+ "id": "unit_test:list",
3298
+ "pluginAlias": "@xano/cli",
3299
+ "pluginName": "@xano/cli",
3300
+ "pluginType": "core",
3301
+ "strict": true,
3302
+ "enableJsonFlag": false,
3303
+ "isESM": true,
3304
+ "relativePath": [
3305
+ "dist",
3306
+ "commands",
3307
+ "unit_test",
3308
+ "list",
3309
+ "index.js"
3310
+ ]
3311
+ },
3312
+ "unit_test:run": {
3313
+ "aliases": [],
3314
+ "args": {
3315
+ "unit_test_id": {
3316
+ "description": "ID of the unit test to run",
3317
+ "name": "unit_test_id",
3318
+ "required": true
3319
+ }
3320
+ },
3321
+ "description": "Run a unit test",
3322
+ "examples": [
3323
+ "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
3324
+ "$ xano unit-test run abc-123 -o json"
3325
+ ],
3326
+ "flags": {
3327
+ "profile": {
3328
+ "char": "p",
3329
+ "description": "Profile to use (uses default profile if not specified)",
3330
+ "env": "XANO_PROFILE",
3331
+ "name": "profile",
3178
3332
  "required": false,
3179
- "default": 1,
3180
3333
  "hasDynamicHelp": false,
3181
3334
  "multiple": false,
3182
3335
  "type": "option"
3183
3336
  },
3184
- "per_page": {
3185
- "description": "Number of results per page",
3186
- "name": "per_page",
3337
+ "verbose": {
3338
+ "char": "v",
3339
+ "description": "Show detailed request/response information",
3340
+ "env": "XANO_VERBOSE",
3341
+ "name": "verbose",
3187
3342
  "required": false,
3188
- "default": 50,
3343
+ "allowNo": false,
3344
+ "type": "boolean"
3345
+ },
3346
+ "output": {
3347
+ "char": "o",
3348
+ "description": "Output format",
3349
+ "name": "output",
3350
+ "required": false,
3351
+ "default": "summary",
3189
3352
  "hasDynamicHelp": false,
3190
3353
  "multiple": false,
3354
+ "options": [
3355
+ "summary",
3356
+ "json"
3357
+ ],
3191
3358
  "type": "option"
3192
3359
  },
3193
3360
  "workspace": {
3194
3361
  "char": "w",
3195
- "description": "Workspace ID (optional if set in profile)",
3362
+ "description": "Workspace ID (uses profile workspace if not provided)",
3196
3363
  "name": "workspace",
3197
3364
  "required": false,
3198
3365
  "hasDynamicHelp": false,
@@ -3202,7 +3369,7 @@
3202
3369
  },
3203
3370
  "hasDynamicHelp": false,
3204
3371
  "hiddenAliases": [],
3205
- "id": "static_host:list",
3372
+ "id": "unit_test:run",
3206
3373
  "pluginAlias": "@xano/cli",
3207
3374
  "pluginName": "@xano/cli",
3208
3375
  "pluginType": "core",
@@ -3212,24 +3379,18 @@
3212
3379
  "relativePath": [
3213
3380
  "dist",
3214
3381
  "commands",
3215
- "static_host",
3216
- "list",
3382
+ "unit_test",
3383
+ "run",
3217
3384
  "index.js"
3218
3385
  ]
3219
3386
  },
3220
- "workflow_test:delete": {
3387
+ "unit_test:run_all": {
3221
3388
  "aliases": [],
3222
- "args": {
3223
- "workflow_test_id": {
3224
- "description": "ID of the workflow test to delete",
3225
- "name": "workflow_test_id",
3226
- "required": true
3227
- }
3228
- },
3229
- "description": "Delete a workflow test",
3389
+ "args": {},
3390
+ "description": "Run all unit tests in a workspace",
3230
3391
  "examples": [
3231
- "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
3232
- "$ xano workflow-test delete 1 --force"
3392
+ "$ 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",
3393
+ "$ xano unit-test run-all --obj-type function -o json"
3233
3394
  ],
3234
3395
  "flags": {
3235
3396
  "profile": {
@@ -3251,13 +3412,27 @@
3251
3412
  "allowNo": false,
3252
3413
  "type": "boolean"
3253
3414
  },
3254
- "force": {
3255
- "char": "f",
3256
- "description": "Skip confirmation prompt",
3257
- "name": "force",
3415
+ "branch": {
3416
+ "char": "b",
3417
+ "description": "Filter by branch name",
3418
+ "name": "branch",
3258
3419
  "required": false,
3259
- "allowNo": false,
3260
- "type": "boolean"
3420
+ "hasDynamicHelp": false,
3421
+ "multiple": false,
3422
+ "type": "option"
3423
+ },
3424
+ "obj-type": {
3425
+ "description": "Filter by object type",
3426
+ "name": "obj-type",
3427
+ "required": false,
3428
+ "hasDynamicHelp": false,
3429
+ "multiple": false,
3430
+ "options": [
3431
+ "function",
3432
+ "query",
3433
+ "middleware"
3434
+ ],
3435
+ "type": "option"
3261
3436
  },
3262
3437
  "output": {
3263
3438
  "char": "o",
@@ -3285,7 +3460,7 @@
3285
3460
  },
3286
3461
  "hasDynamicHelp": false,
3287
3462
  "hiddenAliases": [],
3288
- "id": "workflow_test:delete",
3463
+ "id": "unit_test:run_all",
3289
3464
  "pluginAlias": "@xano/cli",
3290
3465
  "pluginName": "@xano/cli",
3291
3466
  "pluginType": "core",
@@ -3295,8 +3470,8 @@
3295
3470
  "relativePath": [
3296
3471
  "dist",
3297
3472
  "commands",
3298
- "workflow_test",
3299
- "delete",
3473
+ "unit_test",
3474
+ "run_all",
3300
3475
  "index.js"
3301
3476
  ]
3302
3477
  },
@@ -3538,20 +3713,13 @@
3538
3713
  "index.js"
3539
3714
  ]
3540
3715
  },
3541
- "workspace:create": {
3716
+ "workflow_test:run_all": {
3542
3717
  "aliases": [],
3543
- "args": {
3544
- "name": {
3545
- "description": "Name of the workspace",
3546
- "name": "name",
3547
- "required": true
3548
- }
3549
- },
3550
- "description": "Create a new workspace via the Xano Metadata API",
3718
+ "args": {},
3719
+ "description": "Run all workflow tests in a workspace",
3551
3720
  "examples": [
3552
- "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
3553
- "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
3554
- "$ 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"
3721
+ "$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
3722
+ "$ xano workflow-test run-all --branch main -o json"
3555
3723
  ],
3556
3724
  "flags": {
3557
3725
  "profile": {
@@ -3573,10 +3741,10 @@
3573
3741
  "allowNo": false,
3574
3742
  "type": "boolean"
3575
3743
  },
3576
- "description": {
3577
- "char": "d",
3578
- "description": "Description for the workspace",
3579
- "name": "description",
3744
+ "branch": {
3745
+ "char": "b",
3746
+ "description": "Filter by branch name",
3747
+ "name": "branch",
3580
3748
  "required": false,
3581
3749
  "hasDynamicHelp": false,
3582
3750
  "multiple": false,
@@ -3595,11 +3763,20 @@
3595
3763
  "json"
3596
3764
  ],
3597
3765
  "type": "option"
3766
+ },
3767
+ "workspace": {
3768
+ "char": "w",
3769
+ "description": "Workspace ID (uses profile workspace if not provided)",
3770
+ "name": "workspace",
3771
+ "required": false,
3772
+ "hasDynamicHelp": false,
3773
+ "multiple": false,
3774
+ "type": "option"
3598
3775
  }
3599
3776
  },
3600
3777
  "hasDynamicHelp": false,
3601
3778
  "hiddenAliases": [],
3602
- "id": "workspace:create",
3779
+ "id": "workflow_test:run_all",
3603
3780
  "pluginAlias": "@xano/cli",
3604
3781
  "pluginName": "@xano/cli",
3605
3782
  "pluginType": "core",
@@ -3609,18 +3786,25 @@
3609
3786
  "relativePath": [
3610
3787
  "dist",
3611
3788
  "commands",
3612
- "workspace",
3613
- "create",
3789
+ "workflow_test",
3790
+ "run_all",
3614
3791
  "index.js"
3615
3792
  ]
3616
3793
  },
3617
- "workflow_test:run_all": {
3794
+ "workspace:create": {
3618
3795
  "aliases": [],
3619
- "args": {},
3620
- "description": "Run all workflow tests in a workspace",
3796
+ "args": {
3797
+ "name": {
3798
+ "description": "Name of the workspace",
3799
+ "name": "name",
3800
+ "required": true
3801
+ }
3802
+ },
3803
+ "description": "Create a new workspace via the Xano Metadata API",
3621
3804
  "examples": [
3622
- "$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
3623
- "$ xano workflow-test run-all --branch main -o json"
3805
+ "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
3806
+ "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
3807
+ "$ 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"
3624
3808
  ],
3625
3809
  "flags": {
3626
3810
  "profile": {
@@ -3642,10 +3826,10 @@
3642
3826
  "allowNo": false,
3643
3827
  "type": "boolean"
3644
3828
  },
3645
- "branch": {
3646
- "char": "b",
3647
- "description": "Filter by branch name",
3648
- "name": "branch",
3829
+ "description": {
3830
+ "char": "d",
3831
+ "description": "Description for the workspace",
3832
+ "name": "description",
3649
3833
  "required": false,
3650
3834
  "hasDynamicHelp": false,
3651
3835
  "multiple": false,
@@ -3664,20 +3848,11 @@
3664
3848
  "json"
3665
3849
  ],
3666
3850
  "type": "option"
3667
- },
3668
- "workspace": {
3669
- "char": "w",
3670
- "description": "Workspace ID (uses profile workspace if not provided)",
3671
- "name": "workspace",
3672
- "required": false,
3673
- "hasDynamicHelp": false,
3674
- "multiple": false,
3675
- "type": "option"
3676
3851
  }
3677
3852
  },
3678
3853
  "hasDynamicHelp": false,
3679
3854
  "hiddenAliases": [],
3680
- "id": "workflow_test:run_all",
3855
+ "id": "workspace:create",
3681
3856
  "pluginAlias": "@xano/cli",
3682
3857
  "pluginName": "@xano/cli",
3683
3858
  "pluginType": "core",
@@ -3687,25 +3862,24 @@
3687
3862
  "relativePath": [
3688
3863
  "dist",
3689
3864
  "commands",
3690
- "workflow_test",
3691
- "run_all",
3692
- "index.js"
3865
+ "workspace",
3866
+ "create",
3867
+ "index.js"
3693
3868
  ]
3694
3869
  },
3695
- "workspace:delete": {
3870
+ "workflow_test:delete": {
3696
3871
  "aliases": [],
3697
3872
  "args": {
3698
- "workspace_id": {
3699
- "description": "Workspace ID to delete",
3700
- "name": "workspace_id",
3873
+ "workflow_test_id": {
3874
+ "description": "ID of the workflow test to delete",
3875
+ "name": "workflow_test_id",
3701
3876
  "required": true
3702
3877
  }
3703
3878
  },
3704
- "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
3879
+ "description": "Delete a workflow test",
3705
3880
  "examples": [
3706
- "$ 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",
3707
- "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
3708
- "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
3881
+ "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
3882
+ "$ xano workflow-test delete 1 --force"
3709
3883
  ],
3710
3884
  "flags": {
3711
3885
  "profile": {
@@ -3748,11 +3922,20 @@
3748
3922
  "json"
3749
3923
  ],
3750
3924
  "type": "option"
3925
+ },
3926
+ "workspace": {
3927
+ "char": "w",
3928
+ "description": "Workspace ID (uses profile workspace if not provided)",
3929
+ "name": "workspace",
3930
+ "required": false,
3931
+ "hasDynamicHelp": false,
3932
+ "multiple": false,
3933
+ "type": "option"
3751
3934
  }
3752
3935
  },
3753
3936
  "hasDynamicHelp": false,
3754
3937
  "hiddenAliases": [],
3755
- "id": "workspace:delete",
3938
+ "id": "workflow_test:delete",
3756
3939
  "pluginAlias": "@xano/cli",
3757
3940
  "pluginName": "@xano/cli",
3758
3941
  "pluginType": "core",
@@ -3762,26 +3945,25 @@
3762
3945
  "relativePath": [
3763
3946
  "dist",
3764
3947
  "commands",
3765
- "workspace",
3948
+ "workflow_test",
3766
3949
  "delete",
3767
3950
  "index.js"
3768
3951
  ]
3769
3952
  },
3770
- "workspace:edit": {
3953
+ "workspace:delete": {
3771
3954
  "aliases": [],
3772
3955
  "args": {
3773
3956
  "workspace_id": {
3774
- "description": "Workspace ID to edit (uses profile workspace if not provided)",
3957
+ "description": "Workspace ID to delete",
3775
3958
  "name": "workspace_id",
3776
- "required": false
3959
+ "required": true
3777
3960
  }
3778
3961
  },
3779
- "description": "Edit an existing workspace via the Xano Metadata API",
3962
+ "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
3780
3963
  "examples": [
3781
- "$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
3782
- "$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
3783
- "$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
3784
- "$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
3964
+ "$ 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",
3965
+ "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
3966
+ "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
3785
3967
  ],
3786
3968
  "flags": {
3787
3969
  "profile": {
@@ -3803,23 +3985,13 @@
3803
3985
  "allowNo": false,
3804
3986
  "type": "boolean"
3805
3987
  },
3806
- "description": {
3807
- "char": "d",
3808
- "description": "New description for the workspace",
3809
- "name": "description",
3810
- "required": false,
3811
- "hasDynamicHelp": false,
3812
- "multiple": false,
3813
- "type": "option"
3814
- },
3815
- "name": {
3816
- "char": "n",
3817
- "description": "New name for the workspace",
3818
- "name": "name",
3988
+ "force": {
3989
+ "char": "f",
3990
+ "description": "Skip confirmation prompt",
3991
+ "name": "force",
3819
3992
  "required": false,
3820
- "hasDynamicHelp": false,
3821
- "multiple": false,
3822
- "type": "option"
3993
+ "allowNo": false,
3994
+ "type": "boolean"
3823
3995
  },
3824
3996
  "output": {
3825
3997
  "char": "o",
@@ -3834,25 +4006,11 @@
3834
4006
  "json"
3835
4007
  ],
3836
4008
  "type": "option"
3837
- },
3838
- "require-token": {
3839
- "description": "Whether to require a token for documentation access",
3840
- "name": "require-token",
3841
- "required": false,
3842
- "allowNo": true,
3843
- "type": "boolean"
3844
- },
3845
- "swagger": {
3846
- "description": "Enable or disable swagger documentation",
3847
- "name": "swagger",
3848
- "required": false,
3849
- "allowNo": true,
3850
- "type": "boolean"
3851
4009
  }
3852
4010
  },
3853
4011
  "hasDynamicHelp": false,
3854
4012
  "hiddenAliases": [],
3855
- "id": "workspace:edit",
4013
+ "id": "workspace:delete",
3856
4014
  "pluginAlias": "@xano/cli",
3857
4015
  "pluginName": "@xano/cli",
3858
4016
  "pluginType": "core",
@@ -3863,24 +4021,25 @@
3863
4021
  "dist",
3864
4022
  "commands",
3865
4023
  "workspace",
3866
- "edit",
4024
+ "delete",
3867
4025
  "index.js"
3868
4026
  ]
3869
4027
  },
3870
- "workspace:get": {
4028
+ "workspace:edit": {
3871
4029
  "aliases": [],
3872
4030
  "args": {
3873
4031
  "workspace_id": {
3874
- "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4032
+ "description": "Workspace ID to edit (uses profile workspace if not provided)",
3875
4033
  "name": "workspace_id",
3876
4034
  "required": false
3877
4035
  }
3878
4036
  },
3879
- "description": "Get details of a specific workspace from the Xano Metadata API",
4037
+ "description": "Edit an existing workspace via the Xano Metadata API",
3880
4038
  "examples": [
3881
- "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
3882
- "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
3883
- "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4039
+ "$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
4040
+ "$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
4041
+ "$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
4042
+ "$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
3884
4043
  ],
3885
4044
  "flags": {
3886
4045
  "profile": {
@@ -3902,6 +4061,24 @@
3902
4061
  "allowNo": false,
3903
4062
  "type": "boolean"
3904
4063
  },
4064
+ "description": {
4065
+ "char": "d",
4066
+ "description": "New description for the workspace",
4067
+ "name": "description",
4068
+ "required": false,
4069
+ "hasDynamicHelp": false,
4070
+ "multiple": false,
4071
+ "type": "option"
4072
+ },
4073
+ "name": {
4074
+ "char": "n",
4075
+ "description": "New name for the workspace",
4076
+ "name": "name",
4077
+ "required": false,
4078
+ "hasDynamicHelp": false,
4079
+ "multiple": false,
4080
+ "type": "option"
4081
+ },
3905
4082
  "output": {
3906
4083
  "char": "o",
3907
4084
  "description": "Output format",
@@ -3915,11 +4092,25 @@
3915
4092
  "json"
3916
4093
  ],
3917
4094
  "type": "option"
4095
+ },
4096
+ "require-token": {
4097
+ "description": "Whether to require a token for documentation access",
4098
+ "name": "require-token",
4099
+ "required": false,
4100
+ "allowNo": true,
4101
+ "type": "boolean"
4102
+ },
4103
+ "swagger": {
4104
+ "description": "Enable or disable swagger documentation",
4105
+ "name": "swagger",
4106
+ "required": false,
4107
+ "allowNo": true,
4108
+ "type": "boolean"
3918
4109
  }
3919
4110
  },
3920
4111
  "hasDynamicHelp": false,
3921
4112
  "hiddenAliases": [],
3922
- "id": "workspace:get",
4113
+ "id": "workspace:edit",
3923
4114
  "pluginAlias": "@xano/cli",
3924
4115
  "pluginName": "@xano/cli",
3925
4116
  "pluginType": "core",
@@ -3930,7 +4121,7 @@
3930
4121
  "dist",
3931
4122
  "commands",
3932
4123
  "workspace",
3933
- "get",
4124
+ "edit",
3934
4125
  "index.js"
3935
4126
  ]
3936
4127
  },
@@ -4090,26 +4281,20 @@
4090
4281
  "index.js"
4091
4282
  ]
4092
4283
  },
4093
- "workspace:push": {
4284
+ "workspace:get": {
4094
4285
  "aliases": [],
4095
4286
  "args": {
4096
- "directory": {
4097
- "description": "Directory containing documents to push (as produced by workspace pull)",
4098
- "name": "directory",
4099
- "required": true
4287
+ "workspace_id": {
4288
+ "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4289
+ "name": "workspace_id",
4290
+ "required": false
4100
4291
  }
4101
4292
  },
4102
- "description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
4293
+ "description": "Get details of a specific workspace from the Xano Metadata API",
4103
4294
  "examples": [
4104
- "$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
4105
- "$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
4106
- "$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
4107
- "$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
4108
- "$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
4109
- "$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
4110
- "$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
4111
- "$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
4112
- "$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
4295
+ "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
4296
+ "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
4297
+ "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4113
4298
  ],
4114
4299
  "flags": {
4115
4300
  "profile": {
@@ -4131,49 +4316,24 @@
4131
4316
  "allowNo": false,
4132
4317
  "type": "boolean"
4133
4318
  },
4134
- "branch": {
4135
- "char": "b",
4136
- "description": "Branch name (optional if set in profile, defaults to live)",
4137
- "name": "branch",
4138
- "required": false,
4139
- "hasDynamicHelp": false,
4140
- "multiple": false,
4141
- "type": "option"
4142
- },
4143
- "env": {
4144
- "description": "Include environment variables in import (default: true, use --no-env to exclude)",
4145
- "name": "env",
4146
- "required": false,
4147
- "allowNo": true,
4148
- "type": "boolean"
4149
- },
4150
- "records": {
4151
- "description": "Include records in import (default: true, use --no-records to exclude)",
4152
- "name": "records",
4153
- "required": false,
4154
- "allowNo": true,
4155
- "type": "boolean"
4156
- },
4157
- "truncate": {
4158
- "description": "Truncate all table records before importing",
4159
- "name": "truncate",
4160
- "required": false,
4161
- "allowNo": false,
4162
- "type": "boolean"
4163
- },
4164
- "workspace": {
4165
- "char": "w",
4166
- "description": "Workspace ID (optional if set in profile)",
4167
- "name": "workspace",
4319
+ "output": {
4320
+ "char": "o",
4321
+ "description": "Output format",
4322
+ "name": "output",
4168
4323
  "required": false,
4324
+ "default": "summary",
4169
4325
  "hasDynamicHelp": false,
4170
4326
  "multiple": false,
4327
+ "options": [
4328
+ "summary",
4329
+ "json"
4330
+ ],
4171
4331
  "type": "option"
4172
4332
  }
4173
4333
  },
4174
4334
  "hasDynamicHelp": false,
4175
4335
  "hiddenAliases": [],
4176
- "id": "workspace:push",
4336
+ "id": "workspace:get",
4177
4337
  "pluginAlias": "@xano/cli",
4178
4338
  "pluginName": "@xano/cli",
4179
4339
  "pluginType": "core",
@@ -4184,18 +4344,23 @@
4184
4344
  "dist",
4185
4345
  "commands",
4186
4346
  "workspace",
4187
- "push",
4347
+ "get",
4188
4348
  "index.js"
4189
4349
  ]
4190
4350
  },
4191
- "unit_test:list": {
4351
+ "run:env:get": {
4192
4352
  "aliases": [],
4193
- "args": {},
4194
- "description": "List all unit tests in a workspace",
4353
+ "args": {
4354
+ "name": {
4355
+ "description": "Environment variable name",
4356
+ "name": "name",
4357
+ "required": true
4358
+ }
4359
+ },
4360
+ "description": "Get an environment variable value",
4195
4361
  "examples": [
4196
- "$ 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",
4197
- "$ xano unit-test list -w 5 --output json",
4198
- "$ xano unit-test list --obj-type function"
4362
+ "$ xano run env get API_KEY\nmy-secret-api-key\n",
4363
+ "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
4199
4364
  ],
4200
4365
  "flags": {
4201
4366
  "profile": {
@@ -4217,82 +4382,45 @@
4217
4382
  "allowNo": false,
4218
4383
  "type": "boolean"
4219
4384
  },
4220
- "branch": {
4221
- "char": "b",
4222
- "description": "Filter by branch name",
4223
- "name": "branch",
4224
- "required": false,
4225
- "hasDynamicHelp": false,
4226
- "multiple": false,
4227
- "type": "option"
4228
- },
4229
- "obj-type": {
4230
- "description": "Filter by object type",
4231
- "name": "obj-type",
4232
- "required": false,
4233
- "hasDynamicHelp": false,
4234
- "multiple": false,
4235
- "options": [
4236
- "function",
4237
- "query",
4238
- "middleware"
4239
- ],
4240
- "type": "option"
4241
- },
4242
4385
  "output": {
4243
4386
  "char": "o",
4244
4387
  "description": "Output format",
4245
4388
  "name": "output",
4246
4389
  "required": false,
4247
- "default": "summary",
4390
+ "default": "value",
4248
4391
  "hasDynamicHelp": false,
4249
4392
  "multiple": false,
4250
4393
  "options": [
4251
- "summary",
4394
+ "value",
4252
4395
  "json"
4253
4396
  ],
4254
4397
  "type": "option"
4255
- },
4256
- "workspace": {
4257
- "char": "w",
4258
- "description": "Workspace ID (uses profile workspace if not provided)",
4259
- "name": "workspace",
4260
- "required": false,
4261
- "hasDynamicHelp": false,
4262
- "multiple": false,
4263
- "type": "option"
4264
4398
  }
4265
4399
  },
4266
4400
  "hasDynamicHelp": false,
4267
4401
  "hiddenAliases": [],
4268
- "id": "unit_test:list",
4402
+ "id": "run:env:get",
4269
4403
  "pluginAlias": "@xano/cli",
4270
4404
  "pluginName": "@xano/cli",
4271
4405
  "pluginType": "core",
4272
4406
  "strict": true,
4273
- "enableJsonFlag": false,
4274
4407
  "isESM": true,
4275
4408
  "relativePath": [
4276
4409
  "dist",
4277
4410
  "commands",
4278
- "unit_test",
4279
- "list",
4411
+ "run",
4412
+ "env",
4413
+ "get",
4280
4414
  "index.js"
4281
4415
  ]
4282
4416
  },
4283
- "unit_test:run": {
4417
+ "run:env:list": {
4284
4418
  "aliases": [],
4285
- "args": {
4286
- "unit_test_id": {
4287
- "description": "ID of the unit test to run",
4288
- "name": "unit_test_id",
4289
- "required": true
4290
- }
4291
- },
4292
- "description": "Run a unit test",
4419
+ "args": {},
4420
+ "description": "List all environment variable keys",
4293
4421
  "examples": [
4294
- "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
4295
- "$ xano unit-test run abc-123 -o json"
4422
+ "$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
4423
+ "$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
4296
4424
  ],
4297
4425
  "flags": {
4298
4426
  "profile": {
@@ -4319,49 +4447,53 @@
4319
4447
  "description": "Output format",
4320
4448
  "name": "output",
4321
4449
  "required": false,
4322
- "default": "summary",
4450
+ "default": "list",
4323
4451
  "hasDynamicHelp": false,
4324
4452
  "multiple": false,
4325
4453
  "options": [
4326
- "summary",
4454
+ "list",
4327
4455
  "json"
4328
4456
  ],
4329
4457
  "type": "option"
4330
- },
4331
- "workspace": {
4332
- "char": "w",
4333
- "description": "Workspace ID (uses profile workspace if not provided)",
4334
- "name": "workspace",
4335
- "required": false,
4336
- "hasDynamicHelp": false,
4337
- "multiple": false,
4338
- "type": "option"
4339
4458
  }
4340
4459
  },
4341
4460
  "hasDynamicHelp": false,
4342
4461
  "hiddenAliases": [],
4343
- "id": "unit_test:run",
4462
+ "id": "run:env:list",
4344
4463
  "pluginAlias": "@xano/cli",
4345
4464
  "pluginName": "@xano/cli",
4346
4465
  "pluginType": "core",
4347
4466
  "strict": true,
4348
- "enableJsonFlag": false,
4349
4467
  "isESM": true,
4350
4468
  "relativePath": [
4351
4469
  "dist",
4352
4470
  "commands",
4353
- "unit_test",
4354
4471
  "run",
4472
+ "env",
4473
+ "list",
4355
4474
  "index.js"
4356
4475
  ]
4357
4476
  },
4358
- "unit_test:run_all": {
4477
+ "workspace:push": {
4359
4478
  "aliases": [],
4360
- "args": {},
4361
- "description": "Run all unit tests in a workspace",
4479
+ "args": {
4480
+ "directory": {
4481
+ "description": "Directory containing documents to push (as produced by workspace pull)",
4482
+ "name": "directory",
4483
+ "required": true
4484
+ }
4485
+ },
4486
+ "description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
4362
4487
  "examples": [
4363
- "$ 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",
4364
- "$ xano unit-test run-all --obj-type function -o json"
4488
+ "$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
4489
+ "$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
4490
+ "$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
4491
+ "$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
4492
+ "$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
4493
+ "$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
4494
+ "$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
4495
+ "$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
4496
+ "$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
4365
4497
  ],
4366
4498
  "flags": {
4367
4499
  "profile": {
@@ -4385,43 +4517,37 @@
4385
4517
  },
4386
4518
  "branch": {
4387
4519
  "char": "b",
4388
- "description": "Filter by branch name",
4520
+ "description": "Branch name (optional if set in profile, defaults to live)",
4389
4521
  "name": "branch",
4390
4522
  "required": false,
4391
4523
  "hasDynamicHelp": false,
4392
4524
  "multiple": false,
4393
4525
  "type": "option"
4394
4526
  },
4395
- "obj-type": {
4396
- "description": "Filter by object type",
4397
- "name": "obj-type",
4527
+ "env": {
4528
+ "description": "Include environment variables in import (default: true, use --no-env to exclude)",
4529
+ "name": "env",
4398
4530
  "required": false,
4399
- "hasDynamicHelp": false,
4400
- "multiple": false,
4401
- "options": [
4402
- "function",
4403
- "query",
4404
- "middleware"
4405
- ],
4406
- "type": "option"
4531
+ "allowNo": true,
4532
+ "type": "boolean"
4407
4533
  },
4408
- "output": {
4409
- "char": "o",
4410
- "description": "Output format",
4411
- "name": "output",
4534
+ "records": {
4535
+ "description": "Include records in import (default: true, use --no-records to exclude)",
4536
+ "name": "records",
4412
4537
  "required": false,
4413
- "default": "summary",
4414
- "hasDynamicHelp": false,
4415
- "multiple": false,
4416
- "options": [
4417
- "summary",
4418
- "json"
4419
- ],
4420
- "type": "option"
4538
+ "allowNo": true,
4539
+ "type": "boolean"
4540
+ },
4541
+ "truncate": {
4542
+ "description": "Truncate all table records before importing",
4543
+ "name": "truncate",
4544
+ "required": false,
4545
+ "allowNo": false,
4546
+ "type": "boolean"
4421
4547
  },
4422
4548
  "workspace": {
4423
4549
  "char": "w",
4424
- "description": "Workspace ID (uses profile workspace if not provided)",
4550
+ "description": "Workspace ID (optional if set in profile)",
4425
4551
  "name": "workspace",
4426
4552
  "required": false,
4427
4553
  "hasDynamicHelp": false,
@@ -4431,7 +4557,7 @@
4431
4557
  },
4432
4558
  "hasDynamicHelp": false,
4433
4559
  "hiddenAliases": [],
4434
- "id": "unit_test:run_all",
4560
+ "id": "workspace:push",
4435
4561
  "pluginAlias": "@xano/cli",
4436
4562
  "pluginName": "@xano/cli",
4437
4563
  "pluginType": "core",
@@ -4441,24 +4567,29 @@
4441
4567
  "relativePath": [
4442
4568
  "dist",
4443
4569
  "commands",
4444
- "unit_test",
4445
- "run_all",
4570
+ "workspace",
4571
+ "push",
4446
4572
  "index.js"
4447
4573
  ]
4448
4574
  },
4449
- "run:env:delete": {
4575
+ "run:env:set": {
4450
4576
  "aliases": [],
4451
4577
  "args": {
4452
4578
  "name": {
4453
4579
  "description": "Environment variable name",
4454
4580
  "name": "name",
4455
4581
  "required": true
4582
+ },
4583
+ "value": {
4584
+ "description": "Environment variable value",
4585
+ "name": "value",
4586
+ "required": true
4456
4587
  }
4457
4588
  },
4458
- "description": "Delete an environment variable",
4589
+ "description": "Set an environment variable",
4459
4590
  "examples": [
4460
- "$ xano run env delete API_KEY\nAre you sure you want to delete environment variable 'API_KEY'? (y/N)\nEnvironment variable 'API_KEY' deleted successfully!\n",
4461
- "$ xano run env delete API_KEY --force\nEnvironment variable 'API_KEY' deleted successfully!\n"
4591
+ "$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
4592
+ "$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
4462
4593
  ],
4463
4594
  "flags": {
4464
4595
  "profile": {
@@ -4479,19 +4610,11 @@
4479
4610
  "required": false,
4480
4611
  "allowNo": false,
4481
4612
  "type": "boolean"
4482
- },
4483
- "force": {
4484
- "char": "f",
4485
- "description": "Skip confirmation prompt",
4486
- "name": "force",
4487
- "required": false,
4488
- "allowNo": false,
4489
- "type": "boolean"
4490
4613
  }
4491
4614
  },
4492
4615
  "hasDynamicHelp": false,
4493
4616
  "hiddenAliases": [],
4494
- "id": "run:env:delete",
4617
+ "id": "run:env:set",
4495
4618
  "pluginAlias": "@xano/cli",
4496
4619
  "pluginName": "@xano/cli",
4497
4620
  "pluginType": "core",
@@ -4502,23 +4625,23 @@
4502
4625
  "commands",
4503
4626
  "run",
4504
4627
  "env",
4505
- "delete",
4628
+ "set",
4506
4629
  "index.js"
4507
4630
  ]
4508
4631
  },
4509
- "run:env:get": {
4632
+ "run:projects:delete": {
4510
4633
  "aliases": [],
4511
4634
  "args": {
4512
- "name": {
4513
- "description": "Environment variable name",
4514
- "name": "name",
4635
+ "projectId": {
4636
+ "description": "Project ID to delete",
4637
+ "name": "projectId",
4515
4638
  "required": true
4516
4639
  }
4517
4640
  },
4518
- "description": "Get an environment variable value",
4641
+ "description": "Delete a project",
4519
4642
  "examples": [
4520
- "$ xano run env get API_KEY\nmy-secret-api-key\n",
4521
- "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
4643
+ "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
4644
+ "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
4522
4645
  ],
4523
4646
  "flags": {
4524
4647
  "profile": {
@@ -4540,24 +4663,18 @@
4540
4663
  "allowNo": false,
4541
4664
  "type": "boolean"
4542
4665
  },
4543
- "output": {
4544
- "char": "o",
4545
- "description": "Output format",
4546
- "name": "output",
4666
+ "force": {
4667
+ "char": "f",
4668
+ "description": "Skip confirmation prompt",
4669
+ "name": "force",
4547
4670
  "required": false,
4548
- "default": "value",
4549
- "hasDynamicHelp": false,
4550
- "multiple": false,
4551
- "options": [
4552
- "value",
4553
- "json"
4554
- ],
4555
- "type": "option"
4671
+ "allowNo": false,
4672
+ "type": "boolean"
4556
4673
  }
4557
4674
  },
4558
4675
  "hasDynamicHelp": false,
4559
4676
  "hiddenAliases": [],
4560
- "id": "run:env:get",
4677
+ "id": "run:projects:delete",
4561
4678
  "pluginAlias": "@xano/cli",
4562
4679
  "pluginName": "@xano/cli",
4563
4680
  "pluginType": "core",
@@ -4567,18 +4684,18 @@
4567
4684
  "dist",
4568
4685
  "commands",
4569
4686
  "run",
4570
- "env",
4571
- "get",
4687
+ "projects",
4688
+ "delete",
4572
4689
  "index.js"
4573
4690
  ]
4574
4691
  },
4575
- "run:env:list": {
4692
+ "run:projects:list": {
4576
4693
  "aliases": [],
4577
4694
  "args": {},
4578
- "description": "List all environment variable keys",
4695
+ "description": "List all projects",
4579
4696
  "examples": [
4580
- "$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
4581
- "$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
4697
+ "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
4698
+ "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
4582
4699
  ],
4583
4700
  "flags": {
4584
4701
  "profile": {
@@ -4605,11 +4722,11 @@
4605
4722
  "description": "Output format",
4606
4723
  "name": "output",
4607
4724
  "required": false,
4608
- "default": "list",
4725
+ "default": "table",
4609
4726
  "hasDynamicHelp": false,
4610
4727
  "multiple": false,
4611
4728
  "options": [
4612
- "list",
4729
+ "table",
4613
4730
  "json"
4614
4731
  ],
4615
4732
  "type": "option"
@@ -4617,7 +4734,7 @@
4617
4734
  },
4618
4735
  "hasDynamicHelp": false,
4619
4736
  "hiddenAliases": [],
4620
- "id": "run:env:list",
4737
+ "id": "run:projects:list",
4621
4738
  "pluginAlias": "@xano/cli",
4622
4739
  "pluginName": "@xano/cli",
4623
4740
  "pluginType": "core",
@@ -4627,29 +4744,25 @@
4627
4744
  "dist",
4628
4745
  "commands",
4629
4746
  "run",
4630
- "env",
4747
+ "projects",
4631
4748
  "list",
4632
4749
  "index.js"
4633
4750
  ]
4634
4751
  },
4635
- "run:env:set": {
4752
+ "run:projects:update": {
4636
4753
  "aliases": [],
4637
4754
  "args": {
4638
- "name": {
4639
- "description": "Environment variable name",
4640
- "name": "name",
4641
- "required": true
4642
- },
4643
- "value": {
4644
- "description": "Environment variable value",
4645
- "name": "value",
4755
+ "projectId": {
4756
+ "description": "Project ID to update",
4757
+ "name": "projectId",
4646
4758
  "required": true
4647
4759
  }
4648
4760
  },
4649
- "description": "Set an environment variable",
4761
+ "description": "Update a project",
4650
4762
  "examples": [
4651
- "$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
4652
- "$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
4763
+ "$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
4764
+ "$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
4765
+ "$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
4653
4766
  ],
4654
4767
  "flags": {
4655
4768
  "profile": {
@@ -4670,11 +4783,43 @@
4670
4783
  "required": false,
4671
4784
  "allowNo": false,
4672
4785
  "type": "boolean"
4786
+ },
4787
+ "description": {
4788
+ "char": "d",
4789
+ "description": "New project description",
4790
+ "name": "description",
4791
+ "required": false,
4792
+ "hasDynamicHelp": false,
4793
+ "multiple": false,
4794
+ "type": "option"
4795
+ },
4796
+ "name": {
4797
+ "char": "n",
4798
+ "description": "New project name",
4799
+ "name": "name",
4800
+ "required": false,
4801
+ "hasDynamicHelp": false,
4802
+ "multiple": false,
4803
+ "type": "option"
4804
+ },
4805
+ "output": {
4806
+ "char": "o",
4807
+ "description": "Output format",
4808
+ "name": "output",
4809
+ "required": false,
4810
+ "default": "summary",
4811
+ "hasDynamicHelp": false,
4812
+ "multiple": false,
4813
+ "options": [
4814
+ "summary",
4815
+ "json"
4816
+ ],
4817
+ "type": "option"
4673
4818
  }
4674
4819
  },
4675
4820
  "hasDynamicHelp": false,
4676
4821
  "hiddenAliases": [],
4677
- "id": "run:env:set",
4822
+ "id": "run:projects:update",
4678
4823
  "pluginAlias": "@xano/cli",
4679
4824
  "pluginName": "@xano/cli",
4680
4825
  "pluginType": "core",
@@ -4684,8 +4829,8 @@
4684
4829
  "dist",
4685
4830
  "commands",
4686
4831
  "run",
4687
- "env",
4688
- "set",
4832
+ "projects",
4833
+ "update",
4689
4834
  "index.js"
4690
4835
  ]
4691
4836
  },
@@ -4815,66 +4960,6 @@
4815
4960
  "index.js"
4816
4961
  ]
4817
4962
  },
4818
- "run:secrets:list": {
4819
- "aliases": [],
4820
- "args": {},
4821
- "description": "List all secret keys",
4822
- "examples": [
4823
- "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
4824
- "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
4825
- ],
4826
- "flags": {
4827
- "profile": {
4828
- "char": "p",
4829
- "description": "Profile to use (uses default profile if not specified)",
4830
- "env": "XANO_PROFILE",
4831
- "name": "profile",
4832
- "required": false,
4833
- "hasDynamicHelp": false,
4834
- "multiple": false,
4835
- "type": "option"
4836
- },
4837
- "verbose": {
4838
- "char": "v",
4839
- "description": "Show detailed request/response information",
4840
- "env": "XANO_VERBOSE",
4841
- "name": "verbose",
4842
- "required": false,
4843
- "allowNo": false,
4844
- "type": "boolean"
4845
- },
4846
- "output": {
4847
- "char": "o",
4848
- "description": "Output format",
4849
- "name": "output",
4850
- "required": false,
4851
- "default": "table",
4852
- "hasDynamicHelp": false,
4853
- "multiple": false,
4854
- "options": [
4855
- "table",
4856
- "json"
4857
- ],
4858
- "type": "option"
4859
- }
4860
- },
4861
- "hasDynamicHelp": false,
4862
- "hiddenAliases": [],
4863
- "id": "run:secrets:list",
4864
- "pluginAlias": "@xano/cli",
4865
- "pluginName": "@xano/cli",
4866
- "pluginType": "core",
4867
- "strict": true,
4868
- "isESM": true,
4869
- "relativePath": [
4870
- "dist",
4871
- "commands",
4872
- "run",
4873
- "secrets",
4874
- "list",
4875
- "index.js"
4876
- ]
4877
- },
4878
4963
  "run:secrets:set": {
4879
4964
  "aliases": [],
4880
4965
  "args": {
@@ -4958,14 +5043,13 @@
4958
5043
  "index.js"
4959
5044
  ]
4960
5045
  },
4961
- "run:projects:create": {
5046
+ "run:secrets:list": {
4962
5047
  "aliases": [],
4963
5048
  "args": {},
4964
- "description": "Create a new project",
5049
+ "description": "List all secret keys",
4965
5050
  "examples": [
4966
- "$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
4967
- "$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
4968
- "$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
5051
+ "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
5052
+ "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
4969
5053
  ],
4970
5054
  "flags": {
4971
5055
  "profile": {
@@ -4987,35 +5071,16 @@
4987
5071
  "allowNo": false,
4988
5072
  "type": "boolean"
4989
5073
  },
4990
- "description": {
4991
- "char": "d",
4992
- "description": "Project description",
4993
- "name": "description",
4994
- "required": false,
4995
- "default": "",
4996
- "hasDynamicHelp": false,
4997
- "multiple": false,
4998
- "type": "option"
4999
- },
5000
- "name": {
5001
- "char": "n",
5002
- "description": "Project name",
5003
- "name": "name",
5004
- "required": true,
5005
- "hasDynamicHelp": false,
5006
- "multiple": false,
5007
- "type": "option"
5008
- },
5009
5074
  "output": {
5010
5075
  "char": "o",
5011
5076
  "description": "Output format",
5012
5077
  "name": "output",
5013
5078
  "required": false,
5014
- "default": "summary",
5079
+ "default": "table",
5015
5080
  "hasDynamicHelp": false,
5016
5081
  "multiple": false,
5017
5082
  "options": [
5018
- "summary",
5083
+ "table",
5019
5084
  "json"
5020
5085
  ],
5021
5086
  "type": "option"
@@ -5023,7 +5088,7 @@
5023
5088
  },
5024
5089
  "hasDynamicHelp": false,
5025
5090
  "hiddenAliases": [],
5026
- "id": "run:projects:create",
5091
+ "id": "run:secrets:list",
5027
5092
  "pluginAlias": "@xano/cli",
5028
5093
  "pluginName": "@xano/cli",
5029
5094
  "pluginType": "core",
@@ -5033,78 +5098,24 @@
5033
5098
  "dist",
5034
5099
  "commands",
5035
5100
  "run",
5036
- "projects",
5037
- "create",
5101
+ "secrets",
5102
+ "list",
5038
5103
  "index.js"
5039
5104
  ]
5040
5105
  },
5041
- "run:projects:delete": {
5106
+ "run:sessions:delete": {
5042
5107
  "aliases": [],
5043
5108
  "args": {
5044
- "projectId": {
5045
- "description": "Project ID to delete",
5046
- "name": "projectId",
5109
+ "sessionId": {
5110
+ "description": "Session ID",
5111
+ "name": "sessionId",
5047
5112
  "required": true
5048
5113
  }
5049
5114
  },
5050
- "description": "Delete a project",
5051
- "examples": [
5052
- "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
5053
- "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
5054
- ],
5055
- "flags": {
5056
- "profile": {
5057
- "char": "p",
5058
- "description": "Profile to use (uses default profile if not specified)",
5059
- "env": "XANO_PROFILE",
5060
- "name": "profile",
5061
- "required": false,
5062
- "hasDynamicHelp": false,
5063
- "multiple": false,
5064
- "type": "option"
5065
- },
5066
- "verbose": {
5067
- "char": "v",
5068
- "description": "Show detailed request/response information",
5069
- "env": "XANO_VERBOSE",
5070
- "name": "verbose",
5071
- "required": false,
5072
- "allowNo": false,
5073
- "type": "boolean"
5074
- },
5075
- "force": {
5076
- "char": "f",
5077
- "description": "Skip confirmation prompt",
5078
- "name": "force",
5079
- "required": false,
5080
- "allowNo": false,
5081
- "type": "boolean"
5082
- }
5083
- },
5084
- "hasDynamicHelp": false,
5085
- "hiddenAliases": [],
5086
- "id": "run:projects:delete",
5087
- "pluginAlias": "@xano/cli",
5088
- "pluginName": "@xano/cli",
5089
- "pluginType": "core",
5090
- "strict": true,
5091
- "isESM": true,
5092
- "relativePath": [
5093
- "dist",
5094
- "commands",
5095
- "run",
5096
- "projects",
5097
- "delete",
5098
- "index.js"
5099
- ]
5100
- },
5101
- "run:projects:list": {
5102
- "aliases": [],
5103
- "args": {},
5104
- "description": "List all projects",
5105
- "examples": [
5106
- "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
5107
- "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
5115
+ "description": "Delete a session",
5116
+ "examples": [
5117
+ "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
5118
+ "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
5108
5119
  ],
5109
5120
  "flags": {
5110
5121
  "profile": {
@@ -5126,24 +5137,18 @@
5126
5137
  "allowNo": false,
5127
5138
  "type": "boolean"
5128
5139
  },
5129
- "output": {
5130
- "char": "o",
5131
- "description": "Output format",
5132
- "name": "output",
5140
+ "force": {
5141
+ "char": "f",
5142
+ "description": "Skip confirmation prompt",
5143
+ "name": "force",
5133
5144
  "required": false,
5134
- "default": "table",
5135
- "hasDynamicHelp": false,
5136
- "multiple": false,
5137
- "options": [
5138
- "table",
5139
- "json"
5140
- ],
5141
- "type": "option"
5145
+ "allowNo": false,
5146
+ "type": "boolean"
5142
5147
  }
5143
5148
  },
5144
5149
  "hasDynamicHelp": false,
5145
5150
  "hiddenAliases": [],
5146
- "id": "run:projects:list",
5151
+ "id": "run:sessions:delete",
5147
5152
  "pluginAlias": "@xano/cli",
5148
5153
  "pluginName": "@xano/cli",
5149
5154
  "pluginType": "core",
@@ -5153,25 +5158,24 @@
5153
5158
  "dist",
5154
5159
  "commands",
5155
5160
  "run",
5156
- "projects",
5157
- "list",
5161
+ "sessions",
5162
+ "delete",
5158
5163
  "index.js"
5159
5164
  ]
5160
5165
  },
5161
- "run:projects:update": {
5166
+ "run:env:delete": {
5162
5167
  "aliases": [],
5163
5168
  "args": {
5164
- "projectId": {
5165
- "description": "Project ID to update",
5166
- "name": "projectId",
5169
+ "name": {
5170
+ "description": "Environment variable name",
5171
+ "name": "name",
5167
5172
  "required": true
5168
5173
  }
5169
5174
  },
5170
- "description": "Update a project",
5175
+ "description": "Delete an environment variable",
5171
5176
  "examples": [
5172
- "$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
5173
- "$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
5174
- "$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
5177
+ "$ xano run env delete API_KEY\nAre you sure you want to delete environment variable 'API_KEY'? (y/N)\nEnvironment variable 'API_KEY' deleted successfully!\n",
5178
+ "$ xano run env delete API_KEY --force\nEnvironment variable 'API_KEY' deleted successfully!\n"
5175
5179
  ],
5176
5180
  "flags": {
5177
5181
  "profile": {
@@ -5193,42 +5197,18 @@
5193
5197
  "allowNo": false,
5194
5198
  "type": "boolean"
5195
5199
  },
5196
- "description": {
5197
- "char": "d",
5198
- "description": "New project description",
5199
- "name": "description",
5200
- "required": false,
5201
- "hasDynamicHelp": false,
5202
- "multiple": false,
5203
- "type": "option"
5204
- },
5205
- "name": {
5206
- "char": "n",
5207
- "description": "New project name",
5208
- "name": "name",
5209
- "required": false,
5210
- "hasDynamicHelp": false,
5211
- "multiple": false,
5212
- "type": "option"
5213
- },
5214
- "output": {
5215
- "char": "o",
5216
- "description": "Output format",
5217
- "name": "output",
5200
+ "force": {
5201
+ "char": "f",
5202
+ "description": "Skip confirmation prompt",
5203
+ "name": "force",
5218
5204
  "required": false,
5219
- "default": "summary",
5220
- "hasDynamicHelp": false,
5221
- "multiple": false,
5222
- "options": [
5223
- "summary",
5224
- "json"
5225
- ],
5226
- "type": "option"
5205
+ "allowNo": false,
5206
+ "type": "boolean"
5227
5207
  }
5228
5208
  },
5229
5209
  "hasDynamicHelp": false,
5230
5210
  "hiddenAliases": [],
5231
- "id": "run:projects:update",
5211
+ "id": "run:env:delete",
5232
5212
  "pluginAlias": "@xano/cli",
5233
5213
  "pluginName": "@xano/cli",
5234
5214
  "pluginType": "core",
@@ -5238,24 +5218,18 @@
5238
5218
  "dist",
5239
5219
  "commands",
5240
5220
  "run",
5241
- "projects",
5242
- "update",
5221
+ "env",
5222
+ "delete",
5243
5223
  "index.js"
5244
5224
  ]
5245
5225
  },
5246
- "run:sink:get": {
5226
+ "run:sessions:list": {
5247
5227
  "aliases": [],
5248
- "args": {
5249
- "sessionId": {
5250
- "description": "Session ID",
5251
- "name": "sessionId",
5252
- "required": true
5253
- }
5254
- },
5255
- "description": "Get sink data for a completed session",
5228
+ "args": {},
5229
+ "description": "List all sessions for the project",
5256
5230
  "examples": [
5257
- "$ xano run sink get abc123-def456\nSink Data:\n Tables: 3\n - users (5 rows)\n - orders (12 rows)\n - products (8 rows)\n Logs: 15 entries\n",
5258
- "$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
5231
+ "$ xano run sessions list\nID STATE CREATED\nabc123-def456-ghi789 running 2024-01-15T10:30:00Z\nxyz789-uvw456-rst123 stopped 2024-01-14T09:00:00Z\n",
5232
+ "$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
5259
5233
  ],
5260
5234
  "flags": {
5261
5235
  "profile": {
@@ -5282,11 +5256,11 @@
5282
5256
  "description": "Output format",
5283
5257
  "name": "output",
5284
5258
  "required": false,
5285
- "default": "summary",
5259
+ "default": "table",
5286
5260
  "hasDynamicHelp": false,
5287
5261
  "multiple": false,
5288
5262
  "options": [
5289
- "summary",
5263
+ "table",
5290
5264
  "json"
5291
5265
  ],
5292
5266
  "type": "option"
@@ -5294,7 +5268,7 @@
5294
5268
  },
5295
5269
  "hasDynamicHelp": false,
5296
5270
  "hiddenAliases": [],
5297
- "id": "run:sink:get",
5271
+ "id": "run:sessions:list",
5298
5272
  "pluginAlias": "@xano/cli",
5299
5273
  "pluginName": "@xano/cli",
5300
5274
  "pluginType": "core",
@@ -5304,12 +5278,12 @@
5304
5278
  "dist",
5305
5279
  "commands",
5306
5280
  "run",
5307
- "sink",
5308
- "get",
5281
+ "sessions",
5282
+ "list",
5309
5283
  "index.js"
5310
5284
  ]
5311
5285
  },
5312
- "run:sessions:delete": {
5286
+ "run:sessions:get": {
5313
5287
  "aliases": [],
5314
5288
  "args": {
5315
5289
  "sessionId": {
@@ -5318,10 +5292,10 @@
5318
5292
  "required": true
5319
5293
  }
5320
5294
  },
5321
- "description": "Delete a session",
5295
+ "description": "Get session details",
5322
5296
  "examples": [
5323
- "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
5324
- "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
5297
+ "$ xano run sessions get abc123-def456\nSession Details:\n ID: abc123-def456\n Name: My Session\n Status: running\n Access: private\n URL: https://session.xano.io/abc123\n Uptime: 3600s\n",
5298
+ "$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
5325
5299
  ],
5326
5300
  "flags": {
5327
5301
  "profile": {
@@ -5343,18 +5317,24 @@
5343
5317
  "allowNo": false,
5344
5318
  "type": "boolean"
5345
5319
  },
5346
- "force": {
5347
- "char": "f",
5348
- "description": "Skip confirmation prompt",
5349
- "name": "force",
5320
+ "output": {
5321
+ "char": "o",
5322
+ "description": "Output format",
5323
+ "name": "output",
5350
5324
  "required": false,
5351
- "allowNo": false,
5352
- "type": "boolean"
5325
+ "default": "summary",
5326
+ "hasDynamicHelp": false,
5327
+ "multiple": false,
5328
+ "options": [
5329
+ "summary",
5330
+ "json"
5331
+ ],
5332
+ "type": "option"
5353
5333
  }
5354
5334
  },
5355
5335
  "hasDynamicHelp": false,
5356
5336
  "hiddenAliases": [],
5357
- "id": "run:sessions:delete",
5337
+ "id": "run:sessions:get",
5358
5338
  "pluginAlias": "@xano/cli",
5359
5339
  "pluginName": "@xano/cli",
5360
5340
  "pluginType": "core",
@@ -5365,11 +5345,11 @@
5365
5345
  "commands",
5366
5346
  "run",
5367
5347
  "sessions",
5368
- "delete",
5348
+ "get",
5369
5349
  "index.js"
5370
5350
  ]
5371
5351
  },
5372
- "run:sessions:get": {
5352
+ "run:sessions:stop": {
5373
5353
  "aliases": [],
5374
5354
  "args": {
5375
5355
  "sessionId": {
@@ -5378,10 +5358,10 @@
5378
5358
  "required": true
5379
5359
  }
5380
5360
  },
5381
- "description": "Get session details",
5361
+ "description": "Stop a session",
5382
5362
  "examples": [
5383
- "$ xano run sessions get abc123-def456\nSession Details:\n ID: abc123-def456\n Name: My Session\n Status: running\n Access: private\n URL: https://session.xano.io/abc123\n Uptime: 3600s\n",
5384
- "$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
5363
+ "$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
5364
+ "$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
5385
5365
  ],
5386
5366
  "flags": {
5387
5367
  "profile": {
@@ -5420,7 +5400,7 @@
5420
5400
  },
5421
5401
  "hasDynamicHelp": false,
5422
5402
  "hiddenAliases": [],
5423
- "id": "run:sessions:get",
5403
+ "id": "run:sessions:stop",
5424
5404
  "pluginAlias": "@xano/cli",
5425
5405
  "pluginName": "@xano/cli",
5426
5406
  "pluginType": "core",
@@ -5431,17 +5411,23 @@
5431
5411
  "commands",
5432
5412
  "run",
5433
5413
  "sessions",
5434
- "get",
5414
+ "stop",
5435
5415
  "index.js"
5436
5416
  ]
5437
5417
  },
5438
- "run:sessions:list": {
5418
+ "tenant:backup:create": {
5439
5419
  "aliases": [],
5440
- "args": {},
5441
- "description": "List all sessions for the project",
5420
+ "args": {
5421
+ "tenant_name": {
5422
+ "description": "Tenant name to back up",
5423
+ "name": "tenant_name",
5424
+ "required": true
5425
+ }
5426
+ },
5427
+ "description": "Create a backup for a tenant",
5442
5428
  "examples": [
5443
- "$ xano run sessions list\nID STATE CREATED\nabc123-def456-ghi789 running 2024-01-15T10:30:00Z\nxyz789-uvw456-rst123 stopped 2024-01-14T09:00:00Z\n",
5444
- "$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
5429
+ "$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
5430
+ "$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
5445
5431
  ],
5446
5432
  "flags": {
5447
5433
  "profile": {
@@ -5463,35 +5449,55 @@
5463
5449
  "allowNo": false,
5464
5450
  "type": "boolean"
5465
5451
  },
5452
+ "description": {
5453
+ "char": "d",
5454
+ "description": "Backup description",
5455
+ "name": "description",
5456
+ "required": false,
5457
+ "default": "",
5458
+ "hasDynamicHelp": false,
5459
+ "multiple": false,
5460
+ "type": "option"
5461
+ },
5466
5462
  "output": {
5467
5463
  "char": "o",
5468
5464
  "description": "Output format",
5469
5465
  "name": "output",
5470
5466
  "required": false,
5471
- "default": "table",
5467
+ "default": "summary",
5472
5468
  "hasDynamicHelp": false,
5473
5469
  "multiple": false,
5474
5470
  "options": [
5475
- "table",
5471
+ "summary",
5476
5472
  "json"
5477
5473
  ],
5478
5474
  "type": "option"
5475
+ },
5476
+ "workspace": {
5477
+ "char": "w",
5478
+ "description": "Workspace ID (uses profile workspace if not provided)",
5479
+ "name": "workspace",
5480
+ "required": false,
5481
+ "hasDynamicHelp": false,
5482
+ "multiple": false,
5483
+ "type": "option"
5479
5484
  }
5480
5485
  },
5481
5486
  "hasDynamicHelp": false,
5482
5487
  "hiddenAliases": [],
5483
- "id": "run:sessions:list",
5488
+ "id": "tenant:backup:create",
5484
5489
  "pluginAlias": "@xano/cli",
5485
5490
  "pluginName": "@xano/cli",
5486
5491
  "pluginType": "core",
5487
5492
  "strict": true,
5493
+ "enableJsonFlag": false,
5488
5494
  "isESM": true,
5489
5495
  "relativePath": [
5490
5496
  "dist",
5491
5497
  "commands",
5492
- "run",
5493
- "sessions",
5494
- "list",
5498
+ "tenant",
5499
+ "backup",
5500
+ "create",
5495
5501
  "index.js"
5496
5502
  ]
5497
5503
  },
@@ -5561,19 +5567,14 @@
5561
5567
  "index.js"
5562
5568
  ]
5563
5569
  },
5564
- "run:sessions:stop": {
5570
+ "run:projects:create": {
5565
5571
  "aliases": [],
5566
- "args": {
5567
- "sessionId": {
5568
- "description": "Session ID",
5569
- "name": "sessionId",
5570
- "required": true
5571
- }
5572
- },
5573
- "description": "Stop a session",
5572
+ "args": {},
5573
+ "description": "Create a new project",
5574
5574
  "examples": [
5575
- "$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
5576
- "$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
5575
+ "$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
5576
+ "$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
5577
+ "$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
5577
5578
  ],
5578
5579
  "flags": {
5579
5580
  "profile": {
@@ -5595,6 +5596,25 @@
5595
5596
  "allowNo": false,
5596
5597
  "type": "boolean"
5597
5598
  },
5599
+ "description": {
5600
+ "char": "d",
5601
+ "description": "Project description",
5602
+ "name": "description",
5603
+ "required": false,
5604
+ "default": "",
5605
+ "hasDynamicHelp": false,
5606
+ "multiple": false,
5607
+ "type": "option"
5608
+ },
5609
+ "name": {
5610
+ "char": "n",
5611
+ "description": "Project name",
5612
+ "name": "name",
5613
+ "required": true,
5614
+ "hasDynamicHelp": false,
5615
+ "multiple": false,
5616
+ "type": "option"
5617
+ },
5598
5618
  "output": {
5599
5619
  "char": "o",
5600
5620
  "description": "Output format",
@@ -5612,7 +5632,7 @@
5612
5632
  },
5613
5633
  "hasDynamicHelp": false,
5614
5634
  "hiddenAliases": [],
5615
- "id": "run:sessions:stop",
5635
+ "id": "run:projects:create",
5616
5636
  "pluginAlias": "@xano/cli",
5617
5637
  "pluginName": "@xano/cli",
5618
5638
  "pluginType": "core",
@@ -5622,24 +5642,24 @@
5622
5642
  "dist",
5623
5643
  "commands",
5624
5644
  "run",
5625
- "sessions",
5626
- "stop",
5645
+ "projects",
5646
+ "create",
5627
5647
  "index.js"
5628
5648
  ]
5629
5649
  },
5630
- "tenant:backup:create": {
5650
+ "run:sink:get": {
5631
5651
  "aliases": [],
5632
5652
  "args": {
5633
- "tenant_name": {
5634
- "description": "Tenant name to back up",
5635
- "name": "tenant_name",
5653
+ "sessionId": {
5654
+ "description": "Session ID",
5655
+ "name": "sessionId",
5636
5656
  "required": true
5637
5657
  }
5638
5658
  },
5639
- "description": "Create a backup for a tenant",
5659
+ "description": "Get sink data for a completed session",
5640
5660
  "examples": [
5641
- "$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
5642
- "$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
5661
+ "$ xano run sink get abc123-def456\nSink Data:\n Tables: 3\n - users (5 rows)\n - orders (12 rows)\n - products (8 rows)\n Logs: 15 entries\n",
5662
+ "$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
5643
5663
  ],
5644
5664
  "flags": {
5645
5665
  "profile": {
@@ -5661,16 +5681,6 @@
5661
5681
  "allowNo": false,
5662
5682
  "type": "boolean"
5663
5683
  },
5664
- "description": {
5665
- "char": "d",
5666
- "description": "Backup description",
5667
- "name": "description",
5668
- "required": false,
5669
- "default": "",
5670
- "hasDynamicHelp": false,
5671
- "multiple": false,
5672
- "type": "option"
5673
- },
5674
5684
  "output": {
5675
5685
  "char": "o",
5676
5686
  "description": "Output format",
@@ -5684,32 +5694,22 @@
5684
5694
  "json"
5685
5695
  ],
5686
5696
  "type": "option"
5687
- },
5688
- "workspace": {
5689
- "char": "w",
5690
- "description": "Workspace ID (uses profile workspace if not provided)",
5691
- "name": "workspace",
5692
- "required": false,
5693
- "hasDynamicHelp": false,
5694
- "multiple": false,
5695
- "type": "option"
5696
5697
  }
5697
5698
  },
5698
5699
  "hasDynamicHelp": false,
5699
5700
  "hiddenAliases": [],
5700
- "id": "tenant:backup:create",
5701
+ "id": "run:sink:get",
5701
5702
  "pluginAlias": "@xano/cli",
5702
5703
  "pluginName": "@xano/cli",
5703
5704
  "pluginType": "core",
5704
5705
  "strict": true,
5705
- "enableJsonFlag": false,
5706
5706
  "isESM": true,
5707
5707
  "relativePath": [
5708
5708
  "dist",
5709
5709
  "commands",
5710
- "tenant",
5711
- "backup",
5712
- "create",
5710
+ "run",
5711
+ "sink",
5712
+ "get",
5713
5713
  "index.js"
5714
5714
  ]
5715
5715
  },
@@ -5901,19 +5901,19 @@
5901
5901
  "index.js"
5902
5902
  ]
5903
5903
  },
5904
- "tenant:backup:list": {
5904
+ "tenant:backup:restore": {
5905
5905
  "aliases": [],
5906
5906
  "args": {
5907
5907
  "tenant_name": {
5908
- "description": "Tenant name to list backups for",
5908
+ "description": "Tenant name to restore",
5909
5909
  "name": "tenant_name",
5910
5910
  "required": true
5911
5911
  }
5912
5912
  },
5913
- "description": "List backups for a tenant",
5913
+ "description": "Restore a tenant from a backup. This replaces the current tenant data.",
5914
5914
  "examples": [
5915
- "$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
5916
- "$ xano tenant backup list t1234-abcd-xyz1 -o json"
5915
+ "$ xano tenant backup restore t1234-abcd-xyz1 --backup-id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
5916
+ "$ xano tenant backup restore t1234-abcd-xyz1 --backup-id 10 --force -o json"
5917
5917
  ],
5918
5918
  "flags": {
5919
5919
  "profile": {
@@ -5935,6 +5935,22 @@
5935
5935
  "allowNo": false,
5936
5936
  "type": "boolean"
5937
5937
  },
5938
+ "backup-id": {
5939
+ "description": "Backup ID to restore from",
5940
+ "name": "backup-id",
5941
+ "required": true,
5942
+ "hasDynamicHelp": false,
5943
+ "multiple": false,
5944
+ "type": "option"
5945
+ },
5946
+ "force": {
5947
+ "char": "f",
5948
+ "description": "Skip confirmation prompt",
5949
+ "name": "force",
5950
+ "required": false,
5951
+ "allowNo": false,
5952
+ "type": "boolean"
5953
+ },
5938
5954
  "output": {
5939
5955
  "char": "o",
5940
5956
  "description": "Output format",
@@ -5949,15 +5965,6 @@
5949
5965
  ],
5950
5966
  "type": "option"
5951
5967
  },
5952
- "page": {
5953
- "description": "Page number for pagination",
5954
- "name": "page",
5955
- "required": false,
5956
- "default": 1,
5957
- "hasDynamicHelp": false,
5958
- "multiple": false,
5959
- "type": "option"
5960
- },
5961
5968
  "workspace": {
5962
5969
  "char": "w",
5963
5970
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -5970,7 +5977,7 @@
5970
5977
  },
5971
5978
  "hasDynamicHelp": false,
5972
5979
  "hiddenAliases": [],
5973
- "id": "tenant:backup:list",
5980
+ "id": "tenant:backup:restore",
5974
5981
  "pluginAlias": "@xano/cli",
5975
5982
  "pluginName": "@xano/cli",
5976
5983
  "pluginType": "core",
@@ -5982,24 +5989,23 @@
5982
5989
  "commands",
5983
5990
  "tenant",
5984
5991
  "backup",
5985
- "list",
5992
+ "restore",
5986
5993
  "index.js"
5987
5994
  ]
5988
5995
  },
5989
- "tenant:backup:export": {
5996
+ "tenant:backup:list": {
5990
5997
  "aliases": [],
5991
5998
  "args": {
5992
5999
  "tenant_name": {
5993
- "description": "Tenant name to export backup from",
6000
+ "description": "Tenant name to list backups for",
5994
6001
  "name": "tenant_name",
5995
6002
  "required": true
5996
6003
  }
5997
6004
  },
5998
- "description": "Export (download) a tenant backup to a local file",
6005
+ "description": "List backups for a tenant",
5999
6006
  "examples": [
6000
- "$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
6001
- "$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10 --output ./backups/my-backup.tar.gz",
6002
- "$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10 -o json"
6007
+ "$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
6008
+ "$ xano tenant backup list t1234-abcd-xyz1 -o json"
6003
6009
  ],
6004
6010
  "flags": {
6005
6011
  "profile": {
@@ -6021,18 +6027,10 @@
6021
6027
  "allowNo": false,
6022
6028
  "type": "boolean"
6023
6029
  },
6024
- "backup-id": {
6025
- "description": "Backup ID to export",
6026
- "name": "backup-id",
6027
- "required": true,
6028
- "hasDynamicHelp": false,
6029
- "multiple": false,
6030
- "type": "option"
6031
- },
6032
- "format": {
6030
+ "output": {
6033
6031
  "char": "o",
6034
6032
  "description": "Output format",
6035
- "name": "format",
6033
+ "name": "output",
6036
6034
  "required": false,
6037
6035
  "default": "summary",
6038
6036
  "hasDynamicHelp": false,
@@ -6043,10 +6041,11 @@
6043
6041
  ],
6044
6042
  "type": "option"
6045
6043
  },
6046
- "output": {
6047
- "description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
6048
- "name": "output",
6044
+ "page": {
6045
+ "description": "Page number for pagination",
6046
+ "name": "page",
6049
6047
  "required": false,
6048
+ "default": 1,
6050
6049
  "hasDynamicHelp": false,
6051
6050
  "multiple": false,
6052
6051
  "type": "option"
@@ -6063,7 +6062,7 @@
6063
6062
  },
6064
6063
  "hasDynamicHelp": false,
6065
6064
  "hiddenAliases": [],
6066
- "id": "tenant:backup:export",
6065
+ "id": "tenant:backup:list",
6067
6066
  "pluginAlias": "@xano/cli",
6068
6067
  "pluginName": "@xano/cli",
6069
6068
  "pluginType": "core",
@@ -6075,23 +6074,24 @@
6075
6074
  "commands",
6076
6075
  "tenant",
6077
6076
  "backup",
6078
- "export",
6077
+ "list",
6079
6078
  "index.js"
6080
6079
  ]
6081
6080
  },
6082
- "tenant:backup:restore": {
6081
+ "static_host:build:create": {
6083
6082
  "aliases": [],
6084
6083
  "args": {
6085
- "tenant_name": {
6086
- "description": "Tenant name to restore",
6087
- "name": "tenant_name",
6084
+ "static_host": {
6085
+ "description": "Static Host name",
6086
+ "name": "static_host",
6088
6087
  "required": true
6089
6088
  }
6090
6089
  },
6091
- "description": "Restore a tenant from a backup. This replaces the current tenant data.",
6090
+ "description": "Create a new build for a static host",
6092
6091
  "examples": [
6093
- "$ xano tenant backup restore t1234-abcd-xyz1 --backup-id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
6094
- "$ xano tenant backup restore t1234-abcd-xyz1 --backup-id 10 --force -o json"
6092
+ "$ 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",
6093
+ "$ 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",
6094
+ "$ 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"
6095
6095
  ],
6096
6096
  "flags": {
6097
6097
  "profile": {
@@ -6113,21 +6113,32 @@
6113
6113
  "allowNo": false,
6114
6114
  "type": "boolean"
6115
6115
  },
6116
- "backup-id": {
6117
- "description": "Backup ID to restore from",
6118
- "name": "backup-id",
6119
- "required": true,
6116
+ "description": {
6117
+ "char": "d",
6118
+ "description": "Build description",
6119
+ "name": "description",
6120
+ "required": false,
6120
6121
  "hasDynamicHelp": false,
6121
6122
  "multiple": false,
6122
6123
  "type": "option"
6123
6124
  },
6124
- "force": {
6125
+ "file": {
6125
6126
  "char": "f",
6126
- "description": "Skip confirmation prompt",
6127
- "name": "force",
6128
- "required": false,
6129
- "allowNo": false,
6130
- "type": "boolean"
6127
+ "description": "Path to zip file to upload",
6128
+ "name": "file",
6129
+ "required": true,
6130
+ "hasDynamicHelp": false,
6131
+ "multiple": false,
6132
+ "type": "option"
6133
+ },
6134
+ "name": {
6135
+ "char": "n",
6136
+ "description": "Build name",
6137
+ "name": "name",
6138
+ "required": true,
6139
+ "hasDynamicHelp": false,
6140
+ "multiple": false,
6141
+ "type": "option"
6131
6142
  },
6132
6143
  "output": {
6133
6144
  "char": "o",
@@ -6145,7 +6156,7 @@
6145
6156
  },
6146
6157
  "workspace": {
6147
6158
  "char": "w",
6148
- "description": "Workspace ID (uses profile workspace if not provided)",
6159
+ "description": "Workspace ID (optional if set in profile)",
6149
6160
  "name": "workspace",
6150
6161
  "required": false,
6151
6162
  "hasDynamicHelp": false,
@@ -6155,7 +6166,7 @@
6155
6166
  },
6156
6167
  "hasDynamicHelp": false,
6157
6168
  "hiddenAliases": [],
6158
- "id": "tenant:backup:restore",
6169
+ "id": "static_host:build:create",
6159
6170
  "pluginAlias": "@xano/cli",
6160
6171
  "pluginName": "@xano/cli",
6161
6172
  "pluginType": "core",
@@ -6165,32 +6176,26 @@
6165
6176
  "relativePath": [
6166
6177
  "dist",
6167
6178
  "commands",
6168
- "tenant",
6169
- "backup",
6170
- "restore",
6179
+ "static_host",
6180
+ "build",
6181
+ "create",
6171
6182
  "index.js"
6172
6183
  ]
6173
6184
  },
6174
- "static_host:build:get": {
6185
+ "tenant:backup:export": {
6175
6186
  "aliases": [],
6176
6187
  "args": {
6177
- "build_id": {
6178
- "description": "Build ID",
6179
- "name": "build_id",
6180
- "required": true
6181
- },
6182
- "static_host": {
6183
- "description": "Static Host name",
6184
- "name": "static_host",
6188
+ "tenant_name": {
6189
+ "description": "Tenant name to export backup from",
6190
+ "name": "tenant_name",
6185
6191
  "required": true
6186
6192
  }
6187
6193
  },
6188
- "description": "Get details of a specific build for a static host",
6194
+ "description": "Export (download) a tenant backup to a local file",
6189
6195
  "examples": [
6190
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6191
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6192
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6193
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6196
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
6197
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10 --output ./backups/my-backup.tar.gz",
6198
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup-id 10 -o json"
6194
6199
  ],
6195
6200
  "flags": {
6196
6201
  "profile": {
@@ -6212,10 +6217,18 @@
6212
6217
  "allowNo": false,
6213
6218
  "type": "boolean"
6214
6219
  },
6215
- "output": {
6220
+ "backup-id": {
6221
+ "description": "Backup ID to export",
6222
+ "name": "backup-id",
6223
+ "required": true,
6224
+ "hasDynamicHelp": false,
6225
+ "multiple": false,
6226
+ "type": "option"
6227
+ },
6228
+ "format": {
6216
6229
  "char": "o",
6217
6230
  "description": "Output format",
6218
- "name": "output",
6231
+ "name": "format",
6219
6232
  "required": false,
6220
6233
  "default": "summary",
6221
6234
  "hasDynamicHelp": false,
@@ -6226,9 +6239,17 @@
6226
6239
  ],
6227
6240
  "type": "option"
6228
6241
  },
6242
+ "output": {
6243
+ "description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
6244
+ "name": "output",
6245
+ "required": false,
6246
+ "hasDynamicHelp": false,
6247
+ "multiple": false,
6248
+ "type": "option"
6249
+ },
6229
6250
  "workspace": {
6230
6251
  "char": "w",
6231
- "description": "Workspace ID (optional if set in profile)",
6252
+ "description": "Workspace ID (uses profile workspace if not provided)",
6232
6253
  "name": "workspace",
6233
6254
  "required": false,
6234
6255
  "hasDynamicHelp": false,
@@ -6238,7 +6259,7 @@
6238
6259
  },
6239
6260
  "hasDynamicHelp": false,
6240
6261
  "hiddenAliases": [],
6241
- "id": "static_host:build:get",
6262
+ "id": "tenant:backup:export",
6242
6263
  "pluginAlias": "@xano/cli",
6243
6264
  "pluginName": "@xano/cli",
6244
6265
  "pluginType": "core",
@@ -6248,26 +6269,32 @@
6248
6269
  "relativePath": [
6249
6270
  "dist",
6250
6271
  "commands",
6251
- "static_host",
6252
- "build",
6253
- "get",
6272
+ "tenant",
6273
+ "backup",
6274
+ "export",
6254
6275
  "index.js"
6255
6276
  ]
6256
6277
  },
6257
- "static_host:build:create": {
6278
+ "static_host:build:get": {
6258
6279
  "aliases": [],
6259
6280
  "args": {
6281
+ "build_id": {
6282
+ "description": "Build ID",
6283
+ "name": "build_id",
6284
+ "required": true
6285
+ },
6260
6286
  "static_host": {
6261
6287
  "description": "Static Host name",
6262
6288
  "name": "static_host",
6263
6289
  "required": true
6264
6290
  }
6265
6291
  },
6266
- "description": "Create a new build for a static host",
6292
+ "description": "Get details of a specific build for a static host",
6267
6293
  "examples": [
6268
- "$ 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",
6269
- "$ 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",
6270
- "$ 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"
6294
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6295
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6296
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6297
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6271
6298
  ],
6272
6299
  "flags": {
6273
6300
  "profile": {
@@ -6289,33 +6316,6 @@
6289
6316
  "allowNo": false,
6290
6317
  "type": "boolean"
6291
6318
  },
6292
- "description": {
6293
- "char": "d",
6294
- "description": "Build description",
6295
- "name": "description",
6296
- "required": false,
6297
- "hasDynamicHelp": false,
6298
- "multiple": false,
6299
- "type": "option"
6300
- },
6301
- "file": {
6302
- "char": "f",
6303
- "description": "Path to zip file to upload",
6304
- "name": "file",
6305
- "required": true,
6306
- "hasDynamicHelp": false,
6307
- "multiple": false,
6308
- "type": "option"
6309
- },
6310
- "name": {
6311
- "char": "n",
6312
- "description": "Build name",
6313
- "name": "name",
6314
- "required": true,
6315
- "hasDynamicHelp": false,
6316
- "multiple": false,
6317
- "type": "option"
6318
- },
6319
6319
  "output": {
6320
6320
  "char": "o",
6321
6321
  "description": "Output format",
@@ -6342,7 +6342,7 @@
6342
6342
  },
6343
6343
  "hasDynamicHelp": false,
6344
6344
  "hiddenAliases": [],
6345
- "id": "static_host:build:create",
6345
+ "id": "static_host:build:get",
6346
6346
  "pluginAlias": "@xano/cli",
6347
6347
  "pluginName": "@xano/cli",
6348
6348
  "pluginType": "core",
@@ -6354,7 +6354,7 @@
6354
6354
  "commands",
6355
6355
  "static_host",
6356
6356
  "build",
6357
- "create",
6357
+ "get",
6358
6358
  "index.js"
6359
6359
  ]
6360
6360
  },
@@ -6455,5 +6455,5 @@
6455
6455
  ]
6456
6456
  }
6457
6457
  },
6458
- "version": "0.0.35"
6458
+ "version": "0.0.37"
6459
6459
  }