@xano/cli 0.0.95-beta.15 → 0.0.95-beta.16

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.
@@ -394,87 +394,20 @@
394
394
  "index.js"
395
395
  ]
396
396
  },
397
- "branch:list": {
398
- "aliases": [],
399
- "args": {
400
- "workspace_id": {
401
- "description": "Workspace ID (uses profile workspace if not provided)",
402
- "name": "workspace_id",
403
- "required": false
404
- }
405
- },
406
- "description": "List all branches in a workspace",
407
- "examples": [
408
- "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
409
- "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
410
- "$ 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"
411
- ],
412
- "flags": {
413
- "profile": {
414
- "char": "p",
415
- "description": "Profile to use (uses default profile if not specified)",
416
- "env": "XANO_PROFILE",
417
- "name": "profile",
418
- "required": false,
419
- "hasDynamicHelp": false,
420
- "multiple": false,
421
- "type": "option"
422
- },
423
- "verbose": {
424
- "char": "v",
425
- "description": "Show detailed request/response information",
426
- "env": "XANO_VERBOSE",
427
- "name": "verbose",
428
- "required": false,
429
- "allowNo": false,
430
- "type": "boolean"
431
- },
432
- "output": {
433
- "char": "o",
434
- "description": "Output format",
435
- "name": "output",
436
- "required": false,
437
- "default": "summary",
438
- "hasDynamicHelp": false,
439
- "multiple": false,
440
- "options": [
441
- "summary",
442
- "json"
443
- ],
444
- "type": "option"
445
- }
446
- },
447
- "hasDynamicHelp": false,
448
- "hiddenAliases": [],
449
- "id": "branch:list",
450
- "pluginAlias": "@xano/cli",
451
- "pluginName": "@xano/cli",
452
- "pluginType": "core",
453
- "strict": true,
454
- "enableJsonFlag": false,
455
- "isESM": true,
456
- "relativePath": [
457
- "dist",
458
- "commands",
459
- "branch",
460
- "list",
461
- "index.js"
462
- ]
463
- },
464
- "branch:set_live": {
397
+ "branch:get": {
465
398
  "aliases": [],
466
399
  "args": {
467
400
  "branch_label": {
468
- "description": "Branch label to set as live (use \"v1\" for default branch)",
401
+ "description": "Branch label (e.g., \"v1\", \"dev\")",
469
402
  "name": "branch_label",
470
403
  "required": true
471
404
  }
472
405
  },
473
- "description": "Set a branch as the live (active) branch for API requests",
406
+ "description": "Get details for a specific branch",
474
407
  "examples": [
475
- "$ 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",
476
- "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
477
- "$ 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"
408
+ "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
409
+ "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
410
+ "$ 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"
478
411
  ],
479
412
  "flags": {
480
413
  "profile": {
@@ -496,14 +429,6 @@
496
429
  "allowNo": false,
497
430
  "type": "boolean"
498
431
  },
499
- "force": {
500
- "char": "f",
501
- "description": "Skip confirmation prompt",
502
- "name": "force",
503
- "required": false,
504
- "allowNo": false,
505
- "type": "boolean"
506
- },
507
432
  "output": {
508
433
  "char": "o",
509
434
  "description": "Output format",
@@ -530,7 +455,7 @@
530
455
  },
531
456
  "hasDynamicHelp": false,
532
457
  "hiddenAliases": [],
533
- "id": "branch:set_live",
458
+ "id": "branch:get",
534
459
  "pluginAlias": "@xano/cli",
535
460
  "pluginName": "@xano/cli",
536
461
  "pluginType": "core",
@@ -541,20 +466,24 @@
541
466
  "dist",
542
467
  "commands",
543
468
  "branch",
544
- "set_live",
469
+ "get",
545
470
  "index.js"
546
471
  ]
547
472
  },
548
- "function:create": {
473
+ "branch:list": {
549
474
  "aliases": [],
550
- "args": {},
551
- "description": "Create a new function in a workspace",
475
+ "args": {
476
+ "workspace_id": {
477
+ "description": "Workspace ID (uses profile workspace if not provided)",
478
+ "name": "workspace_id",
479
+ "required": false
480
+ }
481
+ },
482
+ "description": "List all branches in a workspace",
552
483
  "examples": [
553
- "$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
554
- "$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
555
- "$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
556
- "$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
557
- "$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
484
+ "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
485
+ "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
486
+ "$ 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"
558
487
  ],
559
488
  "flags": {
560
489
  "profile": {
@@ -576,29 +505,6 @@
576
505
  "allowNo": false,
577
506
  "type": "boolean"
578
507
  },
579
- "edit": {
580
- "char": "e",
581
- "dependsOn": [
582
- "file"
583
- ],
584
- "description": "Open file in editor before creating function (requires --file)",
585
- "name": "edit",
586
- "required": false,
587
- "allowNo": false,
588
- "type": "boolean"
589
- },
590
- "file": {
591
- "char": "f",
592
- "description": "Path to file containing XanoScript code",
593
- "exclusive": [
594
- "stdin"
595
- ],
596
- "name": "file",
597
- "required": false,
598
- "hasDynamicHelp": false,
599
- "multiple": false,
600
- "type": "option"
601
- },
602
508
  "output": {
603
509
  "char": "o",
604
510
  "description": "Output format",
@@ -612,31 +518,11 @@
612
518
  "json"
613
519
  ],
614
520
  "type": "option"
615
- },
616
- "stdin": {
617
- "char": "s",
618
- "description": "Read XanoScript code from stdin",
619
- "exclusive": [
620
- "file"
621
- ],
622
- "name": "stdin",
623
- "required": false,
624
- "allowNo": false,
625
- "type": "boolean"
626
- },
627
- "workspace": {
628
- "char": "w",
629
- "description": "Workspace ID (optional if set in profile)",
630
- "name": "workspace",
631
- "required": false,
632
- "hasDynamicHelp": false,
633
- "multiple": false,
634
- "type": "option"
635
521
  }
636
522
  },
637
523
  "hasDynamicHelp": false,
638
524
  "hiddenAliases": [],
639
- "id": "function:create",
525
+ "id": "branch:list",
640
526
  "pluginAlias": "@xano/cli",
641
527
  "pluginName": "@xano/cli",
642
528
  "pluginType": "core",
@@ -646,30 +532,25 @@
646
532
  "relativePath": [
647
533
  "dist",
648
534
  "commands",
649
- "function",
650
- "create",
535
+ "branch",
536
+ "list",
651
537
  "index.js"
652
538
  ]
653
539
  },
654
- "function:edit": {
540
+ "branch:set_live": {
655
541
  "aliases": [],
656
542
  "args": {
657
- "function_id": {
658
- "description": "Function ID to edit",
659
- "name": "function_id",
660
- "required": false
543
+ "branch_label": {
544
+ "description": "Branch label to set as live (use \"v1\" for default branch)",
545
+ "name": "branch_label",
546
+ "required": true
661
547
  }
662
548
  },
663
- "description": "Edit a function in a workspace",
549
+ "description": "Set a branch as the live (active) branch for API requests",
664
550
  "examples": [
665
- "$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
666
- "$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
667
- "$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
668
- "$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
669
- "$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
670
- "$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
671
- "$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
672
- "$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
551
+ "$ 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",
552
+ "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
553
+ "$ 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"
673
554
  ],
674
555
  "flags": {
675
556
  "profile": {
@@ -691,26 +572,14 @@
691
572
  "allowNo": false,
692
573
  "type": "boolean"
693
574
  },
694
- "edit": {
695
- "char": "e",
696
- "description": "Open file in editor before updating function (requires --file)",
697
- "name": "edit",
575
+ "force": {
576
+ "char": "f",
577
+ "description": "Skip confirmation prompt",
578
+ "name": "force",
698
579
  "required": false,
699
580
  "allowNo": false,
700
581
  "type": "boolean"
701
582
  },
702
- "file": {
703
- "char": "f",
704
- "description": "Path to file containing XanoScript code",
705
- "exclusive": [
706
- "stdin"
707
- ],
708
- "name": "file",
709
- "required": false,
710
- "hasDynamicHelp": false,
711
- "multiple": false,
712
- "type": "option"
713
- },
714
583
  "output": {
715
584
  "char": "o",
716
585
  "description": "Output format",
@@ -725,27 +594,9 @@
725
594
  ],
726
595
  "type": "option"
727
596
  },
728
- "publish": {
729
- "description": "Publish the function after editing",
730
- "name": "publish",
731
- "required": false,
732
- "allowNo": false,
733
- "type": "boolean"
734
- },
735
- "stdin": {
736
- "char": "s",
737
- "description": "Read XanoScript code from stdin",
738
- "exclusive": [
739
- "file"
740
- ],
741
- "name": "stdin",
742
- "required": false,
743
- "allowNo": false,
744
- "type": "boolean"
745
- },
746
597
  "workspace": {
747
598
  "char": "w",
748
- "description": "Workspace ID (optional if set in profile)",
599
+ "description": "Workspace ID (uses profile workspace if not provided)",
749
600
  "name": "workspace",
750
601
  "required": false,
751
602
  "hasDynamicHelp": false,
@@ -755,7 +606,7 @@
755
606
  },
756
607
  "hasDynamicHelp": false,
757
608
  "hiddenAliases": [],
758
- "id": "function:edit",
609
+ "id": "branch:set_live",
759
610
  "pluginAlias": "@xano/cli",
760
611
  "pluginName": "@xano/cli",
761
612
  "pluginType": "core",
@@ -765,8 +616,8 @@
765
616
  "relativePath": [
766
617
  "dist",
767
618
  "commands",
768
- "function",
769
- "edit",
619
+ "branch",
620
+ "set_live",
770
621
  "index.js"
771
622
  ]
772
623
  },
@@ -989,19 +840,25 @@
989
840
  "index.js"
990
841
  ]
991
842
  },
992
- "platform:get": {
843
+ "function:edit": {
993
844
  "aliases": [],
994
845
  "args": {
995
- "platform_id": {
996
- "description": "Platform ID to retrieve",
997
- "name": "platform_id",
998
- "required": true
846
+ "function_id": {
847
+ "description": "Function ID to edit",
848
+ "name": "function_id",
849
+ "required": false
999
850
  }
1000
851
  },
1001
- "description": "Get details of a specific platform",
852
+ "description": "Edit a function in a workspace",
1002
853
  "examples": [
1003
- "$ 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",
1004
- "$ xano platform get 23629 -o json"
854
+ "$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
855
+ "$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
856
+ "$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
857
+ "$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
858
+ "$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
859
+ "$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
860
+ "$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
861
+ "$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
1005
862
  ],
1006
863
  "flags": {
1007
864
  "profile": {
@@ -1023,11 +880,124 @@
1023
880
  "allowNo": false,
1024
881
  "type": "boolean"
1025
882
  },
1026
- "output": {
1027
- "char": "o",
1028
- "description": "Output format",
1029
- "name": "output",
1030
- "required": false,
883
+ "edit": {
884
+ "char": "e",
885
+ "description": "Open file in editor before updating function (requires --file)",
886
+ "name": "edit",
887
+ "required": false,
888
+ "allowNo": false,
889
+ "type": "boolean"
890
+ },
891
+ "file": {
892
+ "char": "f",
893
+ "description": "Path to file containing XanoScript code",
894
+ "exclusive": [
895
+ "stdin"
896
+ ],
897
+ "name": "file",
898
+ "required": false,
899
+ "hasDynamicHelp": false,
900
+ "multiple": false,
901
+ "type": "option"
902
+ },
903
+ "output": {
904
+ "char": "o",
905
+ "description": "Output format",
906
+ "name": "output",
907
+ "required": false,
908
+ "default": "summary",
909
+ "hasDynamicHelp": false,
910
+ "multiple": false,
911
+ "options": [
912
+ "summary",
913
+ "json"
914
+ ],
915
+ "type": "option"
916
+ },
917
+ "publish": {
918
+ "description": "Publish the function after editing",
919
+ "name": "publish",
920
+ "required": false,
921
+ "allowNo": false,
922
+ "type": "boolean"
923
+ },
924
+ "stdin": {
925
+ "char": "s",
926
+ "description": "Read XanoScript code from stdin",
927
+ "exclusive": [
928
+ "file"
929
+ ],
930
+ "name": "stdin",
931
+ "required": false,
932
+ "allowNo": false,
933
+ "type": "boolean"
934
+ },
935
+ "workspace": {
936
+ "char": "w",
937
+ "description": "Workspace ID (optional if set in profile)",
938
+ "name": "workspace",
939
+ "required": false,
940
+ "hasDynamicHelp": false,
941
+ "multiple": false,
942
+ "type": "option"
943
+ }
944
+ },
945
+ "hasDynamicHelp": false,
946
+ "hiddenAliases": [],
947
+ "id": "function:edit",
948
+ "pluginAlias": "@xano/cli",
949
+ "pluginName": "@xano/cli",
950
+ "pluginType": "core",
951
+ "strict": true,
952
+ "enableJsonFlag": false,
953
+ "isESM": true,
954
+ "relativePath": [
955
+ "dist",
956
+ "commands",
957
+ "function",
958
+ "edit",
959
+ "index.js"
960
+ ]
961
+ },
962
+ "platform:get": {
963
+ "aliases": [],
964
+ "args": {
965
+ "platform_id": {
966
+ "description": "Platform ID to retrieve",
967
+ "name": "platform_id",
968
+ "required": true
969
+ }
970
+ },
971
+ "description": "Get details of a specific platform",
972
+ "examples": [
973
+ "$ 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",
974
+ "$ xano platform get 23629 -o json"
975
+ ],
976
+ "flags": {
977
+ "profile": {
978
+ "char": "p",
979
+ "description": "Profile to use (uses default profile if not specified)",
980
+ "env": "XANO_PROFILE",
981
+ "name": "profile",
982
+ "required": false,
983
+ "hasDynamicHelp": false,
984
+ "multiple": false,
985
+ "type": "option"
986
+ },
987
+ "verbose": {
988
+ "char": "v",
989
+ "description": "Show detailed request/response information",
990
+ "env": "XANO_VERBOSE",
991
+ "name": "verbose",
992
+ "required": false,
993
+ "allowNo": false,
994
+ "type": "boolean"
995
+ },
996
+ "output": {
997
+ "char": "o",
998
+ "description": "Output format",
999
+ "name": "output",
1000
+ "required": false,
1031
1001
  "default": "summary",
1032
1002
  "hasDynamicHelp": false,
1033
1003
  "multiple": false,
@@ -1253,67 +1223,6 @@
1253
1223
  "index.js"
1254
1224
  ]
1255
1225
  },
1256
- "profile:list": {
1257
- "aliases": [],
1258
- "args": {},
1259
- "description": "List all available profile configurations",
1260
- "examples": [
1261
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1262
- "$ 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",
1263
- "$ 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"
1264
- ],
1265
- "flags": {
1266
- "details": {
1267
- "char": "d",
1268
- "description": "Show detailed information for each profile",
1269
- "name": "details",
1270
- "required": false,
1271
- "allowNo": false,
1272
- "type": "boolean"
1273
- }
1274
- },
1275
- "hasDynamicHelp": false,
1276
- "hiddenAliases": [],
1277
- "id": "profile:list",
1278
- "pluginAlias": "@xano/cli",
1279
- "pluginName": "@xano/cli",
1280
- "pluginType": "core",
1281
- "strict": true,
1282
- "enableJsonFlag": false,
1283
- "isESM": true,
1284
- "relativePath": [
1285
- "dist",
1286
- "commands",
1287
- "profile",
1288
- "list",
1289
- "index.js"
1290
- ]
1291
- },
1292
- "profile:get": {
1293
- "aliases": [],
1294
- "args": {},
1295
- "description": "Get the current default profile name",
1296
- "examples": [
1297
- "$ xano profile get\nproduction\n"
1298
- ],
1299
- "flags": {},
1300
- "hasDynamicHelp": false,
1301
- "hiddenAliases": [],
1302
- "id": "profile:get",
1303
- "pluginAlias": "@xano/cli",
1304
- "pluginName": "@xano/cli",
1305
- "pluginType": "core",
1306
- "strict": true,
1307
- "enableJsonFlag": false,
1308
- "isESM": true,
1309
- "relativePath": [
1310
- "dist",
1311
- "commands",
1312
- "profile",
1313
- "get",
1314
- "index.js"
1315
- ]
1316
- },
1317
1226
  "profile:edit": {
1318
1227
  "aliases": [],
1319
1228
  "args": {
@@ -1444,14 +1353,16 @@
1444
1353
  "index.js"
1445
1354
  ]
1446
1355
  },
1447
- "profile:me": {
1356
+ "function:create": {
1448
1357
  "aliases": [],
1449
1358
  "args": {},
1450
- "description": "Get information about the currently authenticated user",
1359
+ "description": "Create a new function in a workspace",
1451
1360
  "examples": [
1452
- "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1453
- "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1454
- "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1361
+ "$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
1362
+ "$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
1363
+ "$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
1364
+ "$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
1365
+ "$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
1455
1366
  ],
1456
1367
  "flags": {
1457
1368
  "profile": {
@@ -1473,6 +1384,29 @@
1473
1384
  "allowNo": false,
1474
1385
  "type": "boolean"
1475
1386
  },
1387
+ "edit": {
1388
+ "char": "e",
1389
+ "dependsOn": [
1390
+ "file"
1391
+ ],
1392
+ "description": "Open file in editor before creating function (requires --file)",
1393
+ "name": "edit",
1394
+ "required": false,
1395
+ "allowNo": false,
1396
+ "type": "boolean"
1397
+ },
1398
+ "file": {
1399
+ "char": "f",
1400
+ "description": "Path to file containing XanoScript code",
1401
+ "exclusive": [
1402
+ "stdin"
1403
+ ],
1404
+ "name": "file",
1405
+ "required": false,
1406
+ "hasDynamicHelp": false,
1407
+ "multiple": false,
1408
+ "type": "option"
1409
+ },
1476
1410
  "output": {
1477
1411
  "char": "o",
1478
1412
  "description": "Output format",
@@ -1486,11 +1420,31 @@
1486
1420
  "json"
1487
1421
  ],
1488
1422
  "type": "option"
1423
+ },
1424
+ "stdin": {
1425
+ "char": "s",
1426
+ "description": "Read XanoScript code from stdin",
1427
+ "exclusive": [
1428
+ "file"
1429
+ ],
1430
+ "name": "stdin",
1431
+ "required": false,
1432
+ "allowNo": false,
1433
+ "type": "boolean"
1434
+ },
1435
+ "workspace": {
1436
+ "char": "w",
1437
+ "description": "Workspace ID (optional if set in profile)",
1438
+ "name": "workspace",
1439
+ "required": false,
1440
+ "hasDynamicHelp": false,
1441
+ "multiple": false,
1442
+ "type": "option"
1489
1443
  }
1490
1444
  },
1491
1445
  "hasDynamicHelp": false,
1492
1446
  "hiddenAliases": [],
1493
- "id": "profile:me",
1447
+ "id": "function:create",
1494
1448
  "pluginAlias": "@xano/cli",
1495
1449
  "pluginName": "@xano/cli",
1496
1450
  "pluginType": "core",
@@ -1500,28 +1454,22 @@
1500
1454
  "relativePath": [
1501
1455
  "dist",
1502
1456
  "commands",
1503
- "profile",
1504
- "me",
1457
+ "function",
1458
+ "create",
1505
1459
  "index.js"
1506
1460
  ]
1507
1461
  },
1508
- "profile:set": {
1462
+ "profile:get": {
1509
1463
  "aliases": [],
1510
- "args": {
1511
- "name": {
1512
- "description": "Profile name to set as default",
1513
- "name": "name",
1514
- "required": true
1515
- }
1516
- },
1517
- "description": "Set the default profile",
1464
+ "args": {},
1465
+ "description": "Get the current default profile name",
1518
1466
  "examples": [
1519
- "$ xano profile set production\nDefault profile set to 'production'\n"
1467
+ "$ xano profile get\nproduction\n"
1520
1468
  ],
1521
1469
  "flags": {},
1522
1470
  "hasDynamicHelp": false,
1523
1471
  "hiddenAliases": [],
1524
- "id": "profile:set",
1472
+ "id": "profile:get",
1525
1473
  "pluginAlias": "@xano/cli",
1526
1474
  "pluginName": "@xano/cli",
1527
1475
  "pluginType": "core",
@@ -1532,7 +1480,7 @@
1532
1480
  "dist",
1533
1481
  "commands",
1534
1482
  "profile",
1535
- "set",
1483
+ "get",
1536
1484
  "index.js"
1537
1485
  ]
1538
1486
  },
@@ -1562,20 +1510,50 @@
1562
1510
  "index.js"
1563
1511
  ]
1564
1512
  },
1565
- "branch:get": {
1513
+ "profile:list": {
1566
1514
  "aliases": [],
1567
- "args": {
1568
- "branch_label": {
1569
- "description": "Branch label (e.g., \"v1\", \"dev\")",
1570
- "name": "branch_label",
1571
- "required": true
1515
+ "args": {},
1516
+ "description": "List all available profile configurations",
1517
+ "examples": [
1518
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1519
+ "$ 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",
1520
+ "$ 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"
1521
+ ],
1522
+ "flags": {
1523
+ "details": {
1524
+ "char": "d",
1525
+ "description": "Show detailed information for each profile",
1526
+ "name": "details",
1527
+ "required": false,
1528
+ "allowNo": false,
1529
+ "type": "boolean"
1572
1530
  }
1573
1531
  },
1574
- "description": "Get details for a specific branch",
1532
+ "hasDynamicHelp": false,
1533
+ "hiddenAliases": [],
1534
+ "id": "profile:list",
1535
+ "pluginAlias": "@xano/cli",
1536
+ "pluginName": "@xano/cli",
1537
+ "pluginType": "core",
1538
+ "strict": true,
1539
+ "enableJsonFlag": false,
1540
+ "isESM": true,
1541
+ "relativePath": [
1542
+ "dist",
1543
+ "commands",
1544
+ "profile",
1545
+ "list",
1546
+ "index.js"
1547
+ ]
1548
+ },
1549
+ "profile:me": {
1550
+ "aliases": [],
1551
+ "args": {},
1552
+ "description": "Get information about the currently authenticated user",
1575
1553
  "examples": [
1576
- "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
1577
- "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
1578
- "$ 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"
1554
+ "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1555
+ "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1556
+ "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1579
1557
  ],
1580
1558
  "flags": {
1581
1559
  "profile": {
@@ -1610,20 +1588,11 @@
1610
1588
  "json"
1611
1589
  ],
1612
1590
  "type": "option"
1613
- },
1614
- "workspace": {
1615
- "char": "w",
1616
- "description": "Workspace ID (uses profile workspace if not provided)",
1617
- "name": "workspace",
1618
- "required": false,
1619
- "hasDynamicHelp": false,
1620
- "multiple": false,
1621
- "type": "option"
1622
1591
  }
1623
1592
  },
1624
1593
  "hasDynamicHelp": false,
1625
1594
  "hiddenAliases": [],
1626
- "id": "branch:get",
1595
+ "id": "profile:me",
1627
1596
  "pluginAlias": "@xano/cli",
1628
1597
  "pluginName": "@xano/cli",
1629
1598
  "pluginType": "core",
@@ -1633,8 +1602,39 @@
1633
1602
  "relativePath": [
1634
1603
  "dist",
1635
1604
  "commands",
1636
- "branch",
1637
- "get",
1605
+ "profile",
1606
+ "me",
1607
+ "index.js"
1608
+ ]
1609
+ },
1610
+ "profile:set": {
1611
+ "aliases": [],
1612
+ "args": {
1613
+ "name": {
1614
+ "description": "Profile name to set as default",
1615
+ "name": "name",
1616
+ "required": true
1617
+ }
1618
+ },
1619
+ "description": "Set the default profile",
1620
+ "examples": [
1621
+ "$ xano profile set production\nDefault profile set to 'production'\n"
1622
+ ],
1623
+ "flags": {},
1624
+ "hasDynamicHelp": false,
1625
+ "hiddenAliases": [],
1626
+ "id": "profile:set",
1627
+ "pluginAlias": "@xano/cli",
1628
+ "pluginName": "@xano/cli",
1629
+ "pluginType": "core",
1630
+ "strict": true,
1631
+ "enableJsonFlag": false,
1632
+ "isESM": true,
1633
+ "relativePath": [
1634
+ "dist",
1635
+ "commands",
1636
+ "profile",
1637
+ "set",
1638
1638
  "index.js"
1639
1639
  ]
1640
1640
  },
@@ -1691,32 +1691,6 @@
1691
1691
  "index.js"
1692
1692
  ]
1693
1693
  },
1694
- "profile:workspace": {
1695
- "aliases": [],
1696
- "args": {},
1697
- "description": "Print the workspace ID for the default profile",
1698
- "examples": [
1699
- "$ xano profile:workspace\nabc123-workspace-id\n",
1700
- "$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
1701
- ],
1702
- "flags": {},
1703
- "hasDynamicHelp": false,
1704
- "hiddenAliases": [],
1705
- "id": "profile:workspace",
1706
- "pluginAlias": "@xano/cli",
1707
- "pluginName": "@xano/cli",
1708
- "pluginType": "core",
1709
- "strict": true,
1710
- "enableJsonFlag": false,
1711
- "isESM": true,
1712
- "relativePath": [
1713
- "dist",
1714
- "commands",
1715
- "profile",
1716
- "workspace",
1717
- "index.js"
1718
- ]
1719
- },
1720
1694
  "release:create": {
1721
1695
  "aliases": [],
1722
1696
  "args": {},
@@ -1828,6 +1802,32 @@
1828
1802
  "index.js"
1829
1803
  ]
1830
1804
  },
1805
+ "profile:workspace": {
1806
+ "aliases": [],
1807
+ "args": {},
1808
+ "description": "Print the workspace ID for the default profile",
1809
+ "examples": [
1810
+ "$ xano profile:workspace\nabc123-workspace-id\n",
1811
+ "$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
1812
+ ],
1813
+ "flags": {},
1814
+ "hasDynamicHelp": false,
1815
+ "hiddenAliases": [],
1816
+ "id": "profile:workspace",
1817
+ "pluginAlias": "@xano/cli",
1818
+ "pluginName": "@xano/cli",
1819
+ "pluginType": "core",
1820
+ "strict": true,
1821
+ "enableJsonFlag": false,
1822
+ "isESM": true,
1823
+ "relativePath": [
1824
+ "dist",
1825
+ "commands",
1826
+ "profile",
1827
+ "workspace",
1828
+ "index.js"
1829
+ ]
1830
+ },
1831
1831
  "release:deploy": {
1832
1832
  "aliases": [],
1833
1833
  "args": {
@@ -1920,19 +1920,20 @@
1920
1920
  "index.js"
1921
1921
  ]
1922
1922
  },
1923
- "release:edit": {
1923
+ "release:export": {
1924
1924
  "aliases": [],
1925
1925
  "args": {
1926
1926
  "release_name": {
1927
- "description": "Release name to edit",
1927
+ "description": "Release name to export",
1928
1928
  "name": "release_name",
1929
1929
  "required": true
1930
1930
  }
1931
1931
  },
1932
- "description": "Edit an existing release",
1932
+ "description": "Export (download) a release to a local file",
1933
1933
  "examples": [
1934
- "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
1935
- "$ xano release edit v1.0 --description \"New description\" -o json"
1934
+ "$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
1935
+ "$ xano release export v1.0 --output ./backups/my-release.tar.gz",
1936
+ "$ xano release export v1.0 -o json"
1936
1937
  ],
1937
1938
  "flags": {
1938
1939
  "profile": {
@@ -1954,28 +1955,10 @@
1954
1955
  "allowNo": false,
1955
1956
  "type": "boolean"
1956
1957
  },
1957
- "description": {
1958
- "char": "d",
1959
- "description": "New description",
1960
- "name": "description",
1961
- "required": false,
1962
- "hasDynamicHelp": false,
1963
- "multiple": false,
1964
- "type": "option"
1965
- },
1966
- "name": {
1967
- "char": "n",
1968
- "description": "New name for the release",
1969
- "name": "name",
1970
- "required": false,
1971
- "hasDynamicHelp": false,
1972
- "multiple": false,
1973
- "type": "option"
1974
- },
1975
- "output": {
1958
+ "format": {
1976
1959
  "char": "o",
1977
1960
  "description": "Output format",
1978
- "name": "output",
1961
+ "name": "format",
1979
1962
  "required": false,
1980
1963
  "default": "summary",
1981
1964
  "hasDynamicHelp": false,
@@ -1986,6 +1969,14 @@
1986
1969
  ],
1987
1970
  "type": "option"
1988
1971
  },
1972
+ "output": {
1973
+ "description": "Output file path (defaults to ./release-{name}.tar.gz)",
1974
+ "name": "output",
1975
+ "required": false,
1976
+ "hasDynamicHelp": false,
1977
+ "multiple": false,
1978
+ "type": "option"
1979
+ },
1989
1980
  "workspace": {
1990
1981
  "char": "w",
1991
1982
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -1998,7 +1989,7 @@
1998
1989
  },
1999
1990
  "hasDynamicHelp": false,
2000
1991
  "hiddenAliases": [],
2001
- "id": "release:edit",
1992
+ "id": "release:export",
2002
1993
  "pluginAlias": "@xano/cli",
2003
1994
  "pluginName": "@xano/cli",
2004
1995
  "pluginType": "core",
@@ -2009,23 +2000,23 @@
2009
2000
  "dist",
2010
2001
  "commands",
2011
2002
  "release",
2012
- "edit",
2003
+ "export",
2013
2004
  "index.js"
2014
2005
  ]
2015
2006
  },
2016
- "release:get": {
2007
+ "release:edit": {
2017
2008
  "aliases": [],
2018
2009
  "args": {
2019
2010
  "release_name": {
2020
- "description": "Release name to retrieve",
2011
+ "description": "Release name to edit",
2021
2012
  "name": "release_name",
2022
2013
  "required": true
2023
2014
  }
2024
2015
  },
2025
- "description": "Get details of a specific release",
2016
+ "description": "Edit an existing release",
2026
2017
  "examples": [
2027
- "$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2028
- "$ xano release get v1.0 -w 5 -o json"
2018
+ "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
2019
+ "$ xano release edit v1.0 --description \"New description\" -o json"
2029
2020
  ],
2030
2021
  "flags": {
2031
2022
  "profile": {
@@ -2047,6 +2038,24 @@
2047
2038
  "allowNo": false,
2048
2039
  "type": "boolean"
2049
2040
  },
2041
+ "description": {
2042
+ "char": "d",
2043
+ "description": "New description",
2044
+ "name": "description",
2045
+ "required": false,
2046
+ "hasDynamicHelp": false,
2047
+ "multiple": false,
2048
+ "type": "option"
2049
+ },
2050
+ "name": {
2051
+ "char": "n",
2052
+ "description": "New name for the release",
2053
+ "name": "name",
2054
+ "required": false,
2055
+ "hasDynamicHelp": false,
2056
+ "multiple": false,
2057
+ "type": "option"
2058
+ },
2050
2059
  "output": {
2051
2060
  "char": "o",
2052
2061
  "description": "Output format",
@@ -2073,7 +2082,7 @@
2073
2082
  },
2074
2083
  "hasDynamicHelp": false,
2075
2084
  "hiddenAliases": [],
2076
- "id": "release:get",
2085
+ "id": "release:edit",
2077
2086
  "pluginAlias": "@xano/cli",
2078
2087
  "pluginName": "@xano/cli",
2079
2088
  "pluginType": "core",
@@ -2084,24 +2093,23 @@
2084
2093
  "dist",
2085
2094
  "commands",
2086
2095
  "release",
2087
- "get",
2096
+ "edit",
2088
2097
  "index.js"
2089
2098
  ]
2090
2099
  },
2091
- "release:export": {
2100
+ "release:get": {
2092
2101
  "aliases": [],
2093
2102
  "args": {
2094
2103
  "release_name": {
2095
- "description": "Release name to export",
2104
+ "description": "Release name to retrieve",
2096
2105
  "name": "release_name",
2097
2106
  "required": true
2098
2107
  }
2099
2108
  },
2100
- "description": "Export (download) a release to a local file",
2109
+ "description": "Get details of a specific release",
2101
2110
  "examples": [
2102
- "$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
2103
- "$ xano release export v1.0 --output ./backups/my-release.tar.gz",
2104
- "$ xano release export v1.0 -o json"
2111
+ "$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2112
+ "$ xano release get v1.0 -w 5 -o json"
2105
2113
  ],
2106
2114
  "flags": {
2107
2115
  "profile": {
@@ -2123,10 +2131,10 @@
2123
2131
  "allowNo": false,
2124
2132
  "type": "boolean"
2125
2133
  },
2126
- "format": {
2134
+ "output": {
2127
2135
  "char": "o",
2128
2136
  "description": "Output format",
2129
- "name": "format",
2137
+ "name": "output",
2130
2138
  "required": false,
2131
2139
  "default": "summary",
2132
2140
  "hasDynamicHelp": false,
@@ -2137,14 +2145,6 @@
2137
2145
  ],
2138
2146
  "type": "option"
2139
2147
  },
2140
- "output": {
2141
- "description": "Output file path (defaults to ./release-{name}.tar.gz)",
2142
- "name": "output",
2143
- "required": false,
2144
- "hasDynamicHelp": false,
2145
- "multiple": false,
2146
- "type": "option"
2147
- },
2148
2148
  "workspace": {
2149
2149
  "char": "w",
2150
2150
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2157,7 +2157,7 @@
2157
2157
  },
2158
2158
  "hasDynamicHelp": false,
2159
2159
  "hiddenAliases": [],
2160
- "id": "release:export",
2160
+ "id": "release:get",
2161
2161
  "pluginAlias": "@xano/cli",
2162
2162
  "pluginName": "@xano/cli",
2163
2163
  "pluginType": "core",
@@ -2168,7 +2168,7 @@
2168
2168
  "dist",
2169
2169
  "commands",
2170
2170
  "release",
2171
- "export",
2171
+ "get",
2172
2172
  "index.js"
2173
2173
  ]
2174
2174
  },
@@ -2404,91 +2404,7 @@
2404
2404
  "index.js"
2405
2405
  ]
2406
2406
  },
2407
- "release:delete": {
2408
- "aliases": [],
2409
- "args": {
2410
- "release_name": {
2411
- "description": "Release name to delete",
2412
- "name": "release_name",
2413
- "required": true
2414
- }
2415
- },
2416
- "description": "Delete a release permanently. This action cannot be undone.",
2417
- "examples": [
2418
- "$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
2419
- "$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
2420
- "$ xano release delete v1.0 -f -o json"
2421
- ],
2422
- "flags": {
2423
- "profile": {
2424
- "char": "p",
2425
- "description": "Profile to use (uses default profile if not specified)",
2426
- "env": "XANO_PROFILE",
2427
- "name": "profile",
2428
- "required": false,
2429
- "hasDynamicHelp": false,
2430
- "multiple": false,
2431
- "type": "option"
2432
- },
2433
- "verbose": {
2434
- "char": "v",
2435
- "description": "Show detailed request/response information",
2436
- "env": "XANO_VERBOSE",
2437
- "name": "verbose",
2438
- "required": false,
2439
- "allowNo": false,
2440
- "type": "boolean"
2441
- },
2442
- "force": {
2443
- "char": "f",
2444
- "description": "Skip confirmation prompt",
2445
- "name": "force",
2446
- "required": false,
2447
- "allowNo": false,
2448
- "type": "boolean"
2449
- },
2450
- "output": {
2451
- "char": "o",
2452
- "description": "Output format",
2453
- "name": "output",
2454
- "required": false,
2455
- "default": "summary",
2456
- "hasDynamicHelp": false,
2457
- "multiple": false,
2458
- "options": [
2459
- "summary",
2460
- "json"
2461
- ],
2462
- "type": "option"
2463
- },
2464
- "workspace": {
2465
- "char": "w",
2466
- "description": "Workspace ID (uses profile workspace if not provided)",
2467
- "name": "workspace",
2468
- "required": false,
2469
- "hasDynamicHelp": false,
2470
- "multiple": false,
2471
- "type": "option"
2472
- }
2473
- },
2474
- "hasDynamicHelp": false,
2475
- "hiddenAliases": [],
2476
- "id": "release:delete",
2477
- "pluginAlias": "@xano/cli",
2478
- "pluginName": "@xano/cli",
2479
- "pluginType": "core",
2480
- "strict": true,
2481
- "enableJsonFlag": false,
2482
- "isESM": true,
2483
- "relativePath": [
2484
- "dist",
2485
- "commands",
2486
- "release",
2487
- "delete",
2488
- "index.js"
2489
- ]
2490
- },
2491
- "release:push": {
2407
+ "release:push": {
2492
2408
  "aliases": [],
2493
2409
  "args": {
2494
2410
  "directory": {
@@ -2660,14 +2576,20 @@
2660
2576
  "index.js"
2661
2577
  ]
2662
2578
  },
2663
- "sandbox:impersonate": {
2579
+ "release:delete": {
2664
2580
  "aliases": [],
2665
- "args": {},
2666
- "description": "Alias for \"sandbox review\"",
2581
+ "args": {
2582
+ "release_name": {
2583
+ "description": "Release name to delete",
2584
+ "name": "release_name",
2585
+ "required": true
2586
+ }
2587
+ },
2588
+ "description": "Delete a release permanently. This action cannot be undone.",
2667
2589
  "examples": [
2668
- "$ xano sandbox review\nOpening browser...\nReview session started!\n",
2669
- "$ xano sandbox review -u",
2670
- "$ xano sandbox review -o json"
2590
+ "$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
2591
+ "$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
2592
+ "$ xano release delete v1.0 -f -o json"
2671
2593
  ],
2672
2594
  "flags": {
2673
2595
  "profile": {
@@ -2689,6 +2611,14 @@
2689
2611
  "allowNo": false,
2690
2612
  "type": "boolean"
2691
2613
  },
2614
+ "force": {
2615
+ "char": "f",
2616
+ "description": "Skip confirmation prompt",
2617
+ "name": "force",
2618
+ "required": false,
2619
+ "allowNo": false,
2620
+ "type": "boolean"
2621
+ },
2692
2622
  "output": {
2693
2623
  "char": "o",
2694
2624
  "description": "Output format",
@@ -2703,19 +2633,19 @@
2703
2633
  ],
2704
2634
  "type": "option"
2705
2635
  },
2706
- "url-only": {
2707
- "char": "u",
2708
- "description": "Print the URL without opening the browser",
2709
- "name": "url-only",
2636
+ "workspace": {
2637
+ "char": "w",
2638
+ "description": "Workspace ID (uses profile workspace if not provided)",
2639
+ "name": "workspace",
2710
2640
  "required": false,
2711
- "allowNo": false,
2712
- "type": "boolean"
2641
+ "hasDynamicHelp": false,
2642
+ "multiple": false,
2643
+ "type": "option"
2713
2644
  }
2714
2645
  },
2715
2646
  "hasDynamicHelp": false,
2716
- "hidden": true,
2717
2647
  "hiddenAliases": [],
2718
- "id": "sandbox:impersonate",
2648
+ "id": "release:delete",
2719
2649
  "pluginAlias": "@xano/cli",
2720
2650
  "pluginName": "@xano/cli",
2721
2651
  "pluginType": "core",
@@ -2725,24 +2655,19 @@
2725
2655
  "relativePath": [
2726
2656
  "dist",
2727
2657
  "commands",
2728
- "sandbox",
2729
- "impersonate",
2658
+ "release",
2659
+ "delete",
2730
2660
  "index.js"
2731
2661
  ]
2732
2662
  },
2733
- "sandbox:pull": {
2663
+ "sandbox:impersonate": {
2734
2664
  "aliases": [],
2735
- "args": {
2736
- "directory": {
2737
- "description": "Output directory for pulled documents",
2738
- "name": "directory",
2739
- "required": true
2740
- }
2741
- },
2742
- "description": "Pull documents from your sandbox environment and split into individual files",
2665
+ "args": {},
2666
+ "description": "Alias for \"sandbox review\"",
2743
2667
  "examples": [
2744
- "$ xano sandbox pull ./my-sandbox\nPulled 42 documents from sandbox environment to ./my-sandbox\n",
2745
- "$ xano sandbox pull ./backup --env --records"
2668
+ "$ xano sandbox review\nOpening browser...\nReview session started!\n",
2669
+ "$ xano sandbox review -u",
2670
+ "$ xano sandbox review -o json"
2746
2671
  ],
2747
2672
  "flags": {
2748
2673
  "profile": {
@@ -2764,31 +2689,33 @@
2764
2689
  "allowNo": false,
2765
2690
  "type": "boolean"
2766
2691
  },
2767
- "draft": {
2768
- "description": "Include draft versions",
2769
- "name": "draft",
2770
- "required": false,
2771
- "allowNo": false,
2772
- "type": "boolean"
2773
- },
2774
- "env": {
2775
- "description": "Include environment variables",
2776
- "name": "env",
2692
+ "output": {
2693
+ "char": "o",
2694
+ "description": "Output format",
2695
+ "name": "output",
2777
2696
  "required": false,
2778
- "allowNo": false,
2779
- "type": "boolean"
2697
+ "default": "summary",
2698
+ "hasDynamicHelp": false,
2699
+ "multiple": false,
2700
+ "options": [
2701
+ "summary",
2702
+ "json"
2703
+ ],
2704
+ "type": "option"
2780
2705
  },
2781
- "records": {
2782
- "description": "Include records",
2783
- "name": "records",
2706
+ "url-only": {
2707
+ "char": "u",
2708
+ "description": "Print the URL without opening the browser",
2709
+ "name": "url-only",
2784
2710
  "required": false,
2785
2711
  "allowNo": false,
2786
2712
  "type": "boolean"
2787
2713
  }
2788
2714
  },
2789
2715
  "hasDynamicHelp": false,
2716
+ "hidden": true,
2790
2717
  "hiddenAliases": [],
2791
- "id": "sandbox:pull",
2718
+ "id": "sandbox:impersonate",
2792
2719
  "pluginAlias": "@xano/cli",
2793
2720
  "pluginName": "@xano/cli",
2794
2721
  "pluginType": "core",
@@ -2799,7 +2726,7 @@
2799
2726
  "dist",
2800
2727
  "commands",
2801
2728
  "sandbox",
2802
- "pull",
2729
+ "impersonate",
2803
2730
  "index.js"
2804
2731
  ]
2805
2732
  },
@@ -2863,20 +2790,19 @@
2863
2790
  "index.js"
2864
2791
  ]
2865
2792
  },
2866
- "sandbox:push": {
2793
+ "sandbox:pull": {
2867
2794
  "aliases": [],
2868
2795
  "args": {
2869
2796
  "directory": {
2870
- "description": "Directory containing documents to push (as produced by sandbox pull or workspace pull)",
2797
+ "description": "Output directory for pulled documents",
2871
2798
  "name": "directory",
2872
2799
  "required": true
2873
2800
  }
2874
2801
  },
2875
- "description": "Push local documents to your sandbox environment via multidoc import",
2802
+ "description": "Pull documents from your sandbox environment and split into individual files",
2876
2803
  "examples": [
2877
- "$ xano sandbox push ./my-workspace\nPushed 42 documents to sandbox environment from ./my-workspace\n",
2878
- "$ xano sandbox push ./backup --records --env",
2879
- "$ xano sandbox push ./my-workspace --truncate"
2804
+ "$ xano sandbox pull ./my-sandbox\nPulled 42 documents from sandbox environment to ./my-sandbox\n",
2805
+ "$ xano sandbox pull ./backup --env --records"
2880
2806
  ],
2881
2807
  "flags": {
2882
2808
  "profile": {
@@ -2898,30 +2824,23 @@
2898
2824
  "allowNo": false,
2899
2825
  "type": "boolean"
2900
2826
  },
2901
- "env": {
2902
- "description": "Include environment variables in import",
2903
- "name": "env",
2827
+ "draft": {
2828
+ "description": "Include draft versions",
2829
+ "name": "draft",
2904
2830
  "required": false,
2905
2831
  "allowNo": false,
2906
2832
  "type": "boolean"
2907
2833
  },
2908
- "records": {
2909
- "description": "Include records in import",
2910
- "name": "records",
2834
+ "env": {
2835
+ "description": "Include environment variables",
2836
+ "name": "env",
2911
2837
  "required": false,
2912
2838
  "allowNo": false,
2913
2839
  "type": "boolean"
2914
2840
  },
2915
- "transaction": {
2916
- "description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
2917
- "name": "transaction",
2918
- "required": false,
2919
- "allowNo": true,
2920
- "type": "boolean"
2921
- },
2922
- "truncate": {
2923
- "description": "Truncate all table records before importing",
2924
- "name": "truncate",
2841
+ "records": {
2842
+ "description": "Include records",
2843
+ "name": "records",
2925
2844
  "required": false,
2926
2845
  "allowNo": false,
2927
2846
  "type": "boolean"
@@ -2929,7 +2848,7 @@
2929
2848
  },
2930
2849
  "hasDynamicHelp": false,
2931
2850
  "hiddenAliases": [],
2932
- "id": "sandbox:push",
2851
+ "id": "sandbox:pull",
2933
2852
  "pluginAlias": "@xano/cli",
2934
2853
  "pluginName": "@xano/cli",
2935
2854
  "pluginType": "core",
@@ -2940,17 +2859,24 @@
2940
2859
  "dist",
2941
2860
  "commands",
2942
2861
  "sandbox",
2943
- "push",
2862
+ "pull",
2944
2863
  "index.js"
2945
2864
  ]
2946
2865
  },
2947
- "sandbox:reset": {
2866
+ "sandbox:push": {
2948
2867
  "aliases": [],
2949
- "args": {},
2950
- "description": "Reset your sandbox environment (clears all workspace data and drafts)",
2868
+ "args": {
2869
+ "directory": {
2870
+ "description": "Directory containing documents to push (as produced by sandbox pull or workspace pull)",
2871
+ "name": "directory",
2872
+ "required": true
2873
+ }
2874
+ },
2875
+ "description": "Push local documents to your sandbox environment via multidoc import",
2951
2876
  "examples": [
2952
- "$ xano sandbox reset\nAre you sure you want to reset your sandbox environment? All workspace data and drafts will be cleared. (y/N) y\nSandbox environment has been reset.\n",
2953
- "$ xano sandbox reset --force"
2877
+ "$ xano sandbox push ./my-workspace\nPushed 42 documents to sandbox environment from ./my-workspace\n",
2878
+ "$ xano sandbox push ./backup --records --env",
2879
+ "$ xano sandbox push ./my-workspace --truncate"
2954
2880
  ],
2955
2881
  "flags": {
2956
2882
  "profile": {
@@ -2972,29 +2898,49 @@
2972
2898
  "allowNo": false,
2973
2899
  "type": "boolean"
2974
2900
  },
2975
- "force": {
2976
- "char": "f",
2977
- "description": "Skip confirmation prompt",
2978
- "name": "force",
2901
+ "env": {
2902
+ "description": "Include environment variables in import",
2903
+ "name": "env",
2979
2904
  "required": false,
2980
2905
  "allowNo": false,
2981
2906
  "type": "boolean"
2982
- }
2983
- },
2984
- "hasDynamicHelp": false,
2985
- "hiddenAliases": [],
2986
- "id": "sandbox:reset",
2987
- "pluginAlias": "@xano/cli",
2988
- "pluginName": "@xano/cli",
2989
- "pluginType": "core",
2990
- "strict": true,
2907
+ },
2908
+ "records": {
2909
+ "description": "Include records in import",
2910
+ "name": "records",
2911
+ "required": false,
2912
+ "allowNo": false,
2913
+ "type": "boolean"
2914
+ },
2915
+ "transaction": {
2916
+ "description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
2917
+ "name": "transaction",
2918
+ "required": false,
2919
+ "allowNo": true,
2920
+ "type": "boolean"
2921
+ },
2922
+ "truncate": {
2923
+ "description": "Truncate all table records before importing",
2924
+ "name": "truncate",
2925
+ "required": false,
2926
+ "allowNo": false,
2927
+ "type": "boolean"
2928
+ }
2929
+ },
2930
+ "hasDynamicHelp": false,
2931
+ "hiddenAliases": [],
2932
+ "id": "sandbox:push",
2933
+ "pluginAlias": "@xano/cli",
2934
+ "pluginName": "@xano/cli",
2935
+ "pluginType": "core",
2936
+ "strict": true,
2991
2937
  "enableJsonFlag": false,
2992
2938
  "isESM": true,
2993
2939
  "relativePath": [
2994
2940
  "dist",
2995
2941
  "commands",
2996
2942
  "sandbox",
2997
- "reset",
2943
+ "push",
2998
2944
  "index.js"
2999
2945
  ]
3000
2946
  },
@@ -3067,15 +3013,13 @@
3067
3013
  "index.js"
3068
3014
  ]
3069
3015
  },
3070
- "static_host:list": {
3016
+ "sandbox:reset": {
3071
3017
  "aliases": [],
3072
3018
  "args": {},
3073
- "description": "List all static hosts in a workspace from the Xano Metadata API",
3019
+ "description": "Reset your sandbox environment (clears all workspace data and drafts)",
3074
3020
  "examples": [
3075
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3076
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3077
- "$ 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",
3078
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
3021
+ "$ xano sandbox reset\nAre you sure you want to reset your sandbox environment? All workspace data and drafts will be cleared. (y/N) y\nSandbox environment has been reset.\n",
3022
+ "$ xano sandbox reset --force"
3079
3023
  ],
3080
3024
  "flags": {
3081
3025
  "profile": {
@@ -3097,51 +3041,18 @@
3097
3041
  "allowNo": false,
3098
3042
  "type": "boolean"
3099
3043
  },
3100
- "output": {
3101
- "char": "o",
3102
- "description": "Output format",
3103
- "name": "output",
3104
- "required": false,
3105
- "default": "summary",
3106
- "hasDynamicHelp": false,
3107
- "multiple": false,
3108
- "options": [
3109
- "summary",
3110
- "json"
3111
- ],
3112
- "type": "option"
3113
- },
3114
- "page": {
3115
- "description": "Page number for pagination",
3116
- "name": "page",
3117
- "required": false,
3118
- "default": 1,
3119
- "hasDynamicHelp": false,
3120
- "multiple": false,
3121
- "type": "option"
3122
- },
3123
- "per_page": {
3124
- "description": "Number of results per page",
3125
- "name": "per_page",
3126
- "required": false,
3127
- "default": 50,
3128
- "hasDynamicHelp": false,
3129
- "multiple": false,
3130
- "type": "option"
3131
- },
3132
- "workspace": {
3133
- "char": "w",
3134
- "description": "Workspace ID (optional if set in profile)",
3135
- "name": "workspace",
3044
+ "force": {
3045
+ "char": "f",
3046
+ "description": "Skip confirmation prompt",
3047
+ "name": "force",
3136
3048
  "required": false,
3137
- "hasDynamicHelp": false,
3138
- "multiple": false,
3139
- "type": "option"
3049
+ "allowNo": false,
3050
+ "type": "boolean"
3140
3051
  }
3141
3052
  },
3142
3053
  "hasDynamicHelp": false,
3143
3054
  "hiddenAliases": [],
3144
- "id": "static_host:list",
3055
+ "id": "sandbox:reset",
3145
3056
  "pluginAlias": "@xano/cli",
3146
3057
  "pluginName": "@xano/cli",
3147
3058
  "pluginType": "core",
@@ -3151,25 +3062,20 @@
3151
3062
  "relativePath": [
3152
3063
  "dist",
3153
3064
  "commands",
3154
- "static_host",
3155
- "list",
3065
+ "sandbox",
3066
+ "reset",
3156
3067
  "index.js"
3157
3068
  ]
3158
3069
  },
3159
- "tenant:delete": {
3070
+ "static_host:list": {
3160
3071
  "aliases": [],
3161
- "args": {
3162
- "tenant_name": {
3163
- "description": "Tenant name to delete",
3164
- "name": "tenant_name",
3165
- "required": true
3166
- }
3167
- },
3168
- "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
3072
+ "args": {},
3073
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
3169
3074
  "examples": [
3170
- "$ 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",
3171
- "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
3172
- "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
3075
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3076
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3077
+ "$ 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",
3078
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
3173
3079
  ],
3174
3080
  "flags": {
3175
3081
  "profile": {
@@ -3191,14 +3097,6 @@
3191
3097
  "allowNo": false,
3192
3098
  "type": "boolean"
3193
3099
  },
3194
- "force": {
3195
- "char": "f",
3196
- "description": "Skip confirmation prompt",
3197
- "name": "force",
3198
- "required": false,
3199
- "allowNo": false,
3200
- "type": "boolean"
3201
- },
3202
3100
  "output": {
3203
3101
  "char": "o",
3204
3102
  "description": "Output format",
@@ -3213,9 +3111,27 @@
3213
3111
  ],
3214
3112
  "type": "option"
3215
3113
  },
3114
+ "page": {
3115
+ "description": "Page number for pagination",
3116
+ "name": "page",
3117
+ "required": false,
3118
+ "default": 1,
3119
+ "hasDynamicHelp": false,
3120
+ "multiple": false,
3121
+ "type": "option"
3122
+ },
3123
+ "per_page": {
3124
+ "description": "Number of results per page",
3125
+ "name": "per_page",
3126
+ "required": false,
3127
+ "default": 50,
3128
+ "hasDynamicHelp": false,
3129
+ "multiple": false,
3130
+ "type": "option"
3131
+ },
3216
3132
  "workspace": {
3217
3133
  "char": "w",
3218
- "description": "Workspace ID (uses profile workspace if not provided)",
3134
+ "description": "Workspace ID (optional if set in profile)",
3219
3135
  "name": "workspace",
3220
3136
  "required": false,
3221
3137
  "hasDynamicHelp": false,
@@ -3225,7 +3141,7 @@
3225
3141
  },
3226
3142
  "hasDynamicHelp": false,
3227
3143
  "hiddenAliases": [],
3228
- "id": "tenant:delete",
3144
+ "id": "static_host:list",
3229
3145
  "pluginAlias": "@xano/cli",
3230
3146
  "pluginName": "@xano/cli",
3231
3147
  "pluginType": "core",
@@ -3235,8 +3151,8 @@
3235
3151
  "relativePath": [
3236
3152
  "dist",
3237
3153
  "commands",
3238
- "tenant",
3239
- "delete",
3154
+ "static_host",
3155
+ "list",
3240
3156
  "index.js"
3241
3157
  ]
3242
3158
  },
@@ -3384,19 +3300,20 @@
3384
3300
  "index.js"
3385
3301
  ]
3386
3302
  },
3387
- "tenant:deploy_release": {
3303
+ "tenant:delete": {
3388
3304
  "aliases": [],
3389
3305
  "args": {
3390
3306
  "tenant_name": {
3391
- "description": "Tenant name to deploy to",
3307
+ "description": "Tenant name to delete",
3392
3308
  "name": "tenant_name",
3393
3309
  "required": true
3394
3310
  }
3395
3311
  },
3396
- "description": "Deploy a release to a tenant",
3312
+ "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
3397
3313
  "examples": [
3398
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
3399
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
3314
+ "$ 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",
3315
+ "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
3316
+ "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
3400
3317
  ],
3401
3318
  "flags": {
3402
3319
  "profile": {
@@ -3418,6 +3335,14 @@
3418
3335
  "allowNo": false,
3419
3336
  "type": "boolean"
3420
3337
  },
3338
+ "force": {
3339
+ "char": "f",
3340
+ "description": "Skip confirmation prompt",
3341
+ "name": "force",
3342
+ "required": false,
3343
+ "allowNo": false,
3344
+ "type": "boolean"
3345
+ },
3421
3346
  "output": {
3422
3347
  "char": "o",
3423
3348
  "description": "Output format",
@@ -3432,15 +3357,6 @@
3432
3357
  ],
3433
3358
  "type": "option"
3434
3359
  },
3435
- "release": {
3436
- "char": "r",
3437
- "description": "Release name to deploy",
3438
- "name": "release",
3439
- "required": true,
3440
- "hasDynamicHelp": false,
3441
- "multiple": false,
3442
- "type": "option"
3443
- },
3444
3360
  "workspace": {
3445
3361
  "char": "w",
3446
3362
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3453,7 +3369,7 @@
3453
3369
  },
3454
3370
  "hasDynamicHelp": false,
3455
3371
  "hiddenAliases": [],
3456
- "id": "tenant:deploy_release",
3372
+ "id": "tenant:delete",
3457
3373
  "pluginAlias": "@xano/cli",
3458
3374
  "pluginName": "@xano/cli",
3459
3375
  "pluginType": "core",
@@ -3464,23 +3380,24 @@
3464
3380
  "dist",
3465
3381
  "commands",
3466
3382
  "tenant",
3467
- "deploy_release",
3383
+ "delete",
3468
3384
  "index.js"
3469
3385
  ]
3470
3386
  },
3471
- "tenant:edit": {
3387
+ "tenant:deploy_platform": {
3472
3388
  "aliases": [],
3473
3389
  "args": {
3474
3390
  "tenant_name": {
3475
- "description": "Tenant name to edit",
3391
+ "description": "Tenant name to deploy to",
3476
3392
  "name": "tenant_name",
3477
3393
  "required": true
3478
3394
  }
3479
3395
  },
3480
- "description": "Edit an existing tenant",
3396
+ "description": "Deploy a platform version to a tenant",
3481
3397
  "examples": [
3482
- "$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
3483
- "$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
3398
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
3399
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
3400
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
3484
3401
  ],
3485
3402
  "flags": {
3486
3403
  "profile": {
@@ -3502,38 +3419,15 @@
3502
3419
  "allowNo": false,
3503
3420
  "type": "boolean"
3504
3421
  },
3505
- "description": {
3506
- "char": "d",
3507
- "description": "New description",
3508
- "name": "description",
3509
- "required": false,
3510
- "hasDynamicHelp": false,
3511
- "multiple": false,
3512
- "type": "option"
3513
- },
3514
- "display": {
3515
- "description": "New display name",
3516
- "name": "display",
3517
- "required": false,
3518
- "hasDynamicHelp": false,
3519
- "multiple": false,
3520
- "type": "option"
3521
- },
3522
- "domain": {
3523
- "description": "Custom domain",
3524
- "name": "domain",
3422
+ "license": {
3423
+ "char": "l",
3424
+ "description": "Path to a license override file to apply after deploy",
3425
+ "name": "license",
3525
3426
  "required": false,
3526
3427
  "hasDynamicHelp": false,
3527
3428
  "multiple": false,
3528
3429
  "type": "option"
3529
3430
  },
3530
- "ingress": {
3531
- "description": "Enable/disable ingress",
3532
- "name": "ingress",
3533
- "required": false,
3534
- "allowNo": true,
3535
- "type": "boolean"
3536
- },
3537
3431
  "output": {
3538
3432
  "char": "o",
3539
3433
  "description": "Output format",
@@ -3548,28 +3442,14 @@
3548
3442
  ],
3549
3443
  "type": "option"
3550
3444
  },
3551
- "proxy": {
3552
- "description": "Proxy URL",
3553
- "name": "proxy",
3554
- "required": false,
3445
+ "platform_id": {
3446
+ "description": "Platform ID to deploy",
3447
+ "name": "platform_id",
3448
+ "required": true,
3555
3449
  "hasDynamicHelp": false,
3556
3450
  "multiple": false,
3557
3451
  "type": "option"
3558
3452
  },
3559
- "rbac": {
3560
- "description": "Enable/disable RBAC",
3561
- "name": "rbac",
3562
- "required": false,
3563
- "allowNo": true,
3564
- "type": "boolean"
3565
- },
3566
- "tasks": {
3567
- "description": "Enable/disable background tasks",
3568
- "name": "tasks",
3569
- "required": false,
3570
- "allowNo": true,
3571
- "type": "boolean"
3572
- },
3573
3453
  "workspace": {
3574
3454
  "char": "w",
3575
3455
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3582,7 +3462,7 @@
3582
3462
  },
3583
3463
  "hasDynamicHelp": false,
3584
3464
  "hiddenAliases": [],
3585
- "id": "tenant:edit",
3465
+ "id": "tenant:deploy_platform",
3586
3466
  "pluginAlias": "@xano/cli",
3587
3467
  "pluginName": "@xano/cli",
3588
3468
  "pluginType": "core",
@@ -3593,23 +3473,23 @@
3593
3473
  "dist",
3594
3474
  "commands",
3595
3475
  "tenant",
3596
- "edit",
3476
+ "deploy_platform",
3597
3477
  "index.js"
3598
3478
  ]
3599
3479
  },
3600
- "tenant:get": {
3480
+ "tenant:deploy_release": {
3601
3481
  "aliases": [],
3602
3482
  "args": {
3603
3483
  "tenant_name": {
3604
- "description": "Tenant name to retrieve",
3484
+ "description": "Tenant name to deploy to",
3605
3485
  "name": "tenant_name",
3606
3486
  "required": true
3607
3487
  }
3608
3488
  },
3609
- "description": "Get details of a specific tenant",
3489
+ "description": "Deploy a release to a tenant",
3610
3490
  "examples": [
3611
- "$ 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",
3612
- "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3491
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
3492
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
3613
3493
  ],
3614
3494
  "flags": {
3615
3495
  "profile": {
@@ -3645,6 +3525,15 @@
3645
3525
  ],
3646
3526
  "type": "option"
3647
3527
  },
3528
+ "release": {
3529
+ "char": "r",
3530
+ "description": "Release name to deploy",
3531
+ "name": "release",
3532
+ "required": true,
3533
+ "hasDynamicHelp": false,
3534
+ "multiple": false,
3535
+ "type": "option"
3536
+ },
3648
3537
  "workspace": {
3649
3538
  "char": "w",
3650
3539
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3657,7 +3546,7 @@
3657
3546
  },
3658
3547
  "hasDynamicHelp": false,
3659
3548
  "hiddenAliases": [],
3660
- "id": "tenant:get",
3549
+ "id": "tenant:deploy_release",
3661
3550
  "pluginAlias": "@xano/cli",
3662
3551
  "pluginName": "@xano/cli",
3663
3552
  "pluginType": "core",
@@ -3668,24 +3557,23 @@
3668
3557
  "dist",
3669
3558
  "commands",
3670
3559
  "tenant",
3671
- "get",
3560
+ "deploy_release",
3672
3561
  "index.js"
3673
3562
  ]
3674
3563
  },
3675
- "tenant:deploy_platform": {
3564
+ "tenant:edit": {
3676
3565
  "aliases": [],
3677
3566
  "args": {
3678
3567
  "tenant_name": {
3679
- "description": "Tenant name to deploy to",
3568
+ "description": "Tenant name to edit",
3680
3569
  "name": "tenant_name",
3681
3570
  "required": true
3682
3571
  }
3683
3572
  },
3684
- "description": "Deploy a platform version to a tenant",
3573
+ "description": "Edit an existing tenant",
3685
3574
  "examples": [
3686
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
3687
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
3688
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
3575
+ "$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
3576
+ "$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
3689
3577
  ],
3690
3578
  "flags": {
3691
3579
  "profile": {
@@ -3707,15 +3595,38 @@
3707
3595
  "allowNo": false,
3708
3596
  "type": "boolean"
3709
3597
  },
3710
- "license": {
3711
- "char": "l",
3712
- "description": "Path to a license override file to apply after deploy",
3713
- "name": "license",
3598
+ "description": {
3599
+ "char": "d",
3600
+ "description": "New description",
3601
+ "name": "description",
3714
3602
  "required": false,
3715
3603
  "hasDynamicHelp": false,
3716
3604
  "multiple": false,
3717
3605
  "type": "option"
3718
3606
  },
3607
+ "display": {
3608
+ "description": "New display name",
3609
+ "name": "display",
3610
+ "required": false,
3611
+ "hasDynamicHelp": false,
3612
+ "multiple": false,
3613
+ "type": "option"
3614
+ },
3615
+ "domain": {
3616
+ "description": "Custom domain",
3617
+ "name": "domain",
3618
+ "required": false,
3619
+ "hasDynamicHelp": false,
3620
+ "multiple": false,
3621
+ "type": "option"
3622
+ },
3623
+ "ingress": {
3624
+ "description": "Enable/disable ingress",
3625
+ "name": "ingress",
3626
+ "required": false,
3627
+ "allowNo": true,
3628
+ "type": "boolean"
3629
+ },
3719
3630
  "output": {
3720
3631
  "char": "o",
3721
3632
  "description": "Output format",
@@ -3730,14 +3641,28 @@
3730
3641
  ],
3731
3642
  "type": "option"
3732
3643
  },
3733
- "platform_id": {
3734
- "description": "Platform ID to deploy",
3735
- "name": "platform_id",
3736
- "required": true,
3644
+ "proxy": {
3645
+ "description": "Proxy URL",
3646
+ "name": "proxy",
3647
+ "required": false,
3737
3648
  "hasDynamicHelp": false,
3738
3649
  "multiple": false,
3739
3650
  "type": "option"
3740
3651
  },
3652
+ "rbac": {
3653
+ "description": "Enable/disable RBAC",
3654
+ "name": "rbac",
3655
+ "required": false,
3656
+ "allowNo": true,
3657
+ "type": "boolean"
3658
+ },
3659
+ "tasks": {
3660
+ "description": "Enable/disable background tasks",
3661
+ "name": "tasks",
3662
+ "required": false,
3663
+ "allowNo": true,
3664
+ "type": "boolean"
3665
+ },
3741
3666
  "workspace": {
3742
3667
  "char": "w",
3743
3668
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3750,7 +3675,7 @@
3750
3675
  },
3751
3676
  "hasDynamicHelp": false,
3752
3677
  "hiddenAliases": [],
3753
- "id": "tenant:deploy_platform",
3678
+ "id": "tenant:edit",
3754
3679
  "pluginAlias": "@xano/cli",
3755
3680
  "pluginName": "@xano/cli",
3756
3681
  "pluginType": "core",
@@ -3761,7 +3686,82 @@
3761
3686
  "dist",
3762
3687
  "commands",
3763
3688
  "tenant",
3764
- "deploy_platform",
3689
+ "edit",
3690
+ "index.js"
3691
+ ]
3692
+ },
3693
+ "tenant:get": {
3694
+ "aliases": [],
3695
+ "args": {
3696
+ "tenant_name": {
3697
+ "description": "Tenant name to retrieve",
3698
+ "name": "tenant_name",
3699
+ "required": true
3700
+ }
3701
+ },
3702
+ "description": "Get details of a specific tenant",
3703
+ "examples": [
3704
+ "$ 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",
3705
+ "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3706
+ ],
3707
+ "flags": {
3708
+ "profile": {
3709
+ "char": "p",
3710
+ "description": "Profile to use (uses default profile if not specified)",
3711
+ "env": "XANO_PROFILE",
3712
+ "name": "profile",
3713
+ "required": false,
3714
+ "hasDynamicHelp": false,
3715
+ "multiple": false,
3716
+ "type": "option"
3717
+ },
3718
+ "verbose": {
3719
+ "char": "v",
3720
+ "description": "Show detailed request/response information",
3721
+ "env": "XANO_VERBOSE",
3722
+ "name": "verbose",
3723
+ "required": false,
3724
+ "allowNo": false,
3725
+ "type": "boolean"
3726
+ },
3727
+ "output": {
3728
+ "char": "o",
3729
+ "description": "Output format",
3730
+ "name": "output",
3731
+ "required": false,
3732
+ "default": "summary",
3733
+ "hasDynamicHelp": false,
3734
+ "multiple": false,
3735
+ "options": [
3736
+ "summary",
3737
+ "json"
3738
+ ],
3739
+ "type": "option"
3740
+ },
3741
+ "workspace": {
3742
+ "char": "w",
3743
+ "description": "Workspace ID (uses profile workspace if not provided)",
3744
+ "name": "workspace",
3745
+ "required": false,
3746
+ "hasDynamicHelp": false,
3747
+ "multiple": false,
3748
+ "type": "option"
3749
+ }
3750
+ },
3751
+ "hasDynamicHelp": false,
3752
+ "hiddenAliases": [],
3753
+ "id": "tenant:get",
3754
+ "pluginAlias": "@xano/cli",
3755
+ "pluginName": "@xano/cli",
3756
+ "pluginType": "core",
3757
+ "strict": true,
3758
+ "enableJsonFlag": false,
3759
+ "isESM": true,
3760
+ "relativePath": [
3761
+ "dist",
3762
+ "commands",
3763
+ "tenant",
3764
+ "get",
3765
3765
  "index.js"
3766
3766
  ]
3767
3767
  },
@@ -3917,6 +3917,99 @@
3917
3917
  "index.js"
3918
3918
  ]
3919
3919
  },
3920
+ "tenant:pull": {
3921
+ "aliases": [],
3922
+ "args": {
3923
+ "directory": {
3924
+ "description": "Output directory for pulled documents",
3925
+ "name": "directory",
3926
+ "required": true
3927
+ }
3928
+ },
3929
+ "description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
3930
+ "examples": [
3931
+ "$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
3932
+ "$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
3933
+ "$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
3934
+ "$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
3935
+ ],
3936
+ "flags": {
3937
+ "profile": {
3938
+ "char": "p",
3939
+ "description": "Profile to use (uses default profile if not specified)",
3940
+ "env": "XANO_PROFILE",
3941
+ "name": "profile",
3942
+ "required": false,
3943
+ "hasDynamicHelp": false,
3944
+ "multiple": false,
3945
+ "type": "option"
3946
+ },
3947
+ "verbose": {
3948
+ "char": "v",
3949
+ "description": "Show detailed request/response information",
3950
+ "env": "XANO_VERBOSE",
3951
+ "name": "verbose",
3952
+ "required": false,
3953
+ "allowNo": false,
3954
+ "type": "boolean"
3955
+ },
3956
+ "draft": {
3957
+ "description": "Include draft versions",
3958
+ "name": "draft",
3959
+ "required": false,
3960
+ "allowNo": false,
3961
+ "type": "boolean"
3962
+ },
3963
+ "env": {
3964
+ "description": "Include environment variables",
3965
+ "name": "env",
3966
+ "required": false,
3967
+ "allowNo": false,
3968
+ "type": "boolean"
3969
+ },
3970
+ "records": {
3971
+ "description": "Include records",
3972
+ "name": "records",
3973
+ "required": false,
3974
+ "allowNo": false,
3975
+ "type": "boolean"
3976
+ },
3977
+ "tenant": {
3978
+ "char": "t",
3979
+ "description": "Tenant name to pull from",
3980
+ "name": "tenant",
3981
+ "required": true,
3982
+ "hasDynamicHelp": false,
3983
+ "multiple": false,
3984
+ "type": "option"
3985
+ },
3986
+ "workspace": {
3987
+ "char": "w",
3988
+ "description": "Workspace ID (optional if set in profile)",
3989
+ "name": "workspace",
3990
+ "required": false,
3991
+ "hasDynamicHelp": false,
3992
+ "multiple": false,
3993
+ "type": "option"
3994
+ }
3995
+ },
3996
+ "hasDynamicHelp": false,
3997
+ "hiddenAliases": [],
3998
+ "id": "tenant:pull",
3999
+ "pluginAlias": "@xano/cli",
4000
+ "pluginName": "@xano/cli",
4001
+ "pluginType": "core",
4002
+ "strict": true,
4003
+ "enableJsonFlag": false,
4004
+ "isESM": true,
4005
+ "relativePath": [
4006
+ "dist",
4007
+ "commands",
4008
+ "tenant",
4009
+ "pull",
4010
+ "index.js"
4011
+ ]
4012
+ },
3920
4013
  "tenant:push": {
3921
4014
  "aliases": [],
3922
4015
  "args": {
@@ -4186,100 +4279,7 @@
4186
4279
  "index.js"
4187
4280
  ]
4188
4281
  },
4189
- "tenant:pull": {
4190
- "aliases": [],
4191
- "args": {
4192
- "directory": {
4193
- "description": "Output directory for pulled documents",
4194
- "name": "directory",
4195
- "required": true
4196
- }
4197
- },
4198
- "description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
4199
- "examples": [
4200
- "$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
4201
- "$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
4202
- "$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
4203
- "$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
4204
- ],
4205
- "flags": {
4206
- "profile": {
4207
- "char": "p",
4208
- "description": "Profile to use (uses default profile if not specified)",
4209
- "env": "XANO_PROFILE",
4210
- "name": "profile",
4211
- "required": false,
4212
- "hasDynamicHelp": false,
4213
- "multiple": false,
4214
- "type": "option"
4215
- },
4216
- "verbose": {
4217
- "char": "v",
4218
- "description": "Show detailed request/response information",
4219
- "env": "XANO_VERBOSE",
4220
- "name": "verbose",
4221
- "required": false,
4222
- "allowNo": false,
4223
- "type": "boolean"
4224
- },
4225
- "draft": {
4226
- "description": "Include draft versions",
4227
- "name": "draft",
4228
- "required": false,
4229
- "allowNo": false,
4230
- "type": "boolean"
4231
- },
4232
- "env": {
4233
- "description": "Include environment variables",
4234
- "name": "env",
4235
- "required": false,
4236
- "allowNo": false,
4237
- "type": "boolean"
4238
- },
4239
- "records": {
4240
- "description": "Include records",
4241
- "name": "records",
4242
- "required": false,
4243
- "allowNo": false,
4244
- "type": "boolean"
4245
- },
4246
- "tenant": {
4247
- "char": "t",
4248
- "description": "Tenant name to pull from",
4249
- "name": "tenant",
4250
- "required": true,
4251
- "hasDynamicHelp": false,
4252
- "multiple": false,
4253
- "type": "option"
4254
- },
4255
- "workspace": {
4256
- "char": "w",
4257
- "description": "Workspace ID (optional if set in profile)",
4258
- "name": "workspace",
4259
- "required": false,
4260
- "hasDynamicHelp": false,
4261
- "multiple": false,
4262
- "type": "option"
4263
- }
4264
- },
4265
- "hasDynamicHelp": false,
4266
- "hiddenAliases": [],
4267
- "id": "tenant:pull",
4268
- "pluginAlias": "@xano/cli",
4269
- "pluginName": "@xano/cli",
4270
- "pluginType": "core",
4271
- "strict": true,
4272
- "enableJsonFlag": false,
4273
- "isESM": true,
4274
- "relativePath": [
4275
- "dist",
4276
- "commands",
4277
- "tenant",
4278
- "pull",
4279
- "index.js"
4280
- ]
4281
- },
4282
- "unit_test:run_all": {
4282
+ "unit_test:run_all": {
4283
4283
  "aliases": [],
4284
4284
  "args": {},
4285
4285
  "description": "Run all unit tests in a workspace",
@@ -4537,20 +4537,14 @@
4537
4537
  "index.js"
4538
4538
  ]
4539
4539
  },
4540
- "workspace:create": {
4540
+ "workflow_test:list": {
4541
4541
  "aliases": [],
4542
- "args": {
4543
- "name": {
4544
- "description": "Name of the workspace",
4545
- "name": "name",
4546
- "required": true
4547
- }
4548
- },
4549
- "description": "Create a new workspace via the Xano Metadata API",
4542
+ "args": {},
4543
+ "description": "List all workflow tests in a workspace",
4550
4544
  "examples": [
4551
- "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
4552
- "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
4553
- "$ 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"
4545
+ "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
4546
+ "$ xano workflow-test list -w 5 --output json",
4547
+ "$ xano workflow-test list --branch main"
4554
4548
  ],
4555
4549
  "flags": {
4556
4550
  "profile": {
@@ -4572,10 +4566,10 @@
4572
4566
  "allowNo": false,
4573
4567
  "type": "boolean"
4574
4568
  },
4575
- "description": {
4576
- "char": "d",
4577
- "description": "Description for the workspace",
4578
- "name": "description",
4569
+ "branch": {
4570
+ "char": "b",
4571
+ "description": "Filter by branch name",
4572
+ "name": "branch",
4579
4573
  "required": false,
4580
4574
  "hasDynamicHelp": false,
4581
4575
  "multiple": false,
@@ -4594,11 +4588,20 @@
4594
4588
  "json"
4595
4589
  ],
4596
4590
  "type": "option"
4591
+ },
4592
+ "workspace": {
4593
+ "char": "w",
4594
+ "description": "Workspace ID (uses profile workspace if not provided)",
4595
+ "name": "workspace",
4596
+ "required": false,
4597
+ "hasDynamicHelp": false,
4598
+ "multiple": false,
4599
+ "type": "option"
4597
4600
  }
4598
4601
  },
4599
4602
  "hasDynamicHelp": false,
4600
4603
  "hiddenAliases": [],
4601
- "id": "workspace:create",
4604
+ "id": "workflow_test:list",
4602
4605
  "pluginAlias": "@xano/cli",
4603
4606
  "pluginName": "@xano/cli",
4604
4607
  "pluginType": "core",
@@ -4608,8 +4611,8 @@
4608
4611
  "relativePath": [
4609
4612
  "dist",
4610
4613
  "commands",
4611
- "workspace",
4612
- "create",
4614
+ "workflow_test",
4615
+ "list",
4613
4616
  "index.js"
4614
4617
  ]
4615
4618
  },
@@ -4766,14 +4769,20 @@
4766
4769
  "index.js"
4767
4770
  ]
4768
4771
  },
4769
- "workflow_test:list": {
4772
+ "workspace:create": {
4770
4773
  "aliases": [],
4771
- "args": {},
4772
- "description": "List all workflow tests in a workspace",
4774
+ "args": {
4775
+ "name": {
4776
+ "description": "Name of the workspace",
4777
+ "name": "name",
4778
+ "required": true
4779
+ }
4780
+ },
4781
+ "description": "Create a new workspace via the Xano Metadata API",
4773
4782
  "examples": [
4774
- "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
4775
- "$ xano workflow-test list -w 5 --output json",
4776
- "$ xano workflow-test list --branch main"
4783
+ "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
4784
+ "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
4785
+ "$ 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"
4777
4786
  ],
4778
4787
  "flags": {
4779
4788
  "profile": {
@@ -4795,10 +4804,10 @@
4795
4804
  "allowNo": false,
4796
4805
  "type": "boolean"
4797
4806
  },
4798
- "branch": {
4799
- "char": "b",
4800
- "description": "Filter by branch name",
4801
- "name": "branch",
4807
+ "description": {
4808
+ "char": "d",
4809
+ "description": "Description for the workspace",
4810
+ "name": "description",
4802
4811
  "required": false,
4803
4812
  "hasDynamicHelp": false,
4804
4813
  "multiple": false,
@@ -4817,20 +4826,86 @@
4817
4826
  "json"
4818
4827
  ],
4819
4828
  "type": "option"
4829
+ }
4830
+ },
4831
+ "hasDynamicHelp": false,
4832
+ "hiddenAliases": [],
4833
+ "id": "workspace:create",
4834
+ "pluginAlias": "@xano/cli",
4835
+ "pluginName": "@xano/cli",
4836
+ "pluginType": "core",
4837
+ "strict": true,
4838
+ "enableJsonFlag": false,
4839
+ "isESM": true,
4840
+ "relativePath": [
4841
+ "dist",
4842
+ "commands",
4843
+ "workspace",
4844
+ "create",
4845
+ "index.js"
4846
+ ]
4847
+ },
4848
+ "workspace:delete": {
4849
+ "aliases": [],
4850
+ "args": {
4851
+ "workspace_id": {
4852
+ "description": "Workspace ID to delete",
4853
+ "name": "workspace_id",
4854
+ "required": true
4855
+ }
4856
+ },
4857
+ "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
4858
+ "examples": [
4859
+ "$ 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",
4860
+ "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
4861
+ "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
4862
+ ],
4863
+ "flags": {
4864
+ "profile": {
4865
+ "char": "p",
4866
+ "description": "Profile to use (uses default profile if not specified)",
4867
+ "env": "XANO_PROFILE",
4868
+ "name": "profile",
4869
+ "required": false,
4870
+ "hasDynamicHelp": false,
4871
+ "multiple": false,
4872
+ "type": "option"
4820
4873
  },
4821
- "workspace": {
4822
- "char": "w",
4823
- "description": "Workspace ID (uses profile workspace if not provided)",
4824
- "name": "workspace",
4874
+ "verbose": {
4875
+ "char": "v",
4876
+ "description": "Show detailed request/response information",
4877
+ "env": "XANO_VERBOSE",
4878
+ "name": "verbose",
4879
+ "required": false,
4880
+ "allowNo": false,
4881
+ "type": "boolean"
4882
+ },
4883
+ "force": {
4884
+ "char": "f",
4885
+ "description": "Skip confirmation prompt",
4886
+ "name": "force",
4887
+ "required": false,
4888
+ "allowNo": false,
4889
+ "type": "boolean"
4890
+ },
4891
+ "output": {
4892
+ "char": "o",
4893
+ "description": "Output format",
4894
+ "name": "output",
4825
4895
  "required": false,
4896
+ "default": "summary",
4826
4897
  "hasDynamicHelp": false,
4827
4898
  "multiple": false,
4899
+ "options": [
4900
+ "summary",
4901
+ "json"
4902
+ ],
4828
4903
  "type": "option"
4829
4904
  }
4830
4905
  },
4831
4906
  "hasDynamicHelp": false,
4832
4907
  "hiddenAliases": [],
4833
- "id": "workflow_test:list",
4908
+ "id": "workspace:delete",
4834
4909
  "pluginAlias": "@xano/cli",
4835
4910
  "pluginName": "@xano/cli",
4836
4911
  "pluginType": "core",
@@ -4840,8 +4915,8 @@
4840
4915
  "relativePath": [
4841
4916
  "dist",
4842
4917
  "commands",
4843
- "workflow_test",
4844
- "list",
4918
+ "workspace",
4919
+ "delete",
4845
4920
  "index.js"
4846
4921
  ]
4847
4922
  },
@@ -4952,95 +5027,20 @@
4952
5027
  "index.js"
4953
5028
  ]
4954
5029
  },
4955
- "workspace:delete": {
5030
+ "workspace:get": {
4956
5031
  "aliases": [],
4957
5032
  "args": {
4958
5033
  "workspace_id": {
4959
- "description": "Workspace ID to delete",
5034
+ "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4960
5035
  "name": "workspace_id",
4961
- "required": true
5036
+ "required": false
4962
5037
  }
4963
5038
  },
4964
- "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
5039
+ "description": "Get details of a specific workspace from the Xano Metadata API",
4965
5040
  "examples": [
4966
- "$ 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",
4967
- "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
4968
- "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
4969
- ],
4970
- "flags": {
4971
- "profile": {
4972
- "char": "p",
4973
- "description": "Profile to use (uses default profile if not specified)",
4974
- "env": "XANO_PROFILE",
4975
- "name": "profile",
4976
- "required": false,
4977
- "hasDynamicHelp": false,
4978
- "multiple": false,
4979
- "type": "option"
4980
- },
4981
- "verbose": {
4982
- "char": "v",
4983
- "description": "Show detailed request/response information",
4984
- "env": "XANO_VERBOSE",
4985
- "name": "verbose",
4986
- "required": false,
4987
- "allowNo": false,
4988
- "type": "boolean"
4989
- },
4990
- "force": {
4991
- "char": "f",
4992
- "description": "Skip confirmation prompt",
4993
- "name": "force",
4994
- "required": false,
4995
- "allowNo": false,
4996
- "type": "boolean"
4997
- },
4998
- "output": {
4999
- "char": "o",
5000
- "description": "Output format",
5001
- "name": "output",
5002
- "required": false,
5003
- "default": "summary",
5004
- "hasDynamicHelp": false,
5005
- "multiple": false,
5006
- "options": [
5007
- "summary",
5008
- "json"
5009
- ],
5010
- "type": "option"
5011
- }
5012
- },
5013
- "hasDynamicHelp": false,
5014
- "hiddenAliases": [],
5015
- "id": "workspace:delete",
5016
- "pluginAlias": "@xano/cli",
5017
- "pluginName": "@xano/cli",
5018
- "pluginType": "core",
5019
- "strict": true,
5020
- "enableJsonFlag": false,
5021
- "isESM": true,
5022
- "relativePath": [
5023
- "dist",
5024
- "commands",
5025
- "workspace",
5026
- "delete",
5027
- "index.js"
5028
- ]
5029
- },
5030
- "workspace:get": {
5031
- "aliases": [],
5032
- "args": {
5033
- "workspace_id": {
5034
- "description": "Workspace ID to get details for (uses profile workspace if not provided)",
5035
- "name": "workspace_id",
5036
- "required": false
5037
- }
5038
- },
5039
- "description": "Get details of a specific workspace from the Xano Metadata API",
5040
- "examples": [
5041
- "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
5042
- "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
5043
- "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
5041
+ "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
5042
+ "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
5043
+ "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
5044
5044
  ],
5045
5045
  "flags": {
5046
5046
  "profile": {
@@ -5546,13 +5546,15 @@
5546
5546
  "index.js"
5547
5547
  ]
5548
5548
  },
5549
- "sandbox:env:get": {
5549
+ "sandbox:env:get_all": {
5550
5550
  "aliases": [],
5551
5551
  "args": {},
5552
- "description": "Get a single environment variable for a sandbox environment",
5552
+ "description": "Get all environment variables for a sandbox environment and save to a YAML file",
5553
5553
  "examples": [
5554
- "$ xano sandbox env get --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
5555
- "$ xano sandbox env get --name DATABASE_URL -o json"
5554
+ "$ xano sandbox env get_all\nEnvironment variables saved to env_<tenant>.yaml\n",
5555
+ "$ xano sandbox env get_all --file ./my-env.yaml",
5556
+ "$ xano sandbox env get_all --view",
5557
+ "$ xano sandbox env get_all -o json"
5556
5558
  ],
5557
5559
  "flags": {
5558
5560
  "profile": {
@@ -5574,11 +5576,11 @@
5574
5576
  "allowNo": false,
5575
5577
  "type": "boolean"
5576
5578
  },
5577
- "name": {
5578
- "char": "n",
5579
- "description": "Environment variable name",
5580
- "name": "name",
5581
- "required": true,
5579
+ "file": {
5580
+ "char": "f",
5581
+ "description": "Output file path (default: env_<sandbox_name>.yaml)",
5582
+ "name": "file",
5583
+ "required": false,
5582
5584
  "hasDynamicHelp": false,
5583
5585
  "multiple": false,
5584
5586
  "type": "option"
@@ -5596,11 +5598,18 @@
5596
5598
  "json"
5597
5599
  ],
5598
5600
  "type": "option"
5601
+ },
5602
+ "view": {
5603
+ "description": "Print environment variables to stdout instead of saving to file",
5604
+ "name": "view",
5605
+ "required": false,
5606
+ "allowNo": false,
5607
+ "type": "boolean"
5599
5608
  }
5600
5609
  },
5601
5610
  "hasDynamicHelp": false,
5602
5611
  "hiddenAliases": [],
5603
- "id": "sandbox:env:get",
5612
+ "id": "sandbox:env:get_all",
5604
5613
  "pluginAlias": "@xano/cli",
5605
5614
  "pluginName": "@xano/cli",
5606
5615
  "pluginType": "core",
@@ -5612,19 +5621,17 @@
5612
5621
  "commands",
5613
5622
  "sandbox",
5614
5623
  "env",
5615
- "get",
5624
+ "get_all",
5616
5625
  "index.js"
5617
5626
  ]
5618
5627
  },
5619
- "sandbox:env:get_all": {
5628
+ "sandbox:env:list": {
5620
5629
  "aliases": [],
5621
5630
  "args": {},
5622
- "description": "Get all environment variables for a sandbox environment and save to a YAML file",
5631
+ "description": "List environment variable keys for a sandbox environment",
5623
5632
  "examples": [
5624
- "$ xano sandbox env get_all\nEnvironment variables saved to env_<tenant>.yaml\n",
5625
- "$ xano sandbox env get_all --file ./my-env.yaml",
5626
- "$ xano sandbox env get_all --view",
5627
- "$ xano sandbox env get_all -o json"
5633
+ "$ xano sandbox env list\nEnvironment variables for sandbox environment:\n - DATABASE_URL\n - API_KEY\n",
5634
+ "$ xano sandbox env list -o json"
5628
5635
  ],
5629
5636
  "flags": {
5630
5637
  "profile": {
@@ -5646,15 +5653,6 @@
5646
5653
  "allowNo": false,
5647
5654
  "type": "boolean"
5648
5655
  },
5649
- "file": {
5650
- "char": "f",
5651
- "description": "Output file path (default: env_<sandbox_name>.yaml)",
5652
- "name": "file",
5653
- "required": false,
5654
- "hasDynamicHelp": false,
5655
- "multiple": false,
5656
- "type": "option"
5657
- },
5658
5656
  "output": {
5659
5657
  "char": "o",
5660
5658
  "description": "Output format",
@@ -5668,18 +5666,11 @@
5668
5666
  "json"
5669
5667
  ],
5670
5668
  "type": "option"
5671
- },
5672
- "view": {
5673
- "description": "Print environment variables to stdout instead of saving to file",
5674
- "name": "view",
5675
- "required": false,
5676
- "allowNo": false,
5677
- "type": "boolean"
5678
5669
  }
5679
5670
  },
5680
5671
  "hasDynamicHelp": false,
5681
5672
  "hiddenAliases": [],
5682
- "id": "sandbox:env:get_all",
5673
+ "id": "sandbox:env:list",
5683
5674
  "pluginAlias": "@xano/cli",
5684
5675
  "pluginName": "@xano/cli",
5685
5676
  "pluginType": "core",
@@ -5691,17 +5682,18 @@
5691
5682
  "commands",
5692
5683
  "sandbox",
5693
5684
  "env",
5694
- "get_all",
5685
+ "list",
5695
5686
  "index.js"
5696
5687
  ]
5697
5688
  },
5698
- "sandbox:env:list": {
5689
+ "sandbox:env:set_all": {
5699
5690
  "aliases": [],
5700
5691
  "args": {},
5701
- "description": "List environment variable keys for a sandbox environment",
5692
+ "description": "Set all environment variables for a sandbox environment from a YAML file (replaces all existing)",
5702
5693
  "examples": [
5703
- "$ xano sandbox env list\nEnvironment variables for sandbox environment:\n - DATABASE_URL\n - API_KEY\n",
5704
- "$ xano sandbox env list -o json"
5694
+ "$ xano sandbox env set_all\nReads from env_<tenant>.yaml\n",
5695
+ "$ xano sandbox env set_all --file ./my-env.yaml",
5696
+ "$ xano sandbox env set_all -o json"
5705
5697
  ],
5706
5698
  "flags": {
5707
5699
  "profile": {
@@ -5723,6 +5715,22 @@
5723
5715
  "allowNo": false,
5724
5716
  "type": "boolean"
5725
5717
  },
5718
+ "clean": {
5719
+ "description": "Remove the source file after successful upload",
5720
+ "name": "clean",
5721
+ "required": false,
5722
+ "allowNo": false,
5723
+ "type": "boolean"
5724
+ },
5725
+ "file": {
5726
+ "char": "f",
5727
+ "description": "Path to env file (default: env_<sandbox_name>.yaml)",
5728
+ "name": "file",
5729
+ "required": false,
5730
+ "hasDynamicHelp": false,
5731
+ "multiple": false,
5732
+ "type": "option"
5733
+ },
5726
5734
  "output": {
5727
5735
  "char": "o",
5728
5736
  "description": "Output format",
@@ -5740,7 +5748,7 @@
5740
5748
  },
5741
5749
  "hasDynamicHelp": false,
5742
5750
  "hiddenAliases": [],
5743
- "id": "sandbox:env:list",
5751
+ "id": "sandbox:env:set_all",
5744
5752
  "pluginAlias": "@xano/cli",
5745
5753
  "pluginName": "@xano/cli",
5746
5754
  "pluginType": "core",
@@ -5752,7 +5760,7 @@
5752
5760
  "commands",
5753
5761
  "sandbox",
5754
5762
  "env",
5755
- "list",
5763
+ "set_all",
5756
5764
  "index.js"
5757
5765
  ]
5758
5766
  },
@@ -5834,14 +5842,15 @@
5834
5842
  "index.js"
5835
5843
  ]
5836
5844
  },
5837
- "sandbox:env:set_all": {
5845
+ "sandbox:license:set": {
5838
5846
  "aliases": [],
5839
5847
  "args": {},
5840
- "description": "Set all environment variables for a sandbox environment from a YAML file (replaces all existing)",
5848
+ "description": "Set/update the license for a sandbox environment",
5841
5849
  "examples": [
5842
- "$ xano sandbox env set_all\nReads from env_<tenant>.yaml\n",
5843
- "$ xano sandbox env set_all --file ./my-env.yaml",
5844
- "$ xano sandbox env set_all -o json"
5850
+ "$ xano sandbox license set\nReads from license_<tenant>.yaml\n",
5851
+ "$ xano sandbox license set --file ./license.yaml",
5852
+ "$ xano sandbox license set --value 'key: value'",
5853
+ "$ xano sandbox license set -o json"
5845
5854
  ],
5846
5855
  "flags": {
5847
5856
  "profile": {
@@ -5865,6 +5874,9 @@
5865
5874
  },
5866
5875
  "clean": {
5867
5876
  "description": "Remove the source file after successful upload",
5877
+ "exclusive": [
5878
+ "value"
5879
+ ],
5868
5880
  "name": "clean",
5869
5881
  "required": false,
5870
5882
  "allowNo": false,
@@ -5872,7 +5884,10 @@
5872
5884
  },
5873
5885
  "file": {
5874
5886
  "char": "f",
5875
- "description": "Path to env file (default: env_<sandbox_name>.yaml)",
5887
+ "description": "Path to license file (default: license_<sandbox_name>.yaml)",
5888
+ "exclusive": [
5889
+ "value"
5890
+ ],
5876
5891
  "name": "file",
5877
5892
  "required": false,
5878
5893
  "hasDynamicHelp": false,
@@ -5892,11 +5907,23 @@
5892
5907
  "json"
5893
5908
  ],
5894
5909
  "type": "option"
5910
+ },
5911
+ "value": {
5912
+ "description": "Inline license value",
5913
+ "exclusive": [
5914
+ "file",
5915
+ "clean"
5916
+ ],
5917
+ "name": "value",
5918
+ "required": false,
5919
+ "hasDynamicHelp": false,
5920
+ "multiple": false,
5921
+ "type": "option"
5895
5922
  }
5896
5923
  },
5897
5924
  "hasDynamicHelp": false,
5898
5925
  "hiddenAliases": [],
5899
- "id": "sandbox:env:set_all",
5926
+ "id": "sandbox:license:set",
5900
5927
  "pluginAlias": "@xano/cli",
5901
5928
  "pluginName": "@xano/cli",
5902
5929
  "pluginType": "core",
@@ -5907,20 +5934,18 @@
5907
5934
  "dist",
5908
5935
  "commands",
5909
5936
  "sandbox",
5910
- "env",
5911
- "set_all",
5937
+ "license",
5938
+ "set",
5912
5939
  "index.js"
5913
5940
  ]
5914
5941
  },
5915
- "sandbox:license:get": {
5942
+ "sandbox:env:get": {
5916
5943
  "aliases": [],
5917
5944
  "args": {},
5918
- "description": "Get the license for a sandbox environment",
5945
+ "description": "Get a single environment variable for a sandbox environment",
5919
5946
  "examples": [
5920
- "$ xano sandbox license get\nLicense saved to license_<tenant>.yaml\n",
5921
- "$ xano sandbox license get --file ./my-license.yaml",
5922
- "$ xano sandbox license get --view",
5923
- "$ xano sandbox license get -o json"
5947
+ "$ xano sandbox env get --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
5948
+ "$ xano sandbox env get --name DATABASE_URL -o json"
5924
5949
  ],
5925
5950
  "flags": {
5926
5951
  "profile": {
@@ -5942,11 +5967,11 @@
5942
5967
  "allowNo": false,
5943
5968
  "type": "boolean"
5944
5969
  },
5945
- "file": {
5946
- "char": "f",
5947
- "description": "Output file path (default: license_<sandbox_name>.yaml)",
5948
- "name": "file",
5949
- "required": false,
5970
+ "name": {
5971
+ "char": "n",
5972
+ "description": "Environment variable name",
5973
+ "name": "name",
5974
+ "required": true,
5950
5975
  "hasDynamicHelp": false,
5951
5976
  "multiple": false,
5952
5977
  "type": "option"
@@ -5964,18 +5989,11 @@
5964
5989
  "json"
5965
5990
  ],
5966
5991
  "type": "option"
5967
- },
5968
- "view": {
5969
- "description": "Print license to stdout instead of saving to file",
5970
- "name": "view",
5971
- "required": false,
5972
- "allowNo": false,
5973
- "type": "boolean"
5974
5992
  }
5975
5993
  },
5976
5994
  "hasDynamicHelp": false,
5977
5995
  "hiddenAliases": [],
5978
- "id": "sandbox:license:get",
5996
+ "id": "sandbox:env:get",
5979
5997
  "pluginAlias": "@xano/cli",
5980
5998
  "pluginName": "@xano/cli",
5981
5999
  "pluginType": "core",
@@ -5986,20 +6004,20 @@
5986
6004
  "dist",
5987
6005
  "commands",
5988
6006
  "sandbox",
5989
- "license",
6007
+ "env",
5990
6008
  "get",
5991
6009
  "index.js"
5992
6010
  ]
5993
6011
  },
5994
- "sandbox:license:set": {
6012
+ "sandbox:license:get": {
5995
6013
  "aliases": [],
5996
6014
  "args": {},
5997
- "description": "Set/update the license for a sandbox environment",
6015
+ "description": "Get the license for a sandbox environment",
5998
6016
  "examples": [
5999
- "$ xano sandbox license set\nReads from license_<tenant>.yaml\n",
6000
- "$ xano sandbox license set --file ./license.yaml",
6001
- "$ xano sandbox license set --value 'key: value'",
6002
- "$ xano sandbox license set -o json"
6017
+ "$ xano sandbox license get\nLicense saved to license_<tenant>.yaml\n",
6018
+ "$ xano sandbox license get --file ./my-license.yaml",
6019
+ "$ xano sandbox license get --view",
6020
+ "$ xano sandbox license get -o json"
6003
6021
  ],
6004
6022
  "flags": {
6005
6023
  "profile": {
@@ -6021,22 +6039,9 @@
6021
6039
  "allowNo": false,
6022
6040
  "type": "boolean"
6023
6041
  },
6024
- "clean": {
6025
- "description": "Remove the source file after successful upload",
6026
- "exclusive": [
6027
- "value"
6028
- ],
6029
- "name": "clean",
6030
- "required": false,
6031
- "allowNo": false,
6032
- "type": "boolean"
6033
- },
6034
6042
  "file": {
6035
6043
  "char": "f",
6036
- "description": "Path to license file (default: license_<sandbox_name>.yaml)",
6037
- "exclusive": [
6038
- "value"
6039
- ],
6044
+ "description": "Output file path (default: license_<sandbox_name>.yaml)",
6040
6045
  "name": "file",
6041
6046
  "required": false,
6042
6047
  "hasDynamicHelp": false,
@@ -6057,92 +6062,17 @@
6057
6062
  ],
6058
6063
  "type": "option"
6059
6064
  },
6060
- "value": {
6061
- "description": "Inline license value",
6062
- "exclusive": [
6063
- "file",
6064
- "clean"
6065
- ],
6066
- "name": "value",
6067
- "required": false,
6068
- "hasDynamicHelp": false,
6069
- "multiple": false,
6070
- "type": "option"
6071
- }
6072
- },
6073
- "hasDynamicHelp": false,
6074
- "hiddenAliases": [],
6075
- "id": "sandbox:license:set",
6076
- "pluginAlias": "@xano/cli",
6077
- "pluginName": "@xano/cli",
6078
- "pluginType": "core",
6079
- "strict": true,
6080
- "enableJsonFlag": false,
6081
- "isESM": true,
6082
- "relativePath": [
6083
- "dist",
6084
- "commands",
6085
- "sandbox",
6086
- "license",
6087
- "set",
6088
- "index.js"
6089
- ]
6090
- },
6091
- "sandbox:workflow_test:list": {
6092
- "aliases": [],
6093
- "args": {},
6094
- "description": "List workflow tests for a sandbox environment",
6095
- "examples": [
6096
- "$ xano sandbox workflow-test list\nWorkflow tests:\n - my-test (ID: 1)\n",
6097
- "$ xano sandbox workflow-test list -o json"
6098
- ],
6099
- "flags": {
6100
- "profile": {
6101
- "char": "p",
6102
- "description": "Profile to use (uses default profile if not specified)",
6103
- "env": "XANO_PROFILE",
6104
- "name": "profile",
6105
- "required": false,
6106
- "hasDynamicHelp": false,
6107
- "multiple": false,
6108
- "type": "option"
6109
- },
6110
- "verbose": {
6111
- "char": "v",
6112
- "description": "Show detailed request/response information",
6113
- "env": "XANO_VERBOSE",
6114
- "name": "verbose",
6065
+ "view": {
6066
+ "description": "Print license to stdout instead of saving to file",
6067
+ "name": "view",
6115
6068
  "required": false,
6116
6069
  "allowNo": false,
6117
6070
  "type": "boolean"
6118
- },
6119
- "branch": {
6120
- "char": "b",
6121
- "description": "Filter by branch name",
6122
- "name": "branch",
6123
- "required": false,
6124
- "hasDynamicHelp": false,
6125
- "multiple": false,
6126
- "type": "option"
6127
- },
6128
- "output": {
6129
- "char": "o",
6130
- "description": "Output format",
6131
- "name": "output",
6132
- "required": false,
6133
- "default": "summary",
6134
- "hasDynamicHelp": false,
6135
- "multiple": false,
6136
- "options": [
6137
- "summary",
6138
- "json"
6139
- ],
6140
- "type": "option"
6141
6071
  }
6142
6072
  },
6143
6073
  "hasDynamicHelp": false,
6144
6074
  "hiddenAliases": [],
6145
- "id": "sandbox:workflow_test:list",
6075
+ "id": "sandbox:license:get",
6146
6076
  "pluginAlias": "@xano/cli",
6147
6077
  "pluginName": "@xano/cli",
6148
6078
  "pluginType": "core",
@@ -6153,24 +6083,31 @@
6153
6083
  "dist",
6154
6084
  "commands",
6155
6085
  "sandbox",
6156
- "workflow_test",
6157
- "list",
6086
+ "license",
6087
+ "get",
6158
6088
  "index.js"
6159
6089
  ]
6160
6090
  },
6161
- "sandbox:workflow_test:run": {
6091
+ "static_host:build:get": {
6162
6092
  "aliases": [],
6163
6093
  "args": {
6164
- "workflow_test_id": {
6165
- "description": "ID of the workflow test to run",
6166
- "name": "workflow_test_id",
6094
+ "build_id": {
6095
+ "description": "Build ID",
6096
+ "name": "build_id",
6097
+ "required": true
6098
+ },
6099
+ "static_host": {
6100
+ "description": "Static Host name",
6101
+ "name": "static_host",
6167
6102
  "required": true
6168
6103
  }
6169
6104
  },
6170
- "description": "Run a workflow test for a sandbox environment",
6105
+ "description": "Get details of a specific build for a static host",
6171
6106
  "examples": [
6172
- "$ xano sandbox workflow-test run 42\nRunning workflow test 42...\nResult: PASS (0.25s)\n",
6173
- "$ xano sandbox workflow-test run 42 -o json"
6107
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6108
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6109
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6110
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6174
6111
  ],
6175
6112
  "flags": {
6176
6113
  "profile": {
@@ -6205,11 +6142,20 @@
6205
6142
  "json"
6206
6143
  ],
6207
6144
  "type": "option"
6145
+ },
6146
+ "workspace": {
6147
+ "char": "w",
6148
+ "description": "Workspace ID (optional if set in profile)",
6149
+ "name": "workspace",
6150
+ "required": false,
6151
+ "hasDynamicHelp": false,
6152
+ "multiple": false,
6153
+ "type": "option"
6208
6154
  }
6209
6155
  },
6210
6156
  "hasDynamicHelp": false,
6211
6157
  "hiddenAliases": [],
6212
- "id": "sandbox:workflow_test:run",
6158
+ "id": "static_host:build:get",
6213
6159
  "pluginAlias": "@xano/cli",
6214
6160
  "pluginName": "@xano/cli",
6215
6161
  "pluginType": "core",
@@ -6219,19 +6165,19 @@
6219
6165
  "relativePath": [
6220
6166
  "dist",
6221
6167
  "commands",
6222
- "sandbox",
6223
- "workflow_test",
6224
- "run",
6168
+ "static_host",
6169
+ "build",
6170
+ "get",
6225
6171
  "index.js"
6226
6172
  ]
6227
6173
  },
6228
- "sandbox:workflow_test:run_all": {
6174
+ "sandbox:workflow_test:list": {
6229
6175
  "aliases": [],
6230
6176
  "args": {},
6231
- "description": "Run all workflow tests for a sandbox environment",
6177
+ "description": "List workflow tests for a sandbox environment",
6232
6178
  "examples": [
6233
- "$ xano sandbox workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (0.25s)\nFAIL data-check (0.10s)\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
6234
- "$ xano sandbox workflow-test run-all -o json"
6179
+ "$ xano sandbox workflow-test list\nWorkflow tests:\n - my-test (ID: 1)\n",
6180
+ "$ xano sandbox workflow-test list -o json"
6235
6181
  ],
6236
6182
  "flags": {
6237
6183
  "profile": {
@@ -6279,7 +6225,7 @@
6279
6225
  },
6280
6226
  "hasDynamicHelp": false,
6281
6227
  "hiddenAliases": [],
6282
- "id": "sandbox:workflow_test:run_all",
6228
+ "id": "sandbox:workflow_test:list",
6283
6229
  "pluginAlias": "@xano/cli",
6284
6230
  "pluginName": "@xano/cli",
6285
6231
  "pluginType": "core",
@@ -6291,7 +6237,7 @@
6291
6237
  "commands",
6292
6238
  "sandbox",
6293
6239
  "workflow_test",
6294
- "run_all",
6240
+ "list",
6295
6241
  "index.js"
6296
6242
  ]
6297
6243
  },
@@ -6399,26 +6345,21 @@
6399
6345
  "index.js"
6400
6346
  ]
6401
6347
  },
6402
- "static_host:build:get": {
6348
+ "static_host:build:list": {
6403
6349
  "aliases": [],
6404
6350
  "args": {
6405
- "build_id": {
6406
- "description": "Build ID",
6407
- "name": "build_id",
6408
- "required": true
6409
- },
6410
6351
  "static_host": {
6411
6352
  "description": "Static Host name",
6412
6353
  "name": "static_host",
6413
6354
  "required": true
6414
6355
  }
6415
6356
  },
6416
- "description": "Get details of a specific build for a static host",
6357
+ "description": "List all builds for a static host",
6417
6358
  "examples": [
6418
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6419
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6420
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6421
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6359
+ "$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
6360
+ "$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
6361
+ "$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
6362
+ "$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
6422
6363
  ],
6423
6364
  "flags": {
6424
6365
  "profile": {
@@ -6454,6 +6395,24 @@
6454
6395
  ],
6455
6396
  "type": "option"
6456
6397
  },
6398
+ "page": {
6399
+ "description": "Page number for pagination",
6400
+ "name": "page",
6401
+ "required": false,
6402
+ "default": 1,
6403
+ "hasDynamicHelp": false,
6404
+ "multiple": false,
6405
+ "type": "option"
6406
+ },
6407
+ "per_page": {
6408
+ "description": "Number of results per page",
6409
+ "name": "per_page",
6410
+ "required": false,
6411
+ "default": 50,
6412
+ "hasDynamicHelp": false,
6413
+ "multiple": false,
6414
+ "type": "option"
6415
+ },
6457
6416
  "workspace": {
6458
6417
  "char": "w",
6459
6418
  "description": "Workspace ID (optional if set in profile)",
@@ -6466,7 +6425,7 @@
6466
6425
  },
6467
6426
  "hasDynamicHelp": false,
6468
6427
  "hiddenAliases": [],
6469
- "id": "static_host:build:get",
6428
+ "id": "static_host:build:list",
6470
6429
  "pluginAlias": "@xano/cli",
6471
6430
  "pluginName": "@xano/cli",
6472
6431
  "pluginType": "core",
@@ -6478,25 +6437,23 @@
6478
6437
  "commands",
6479
6438
  "static_host",
6480
6439
  "build",
6481
- "get",
6440
+ "list",
6482
6441
  "index.js"
6483
6442
  ]
6484
6443
  },
6485
- "static_host:build:list": {
6444
+ "sandbox:workflow_test:run": {
6486
6445
  "aliases": [],
6487
6446
  "args": {
6488
- "static_host": {
6489
- "description": "Static Host name",
6490
- "name": "static_host",
6447
+ "workflow_test_id": {
6448
+ "description": "ID of the workflow test to run",
6449
+ "name": "workflow_test_id",
6491
6450
  "required": true
6492
6451
  }
6493
6452
  },
6494
- "description": "List all builds for a static host",
6453
+ "description": "Run a workflow test for a sandbox environment",
6495
6454
  "examples": [
6496
- "$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
6497
- "$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
6498
- "$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
6499
- "$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
6455
+ "$ xano sandbox workflow-test run 42\nRunning workflow test 42...\nResult: PASS (0.25s)\n",
6456
+ "$ xano sandbox workflow-test run 42 -o json"
6500
6457
  ],
6501
6458
  "flags": {
6502
6459
  "profile": {
@@ -6531,38 +6488,11 @@
6531
6488
  "json"
6532
6489
  ],
6533
6490
  "type": "option"
6534
- },
6535
- "page": {
6536
- "description": "Page number for pagination",
6537
- "name": "page",
6538
- "required": false,
6539
- "default": 1,
6540
- "hasDynamicHelp": false,
6541
- "multiple": false,
6542
- "type": "option"
6543
- },
6544
- "per_page": {
6545
- "description": "Number of results per page",
6546
- "name": "per_page",
6547
- "required": false,
6548
- "default": 50,
6549
- "hasDynamicHelp": false,
6550
- "multiple": false,
6551
- "type": "option"
6552
- },
6553
- "workspace": {
6554
- "char": "w",
6555
- "description": "Workspace ID (optional if set in profile)",
6556
- "name": "workspace",
6557
- "required": false,
6558
- "hasDynamicHelp": false,
6559
- "multiple": false,
6560
- "type": "option"
6561
6491
  }
6562
6492
  },
6563
6493
  "hasDynamicHelp": false,
6564
6494
  "hiddenAliases": [],
6565
- "id": "static_host:build:list",
6495
+ "id": "sandbox:workflow_test:run",
6566
6496
  "pluginAlias": "@xano/cli",
6567
6497
  "pluginName": "@xano/cli",
6568
6498
  "pluginType": "core",
@@ -6572,25 +6502,19 @@
6572
6502
  "relativePath": [
6573
6503
  "dist",
6574
6504
  "commands",
6575
- "static_host",
6576
- "build",
6577
- "list",
6505
+ "sandbox",
6506
+ "workflow_test",
6507
+ "run",
6578
6508
  "index.js"
6579
6509
  ]
6580
6510
  },
6581
- "tenant:backup:create": {
6511
+ "sandbox:workflow_test:run_all": {
6582
6512
  "aliases": [],
6583
- "args": {
6584
- "tenant_name": {
6585
- "description": "Tenant name to back up",
6586
- "name": "tenant_name",
6587
- "required": true
6588
- }
6589
- },
6590
- "description": "Create a backup for a tenant",
6513
+ "args": {},
6514
+ "description": "Run all workflow tests for a sandbox environment",
6591
6515
  "examples": [
6592
- "$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
6593
- "$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
6516
+ "$ xano sandbox workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (0.25s)\nFAIL data-check (0.10s)\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
6517
+ "$ xano sandbox workflow-test run-all -o json"
6594
6518
  ],
6595
6519
  "flags": {
6596
6520
  "profile": {
@@ -6612,12 +6536,11 @@
6612
6536
  "allowNo": false,
6613
6537
  "type": "boolean"
6614
6538
  },
6615
- "description": {
6616
- "char": "d",
6617
- "description": "Backup description",
6618
- "name": "description",
6539
+ "branch": {
6540
+ "char": "b",
6541
+ "description": "Filter by branch name",
6542
+ "name": "branch",
6619
6543
  "required": false,
6620
- "default": "",
6621
6544
  "hasDynamicHelp": false,
6622
6545
  "multiple": false,
6623
6546
  "type": "option"
@@ -6635,20 +6558,11 @@
6635
6558
  "json"
6636
6559
  ],
6637
6560
  "type": "option"
6638
- },
6639
- "workspace": {
6640
- "char": "w",
6641
- "description": "Workspace ID (uses profile workspace if not provided)",
6642
- "name": "workspace",
6643
- "required": false,
6644
- "hasDynamicHelp": false,
6645
- "multiple": false,
6646
- "type": "option"
6647
6561
  }
6648
6562
  },
6649
6563
  "hasDynamicHelp": false,
6650
6564
  "hiddenAliases": [],
6651
- "id": "tenant:backup:create",
6565
+ "id": "sandbox:workflow_test:run_all",
6652
6566
  "pluginAlias": "@xano/cli",
6653
6567
  "pluginName": "@xano/cli",
6654
6568
  "pluginType": "core",
@@ -6658,9 +6572,9 @@
6658
6572
  "relativePath": [
6659
6573
  "dist",
6660
6574
  "commands",
6661
- "tenant",
6662
- "backup",
6663
- "create",
6575
+ "sandbox",
6576
+ "workflow_test",
6577
+ "run_all",
6664
6578
  "index.js"
6665
6579
  ]
6666
6580
  },
@@ -7122,239 +7036,6 @@
7122
7036
  "index.js"
7123
7037
  ]
7124
7038
  },
7125
- "sandbox:unit_test:list": {
7126
- "aliases": [],
7127
- "args": {},
7128
- "description": "List all unit tests for a sandbox environment",
7129
- "examples": [
7130
- "$ xano sandbox unit-test list\nUnit tests:\n - my-test (ID: abc-123) [function: math]\n",
7131
- "$ xano sandbox unit-test list -o json"
7132
- ],
7133
- "flags": {
7134
- "profile": {
7135
- "char": "p",
7136
- "description": "Profile to use (uses default profile if not specified)",
7137
- "env": "XANO_PROFILE",
7138
- "name": "profile",
7139
- "required": false,
7140
- "hasDynamicHelp": false,
7141
- "multiple": false,
7142
- "type": "option"
7143
- },
7144
- "verbose": {
7145
- "char": "v",
7146
- "description": "Show detailed request/response information",
7147
- "env": "XANO_VERBOSE",
7148
- "name": "verbose",
7149
- "required": false,
7150
- "allowNo": false,
7151
- "type": "boolean"
7152
- },
7153
- "branch": {
7154
- "char": "b",
7155
- "description": "Filter by branch name",
7156
- "name": "branch",
7157
- "required": false,
7158
- "hasDynamicHelp": false,
7159
- "multiple": false,
7160
- "type": "option"
7161
- },
7162
- "obj-type": {
7163
- "description": "Filter by object type",
7164
- "name": "obj-type",
7165
- "required": false,
7166
- "hasDynamicHelp": false,
7167
- "multiple": false,
7168
- "options": [
7169
- "function",
7170
- "query",
7171
- "middleware"
7172
- ],
7173
- "type": "option"
7174
- },
7175
- "output": {
7176
- "char": "o",
7177
- "description": "Output format",
7178
- "name": "output",
7179
- "required": false,
7180
- "default": "summary",
7181
- "hasDynamicHelp": false,
7182
- "multiple": false,
7183
- "options": [
7184
- "summary",
7185
- "json"
7186
- ],
7187
- "type": "option"
7188
- }
7189
- },
7190
- "hasDynamicHelp": false,
7191
- "hiddenAliases": [],
7192
- "id": "sandbox:unit_test:list",
7193
- "pluginAlias": "@xano/cli",
7194
- "pluginName": "@xano/cli",
7195
- "pluginType": "core",
7196
- "strict": true,
7197
- "enableJsonFlag": false,
7198
- "isESM": true,
7199
- "relativePath": [
7200
- "dist",
7201
- "commands",
7202
- "sandbox",
7203
- "unit_test",
7204
- "list",
7205
- "index.js"
7206
- ]
7207
- },
7208
- "sandbox:unit_test:run": {
7209
- "aliases": [],
7210
- "args": {
7211
- "unit_test_id": {
7212
- "description": "ID of the unit test to run",
7213
- "name": "unit_test_id",
7214
- "required": true
7215
- }
7216
- },
7217
- "description": "Run a unit test for a sandbox environment",
7218
- "examples": [
7219
- "$ xano sandbox unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
7220
- "$ xano sandbox unit-test run abc-123 -o json"
7221
- ],
7222
- "flags": {
7223
- "profile": {
7224
- "char": "p",
7225
- "description": "Profile to use (uses default profile if not specified)",
7226
- "env": "XANO_PROFILE",
7227
- "name": "profile",
7228
- "required": false,
7229
- "hasDynamicHelp": false,
7230
- "multiple": false,
7231
- "type": "option"
7232
- },
7233
- "verbose": {
7234
- "char": "v",
7235
- "description": "Show detailed request/response information",
7236
- "env": "XANO_VERBOSE",
7237
- "name": "verbose",
7238
- "required": false,
7239
- "allowNo": false,
7240
- "type": "boolean"
7241
- },
7242
- "output": {
7243
- "char": "o",
7244
- "description": "Output format",
7245
- "name": "output",
7246
- "required": false,
7247
- "default": "summary",
7248
- "hasDynamicHelp": false,
7249
- "multiple": false,
7250
- "options": [
7251
- "summary",
7252
- "json"
7253
- ],
7254
- "type": "option"
7255
- }
7256
- },
7257
- "hasDynamicHelp": false,
7258
- "hiddenAliases": [],
7259
- "id": "sandbox:unit_test:run",
7260
- "pluginAlias": "@xano/cli",
7261
- "pluginName": "@xano/cli",
7262
- "pluginType": "core",
7263
- "strict": true,
7264
- "enableJsonFlag": false,
7265
- "isESM": true,
7266
- "relativePath": [
7267
- "dist",
7268
- "commands",
7269
- "sandbox",
7270
- "unit_test",
7271
- "run",
7272
- "index.js"
7273
- ]
7274
- },
7275
- "sandbox:unit_test:run_all": {
7276
- "aliases": [],
7277
- "args": {},
7278
- "description": "Run all unit tests for a sandbox environment",
7279
- "examples": [
7280
- "$ xano sandbox unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 4 passed, 1 failed\n",
7281
- "$ xano sandbox unit-test run-all -o json"
7282
- ],
7283
- "flags": {
7284
- "profile": {
7285
- "char": "p",
7286
- "description": "Profile to use (uses default profile if not specified)",
7287
- "env": "XANO_PROFILE",
7288
- "name": "profile",
7289
- "required": false,
7290
- "hasDynamicHelp": false,
7291
- "multiple": false,
7292
- "type": "option"
7293
- },
7294
- "verbose": {
7295
- "char": "v",
7296
- "description": "Show detailed request/response information",
7297
- "env": "XANO_VERBOSE",
7298
- "name": "verbose",
7299
- "required": false,
7300
- "allowNo": false,
7301
- "type": "boolean"
7302
- },
7303
- "branch": {
7304
- "char": "b",
7305
- "description": "Filter by branch name",
7306
- "name": "branch",
7307
- "required": false,
7308
- "hasDynamicHelp": false,
7309
- "multiple": false,
7310
- "type": "option"
7311
- },
7312
- "obj-type": {
7313
- "description": "Filter by object type",
7314
- "name": "obj-type",
7315
- "required": false,
7316
- "hasDynamicHelp": false,
7317
- "multiple": false,
7318
- "options": [
7319
- "function",
7320
- "query",
7321
- "middleware"
7322
- ],
7323
- "type": "option"
7324
- },
7325
- "output": {
7326
- "char": "o",
7327
- "description": "Output format",
7328
- "name": "output",
7329
- "required": false,
7330
- "default": "summary",
7331
- "hasDynamicHelp": false,
7332
- "multiple": false,
7333
- "options": [
7334
- "summary",
7335
- "json"
7336
- ],
7337
- "type": "option"
7338
- }
7339
- },
7340
- "hasDynamicHelp": false,
7341
- "hiddenAliases": [],
7342
- "id": "sandbox:unit_test:run_all",
7343
- "pluginAlias": "@xano/cli",
7344
- "pluginName": "@xano/cli",
7345
- "pluginType": "core",
7346
- "strict": true,
7347
- "enableJsonFlag": false,
7348
- "isESM": true,
7349
- "relativePath": [
7350
- "dist",
7351
- "commands",
7352
- "sandbox",
7353
- "unit_test",
7354
- "run_all",
7355
- "index.js"
7356
- ]
7357
- },
7358
7039
  "tenant:cluster:create": {
7359
7040
  "aliases": [],
7360
7041
  "args": {},
@@ -7725,13 +7406,19 @@
7725
7406
  "index.js"
7726
7407
  ]
7727
7408
  },
7728
- "tenant:cluster:list": {
7409
+ "tenant:backup:create": {
7729
7410
  "aliases": [],
7730
- "args": {},
7731
- "description": "List all tenant clusters",
7411
+ "args": {
7412
+ "tenant_name": {
7413
+ "description": "Tenant name to back up",
7414
+ "name": "tenant_name",
7415
+ "required": true
7416
+ }
7417
+ },
7418
+ "description": "Create a backup for a tenant",
7732
7419
  "examples": [
7733
- "$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
7734
- "$ xano tenant cluster list --output json"
7420
+ "$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
7421
+ "$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
7735
7422
  ],
7736
7423
  "flags": {
7737
7424
  "profile": {
@@ -7753,6 +7440,16 @@
7753
7440
  "allowNo": false,
7754
7441
  "type": "boolean"
7755
7442
  },
7443
+ "description": {
7444
+ "char": "d",
7445
+ "description": "Backup description",
7446
+ "name": "description",
7447
+ "required": false,
7448
+ "default": "",
7449
+ "hasDynamicHelp": false,
7450
+ "multiple": false,
7451
+ "type": "option"
7452
+ },
7756
7453
  "output": {
7757
7454
  "char": "o",
7758
7455
  "description": "Output format",
@@ -7766,11 +7463,20 @@
7766
7463
  "json"
7767
7464
  ],
7768
7465
  "type": "option"
7466
+ },
7467
+ "workspace": {
7468
+ "char": "w",
7469
+ "description": "Workspace ID (uses profile workspace if not provided)",
7470
+ "name": "workspace",
7471
+ "required": false,
7472
+ "hasDynamicHelp": false,
7473
+ "multiple": false,
7474
+ "type": "option"
7769
7475
  }
7770
7476
  },
7771
7477
  "hasDynamicHelp": false,
7772
7478
  "hiddenAliases": [],
7773
- "id": "tenant:cluster:list",
7479
+ "id": "tenant:backup:create",
7774
7480
  "pluginAlias": "@xano/cli",
7775
7481
  "pluginName": "@xano/cli",
7776
7482
  "pluginType": "core",
@@ -7781,25 +7487,18 @@
7781
7487
  "dist",
7782
7488
  "commands",
7783
7489
  "tenant",
7784
- "cluster",
7785
- "list",
7490
+ "backup",
7491
+ "create",
7786
7492
  "index.js"
7787
7493
  ]
7788
7494
  },
7789
- "tenant:env:delete": {
7495
+ "tenant:cluster:list": {
7790
7496
  "aliases": [],
7791
- "args": {
7792
- "tenant_name": {
7793
- "description": "Tenant name",
7794
- "name": "tenant_name",
7795
- "required": true
7796
- }
7797
- },
7798
- "description": "Delete an environment variable from a tenant",
7497
+ "args": {},
7498
+ "description": "List all tenant clusters",
7799
7499
  "examples": [
7800
- "$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
7801
- "$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
7802
- "$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
7500
+ "$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
7501
+ "$ xano tenant cluster list --output json"
7803
7502
  ],
7804
7503
  "flags": {
7805
7504
  "profile": {
@@ -7821,23 +7520,6 @@
7821
7520
  "allowNo": false,
7822
7521
  "type": "boolean"
7823
7522
  },
7824
- "force": {
7825
- "char": "f",
7826
- "description": "Skip confirmation prompt",
7827
- "name": "force",
7828
- "required": false,
7829
- "allowNo": false,
7830
- "type": "boolean"
7831
- },
7832
- "name": {
7833
- "char": "n",
7834
- "description": "Environment variable name",
7835
- "name": "name",
7836
- "required": true,
7837
- "hasDynamicHelp": false,
7838
- "multiple": false,
7839
- "type": "option"
7840
- },
7841
7523
  "output": {
7842
7524
  "char": "o",
7843
7525
  "description": "Output format",
@@ -7851,20 +7533,11 @@
7851
7533
  "json"
7852
7534
  ],
7853
7535
  "type": "option"
7854
- },
7855
- "workspace": {
7856
- "char": "w",
7857
- "description": "Workspace ID (uses profile workspace if not provided)",
7858
- "name": "workspace",
7859
- "required": false,
7860
- "hasDynamicHelp": false,
7861
- "multiple": false,
7862
- "type": "option"
7863
7536
  }
7864
7537
  },
7865
7538
  "hasDynamicHelp": false,
7866
7539
  "hiddenAliases": [],
7867
- "id": "tenant:env:delete",
7540
+ "id": "tenant:cluster:list",
7868
7541
  "pluginAlias": "@xano/cli",
7869
7542
  "pluginName": "@xano/cli",
7870
7543
  "pluginType": "core",
@@ -7875,12 +7548,12 @@
7875
7548
  "dist",
7876
7549
  "commands",
7877
7550
  "tenant",
7878
- "env",
7879
- "delete",
7551
+ "cluster",
7552
+ "list",
7880
7553
  "index.js"
7881
7554
  ]
7882
7555
  },
7883
- "tenant:env:get": {
7556
+ "tenant:env:delete": {
7884
7557
  "aliases": [],
7885
7558
  "args": {
7886
7559
  "tenant_name": {
@@ -7889,10 +7562,11 @@
7889
7562
  "required": true
7890
7563
  }
7891
7564
  },
7892
- "description": "Get a single environment variable for a tenant",
7565
+ "description": "Delete an environment variable from a tenant",
7893
7566
  "examples": [
7894
- "$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
7895
- "$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
7567
+ "$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
7568
+ "$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
7569
+ "$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
7896
7570
  ],
7897
7571
  "flags": {
7898
7572
  "profile": {
@@ -7914,6 +7588,14 @@
7914
7588
  "allowNo": false,
7915
7589
  "type": "boolean"
7916
7590
  },
7591
+ "force": {
7592
+ "char": "f",
7593
+ "description": "Skip confirmation prompt",
7594
+ "name": "force",
7595
+ "required": false,
7596
+ "allowNo": false,
7597
+ "type": "boolean"
7598
+ },
7917
7599
  "name": {
7918
7600
  "char": "n",
7919
7601
  "description": "Environment variable name",
@@ -7949,7 +7631,7 @@
7949
7631
  },
7950
7632
  "hasDynamicHelp": false,
7951
7633
  "hiddenAliases": [],
7952
- "id": "tenant:env:get",
7634
+ "id": "tenant:env:delete",
7953
7635
  "pluginAlias": "@xano/cli",
7954
7636
  "pluginName": "@xano/cli",
7955
7637
  "pluginType": "core",
@@ -7961,11 +7643,11 @@
7961
7643
  "commands",
7962
7644
  "tenant",
7963
7645
  "env",
7964
- "get",
7646
+ "delete",
7965
7647
  "index.js"
7966
7648
  ]
7967
7649
  },
7968
- "tenant:env:get_all": {
7650
+ "tenant:env:get": {
7969
7651
  "aliases": [],
7970
7652
  "args": {
7971
7653
  "tenant_name": {
@@ -7974,12 +7656,10 @@
7974
7656
  "required": true
7975
7657
  }
7976
7658
  },
7977
- "description": "Get all environment variables for a tenant and save to a YAML file",
7659
+ "description": "Get a single environment variable for a tenant",
7978
7660
  "examples": [
7979
- "$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
7980
- "$ xano tenant env get_all my-tenant --file ./my-env.yaml",
7981
- "$ xano tenant env get_all my-tenant --view",
7982
- "$ xano tenant env get_all my-tenant -o json"
7661
+ "$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
7662
+ "$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
7983
7663
  ],
7984
7664
  "flags": {
7985
7665
  "profile": {
@@ -8001,11 +7681,11 @@
8001
7681
  "allowNo": false,
8002
7682
  "type": "boolean"
8003
7683
  },
8004
- "file": {
8005
- "char": "f",
8006
- "description": "Output file path (default: env_<tenant_name>.yaml)",
8007
- "name": "file",
8008
- "required": false,
7684
+ "name": {
7685
+ "char": "n",
7686
+ "description": "Environment variable name",
7687
+ "name": "name",
7688
+ "required": true,
8009
7689
  "hasDynamicHelp": false,
8010
7690
  "multiple": false,
8011
7691
  "type": "option"
@@ -8024,13 +7704,6 @@
8024
7704
  ],
8025
7705
  "type": "option"
8026
7706
  },
8027
- "view": {
8028
- "description": "Print environment variables to stdout instead of saving to file",
8029
- "name": "view",
8030
- "required": false,
8031
- "allowNo": false,
8032
- "type": "boolean"
8033
- },
8034
7707
  "workspace": {
8035
7708
  "char": "w",
8036
7709
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -8043,7 +7716,7 @@
8043
7716
  },
8044
7717
  "hasDynamicHelp": false,
8045
7718
  "hiddenAliases": [],
8046
- "id": "tenant:env:get_all",
7719
+ "id": "tenant:env:get",
8047
7720
  "pluginAlias": "@xano/cli",
8048
7721
  "pluginName": "@xano/cli",
8049
7722
  "pluginType": "core",
@@ -8055,7 +7728,7 @@
8055
7728
  "commands",
8056
7729
  "tenant",
8057
7730
  "env",
8058
- "get_all",
7731
+ "get",
8059
7732
  "index.js"
8060
7733
  ]
8061
7734
  },
@@ -8628,19 +8301,21 @@
8628
8301
  "index.js"
8629
8302
  ]
8630
8303
  },
8631
- "tenant:unit_test:run": {
8304
+ "tenant:env:get_all": {
8632
8305
  "aliases": [],
8633
8306
  "args": {
8634
- "unit_test_id": {
8635
- "description": "ID of the unit test to run",
8636
- "name": "unit_test_id",
8307
+ "tenant_name": {
8308
+ "description": "Tenant name",
8309
+ "name": "tenant_name",
8637
8310
  "required": true
8638
8311
  }
8639
8312
  },
8640
- "description": "Run a unit test for a tenant",
8313
+ "description": "Get all environment variables for a tenant and save to a YAML file",
8641
8314
  "examples": [
8642
- "$ xano tenant unit-test run abc-123 -t my-tenant\nRunning unit test abc-123...\nResult: PASS\n",
8643
- "$ xano tenant unit-test run abc-123 -t my-tenant -o json"
8315
+ "$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
8316
+ "$ xano tenant env get_all my-tenant --file ./my-env.yaml",
8317
+ "$ xano tenant env get_all my-tenant --view",
8318
+ "$ xano tenant env get_all my-tenant -o json"
8644
8319
  ],
8645
8320
  "flags": {
8646
8321
  "profile": {
@@ -8662,6 +8337,15 @@
8662
8337
  "allowNo": false,
8663
8338
  "type": "boolean"
8664
8339
  },
8340
+ "file": {
8341
+ "char": "f",
8342
+ "description": "Output file path (default: env_<tenant_name>.yaml)",
8343
+ "name": "file",
8344
+ "required": false,
8345
+ "hasDynamicHelp": false,
8346
+ "multiple": false,
8347
+ "type": "option"
8348
+ },
8665
8349
  "output": {
8666
8350
  "char": "o",
8667
8351
  "description": "Output format",
@@ -8676,14 +8360,12 @@
8676
8360
  ],
8677
8361
  "type": "option"
8678
8362
  },
8679
- "tenant": {
8680
- "char": "t",
8681
- "description": "Tenant name",
8682
- "name": "tenant",
8683
- "required": true,
8684
- "hasDynamicHelp": false,
8685
- "multiple": false,
8686
- "type": "option"
8363
+ "view": {
8364
+ "description": "Print environment variables to stdout instead of saving to file",
8365
+ "name": "view",
8366
+ "required": false,
8367
+ "allowNo": false,
8368
+ "type": "boolean"
8687
8369
  },
8688
8370
  "workspace": {
8689
8371
  "char": "w",
@@ -8697,7 +8379,7 @@
8697
8379
  },
8698
8380
  "hasDynamicHelp": false,
8699
8381
  "hiddenAliases": [],
8700
- "id": "tenant:unit_test:run",
8382
+ "id": "tenant:env:get_all",
8701
8383
  "pluginAlias": "@xano/cli",
8702
8384
  "pluginName": "@xano/cli",
8703
8385
  "pluginType": "core",
@@ -8708,18 +8390,24 @@
8708
8390
  "dist",
8709
8391
  "commands",
8710
8392
  "tenant",
8711
- "unit_test",
8712
- "run",
8393
+ "env",
8394
+ "get_all",
8713
8395
  "index.js"
8714
8396
  ]
8715
8397
  },
8716
- "tenant:unit_test:run_all": {
8398
+ "tenant:unit_test:run": {
8717
8399
  "aliases": [],
8718
- "args": {},
8719
- "description": "Run all unit tests for a tenant",
8400
+ "args": {
8401
+ "unit_test_id": {
8402
+ "description": "ID of the unit test to run",
8403
+ "name": "unit_test_id",
8404
+ "required": true
8405
+ }
8406
+ },
8407
+ "description": "Run a unit test for a tenant",
8720
8408
  "examples": [
8721
- "$ xano tenant unit-test run-all -t my-tenant\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 4 passed, 1 failed\n",
8722
- "$ xano tenant unit-test run-all -t my-tenant -o json"
8409
+ "$ xano tenant unit-test run abc-123 -t my-tenant\nRunning unit test abc-123...\nResult: PASS\n",
8410
+ "$ xano tenant unit-test run abc-123 -t my-tenant -o json"
8723
8411
  ],
8724
8412
  "flags": {
8725
8413
  "profile": {
@@ -8741,28 +8429,6 @@
8741
8429
  "allowNo": false,
8742
8430
  "type": "boolean"
8743
8431
  },
8744
- "branch": {
8745
- "char": "b",
8746
- "description": "Filter by branch name",
8747
- "name": "branch",
8748
- "required": false,
8749
- "hasDynamicHelp": false,
8750
- "multiple": false,
8751
- "type": "option"
8752
- },
8753
- "obj-type": {
8754
- "description": "Filter by object type",
8755
- "name": "obj-type",
8756
- "required": false,
8757
- "hasDynamicHelp": false,
8758
- "multiple": false,
8759
- "options": [
8760
- "function",
8761
- "query",
8762
- "middleware"
8763
- ],
8764
- "type": "option"
8765
- },
8766
8432
  "output": {
8767
8433
  "char": "o",
8768
8434
  "description": "Output format",
@@ -8798,7 +8464,7 @@
8798
8464
  },
8799
8465
  "hasDynamicHelp": false,
8800
8466
  "hiddenAliases": [],
8801
- "id": "tenant:unit_test:run_all",
8467
+ "id": "tenant:unit_test:run",
8802
8468
  "pluginAlias": "@xano/cli",
8803
8469
  "pluginName": "@xano/cli",
8804
8470
  "pluginType": "core",
@@ -8810,23 +8476,17 @@
8810
8476
  "commands",
8811
8477
  "tenant",
8812
8478
  "unit_test",
8813
- "run_all",
8479
+ "run",
8814
8480
  "index.js"
8815
8481
  ]
8816
8482
  },
8817
- "tenant:workflow_test:delete": {
8483
+ "tenant:unit_test:run_all": {
8818
8484
  "aliases": [],
8819
- "args": {
8820
- "workflow_test_id": {
8821
- "description": "ID of the workflow test to delete",
8822
- "name": "workflow_test_id",
8823
- "required": true
8824
- }
8825
- },
8826
- "description": "Delete a workflow test for a tenant",
8485
+ "args": {},
8486
+ "description": "Run all unit tests for a tenant",
8827
8487
  "examples": [
8828
- "$ xano tenant workflow-test delete 42 -t my-tenant\nDeleted workflow test 42\n",
8829
- "$ xano tenant workflow-test delete 42 -t my-tenant -o json"
8488
+ "$ xano tenant unit-test run-all -t my-tenant\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 4 passed, 1 failed\n",
8489
+ "$ xano tenant unit-test run-all -t my-tenant -o json"
8830
8490
  ],
8831
8491
  "flags": {
8832
8492
  "profile": {
@@ -8848,6 +8508,28 @@
8848
8508
  "allowNo": false,
8849
8509
  "type": "boolean"
8850
8510
  },
8511
+ "branch": {
8512
+ "char": "b",
8513
+ "description": "Filter by branch name",
8514
+ "name": "branch",
8515
+ "required": false,
8516
+ "hasDynamicHelp": false,
8517
+ "multiple": false,
8518
+ "type": "option"
8519
+ },
8520
+ "obj-type": {
8521
+ "description": "Filter by object type",
8522
+ "name": "obj-type",
8523
+ "required": false,
8524
+ "hasDynamicHelp": false,
8525
+ "multiple": false,
8526
+ "options": [
8527
+ "function",
8528
+ "query",
8529
+ "middleware"
8530
+ ],
8531
+ "type": "option"
8532
+ },
8851
8533
  "output": {
8852
8534
  "char": "o",
8853
8535
  "description": "Output format",
@@ -8883,7 +8565,7 @@
8883
8565
  },
8884
8566
  "hasDynamicHelp": false,
8885
8567
  "hiddenAliases": [],
8886
- "id": "tenant:workflow_test:delete",
8568
+ "id": "tenant:unit_test:run_all",
8887
8569
  "pluginAlias": "@xano/cli",
8888
8570
  "pluginName": "@xano/cli",
8889
8571
  "pluginType": "core",
@@ -8894,8 +8576,8 @@
8894
8576
  "dist",
8895
8577
  "commands",
8896
8578
  "tenant",
8897
- "workflow_test",
8898
- "delete",
8579
+ "unit_test",
8580
+ "run_all",
8899
8581
  "index.js"
8900
8582
  ]
8901
8583
  },
@@ -9254,6 +8936,239 @@
9254
8936
  "index.js"
9255
8937
  ]
9256
8938
  },
8939
+ "sandbox:unit_test:list": {
8940
+ "aliases": [],
8941
+ "args": {},
8942
+ "description": "List all unit tests for a sandbox environment",
8943
+ "examples": [
8944
+ "$ xano sandbox unit-test list\nUnit tests:\n - my-test (ID: abc-123) [function: math]\n",
8945
+ "$ xano sandbox unit-test list -o json"
8946
+ ],
8947
+ "flags": {
8948
+ "profile": {
8949
+ "char": "p",
8950
+ "description": "Profile to use (uses default profile if not specified)",
8951
+ "env": "XANO_PROFILE",
8952
+ "name": "profile",
8953
+ "required": false,
8954
+ "hasDynamicHelp": false,
8955
+ "multiple": false,
8956
+ "type": "option"
8957
+ },
8958
+ "verbose": {
8959
+ "char": "v",
8960
+ "description": "Show detailed request/response information",
8961
+ "env": "XANO_VERBOSE",
8962
+ "name": "verbose",
8963
+ "required": false,
8964
+ "allowNo": false,
8965
+ "type": "boolean"
8966
+ },
8967
+ "branch": {
8968
+ "char": "b",
8969
+ "description": "Filter by branch name",
8970
+ "name": "branch",
8971
+ "required": false,
8972
+ "hasDynamicHelp": false,
8973
+ "multiple": false,
8974
+ "type": "option"
8975
+ },
8976
+ "obj-type": {
8977
+ "description": "Filter by object type",
8978
+ "name": "obj-type",
8979
+ "required": false,
8980
+ "hasDynamicHelp": false,
8981
+ "multiple": false,
8982
+ "options": [
8983
+ "function",
8984
+ "query",
8985
+ "middleware"
8986
+ ],
8987
+ "type": "option"
8988
+ },
8989
+ "output": {
8990
+ "char": "o",
8991
+ "description": "Output format",
8992
+ "name": "output",
8993
+ "required": false,
8994
+ "default": "summary",
8995
+ "hasDynamicHelp": false,
8996
+ "multiple": false,
8997
+ "options": [
8998
+ "summary",
8999
+ "json"
9000
+ ],
9001
+ "type": "option"
9002
+ }
9003
+ },
9004
+ "hasDynamicHelp": false,
9005
+ "hiddenAliases": [],
9006
+ "id": "sandbox:unit_test:list",
9007
+ "pluginAlias": "@xano/cli",
9008
+ "pluginName": "@xano/cli",
9009
+ "pluginType": "core",
9010
+ "strict": true,
9011
+ "enableJsonFlag": false,
9012
+ "isESM": true,
9013
+ "relativePath": [
9014
+ "dist",
9015
+ "commands",
9016
+ "sandbox",
9017
+ "unit_test",
9018
+ "list",
9019
+ "index.js"
9020
+ ]
9021
+ },
9022
+ "sandbox:unit_test:run": {
9023
+ "aliases": [],
9024
+ "args": {
9025
+ "unit_test_id": {
9026
+ "description": "ID of the unit test to run",
9027
+ "name": "unit_test_id",
9028
+ "required": true
9029
+ }
9030
+ },
9031
+ "description": "Run a unit test for a sandbox environment",
9032
+ "examples": [
9033
+ "$ xano sandbox unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
9034
+ "$ xano sandbox unit-test run abc-123 -o json"
9035
+ ],
9036
+ "flags": {
9037
+ "profile": {
9038
+ "char": "p",
9039
+ "description": "Profile to use (uses default profile if not specified)",
9040
+ "env": "XANO_PROFILE",
9041
+ "name": "profile",
9042
+ "required": false,
9043
+ "hasDynamicHelp": false,
9044
+ "multiple": false,
9045
+ "type": "option"
9046
+ },
9047
+ "verbose": {
9048
+ "char": "v",
9049
+ "description": "Show detailed request/response information",
9050
+ "env": "XANO_VERBOSE",
9051
+ "name": "verbose",
9052
+ "required": false,
9053
+ "allowNo": false,
9054
+ "type": "boolean"
9055
+ },
9056
+ "output": {
9057
+ "char": "o",
9058
+ "description": "Output format",
9059
+ "name": "output",
9060
+ "required": false,
9061
+ "default": "summary",
9062
+ "hasDynamicHelp": false,
9063
+ "multiple": false,
9064
+ "options": [
9065
+ "summary",
9066
+ "json"
9067
+ ],
9068
+ "type": "option"
9069
+ }
9070
+ },
9071
+ "hasDynamicHelp": false,
9072
+ "hiddenAliases": [],
9073
+ "id": "sandbox:unit_test:run",
9074
+ "pluginAlias": "@xano/cli",
9075
+ "pluginName": "@xano/cli",
9076
+ "pluginType": "core",
9077
+ "strict": true,
9078
+ "enableJsonFlag": false,
9079
+ "isESM": true,
9080
+ "relativePath": [
9081
+ "dist",
9082
+ "commands",
9083
+ "sandbox",
9084
+ "unit_test",
9085
+ "run",
9086
+ "index.js"
9087
+ ]
9088
+ },
9089
+ "sandbox:unit_test:run_all": {
9090
+ "aliases": [],
9091
+ "args": {},
9092
+ "description": "Run all unit tests for a sandbox environment",
9093
+ "examples": [
9094
+ "$ xano sandbox unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 4 passed, 1 failed\n",
9095
+ "$ xano sandbox unit-test run-all -o json"
9096
+ ],
9097
+ "flags": {
9098
+ "profile": {
9099
+ "char": "p",
9100
+ "description": "Profile to use (uses default profile if not specified)",
9101
+ "env": "XANO_PROFILE",
9102
+ "name": "profile",
9103
+ "required": false,
9104
+ "hasDynamicHelp": false,
9105
+ "multiple": false,
9106
+ "type": "option"
9107
+ },
9108
+ "verbose": {
9109
+ "char": "v",
9110
+ "description": "Show detailed request/response information",
9111
+ "env": "XANO_VERBOSE",
9112
+ "name": "verbose",
9113
+ "required": false,
9114
+ "allowNo": false,
9115
+ "type": "boolean"
9116
+ },
9117
+ "branch": {
9118
+ "char": "b",
9119
+ "description": "Filter by branch name",
9120
+ "name": "branch",
9121
+ "required": false,
9122
+ "hasDynamicHelp": false,
9123
+ "multiple": false,
9124
+ "type": "option"
9125
+ },
9126
+ "obj-type": {
9127
+ "description": "Filter by object type",
9128
+ "name": "obj-type",
9129
+ "required": false,
9130
+ "hasDynamicHelp": false,
9131
+ "multiple": false,
9132
+ "options": [
9133
+ "function",
9134
+ "query",
9135
+ "middleware"
9136
+ ],
9137
+ "type": "option"
9138
+ },
9139
+ "output": {
9140
+ "char": "o",
9141
+ "description": "Output format",
9142
+ "name": "output",
9143
+ "required": false,
9144
+ "default": "summary",
9145
+ "hasDynamicHelp": false,
9146
+ "multiple": false,
9147
+ "options": [
9148
+ "summary",
9149
+ "json"
9150
+ ],
9151
+ "type": "option"
9152
+ }
9153
+ },
9154
+ "hasDynamicHelp": false,
9155
+ "hiddenAliases": [],
9156
+ "id": "sandbox:unit_test:run_all",
9157
+ "pluginAlias": "@xano/cli",
9158
+ "pluginName": "@xano/cli",
9159
+ "pluginType": "core",
9160
+ "strict": true,
9161
+ "enableJsonFlag": false,
9162
+ "isESM": true,
9163
+ "relativePath": [
9164
+ "dist",
9165
+ "commands",
9166
+ "sandbox",
9167
+ "unit_test",
9168
+ "run_all",
9169
+ "index.js"
9170
+ ]
9171
+ },
9257
9172
  "tenant:cluster:license:get": {
9258
9173
  "aliases": [],
9259
9174
  "args": {
@@ -9445,5 +9360,5 @@
9445
9360
  ]
9446
9361
  }
9447
9362
  },
9448
- "version": "0.0.95-beta.15"
9363
+ "version": "0.0.95-beta.16"
9449
9364
  }