@xano/cli 0.0.95-beta.20 → 0.0.95-beta.21

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.
@@ -391,20 +391,20 @@
391
391
  "index.js"
392
392
  ]
393
393
  },
394
- "branch:set_live": {
394
+ "branch:get": {
395
395
  "aliases": [],
396
396
  "args": {
397
397
  "branch_label": {
398
- "description": "Branch label to set as live (use \"v1\" for default branch)",
398
+ "description": "Branch label (e.g., \"v1\", \"dev\")",
399
399
  "name": "branch_label",
400
400
  "required": true
401
401
  }
402
402
  },
403
- "description": "Set a branch as the live (active) branch for API requests",
403
+ "description": "Get details for a specific branch",
404
404
  "examples": [
405
- "$ 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",
406
- "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
407
- "$ 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"
405
+ "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
406
+ "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
407
+ "$ 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"
408
408
  ],
409
409
  "flags": {
410
410
  "profile": {
@@ -426,14 +426,6 @@
426
426
  "allowNo": false,
427
427
  "type": "boolean"
428
428
  },
429
- "force": {
430
- "char": "f",
431
- "description": "Skip confirmation prompt",
432
- "name": "force",
433
- "required": false,
434
- "allowNo": false,
435
- "type": "boolean"
436
- },
437
429
  "output": {
438
430
  "char": "o",
439
431
  "description": "Output format",
@@ -460,7 +452,7 @@
460
452
  },
461
453
  "hasDynamicHelp": false,
462
454
  "hiddenAliases": [],
463
- "id": "branch:set_live",
455
+ "id": "branch:get",
464
456
  "pluginAlias": "@xano/cli",
465
457
  "pluginName": "@xano/cli",
466
458
  "pluginType": "core",
@@ -471,23 +463,24 @@
471
463
  "dist",
472
464
  "commands",
473
465
  "branch",
474
- "set_live",
466
+ "get",
475
467
  "index.js"
476
468
  ]
477
469
  },
478
- "platform:get": {
470
+ "branch:list": {
479
471
  "aliases": [],
480
472
  "args": {
481
- "platform_id": {
482
- "description": "Platform ID to retrieve",
483
- "name": "platform_id",
484
- "required": true
473
+ "workspace_id": {
474
+ "description": "Workspace ID (uses profile workspace if not provided)",
475
+ "name": "workspace_id",
476
+ "required": false
485
477
  }
486
478
  },
487
- "description": "Get details of a specific platform",
479
+ "description": "List all branches in a workspace",
488
480
  "examples": [
489
- "$ 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",
490
- "$ xano platform get 23629 -o json"
481
+ "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
482
+ "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
483
+ "$ 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"
491
484
  ],
492
485
  "flags": {
493
486
  "profile": {
@@ -526,7 +519,7 @@
526
519
  },
527
520
  "hasDynamicHelp": false,
528
521
  "hiddenAliases": [],
529
- "id": "platform:get",
522
+ "id": "branch:list",
530
523
  "pluginAlias": "@xano/cli",
531
524
  "pluginName": "@xano/cli",
532
525
  "pluginType": "core",
@@ -536,25 +529,25 @@
536
529
  "relativePath": [
537
530
  "dist",
538
531
  "commands",
539
- "platform",
540
- "get",
532
+ "branch",
533
+ "list",
541
534
  "index.js"
542
535
  ]
543
536
  },
544
- "branch:list": {
537
+ "branch:set_live": {
545
538
  "aliases": [],
546
539
  "args": {
547
- "workspace_id": {
548
- "description": "Workspace ID (uses profile workspace if not provided)",
549
- "name": "workspace_id",
550
- "required": false
540
+ "branch_label": {
541
+ "description": "Branch label to set as live (use \"v1\" for default branch)",
542
+ "name": "branch_label",
543
+ "required": true
551
544
  }
552
545
  },
553
- "description": "List all branches in a workspace",
546
+ "description": "Set a branch as the live (active) branch for API requests",
554
547
  "examples": [
555
- "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
556
- "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
557
- "$ 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"
548
+ "$ 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",
549
+ "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
550
+ "$ 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"
558
551
  ],
559
552
  "flags": {
560
553
  "profile": {
@@ -576,6 +569,14 @@
576
569
  "allowNo": false,
577
570
  "type": "boolean"
578
571
  },
572
+ "force": {
573
+ "char": "f",
574
+ "description": "Skip confirmation prompt",
575
+ "name": "force",
576
+ "required": false,
577
+ "allowNo": false,
578
+ "type": "boolean"
579
+ },
579
580
  "output": {
580
581
  "char": "o",
581
582
  "description": "Output format",
@@ -589,11 +590,20 @@
589
590
  "json"
590
591
  ],
591
592
  "type": "option"
593
+ },
594
+ "workspace": {
595
+ "char": "w",
596
+ "description": "Workspace ID (uses profile workspace if not provided)",
597
+ "name": "workspace",
598
+ "required": false,
599
+ "hasDynamicHelp": false,
600
+ "multiple": false,
601
+ "type": "option"
592
602
  }
593
603
  },
594
604
  "hasDynamicHelp": false,
595
605
  "hiddenAliases": [],
596
- "id": "branch:list",
606
+ "id": "branch:set_live",
597
607
  "pluginAlias": "@xano/cli",
598
608
  "pluginName": "@xano/cli",
599
609
  "pluginType": "core",
@@ -604,17 +614,27 @@
604
614
  "dist",
605
615
  "commands",
606
616
  "branch",
607
- "list",
617
+ "set_live",
608
618
  "index.js"
609
619
  ]
610
620
  },
611
- "platform:list": {
621
+ "function:get": {
612
622
  "aliases": [],
613
- "args": {},
614
- "description": "List all platforms",
623
+ "args": {
624
+ "function_id": {
625
+ "description": "Function ID",
626
+ "name": "function_id",
627
+ "required": false
628
+ }
629
+ },
630
+ "description": "Get a specific function from a workspace",
615
631
  "examples": [
616
- "$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
617
- "$ xano platform list --output json"
632
+ "$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
633
+ "$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
634
+ "$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
635
+ "$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
636
+ "$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
637
+ "$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
618
638
  ],
619
639
  "flags": {
620
640
  "profile": {
@@ -636,6 +656,20 @@
636
656
  "allowNo": false,
637
657
  "type": "boolean"
638
658
  },
659
+ "include_draft": {
660
+ "description": "Include draft version",
661
+ "name": "include_draft",
662
+ "required": false,
663
+ "allowNo": false,
664
+ "type": "boolean"
665
+ },
666
+ "include_xanoscript": {
667
+ "description": "Include XanoScript in response",
668
+ "name": "include_xanoscript",
669
+ "required": false,
670
+ "allowNo": false,
671
+ "type": "boolean"
672
+ },
639
673
  "output": {
640
674
  "char": "o",
641
675
  "description": "Output format",
@@ -646,14 +680,24 @@
646
680
  "multiple": false,
647
681
  "options": [
648
682
  "summary",
649
- "json"
683
+ "json",
684
+ "xs"
650
685
  ],
651
686
  "type": "option"
687
+ },
688
+ "workspace": {
689
+ "char": "w",
690
+ "description": "Workspace ID (optional if set in profile)",
691
+ "name": "workspace",
692
+ "required": false,
693
+ "hasDynamicHelp": false,
694
+ "multiple": false,
695
+ "type": "option"
652
696
  }
653
697
  },
654
698
  "hasDynamicHelp": false,
655
699
  "hiddenAliases": [],
656
- "id": "platform:list",
700
+ "id": "function:get",
657
701
  "pluginAlias": "@xano/cli",
658
702
  "pluginName": "@xano/cli",
659
703
  "pluginType": "core",
@@ -663,8 +707,8 @@
663
707
  "relativePath": [
664
708
  "dist",
665
709
  "commands",
666
- "platform",
667
- "list",
710
+ "function",
711
+ "get",
668
712
  "index.js"
669
713
  ]
670
714
  },
@@ -787,16 +831,15 @@
787
831
  "index.js"
788
832
  ]
789
833
  },
790
- "function:create": {
834
+ "function:list": {
791
835
  "aliases": [],
792
836
  "args": {},
793
- "description": "Create a new function in a workspace",
837
+ "description": "List all functions in a workspace from the Xano Metadata API",
794
838
  "examples": [
795
- "$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
796
- "$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
797
- "$ 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",
798
- "$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
799
- "$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
839
+ "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
840
+ "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
841
+ "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
842
+ "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
800
843
  ],
801
844
  "flags": {
802
845
  "profile": {
@@ -818,27 +861,31 @@
818
861
  "allowNo": false,
819
862
  "type": "boolean"
820
863
  },
821
- "edit": {
822
- "char": "e",
823
- "dependsOn": [
824
- "file"
825
- ],
826
- "description": "Open file in editor before creating function (requires --file)",
827
- "name": "edit",
864
+ "include_draft": {
865
+ "description": "Include draft functions",
866
+ "name": "include_draft",
828
867
  "required": false,
829
868
  "allowNo": false,
830
869
  "type": "boolean"
831
870
  },
832
- "file": {
833
- "char": "f",
834
- "description": "Path to file containing XanoScript code",
835
- "exclusive": [
836
- "stdin"
837
- ],
838
- "name": "file",
871
+ "include_xanoscript": {
872
+ "description": "Include XanoScript in response",
873
+ "name": "include_xanoscript",
874
+ "required": false,
875
+ "allowNo": false,
876
+ "type": "boolean"
877
+ },
878
+ "order": {
879
+ "description": "Sort order",
880
+ "name": "order",
839
881
  "required": false,
882
+ "default": "desc",
840
883
  "hasDynamicHelp": false,
841
884
  "multiple": false,
885
+ "options": [
886
+ "asc",
887
+ "desc"
888
+ ],
842
889
  "type": "option"
843
890
  },
844
891
  "output": {
@@ -855,16 +902,32 @@
855
902
  ],
856
903
  "type": "option"
857
904
  },
858
- "stdin": {
859
- "char": "s",
860
- "description": "Read XanoScript code from stdin",
861
- "exclusive": [
862
- "file"
863
- ],
864
- "name": "stdin",
905
+ "page": {
906
+ "description": "Page number for pagination",
907
+ "name": "page",
865
908
  "required": false,
866
- "allowNo": false,
867
- "type": "boolean"
909
+ "default": 1,
910
+ "hasDynamicHelp": false,
911
+ "multiple": false,
912
+ "type": "option"
913
+ },
914
+ "per_page": {
915
+ "description": "Number of results per page",
916
+ "name": "per_page",
917
+ "required": false,
918
+ "default": 50,
919
+ "hasDynamicHelp": false,
920
+ "multiple": false,
921
+ "type": "option"
922
+ },
923
+ "sort": {
924
+ "description": "Sort field",
925
+ "name": "sort",
926
+ "required": false,
927
+ "default": "created_at",
928
+ "hasDynamicHelp": false,
929
+ "multiple": false,
930
+ "type": "option"
868
931
  },
869
932
  "workspace": {
870
933
  "char": "w",
@@ -878,7 +941,7 @@
878
941
  },
879
942
  "hasDynamicHelp": false,
880
943
  "hiddenAliases": [],
881
- "id": "function:create",
944
+ "id": "function:list",
882
945
  "pluginAlias": "@xano/cli",
883
946
  "pluginName": "@xano/cli",
884
947
  "pluginType": "core",
@@ -889,27 +952,23 @@
889
952
  "dist",
890
953
  "commands",
891
954
  "function",
892
- "create",
955
+ "list",
893
956
  "index.js"
894
957
  ]
895
958
  },
896
- "function:get": {
959
+ "platform:get": {
897
960
  "aliases": [],
898
961
  "args": {
899
- "function_id": {
900
- "description": "Function ID",
901
- "name": "function_id",
902
- "required": false
962
+ "platform_id": {
963
+ "description": "Platform ID to retrieve",
964
+ "name": "platform_id",
965
+ "required": true
903
966
  }
904
967
  },
905
- "description": "Get a specific function from a workspace",
968
+ "description": "Get details of a specific platform",
906
969
  "examples": [
907
- "$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
908
- "$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
909
- "$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
910
- "$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
911
- "$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
912
- "$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
970
+ "$ 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",
971
+ "$ xano platform get 23629 -o json"
913
972
  ],
914
973
  "flags": {
915
974
  "profile": {
@@ -931,20 +990,6 @@
931
990
  "allowNo": false,
932
991
  "type": "boolean"
933
992
  },
934
- "include_draft": {
935
- "description": "Include draft version",
936
- "name": "include_draft",
937
- "required": false,
938
- "allowNo": false,
939
- "type": "boolean"
940
- },
941
- "include_xanoscript": {
942
- "description": "Include XanoScript in response",
943
- "name": "include_xanoscript",
944
- "required": false,
945
- "allowNo": false,
946
- "type": "boolean"
947
- },
948
993
  "output": {
949
994
  "char": "o",
950
995
  "description": "Output format",
@@ -955,24 +1000,14 @@
955
1000
  "multiple": false,
956
1001
  "options": [
957
1002
  "summary",
958
- "json",
959
- "xs"
1003
+ "json"
960
1004
  ],
961
1005
  "type": "option"
962
- },
963
- "workspace": {
964
- "char": "w",
965
- "description": "Workspace ID (optional if set in profile)",
966
- "name": "workspace",
967
- "required": false,
968
- "hasDynamicHelp": false,
969
- "multiple": false,
970
- "type": "option"
971
1006
  }
972
1007
  },
973
1008
  "hasDynamicHelp": false,
974
1009
  "hiddenAliases": [],
975
- "id": "function:get",
1010
+ "id": "platform:get",
976
1011
  "pluginAlias": "@xano/cli",
977
1012
  "pluginName": "@xano/cli",
978
1013
  "pluginType": "core",
@@ -982,20 +1017,18 @@
982
1017
  "relativePath": [
983
1018
  "dist",
984
1019
  "commands",
985
- "function",
1020
+ "platform",
986
1021
  "get",
987
1022
  "index.js"
988
1023
  ]
989
1024
  },
990
- "function:list": {
1025
+ "platform:list": {
991
1026
  "aliases": [],
992
1027
  "args": {},
993
- "description": "List all functions in a workspace from the Xano Metadata API",
1028
+ "description": "List all platforms",
994
1029
  "examples": [
995
- "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
996
- "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
997
- "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
998
- "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
1030
+ "$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
1031
+ "$ xano platform list --output json"
999
1032
  ],
1000
1033
  "flags": {
1001
1034
  "profile": {
@@ -1017,33 +1050,6 @@
1017
1050
  "allowNo": false,
1018
1051
  "type": "boolean"
1019
1052
  },
1020
- "include_draft": {
1021
- "description": "Include draft functions",
1022
- "name": "include_draft",
1023
- "required": false,
1024
- "allowNo": false,
1025
- "type": "boolean"
1026
- },
1027
- "include_xanoscript": {
1028
- "description": "Include XanoScript in response",
1029
- "name": "include_xanoscript",
1030
- "required": false,
1031
- "allowNo": false,
1032
- "type": "boolean"
1033
- },
1034
- "order": {
1035
- "description": "Sort order",
1036
- "name": "order",
1037
- "required": false,
1038
- "default": "desc",
1039
- "hasDynamicHelp": false,
1040
- "multiple": false,
1041
- "options": [
1042
- "asc",
1043
- "desc"
1044
- ],
1045
- "type": "option"
1046
- },
1047
1053
  "output": {
1048
1054
  "char": "o",
1049
1055
  "description": "Output format",
@@ -1057,47 +1063,11 @@
1057
1063
  "json"
1058
1064
  ],
1059
1065
  "type": "option"
1060
- },
1061
- "page": {
1062
- "description": "Page number for pagination",
1063
- "name": "page",
1064
- "required": false,
1065
- "default": 1,
1066
- "hasDynamicHelp": false,
1067
- "multiple": false,
1068
- "type": "option"
1069
- },
1070
- "per_page": {
1071
- "description": "Number of results per page",
1072
- "name": "per_page",
1073
- "required": false,
1074
- "default": 50,
1075
- "hasDynamicHelp": false,
1076
- "multiple": false,
1077
- "type": "option"
1078
- },
1079
- "sort": {
1080
- "description": "Sort field",
1081
- "name": "sort",
1082
- "required": false,
1083
- "default": "created_at",
1084
- "hasDynamicHelp": false,
1085
- "multiple": false,
1086
- "type": "option"
1087
- },
1088
- "workspace": {
1089
- "char": "w",
1090
- "description": "Workspace ID (optional if set in profile)",
1091
- "name": "workspace",
1092
- "required": false,
1093
- "hasDynamicHelp": false,
1094
- "multiple": false,
1095
- "type": "option"
1096
1066
  }
1097
1067
  },
1098
1068
  "hasDynamicHelp": false,
1099
1069
  "hiddenAliases": [],
1100
- "id": "function:list",
1070
+ "id": "platform:list",
1101
1071
  "pluginAlias": "@xano/cli",
1102
1072
  "pluginName": "@xano/cli",
1103
1073
  "pluginType": "core",
@@ -1107,7 +1077,7 @@
1107
1077
  "relativePath": [
1108
1078
  "dist",
1109
1079
  "commands",
1110
- "function",
1080
+ "platform",
1111
1081
  "list",
1112
1082
  "index.js"
1113
1083
  ]
@@ -1405,20 +1375,50 @@
1405
1375
  "index.js"
1406
1376
  ]
1407
1377
  },
1408
- "branch:get": {
1378
+ "profile:list": {
1409
1379
  "aliases": [],
1410
- "args": {
1411
- "branch_label": {
1412
- "description": "Branch label (e.g., \"v1\", \"dev\")",
1413
- "name": "branch_label",
1414
- "required": true
1380
+ "args": {},
1381
+ "description": "List all available profile configurations",
1382
+ "examples": [
1383
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1384
+ "$ 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",
1385
+ "$ 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"
1386
+ ],
1387
+ "flags": {
1388
+ "details": {
1389
+ "char": "d",
1390
+ "description": "Show detailed information for each profile",
1391
+ "name": "details",
1392
+ "required": false,
1393
+ "allowNo": false,
1394
+ "type": "boolean"
1415
1395
  }
1416
1396
  },
1417
- "description": "Get details for a specific branch",
1397
+ "hasDynamicHelp": false,
1398
+ "hiddenAliases": [],
1399
+ "id": "profile:list",
1400
+ "pluginAlias": "@xano/cli",
1401
+ "pluginName": "@xano/cli",
1402
+ "pluginType": "core",
1403
+ "strict": true,
1404
+ "enableJsonFlag": false,
1405
+ "isESM": true,
1406
+ "relativePath": [
1407
+ "dist",
1408
+ "commands",
1409
+ "profile",
1410
+ "list",
1411
+ "index.js"
1412
+ ]
1413
+ },
1414
+ "profile:me": {
1415
+ "aliases": [],
1416
+ "args": {},
1417
+ "description": "Get information about the currently authenticated user",
1418
1418
  "examples": [
1419
- "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
1420
- "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
1421
- "$ 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"
1419
+ "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1420
+ "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1421
+ "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1422
1422
  ],
1423
1423
  "flags": {
1424
1424
  "profile": {
@@ -1453,20 +1453,11 @@
1453
1453
  "json"
1454
1454
  ],
1455
1455
  "type": "option"
1456
- },
1457
- "workspace": {
1458
- "char": "w",
1459
- "description": "Workspace ID (uses profile workspace if not provided)",
1460
- "name": "workspace",
1461
- "required": false,
1462
- "hasDynamicHelp": false,
1463
- "multiple": false,
1464
- "type": "option"
1465
1456
  }
1466
1457
  },
1467
1458
  "hasDynamicHelp": false,
1468
1459
  "hiddenAliases": [],
1469
- "id": "branch:get",
1460
+ "id": "profile:me",
1470
1461
  "pluginAlias": "@xano/cli",
1471
1462
  "pluginName": "@xano/cli",
1472
1463
  "pluginType": "core",
@@ -1476,33 +1467,28 @@
1476
1467
  "relativePath": [
1477
1468
  "dist",
1478
1469
  "commands",
1479
- "branch",
1480
- "get",
1470
+ "profile",
1471
+ "me",
1481
1472
  "index.js"
1482
1473
  ]
1483
1474
  },
1484
- "profile:list": {
1475
+ "profile:set": {
1485
1476
  "aliases": [],
1486
- "args": {},
1487
- "description": "List all available profile configurations",
1488
- "examples": [
1489
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1490
- "$ 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",
1491
- "$ 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"
1492
- ],
1493
- "flags": {
1494
- "details": {
1495
- "char": "d",
1496
- "description": "Show detailed information for each profile",
1497
- "name": "details",
1498
- "required": false,
1499
- "allowNo": false,
1500
- "type": "boolean"
1477
+ "args": {
1478
+ "name": {
1479
+ "description": "Profile name to set as default",
1480
+ "name": "name",
1481
+ "required": true
1501
1482
  }
1502
1483
  },
1484
+ "description": "Set the default profile",
1485
+ "examples": [
1486
+ "$ xano profile set production\nDefault profile set to 'production'\n"
1487
+ ],
1488
+ "flags": {},
1503
1489
  "hasDynamicHelp": false,
1504
1490
  "hiddenAliases": [],
1505
- "id": "profile:list",
1491
+ "id": "profile:set",
1506
1492
  "pluginAlias": "@xano/cli",
1507
1493
  "pluginName": "@xano/cli",
1508
1494
  "pluginType": "core",
@@ -1513,27 +1499,22 @@
1513
1499
  "dist",
1514
1500
  "commands",
1515
1501
  "profile",
1516
- "list",
1502
+ "set",
1517
1503
  "index.js"
1518
1504
  ]
1519
1505
  },
1520
- "profile:set": {
1506
+ "profile:token": {
1521
1507
  "aliases": [],
1522
- "args": {
1523
- "name": {
1524
- "description": "Profile name to set as default",
1525
- "name": "name",
1526
- "required": true
1527
- }
1528
- },
1529
- "description": "Set the default profile",
1508
+ "args": {},
1509
+ "description": "Print the access token for the default profile",
1530
1510
  "examples": [
1531
- "$ xano profile set production\nDefault profile set to 'production'\n"
1511
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1512
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1532
1513
  ],
1533
1514
  "flags": {},
1534
1515
  "hasDynamicHelp": false,
1535
1516
  "hiddenAliases": [],
1536
- "id": "profile:set",
1517
+ "id": "profile:token",
1537
1518
  "pluginAlias": "@xano/cli",
1538
1519
  "pluginName": "@xano/cli",
1539
1520
  "pluginType": "core",
@@ -1544,18 +1525,20 @@
1544
1525
  "dist",
1545
1526
  "commands",
1546
1527
  "profile",
1547
- "set",
1528
+ "token",
1548
1529
  "index.js"
1549
1530
  ]
1550
1531
  },
1551
- "profile:me": {
1532
+ "function:create": {
1552
1533
  "aliases": [],
1553
1534
  "args": {},
1554
- "description": "Get information about the currently authenticated user",
1535
+ "description": "Create a new function in a workspace",
1555
1536
  "examples": [
1556
- "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1557
- "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1558
- "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1537
+ "$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
1538
+ "$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
1539
+ "$ 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",
1540
+ "$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
1541
+ "$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
1559
1542
  ],
1560
1543
  "flags": {
1561
1544
  "profile": {
@@ -1577,6 +1560,29 @@
1577
1560
  "allowNo": false,
1578
1561
  "type": "boolean"
1579
1562
  },
1563
+ "edit": {
1564
+ "char": "e",
1565
+ "dependsOn": [
1566
+ "file"
1567
+ ],
1568
+ "description": "Open file in editor before creating function (requires --file)",
1569
+ "name": "edit",
1570
+ "required": false,
1571
+ "allowNo": false,
1572
+ "type": "boolean"
1573
+ },
1574
+ "file": {
1575
+ "char": "f",
1576
+ "description": "Path to file containing XanoScript code",
1577
+ "exclusive": [
1578
+ "stdin"
1579
+ ],
1580
+ "name": "file",
1581
+ "required": false,
1582
+ "hasDynamicHelp": false,
1583
+ "multiple": false,
1584
+ "type": "option"
1585
+ },
1580
1586
  "output": {
1581
1587
  "char": "o",
1582
1588
  "description": "Output format",
@@ -1590,56 +1596,23 @@
1590
1596
  "json"
1591
1597
  ],
1592
1598
  "type": "option"
1593
- }
1594
- },
1595
- "hasDynamicHelp": false,
1596
- "hiddenAliases": [],
1597
- "id": "profile:me",
1598
- "pluginAlias": "@xano/cli",
1599
- "pluginName": "@xano/cli",
1600
- "pluginType": "core",
1601
- "strict": true,
1602
- "enableJsonFlag": false,
1603
- "isESM": true,
1604
- "relativePath": [
1605
- "dist",
1606
- "commands",
1607
- "profile",
1608
- "me",
1609
- "index.js"
1610
- ]
1611
- },
1612
- "profile:wizard": {
1613
- "aliases": [],
1614
- "args": {},
1615
- "description": "Create a new profile configuration using an interactive wizard",
1616
- "examples": [
1617
- "$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
1618
- ],
1619
- "flags": {
1620
- "insecure": {
1621
- "char": "k",
1622
- "description": "Skip TLS certificate verification (for self-signed certificates)",
1623
- "name": "insecure",
1599
+ },
1600
+ "stdin": {
1601
+ "char": "s",
1602
+ "description": "Read XanoScript code from stdin",
1603
+ "exclusive": [
1604
+ "file"
1605
+ ],
1606
+ "name": "stdin",
1624
1607
  "required": false,
1625
1608
  "allowNo": false,
1626
1609
  "type": "boolean"
1627
1610
  },
1628
- "name": {
1629
- "char": "n",
1630
- "description": "Profile name (skip prompt if provided)",
1631
- "name": "name",
1632
- "required": false,
1633
- "hasDynamicHelp": false,
1634
- "multiple": false,
1635
- "type": "option"
1636
- },
1637
- "origin": {
1638
- "char": "o",
1639
- "description": "Xano instance origin URL",
1640
- "name": "origin",
1611
+ "workspace": {
1612
+ "char": "w",
1613
+ "description": "Workspace ID (optional if set in profile)",
1614
+ "name": "workspace",
1641
1615
  "required": false,
1642
- "default": "https://app.xano.com",
1643
1616
  "hasDynamicHelp": false,
1644
1617
  "multiple": false,
1645
1618
  "type": "option"
@@ -1647,7 +1620,7 @@
1647
1620
  },
1648
1621
  "hasDynamicHelp": false,
1649
1622
  "hiddenAliases": [],
1650
- "id": "profile:wizard",
1623
+ "id": "function:create",
1651
1624
  "pluginAlias": "@xano/cli",
1652
1625
  "pluginName": "@xano/cli",
1653
1626
  "pluginType": "core",
@@ -1657,8 +1630,8 @@
1657
1630
  "relativePath": [
1658
1631
  "dist",
1659
1632
  "commands",
1660
- "profile",
1661
- "wizard",
1633
+ "function",
1634
+ "create",
1662
1635
  "index.js"
1663
1636
  ]
1664
1637
  },
@@ -1799,68 +1772,37 @@
1799
1772
  "index.js"
1800
1773
  ]
1801
1774
  },
1802
- "release:delete": {
1775
+ "profile:wizard": {
1803
1776
  "aliases": [],
1804
- "args": {
1805
- "release_name": {
1806
- "description": "Release name to delete",
1807
- "name": "release_name",
1808
- "required": true
1809
- }
1810
- },
1811
- "description": "Delete a release permanently. This action cannot be undone.",
1777
+ "args": {},
1778
+ "description": "Create a new profile configuration using an interactive wizard",
1812
1779
  "examples": [
1813
- "$ 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",
1814
- "$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
1815
- "$ xano release delete v1.0 -f -o json"
1780
+ "$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
1816
1781
  ],
1817
1782
  "flags": {
1818
- "profile": {
1819
- "char": "p",
1820
- "description": "Profile to use (uses default profile if not specified)",
1821
- "env": "XANO_PROFILE",
1822
- "name": "profile",
1823
- "required": false,
1824
- "hasDynamicHelp": false,
1825
- "multiple": false,
1826
- "type": "option"
1827
- },
1828
- "verbose": {
1829
- "char": "v",
1830
- "description": "Show detailed request/response information",
1831
- "env": "XANO_VERBOSE",
1832
- "name": "verbose",
1833
- "required": false,
1834
- "allowNo": false,
1835
- "type": "boolean"
1836
- },
1837
- "force": {
1838
- "char": "f",
1839
- "description": "Skip confirmation prompt",
1840
- "name": "force",
1783
+ "insecure": {
1784
+ "char": "k",
1785
+ "description": "Skip TLS certificate verification (for self-signed certificates)",
1786
+ "name": "insecure",
1841
1787
  "required": false,
1842
1788
  "allowNo": false,
1843
1789
  "type": "boolean"
1844
1790
  },
1845
- "output": {
1846
- "char": "o",
1847
- "description": "Output format",
1848
- "name": "output",
1791
+ "name": {
1792
+ "char": "n",
1793
+ "description": "Profile name (skip prompt if provided)",
1794
+ "name": "name",
1849
1795
  "required": false,
1850
- "default": "summary",
1851
1796
  "hasDynamicHelp": false,
1852
1797
  "multiple": false,
1853
- "options": [
1854
- "summary",
1855
- "json"
1856
- ],
1857
1798
  "type": "option"
1858
1799
  },
1859
- "workspace": {
1860
- "char": "w",
1861
- "description": "Workspace ID (uses profile workspace if not provided)",
1862
- "name": "workspace",
1800
+ "origin": {
1801
+ "char": "o",
1802
+ "description": "Xano instance origin URL",
1803
+ "name": "origin",
1863
1804
  "required": false,
1805
+ "default": "https://app.xano.com",
1864
1806
  "hasDynamicHelp": false,
1865
1807
  "multiple": false,
1866
1808
  "type": "option"
@@ -1868,7 +1810,7 @@
1868
1810
  },
1869
1811
  "hasDynamicHelp": false,
1870
1812
  "hiddenAliases": [],
1871
- "id": "release:delete",
1813
+ "id": "profile:wizard",
1872
1814
  "pluginAlias": "@xano/cli",
1873
1815
  "pluginName": "@xano/cli",
1874
1816
  "pluginType": "core",
@@ -1878,24 +1820,25 @@
1878
1820
  "relativePath": [
1879
1821
  "dist",
1880
1822
  "commands",
1881
- "release",
1882
- "delete",
1823
+ "profile",
1824
+ "wizard",
1883
1825
  "index.js"
1884
1826
  ]
1885
1827
  },
1886
- "release:edit": {
1828
+ "release:export": {
1887
1829
  "aliases": [],
1888
1830
  "args": {
1889
1831
  "release_name": {
1890
- "description": "Release name to edit",
1832
+ "description": "Release name to export",
1891
1833
  "name": "release_name",
1892
1834
  "required": true
1893
1835
  }
1894
1836
  },
1895
- "description": "Edit an existing release",
1837
+ "description": "Export (download) a release to a local file",
1896
1838
  "examples": [
1897
- "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
1898
- "$ xano release edit v1.0 --description \"New description\" -o json"
1839
+ "$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
1840
+ "$ xano release export v1.0 --output ./backups/my-release.tar.gz",
1841
+ "$ xano release export v1.0 -o json"
1899
1842
  ],
1900
1843
  "flags": {
1901
1844
  "profile": {
@@ -1917,36 +1860,26 @@
1917
1860
  "allowNo": false,
1918
1861
  "type": "boolean"
1919
1862
  },
1920
- "description": {
1921
- "char": "d",
1922
- "description": "New description",
1923
- "name": "description",
1924
- "required": false,
1925
- "hasDynamicHelp": false,
1926
- "multiple": false,
1927
- "type": "option"
1928
- },
1929
- "name": {
1930
- "char": "n",
1931
- "description": "New name for the release",
1932
- "name": "name",
1863
+ "format": {
1864
+ "char": "o",
1865
+ "description": "Output format",
1866
+ "name": "format",
1933
1867
  "required": false,
1868
+ "default": "summary",
1934
1869
  "hasDynamicHelp": false,
1935
1870
  "multiple": false,
1871
+ "options": [
1872
+ "summary",
1873
+ "json"
1874
+ ],
1936
1875
  "type": "option"
1937
1876
  },
1938
1877
  "output": {
1939
- "char": "o",
1940
- "description": "Output format",
1878
+ "description": "Output file path (defaults to ./release-{name}.tar.gz)",
1941
1879
  "name": "output",
1942
1880
  "required": false,
1943
- "default": "summary",
1944
1881
  "hasDynamicHelp": false,
1945
1882
  "multiple": false,
1946
- "options": [
1947
- "summary",
1948
- "json"
1949
- ],
1950
1883
  "type": "option"
1951
1884
  },
1952
1885
  "workspace": {
@@ -1961,7 +1894,7 @@
1961
1894
  },
1962
1895
  "hasDynamicHelp": false,
1963
1896
  "hiddenAliases": [],
1964
- "id": "release:edit",
1897
+ "id": "release:export",
1965
1898
  "pluginAlias": "@xano/cli",
1966
1899
  "pluginName": "@xano/cli",
1967
1900
  "pluginType": "core",
@@ -1972,7 +1905,7 @@
1972
1905
  "dist",
1973
1906
  "commands",
1974
1907
  "release",
1975
- "edit",
1908
+ "export",
1976
1909
  "index.js"
1977
1910
  ]
1978
1911
  },
@@ -2068,46 +2001,19 @@
2068
2001
  "index.js"
2069
2002
  ]
2070
2003
  },
2071
- "profile:token": {
2072
- "aliases": [],
2073
- "args": {},
2074
- "description": "Print the access token for the default profile",
2075
- "examples": [
2076
- "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
2077
- "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
2078
- ],
2079
- "flags": {},
2080
- "hasDynamicHelp": false,
2081
- "hiddenAliases": [],
2082
- "id": "profile:token",
2083
- "pluginAlias": "@xano/cli",
2084
- "pluginName": "@xano/cli",
2085
- "pluginType": "core",
2086
- "strict": true,
2087
- "enableJsonFlag": false,
2088
- "isESM": true,
2089
- "relativePath": [
2090
- "dist",
2091
- "commands",
2092
- "profile",
2093
- "token",
2094
- "index.js"
2095
- ]
2096
- },
2097
- "release:export": {
2004
+ "release:edit": {
2098
2005
  "aliases": [],
2099
2006
  "args": {
2100
2007
  "release_name": {
2101
- "description": "Release name to export",
2008
+ "description": "Release name to edit",
2102
2009
  "name": "release_name",
2103
2010
  "required": true
2104
2011
  }
2105
2012
  },
2106
- "description": "Export (download) a release to a local file",
2013
+ "description": "Edit an existing release",
2107
2014
  "examples": [
2108
- "$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
2109
- "$ xano release export v1.0 --output ./backups/my-release.tar.gz",
2110
- "$ xano release export v1.0 -o json"
2015
+ "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
2016
+ "$ xano release edit v1.0 --description \"New description\" -o json"
2111
2017
  ],
2112
2018
  "flags": {
2113
2019
  "profile": {
@@ -2129,26 +2035,36 @@
2129
2035
  "allowNo": false,
2130
2036
  "type": "boolean"
2131
2037
  },
2132
- "format": {
2133
- "char": "o",
2134
- "description": "Output format",
2135
- "name": "format",
2038
+ "description": {
2039
+ "char": "d",
2040
+ "description": "New description",
2041
+ "name": "description",
2042
+ "required": false,
2043
+ "hasDynamicHelp": false,
2044
+ "multiple": false,
2045
+ "type": "option"
2046
+ },
2047
+ "name": {
2048
+ "char": "n",
2049
+ "description": "New name for the release",
2050
+ "name": "name",
2136
2051
  "required": false,
2137
- "default": "summary",
2138
2052
  "hasDynamicHelp": false,
2139
2053
  "multiple": false,
2140
- "options": [
2141
- "summary",
2142
- "json"
2143
- ],
2144
2054
  "type": "option"
2145
2055
  },
2146
2056
  "output": {
2147
- "description": "Output file path (defaults to ./release-{name}.tar.gz)",
2057
+ "char": "o",
2058
+ "description": "Output format",
2148
2059
  "name": "output",
2149
2060
  "required": false,
2061
+ "default": "summary",
2150
2062
  "hasDynamicHelp": false,
2151
2063
  "multiple": false,
2064
+ "options": [
2065
+ "summary",
2066
+ "json"
2067
+ ],
2152
2068
  "type": "option"
2153
2069
  },
2154
2070
  "workspace": {
@@ -2163,7 +2079,7 @@
2163
2079
  },
2164
2080
  "hasDynamicHelp": false,
2165
2081
  "hiddenAliases": [],
2166
- "id": "release:export",
2082
+ "id": "release:edit",
2167
2083
  "pluginAlias": "@xano/cli",
2168
2084
  "pluginName": "@xano/cli",
2169
2085
  "pluginType": "core",
@@ -2174,7 +2090,7 @@
2174
2090
  "dist",
2175
2091
  "commands",
2176
2092
  "release",
2177
- "export",
2093
+ "edit",
2178
2094
  "index.js"
2179
2095
  ]
2180
2096
  },
@@ -2256,19 +2172,13 @@
2256
2172
  "index.js"
2257
2173
  ]
2258
2174
  },
2259
- "release:get": {
2175
+ "release:list": {
2260
2176
  "aliases": [],
2261
- "args": {
2262
- "release_name": {
2263
- "description": "Release name to retrieve",
2264
- "name": "release_name",
2265
- "required": true
2266
- }
2267
- },
2268
- "description": "Get details of a specific release",
2177
+ "args": {},
2178
+ "description": "List all releases in a workspace",
2269
2179
  "examples": [
2270
- "$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2271
- "$ xano release get v1.0 -w 5 -o json"
2180
+ "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2181
+ "$ xano release list -w 5 --output json"
2272
2182
  ],
2273
2183
  "flags": {
2274
2184
  "profile": {
@@ -2316,7 +2226,7 @@
2316
2226
  },
2317
2227
  "hasDynamicHelp": false,
2318
2228
  "hiddenAliases": [],
2319
- "id": "release:get",
2229
+ "id": "release:list",
2320
2230
  "pluginAlias": "@xano/cli",
2321
2231
  "pluginName": "@xano/cli",
2322
2232
  "pluginType": "core",
@@ -2327,24 +2237,23 @@
2327
2237
  "dist",
2328
2238
  "commands",
2329
2239
  "release",
2330
- "get",
2240
+ "list",
2331
2241
  "index.js"
2332
2242
  ]
2333
2243
  },
2334
- "release:pull": {
2244
+ "release:get": {
2335
2245
  "aliases": [],
2336
2246
  "args": {
2337
- "directory": {
2338
- "description": "Output directory for pulled documents",
2339
- "name": "directory",
2247
+ "release_name": {
2248
+ "description": "Release name to retrieve",
2249
+ "name": "release_name",
2340
2250
  "required": true
2341
2251
  }
2342
2252
  },
2343
- "description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
2253
+ "description": "Get details of a specific release",
2344
2254
  "examples": [
2345
- "$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
2346
- "$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
2347
- "$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
2255
+ "$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2256
+ "$ xano release get v1.0 -w 5 -o json"
2348
2257
  ],
2349
2258
  "flags": {
2350
2259
  "profile": {
@@ -2366,32 +2275,23 @@
2366
2275
  "allowNo": false,
2367
2276
  "type": "boolean"
2368
2277
  },
2369
- "env": {
2370
- "description": "Include environment variables",
2371
- "name": "env",
2372
- "required": false,
2373
- "allowNo": false,
2374
- "type": "boolean"
2375
- },
2376
- "records": {
2377
- "description": "Include records",
2378
- "name": "records",
2278
+ "output": {
2279
+ "char": "o",
2280
+ "description": "Output format",
2281
+ "name": "output",
2379
2282
  "required": false,
2380
- "allowNo": false,
2381
- "type": "boolean"
2382
- },
2383
- "release": {
2384
- "char": "r",
2385
- "description": "Release name to pull from",
2386
- "name": "release",
2387
- "required": true,
2283
+ "default": "summary",
2388
2284
  "hasDynamicHelp": false,
2389
2285
  "multiple": false,
2286
+ "options": [
2287
+ "summary",
2288
+ "json"
2289
+ ],
2390
2290
  "type": "option"
2391
2291
  },
2392
2292
  "workspace": {
2393
2293
  "char": "w",
2394
- "description": "Workspace ID (optional if set in profile)",
2294
+ "description": "Workspace ID (uses profile workspace if not provided)",
2395
2295
  "name": "workspace",
2396
2296
  "required": false,
2397
2297
  "hasDynamicHelp": false,
@@ -2401,7 +2301,7 @@
2401
2301
  },
2402
2302
  "hasDynamicHelp": false,
2403
2303
  "hiddenAliases": [],
2404
- "id": "release:pull",
2304
+ "id": "release:get",
2405
2305
  "pluginAlias": "@xano/cli",
2406
2306
  "pluginName": "@xano/cli",
2407
2307
  "pluginType": "core",
@@ -2412,17 +2312,24 @@
2412
2312
  "dist",
2413
2313
  "commands",
2414
2314
  "release",
2415
- "pull",
2315
+ "get",
2416
2316
  "index.js"
2417
2317
  ]
2418
2318
  },
2419
- "sandbox:delete": {
2319
+ "release:pull": {
2420
2320
  "aliases": [],
2421
- "args": {},
2422
- "description": "Delete your sandbox environment completely (debugging only — it will be re-created on next access)",
2321
+ "args": {
2322
+ "directory": {
2323
+ "description": "Output directory for pulled documents",
2324
+ "name": "directory",
2325
+ "required": true
2326
+ }
2327
+ },
2328
+ "description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
2423
2329
  "examples": [
2424
- "$ xano sandbox delete\nAre you sure you want to DELETE your sandbox environment? This destroys all data. (y/N) y\nSandbox environment deleted.\n",
2425
- "$ xano sandbox delete --force"
2330
+ "$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
2331
+ "$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
2332
+ "$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
2426
2333
  ],
2427
2334
  "flags": {
2428
2335
  "profile": {
@@ -2444,18 +2351,42 @@
2444
2351
  "allowNo": false,
2445
2352
  "type": "boolean"
2446
2353
  },
2447
- "force": {
2448
- "char": "f",
2449
- "description": "Skip confirmation prompt",
2450
- "name": "force",
2354
+ "env": {
2355
+ "description": "Include environment variables",
2356
+ "name": "env",
2357
+ "required": false,
2358
+ "allowNo": false,
2359
+ "type": "boolean"
2360
+ },
2361
+ "records": {
2362
+ "description": "Include records",
2363
+ "name": "records",
2451
2364
  "required": false,
2452
2365
  "allowNo": false,
2453
2366
  "type": "boolean"
2367
+ },
2368
+ "release": {
2369
+ "char": "r",
2370
+ "description": "Release name to pull from",
2371
+ "name": "release",
2372
+ "required": true,
2373
+ "hasDynamicHelp": false,
2374
+ "multiple": false,
2375
+ "type": "option"
2376
+ },
2377
+ "workspace": {
2378
+ "char": "w",
2379
+ "description": "Workspace ID (optional if set in profile)",
2380
+ "name": "workspace",
2381
+ "required": false,
2382
+ "hasDynamicHelp": false,
2383
+ "multiple": false,
2384
+ "type": "option"
2454
2385
  }
2455
2386
  },
2456
2387
  "hasDynamicHelp": false,
2457
2388
  "hiddenAliases": [],
2458
- "id": "sandbox:delete",
2389
+ "id": "release:pull",
2459
2390
  "pluginAlias": "@xano/cli",
2460
2391
  "pluginName": "@xano/cli",
2461
2392
  "pluginType": "core",
@@ -2465,8 +2396,8 @@
2465
2396
  "relativePath": [
2466
2397
  "dist",
2467
2398
  "commands",
2468
- "sandbox",
2469
- "delete",
2399
+ "release",
2400
+ "pull",
2470
2401
  "index.js"
2471
2402
  ]
2472
2403
  },
@@ -2566,14 +2497,68 @@
2566
2497
  "description": "Workspace ID (optional if set in profile)",
2567
2498
  "name": "workspace",
2568
2499
  "required": false,
2569
- "hasDynamicHelp": false,
2570
- "multiple": false,
2571
- "type": "option"
2500
+ "hasDynamicHelp": false,
2501
+ "multiple": false,
2502
+ "type": "option"
2503
+ }
2504
+ },
2505
+ "hasDynamicHelp": false,
2506
+ "hiddenAliases": [],
2507
+ "id": "release:push",
2508
+ "pluginAlias": "@xano/cli",
2509
+ "pluginName": "@xano/cli",
2510
+ "pluginType": "core",
2511
+ "strict": true,
2512
+ "enableJsonFlag": false,
2513
+ "isESM": true,
2514
+ "relativePath": [
2515
+ "dist",
2516
+ "commands",
2517
+ "release",
2518
+ "push",
2519
+ "index.js"
2520
+ ]
2521
+ },
2522
+ "sandbox:delete": {
2523
+ "aliases": [],
2524
+ "args": {},
2525
+ "description": "Delete your sandbox environment completely (debugging only — it will be re-created on next access)",
2526
+ "examples": [
2527
+ "$ xano sandbox delete\nAre you sure you want to DELETE your sandbox environment? This destroys all data. (y/N) y\nSandbox environment deleted.\n",
2528
+ "$ xano sandbox delete --force"
2529
+ ],
2530
+ "flags": {
2531
+ "profile": {
2532
+ "char": "p",
2533
+ "description": "Profile to use (uses default profile if not specified)",
2534
+ "env": "XANO_PROFILE",
2535
+ "name": "profile",
2536
+ "required": false,
2537
+ "hasDynamicHelp": false,
2538
+ "multiple": false,
2539
+ "type": "option"
2540
+ },
2541
+ "verbose": {
2542
+ "char": "v",
2543
+ "description": "Show detailed request/response information",
2544
+ "env": "XANO_VERBOSE",
2545
+ "name": "verbose",
2546
+ "required": false,
2547
+ "allowNo": false,
2548
+ "type": "boolean"
2549
+ },
2550
+ "force": {
2551
+ "char": "f",
2552
+ "description": "Skip confirmation prompt",
2553
+ "name": "force",
2554
+ "required": false,
2555
+ "allowNo": false,
2556
+ "type": "boolean"
2572
2557
  }
2573
2558
  },
2574
2559
  "hasDynamicHelp": false,
2575
2560
  "hiddenAliases": [],
2576
- "id": "release:push",
2561
+ "id": "sandbox:delete",
2577
2562
  "pluginAlias": "@xano/cli",
2578
2563
  "pluginName": "@xano/cli",
2579
2564
  "pluginType": "core",
@@ -2583,18 +2568,18 @@
2583
2568
  "relativePath": [
2584
2569
  "dist",
2585
2570
  "commands",
2586
- "release",
2587
- "push",
2571
+ "sandbox",
2572
+ "delete",
2588
2573
  "index.js"
2589
2574
  ]
2590
2575
  },
2591
- "release:list": {
2576
+ "sandbox:get": {
2592
2577
  "aliases": [],
2593
2578
  "args": {},
2594
- "description": "List all releases in a workspace",
2579
+ "description": "Get your sandbox environment (creates one if it does not exist)",
2595
2580
  "examples": [
2596
- "$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
2597
- "$ xano release list -w 5 --output json"
2581
+ "$ xano sandbox get\nSandbox Environment: (tc24-abcd-x1y2)\n State: ok\n License: tier1\n",
2582
+ "$ xano sandbox get -o json"
2598
2583
  ],
2599
2584
  "flags": {
2600
2585
  "profile": {
@@ -2629,20 +2614,11 @@
2629
2614
  "json"
2630
2615
  ],
2631
2616
  "type": "option"
2632
- },
2633
- "workspace": {
2634
- "char": "w",
2635
- "description": "Workspace ID (uses profile workspace if not provided)",
2636
- "name": "workspace",
2637
- "required": false,
2638
- "hasDynamicHelp": false,
2639
- "multiple": false,
2640
- "type": "option"
2641
2617
  }
2642
2618
  },
2643
2619
  "hasDynamicHelp": false,
2644
2620
  "hiddenAliases": [],
2645
- "id": "release:list",
2621
+ "id": "sandbox:get",
2646
2622
  "pluginAlias": "@xano/cli",
2647
2623
  "pluginName": "@xano/cli",
2648
2624
  "pluginType": "core",
@@ -2652,8 +2628,8 @@
2652
2628
  "relativePath": [
2653
2629
  "dist",
2654
2630
  "commands",
2655
- "release",
2656
- "list",
2631
+ "sandbox",
2632
+ "get",
2657
2633
  "index.js"
2658
2634
  ]
2659
2635
  },
@@ -2727,13 +2703,19 @@
2727
2703
  "index.js"
2728
2704
  ]
2729
2705
  },
2730
- "sandbox:get": {
2706
+ "sandbox:pull": {
2731
2707
  "aliases": [],
2732
- "args": {},
2733
- "description": "Get your sandbox environment (creates one if it does not exist)",
2708
+ "args": {
2709
+ "directory": {
2710
+ "description": "Output directory for pulled documents",
2711
+ "name": "directory",
2712
+ "required": true
2713
+ }
2714
+ },
2715
+ "description": "Pull documents from your sandbox environment and split into individual files",
2734
2716
  "examples": [
2735
- "$ xano sandbox get\nSandbox Environment: (tc24-abcd-x1y2)\n State: ok\n License: tier1\n",
2736
- "$ xano sandbox get -o json"
2717
+ "$ xano sandbox pull ./my-sandbox\nPulled 42 documents from sandbox environment to ./my-sandbox\n",
2718
+ "$ xano sandbox pull ./backup --env --records"
2737
2719
  ],
2738
2720
  "flags": {
2739
2721
  "profile": {
@@ -2755,24 +2737,31 @@
2755
2737
  "allowNo": false,
2756
2738
  "type": "boolean"
2757
2739
  },
2758
- "output": {
2759
- "char": "o",
2760
- "description": "Output format",
2761
- "name": "output",
2740
+ "draft": {
2741
+ "description": "Include draft versions",
2742
+ "name": "draft",
2762
2743
  "required": false,
2763
- "default": "summary",
2764
- "hasDynamicHelp": false,
2765
- "multiple": false,
2766
- "options": [
2767
- "summary",
2768
- "json"
2769
- ],
2770
- "type": "option"
2744
+ "allowNo": false,
2745
+ "type": "boolean"
2746
+ },
2747
+ "env": {
2748
+ "description": "Include environment variables",
2749
+ "name": "env",
2750
+ "required": false,
2751
+ "allowNo": false,
2752
+ "type": "boolean"
2753
+ },
2754
+ "records": {
2755
+ "description": "Include records",
2756
+ "name": "records",
2757
+ "required": false,
2758
+ "allowNo": false,
2759
+ "type": "boolean"
2771
2760
  }
2772
2761
  },
2773
2762
  "hasDynamicHelp": false,
2774
2763
  "hiddenAliases": [],
2775
- "id": "sandbox:get",
2764
+ "id": "sandbox:pull",
2776
2765
  "pluginAlias": "@xano/cli",
2777
2766
  "pluginName": "@xano/cli",
2778
2767
  "pluginType": "core",
@@ -2783,7 +2772,7 @@
2783
2772
  "dist",
2784
2773
  "commands",
2785
2774
  "sandbox",
2786
- "get",
2775
+ "pull",
2787
2776
  "index.js"
2788
2777
  ]
2789
2778
  },
@@ -3080,6 +3069,90 @@
3080
3069
  "index.js"
3081
3070
  ]
3082
3071
  },
3072
+ "release:delete": {
3073
+ "aliases": [],
3074
+ "args": {
3075
+ "release_name": {
3076
+ "description": "Release name to delete",
3077
+ "name": "release_name",
3078
+ "required": true
3079
+ }
3080
+ },
3081
+ "description": "Delete a release permanently. This action cannot be undone.",
3082
+ "examples": [
3083
+ "$ 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",
3084
+ "$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
3085
+ "$ xano release delete v1.0 -f -o json"
3086
+ ],
3087
+ "flags": {
3088
+ "profile": {
3089
+ "char": "p",
3090
+ "description": "Profile to use (uses default profile if not specified)",
3091
+ "env": "XANO_PROFILE",
3092
+ "name": "profile",
3093
+ "required": false,
3094
+ "hasDynamicHelp": false,
3095
+ "multiple": false,
3096
+ "type": "option"
3097
+ },
3098
+ "verbose": {
3099
+ "char": "v",
3100
+ "description": "Show detailed request/response information",
3101
+ "env": "XANO_VERBOSE",
3102
+ "name": "verbose",
3103
+ "required": false,
3104
+ "allowNo": false,
3105
+ "type": "boolean"
3106
+ },
3107
+ "force": {
3108
+ "char": "f",
3109
+ "description": "Skip confirmation prompt",
3110
+ "name": "force",
3111
+ "required": false,
3112
+ "allowNo": false,
3113
+ "type": "boolean"
3114
+ },
3115
+ "output": {
3116
+ "char": "o",
3117
+ "description": "Output format",
3118
+ "name": "output",
3119
+ "required": false,
3120
+ "default": "summary",
3121
+ "hasDynamicHelp": false,
3122
+ "multiple": false,
3123
+ "options": [
3124
+ "summary",
3125
+ "json"
3126
+ ],
3127
+ "type": "option"
3128
+ },
3129
+ "workspace": {
3130
+ "char": "w",
3131
+ "description": "Workspace ID (uses profile workspace if not provided)",
3132
+ "name": "workspace",
3133
+ "required": false,
3134
+ "hasDynamicHelp": false,
3135
+ "multiple": false,
3136
+ "type": "option"
3137
+ }
3138
+ },
3139
+ "hasDynamicHelp": false,
3140
+ "hiddenAliases": [],
3141
+ "id": "release:delete",
3142
+ "pluginAlias": "@xano/cli",
3143
+ "pluginName": "@xano/cli",
3144
+ "pluginType": "core",
3145
+ "strict": true,
3146
+ "enableJsonFlag": false,
3147
+ "isESM": true,
3148
+ "relativePath": [
3149
+ "dist",
3150
+ "commands",
3151
+ "release",
3152
+ "delete",
3153
+ "index.js"
3154
+ ]
3155
+ },
3083
3156
  "tenant:create": {
3084
3157
  "aliases": [],
3085
3158
  "args": {
@@ -3195,91 +3268,7 @@
3195
3268
  "description": "Enable background tasks",
3196
3269
  "name": "tasks",
3197
3270
  "allowNo": true,
3198
- "type": "boolean"
3199
- },
3200
- "workspace": {
3201
- "char": "w",
3202
- "description": "Workspace ID (uses profile workspace if not provided)",
3203
- "name": "workspace",
3204
- "required": false,
3205
- "hasDynamicHelp": false,
3206
- "multiple": false,
3207
- "type": "option"
3208
- }
3209
- },
3210
- "hasDynamicHelp": false,
3211
- "hiddenAliases": [],
3212
- "id": "tenant:create",
3213
- "pluginAlias": "@xano/cli",
3214
- "pluginName": "@xano/cli",
3215
- "pluginType": "core",
3216
- "strict": true,
3217
- "enableJsonFlag": false,
3218
- "isESM": true,
3219
- "relativePath": [
3220
- "dist",
3221
- "commands",
3222
- "tenant",
3223
- "create",
3224
- "index.js"
3225
- ]
3226
- },
3227
- "tenant:delete": {
3228
- "aliases": [],
3229
- "args": {
3230
- "tenant_name": {
3231
- "description": "Tenant name to delete",
3232
- "name": "tenant_name",
3233
- "required": true
3234
- }
3235
- },
3236
- "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
3237
- "examples": [
3238
- "$ 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",
3239
- "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
3240
- "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
3241
- ],
3242
- "flags": {
3243
- "profile": {
3244
- "char": "p",
3245
- "description": "Profile to use (uses default profile if not specified)",
3246
- "env": "XANO_PROFILE",
3247
- "name": "profile",
3248
- "required": false,
3249
- "hasDynamicHelp": false,
3250
- "multiple": false,
3251
- "type": "option"
3252
- },
3253
- "verbose": {
3254
- "char": "v",
3255
- "description": "Show detailed request/response information",
3256
- "env": "XANO_VERBOSE",
3257
- "name": "verbose",
3258
- "required": false,
3259
- "allowNo": false,
3260
- "type": "boolean"
3261
- },
3262
- "force": {
3263
- "char": "f",
3264
- "description": "Skip confirmation prompt",
3265
- "name": "force",
3266
- "required": false,
3267
- "allowNo": false,
3268
- "type": "boolean"
3269
- },
3270
- "output": {
3271
- "char": "o",
3272
- "description": "Output format",
3273
- "name": "output",
3274
- "required": false,
3275
- "default": "summary",
3276
- "hasDynamicHelp": false,
3277
- "multiple": false,
3278
- "options": [
3279
- "summary",
3280
- "json"
3281
- ],
3282
- "type": "option"
3271
+ "type": "boolean"
3283
3272
  },
3284
3273
  "workspace": {
3285
3274
  "char": "w",
@@ -3293,7 +3282,7 @@
3293
3282
  },
3294
3283
  "hasDynamicHelp": false,
3295
3284
  "hiddenAliases": [],
3296
- "id": "tenant:delete",
3285
+ "id": "tenant:create",
3297
3286
  "pluginAlias": "@xano/cli",
3298
3287
  "pluginName": "@xano/cli",
3299
3288
  "pluginType": "core",
@@ -3304,24 +3293,23 @@
3304
3293
  "dist",
3305
3294
  "commands",
3306
3295
  "tenant",
3307
- "delete",
3296
+ "create",
3308
3297
  "index.js"
3309
3298
  ]
3310
3299
  },
3311
- "tenant:deploy_release": {
3300
+ "tenant:edit": {
3312
3301
  "aliases": [],
3313
3302
  "args": {
3314
3303
  "tenant_name": {
3315
- "description": "Tenant name to deploy to",
3304
+ "description": "Tenant name to edit",
3316
3305
  "name": "tenant_name",
3317
3306
  "required": true
3318
3307
  }
3319
3308
  },
3320
- "description": "Deploy a release to a tenant",
3309
+ "description": "Edit an existing tenant",
3321
3310
  "examples": [
3322
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
3323
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 --no-transaction",
3324
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
3311
+ "$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
3312
+ "$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
3325
3313
  ],
3326
3314
  "flags": {
3327
3315
  "profile": {
@@ -3343,6 +3331,38 @@
3343
3331
  "allowNo": false,
3344
3332
  "type": "boolean"
3345
3333
  },
3334
+ "description": {
3335
+ "char": "d",
3336
+ "description": "New description",
3337
+ "name": "description",
3338
+ "required": false,
3339
+ "hasDynamicHelp": false,
3340
+ "multiple": false,
3341
+ "type": "option"
3342
+ },
3343
+ "display": {
3344
+ "description": "New display name",
3345
+ "name": "display",
3346
+ "required": false,
3347
+ "hasDynamicHelp": false,
3348
+ "multiple": false,
3349
+ "type": "option"
3350
+ },
3351
+ "domain": {
3352
+ "description": "Custom domain",
3353
+ "name": "domain",
3354
+ "required": false,
3355
+ "hasDynamicHelp": false,
3356
+ "multiple": false,
3357
+ "type": "option"
3358
+ },
3359
+ "ingress": {
3360
+ "description": "Enable/disable ingress",
3361
+ "name": "ingress",
3362
+ "required": false,
3363
+ "allowNo": true,
3364
+ "type": "boolean"
3365
+ },
3346
3366
  "output": {
3347
3367
  "char": "o",
3348
3368
  "description": "Output format",
@@ -3357,18 +3377,24 @@
3357
3377
  ],
3358
3378
  "type": "option"
3359
3379
  },
3360
- "release": {
3361
- "char": "r",
3362
- "description": "Release name to deploy",
3363
- "name": "release",
3364
- "required": true,
3380
+ "proxy": {
3381
+ "description": "Proxy URL",
3382
+ "name": "proxy",
3383
+ "required": false,
3365
3384
  "hasDynamicHelp": false,
3366
3385
  "multiple": false,
3367
3386
  "type": "option"
3368
3387
  },
3369
- "transaction": {
3370
- "description": "Wrap deployment in a database transaction (use --no-transaction to disable)",
3371
- "name": "transaction",
3388
+ "rbac": {
3389
+ "description": "Enable/disable RBAC",
3390
+ "name": "rbac",
3391
+ "required": false,
3392
+ "allowNo": true,
3393
+ "type": "boolean"
3394
+ },
3395
+ "tasks": {
3396
+ "description": "Enable/disable background tasks",
3397
+ "name": "tasks",
3372
3398
  "required": false,
3373
3399
  "allowNo": true,
3374
3400
  "type": "boolean"
@@ -3385,7 +3411,7 @@
3385
3411
  },
3386
3412
  "hasDynamicHelp": false,
3387
3413
  "hiddenAliases": [],
3388
- "id": "tenant:deploy_release",
3414
+ "id": "tenant:edit",
3389
3415
  "pluginAlias": "@xano/cli",
3390
3416
  "pluginName": "@xano/cli",
3391
3417
  "pluginType": "core",
@@ -3396,11 +3422,11 @@
3396
3422
  "dist",
3397
3423
  "commands",
3398
3424
  "tenant",
3399
- "deploy_release",
3425
+ "edit",
3400
3426
  "index.js"
3401
3427
  ]
3402
3428
  },
3403
- "tenant:deploy_platform": {
3429
+ "tenant:deploy_release": {
3404
3430
  "aliases": [],
3405
3431
  "args": {
3406
3432
  "tenant_name": {
@@ -3409,11 +3435,11 @@
3409
3435
  "required": true
3410
3436
  }
3411
3437
  },
3412
- "description": "Deploy a platform version to a tenant",
3438
+ "description": "Deploy a release to a tenant",
3413
3439
  "examples": [
3414
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
3415
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
3416
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
3440
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
3441
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 --no-transaction",
3442
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
3417
3443
  ],
3418
3444
  "flags": {
3419
3445
  "profile": {
@@ -3435,15 +3461,6 @@
3435
3461
  "allowNo": false,
3436
3462
  "type": "boolean"
3437
3463
  },
3438
- "license": {
3439
- "char": "l",
3440
- "description": "Path to a license override file to apply after deploy",
3441
- "name": "license",
3442
- "required": false,
3443
- "hasDynamicHelp": false,
3444
- "multiple": false,
3445
- "type": "option"
3446
- },
3447
3464
  "output": {
3448
3465
  "char": "o",
3449
3466
  "description": "Output format",
@@ -3458,14 +3475,22 @@
3458
3475
  ],
3459
3476
  "type": "option"
3460
3477
  },
3461
- "platform_id": {
3462
- "description": "Platform ID to deploy",
3463
- "name": "platform_id",
3478
+ "release": {
3479
+ "char": "r",
3480
+ "description": "Release name to deploy",
3481
+ "name": "release",
3464
3482
  "required": true,
3465
3483
  "hasDynamicHelp": false,
3466
3484
  "multiple": false,
3467
3485
  "type": "option"
3468
3486
  },
3487
+ "transaction": {
3488
+ "description": "Wrap deployment in a database transaction (use --no-transaction to disable)",
3489
+ "name": "transaction",
3490
+ "required": false,
3491
+ "allowNo": true,
3492
+ "type": "boolean"
3493
+ },
3469
3494
  "workspace": {
3470
3495
  "char": "w",
3471
3496
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3478,7 +3503,7 @@
3478
3503
  },
3479
3504
  "hasDynamicHelp": false,
3480
3505
  "hiddenAliases": [],
3481
- "id": "tenant:deploy_platform",
3506
+ "id": "tenant:deploy_release",
3482
3507
  "pluginAlias": "@xano/cli",
3483
3508
  "pluginName": "@xano/cli",
3484
3509
  "pluginType": "core",
@@ -3489,23 +3514,24 @@
3489
3514
  "dist",
3490
3515
  "commands",
3491
3516
  "tenant",
3492
- "deploy_platform",
3517
+ "deploy_release",
3493
3518
  "index.js"
3494
3519
  ]
3495
3520
  },
3496
- "tenant:edit": {
3521
+ "tenant:deploy_platform": {
3497
3522
  "aliases": [],
3498
3523
  "args": {
3499
3524
  "tenant_name": {
3500
- "description": "Tenant name to edit",
3525
+ "description": "Tenant name to deploy to",
3501
3526
  "name": "tenant_name",
3502
3527
  "required": true
3503
3528
  }
3504
3529
  },
3505
- "description": "Edit an existing tenant",
3530
+ "description": "Deploy a platform version to a tenant",
3506
3531
  "examples": [
3507
- "$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
3508
- "$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
3532
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
3533
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
3534
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
3509
3535
  ],
3510
3536
  "flags": {
3511
3537
  "profile": {
@@ -3527,38 +3553,15 @@
3527
3553
  "allowNo": false,
3528
3554
  "type": "boolean"
3529
3555
  },
3530
- "description": {
3531
- "char": "d",
3532
- "description": "New description",
3533
- "name": "description",
3534
- "required": false,
3535
- "hasDynamicHelp": false,
3536
- "multiple": false,
3537
- "type": "option"
3538
- },
3539
- "display": {
3540
- "description": "New display name",
3541
- "name": "display",
3542
- "required": false,
3543
- "hasDynamicHelp": false,
3544
- "multiple": false,
3545
- "type": "option"
3546
- },
3547
- "domain": {
3548
- "description": "Custom domain",
3549
- "name": "domain",
3556
+ "license": {
3557
+ "char": "l",
3558
+ "description": "Path to a license override file to apply after deploy",
3559
+ "name": "license",
3550
3560
  "required": false,
3551
3561
  "hasDynamicHelp": false,
3552
3562
  "multiple": false,
3553
3563
  "type": "option"
3554
3564
  },
3555
- "ingress": {
3556
- "description": "Enable/disable ingress",
3557
- "name": "ingress",
3558
- "required": false,
3559
- "allowNo": true,
3560
- "type": "boolean"
3561
- },
3562
3565
  "output": {
3563
3566
  "char": "o",
3564
3567
  "description": "Output format",
@@ -3573,28 +3576,14 @@
3573
3576
  ],
3574
3577
  "type": "option"
3575
3578
  },
3576
- "proxy": {
3577
- "description": "Proxy URL",
3578
- "name": "proxy",
3579
- "required": false,
3579
+ "platform_id": {
3580
+ "description": "Platform ID to deploy",
3581
+ "name": "platform_id",
3582
+ "required": true,
3580
3583
  "hasDynamicHelp": false,
3581
3584
  "multiple": false,
3582
3585
  "type": "option"
3583
3586
  },
3584
- "rbac": {
3585
- "description": "Enable/disable RBAC",
3586
- "name": "rbac",
3587
- "required": false,
3588
- "allowNo": true,
3589
- "type": "boolean"
3590
- },
3591
- "tasks": {
3592
- "description": "Enable/disable background tasks",
3593
- "name": "tasks",
3594
- "required": false,
3595
- "allowNo": true,
3596
- "type": "boolean"
3597
- },
3598
3587
  "workspace": {
3599
3588
  "char": "w",
3600
3589
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3607,7 +3596,7 @@
3607
3596
  },
3608
3597
  "hasDynamicHelp": false,
3609
3598
  "hiddenAliases": [],
3610
- "id": "tenant:edit",
3599
+ "id": "tenant:deploy_platform",
3611
3600
  "pluginAlias": "@xano/cli",
3612
3601
  "pluginName": "@xano/cli",
3613
3602
  "pluginType": "core",
@@ -3618,7 +3607,7 @@
3618
3607
  "dist",
3619
3608
  "commands",
3620
3609
  "tenant",
3621
- "edit",
3610
+ "deploy_platform",
3622
3611
  "index.js"
3623
3612
  ]
3624
3613
  },
@@ -3780,13 +3769,20 @@
3780
3769
  "index.js"
3781
3770
  ]
3782
3771
  },
3783
- "tenant:list": {
3772
+ "tenant:delete": {
3784
3773
  "aliases": [],
3785
- "args": {},
3786
- "description": "List all tenants in a workspace",
3774
+ "args": {
3775
+ "tenant_name": {
3776
+ "description": "Tenant name to delete",
3777
+ "name": "tenant_name",
3778
+ "required": true
3779
+ }
3780
+ },
3781
+ "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
3787
3782
  "examples": [
3788
- "$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
3789
- "$ xano tenant list -w 5 --output json"
3783
+ "$ 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",
3784
+ "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
3785
+ "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
3790
3786
  ],
3791
3787
  "flags": {
3792
3788
  "profile": {
@@ -3808,6 +3804,14 @@
3808
3804
  "allowNo": false,
3809
3805
  "type": "boolean"
3810
3806
  },
3807
+ "force": {
3808
+ "char": "f",
3809
+ "description": "Skip confirmation prompt",
3810
+ "name": "force",
3811
+ "required": false,
3812
+ "allowNo": false,
3813
+ "type": "boolean"
3814
+ },
3811
3815
  "output": {
3812
3816
  "char": "o",
3813
3817
  "description": "Output format",
@@ -3834,7 +3838,7 @@
3834
3838
  },
3835
3839
  "hasDynamicHelp": false,
3836
3840
  "hiddenAliases": [],
3837
- "id": "tenant:list",
3841
+ "id": "tenant:delete",
3838
3842
  "pluginAlias": "@xano/cli",
3839
3843
  "pluginName": "@xano/cli",
3840
3844
  "pluginType": "core",
@@ -3845,7 +3849,7 @@
3845
3849
  "dist",
3846
3850
  "commands",
3847
3851
  "tenant",
3848
- "list",
3852
+ "delete",
3849
3853
  "index.js"
3850
3854
  ]
3851
3855
  },
@@ -3942,23 +3946,13 @@
3942
3946
  "index.js"
3943
3947
  ]
3944
3948
  },
3945
- "tenant:push": {
3949
+ "tenant:list": {
3946
3950
  "aliases": [],
3947
- "args": {
3948
- "directory": {
3949
- "description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
3950
- "name": "directory",
3951
- "required": true
3952
- }
3953
- },
3954
- "description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
3951
+ "args": {},
3952
+ "description": "List all tenants in a workspace",
3955
3953
  "examples": [
3956
- "$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
3957
- "$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
3958
- "$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
3959
- "$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
3960
- "$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
3961
- "$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
3954
+ "$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
3955
+ "$ xano tenant list -w 5 --output json"
3962
3956
  ],
3963
3957
  "flags": {
3964
3958
  "profile": {
@@ -3980,46 +3974,23 @@
3980
3974
  "allowNo": false,
3981
3975
  "type": "boolean"
3982
3976
  },
3983
- "env": {
3984
- "description": "Include environment variables in import",
3985
- "name": "env",
3986
- "required": false,
3987
- "allowNo": false,
3988
- "type": "boolean"
3989
- },
3990
- "records": {
3991
- "description": "Include records in import",
3992
- "name": "records",
3993
- "required": false,
3994
- "allowNo": false,
3995
- "type": "boolean"
3996
- },
3997
- "tenant": {
3998
- "char": "t",
3999
- "description": "Tenant name to push to",
4000
- "name": "tenant",
4001
- "required": true,
4002
- "hasDynamicHelp": false,
4003
- "multiple": false,
4004
- "type": "option"
4005
- },
4006
- "transaction": {
4007
- "description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
4008
- "name": "transaction",
4009
- "required": false,
4010
- "allowNo": true,
4011
- "type": "boolean"
4012
- },
4013
- "truncate": {
4014
- "description": "Truncate all table records before importing",
4015
- "name": "truncate",
3977
+ "output": {
3978
+ "char": "o",
3979
+ "description": "Output format",
3980
+ "name": "output",
4016
3981
  "required": false,
4017
- "allowNo": false,
4018
- "type": "boolean"
3982
+ "default": "summary",
3983
+ "hasDynamicHelp": false,
3984
+ "multiple": false,
3985
+ "options": [
3986
+ "summary",
3987
+ "json"
3988
+ ],
3989
+ "type": "option"
4019
3990
  },
4020
3991
  "workspace": {
4021
3992
  "char": "w",
4022
- "description": "Workspace ID (optional if set in profile)",
3993
+ "description": "Workspace ID (uses profile workspace if not provided)",
4023
3994
  "name": "workspace",
4024
3995
  "required": false,
4025
3996
  "hasDynamicHelp": false,
@@ -4029,7 +4000,7 @@
4029
4000
  },
4030
4001
  "hasDynamicHelp": false,
4031
4002
  "hiddenAliases": [],
4032
- "id": "tenant:push",
4003
+ "id": "tenant:list",
4033
4004
  "pluginAlias": "@xano/cli",
4034
4005
  "pluginName": "@xano/cli",
4035
4006
  "pluginType": "core",
@@ -4040,7 +4011,7 @@
4040
4011
  "dist",
4041
4012
  "commands",
4042
4013
  "tenant",
4043
- "push",
4014
+ "list",
4044
4015
  "index.js"
4045
4016
  ]
4046
4017
  },
@@ -4211,13 +4182,19 @@
4211
4182
  "index.js"
4212
4183
  ]
4213
4184
  },
4214
- "unit_test:run_all": {
4185
+ "workflow_test:delete": {
4215
4186
  "aliases": [],
4216
- "args": {},
4217
- "description": "Run all unit tests in a workspace",
4187
+ "args": {
4188
+ "workflow_test_id": {
4189
+ "description": "ID of the workflow test to delete",
4190
+ "name": "workflow_test_id",
4191
+ "required": true
4192
+ }
4193
+ },
4194
+ "description": "Delete a workflow test",
4218
4195
  "examples": [
4219
- "$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
4220
- "$ xano unit-test run-all --obj-type function -o json"
4196
+ "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
4197
+ "$ xano workflow-test delete 1 --force"
4221
4198
  ],
4222
4199
  "flags": {
4223
4200
  "profile": {
@@ -4239,27 +4216,13 @@
4239
4216
  "allowNo": false,
4240
4217
  "type": "boolean"
4241
4218
  },
4242
- "branch": {
4243
- "char": "b",
4244
- "description": "Filter by branch name",
4245
- "name": "branch",
4246
- "required": false,
4247
- "hasDynamicHelp": false,
4248
- "multiple": false,
4249
- "type": "option"
4250
- },
4251
- "obj-type": {
4252
- "description": "Filter by object type",
4253
- "name": "obj-type",
4219
+ "force": {
4220
+ "char": "f",
4221
+ "description": "Skip confirmation prompt",
4222
+ "name": "force",
4254
4223
  "required": false,
4255
- "hasDynamicHelp": false,
4256
- "multiple": false,
4257
- "options": [
4258
- "function",
4259
- "query",
4260
- "middleware"
4261
- ],
4262
- "type": "option"
4224
+ "allowNo": false,
4225
+ "type": "boolean"
4263
4226
  },
4264
4227
  "output": {
4265
4228
  "char": "o",
@@ -4287,7 +4250,7 @@
4287
4250
  },
4288
4251
  "hasDynamicHelp": false,
4289
4252
  "hiddenAliases": [],
4290
- "id": "unit_test:run_all",
4253
+ "id": "workflow_test:delete",
4291
4254
  "pluginAlias": "@xano/cli",
4292
4255
  "pluginName": "@xano/cli",
4293
4256
  "pluginType": "core",
@@ -4297,24 +4260,18 @@
4297
4260
  "relativePath": [
4298
4261
  "dist",
4299
4262
  "commands",
4300
- "unit_test",
4301
- "run_all",
4263
+ "workflow_test",
4264
+ "delete",
4302
4265
  "index.js"
4303
4266
  ]
4304
4267
  },
4305
- "workflow_test:delete": {
4268
+ "unit_test:run_all": {
4306
4269
  "aliases": [],
4307
- "args": {
4308
- "workflow_test_id": {
4309
- "description": "ID of the workflow test to delete",
4310
- "name": "workflow_test_id",
4311
- "required": true
4312
- }
4313
- },
4314
- "description": "Delete a workflow test",
4270
+ "args": {},
4271
+ "description": "Run all unit tests in a workspace",
4315
4272
  "examples": [
4316
- "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
4317
- "$ xano workflow-test delete 1 --force"
4273
+ "$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
4274
+ "$ xano unit-test run-all --obj-type function -o json"
4318
4275
  ],
4319
4276
  "flags": {
4320
4277
  "profile": {
@@ -4336,13 +4293,27 @@
4336
4293
  "allowNo": false,
4337
4294
  "type": "boolean"
4338
4295
  },
4339
- "force": {
4340
- "char": "f",
4341
- "description": "Skip confirmation prompt",
4342
- "name": "force",
4296
+ "branch": {
4297
+ "char": "b",
4298
+ "description": "Filter by branch name",
4299
+ "name": "branch",
4343
4300
  "required": false,
4344
- "allowNo": false,
4345
- "type": "boolean"
4301
+ "hasDynamicHelp": false,
4302
+ "multiple": false,
4303
+ "type": "option"
4304
+ },
4305
+ "obj-type": {
4306
+ "description": "Filter by object type",
4307
+ "name": "obj-type",
4308
+ "required": false,
4309
+ "hasDynamicHelp": false,
4310
+ "multiple": false,
4311
+ "options": [
4312
+ "function",
4313
+ "query",
4314
+ "middleware"
4315
+ ],
4316
+ "type": "option"
4346
4317
  },
4347
4318
  "output": {
4348
4319
  "char": "o",
@@ -4370,7 +4341,7 @@
4370
4341
  },
4371
4342
  "hasDynamicHelp": false,
4372
4343
  "hiddenAliases": [],
4373
- "id": "workflow_test:delete",
4344
+ "id": "unit_test:run_all",
4374
4345
  "pluginAlias": "@xano/cli",
4375
4346
  "pluginName": "@xano/cli",
4376
4347
  "pluginType": "core",
@@ -4380,8 +4351,8 @@
4380
4351
  "relativePath": [
4381
4352
  "dist",
4382
4353
  "commands",
4383
- "workflow_test",
4384
- "delete",
4354
+ "unit_test",
4355
+ "run_all",
4385
4356
  "index.js"
4386
4357
  ]
4387
4358
  },
@@ -4548,19 +4519,19 @@
4548
4519
  "index.js"
4549
4520
  ]
4550
4521
  },
4551
- "sandbox:pull": {
4522
+ "workflow_test:run": {
4552
4523
  "aliases": [],
4553
4524
  "args": {
4554
- "directory": {
4555
- "description": "Output directory for pulled documents",
4556
- "name": "directory",
4525
+ "workflow_test_id": {
4526
+ "description": "ID of the workflow test to run",
4527
+ "name": "workflow_test_id",
4557
4528
  "required": true
4558
4529
  }
4559
4530
  },
4560
- "description": "Pull documents from your sandbox environment and split into individual files",
4531
+ "description": "Run a workflow test",
4561
4532
  "examples": [
4562
- "$ xano sandbox pull ./my-sandbox\nPulled 42 documents from sandbox environment to ./my-sandbox\n",
4563
- "$ xano sandbox pull ./backup --env --records"
4533
+ "$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
4534
+ "$ xano workflow-test run 1 -o json"
4564
4535
  ],
4565
4536
  "flags": {
4566
4537
  "profile": {
@@ -4582,31 +4553,33 @@
4582
4553
  "allowNo": false,
4583
4554
  "type": "boolean"
4584
4555
  },
4585
- "draft": {
4586
- "description": "Include draft versions",
4587
- "name": "draft",
4588
- "required": false,
4589
- "allowNo": false,
4590
- "type": "boolean"
4591
- },
4592
- "env": {
4593
- "description": "Include environment variables",
4594
- "name": "env",
4556
+ "output": {
4557
+ "char": "o",
4558
+ "description": "Output format",
4559
+ "name": "output",
4595
4560
  "required": false,
4596
- "allowNo": false,
4597
- "type": "boolean"
4561
+ "default": "summary",
4562
+ "hasDynamicHelp": false,
4563
+ "multiple": false,
4564
+ "options": [
4565
+ "summary",
4566
+ "json"
4567
+ ],
4568
+ "type": "option"
4598
4569
  },
4599
- "records": {
4600
- "description": "Include records",
4601
- "name": "records",
4570
+ "workspace": {
4571
+ "char": "w",
4572
+ "description": "Workspace ID (uses profile workspace if not provided)",
4573
+ "name": "workspace",
4602
4574
  "required": false,
4603
- "allowNo": false,
4604
- "type": "boolean"
4575
+ "hasDynamicHelp": false,
4576
+ "multiple": false,
4577
+ "type": "option"
4605
4578
  }
4606
4579
  },
4607
4580
  "hasDynamicHelp": false,
4608
4581
  "hiddenAliases": [],
4609
- "id": "sandbox:pull",
4582
+ "id": "workflow_test:run",
4610
4583
  "pluginAlias": "@xano/cli",
4611
4584
  "pluginName": "@xano/cli",
4612
4585
  "pluginType": "core",
@@ -4616,24 +4589,18 @@
4616
4589
  "relativePath": [
4617
4590
  "dist",
4618
4591
  "commands",
4619
- "sandbox",
4620
- "pull",
4592
+ "workflow_test",
4593
+ "run",
4621
4594
  "index.js"
4622
4595
  ]
4623
4596
  },
4624
- "workflow_test:run": {
4597
+ "workflow_test:run_all": {
4625
4598
  "aliases": [],
4626
- "args": {
4627
- "workflow_test_id": {
4628
- "description": "ID of the workflow test to run",
4629
- "name": "workflow_test_id",
4630
- "required": true
4631
- }
4632
- },
4633
- "description": "Run a workflow test",
4599
+ "args": {},
4600
+ "description": "Run all workflow tests in a workspace",
4634
4601
  "examples": [
4635
- "$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
4636
- "$ xano workflow-test run 1 -o json"
4602
+ "$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
4603
+ "$ xano workflow-test run-all --branch main -o json"
4637
4604
  ],
4638
4605
  "flags": {
4639
4606
  "profile": {
@@ -4655,6 +4622,15 @@
4655
4622
  "allowNo": false,
4656
4623
  "type": "boolean"
4657
4624
  },
4625
+ "branch": {
4626
+ "char": "b",
4627
+ "description": "Filter by branch name",
4628
+ "name": "branch",
4629
+ "required": false,
4630
+ "hasDynamicHelp": false,
4631
+ "multiple": false,
4632
+ "type": "option"
4633
+ },
4658
4634
  "output": {
4659
4635
  "char": "o",
4660
4636
  "description": "Output format",
@@ -4681,7 +4657,7 @@
4681
4657
  },
4682
4658
  "hasDynamicHelp": false,
4683
4659
  "hiddenAliases": [],
4684
- "id": "workflow_test:run",
4660
+ "id": "workflow_test:run_all",
4685
4661
  "pluginAlias": "@xano/cli",
4686
4662
  "pluginName": "@xano/cli",
4687
4663
  "pluginType": "core",
@@ -4692,17 +4668,46 @@
4692
4668
  "dist",
4693
4669
  "commands",
4694
4670
  "workflow_test",
4695
- "run",
4671
+ "run_all",
4696
4672
  "index.js"
4697
4673
  ]
4698
4674
  },
4699
- "workflow_test:run_all": {
4675
+ "tenant:push": {
4700
4676
  "aliases": [],
4701
4677
  "args": {},
4702
- "description": "Run all workflow tests in a workspace",
4678
+ "description": "Direct tenant push is not supported. Deploy through a release or use the sandbox (xano sandbox push).",
4679
+ "flags": {},
4680
+ "hasDynamicHelp": false,
4681
+ "hiddenAliases": [],
4682
+ "id": "tenant:push",
4683
+ "pluginAlias": "@xano/cli",
4684
+ "pluginName": "@xano/cli",
4685
+ "pluginType": "core",
4686
+ "strict": true,
4687
+ "enableJsonFlag": false,
4688
+ "isESM": true,
4689
+ "relativePath": [
4690
+ "dist",
4691
+ "commands",
4692
+ "tenant",
4693
+ "push",
4694
+ "index.js"
4695
+ ]
4696
+ },
4697
+ "workspace:create": {
4698
+ "aliases": [],
4699
+ "args": {
4700
+ "name": {
4701
+ "description": "Name of the workspace",
4702
+ "name": "name",
4703
+ "required": true
4704
+ }
4705
+ },
4706
+ "description": "Create a new workspace via the Xano Metadata API",
4703
4707
  "examples": [
4704
- "$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
4705
- "$ xano workflow-test run-all --branch main -o json"
4708
+ "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
4709
+ "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
4710
+ "$ 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"
4706
4711
  ],
4707
4712
  "flags": {
4708
4713
  "profile": {
@@ -4724,10 +4729,10 @@
4724
4729
  "allowNo": false,
4725
4730
  "type": "boolean"
4726
4731
  },
4727
- "branch": {
4728
- "char": "b",
4729
- "description": "Filter by branch name",
4730
- "name": "branch",
4732
+ "description": {
4733
+ "char": "d",
4734
+ "description": "Description for the workspace",
4735
+ "name": "description",
4731
4736
  "required": false,
4732
4737
  "hasDynamicHelp": false,
4733
4738
  "multiple": false,
@@ -4746,20 +4751,11 @@
4746
4751
  "json"
4747
4752
  ],
4748
4753
  "type": "option"
4749
- },
4750
- "workspace": {
4751
- "char": "w",
4752
- "description": "Workspace ID (uses profile workspace if not provided)",
4753
- "name": "workspace",
4754
- "required": false,
4755
- "hasDynamicHelp": false,
4756
- "multiple": false,
4757
- "type": "option"
4758
4754
  }
4759
4755
  },
4760
4756
  "hasDynamicHelp": false,
4761
4757
  "hiddenAliases": [],
4762
- "id": "workflow_test:run_all",
4758
+ "id": "workspace:create",
4763
4759
  "pluginAlias": "@xano/cli",
4764
4760
  "pluginName": "@xano/cli",
4765
4761
  "pluginType": "core",
@@ -4769,25 +4765,25 @@
4769
4765
  "relativePath": [
4770
4766
  "dist",
4771
4767
  "commands",
4772
- "workflow_test",
4773
- "run_all",
4768
+ "workspace",
4769
+ "create",
4774
4770
  "index.js"
4775
4771
  ]
4776
4772
  },
4777
- "workspace:create": {
4773
+ "workspace:delete": {
4778
4774
  "aliases": [],
4779
4775
  "args": {
4780
- "name": {
4781
- "description": "Name of the workspace",
4782
- "name": "name",
4776
+ "workspace_id": {
4777
+ "description": "Workspace ID to delete",
4778
+ "name": "workspace_id",
4783
4779
  "required": true
4784
4780
  }
4785
4781
  },
4786
- "description": "Create a new workspace via the Xano Metadata API",
4782
+ "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
4787
4783
  "examples": [
4788
- "$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
4789
- "$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
4790
- "$ 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"
4784
+ "$ 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",
4785
+ "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
4786
+ "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
4791
4787
  ],
4792
4788
  "flags": {
4793
4789
  "profile": {
@@ -4809,14 +4805,13 @@
4809
4805
  "allowNo": false,
4810
4806
  "type": "boolean"
4811
4807
  },
4812
- "description": {
4813
- "char": "d",
4814
- "description": "Description for the workspace",
4815
- "name": "description",
4808
+ "force": {
4809
+ "char": "f",
4810
+ "description": "Skip confirmation prompt",
4811
+ "name": "force",
4816
4812
  "required": false,
4817
- "hasDynamicHelp": false,
4818
- "multiple": false,
4819
- "type": "option"
4813
+ "allowNo": false,
4814
+ "type": "boolean"
4820
4815
  },
4821
4816
  "output": {
4822
4817
  "char": "o",
@@ -4835,7 +4830,7 @@
4835
4830
  },
4836
4831
  "hasDynamicHelp": false,
4837
4832
  "hiddenAliases": [],
4838
- "id": "workspace:create",
4833
+ "id": "workspace:delete",
4839
4834
  "pluginAlias": "@xano/cli",
4840
4835
  "pluginName": "@xano/cli",
4841
4836
  "pluginType": "core",
@@ -4846,7 +4841,7 @@
4846
4841
  "dist",
4847
4842
  "commands",
4848
4843
  "workspace",
4849
- "create",
4844
+ "delete",
4850
4845
  "index.js"
4851
4846
  ]
4852
4847
  },
@@ -4957,73 +4952,6 @@
4957
4952
  "index.js"
4958
4953
  ]
4959
4954
  },
4960
- "workspace:get": {
4961
- "aliases": [],
4962
- "args": {
4963
- "workspace_id": {
4964
- "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4965
- "name": "workspace_id",
4966
- "required": false
4967
- }
4968
- },
4969
- "description": "Get details of a specific workspace from the Xano Metadata API",
4970
- "examples": [
4971
- "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
4972
- "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
4973
- "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4974
- ],
4975
- "flags": {
4976
- "profile": {
4977
- "char": "p",
4978
- "description": "Profile to use (uses default profile if not specified)",
4979
- "env": "XANO_PROFILE",
4980
- "name": "profile",
4981
- "required": false,
4982
- "hasDynamicHelp": false,
4983
- "multiple": false,
4984
- "type": "option"
4985
- },
4986
- "verbose": {
4987
- "char": "v",
4988
- "description": "Show detailed request/response information",
4989
- "env": "XANO_VERBOSE",
4990
- "name": "verbose",
4991
- "required": false,
4992
- "allowNo": false,
4993
- "type": "boolean"
4994
- },
4995
- "output": {
4996
- "char": "o",
4997
- "description": "Output format",
4998
- "name": "output",
4999
- "required": false,
5000
- "default": "summary",
5001
- "hasDynamicHelp": false,
5002
- "multiple": false,
5003
- "options": [
5004
- "summary",
5005
- "json"
5006
- ],
5007
- "type": "option"
5008
- }
5009
- },
5010
- "hasDynamicHelp": false,
5011
- "hiddenAliases": [],
5012
- "id": "workspace:get",
5013
- "pluginAlias": "@xano/cli",
5014
- "pluginName": "@xano/cli",
5015
- "pluginType": "core",
5016
- "strict": true,
5017
- "enableJsonFlag": false,
5018
- "isESM": true,
5019
- "relativePath": [
5020
- "dist",
5021
- "commands",
5022
- "workspace",
5023
- "get",
5024
- "index.js"
5025
- ]
5026
- },
5027
4955
  "workspace:list": {
5028
4956
  "aliases": [],
5029
4957
  "args": {},
@@ -5476,20 +5404,13 @@
5476
5404
  "index.js"
5477
5405
  ]
5478
5406
  },
5479
- "workspace:delete": {
5407
+ "sandbox:env:get": {
5480
5408
  "aliases": [],
5481
- "args": {
5482
- "workspace_id": {
5483
- "description": "Workspace ID to delete",
5484
- "name": "workspace_id",
5485
- "required": true
5486
- }
5487
- },
5488
- "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
5409
+ "args": {},
5410
+ "description": "Get a single environment variable for a sandbox environment",
5489
5411
  "examples": [
5490
- "$ 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",
5491
- "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
5492
- "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
5412
+ "$ xano sandbox env get --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
5413
+ "$ xano sandbox env get --name DATABASE_URL -o json"
5493
5414
  ],
5494
5415
  "flags": {
5495
5416
  "profile": {
@@ -5511,13 +5432,14 @@
5511
5432
  "allowNo": false,
5512
5433
  "type": "boolean"
5513
5434
  },
5514
- "force": {
5515
- "char": "f",
5516
- "description": "Skip confirmation prompt",
5517
- "name": "force",
5518
- "required": false,
5519
- "allowNo": false,
5520
- "type": "boolean"
5435
+ "name": {
5436
+ "char": "n",
5437
+ "description": "Environment variable name",
5438
+ "name": "name",
5439
+ "required": true,
5440
+ "hasDynamicHelp": false,
5441
+ "multiple": false,
5442
+ "type": "option"
5521
5443
  },
5522
5444
  "output": {
5523
5445
  "char": "o",
@@ -5536,7 +5458,7 @@
5536
5458
  },
5537
5459
  "hasDynamicHelp": false,
5538
5460
  "hiddenAliases": [],
5539
- "id": "workspace:delete",
5461
+ "id": "sandbox:env:get",
5540
5462
  "pluginAlias": "@xano/cli",
5541
5463
  "pluginName": "@xano/cli",
5542
5464
  "pluginType": "core",
@@ -5546,18 +5468,21 @@
5546
5468
  "relativePath": [
5547
5469
  "dist",
5548
5470
  "commands",
5549
- "workspace",
5550
- "delete",
5471
+ "sandbox",
5472
+ "env",
5473
+ "get",
5551
5474
  "index.js"
5552
5475
  ]
5553
5476
  },
5554
- "sandbox:env:get": {
5477
+ "sandbox:env:get_all": {
5555
5478
  "aliases": [],
5556
5479
  "args": {},
5557
- "description": "Get a single environment variable for a sandbox environment",
5480
+ "description": "Get all environment variables for a sandbox environment and save to a YAML file",
5558
5481
  "examples": [
5559
- "$ xano sandbox env get --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
5560
- "$ xano sandbox env get --name DATABASE_URL -o json"
5482
+ "$ xano sandbox env get_all\nEnvironment variables saved to env_<tenant>.yaml\n",
5483
+ "$ xano sandbox env get_all --file ./my-env.yaml",
5484
+ "$ xano sandbox env get_all --view",
5485
+ "$ xano sandbox env get_all -o json"
5561
5486
  ],
5562
5487
  "flags": {
5563
5488
  "profile": {
@@ -5579,11 +5504,11 @@
5579
5504
  "allowNo": false,
5580
5505
  "type": "boolean"
5581
5506
  },
5582
- "name": {
5583
- "char": "n",
5584
- "description": "Environment variable name",
5585
- "name": "name",
5586
- "required": true,
5507
+ "file": {
5508
+ "char": "f",
5509
+ "description": "Output file path (default: env_<sandbox_name>.yaml)",
5510
+ "name": "file",
5511
+ "required": false,
5587
5512
  "hasDynamicHelp": false,
5588
5513
  "multiple": false,
5589
5514
  "type": "option"
@@ -5601,11 +5526,18 @@
5601
5526
  "json"
5602
5527
  ],
5603
5528
  "type": "option"
5529
+ },
5530
+ "view": {
5531
+ "description": "Print environment variables to stdout instead of saving to file",
5532
+ "name": "view",
5533
+ "required": false,
5534
+ "allowNo": false,
5535
+ "type": "boolean"
5604
5536
  }
5605
5537
  },
5606
5538
  "hasDynamicHelp": false,
5607
5539
  "hiddenAliases": [],
5608
- "id": "sandbox:env:get",
5540
+ "id": "sandbox:env:get_all",
5609
5541
  "pluginAlias": "@xano/cli",
5610
5542
  "pluginName": "@xano/cli",
5611
5543
  "pluginType": "core",
@@ -5617,19 +5549,24 @@
5617
5549
  "commands",
5618
5550
  "sandbox",
5619
5551
  "env",
5620
- "get",
5552
+ "get_all",
5621
5553
  "index.js"
5622
5554
  ]
5623
5555
  },
5624
- "sandbox:env:get_all": {
5556
+ "workspace:get": {
5625
5557
  "aliases": [],
5626
- "args": {},
5627
- "description": "Get all environment variables for a sandbox environment and save to a YAML file",
5558
+ "args": {
5559
+ "workspace_id": {
5560
+ "description": "Workspace ID to get details for (uses profile workspace if not provided)",
5561
+ "name": "workspace_id",
5562
+ "required": false
5563
+ }
5564
+ },
5565
+ "description": "Get details of a specific workspace from the Xano Metadata API",
5628
5566
  "examples": [
5629
- "$ xano sandbox env get_all\nEnvironment variables saved to env_<tenant>.yaml\n",
5630
- "$ xano sandbox env get_all --file ./my-env.yaml",
5631
- "$ xano sandbox env get_all --view",
5632
- "$ xano sandbox env get_all -o json"
5567
+ "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
5568
+ "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
5569
+ "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
5633
5570
  ],
5634
5571
  "flags": {
5635
5572
  "profile": {
@@ -5651,15 +5588,6 @@
5651
5588
  "allowNo": false,
5652
5589
  "type": "boolean"
5653
5590
  },
5654
- "file": {
5655
- "char": "f",
5656
- "description": "Output file path (default: env_<sandbox_name>.yaml)",
5657
- "name": "file",
5658
- "required": false,
5659
- "hasDynamicHelp": false,
5660
- "multiple": false,
5661
- "type": "option"
5662
- },
5663
5591
  "output": {
5664
5592
  "char": "o",
5665
5593
  "description": "Output format",
@@ -5673,18 +5601,11 @@
5673
5601
  "json"
5674
5602
  ],
5675
5603
  "type": "option"
5676
- },
5677
- "view": {
5678
- "description": "Print environment variables to stdout instead of saving to file",
5679
- "name": "view",
5680
- "required": false,
5681
- "allowNo": false,
5682
- "type": "boolean"
5683
5604
  }
5684
5605
  },
5685
5606
  "hasDynamicHelp": false,
5686
5607
  "hiddenAliases": [],
5687
- "id": "sandbox:env:get_all",
5608
+ "id": "workspace:get",
5688
5609
  "pluginAlias": "@xano/cli",
5689
5610
  "pluginName": "@xano/cli",
5690
5611
  "pluginType": "core",
@@ -5694,9 +5615,8 @@
5694
5615
  "relativePath": [
5695
5616
  "dist",
5696
5617
  "commands",
5697
- "sandbox",
5698
- "env",
5699
- "get_all",
5618
+ "workspace",
5619
+ "get",
5700
5620
  "index.js"
5701
5621
  ]
5702
5622
  },
@@ -6396,13 +6316,19 @@
6396
6316
  "index.js"
6397
6317
  ]
6398
6318
  },
6399
- "sandbox:workflow_test:run_all": {
6319
+ "sandbox:workflow_test:run": {
6400
6320
  "aliases": [],
6401
- "args": {},
6402
- "description": "Run all workflow tests for a sandbox environment",
6321
+ "args": {
6322
+ "workflow_test_id": {
6323
+ "description": "ID of the workflow test to run",
6324
+ "name": "workflow_test_id",
6325
+ "required": true
6326
+ }
6327
+ },
6328
+ "description": "Run a workflow test for a sandbox environment",
6403
6329
  "examples": [
6404
- "$ 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",
6405
- "$ xano sandbox workflow-test run-all -o json"
6330
+ "$ xano sandbox workflow-test run 42\nRunning workflow test 42...\nResult: PASS (0.25s)\n",
6331
+ "$ xano sandbox workflow-test run 42 -o json"
6406
6332
  ],
6407
6333
  "flags": {
6408
6334
  "profile": {
@@ -6424,15 +6350,6 @@
6424
6350
  "allowNo": false,
6425
6351
  "type": "boolean"
6426
6352
  },
6427
- "branch": {
6428
- "char": "b",
6429
- "description": "Filter by branch name",
6430
- "name": "branch",
6431
- "required": false,
6432
- "hasDynamicHelp": false,
6433
- "multiple": false,
6434
- "type": "option"
6435
- },
6436
6353
  "output": {
6437
6354
  "char": "o",
6438
6355
  "description": "Output format",
@@ -6450,7 +6367,7 @@
6450
6367
  },
6451
6368
  "hasDynamicHelp": false,
6452
6369
  "hiddenAliases": [],
6453
- "id": "sandbox:workflow_test:run_all",
6370
+ "id": "sandbox:workflow_test:run",
6454
6371
  "pluginAlias": "@xano/cli",
6455
6372
  "pluginName": "@xano/cli",
6456
6373
  "pluginType": "core",
@@ -6462,23 +6379,17 @@
6462
6379
  "commands",
6463
6380
  "sandbox",
6464
6381
  "workflow_test",
6465
- "run_all",
6382
+ "run",
6466
6383
  "index.js"
6467
6384
  ]
6468
6385
  },
6469
- "sandbox:workflow_test:run": {
6386
+ "sandbox:workflow_test:run_all": {
6470
6387
  "aliases": [],
6471
- "args": {
6472
- "workflow_test_id": {
6473
- "description": "ID of the workflow test to run",
6474
- "name": "workflow_test_id",
6475
- "required": true
6476
- }
6477
- },
6478
- "description": "Run a workflow test for a sandbox environment",
6479
- "examples": [
6480
- "$ xano sandbox workflow-test run 42\nRunning workflow test 42...\nResult: PASS (0.25s)\n",
6481
- "$ xano sandbox workflow-test run 42 -o json"
6388
+ "args": {},
6389
+ "description": "Run all workflow tests for a sandbox environment",
6390
+ "examples": [
6391
+ "$ 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",
6392
+ "$ xano sandbox workflow-test run-all -o json"
6482
6393
  ],
6483
6394
  "flags": {
6484
6395
  "profile": {
@@ -6500,6 +6411,15 @@
6500
6411
  "allowNo": false,
6501
6412
  "type": "boolean"
6502
6413
  },
6414
+ "branch": {
6415
+ "char": "b",
6416
+ "description": "Filter by branch name",
6417
+ "name": "branch",
6418
+ "required": false,
6419
+ "hasDynamicHelp": false,
6420
+ "multiple": false,
6421
+ "type": "option"
6422
+ },
6503
6423
  "output": {
6504
6424
  "char": "o",
6505
6425
  "description": "Output format",
@@ -6517,7 +6437,7 @@
6517
6437
  },
6518
6438
  "hasDynamicHelp": false,
6519
6439
  "hiddenAliases": [],
6520
- "id": "sandbox:workflow_test:run",
6440
+ "id": "sandbox:workflow_test:run_all",
6521
6441
  "pluginAlias": "@xano/cli",
6522
6442
  "pluginName": "@xano/cli",
6523
6443
  "pluginType": "core",
@@ -6529,24 +6449,30 @@
6529
6449
  "commands",
6530
6450
  "sandbox",
6531
6451
  "workflow_test",
6532
- "run",
6452
+ "run_all",
6533
6453
  "index.js"
6534
6454
  ]
6535
6455
  },
6536
- "static_host:build:create": {
6456
+ "static_host:build:get": {
6537
6457
  "aliases": [],
6538
6458
  "args": {
6459
+ "build_id": {
6460
+ "description": "Build ID",
6461
+ "name": "build_id",
6462
+ "required": true
6463
+ },
6539
6464
  "static_host": {
6540
6465
  "description": "Static Host name",
6541
6466
  "name": "static_host",
6542
6467
  "required": true
6543
6468
  }
6544
6469
  },
6545
- "description": "Create a new build for a static host",
6470
+ "description": "Get details of a specific build for a static host",
6546
6471
  "examples": [
6547
- "$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
6548
- "$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
6549
- "$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
6472
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6473
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6474
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6475
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6550
6476
  ],
6551
6477
  "flags": {
6552
6478
  "profile": {
@@ -6568,33 +6494,6 @@
6568
6494
  "allowNo": false,
6569
6495
  "type": "boolean"
6570
6496
  },
6571
- "description": {
6572
- "char": "d",
6573
- "description": "Build description",
6574
- "name": "description",
6575
- "required": false,
6576
- "hasDynamicHelp": false,
6577
- "multiple": false,
6578
- "type": "option"
6579
- },
6580
- "file": {
6581
- "char": "f",
6582
- "description": "Path to zip file to upload",
6583
- "name": "file",
6584
- "required": true,
6585
- "hasDynamicHelp": false,
6586
- "multiple": false,
6587
- "type": "option"
6588
- },
6589
- "name": {
6590
- "char": "n",
6591
- "description": "Build name",
6592
- "name": "name",
6593
- "required": true,
6594
- "hasDynamicHelp": false,
6595
- "multiple": false,
6596
- "type": "option"
6597
- },
6598
6497
  "output": {
6599
6498
  "char": "o",
6600
6499
  "description": "Output format",
@@ -6621,7 +6520,7 @@
6621
6520
  },
6622
6521
  "hasDynamicHelp": false,
6623
6522
  "hiddenAliases": [],
6624
- "id": "static_host:build:create",
6523
+ "id": "static_host:build:get",
6625
6524
  "pluginAlias": "@xano/cli",
6626
6525
  "pluginName": "@xano/cli",
6627
6526
  "pluginType": "core",
@@ -6633,30 +6532,24 @@
6633
6532
  "commands",
6634
6533
  "static_host",
6635
6534
  "build",
6636
- "create",
6535
+ "get",
6637
6536
  "index.js"
6638
6537
  ]
6639
6538
  },
6640
- "static_host:build:get": {
6539
+ "static_host:build:create": {
6641
6540
  "aliases": [],
6642
6541
  "args": {
6643
- "build_id": {
6644
- "description": "Build ID",
6645
- "name": "build_id",
6646
- "required": true
6647
- },
6648
6542
  "static_host": {
6649
6543
  "description": "Static Host name",
6650
6544
  "name": "static_host",
6651
6545
  "required": true
6652
6546
  }
6653
6547
  },
6654
- "description": "Get details of a specific build for a static host",
6548
+ "description": "Create a new build for a static host",
6655
6549
  "examples": [
6656
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6657
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6658
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6659
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6550
+ "$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
6551
+ "$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
6552
+ "$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
6660
6553
  ],
6661
6554
  "flags": {
6662
6555
  "profile": {
@@ -6678,6 +6571,33 @@
6678
6571
  "allowNo": false,
6679
6572
  "type": "boolean"
6680
6573
  },
6574
+ "description": {
6575
+ "char": "d",
6576
+ "description": "Build description",
6577
+ "name": "description",
6578
+ "required": false,
6579
+ "hasDynamicHelp": false,
6580
+ "multiple": false,
6581
+ "type": "option"
6582
+ },
6583
+ "file": {
6584
+ "char": "f",
6585
+ "description": "Path to zip file to upload",
6586
+ "name": "file",
6587
+ "required": true,
6588
+ "hasDynamicHelp": false,
6589
+ "multiple": false,
6590
+ "type": "option"
6591
+ },
6592
+ "name": {
6593
+ "char": "n",
6594
+ "description": "Build name",
6595
+ "name": "name",
6596
+ "required": true,
6597
+ "hasDynamicHelp": false,
6598
+ "multiple": false,
6599
+ "type": "option"
6600
+ },
6681
6601
  "output": {
6682
6602
  "char": "o",
6683
6603
  "description": "Output format",
@@ -6704,7 +6624,7 @@
6704
6624
  },
6705
6625
  "hasDynamicHelp": false,
6706
6626
  "hiddenAliases": [],
6707
- "id": "static_host:build:get",
6627
+ "id": "static_host:build:create",
6708
6628
  "pluginAlias": "@xano/cli",
6709
6629
  "pluginName": "@xano/cli",
6710
6630
  "pluginType": "core",
@@ -6716,7 +6636,7 @@
6716
6636
  "commands",
6717
6637
  "static_host",
6718
6638
  "build",
6719
- "get",
6639
+ "create",
6720
6640
  "index.js"
6721
6641
  ]
6722
6642
  },
@@ -7558,19 +7478,19 @@
7558
7478
  "index.js"
7559
7479
  ]
7560
7480
  },
7561
- "tenant:cluster:get": {
7481
+ "tenant:cluster:edit": {
7562
7482
  "aliases": [],
7563
7483
  "args": {
7564
7484
  "cluster_id": {
7565
- "description": "Cluster ID to retrieve",
7485
+ "description": "Cluster ID to edit",
7566
7486
  "name": "cluster_id",
7567
7487
  "required": true
7568
7488
  }
7569
7489
  },
7570
- "description": "Get details of a specific tenant cluster",
7490
+ "description": "Update an existing tenant cluster",
7571
7491
  "examples": [
7572
- "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
7573
- "$ xano tenant cluster get 1 -o json"
7492
+ "$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
7493
+ "$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
7574
7494
  ],
7575
7495
  "flags": {
7576
7496
  "profile": {
@@ -7592,6 +7512,32 @@
7592
7512
  "allowNo": false,
7593
7513
  "type": "boolean"
7594
7514
  },
7515
+ "description": {
7516
+ "char": "d",
7517
+ "description": "Cluster description",
7518
+ "name": "description",
7519
+ "required": true,
7520
+ "hasDynamicHelp": false,
7521
+ "multiple": false,
7522
+ "type": "option"
7523
+ },
7524
+ "domain": {
7525
+ "description": "Custom domain for the cluster",
7526
+ "name": "domain",
7527
+ "required": true,
7528
+ "hasDynamicHelp": false,
7529
+ "multiple": false,
7530
+ "type": "option"
7531
+ },
7532
+ "name": {
7533
+ "char": "n",
7534
+ "description": "Cluster name",
7535
+ "name": "name",
7536
+ "required": true,
7537
+ "hasDynamicHelp": false,
7538
+ "multiple": false,
7539
+ "type": "option"
7540
+ },
7595
7541
  "output": {
7596
7542
  "char": "o",
7597
7543
  "description": "Output format",
@@ -7605,11 +7551,23 @@
7605
7551
  "json"
7606
7552
  ],
7607
7553
  "type": "option"
7554
+ },
7555
+ "type": {
7556
+ "description": "Cluster type",
7557
+ "name": "type",
7558
+ "required": true,
7559
+ "hasDynamicHelp": false,
7560
+ "multiple": false,
7561
+ "options": [
7562
+ "standard",
7563
+ "run"
7564
+ ],
7565
+ "type": "option"
7608
7566
  }
7609
7567
  },
7610
7568
  "hasDynamicHelp": false,
7611
7569
  "hiddenAliases": [],
7612
- "id": "tenant:cluster:get",
7570
+ "id": "tenant:cluster:edit",
7613
7571
  "pluginAlias": "@xano/cli",
7614
7572
  "pluginName": "@xano/cli",
7615
7573
  "pluginType": "core",
@@ -7621,23 +7579,23 @@
7621
7579
  "commands",
7622
7580
  "tenant",
7623
7581
  "cluster",
7624
- "get",
7582
+ "edit",
7625
7583
  "index.js"
7626
7584
  ]
7627
7585
  },
7628
- "tenant:cluster:edit": {
7586
+ "tenant:cluster:get": {
7629
7587
  "aliases": [],
7630
7588
  "args": {
7631
7589
  "cluster_id": {
7632
- "description": "Cluster ID to edit",
7590
+ "description": "Cluster ID to retrieve",
7633
7591
  "name": "cluster_id",
7634
7592
  "required": true
7635
7593
  }
7636
7594
  },
7637
- "description": "Update an existing tenant cluster",
7595
+ "description": "Get details of a specific tenant cluster",
7638
7596
  "examples": [
7639
- "$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
7640
- "$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
7597
+ "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
7598
+ "$ xano tenant cluster get 1 -o json"
7641
7599
  ],
7642
7600
  "flags": {
7643
7601
  "profile": {
@@ -7659,32 +7617,6 @@
7659
7617
  "allowNo": false,
7660
7618
  "type": "boolean"
7661
7619
  },
7662
- "description": {
7663
- "char": "d",
7664
- "description": "Cluster description",
7665
- "name": "description",
7666
- "required": true,
7667
- "hasDynamicHelp": false,
7668
- "multiple": false,
7669
- "type": "option"
7670
- },
7671
- "domain": {
7672
- "description": "Custom domain for the cluster",
7673
- "name": "domain",
7674
- "required": true,
7675
- "hasDynamicHelp": false,
7676
- "multiple": false,
7677
- "type": "option"
7678
- },
7679
- "name": {
7680
- "char": "n",
7681
- "description": "Cluster name",
7682
- "name": "name",
7683
- "required": true,
7684
- "hasDynamicHelp": false,
7685
- "multiple": false,
7686
- "type": "option"
7687
- },
7688
7620
  "output": {
7689
7621
  "char": "o",
7690
7622
  "description": "Output format",
@@ -7698,23 +7630,11 @@
7698
7630
  "json"
7699
7631
  ],
7700
7632
  "type": "option"
7701
- },
7702
- "type": {
7703
- "description": "Cluster type",
7704
- "name": "type",
7705
- "required": true,
7706
- "hasDynamicHelp": false,
7707
- "multiple": false,
7708
- "options": [
7709
- "standard",
7710
- "run"
7711
- ],
7712
- "type": "option"
7713
7633
  }
7714
7634
  },
7715
7635
  "hasDynamicHelp": false,
7716
7636
  "hiddenAliases": [],
7717
- "id": "tenant:cluster:edit",
7637
+ "id": "tenant:cluster:get",
7718
7638
  "pluginAlias": "@xano/cli",
7719
7639
  "pluginName": "@xano/cli",
7720
7640
  "pluginType": "core",
@@ -7726,7 +7646,7 @@
7726
7646
  "commands",
7727
7647
  "tenant",
7728
7648
  "cluster",
7729
- "edit",
7649
+ "get",
7730
7650
  "index.js"
7731
7651
  ]
7732
7652
  },
@@ -7791,7 +7711,7 @@
7791
7711
  "index.js"
7792
7712
  ]
7793
7713
  },
7794
- "tenant:env:delete": {
7714
+ "tenant:env:get": {
7795
7715
  "aliases": [],
7796
7716
  "args": {
7797
7717
  "tenant_name": {
@@ -7800,11 +7720,10 @@
7800
7720
  "required": true
7801
7721
  }
7802
7722
  },
7803
- "description": "Delete an environment variable from a tenant",
7723
+ "description": "Get a single environment variable for a tenant",
7804
7724
  "examples": [
7805
- "$ 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",
7806
- "$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
7807
- "$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
7725
+ "$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
7726
+ "$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
7808
7727
  ],
7809
7728
  "flags": {
7810
7729
  "profile": {
@@ -7826,14 +7745,6 @@
7826
7745
  "allowNo": false,
7827
7746
  "type": "boolean"
7828
7747
  },
7829
- "force": {
7830
- "char": "f",
7831
- "description": "Skip confirmation prompt",
7832
- "name": "force",
7833
- "required": false,
7834
- "allowNo": false,
7835
- "type": "boolean"
7836
- },
7837
7748
  "name": {
7838
7749
  "char": "n",
7839
7750
  "description": "Environment variable name",
@@ -7869,7 +7780,7 @@
7869
7780
  },
7870
7781
  "hasDynamicHelp": false,
7871
7782
  "hiddenAliases": [],
7872
- "id": "tenant:env:delete",
7783
+ "id": "tenant:env:get",
7873
7784
  "pluginAlias": "@xano/cli",
7874
7785
  "pluginName": "@xano/cli",
7875
7786
  "pluginType": "core",
@@ -7881,11 +7792,11 @@
7881
7792
  "commands",
7882
7793
  "tenant",
7883
7794
  "env",
7884
- "delete",
7795
+ "get",
7885
7796
  "index.js"
7886
7797
  ]
7887
7798
  },
7888
- "tenant:env:get": {
7799
+ "tenant:env:delete": {
7889
7800
  "aliases": [],
7890
7801
  "args": {
7891
7802
  "tenant_name": {
@@ -7894,10 +7805,11 @@
7894
7805
  "required": true
7895
7806
  }
7896
7807
  },
7897
- "description": "Get a single environment variable for a tenant",
7808
+ "description": "Delete an environment variable from a tenant",
7898
7809
  "examples": [
7899
- "$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
7900
- "$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
7810
+ "$ 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",
7811
+ "$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
7812
+ "$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
7901
7813
  ],
7902
7814
  "flags": {
7903
7815
  "profile": {
@@ -7919,6 +7831,14 @@
7919
7831
  "allowNo": false,
7920
7832
  "type": "boolean"
7921
7833
  },
7834
+ "force": {
7835
+ "char": "f",
7836
+ "description": "Skip confirmation prompt",
7837
+ "name": "force",
7838
+ "required": false,
7839
+ "allowNo": false,
7840
+ "type": "boolean"
7841
+ },
7922
7842
  "name": {
7923
7843
  "char": "n",
7924
7844
  "description": "Environment variable name",
@@ -7954,7 +7874,7 @@
7954
7874
  },
7955
7875
  "hasDynamicHelp": false,
7956
7876
  "hiddenAliases": [],
7957
- "id": "tenant:env:get",
7877
+ "id": "tenant:env:delete",
7958
7878
  "pluginAlias": "@xano/cli",
7959
7879
  "pluginName": "@xano/cli",
7960
7880
  "pluginType": "core",
@@ -7966,7 +7886,7 @@
7966
7886
  "commands",
7967
7887
  "tenant",
7968
7888
  "env",
7969
- "get",
7889
+ "delete",
7970
7890
  "index.js"
7971
7891
  ]
7972
7892
  },
@@ -9365,5 +9285,5 @@
9365
9285
  ]
9366
9286
  }
9367
9287
  },
9368
- "version": "0.0.95-beta.20"
9288
+ "version": "0.0.95-beta.21"
9369
9289
  }