@xano/cli 0.0.34 → 0.0.35

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,157 +226,6 @@
226
226
  "index.js"
227
227
  ]
228
228
  },
229
- "branch:set_live": {
230
- "aliases": [],
231
- "args": {
232
- "branch_label": {
233
- "description": "Branch label to set as live (use \"v1\" for default branch)",
234
- "name": "branch_label",
235
- "required": true
236
- }
237
- },
238
- "description": "Set a branch as the live (active) branch for API requests",
239
- "examples": [
240
- "$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
241
- "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
242
- "$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
243
- ],
244
- "flags": {
245
- "profile": {
246
- "char": "p",
247
- "description": "Profile to use (uses default profile if not specified)",
248
- "env": "XANO_PROFILE",
249
- "name": "profile",
250
- "required": false,
251
- "hasDynamicHelp": false,
252
- "multiple": false,
253
- "type": "option"
254
- },
255
- "verbose": {
256
- "char": "v",
257
- "description": "Show detailed request/response information",
258
- "env": "XANO_VERBOSE",
259
- "name": "verbose",
260
- "required": false,
261
- "allowNo": false,
262
- "type": "boolean"
263
- },
264
- "force": {
265
- "char": "f",
266
- "description": "Skip confirmation prompt",
267
- "name": "force",
268
- "required": false,
269
- "allowNo": false,
270
- "type": "boolean"
271
- },
272
- "output": {
273
- "char": "o",
274
- "description": "Output format",
275
- "name": "output",
276
- "required": false,
277
- "default": "summary",
278
- "hasDynamicHelp": false,
279
- "multiple": false,
280
- "options": [
281
- "summary",
282
- "json"
283
- ],
284
- "type": "option"
285
- },
286
- "workspace": {
287
- "char": "w",
288
- "description": "Workspace ID (uses profile workspace if not provided)",
289
- "name": "workspace",
290
- "required": false,
291
- "hasDynamicHelp": false,
292
- "multiple": false,
293
- "type": "option"
294
- }
295
- },
296
- "hasDynamicHelp": false,
297
- "hiddenAliases": [],
298
- "id": "branch:set_live",
299
- "pluginAlias": "@xano/cli",
300
- "pluginName": "@xano/cli",
301
- "pluginType": "core",
302
- "strict": true,
303
- "enableJsonFlag": false,
304
- "isESM": true,
305
- "relativePath": [
306
- "dist",
307
- "commands",
308
- "branch",
309
- "set_live",
310
- "index.js"
311
- ]
312
- },
313
- "branch:list": {
314
- "aliases": [],
315
- "args": {
316
- "workspace_id": {
317
- "description": "Workspace ID (uses profile workspace if not provided)",
318
- "name": "workspace_id",
319
- "required": false
320
- }
321
- },
322
- "description": "List all branches in a workspace",
323
- "examples": [
324
- "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
325
- "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
326
- "$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
327
- ],
328
- "flags": {
329
- "profile": {
330
- "char": "p",
331
- "description": "Profile to use (uses default profile if not specified)",
332
- "env": "XANO_PROFILE",
333
- "name": "profile",
334
- "required": false,
335
- "hasDynamicHelp": false,
336
- "multiple": false,
337
- "type": "option"
338
- },
339
- "verbose": {
340
- "char": "v",
341
- "description": "Show detailed request/response information",
342
- "env": "XANO_VERBOSE",
343
- "name": "verbose",
344
- "required": false,
345
- "allowNo": false,
346
- "type": "boolean"
347
- },
348
- "output": {
349
- "char": "o",
350
- "description": "Output format",
351
- "name": "output",
352
- "required": false,
353
- "default": "summary",
354
- "hasDynamicHelp": false,
355
- "multiple": false,
356
- "options": [
357
- "summary",
358
- "json"
359
- ],
360
- "type": "option"
361
- }
362
- },
363
- "hasDynamicHelp": false,
364
- "hiddenAliases": [],
365
- "id": "branch:list",
366
- "pluginAlias": "@xano/cli",
367
- "pluginName": "@xano/cli",
368
- "pluginType": "core",
369
- "strict": true,
370
- "enableJsonFlag": false,
371
- "isESM": true,
372
- "relativePath": [
373
- "dist",
374
- "commands",
375
- "branch",
376
- "list",
377
- "index.js"
378
- ]
379
- },
380
229
  "branch:edit": {
381
230
  "aliases": [],
382
231
  "args": {
@@ -480,19 +329,20 @@
480
329
  "index.js"
481
330
  ]
482
331
  },
483
- "platform:get": {
332
+ "branch:get": {
484
333
  "aliases": [],
485
334
  "args": {
486
- "platform_id": {
487
- "description": "Platform ID to retrieve",
488
- "name": "platform_id",
335
+ "branch_label": {
336
+ "description": "Branch label (e.g., \"v1\", \"dev\")",
337
+ "name": "branch_label",
489
338
  "required": true
490
339
  }
491
340
  },
492
- "description": "Get details of a specific platform",
341
+ "description": "Get details for a specific branch",
493
342
  "examples": [
494
- "$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
495
- "$ xano platform get 23629 -o json"
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"
496
346
  ],
497
347
  "flags": {
498
348
  "profile": {
@@ -527,11 +377,20 @@
527
377
  "json"
528
378
  ],
529
379
  "type": "option"
380
+ },
381
+ "workspace": {
382
+ "char": "w",
383
+ "description": "Workspace ID (uses profile workspace if not provided)",
384
+ "name": "workspace",
385
+ "required": false,
386
+ "hasDynamicHelp": false,
387
+ "multiple": false,
388
+ "type": "option"
530
389
  }
531
390
  },
532
391
  "hasDynamicHelp": false,
533
392
  "hiddenAliases": [],
534
- "id": "platform:get",
393
+ "id": "branch:get",
535
394
  "pluginAlias": "@xano/cli",
536
395
  "pluginName": "@xano/cli",
537
396
  "pluginType": "core",
@@ -541,18 +400,25 @@
541
400
  "relativePath": [
542
401
  "dist",
543
402
  "commands",
544
- "platform",
403
+ "branch",
545
404
  "get",
546
405
  "index.js"
547
406
  ]
548
407
  },
549
- "platform:list": {
408
+ "branch:list": {
550
409
  "aliases": [],
551
- "args": {},
552
- "description": "List all platforms",
410
+ "args": {
411
+ "workspace_id": {
412
+ "description": "Workspace ID (uses profile workspace if not provided)",
413
+ "name": "workspace_id",
414
+ "required": false
415
+ }
416
+ },
417
+ "description": "List all branches in a workspace",
553
418
  "examples": [
554
- "$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
555
- "$ xano platform list --output json"
419
+ "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
420
+ "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
421
+ "$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
556
422
  ],
557
423
  "flags": {
558
424
  "profile": {
@@ -591,7 +457,7 @@
591
457
  },
592
458
  "hasDynamicHelp": false,
593
459
  "hiddenAliases": [],
594
- "id": "platform:list",
460
+ "id": "branch:list",
595
461
  "pluginAlias": "@xano/cli",
596
462
  "pluginName": "@xano/cli",
597
463
  "pluginType": "core",
@@ -601,25 +467,25 @@
601
467
  "relativePath": [
602
468
  "dist",
603
469
  "commands",
604
- "platform",
470
+ "branch",
605
471
  "list",
606
472
  "index.js"
607
473
  ]
608
474
  },
609
- "branch:get": {
475
+ "branch:set_live": {
610
476
  "aliases": [],
611
477
  "args": {
612
478
  "branch_label": {
613
- "description": "Branch label (e.g., \"v1\", \"dev\")",
479
+ "description": "Branch label to set as live (use \"v1\" for default branch)",
614
480
  "name": "branch_label",
615
481
  "required": true
616
482
  }
617
483
  },
618
- "description": "Get details for a specific branch",
484
+ "description": "Set a branch as the live (active) branch for API requests",
619
485
  "examples": [
620
- "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
621
- "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
622
- "$ 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"
486
+ "$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
487
+ "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
488
+ "$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
623
489
  ],
624
490
  "flags": {
625
491
  "profile": {
@@ -641,6 +507,14 @@
641
507
  "allowNo": false,
642
508
  "type": "boolean"
643
509
  },
510
+ "force": {
511
+ "char": "f",
512
+ "description": "Skip confirmation prompt",
513
+ "name": "force",
514
+ "required": false,
515
+ "allowNo": false,
516
+ "type": "boolean"
517
+ },
644
518
  "output": {
645
519
  "char": "o",
646
520
  "description": "Output format",
@@ -667,7 +541,7 @@
667
541
  },
668
542
  "hasDynamicHelp": false,
669
543
  "hiddenAliases": [],
670
- "id": "branch:get",
544
+ "id": "branch:set_live",
671
545
  "pluginAlias": "@xano/cli",
672
546
  "pluginName": "@xano/cli",
673
547
  "pluginType": "core",
@@ -678,7 +552,7 @@
678
552
  "dist",
679
553
  "commands",
680
554
  "branch",
681
- "get",
555
+ "set_live",
682
556
  "index.js"
683
557
  ]
684
558
  },
@@ -1001,37 +875,228 @@
1001
875
  "index.js"
1002
876
  ]
1003
877
  },
1004
- "profile:create": {
878
+ "platform:get": {
1005
879
  "aliases": [],
1006
880
  "args": {
1007
- "name": {
1008
- "description": "Profile name",
1009
- "name": "name",
881
+ "platform_id": {
882
+ "description": "Platform ID to retrieve",
883
+ "name": "platform_id",
1010
884
  "required": true
1011
885
  }
1012
886
  },
1013
- "description": "Create a new profile configuration",
887
+ "description": "Get details of a specific platform",
1014
888
  "examples": [
1015
- "$ 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",
1016
- "$ 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",
1017
- "$ 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",
1018
- "$ 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",
1019
- "$ 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"
889
+ "$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
890
+ "$ xano platform get 23629 -o json"
1020
891
  ],
1021
892
  "flags": {
1022
- "access_token": {
1023
- "char": "t",
1024
- "description": "Access token for the Xano Metadata API",
1025
- "name": "access_token",
1026
- "required": true,
893
+ "profile": {
894
+ "char": "p",
895
+ "description": "Profile to use (uses default profile if not specified)",
896
+ "env": "XANO_PROFILE",
897
+ "name": "profile",
898
+ "required": false,
1027
899
  "hasDynamicHelp": false,
1028
900
  "multiple": false,
1029
901
  "type": "option"
1030
902
  },
1031
- "account_origin": {
1032
- "char": "a",
1033
- "description": "Account origin URL. Optional for self hosted installs.",
1034
- "name": "account_origin",
903
+ "verbose": {
904
+ "char": "v",
905
+ "description": "Show detailed request/response information",
906
+ "env": "XANO_VERBOSE",
907
+ "name": "verbose",
908
+ "required": false,
909
+ "allowNo": false,
910
+ "type": "boolean"
911
+ },
912
+ "output": {
913
+ "char": "o",
914
+ "description": "Output format",
915
+ "name": "output",
916
+ "required": false,
917
+ "default": "summary",
918
+ "hasDynamicHelp": false,
919
+ "multiple": false,
920
+ "options": [
921
+ "summary",
922
+ "json"
923
+ ],
924
+ "type": "option"
925
+ }
926
+ },
927
+ "hasDynamicHelp": false,
928
+ "hiddenAliases": [],
929
+ "id": "platform:get",
930
+ "pluginAlias": "@xano/cli",
931
+ "pluginName": "@xano/cli",
932
+ "pluginType": "core",
933
+ "strict": true,
934
+ "enableJsonFlag": false,
935
+ "isESM": true,
936
+ "relativePath": [
937
+ "dist",
938
+ "commands",
939
+ "platform",
940
+ "get",
941
+ "index.js"
942
+ ]
943
+ },
944
+ "function:list": {
945
+ "aliases": [],
946
+ "args": {},
947
+ "description": "List all functions in a workspace from the Xano Metadata API",
948
+ "examples": [
949
+ "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
950
+ "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
951
+ "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
952
+ "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
953
+ ],
954
+ "flags": {
955
+ "profile": {
956
+ "char": "p",
957
+ "description": "Profile to use (uses default profile if not specified)",
958
+ "env": "XANO_PROFILE",
959
+ "name": "profile",
960
+ "required": false,
961
+ "hasDynamicHelp": false,
962
+ "multiple": false,
963
+ "type": "option"
964
+ },
965
+ "verbose": {
966
+ "char": "v",
967
+ "description": "Show detailed request/response information",
968
+ "env": "XANO_VERBOSE",
969
+ "name": "verbose",
970
+ "required": false,
971
+ "allowNo": false,
972
+ "type": "boolean"
973
+ },
974
+ "include_draft": {
975
+ "description": "Include draft functions",
976
+ "name": "include_draft",
977
+ "required": false,
978
+ "allowNo": false,
979
+ "type": "boolean"
980
+ },
981
+ "include_xanoscript": {
982
+ "description": "Include XanoScript in response",
983
+ "name": "include_xanoscript",
984
+ "required": false,
985
+ "allowNo": false,
986
+ "type": "boolean"
987
+ },
988
+ "order": {
989
+ "description": "Sort order",
990
+ "name": "order",
991
+ "required": false,
992
+ "default": "desc",
993
+ "hasDynamicHelp": false,
994
+ "multiple": false,
995
+ "options": [
996
+ "asc",
997
+ "desc"
998
+ ],
999
+ "type": "option"
1000
+ },
1001
+ "output": {
1002
+ "char": "o",
1003
+ "description": "Output format",
1004
+ "name": "output",
1005
+ "required": false,
1006
+ "default": "summary",
1007
+ "hasDynamicHelp": false,
1008
+ "multiple": false,
1009
+ "options": [
1010
+ "summary",
1011
+ "json"
1012
+ ],
1013
+ "type": "option"
1014
+ },
1015
+ "page": {
1016
+ "description": "Page number for pagination",
1017
+ "name": "page",
1018
+ "required": false,
1019
+ "default": 1,
1020
+ "hasDynamicHelp": false,
1021
+ "multiple": false,
1022
+ "type": "option"
1023
+ },
1024
+ "per_page": {
1025
+ "description": "Number of results per page",
1026
+ "name": "per_page",
1027
+ "required": false,
1028
+ "default": 50,
1029
+ "hasDynamicHelp": false,
1030
+ "multiple": false,
1031
+ "type": "option"
1032
+ },
1033
+ "sort": {
1034
+ "description": "Sort field",
1035
+ "name": "sort",
1036
+ "required": false,
1037
+ "default": "created_at",
1038
+ "hasDynamicHelp": false,
1039
+ "multiple": false,
1040
+ "type": "option"
1041
+ },
1042
+ "workspace": {
1043
+ "char": "w",
1044
+ "description": "Workspace ID (optional if set in profile)",
1045
+ "name": "workspace",
1046
+ "required": false,
1047
+ "hasDynamicHelp": false,
1048
+ "multiple": false,
1049
+ "type": "option"
1050
+ }
1051
+ },
1052
+ "hasDynamicHelp": false,
1053
+ "hiddenAliases": [],
1054
+ "id": "function:list",
1055
+ "pluginAlias": "@xano/cli",
1056
+ "pluginName": "@xano/cli",
1057
+ "pluginType": "core",
1058
+ "strict": true,
1059
+ "enableJsonFlag": false,
1060
+ "isESM": true,
1061
+ "relativePath": [
1062
+ "dist",
1063
+ "commands",
1064
+ "function",
1065
+ "list",
1066
+ "index.js"
1067
+ ]
1068
+ },
1069
+ "profile:create": {
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",
1079
+ "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"
1085
+ ],
1086
+ "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",
1035
1100
  "required": false,
1036
1101
  "hasDynamicHelp": false,
1037
1102
  "multiple": false,
@@ -1107,6 +1172,48 @@
1107
1172
  "index.js"
1108
1173
  ]
1109
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",
1203
+ "pluginAlias": "@xano/cli",
1204
+ "pluginName": "@xano/cli",
1205
+ "pluginType": "core",
1206
+ "strict": true,
1207
+ "enableJsonFlag": false,
1208
+ "isESM": true,
1209
+ "relativePath": [
1210
+ "dist",
1211
+ "commands",
1212
+ "profile",
1213
+ "delete",
1214
+ "index.js"
1215
+ ]
1216
+ },
1110
1217
  "profile:edit": {
1111
1218
  "aliases": [],
1112
1219
  "args": {
@@ -1255,34 +1362,18 @@
1255
1362
  "index.js"
1256
1363
  ]
1257
1364
  },
1258
- "profile:delete": {
1365
+ "profile:get_default": {
1259
1366
  "aliases": [],
1260
- "args": {
1261
- "name": {
1262
- "description": "Profile name to delete",
1263
- "name": "name",
1264
- "required": true
1265
- }
1266
- },
1267
- "description": "Delete a profile configuration",
1367
+ "args": {},
1368
+ "description": "Get the current default profile name",
1268
1369
  "examples": [
1269
- "$ 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",
1270
- "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
1271
- "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
1370
+ "$ xano profile:get-default\nproduction\n",
1371
+ "$ xano profile:get-default\nNo default profile set\n"
1272
1372
  ],
1273
- "flags": {
1274
- "force": {
1275
- "char": "f",
1276
- "description": "Skip confirmation prompt",
1277
- "name": "force",
1278
- "required": false,
1279
- "allowNo": false,
1280
- "type": "boolean"
1281
- }
1282
- },
1373
+ "flags": {},
1283
1374
  "hasDynamicHelp": false,
1284
1375
  "hiddenAliases": [],
1285
- "id": "profile:delete",
1376
+ "id": "profile:get_default",
1286
1377
  "pluginAlias": "@xano/cli",
1287
1378
  "pluginName": "@xano/cli",
1288
1379
  "pluginType": "core",
@@ -1293,19 +1384,18 @@
1293
1384
  "dist",
1294
1385
  "commands",
1295
1386
  "profile",
1296
- "delete",
1387
+ "get_default",
1297
1388
  "index.js"
1298
1389
  ]
1299
1390
  },
1300
- "function:list": {
1391
+ "profile:me": {
1301
1392
  "aliases": [],
1302
1393
  "args": {},
1303
- "description": "List all functions in a workspace from the Xano Metadata API",
1394
+ "description": "Get information about the currently authenticated user",
1304
1395
  "examples": [
1305
- "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
1306
- "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
1307
- "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
1308
- "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
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"
1309
1399
  ],
1310
1400
  "flags": {
1311
1401
  "profile": {
@@ -1327,33 +1417,6 @@
1327
1417
  "allowNo": false,
1328
1418
  "type": "boolean"
1329
1419
  },
1330
- "include_draft": {
1331
- "description": "Include draft functions",
1332
- "name": "include_draft",
1333
- "required": false,
1334
- "allowNo": false,
1335
- "type": "boolean"
1336
- },
1337
- "include_xanoscript": {
1338
- "description": "Include XanoScript in response",
1339
- "name": "include_xanoscript",
1340
- "required": false,
1341
- "allowNo": false,
1342
- "type": "boolean"
1343
- },
1344
- "order": {
1345
- "description": "Sort order",
1346
- "name": "order",
1347
- "required": false,
1348
- "default": "desc",
1349
- "hasDynamicHelp": false,
1350
- "multiple": false,
1351
- "options": [
1352
- "asc",
1353
- "desc"
1354
- ],
1355
- "type": "option"
1356
- },
1357
1420
  "output": {
1358
1421
  "char": "o",
1359
1422
  "description": "Output format",
@@ -1367,47 +1430,11 @@
1367
1430
  "json"
1368
1431
  ],
1369
1432
  "type": "option"
1370
- },
1371
- "page": {
1372
- "description": "Page number for pagination",
1373
- "name": "page",
1374
- "required": false,
1375
- "default": 1,
1376
- "hasDynamicHelp": false,
1377
- "multiple": false,
1378
- "type": "option"
1379
- },
1380
- "per_page": {
1381
- "description": "Number of results per page",
1382
- "name": "per_page",
1383
- "required": false,
1384
- "default": 50,
1385
- "hasDynamicHelp": false,
1386
- "multiple": false,
1387
- "type": "option"
1388
- },
1389
- "sort": {
1390
- "description": "Sort field",
1391
- "name": "sort",
1392
- "required": false,
1393
- "default": "created_at",
1394
- "hasDynamicHelp": false,
1395
- "multiple": false,
1396
- "type": "option"
1397
- },
1398
- "workspace": {
1399
- "char": "w",
1400
- "description": "Workspace ID (optional if set in profile)",
1401
- "name": "workspace",
1402
- "required": false,
1403
- "hasDynamicHelp": false,
1404
- "multiple": false,
1405
- "type": "option"
1406
1433
  }
1407
1434
  },
1408
1435
  "hasDynamicHelp": false,
1409
1436
  "hiddenAliases": [],
1410
- "id": "function:list",
1437
+ "id": "profile:me",
1411
1438
  "pluginAlias": "@xano/cli",
1412
1439
  "pluginName": "@xano/cli",
1413
1440
  "pluginType": "core",
@@ -1417,23 +1444,33 @@
1417
1444
  "relativePath": [
1418
1445
  "dist",
1419
1446
  "commands",
1420
- "function",
1421
- "list",
1447
+ "profile",
1448
+ "me",
1422
1449
  "index.js"
1423
1450
  ]
1424
1451
  },
1425
- "profile:get_default": {
1452
+ "profile:list": {
1426
1453
  "aliases": [],
1427
1454
  "args": {},
1428
- "description": "Get the current default profile name",
1455
+ "description": "List all available profile configurations",
1429
1456
  "examples": [
1430
- "$ xano profile:get-default\nproduction\n",
1431
- "$ xano profile:get-default\nNo default profile set\n"
1457
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1458
+ "$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
1459
+ "$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
1432
1460
  ],
1433
- "flags": {},
1461
+ "flags": {
1462
+ "details": {
1463
+ "char": "d",
1464
+ "description": "Show detailed information for each profile",
1465
+ "name": "details",
1466
+ "required": false,
1467
+ "allowNo": false,
1468
+ "type": "boolean"
1469
+ }
1470
+ },
1434
1471
  "hasDynamicHelp": false,
1435
1472
  "hiddenAliases": [],
1436
- "id": "profile:get_default",
1473
+ "id": "profile:list",
1437
1474
  "pluginAlias": "@xano/cli",
1438
1475
  "pluginName": "@xano/cli",
1439
1476
  "pluginType": "core",
@@ -1444,32 +1481,22 @@
1444
1481
  "dist",
1445
1482
  "commands",
1446
1483
  "profile",
1447
- "get_default",
1484
+ "list",
1448
1485
  "index.js"
1449
1486
  ]
1450
1487
  },
1451
- "profile:list": {
1488
+ "profile:project": {
1452
1489
  "aliases": [],
1453
1490
  "args": {},
1454
- "description": "List all available profile configurations",
1491
+ "description": "Print the project for the default profile",
1455
1492
  "examples": [
1456
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1457
- "$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
1458
- "$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
1493
+ "$ xano profile:project\nmy-project-id\n",
1494
+ "$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
1459
1495
  ],
1460
- "flags": {
1461
- "details": {
1462
- "char": "d",
1463
- "description": "Show detailed information for each profile",
1464
- "name": "details",
1465
- "required": false,
1466
- "allowNo": false,
1467
- "type": "boolean"
1468
- }
1469
- },
1496
+ "flags": {},
1470
1497
  "hasDynamicHelp": false,
1471
1498
  "hiddenAliases": [],
1472
- "id": "profile:list",
1499
+ "id": "profile:project",
1473
1500
  "pluginAlias": "@xano/cli",
1474
1501
  "pluginName": "@xano/cli",
1475
1502
  "pluginType": "core",
@@ -1480,57 +1507,22 @@
1480
1507
  "dist",
1481
1508
  "commands",
1482
1509
  "profile",
1483
- "list",
1510
+ "project",
1484
1511
  "index.js"
1485
1512
  ]
1486
1513
  },
1487
- "profile:me": {
1514
+ "profile:token": {
1488
1515
  "aliases": [],
1489
1516
  "args": {},
1490
- "description": "Get information about the currently authenticated user",
1517
+ "description": "Print the access token for the default profile",
1491
1518
  "examples": [
1492
- "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1493
- "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1494
- "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1519
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1520
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1495
1521
  ],
1496
- "flags": {
1497
- "profile": {
1498
- "char": "p",
1499
- "description": "Profile to use (uses default profile if not specified)",
1500
- "env": "XANO_PROFILE",
1501
- "name": "profile",
1502
- "required": false,
1503
- "hasDynamicHelp": false,
1504
- "multiple": false,
1505
- "type": "option"
1506
- },
1507
- "verbose": {
1508
- "char": "v",
1509
- "description": "Show detailed request/response information",
1510
- "env": "XANO_VERBOSE",
1511
- "name": "verbose",
1512
- "required": false,
1513
- "allowNo": false,
1514
- "type": "boolean"
1515
- },
1516
- "output": {
1517
- "char": "o",
1518
- "description": "Output format",
1519
- "name": "output",
1520
- "required": false,
1521
- "default": "summary",
1522
- "hasDynamicHelp": false,
1523
- "multiple": false,
1524
- "options": [
1525
- "summary",
1526
- "json"
1527
- ],
1528
- "type": "option"
1529
- }
1530
- },
1522
+ "flags": {},
1531
1523
  "hasDynamicHelp": false,
1532
1524
  "hiddenAliases": [],
1533
- "id": "profile:me",
1525
+ "id": "profile:token",
1534
1526
  "pluginAlias": "@xano/cli",
1535
1527
  "pluginName": "@xano/cli",
1536
1528
  "pluginType": "core",
@@ -1541,7 +1533,7 @@
1541
1533
  "dist",
1542
1534
  "commands",
1543
1535
  "profile",
1544
- "me",
1536
+ "token",
1545
1537
  "index.js"
1546
1538
  ]
1547
1539
  },
@@ -1590,32 +1582,6 @@
1590
1582
  "index.js"
1591
1583
  ]
1592
1584
  },
1593
- "profile:token": {
1594
- "aliases": [],
1595
- "args": {},
1596
- "description": "Print the access token for the default profile",
1597
- "examples": [
1598
- "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1599
- "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1600
- ],
1601
- "flags": {},
1602
- "hasDynamicHelp": false,
1603
- "hiddenAliases": [],
1604
- "id": "profile:token",
1605
- "pluginAlias": "@xano/cli",
1606
- "pluginName": "@xano/cli",
1607
- "pluginType": "core",
1608
- "strict": true,
1609
- "enableJsonFlag": false,
1610
- "isESM": true,
1611
- "relativePath": [
1612
- "dist",
1613
- "commands",
1614
- "profile",
1615
- "token",
1616
- "index.js"
1617
- ]
1618
- },
1619
1585
  "profile:set_default": {
1620
1586
  "aliases": [],
1621
1587
  "args": {
@@ -1648,18 +1614,52 @@
1648
1614
  "index.js"
1649
1615
  ]
1650
1616
  },
1651
- "profile:project": {
1617
+ "platform:list": {
1652
1618
  "aliases": [],
1653
1619
  "args": {},
1654
- "description": "Print the project for the default profile",
1620
+ "description": "List all platforms",
1655
1621
  "examples": [
1656
- "$ xano profile:project\nmy-project-id\n",
1657
- "$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
1622
+ "$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
1623
+ "$ xano platform list --output json"
1658
1624
  ],
1659
- "flags": {},
1625
+ "flags": {
1626
+ "profile": {
1627
+ "char": "p",
1628
+ "description": "Profile to use (uses default profile if not specified)",
1629
+ "env": "XANO_PROFILE",
1630
+ "name": "profile",
1631
+ "required": false,
1632
+ "hasDynamicHelp": false,
1633
+ "multiple": false,
1634
+ "type": "option"
1635
+ },
1636
+ "verbose": {
1637
+ "char": "v",
1638
+ "description": "Show detailed request/response information",
1639
+ "env": "XANO_VERBOSE",
1640
+ "name": "verbose",
1641
+ "required": false,
1642
+ "allowNo": false,
1643
+ "type": "boolean"
1644
+ },
1645
+ "output": {
1646
+ "char": "o",
1647
+ "description": "Output format",
1648
+ "name": "output",
1649
+ "required": false,
1650
+ "default": "summary",
1651
+ "hasDynamicHelp": false,
1652
+ "multiple": false,
1653
+ "options": [
1654
+ "summary",
1655
+ "json"
1656
+ ],
1657
+ "type": "option"
1658
+ }
1659
+ },
1660
1660
  "hasDynamicHelp": false,
1661
1661
  "hiddenAliases": [],
1662
- "id": "profile:project",
1662
+ "id": "platform:list",
1663
1663
  "pluginAlias": "@xano/cli",
1664
1664
  "pluginName": "@xano/cli",
1665
1665
  "pluginType": "core",
@@ -1669,18 +1669,29 @@
1669
1669
  "relativePath": [
1670
1670
  "dist",
1671
1671
  "commands",
1672
- "profile",
1673
- "project",
1672
+ "platform",
1673
+ "list",
1674
1674
  "index.js"
1675
1675
  ]
1676
1676
  },
1677
- "release:create": {
1677
+ "run:exec": {
1678
1678
  "aliases": [],
1679
- "args": {},
1680
- "description": "Create a new release in a workspace",
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
1684
+ }
1685
+ },
1686
+ "description": "Execute XanoScript code (job or service)",
1681
1687
  "examples": [
1682
- "$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
1683
- "$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
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"
1684
1695
  ],
1685
1696
  "flags": {
1686
1697
  "profile": {
@@ -1702,36 +1713,39 @@
1702
1713
  "allowNo": false,
1703
1714
  "type": "boolean"
1704
1715
  },
1705
- "branch": {
1706
- "char": "b",
1707
- "description": "Branch to create the release from",
1708
- "name": "branch",
1709
- "required": true,
1710
- "hasDynamicHelp": false,
1711
- "multiple": false,
1712
- "type": "option"
1713
- },
1714
- "description": {
1715
- "char": "d",
1716
- "description": "Release description",
1717
- "name": "description",
1716
+ "args": {
1717
+ "char": "a",
1718
+ "description": "Path or URL to JSON file containing input arguments",
1719
+ "name": "args",
1718
1720
  "required": false,
1719
1721
  "hasDynamicHelp": false,
1720
1722
  "multiple": false,
1721
1723
  "type": "option"
1722
1724
  },
1723
- "hotfix": {
1724
- "description": "Mark as a hotfix release",
1725
- "name": "hotfix",
1725
+ "edit": {
1726
+ "char": "e",
1727
+ "description": "Open file in editor before running (requires path argument or --file)",
1728
+ "name": "edit",
1726
1729
  "required": false,
1727
1730
  "allowNo": false,
1728
1731
  "type": "boolean"
1729
1732
  },
1730
- "name": {
1731
- "char": "n",
1732
- "description": "Name for the release",
1733
- "name": "name",
1734
- "required": true,
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
+ "file": {
1742
+ "char": "f",
1743
+ "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
1744
+ "exclusive": [
1745
+ "stdin"
1746
+ ],
1747
+ "name": "file",
1748
+ "required": false,
1735
1749
  "hasDynamicHelp": false,
1736
1750
  "multiple": false,
1737
1751
  "type": "option"
@@ -1750,54 +1764,131 @@
1750
1764
  ],
1751
1765
  "type": "option"
1752
1766
  },
1753
- "table-ids": {
1754
- "description": "Comma-separated table IDs to include",
1755
- "name": "table-ids",
1767
+ "stdin": {
1768
+ "char": "s",
1769
+ "description": "Read XanoScript code from stdin",
1770
+ "exclusive": [
1771
+ "file"
1772
+ ],
1773
+ "name": "stdin",
1774
+ "required": false,
1775
+ "allowNo": false,
1776
+ "type": "boolean"
1777
+ }
1778
+ },
1779
+ "hasDynamicHelp": false,
1780
+ "hiddenAliases": [],
1781
+ "id": "run:exec",
1782
+ "pluginAlias": "@xano/cli",
1783
+ "pluginName": "@xano/cli",
1784
+ "pluginType": "core",
1785
+ "strict": true,
1786
+ "isESM": true,
1787
+ "relativePath": [
1788
+ "dist",
1789
+ "commands",
1790
+ "run",
1791
+ "exec",
1792
+ "index.js"
1793
+ ]
1794
+ },
1795
+ "run:info": {
1796
+ "aliases": [],
1797
+ "args": {},
1798
+ "description": "Get information about a XanoScript document (type, inputs, env vars)",
1799
+ "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"
1803
+ ],
1804
+ "flags": {
1805
+ "profile": {
1806
+ "char": "p",
1807
+ "description": "Profile to use (uses default profile if not specified)",
1808
+ "env": "XANO_PROFILE",
1809
+ "name": "profile",
1756
1810
  "required": false,
1757
1811
  "hasDynamicHelp": false,
1758
1812
  "multiple": false,
1759
1813
  "type": "option"
1760
1814
  },
1761
- "workspace": {
1762
- "char": "w",
1763
- "description": "Workspace ID (uses profile workspace if not provided)",
1764
- "name": "workspace",
1815
+ "verbose": {
1816
+ "char": "v",
1817
+ "description": "Show detailed request/response information",
1818
+ "env": "XANO_VERBOSE",
1819
+ "name": "verbose",
1820
+ "required": false,
1821
+ "allowNo": false,
1822
+ "type": "boolean"
1823
+ },
1824
+ "file": {
1825
+ "char": "f",
1826
+ "description": "Path or URL to file containing XanoScript code",
1827
+ "exclusive": [
1828
+ "stdin"
1829
+ ],
1830
+ "name": "file",
1765
1831
  "required": false,
1766
1832
  "hasDynamicHelp": false,
1767
1833
  "multiple": false,
1768
1834
  "type": "option"
1835
+ },
1836
+ "output": {
1837
+ "char": "o",
1838
+ "description": "Output format",
1839
+ "name": "output",
1840
+ "required": false,
1841
+ "default": "summary",
1842
+ "hasDynamicHelp": false,
1843
+ "multiple": false,
1844
+ "options": [
1845
+ "summary",
1846
+ "json"
1847
+ ],
1848
+ "type": "option"
1849
+ },
1850
+ "stdin": {
1851
+ "char": "s",
1852
+ "description": "Read XanoScript code from stdin",
1853
+ "exclusive": [
1854
+ "file"
1855
+ ],
1856
+ "name": "stdin",
1857
+ "required": false,
1858
+ "allowNo": false,
1859
+ "type": "boolean"
1769
1860
  }
1770
1861
  },
1771
1862
  "hasDynamicHelp": false,
1772
1863
  "hiddenAliases": [],
1773
- "id": "release:create",
1864
+ "id": "run:info",
1774
1865
  "pluginAlias": "@xano/cli",
1775
1866
  "pluginName": "@xano/cli",
1776
1867
  "pluginType": "core",
1777
1868
  "strict": true,
1778
- "enableJsonFlag": false,
1779
1869
  "isESM": true,
1780
1870
  "relativePath": [
1781
1871
  "dist",
1782
1872
  "commands",
1783
- "release",
1784
- "create",
1873
+ "run",
1874
+ "info",
1785
1875
  "index.js"
1786
1876
  ]
1787
1877
  },
1788
- "release:edit": {
1878
+ "release:delete": {
1789
1879
  "aliases": [],
1790
1880
  "args": {
1791
1881
  "release_id": {
1792
- "description": "Release ID to edit",
1882
+ "description": "Release ID to delete",
1793
1883
  "name": "release_id",
1794
1884
  "required": true
1795
1885
  }
1796
1886
  },
1797
- "description": "Edit an existing release",
1887
+ "description": "Delete a release permanently. This action cannot be undone.",
1798
1888
  "examples": [
1799
- "$ xano release edit 10 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
1800
- "$ xano release edit 10 --description \"New description\" -o json"
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"
1801
1892
  ],
1802
1893
  "flags": {
1803
1894
  "profile": {
@@ -1819,23 +1910,13 @@
1819
1910
  "allowNo": false,
1820
1911
  "type": "boolean"
1821
1912
  },
1822
- "description": {
1823
- "char": "d",
1824
- "description": "New description",
1825
- "name": "description",
1826
- "required": false,
1827
- "hasDynamicHelp": false,
1828
- "multiple": false,
1829
- "type": "option"
1830
- },
1831
- "name": {
1832
- "char": "n",
1833
- "description": "New name for the release",
1834
- "name": "name",
1913
+ "force": {
1914
+ "char": "f",
1915
+ "description": "Skip confirmation prompt",
1916
+ "name": "force",
1835
1917
  "required": false,
1836
- "hasDynamicHelp": false,
1837
- "multiple": false,
1838
- "type": "option"
1918
+ "allowNo": false,
1919
+ "type": "boolean"
1839
1920
  },
1840
1921
  "output": {
1841
1922
  "char": "o",
@@ -1863,7 +1944,7 @@
1863
1944
  },
1864
1945
  "hasDynamicHelp": false,
1865
1946
  "hiddenAliases": [],
1866
- "id": "release:edit",
1947
+ "id": "release:delete",
1867
1948
  "pluginAlias": "@xano/cli",
1868
1949
  "pluginName": "@xano/cli",
1869
1950
  "pluginType": "core",
@@ -1874,24 +1955,17 @@
1874
1955
  "dist",
1875
1956
  "commands",
1876
1957
  "release",
1877
- "edit",
1958
+ "delete",
1878
1959
  "index.js"
1879
1960
  ]
1880
1961
  },
1881
- "release:delete": {
1962
+ "release:create": {
1882
1963
  "aliases": [],
1883
- "args": {
1884
- "release_id": {
1885
- "description": "Release ID to delete",
1886
- "name": "release_id",
1887
- "required": true
1888
- }
1889
- },
1890
- "description": "Delete a release permanently. This action cannot be undone.",
1964
+ "args": {},
1965
+ "description": "Create a new release in a workspace",
1891
1966
  "examples": [
1892
- "$ 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",
1893
- "$ xano release delete 10 --force\nDeleted release #10\n",
1894
- "$ xano release delete 10 -f -o json"
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"
1895
1969
  ],
1896
1970
  "flags": {
1897
1971
  "profile": {
@@ -1913,14 +1987,40 @@
1913
1987
  "allowNo": false,
1914
1988
  "type": "boolean"
1915
1989
  },
1916
- "force": {
1917
- "char": "f",
1918
- "description": "Skip confirmation prompt",
1919
- "name": "force",
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",
1920
2011
  "required": false,
1921
2012
  "allowNo": false,
1922
2013
  "type": "boolean"
1923
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
+ },
1924
2024
  "output": {
1925
2025
  "char": "o",
1926
2026
  "description": "Output format",
@@ -1935,6 +2035,14 @@
1935
2035
  ],
1936
2036
  "type": "option"
1937
2037
  },
2038
+ "table-ids": {
2039
+ "description": "Comma-separated table IDs to include",
2040
+ "name": "table-ids",
2041
+ "required": false,
2042
+ "hasDynamicHelp": false,
2043
+ "multiple": false,
2044
+ "type": "option"
2045
+ },
1938
2046
  "workspace": {
1939
2047
  "char": "w",
1940
2048
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -1947,7 +2055,7 @@
1947
2055
  },
1948
2056
  "hasDynamicHelp": false,
1949
2057
  "hiddenAliases": [],
1950
- "id": "release:delete",
2058
+ "id": "release:create",
1951
2059
  "pluginAlias": "@xano/cli",
1952
2060
  "pluginName": "@xano/cli",
1953
2061
  "pluginType": "core",
@@ -1958,23 +2066,23 @@
1958
2066
  "dist",
1959
2067
  "commands",
1960
2068
  "release",
1961
- "delete",
2069
+ "create",
1962
2070
  "index.js"
1963
2071
  ]
1964
2072
  },
1965
- "release:get": {
2073
+ "release:edit": {
1966
2074
  "aliases": [],
1967
2075
  "args": {
1968
2076
  "release_id": {
1969
- "description": "Release ID to retrieve",
2077
+ "description": "Release ID to edit",
1970
2078
  "name": "release_id",
1971
2079
  "required": true
1972
2080
  }
1973
2081
  },
1974
- "description": "Get details of a specific release",
2082
+ "description": "Edit an existing release",
1975
2083
  "examples": [
1976
- "$ xano release get 10\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
1977
- "$ xano release get 10 -w 5 -o json"
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"
1978
2086
  ],
1979
2087
  "flags": {
1980
2088
  "profile": {
@@ -1996,6 +2104,24 @@
1996
2104
  "allowNo": false,
1997
2105
  "type": "boolean"
1998
2106
  },
2107
+ "description": {
2108
+ "char": "d",
2109
+ "description": "New description",
2110
+ "name": "description",
2111
+ "required": false,
2112
+ "hasDynamicHelp": false,
2113
+ "multiple": false,
2114
+ "type": "option"
2115
+ },
2116
+ "name": {
2117
+ "char": "n",
2118
+ "description": "New name for the release",
2119
+ "name": "name",
2120
+ "required": false,
2121
+ "hasDynamicHelp": false,
2122
+ "multiple": false,
2123
+ "type": "option"
2124
+ },
1999
2125
  "output": {
2000
2126
  "char": "o",
2001
2127
  "description": "Output format",
@@ -2022,7 +2148,7 @@
2022
2148
  },
2023
2149
  "hasDynamicHelp": false,
2024
2150
  "hiddenAliases": [],
2025
- "id": "release:get",
2151
+ "id": "release:edit",
2026
2152
  "pluginAlias": "@xano/cli",
2027
2153
  "pluginName": "@xano/cli",
2028
2154
  "pluginType": "core",
@@ -2033,7 +2159,7 @@
2033
2159
  "dist",
2034
2160
  "commands",
2035
2161
  "release",
2036
- "get",
2162
+ "edit",
2037
2163
  "index.js"
2038
2164
  ]
2039
2165
  },
@@ -2115,13 +2241,20 @@
2115
2241
  "index.js"
2116
2242
  ]
2117
2243
  },
2118
- "release:list": {
2244
+ "release:export": {
2119
2245
  "aliases": [],
2120
- "args": {},
2121
- "description": "List all releases in a workspace",
2246
+ "args": {
2247
+ "release_id": {
2248
+ "description": "Release ID to export",
2249
+ "name": "release_id",
2250
+ "required": true
2251
+ }
2252
+ },
2253
+ "description": "Export (download) a release to a local file",
2122
2254
  "examples": [
2123
- "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2124
- "$ xano release list -w 5 --output json"
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"
2125
2258
  ],
2126
2259
  "flags": {
2127
2260
  "profile": {
@@ -2143,10 +2276,10 @@
2143
2276
  "allowNo": false,
2144
2277
  "type": "boolean"
2145
2278
  },
2146
- "output": {
2279
+ "format": {
2147
2280
  "char": "o",
2148
2281
  "description": "Output format",
2149
- "name": "output",
2282
+ "name": "format",
2150
2283
  "required": false,
2151
2284
  "default": "summary",
2152
2285
  "hasDynamicHelp": false,
@@ -2157,6 +2290,14 @@
2157
2290
  ],
2158
2291
  "type": "option"
2159
2292
  },
2293
+ "output": {
2294
+ "description": "Output file path (defaults to ./release-{id}.tar.gz)",
2295
+ "name": "output",
2296
+ "required": false,
2297
+ "hasDynamicHelp": false,
2298
+ "multiple": false,
2299
+ "type": "option"
2300
+ },
2160
2301
  "workspace": {
2161
2302
  "char": "w",
2162
2303
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2169,7 +2310,7 @@
2169
2310
  },
2170
2311
  "hasDynamicHelp": false,
2171
2312
  "hiddenAliases": [],
2172
- "id": "release:list",
2313
+ "id": "release:export",
2173
2314
  "pluginAlias": "@xano/cli",
2174
2315
  "pluginName": "@xano/cli",
2175
2316
  "pluginType": "core",
@@ -2180,28 +2321,23 @@
2180
2321
  "dist",
2181
2322
  "commands",
2182
2323
  "release",
2183
- "list",
2324
+ "export",
2184
2325
  "index.js"
2185
2326
  ]
2186
2327
  },
2187
- "run:exec": {
2328
+ "release:get": {
2188
2329
  "aliases": [],
2189
2330
  "args": {
2190
- "path": {
2191
- "description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
2192
- "name": "path",
2193
- "required": false
2331
+ "release_id": {
2332
+ "description": "Release ID to retrieve",
2333
+ "name": "release_id",
2334
+ "required": true
2194
2335
  }
2195
2336
  },
2196
- "description": "Execute XanoScript code (job or service)",
2337
+ "description": "Get details of a specific release",
2197
2338
  "examples": [
2198
- "$ xano run exec script.xs\nExecuted successfully!\n...\n",
2199
- "$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
2200
- "$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
2201
- "$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
2202
- "$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
2203
- "$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
2204
- "$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
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"
2205
2341
  ],
2206
2342
  "flags": {
2207
2343
  "profile": {
@@ -2223,43 +2359,6 @@
2223
2359
  "allowNo": false,
2224
2360
  "type": "boolean"
2225
2361
  },
2226
- "args": {
2227
- "char": "a",
2228
- "description": "Path or URL to JSON file containing input arguments",
2229
- "name": "args",
2230
- "required": false,
2231
- "hasDynamicHelp": false,
2232
- "multiple": false,
2233
- "type": "option"
2234
- },
2235
- "edit": {
2236
- "char": "e",
2237
- "description": "Open file in editor before running (requires path argument or --file)",
2238
- "name": "edit",
2239
- "required": false,
2240
- "allowNo": false,
2241
- "type": "boolean"
2242
- },
2243
- "env": {
2244
- "description": "Environment variable override (key=value)",
2245
- "name": "env",
2246
- "required": false,
2247
- "hasDynamicHelp": false,
2248
- "multiple": true,
2249
- "type": "option"
2250
- },
2251
- "file": {
2252
- "char": "f",
2253
- "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
2254
- "exclusive": [
2255
- "stdin"
2256
- ],
2257
- "name": "file",
2258
- "required": false,
2259
- "hasDynamicHelp": false,
2260
- "multiple": false,
2261
- "type": "option"
2262
- },
2263
2362
  "output": {
2264
2363
  "char": "o",
2265
2364
  "description": "Output format",
@@ -2274,42 +2373,40 @@
2274
2373
  ],
2275
2374
  "type": "option"
2276
2375
  },
2277
- "stdin": {
2278
- "char": "s",
2279
- "description": "Read XanoScript code from stdin",
2280
- "exclusive": [
2281
- "file"
2282
- ],
2283
- "name": "stdin",
2376
+ "workspace": {
2377
+ "char": "w",
2378
+ "description": "Workspace ID (uses profile workspace if not provided)",
2379
+ "name": "workspace",
2284
2380
  "required": false,
2285
- "allowNo": false,
2286
- "type": "boolean"
2381
+ "hasDynamicHelp": false,
2382
+ "multiple": false,
2383
+ "type": "option"
2287
2384
  }
2288
2385
  },
2289
2386
  "hasDynamicHelp": false,
2290
2387
  "hiddenAliases": [],
2291
- "id": "run:exec",
2388
+ "id": "release:get",
2292
2389
  "pluginAlias": "@xano/cli",
2293
2390
  "pluginName": "@xano/cli",
2294
2391
  "pluginType": "core",
2295
2392
  "strict": true,
2393
+ "enableJsonFlag": false,
2296
2394
  "isESM": true,
2297
2395
  "relativePath": [
2298
2396
  "dist",
2299
2397
  "commands",
2300
- "run",
2301
- "exec",
2398
+ "release",
2399
+ "get",
2302
2400
  "index.js"
2303
2401
  ]
2304
2402
  },
2305
- "run:info": {
2403
+ "release:list": {
2306
2404
  "aliases": [],
2307
2405
  "args": {},
2308
- "description": "Get information about a XanoScript document (type, inputs, env vars)",
2406
+ "description": "List all releases in a workspace",
2309
2407
  "examples": [
2310
- "$ 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",
2311
- "$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
2312
- "$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
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"
2313
2410
  ],
2314
2411
  "flags": {
2315
2412
  "profile": {
@@ -2331,18 +2428,6 @@
2331
2428
  "allowNo": false,
2332
2429
  "type": "boolean"
2333
2430
  },
2334
- "file": {
2335
- "char": "f",
2336
- "description": "Path or URL to file containing XanoScript code",
2337
- "exclusive": [
2338
- "stdin"
2339
- ],
2340
- "name": "file",
2341
- "required": false,
2342
- "hasDynamicHelp": false,
2343
- "multiple": false,
2344
- "type": "option"
2345
- },
2346
2431
  "output": {
2347
2432
  "char": "o",
2348
2433
  "description": "Output format",
@@ -2357,48 +2442,47 @@
2357
2442
  ],
2358
2443
  "type": "option"
2359
2444
  },
2360
- "stdin": {
2361
- "char": "s",
2362
- "description": "Read XanoScript code from stdin",
2363
- "exclusive": [
2364
- "file"
2365
- ],
2366
- "name": "stdin",
2445
+ "workspace": {
2446
+ "char": "w",
2447
+ "description": "Workspace ID (uses profile workspace if not provided)",
2448
+ "name": "workspace",
2367
2449
  "required": false,
2368
- "allowNo": false,
2369
- "type": "boolean"
2450
+ "hasDynamicHelp": false,
2451
+ "multiple": false,
2452
+ "type": "option"
2370
2453
  }
2371
2454
  },
2372
2455
  "hasDynamicHelp": false,
2373
2456
  "hiddenAliases": [],
2374
- "id": "run:info",
2457
+ "id": "release:list",
2375
2458
  "pluginAlias": "@xano/cli",
2376
2459
  "pluginName": "@xano/cli",
2377
2460
  "pluginType": "core",
2378
2461
  "strict": true,
2462
+ "enableJsonFlag": false,
2379
2463
  "isESM": true,
2380
2464
  "relativePath": [
2381
2465
  "dist",
2382
2466
  "commands",
2383
- "run",
2384
- "info",
2467
+ "release",
2468
+ "list",
2385
2469
  "index.js"
2386
2470
  ]
2387
2471
  },
2388
- "release:export": {
2472
+ "tenant:delete": {
2389
2473
  "aliases": [],
2390
2474
  "args": {
2391
- "release_id": {
2392
- "description": "Release ID to export",
2393
- "name": "release_id",
2475
+ "tenant_name": {
2476
+ "description": "Tenant name to delete",
2477
+ "name": "tenant_name",
2394
2478
  "required": true
2395
2479
  }
2396
2480
  },
2397
- "description": "Export (download) a release to a local file",
2481
+ "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
2398
2482
  "examples": [
2399
- "$ xano release export 10\nDownloaded release #10 to ./release-10.tar.gz\n",
2400
- "$ xano release export 10 --output ./backups/my-release.tar.gz",
2401
- "$ xano release export 10 -o json"
2483
+ "$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
2484
+ "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
2485
+ "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
2402
2486
  ],
2403
2487
  "flags": {
2404
2488
  "profile": {
@@ -2420,10 +2504,18 @@
2420
2504
  "allowNo": false,
2421
2505
  "type": "boolean"
2422
2506
  },
2423
- "format": {
2507
+ "force": {
2508
+ "char": "f",
2509
+ "description": "Skip confirmation prompt",
2510
+ "name": "force",
2511
+ "required": false,
2512
+ "allowNo": false,
2513
+ "type": "boolean"
2514
+ },
2515
+ "output": {
2424
2516
  "char": "o",
2425
2517
  "description": "Output format",
2426
- "name": "format",
2518
+ "name": "output",
2427
2519
  "required": false,
2428
2520
  "default": "summary",
2429
2521
  "hasDynamicHelp": false,
@@ -2434,14 +2526,6 @@
2434
2526
  ],
2435
2527
  "type": "option"
2436
2528
  },
2437
- "output": {
2438
- "description": "Output file path (defaults to ./release-{id}.tar.gz)",
2439
- "name": "output",
2440
- "required": false,
2441
- "hasDynamicHelp": false,
2442
- "multiple": false,
2443
- "type": "option"
2444
- },
2445
2529
  "workspace": {
2446
2530
  "char": "w",
2447
2531
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2454,7 +2538,7 @@
2454
2538
  },
2455
2539
  "hasDynamicHelp": false,
2456
2540
  "hiddenAliases": [],
2457
- "id": "release:export",
2541
+ "id": "tenant:delete",
2458
2542
  "pluginAlias": "@xano/cli",
2459
2543
  "pluginName": "@xano/cli",
2460
2544
  "pluginType": "core",
@@ -2464,20 +2548,24 @@
2464
2548
  "relativePath": [
2465
2549
  "dist",
2466
2550
  "commands",
2467
- "release",
2468
- "export",
2551
+ "tenant",
2552
+ "delete",
2469
2553
  "index.js"
2470
2554
  ]
2471
2555
  },
2472
- "static_host:list": {
2556
+ "tenant:deploy_release": {
2473
2557
  "aliases": [],
2474
- "args": {},
2475
- "description": "List all static hosts in a workspace from the Xano Metadata API",
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",
2476
2566
  "examples": [
2477
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2478
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2479
- "$ 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",
2480
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
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"
2481
2569
  ],
2482
2570
  "flags": {
2483
2571
  "profile": {
@@ -2513,27 +2601,17 @@
2513
2601
  ],
2514
2602
  "type": "option"
2515
2603
  },
2516
- "page": {
2517
- "description": "Page number for pagination",
2518
- "name": "page",
2519
- "required": false,
2520
- "default": 1,
2521
- "hasDynamicHelp": false,
2522
- "multiple": false,
2523
- "type": "option"
2524
- },
2525
- "per_page": {
2526
- "description": "Number of results per page",
2527
- "name": "per_page",
2528
- "required": false,
2529
- "default": 50,
2604
+ "release-id": {
2605
+ "description": "Release ID to deploy",
2606
+ "name": "release-id",
2607
+ "required": true,
2530
2608
  "hasDynamicHelp": false,
2531
2609
  "multiple": false,
2532
2610
  "type": "option"
2533
2611
  },
2534
2612
  "workspace": {
2535
2613
  "char": "w",
2536
- "description": "Workspace ID (optional if set in profile)",
2614
+ "description": "Workspace ID (uses profile workspace if not provided)",
2537
2615
  "name": "workspace",
2538
2616
  "required": false,
2539
2617
  "hasDynamicHelp": false,
@@ -2543,7 +2621,7 @@
2543
2621
  },
2544
2622
  "hasDynamicHelp": false,
2545
2623
  "hiddenAliases": [],
2546
- "id": "static_host:list",
2624
+ "id": "tenant:deploy_release",
2547
2625
  "pluginAlias": "@xano/cli",
2548
2626
  "pluginName": "@xano/cli",
2549
2627
  "pluginType": "core",
@@ -2553,8 +2631,8 @@
2553
2631
  "relativePath": [
2554
2632
  "dist",
2555
2633
  "commands",
2556
- "static_host",
2557
- "list",
2634
+ "tenant",
2635
+ "deploy_release",
2558
2636
  "index.js"
2559
2637
  ]
2560
2638
  },
@@ -2694,90 +2772,6 @@
2694
2772
  "index.js"
2695
2773
  ]
2696
2774
  },
2697
- "tenant:delete": {
2698
- "aliases": [],
2699
- "args": {
2700
- "tenant_name": {
2701
- "description": "Tenant name to delete",
2702
- "name": "tenant_name",
2703
- "required": true
2704
- }
2705
- },
2706
- "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
2707
- "examples": [
2708
- "$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
2709
- "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
2710
- "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
2711
- ],
2712
- "flags": {
2713
- "profile": {
2714
- "char": "p",
2715
- "description": "Profile to use (uses default profile if not specified)",
2716
- "env": "XANO_PROFILE",
2717
- "name": "profile",
2718
- "required": false,
2719
- "hasDynamicHelp": false,
2720
- "multiple": false,
2721
- "type": "option"
2722
- },
2723
- "verbose": {
2724
- "char": "v",
2725
- "description": "Show detailed request/response information",
2726
- "env": "XANO_VERBOSE",
2727
- "name": "verbose",
2728
- "required": false,
2729
- "allowNo": false,
2730
- "type": "boolean"
2731
- },
2732
- "force": {
2733
- "char": "f",
2734
- "description": "Skip confirmation prompt",
2735
- "name": "force",
2736
- "required": false,
2737
- "allowNo": false,
2738
- "type": "boolean"
2739
- },
2740
- "output": {
2741
- "char": "o",
2742
- "description": "Output format",
2743
- "name": "output",
2744
- "required": false,
2745
- "default": "summary",
2746
- "hasDynamicHelp": false,
2747
- "multiple": false,
2748
- "options": [
2749
- "summary",
2750
- "json"
2751
- ],
2752
- "type": "option"
2753
- },
2754
- "workspace": {
2755
- "char": "w",
2756
- "description": "Workspace ID (uses profile workspace if not provided)",
2757
- "name": "workspace",
2758
- "required": false,
2759
- "hasDynamicHelp": false,
2760
- "multiple": false,
2761
- "type": "option"
2762
- }
2763
- },
2764
- "hasDynamicHelp": false,
2765
- "hiddenAliases": [],
2766
- "id": "tenant:delete",
2767
- "pluginAlias": "@xano/cli",
2768
- "pluginName": "@xano/cli",
2769
- "pluginType": "core",
2770
- "strict": true,
2771
- "enableJsonFlag": false,
2772
- "isESM": true,
2773
- "relativePath": [
2774
- "dist",
2775
- "commands",
2776
- "tenant",
2777
- "delete",
2778
- "index.js"
2779
- ]
2780
- },
2781
2775
  "tenant:deploy_platform": {
2782
2776
  "aliases": [],
2783
2777
  "args": {
@@ -2990,19 +2984,19 @@
2990
2984
  "index.js"
2991
2985
  ]
2992
2986
  },
2993
- "tenant:deploy_release": {
2987
+ "tenant:get": {
2994
2988
  "aliases": [],
2995
2989
  "args": {
2996
2990
  "tenant_name": {
2997
- "description": "Tenant name to deploy to",
2991
+ "description": "Tenant name to retrieve",
2998
2992
  "name": "tenant_name",
2999
2993
  "required": true
3000
2994
  }
3001
2995
  },
3002
- "description": "Deploy a release to a tenant",
2996
+ "description": "Get details of a specific tenant",
3003
2997
  "examples": [
3004
- "$ xano tenant deploy-release t1234-abcd-xyz1 --release-id 10\nDeployed release 10 to tenant: My Tenant (my-tenant)\n",
3005
- "$ xano tenant deploy-release t1234-abcd-xyz1 --release-id 10 -o json"
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"
3006
3000
  ],
3007
3001
  "flags": {
3008
3002
  "profile": {
@@ -3038,14 +3032,6 @@
3038
3032
  ],
3039
3033
  "type": "option"
3040
3034
  },
3041
- "release-id": {
3042
- "description": "Release ID to deploy",
3043
- "name": "release-id",
3044
- "required": true,
3045
- "hasDynamicHelp": false,
3046
- "multiple": false,
3047
- "type": "option"
3048
- },
3049
3035
  "workspace": {
3050
3036
  "char": "w",
3051
3037
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3058,7 +3044,7 @@
3058
3044
  },
3059
3045
  "hasDynamicHelp": false,
3060
3046
  "hiddenAliases": [],
3061
- "id": "tenant:deploy_release",
3047
+ "id": "tenant:get",
3062
3048
  "pluginAlias": "@xano/cli",
3063
3049
  "pluginName": "@xano/cli",
3064
3050
  "pluginType": "core",
@@ -3069,7 +3055,7 @@
3069
3055
  "dist",
3070
3056
  "commands",
3071
3057
  "tenant",
3072
- "deploy_release",
3058
+ "get",
3073
3059
  "index.js"
3074
3060
  ]
3075
3061
  },
@@ -3142,20 +3128,108 @@
3142
3128
  "index.js"
3143
3129
  ]
3144
3130
  },
3145
- "workflow_test:get": {
3131
+ "static_host:list": {
3132
+ "aliases": [],
3133
+ "args": {},
3134
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
3135
+ "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"
3140
+ ],
3141
+ "flags": {
3142
+ "profile": {
3143
+ "char": "p",
3144
+ "description": "Profile to use (uses default profile if not specified)",
3145
+ "env": "XANO_PROFILE",
3146
+ "name": "profile",
3147
+ "required": false,
3148
+ "hasDynamicHelp": false,
3149
+ "multiple": false,
3150
+ "type": "option"
3151
+ },
3152
+ "verbose": {
3153
+ "char": "v",
3154
+ "description": "Show detailed request/response information",
3155
+ "env": "XANO_VERBOSE",
3156
+ "name": "verbose",
3157
+ "required": false,
3158
+ "allowNo": false,
3159
+ "type": "boolean"
3160
+ },
3161
+ "output": {
3162
+ "char": "o",
3163
+ "description": "Output format",
3164
+ "name": "output",
3165
+ "required": false,
3166
+ "default": "summary",
3167
+ "hasDynamicHelp": false,
3168
+ "multiple": false,
3169
+ "options": [
3170
+ "summary",
3171
+ "json"
3172
+ ],
3173
+ "type": "option"
3174
+ },
3175
+ "page": {
3176
+ "description": "Page number for pagination",
3177
+ "name": "page",
3178
+ "required": false,
3179
+ "default": 1,
3180
+ "hasDynamicHelp": false,
3181
+ "multiple": false,
3182
+ "type": "option"
3183
+ },
3184
+ "per_page": {
3185
+ "description": "Number of results per page",
3186
+ "name": "per_page",
3187
+ "required": false,
3188
+ "default": 50,
3189
+ "hasDynamicHelp": false,
3190
+ "multiple": false,
3191
+ "type": "option"
3192
+ },
3193
+ "workspace": {
3194
+ "char": "w",
3195
+ "description": "Workspace ID (optional if set in profile)",
3196
+ "name": "workspace",
3197
+ "required": false,
3198
+ "hasDynamicHelp": false,
3199
+ "multiple": false,
3200
+ "type": "option"
3201
+ }
3202
+ },
3203
+ "hasDynamicHelp": false,
3204
+ "hiddenAliases": [],
3205
+ "id": "static_host:list",
3206
+ "pluginAlias": "@xano/cli",
3207
+ "pluginName": "@xano/cli",
3208
+ "pluginType": "core",
3209
+ "strict": true,
3210
+ "enableJsonFlag": false,
3211
+ "isESM": true,
3212
+ "relativePath": [
3213
+ "dist",
3214
+ "commands",
3215
+ "static_host",
3216
+ "list",
3217
+ "index.js"
3218
+ ]
3219
+ },
3220
+ "workflow_test:delete": {
3146
3221
  "aliases": [],
3147
3222
  "args": {
3148
3223
  "workflow_test_id": {
3149
- "description": "ID of the workflow test",
3224
+ "description": "ID of the workflow test to delete",
3150
3225
  "name": "workflow_test_id",
3151
3226
  "required": true
3152
3227
  }
3153
3228
  },
3154
- "description": "Get a specific workflow test",
3229
+ "description": "Delete a workflow test",
3155
3230
  "examples": [
3156
- "$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
3157
- "$ xano workflow-test get 1 -o xs",
3158
- "$ xano workflow-test get 1 -o json"
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"
3159
3233
  ],
3160
3234
  "flags": {
3161
3235
  "profile": {
@@ -3176,10 +3250,11 @@
3176
3250
  "required": false,
3177
3251
  "allowNo": false,
3178
3252
  "type": "boolean"
3179
- },
3180
- "include-draft": {
3181
- "description": "Include draft version",
3182
- "name": "include-draft",
3253
+ },
3254
+ "force": {
3255
+ "char": "f",
3256
+ "description": "Skip confirmation prompt",
3257
+ "name": "force",
3183
3258
  "required": false,
3184
3259
  "allowNo": false,
3185
3260
  "type": "boolean"
@@ -3194,8 +3269,7 @@
3194
3269
  "multiple": false,
3195
3270
  "options": [
3196
3271
  "summary",
3197
- "json",
3198
- "xs"
3272
+ "json"
3199
3273
  ],
3200
3274
  "type": "option"
3201
3275
  },
@@ -3211,7 +3285,7 @@
3211
3285
  },
3212
3286
  "hasDynamicHelp": false,
3213
3287
  "hiddenAliases": [],
3214
- "id": "workflow_test:get",
3288
+ "id": "workflow_test:delete",
3215
3289
  "pluginAlias": "@xano/cli",
3216
3290
  "pluginName": "@xano/cli",
3217
3291
  "pluginType": "core",
@@ -3222,23 +3296,24 @@
3222
3296
  "dist",
3223
3297
  "commands",
3224
3298
  "workflow_test",
3225
- "get",
3299
+ "delete",
3226
3300
  "index.js"
3227
3301
  ]
3228
3302
  },
3229
- "workflow_test:delete": {
3303
+ "workflow_test:get": {
3230
3304
  "aliases": [],
3231
3305
  "args": {
3232
3306
  "workflow_test_id": {
3233
- "description": "ID of the workflow test to delete",
3307
+ "description": "ID of the workflow test",
3234
3308
  "name": "workflow_test_id",
3235
3309
  "required": true
3236
3310
  }
3237
3311
  },
3238
- "description": "Delete a workflow test",
3312
+ "description": "Get a specific workflow test",
3239
3313
  "examples": [
3240
- "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
3241
- "$ xano workflow-test delete 1 --force"
3314
+ "$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
3315
+ "$ xano workflow-test get 1 -o xs",
3316
+ "$ xano workflow-test get 1 -o json"
3242
3317
  ],
3243
3318
  "flags": {
3244
3319
  "profile": {
@@ -3260,10 +3335,9 @@
3260
3335
  "allowNo": false,
3261
3336
  "type": "boolean"
3262
3337
  },
3263
- "force": {
3264
- "char": "f",
3265
- "description": "Skip confirmation prompt",
3266
- "name": "force",
3338
+ "include-draft": {
3339
+ "description": "Include draft version",
3340
+ "name": "include-draft",
3267
3341
  "required": false,
3268
3342
  "allowNo": false,
3269
3343
  "type": "boolean"
@@ -3278,7 +3352,8 @@
3278
3352
  "multiple": false,
3279
3353
  "options": [
3280
3354
  "summary",
3281
- "json"
3355
+ "json",
3356
+ "xs"
3282
3357
  ],
3283
3358
  "type": "option"
3284
3359
  },
@@ -3294,7 +3369,7 @@
3294
3369
  },
3295
3370
  "hasDynamicHelp": false,
3296
3371
  "hiddenAliases": [],
3297
- "id": "workflow_test:delete",
3372
+ "id": "workflow_test:get",
3298
3373
  "pluginAlias": "@xano/cli",
3299
3374
  "pluginName": "@xano/cli",
3300
3375
  "pluginType": "core",
@@ -3305,7 +3380,7 @@
3305
3380
  "dist",
3306
3381
  "commands",
3307
3382
  "workflow_test",
3308
- "delete",
3383
+ "get",
3309
3384
  "index.js"
3310
3385
  ]
3311
3386
  },
@@ -3388,19 +3463,19 @@
3388
3463
  "index.js"
3389
3464
  ]
3390
3465
  },
3391
- "tenant:get": {
3466
+ "workflow_test:run": {
3392
3467
  "aliases": [],
3393
3468
  "args": {
3394
- "tenant_name": {
3395
- "description": "Tenant name to retrieve",
3396
- "name": "tenant_name",
3469
+ "workflow_test_id": {
3470
+ "description": "ID of the workflow test to run",
3471
+ "name": "workflow_test_id",
3397
3472
  "required": true
3398
3473
  }
3399
3474
  },
3400
- "description": "Get details of a specific tenant",
3475
+ "description": "Run a workflow test",
3401
3476
  "examples": [
3402
- "$ 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",
3403
- "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3477
+ "$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
3478
+ "$ xano workflow-test run 1 -o json"
3404
3479
  ],
3405
3480
  "flags": {
3406
3481
  "profile": {
@@ -3448,7 +3523,7 @@
3448
3523
  },
3449
3524
  "hasDynamicHelp": false,
3450
3525
  "hiddenAliases": [],
3451
- "id": "tenant:get",
3526
+ "id": "workflow_test:run",
3452
3527
  "pluginAlias": "@xano/cli",
3453
3528
  "pluginName": "@xano/cli",
3454
3529
  "pluginType": "core",
@@ -3458,24 +3533,25 @@
3458
3533
  "relativePath": [
3459
3534
  "dist",
3460
3535
  "commands",
3461
- "tenant",
3462
- "get",
3536
+ "workflow_test",
3537
+ "run",
3463
3538
  "index.js"
3464
3539
  ]
3465
3540
  },
3466
- "workflow_test:run": {
3541
+ "workspace:create": {
3467
3542
  "aliases": [],
3468
3543
  "args": {
3469
- "workflow_test_id": {
3470
- "description": "ID of the workflow test to run",
3471
- "name": "workflow_test_id",
3544
+ "name": {
3545
+ "description": "Name of the workspace",
3546
+ "name": "name",
3472
3547
  "required": true
3473
3548
  }
3474
3549
  },
3475
- "description": "Run a workflow test",
3550
+ "description": "Create a new workspace via the Xano Metadata API",
3476
3551
  "examples": [
3477
- "$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
3478
- "$ xano workflow-test run 1 -o json"
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"
3479
3555
  ],
3480
3556
  "flags": {
3481
3557
  "profile": {
@@ -3497,6 +3573,15 @@
3497
3573
  "allowNo": false,
3498
3574
  "type": "boolean"
3499
3575
  },
3576
+ "description": {
3577
+ "char": "d",
3578
+ "description": "Description for the workspace",
3579
+ "name": "description",
3580
+ "required": false,
3581
+ "hasDynamicHelp": false,
3582
+ "multiple": false,
3583
+ "type": "option"
3584
+ },
3500
3585
  "output": {
3501
3586
  "char": "o",
3502
3587
  "description": "Output format",
@@ -3510,20 +3595,11 @@
3510
3595
  "json"
3511
3596
  ],
3512
3597
  "type": "option"
3513
- },
3514
- "workspace": {
3515
- "char": "w",
3516
- "description": "Workspace ID (uses profile workspace if not provided)",
3517
- "name": "workspace",
3518
- "required": false,
3519
- "hasDynamicHelp": false,
3520
- "multiple": false,
3521
- "type": "option"
3522
3598
  }
3523
3599
  },
3524
3600
  "hasDynamicHelp": false,
3525
3601
  "hiddenAliases": [],
3526
- "id": "workflow_test:run",
3602
+ "id": "workspace:create",
3527
3603
  "pluginAlias": "@xano/cli",
3528
3604
  "pluginName": "@xano/cli",
3529
3605
  "pluginType": "core",
@@ -3533,8 +3609,8 @@
3533
3609
  "relativePath": [
3534
3610
  "dist",
3535
3611
  "commands",
3536
- "workflow_test",
3537
- "run",
3612
+ "workspace",
3613
+ "create",
3538
3614
  "index.js"
3539
3615
  ]
3540
3616
  },
@@ -3616,20 +3692,20 @@
3616
3692
  "index.js"
3617
3693
  ]
3618
3694
  },
3619
- "workspace:create": {
3695
+ "workspace:delete": {
3620
3696
  "aliases": [],
3621
3697
  "args": {
3622
- "name": {
3623
- "description": "Name of the workspace",
3624
- "name": "name",
3698
+ "workspace_id": {
3699
+ "description": "Workspace ID to delete",
3700
+ "name": "workspace_id",
3625
3701
  "required": true
3626
3702
  }
3627
3703
  },
3628
- "description": "Create a new workspace via the Xano Metadata API",
3704
+ "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
3629
3705
  "examples": [
3630
- "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
3631
- "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
3632
- "$ 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"
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"
3633
3709
  ],
3634
3710
  "flags": {
3635
3711
  "profile": {
@@ -3651,14 +3727,13 @@
3651
3727
  "allowNo": false,
3652
3728
  "type": "boolean"
3653
3729
  },
3654
- "description": {
3655
- "char": "d",
3656
- "description": "Description for the workspace",
3657
- "name": "description",
3730
+ "force": {
3731
+ "char": "f",
3732
+ "description": "Skip confirmation prompt",
3733
+ "name": "force",
3658
3734
  "required": false,
3659
- "hasDynamicHelp": false,
3660
- "multiple": false,
3661
- "type": "option"
3735
+ "allowNo": false,
3736
+ "type": "boolean"
3662
3737
  },
3663
3738
  "output": {
3664
3739
  "char": "o",
@@ -3677,7 +3752,7 @@
3677
3752
  },
3678
3753
  "hasDynamicHelp": false,
3679
3754
  "hiddenAliases": [],
3680
- "id": "workspace:create",
3755
+ "id": "workspace:delete",
3681
3756
  "pluginAlias": "@xano/cli",
3682
3757
  "pluginName": "@xano/cli",
3683
3758
  "pluginType": "core",
@@ -3688,7 +3763,7 @@
3688
3763
  "dist",
3689
3764
  "commands",
3690
3765
  "workspace",
3691
- "create",
3766
+ "delete",
3692
3767
  "index.js"
3693
3768
  ]
3694
3769
  },
@@ -4015,20 +4090,26 @@
4015
4090
  "index.js"
4016
4091
  ]
4017
4092
  },
4018
- "workspace:delete": {
4093
+ "workspace:push": {
4019
4094
  "aliases": [],
4020
4095
  "args": {
4021
- "workspace_id": {
4022
- "description": "Workspace ID to delete",
4023
- "name": "workspace_id",
4096
+ "directory": {
4097
+ "description": "Directory containing documents to push (as produced by workspace pull)",
4098
+ "name": "directory",
4024
4099
  "required": true
4025
4100
  }
4026
4101
  },
4027
- "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
4102
+ "description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
4028
4103
  "examples": [
4029
- "$ 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",
4030
- "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
4031
- "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
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"
4032
4113
  ],
4033
4114
  "flags": {
4034
4115
  "profile": {
@@ -4050,32 +4131,49 @@
4050
4131
  "allowNo": false,
4051
4132
  "type": "boolean"
4052
4133
  },
4053
- "force": {
4054
- "char": "f",
4055
- "description": "Skip confirmation prompt",
4056
- "name": "force",
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",
4057
4160
  "required": false,
4058
4161
  "allowNo": false,
4059
4162
  "type": "boolean"
4060
4163
  },
4061
- "output": {
4062
- "char": "o",
4063
- "description": "Output format",
4064
- "name": "output",
4164
+ "workspace": {
4165
+ "char": "w",
4166
+ "description": "Workspace ID (optional if set in profile)",
4167
+ "name": "workspace",
4065
4168
  "required": false,
4066
- "default": "summary",
4067
4169
  "hasDynamicHelp": false,
4068
4170
  "multiple": false,
4069
- "options": [
4070
- "summary",
4071
- "json"
4072
- ],
4073
4171
  "type": "option"
4074
4172
  }
4075
4173
  },
4076
4174
  "hasDynamicHelp": false,
4077
4175
  "hiddenAliases": [],
4078
- "id": "workspace:delete",
4176
+ "id": "workspace:push",
4079
4177
  "pluginAlias": "@xano/cli",
4080
4178
  "pluginName": "@xano/cli",
4081
4179
  "pluginType": "core",
@@ -4086,30 +4184,18 @@
4086
4184
  "dist",
4087
4185
  "commands",
4088
4186
  "workspace",
4089
- "delete",
4187
+ "push",
4090
4188
  "index.js"
4091
4189
  ]
4092
4190
  },
4093
- "workspace:push": {
4191
+ "unit_test:list": {
4094
4192
  "aliases": [],
4095
- "args": {
4096
- "directory": {
4097
- "description": "Directory containing documents to push (as produced by workspace pull)",
4098
- "name": "directory",
4099
- "required": true
4100
- }
4101
- },
4102
- "description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
4193
+ "args": {},
4194
+ "description": "List all unit tests in a workspace",
4103
4195
  "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"
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"
4113
4199
  ],
4114
4200
  "flags": {
4115
4201
  "profile": {
@@ -4133,37 +4219,43 @@
4133
4219
  },
4134
4220
  "branch": {
4135
4221
  "char": "b",
4136
- "description": "Branch name (optional if set in profile, defaults to live)",
4222
+ "description": "Filter by branch name",
4137
4223
  "name": "branch",
4138
4224
  "required": false,
4139
4225
  "hasDynamicHelp": false,
4140
4226
  "multiple": false,
4141
4227
  "type": "option"
4142
4228
  },
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",
4229
+ "obj-type": {
4230
+ "description": "Filter by object type",
4231
+ "name": "obj-type",
4153
4232
  "required": false,
4154
- "allowNo": true,
4155
- "type": "boolean"
4233
+ "hasDynamicHelp": false,
4234
+ "multiple": false,
4235
+ "options": [
4236
+ "function",
4237
+ "query",
4238
+ "middleware"
4239
+ ],
4240
+ "type": "option"
4156
4241
  },
4157
- "truncate": {
4158
- "description": "Truncate all table records before importing",
4159
- "name": "truncate",
4242
+ "output": {
4243
+ "char": "o",
4244
+ "description": "Output format",
4245
+ "name": "output",
4160
4246
  "required": false,
4161
- "allowNo": false,
4162
- "type": "boolean"
4247
+ "default": "summary",
4248
+ "hasDynamicHelp": false,
4249
+ "multiple": false,
4250
+ "options": [
4251
+ "summary",
4252
+ "json"
4253
+ ],
4254
+ "type": "option"
4163
4255
  },
4164
4256
  "workspace": {
4165
4257
  "char": "w",
4166
- "description": "Workspace ID (optional if set in profile)",
4258
+ "description": "Workspace ID (uses profile workspace if not provided)",
4167
4259
  "name": "workspace",
4168
4260
  "required": false,
4169
4261
  "hasDynamicHelp": false,
@@ -4173,7 +4265,7 @@
4173
4265
  },
4174
4266
  "hasDynamicHelp": false,
4175
4267
  "hiddenAliases": [],
4176
- "id": "workspace:push",
4268
+ "id": "unit_test:list",
4177
4269
  "pluginAlias": "@xano/cli",
4178
4270
  "pluginName": "@xano/cli",
4179
4271
  "pluginType": "core",
@@ -4183,24 +4275,24 @@
4183
4275
  "relativePath": [
4184
4276
  "dist",
4185
4277
  "commands",
4186
- "workspace",
4187
- "push",
4278
+ "unit_test",
4279
+ "list",
4188
4280
  "index.js"
4189
4281
  ]
4190
4282
  },
4191
- "run:env:delete": {
4283
+ "unit_test:run": {
4192
4284
  "aliases": [],
4193
4285
  "args": {
4194
- "name": {
4195
- "description": "Environment variable name",
4196
- "name": "name",
4286
+ "unit_test_id": {
4287
+ "description": "ID of the unit test to run",
4288
+ "name": "unit_test_id",
4197
4289
  "required": true
4198
4290
  }
4199
4291
  },
4200
- "description": "Delete an environment variable",
4292
+ "description": "Run a unit test",
4201
4293
  "examples": [
4202
- "$ 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",
4203
- "$ xano run env delete API_KEY --force\nEnvironment variable 'API_KEY' deleted successfully!\n"
4294
+ "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
4295
+ "$ xano unit-test run abc-123 -o json"
4204
4296
  ],
4205
4297
  "flags": {
4206
4298
  "profile": {
@@ -4222,50 +4314,54 @@
4222
4314
  "allowNo": false,
4223
4315
  "type": "boolean"
4224
4316
  },
4225
- "force": {
4226
- "char": "f",
4227
- "description": "Skip confirmation prompt",
4228
- "name": "force",
4317
+ "output": {
4318
+ "char": "o",
4319
+ "description": "Output format",
4320
+ "name": "output",
4229
4321
  "required": false,
4230
- "allowNo": false,
4231
- "type": "boolean"
4322
+ "default": "summary",
4323
+ "hasDynamicHelp": false,
4324
+ "multiple": false,
4325
+ "options": [
4326
+ "summary",
4327
+ "json"
4328
+ ],
4329
+ "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"
4232
4339
  }
4233
4340
  },
4234
4341
  "hasDynamicHelp": false,
4235
4342
  "hiddenAliases": [],
4236
- "id": "run:env:delete",
4343
+ "id": "unit_test:run",
4237
4344
  "pluginAlias": "@xano/cli",
4238
4345
  "pluginName": "@xano/cli",
4239
4346
  "pluginType": "core",
4240
4347
  "strict": true,
4348
+ "enableJsonFlag": false,
4241
4349
  "isESM": true,
4242
4350
  "relativePath": [
4243
4351
  "dist",
4244
4352
  "commands",
4353
+ "unit_test",
4245
4354
  "run",
4246
- "env",
4247
- "delete",
4248
4355
  "index.js"
4249
4356
  ]
4250
4357
  },
4251
- "run:env:set": {
4358
+ "unit_test:run_all": {
4252
4359
  "aliases": [],
4253
- "args": {
4254
- "name": {
4255
- "description": "Environment variable name",
4256
- "name": "name",
4257
- "required": true
4258
- },
4259
- "value": {
4260
- "description": "Environment variable value",
4261
- "name": "value",
4262
- "required": true
4263
- }
4264
- },
4265
- "description": "Set an environment variable",
4360
+ "args": {},
4361
+ "description": "Run all unit tests in a workspace",
4266
4362
  "examples": [
4267
- "$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
4268
- "$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
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"
4269
4365
  ],
4270
4366
  "flags": {
4271
4367
  "profile": {
@@ -4286,33 +4382,83 @@
4286
4382
  "required": false,
4287
4383
  "allowNo": false,
4288
4384
  "type": "boolean"
4385
+ },
4386
+ "branch": {
4387
+ "char": "b",
4388
+ "description": "Filter by branch name",
4389
+ "name": "branch",
4390
+ "required": false,
4391
+ "hasDynamicHelp": false,
4392
+ "multiple": false,
4393
+ "type": "option"
4394
+ },
4395
+ "obj-type": {
4396
+ "description": "Filter by object type",
4397
+ "name": "obj-type",
4398
+ "required": false,
4399
+ "hasDynamicHelp": false,
4400
+ "multiple": false,
4401
+ "options": [
4402
+ "function",
4403
+ "query",
4404
+ "middleware"
4405
+ ],
4406
+ "type": "option"
4407
+ },
4408
+ "output": {
4409
+ "char": "o",
4410
+ "description": "Output format",
4411
+ "name": "output",
4412
+ "required": false,
4413
+ "default": "summary",
4414
+ "hasDynamicHelp": false,
4415
+ "multiple": false,
4416
+ "options": [
4417
+ "summary",
4418
+ "json"
4419
+ ],
4420
+ "type": "option"
4421
+ },
4422
+ "workspace": {
4423
+ "char": "w",
4424
+ "description": "Workspace ID (uses profile workspace if not provided)",
4425
+ "name": "workspace",
4426
+ "required": false,
4427
+ "hasDynamicHelp": false,
4428
+ "multiple": false,
4429
+ "type": "option"
4289
4430
  }
4290
4431
  },
4291
4432
  "hasDynamicHelp": false,
4292
4433
  "hiddenAliases": [],
4293
- "id": "run:env:set",
4434
+ "id": "unit_test:run_all",
4294
4435
  "pluginAlias": "@xano/cli",
4295
4436
  "pluginName": "@xano/cli",
4296
4437
  "pluginType": "core",
4297
4438
  "strict": true,
4439
+ "enableJsonFlag": false,
4298
4440
  "isESM": true,
4299
4441
  "relativePath": [
4300
4442
  "dist",
4301
4443
  "commands",
4302
- "run",
4303
- "env",
4304
- "set",
4444
+ "unit_test",
4445
+ "run_all",
4305
4446
  "index.js"
4306
4447
  ]
4307
4448
  },
4308
- "run:projects:create": {
4449
+ "run:env:delete": {
4309
4450
  "aliases": [],
4310
- "args": {},
4311
- "description": "Create a new project",
4451
+ "args": {
4452
+ "name": {
4453
+ "description": "Environment variable name",
4454
+ "name": "name",
4455
+ "required": true
4456
+ }
4457
+ },
4458
+ "description": "Delete an environment variable",
4312
4459
  "examples": [
4313
- "$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
4314
- "$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
4315
- "$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
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"
4316
4462
  ],
4317
4463
  "flags": {
4318
4464
  "profile": {
@@ -4334,43 +4480,18 @@
4334
4480
  "allowNo": false,
4335
4481
  "type": "boolean"
4336
4482
  },
4337
- "description": {
4338
- "char": "d",
4339
- "description": "Project description",
4340
- "name": "description",
4341
- "required": false,
4342
- "default": "",
4343
- "hasDynamicHelp": false,
4344
- "multiple": false,
4345
- "type": "option"
4346
- },
4347
- "name": {
4348
- "char": "n",
4349
- "description": "Project name",
4350
- "name": "name",
4351
- "required": true,
4352
- "hasDynamicHelp": false,
4353
- "multiple": false,
4354
- "type": "option"
4355
- },
4356
- "output": {
4357
- "char": "o",
4358
- "description": "Output format",
4359
- "name": "output",
4483
+ "force": {
4484
+ "char": "f",
4485
+ "description": "Skip confirmation prompt",
4486
+ "name": "force",
4360
4487
  "required": false,
4361
- "default": "summary",
4362
- "hasDynamicHelp": false,
4363
- "multiple": false,
4364
- "options": [
4365
- "summary",
4366
- "json"
4367
- ],
4368
- "type": "option"
4488
+ "allowNo": false,
4489
+ "type": "boolean"
4369
4490
  }
4370
4491
  },
4371
4492
  "hasDynamicHelp": false,
4372
4493
  "hiddenAliases": [],
4373
- "id": "run:projects:create",
4494
+ "id": "run:env:delete",
4374
4495
  "pluginAlias": "@xano/cli",
4375
4496
  "pluginName": "@xano/cli",
4376
4497
  "pluginType": "core",
@@ -4380,18 +4501,24 @@
4380
4501
  "dist",
4381
4502
  "commands",
4382
4503
  "run",
4383
- "projects",
4384
- "create",
4504
+ "env",
4505
+ "delete",
4385
4506
  "index.js"
4386
4507
  ]
4387
4508
  },
4388
- "run:env:list": {
4509
+ "run:env:get": {
4389
4510
  "aliases": [],
4390
- "args": {},
4391
- "description": "List all environment variable keys",
4511
+ "args": {
4512
+ "name": {
4513
+ "description": "Environment variable name",
4514
+ "name": "name",
4515
+ "required": true
4516
+ }
4517
+ },
4518
+ "description": "Get an environment variable value",
4392
4519
  "examples": [
4393
- "$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
4394
- "$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
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"
4395
4522
  ],
4396
4523
  "flags": {
4397
4524
  "profile": {
@@ -4418,11 +4545,11 @@
4418
4545
  "description": "Output format",
4419
4546
  "name": "output",
4420
4547
  "required": false,
4421
- "default": "list",
4548
+ "default": "value",
4422
4549
  "hasDynamicHelp": false,
4423
4550
  "multiple": false,
4424
4551
  "options": [
4425
- "list",
4552
+ "value",
4426
4553
  "json"
4427
4554
  ],
4428
4555
  "type": "option"
@@ -4430,7 +4557,7 @@
4430
4557
  },
4431
4558
  "hasDynamicHelp": false,
4432
4559
  "hiddenAliases": [],
4433
- "id": "run:env:list",
4560
+ "id": "run:env:get",
4434
4561
  "pluginAlias": "@xano/cli",
4435
4562
  "pluginName": "@xano/cli",
4436
4563
  "pluginType": "core",
@@ -4441,17 +4568,17 @@
4441
4568
  "commands",
4442
4569
  "run",
4443
4570
  "env",
4444
- "list",
4571
+ "get",
4445
4572
  "index.js"
4446
4573
  ]
4447
4574
  },
4448
- "run:projects:list": {
4575
+ "run:env:list": {
4449
4576
  "aliases": [],
4450
4577
  "args": {},
4451
- "description": "List all projects",
4578
+ "description": "List all environment variable keys",
4452
4579
  "examples": [
4453
- "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
4454
- "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
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"
4455
4582
  ],
4456
4583
  "flags": {
4457
4584
  "profile": {
@@ -4478,11 +4605,11 @@
4478
4605
  "description": "Output format",
4479
4606
  "name": "output",
4480
4607
  "required": false,
4481
- "default": "table",
4608
+ "default": "list",
4482
4609
  "hasDynamicHelp": false,
4483
4610
  "multiple": false,
4484
4611
  "options": [
4485
- "table",
4612
+ "list",
4486
4613
  "json"
4487
4614
  ],
4488
4615
  "type": "option"
@@ -4490,7 +4617,7 @@
4490
4617
  },
4491
4618
  "hasDynamicHelp": false,
4492
4619
  "hiddenAliases": [],
4493
- "id": "run:projects:list",
4620
+ "id": "run:env:list",
4494
4621
  "pluginAlias": "@xano/cli",
4495
4622
  "pluginName": "@xano/cli",
4496
4623
  "pluginType": "core",
@@ -4500,25 +4627,29 @@
4500
4627
  "dist",
4501
4628
  "commands",
4502
4629
  "run",
4503
- "projects",
4630
+ "env",
4504
4631
  "list",
4505
4632
  "index.js"
4506
4633
  ]
4507
4634
  },
4508
- "run:projects:update": {
4635
+ "run:env:set": {
4509
4636
  "aliases": [],
4510
4637
  "args": {
4511
- "projectId": {
4512
- "description": "Project ID to update",
4513
- "name": "projectId",
4638
+ "name": {
4639
+ "description": "Environment variable name",
4640
+ "name": "name",
4641
+ "required": true
4642
+ },
4643
+ "value": {
4644
+ "description": "Environment variable value",
4645
+ "name": "value",
4514
4646
  "required": true
4515
4647
  }
4516
4648
  },
4517
- "description": "Update a project",
4649
+ "description": "Set an environment variable",
4518
4650
  "examples": [
4519
- "$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
4520
- "$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
4521
- "$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
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"
4522
4653
  ],
4523
4654
  "flags": {
4524
4655
  "profile": {
@@ -4539,43 +4670,11 @@
4539
4670
  "required": false,
4540
4671
  "allowNo": false,
4541
4672
  "type": "boolean"
4542
- },
4543
- "description": {
4544
- "char": "d",
4545
- "description": "New project description",
4546
- "name": "description",
4547
- "required": false,
4548
- "hasDynamicHelp": false,
4549
- "multiple": false,
4550
- "type": "option"
4551
- },
4552
- "name": {
4553
- "char": "n",
4554
- "description": "New project name",
4555
- "name": "name",
4556
- "required": false,
4557
- "hasDynamicHelp": false,
4558
- "multiple": false,
4559
- "type": "option"
4560
- },
4561
- "output": {
4562
- "char": "o",
4563
- "description": "Output format",
4564
- "name": "output",
4565
- "required": false,
4566
- "default": "summary",
4567
- "hasDynamicHelp": false,
4568
- "multiple": false,
4569
- "options": [
4570
- "summary",
4571
- "json"
4572
- ],
4573
- "type": "option"
4574
4673
  }
4575
4674
  },
4576
4675
  "hasDynamicHelp": false,
4577
4676
  "hiddenAliases": [],
4578
- "id": "run:projects:update",
4677
+ "id": "run:env:set",
4579
4678
  "pluginAlias": "@xano/cli",
4580
4679
  "pluginName": "@xano/cli",
4581
4680
  "pluginType": "core",
@@ -4585,24 +4684,24 @@
4585
4684
  "dist",
4586
4685
  "commands",
4587
4686
  "run",
4588
- "projects",
4589
- "update",
4687
+ "env",
4688
+ "set",
4590
4689
  "index.js"
4591
4690
  ]
4592
4691
  },
4593
- "run:projects:delete": {
4692
+ "run:secrets:delete": {
4594
4693
  "aliases": [],
4595
4694
  "args": {
4596
- "projectId": {
4597
- "description": "Project ID to delete",
4598
- "name": "projectId",
4695
+ "name": {
4696
+ "description": "Secret name",
4697
+ "name": "name",
4599
4698
  "required": true
4600
4699
  }
4601
4700
  },
4602
- "description": "Delete a project",
4701
+ "description": "Delete a secret",
4603
4702
  "examples": [
4604
- "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
4605
- "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
4703
+ "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
4704
+ "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
4606
4705
  ],
4607
4706
  "flags": {
4608
4707
  "profile": {
@@ -4635,7 +4734,7 @@
4635
4734
  },
4636
4735
  "hasDynamicHelp": false,
4637
4736
  "hiddenAliases": [],
4638
- "id": "run:projects:delete",
4737
+ "id": "run:secrets:delete",
4639
4738
  "pluginAlias": "@xano/cli",
4640
4739
  "pluginName": "@xano/cli",
4641
4740
  "pluginType": "core",
@@ -4645,24 +4744,24 @@
4645
4744
  "dist",
4646
4745
  "commands",
4647
4746
  "run",
4648
- "projects",
4747
+ "secrets",
4649
4748
  "delete",
4650
4749
  "index.js"
4651
4750
  ]
4652
4751
  },
4653
- "run:env:get": {
4752
+ "run:secrets:get": {
4654
4753
  "aliases": [],
4655
4754
  "args": {
4656
4755
  "name": {
4657
- "description": "Environment variable name",
4756
+ "description": "Secret name",
4658
4757
  "name": "name",
4659
4758
  "required": true
4660
4759
  }
4661
4760
  },
4662
- "description": "Get an environment variable value",
4761
+ "description": "Get a secret value",
4663
4762
  "examples": [
4664
- "$ xano run env get API_KEY\nmy-secret-api-key\n",
4665
- "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
4763
+ "$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
4764
+ "$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
4666
4765
  ],
4667
4766
  "flags": {
4668
4767
  "profile": {
@@ -4701,7 +4800,7 @@
4701
4800
  },
4702
4801
  "hasDynamicHelp": false,
4703
4802
  "hiddenAliases": [],
4704
- "id": "run:env:get",
4803
+ "id": "run:secrets:get",
4705
4804
  "pluginAlias": "@xano/cli",
4706
4805
  "pluginName": "@xano/cli",
4707
4806
  "pluginType": "core",
@@ -4711,24 +4810,18 @@
4711
4810
  "dist",
4712
4811
  "commands",
4713
4812
  "run",
4714
- "env",
4813
+ "secrets",
4715
4814
  "get",
4716
4815
  "index.js"
4717
4816
  ]
4718
4817
  },
4719
- "run:secrets:delete": {
4818
+ "run:secrets:list": {
4720
4819
  "aliases": [],
4721
- "args": {
4722
- "name": {
4723
- "description": "Secret name",
4724
- "name": "name",
4725
- "required": true
4726
- }
4727
- },
4728
- "description": "Delete a secret",
4820
+ "args": {},
4821
+ "description": "List all secret keys",
4729
4822
  "examples": [
4730
- "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
4731
- "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
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"
4732
4825
  ],
4733
4826
  "flags": {
4734
4827
  "profile": {
@@ -4750,18 +4843,24 @@
4750
4843
  "allowNo": false,
4751
4844
  "type": "boolean"
4752
4845
  },
4753
- "force": {
4754
- "char": "f",
4755
- "description": "Skip confirmation prompt",
4756
- "name": "force",
4846
+ "output": {
4847
+ "char": "o",
4848
+ "description": "Output format",
4849
+ "name": "output",
4757
4850
  "required": false,
4758
- "allowNo": false,
4759
- "type": "boolean"
4851
+ "default": "table",
4852
+ "hasDynamicHelp": false,
4853
+ "multiple": false,
4854
+ "options": [
4855
+ "table",
4856
+ "json"
4857
+ ],
4858
+ "type": "option"
4760
4859
  }
4761
4860
  },
4762
4861
  "hasDynamicHelp": false,
4763
4862
  "hiddenAliases": [],
4764
- "id": "run:secrets:delete",
4863
+ "id": "run:secrets:list",
4765
4864
  "pluginAlias": "@xano/cli",
4766
4865
  "pluginName": "@xano/cli",
4767
4866
  "pluginType": "core",
@@ -4772,17 +4871,23 @@
4772
4871
  "commands",
4773
4872
  "run",
4774
4873
  "secrets",
4775
- "delete",
4874
+ "list",
4776
4875
  "index.js"
4777
4876
  ]
4778
4877
  },
4779
- "run:secrets:list": {
4878
+ "run:secrets:set": {
4780
4879
  "aliases": [],
4781
- "args": {},
4782
- "description": "List all secret keys",
4880
+ "args": {
4881
+ "name": {
4882
+ "description": "Secret name",
4883
+ "name": "name",
4884
+ "required": true
4885
+ }
4886
+ },
4887
+ "description": "Set a secret",
4783
4888
  "examples": [
4784
- "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
4785
- "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
4889
+ "$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
4890
+ "$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
4786
4891
  ],
4787
4892
  "flags": {
4788
4893
  "profile": {
@@ -4804,24 +4909,41 @@
4804
4909
  "allowNo": false,
4805
4910
  "type": "boolean"
4806
4911
  },
4807
- "output": {
4808
- "char": "o",
4809
- "description": "Output format",
4810
- "name": "output",
4912
+ "repo": {
4913
+ "char": "r",
4914
+ "description": "Repository (for dockerconfigjson type)",
4915
+ "name": "repo",
4811
4916
  "required": false,
4812
- "default": "table",
4917
+ "hasDynamicHelp": false,
4918
+ "multiple": false,
4919
+ "type": "option"
4920
+ },
4921
+ "type": {
4922
+ "char": "t",
4923
+ "description": "Secret type",
4924
+ "name": "type",
4925
+ "required": true,
4813
4926
  "hasDynamicHelp": false,
4814
4927
  "multiple": false,
4815
4928
  "options": [
4816
- "table",
4817
- "json"
4929
+ "dockerconfigjson",
4930
+ "service-account-token"
4818
4931
  ],
4819
4932
  "type": "option"
4933
+ },
4934
+ "value": {
4935
+ "char": "v",
4936
+ "description": "Secret value",
4937
+ "name": "value",
4938
+ "required": true,
4939
+ "hasDynamicHelp": false,
4940
+ "multiple": false,
4941
+ "type": "option"
4820
4942
  }
4821
4943
  },
4822
4944
  "hasDynamicHelp": false,
4823
4945
  "hiddenAliases": [],
4824
- "id": "run:secrets:list",
4946
+ "id": "run:secrets:set",
4825
4947
  "pluginAlias": "@xano/cli",
4826
4948
  "pluginName": "@xano/cli",
4827
4949
  "pluginType": "core",
@@ -4832,23 +4954,18 @@
4832
4954
  "commands",
4833
4955
  "run",
4834
4956
  "secrets",
4835
- "list",
4957
+ "set",
4836
4958
  "index.js"
4837
4959
  ]
4838
4960
  },
4839
- "run:secrets:get": {
4961
+ "run:projects:create": {
4840
4962
  "aliases": [],
4841
- "args": {
4842
- "name": {
4843
- "description": "Secret name",
4844
- "name": "name",
4845
- "required": true
4846
- }
4847
- },
4848
- "description": "Get a secret value",
4963
+ "args": {},
4964
+ "description": "Create a new project",
4849
4965
  "examples": [
4850
- "$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
4851
- "$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
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"
4852
4969
  ],
4853
4970
  "flags": {
4854
4971
  "profile": {
@@ -4870,16 +4987,35 @@
4870
4987
  "allowNo": false,
4871
4988
  "type": "boolean"
4872
4989
  },
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
+ },
4873
5009
  "output": {
4874
5010
  "char": "o",
4875
5011
  "description": "Output format",
4876
5012
  "name": "output",
4877
5013
  "required": false,
4878
- "default": "value",
5014
+ "default": "summary",
4879
5015
  "hasDynamicHelp": false,
4880
5016
  "multiple": false,
4881
5017
  "options": [
4882
- "value",
5018
+ "summary",
4883
5019
  "json"
4884
5020
  ],
4885
5021
  "type": "option"
@@ -4887,7 +5023,7 @@
4887
5023
  },
4888
5024
  "hasDynamicHelp": false,
4889
5025
  "hiddenAliases": [],
4890
- "id": "run:secrets:get",
5026
+ "id": "run:projects:create",
4891
5027
  "pluginAlias": "@xano/cli",
4892
5028
  "pluginName": "@xano/cli",
4893
5029
  "pluginType": "core",
@@ -4897,24 +5033,24 @@
4897
5033
  "dist",
4898
5034
  "commands",
4899
5035
  "run",
4900
- "secrets",
4901
- "get",
5036
+ "projects",
5037
+ "create",
4902
5038
  "index.js"
4903
5039
  ]
4904
5040
  },
4905
- "run:sessions:delete": {
5041
+ "run:projects:delete": {
4906
5042
  "aliases": [],
4907
5043
  "args": {
4908
- "sessionId": {
4909
- "description": "Session ID",
4910
- "name": "sessionId",
5044
+ "projectId": {
5045
+ "description": "Project ID to delete",
5046
+ "name": "projectId",
4911
5047
  "required": true
4912
5048
  }
4913
5049
  },
4914
- "description": "Delete a session",
5050
+ "description": "Delete a project",
4915
5051
  "examples": [
4916
- "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
4917
- "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
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"
4918
5054
  ],
4919
5055
  "flags": {
4920
5056
  "profile": {
@@ -4947,7 +5083,7 @@
4947
5083
  },
4948
5084
  "hasDynamicHelp": false,
4949
5085
  "hiddenAliases": [],
4950
- "id": "run:sessions:delete",
5086
+ "id": "run:projects:delete",
4951
5087
  "pluginAlias": "@xano/cli",
4952
5088
  "pluginName": "@xano/cli",
4953
5089
  "pluginType": "core",
@@ -4957,24 +5093,85 @@
4957
5093
  "dist",
4958
5094
  "commands",
4959
5095
  "run",
4960
- "sessions",
5096
+ "projects",
4961
5097
  "delete",
4962
5098
  "index.js"
4963
5099
  ]
4964
5100
  },
4965
- "run:secrets:set": {
5101
+ "run:projects:list": {
4966
5102
  "aliases": [],
4967
- "args": {
4968
- "name": {
4969
- "description": "Secret name",
4970
- "name": "name",
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"
5108
+ ],
5109
+ "flags": {
5110
+ "profile": {
5111
+ "char": "p",
5112
+ "description": "Profile to use (uses default profile if not specified)",
5113
+ "env": "XANO_PROFILE",
5114
+ "name": "profile",
5115
+ "required": false,
5116
+ "hasDynamicHelp": false,
5117
+ "multiple": false,
5118
+ "type": "option"
5119
+ },
5120
+ "verbose": {
5121
+ "char": "v",
5122
+ "description": "Show detailed request/response information",
5123
+ "env": "XANO_VERBOSE",
5124
+ "name": "verbose",
5125
+ "required": false,
5126
+ "allowNo": false,
5127
+ "type": "boolean"
5128
+ },
5129
+ "output": {
5130
+ "char": "o",
5131
+ "description": "Output format",
5132
+ "name": "output",
5133
+ "required": false,
5134
+ "default": "table",
5135
+ "hasDynamicHelp": false,
5136
+ "multiple": false,
5137
+ "options": [
5138
+ "table",
5139
+ "json"
5140
+ ],
5141
+ "type": "option"
5142
+ }
5143
+ },
5144
+ "hasDynamicHelp": false,
5145
+ "hiddenAliases": [],
5146
+ "id": "run:projects:list",
5147
+ "pluginAlias": "@xano/cli",
5148
+ "pluginName": "@xano/cli",
5149
+ "pluginType": "core",
5150
+ "strict": true,
5151
+ "isESM": true,
5152
+ "relativePath": [
5153
+ "dist",
5154
+ "commands",
5155
+ "run",
5156
+ "projects",
5157
+ "list",
5158
+ "index.js"
5159
+ ]
5160
+ },
5161
+ "run:projects:update": {
5162
+ "aliases": [],
5163
+ "args": {
5164
+ "projectId": {
5165
+ "description": "Project ID to update",
5166
+ "name": "projectId",
4971
5167
  "required": true
4972
5168
  }
4973
5169
  },
4974
- "description": "Set a secret",
5170
+ "description": "Update a project",
4975
5171
  "examples": [
4976
- "$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
4977
- "$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
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"
4978
5175
  ],
4979
5176
  "flags": {
4980
5177
  "profile": {
@@ -4996,41 +5193,42 @@
4996
5193
  "allowNo": false,
4997
5194
  "type": "boolean"
4998
5195
  },
4999
- "repo": {
5000
- "char": "r",
5001
- "description": "Repository (for dockerconfigjson type)",
5002
- "name": "repo",
5196
+ "description": {
5197
+ "char": "d",
5198
+ "description": "New project description",
5199
+ "name": "description",
5003
5200
  "required": false,
5004
5201
  "hasDynamicHelp": false,
5005
5202
  "multiple": false,
5006
5203
  "type": "option"
5007
5204
  },
5008
- "type": {
5009
- "char": "t",
5010
- "description": "Secret type",
5011
- "name": "type",
5012
- "required": true,
5205
+ "name": {
5206
+ "char": "n",
5207
+ "description": "New project name",
5208
+ "name": "name",
5209
+ "required": false,
5013
5210
  "hasDynamicHelp": false,
5014
5211
  "multiple": false,
5015
- "options": [
5016
- "dockerconfigjson",
5017
- "service-account-token"
5018
- ],
5019
5212
  "type": "option"
5020
5213
  },
5021
- "value": {
5022
- "char": "v",
5023
- "description": "Secret value",
5024
- "name": "value",
5025
- "required": true,
5214
+ "output": {
5215
+ "char": "o",
5216
+ "description": "Output format",
5217
+ "name": "output",
5218
+ "required": false,
5219
+ "default": "summary",
5026
5220
  "hasDynamicHelp": false,
5027
5221
  "multiple": false,
5222
+ "options": [
5223
+ "summary",
5224
+ "json"
5225
+ ],
5028
5226
  "type": "option"
5029
5227
  }
5030
5228
  },
5031
5229
  "hasDynamicHelp": false,
5032
5230
  "hiddenAliases": [],
5033
- "id": "run:secrets:set",
5231
+ "id": "run:projects:update",
5034
5232
  "pluginAlias": "@xano/cli",
5035
5233
  "pluginName": "@xano/cli",
5036
5234
  "pluginType": "core",
@@ -5040,8 +5238,8 @@
5040
5238
  "dist",
5041
5239
  "commands",
5042
5240
  "run",
5043
- "secrets",
5044
- "set",
5241
+ "projects",
5242
+ "update",
5045
5243
  "index.js"
5046
5244
  ]
5047
5245
  },
@@ -5111,7 +5309,7 @@
5111
5309
  "index.js"
5112
5310
  ]
5113
5311
  },
5114
- "run:sessions:get": {
5312
+ "run:sessions:delete": {
5115
5313
  "aliases": [],
5116
5314
  "args": {
5117
5315
  "sessionId": {
@@ -5120,10 +5318,10 @@
5120
5318
  "required": true
5121
5319
  }
5122
5320
  },
5123
- "description": "Get session details",
5321
+ "description": "Delete a session",
5124
5322
  "examples": [
5125
- "$ 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",
5126
- "$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
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"
5127
5325
  ],
5128
5326
  "flags": {
5129
5327
  "profile": {
@@ -5145,24 +5343,18 @@
5145
5343
  "allowNo": false,
5146
5344
  "type": "boolean"
5147
5345
  },
5148
- "output": {
5149
- "char": "o",
5150
- "description": "Output format",
5151
- "name": "output",
5346
+ "force": {
5347
+ "char": "f",
5348
+ "description": "Skip confirmation prompt",
5349
+ "name": "force",
5152
5350
  "required": false,
5153
- "default": "summary",
5154
- "hasDynamicHelp": false,
5155
- "multiple": false,
5156
- "options": [
5157
- "summary",
5158
- "json"
5159
- ],
5160
- "type": "option"
5351
+ "allowNo": false,
5352
+ "type": "boolean"
5161
5353
  }
5162
5354
  },
5163
5355
  "hasDynamicHelp": false,
5164
5356
  "hiddenAliases": [],
5165
- "id": "run:sessions:get",
5357
+ "id": "run:sessions:delete",
5166
5358
  "pluginAlias": "@xano/cli",
5167
5359
  "pluginName": "@xano/cli",
5168
5360
  "pluginType": "core",
@@ -5173,11 +5365,11 @@
5173
5365
  "commands",
5174
5366
  "run",
5175
5367
  "sessions",
5176
- "get",
5368
+ "delete",
5177
5369
  "index.js"
5178
5370
  ]
5179
5371
  },
5180
- "run:sessions:start": {
5372
+ "run:sessions:get": {
5181
5373
  "aliases": [],
5182
5374
  "args": {
5183
5375
  "sessionId": {
@@ -5186,10 +5378,10 @@
5186
5378
  "required": true
5187
5379
  }
5188
5380
  },
5189
- "description": "Start a session",
5381
+ "description": "Get session details",
5190
5382
  "examples": [
5191
- "$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
5192
- "$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
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"
5193
5385
  ],
5194
5386
  "flags": {
5195
5387
  "profile": {
@@ -5228,7 +5420,7 @@
5228
5420
  },
5229
5421
  "hasDynamicHelp": false,
5230
5422
  "hiddenAliases": [],
5231
- "id": "run:sessions:start",
5423
+ "id": "run:sessions:get",
5232
5424
  "pluginAlias": "@xano/cli",
5233
5425
  "pluginName": "@xano/cli",
5234
5426
  "pluginType": "core",
@@ -5239,7 +5431,7 @@
5239
5431
  "commands",
5240
5432
  "run",
5241
5433
  "sessions",
5242
- "start",
5434
+ "get",
5243
5435
  "index.js"
5244
5436
  ]
5245
5437
  },
@@ -5303,6 +5495,72 @@
5303
5495
  "index.js"
5304
5496
  ]
5305
5497
  },
5498
+ "run:sessions:start": {
5499
+ "aliases": [],
5500
+ "args": {
5501
+ "sessionId": {
5502
+ "description": "Session ID",
5503
+ "name": "sessionId",
5504
+ "required": true
5505
+ }
5506
+ },
5507
+ "description": "Start a session",
5508
+ "examples": [
5509
+ "$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
5510
+ "$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
5511
+ ],
5512
+ "flags": {
5513
+ "profile": {
5514
+ "char": "p",
5515
+ "description": "Profile to use (uses default profile if not specified)",
5516
+ "env": "XANO_PROFILE",
5517
+ "name": "profile",
5518
+ "required": false,
5519
+ "hasDynamicHelp": false,
5520
+ "multiple": false,
5521
+ "type": "option"
5522
+ },
5523
+ "verbose": {
5524
+ "char": "v",
5525
+ "description": "Show detailed request/response information",
5526
+ "env": "XANO_VERBOSE",
5527
+ "name": "verbose",
5528
+ "required": false,
5529
+ "allowNo": false,
5530
+ "type": "boolean"
5531
+ },
5532
+ "output": {
5533
+ "char": "o",
5534
+ "description": "Output format",
5535
+ "name": "output",
5536
+ "required": false,
5537
+ "default": "summary",
5538
+ "hasDynamicHelp": false,
5539
+ "multiple": false,
5540
+ "options": [
5541
+ "summary",
5542
+ "json"
5543
+ ],
5544
+ "type": "option"
5545
+ }
5546
+ },
5547
+ "hasDynamicHelp": false,
5548
+ "hiddenAliases": [],
5549
+ "id": "run:sessions:start",
5550
+ "pluginAlias": "@xano/cli",
5551
+ "pluginName": "@xano/cli",
5552
+ "pluginType": "core",
5553
+ "strict": true,
5554
+ "isESM": true,
5555
+ "relativePath": [
5556
+ "dist",
5557
+ "commands",
5558
+ "run",
5559
+ "sessions",
5560
+ "start",
5561
+ "index.js"
5562
+ ]
5563
+ },
5306
5564
  "run:sessions:stop": {
5307
5565
  "aliases": [],
5308
5566
  "args": {
@@ -5913,20 +6171,26 @@
5913
6171
  "index.js"
5914
6172
  ]
5915
6173
  },
5916
- "static_host:build:create": {
6174
+ "static_host:build:get": {
5917
6175
  "aliases": [],
5918
6176
  "args": {
6177
+ "build_id": {
6178
+ "description": "Build ID",
6179
+ "name": "build_id",
6180
+ "required": true
6181
+ },
5919
6182
  "static_host": {
5920
6183
  "description": "Static Host name",
5921
6184
  "name": "static_host",
5922
6185
  "required": true
5923
6186
  }
5924
6187
  },
5925
- "description": "Create a new build for a static host",
6188
+ "description": "Get details of a specific build for a static host",
5926
6189
  "examples": [
5927
- "$ 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",
5928
- "$ 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",
5929
- "$ 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"
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"
5930
6194
  ],
5931
6195
  "flags": {
5932
6196
  "profile": {
@@ -5948,33 +6212,6 @@
5948
6212
  "allowNo": false,
5949
6213
  "type": "boolean"
5950
6214
  },
5951
- "description": {
5952
- "char": "d",
5953
- "description": "Build description",
5954
- "name": "description",
5955
- "required": false,
5956
- "hasDynamicHelp": false,
5957
- "multiple": false,
5958
- "type": "option"
5959
- },
5960
- "file": {
5961
- "char": "f",
5962
- "description": "Path to zip file to upload",
5963
- "name": "file",
5964
- "required": true,
5965
- "hasDynamicHelp": false,
5966
- "multiple": false,
5967
- "type": "option"
5968
- },
5969
- "name": {
5970
- "char": "n",
5971
- "description": "Build name",
5972
- "name": "name",
5973
- "required": true,
5974
- "hasDynamicHelp": false,
5975
- "multiple": false,
5976
- "type": "option"
5977
- },
5978
6215
  "output": {
5979
6216
  "char": "o",
5980
6217
  "description": "Output format",
@@ -6001,7 +6238,7 @@
6001
6238
  },
6002
6239
  "hasDynamicHelp": false,
6003
6240
  "hiddenAliases": [],
6004
- "id": "static_host:build:create",
6241
+ "id": "static_host:build:get",
6005
6242
  "pluginAlias": "@xano/cli",
6006
6243
  "pluginName": "@xano/cli",
6007
6244
  "pluginType": "core",
@@ -6013,30 +6250,24 @@
6013
6250
  "commands",
6014
6251
  "static_host",
6015
6252
  "build",
6016
- "create",
6253
+ "get",
6017
6254
  "index.js"
6018
6255
  ]
6019
6256
  },
6020
- "static_host:build:get": {
6257
+ "static_host:build:create": {
6021
6258
  "aliases": [],
6022
6259
  "args": {
6023
- "build_id": {
6024
- "description": "Build ID",
6025
- "name": "build_id",
6026
- "required": true
6027
- },
6028
6260
  "static_host": {
6029
6261
  "description": "Static Host name",
6030
6262
  "name": "static_host",
6031
6263
  "required": true
6032
6264
  }
6033
6265
  },
6034
- "description": "Get details of a specific build for a static host",
6266
+ "description": "Create a new build for a static host",
6035
6267
  "examples": [
6036
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6037
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6038
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6039
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
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"
6040
6271
  ],
6041
6272
  "flags": {
6042
6273
  "profile": {
@@ -6058,6 +6289,33 @@
6058
6289
  "allowNo": false,
6059
6290
  "type": "boolean"
6060
6291
  },
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
+ },
6061
6319
  "output": {
6062
6320
  "char": "o",
6063
6321
  "description": "Output format",
@@ -6084,7 +6342,7 @@
6084
6342
  },
6085
6343
  "hasDynamicHelp": false,
6086
6344
  "hiddenAliases": [],
6087
- "id": "static_host:build:get",
6345
+ "id": "static_host:build:create",
6088
6346
  "pluginAlias": "@xano/cli",
6089
6347
  "pluginName": "@xano/cli",
6090
6348
  "pluginType": "core",
@@ -6096,7 +6354,7 @@
6096
6354
  "commands",
6097
6355
  "static_host",
6098
6356
  "build",
6099
- "get",
6357
+ "create",
6100
6358
  "index.js"
6101
6359
  ]
6102
6360
  },
@@ -6197,5 +6455,5 @@
6197
6455
  ]
6198
6456
  }
6199
6457
  },
6200
- "version": "0.0.34"
6458
+ "version": "0.0.35"
6201
6459
  }