@xano/cli 0.0.67 → 0.0.69-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -614,178 +614,6 @@
|
|
|
614
614
|
"index.js"
|
|
615
615
|
]
|
|
616
616
|
},
|
|
617
|
-
"platform:get": {
|
|
618
|
-
"aliases": [],
|
|
619
|
-
"args": {
|
|
620
|
-
"platform_id": {
|
|
621
|
-
"description": "Platform ID to retrieve",
|
|
622
|
-
"name": "platform_id",
|
|
623
|
-
"required": true
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
|
-
"description": "Get details of a specific platform",
|
|
627
|
-
"examples": [
|
|
628
|
-
"$ 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",
|
|
629
|
-
"$ xano platform get 23629 -o json"
|
|
630
|
-
],
|
|
631
|
-
"flags": {
|
|
632
|
-
"profile": {
|
|
633
|
-
"char": "p",
|
|
634
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
635
|
-
"env": "XANO_PROFILE",
|
|
636
|
-
"name": "profile",
|
|
637
|
-
"required": false,
|
|
638
|
-
"hasDynamicHelp": false,
|
|
639
|
-
"multiple": false,
|
|
640
|
-
"type": "option"
|
|
641
|
-
},
|
|
642
|
-
"verbose": {
|
|
643
|
-
"char": "v",
|
|
644
|
-
"description": "Show detailed request/response information",
|
|
645
|
-
"env": "XANO_VERBOSE",
|
|
646
|
-
"name": "verbose",
|
|
647
|
-
"required": false,
|
|
648
|
-
"allowNo": false,
|
|
649
|
-
"type": "boolean"
|
|
650
|
-
},
|
|
651
|
-
"output": {
|
|
652
|
-
"char": "o",
|
|
653
|
-
"description": "Output format",
|
|
654
|
-
"name": "output",
|
|
655
|
-
"required": false,
|
|
656
|
-
"default": "summary",
|
|
657
|
-
"hasDynamicHelp": false,
|
|
658
|
-
"multiple": false,
|
|
659
|
-
"options": [
|
|
660
|
-
"summary",
|
|
661
|
-
"json"
|
|
662
|
-
],
|
|
663
|
-
"type": "option"
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
"hasDynamicHelp": false,
|
|
667
|
-
"hiddenAliases": [],
|
|
668
|
-
"id": "platform:get",
|
|
669
|
-
"pluginAlias": "@xano/cli",
|
|
670
|
-
"pluginName": "@xano/cli",
|
|
671
|
-
"pluginType": "core",
|
|
672
|
-
"strict": true,
|
|
673
|
-
"enableJsonFlag": false,
|
|
674
|
-
"isESM": true,
|
|
675
|
-
"relativePath": [
|
|
676
|
-
"dist",
|
|
677
|
-
"commands",
|
|
678
|
-
"platform",
|
|
679
|
-
"get",
|
|
680
|
-
"index.js"
|
|
681
|
-
]
|
|
682
|
-
},
|
|
683
|
-
"function:create": {
|
|
684
|
-
"aliases": [],
|
|
685
|
-
"args": {},
|
|
686
|
-
"description": "Create a new function in a workspace",
|
|
687
|
-
"examples": [
|
|
688
|
-
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
689
|
-
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
690
|
-
"$ 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",
|
|
691
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
692
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
693
|
-
],
|
|
694
|
-
"flags": {
|
|
695
|
-
"profile": {
|
|
696
|
-
"char": "p",
|
|
697
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
698
|
-
"env": "XANO_PROFILE",
|
|
699
|
-
"name": "profile",
|
|
700
|
-
"required": false,
|
|
701
|
-
"hasDynamicHelp": false,
|
|
702
|
-
"multiple": false,
|
|
703
|
-
"type": "option"
|
|
704
|
-
},
|
|
705
|
-
"verbose": {
|
|
706
|
-
"char": "v",
|
|
707
|
-
"description": "Show detailed request/response information",
|
|
708
|
-
"env": "XANO_VERBOSE",
|
|
709
|
-
"name": "verbose",
|
|
710
|
-
"required": false,
|
|
711
|
-
"allowNo": false,
|
|
712
|
-
"type": "boolean"
|
|
713
|
-
},
|
|
714
|
-
"edit": {
|
|
715
|
-
"char": "e",
|
|
716
|
-
"dependsOn": [
|
|
717
|
-
"file"
|
|
718
|
-
],
|
|
719
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
720
|
-
"name": "edit",
|
|
721
|
-
"required": false,
|
|
722
|
-
"allowNo": false,
|
|
723
|
-
"type": "boolean"
|
|
724
|
-
},
|
|
725
|
-
"file": {
|
|
726
|
-
"char": "f",
|
|
727
|
-
"description": "Path to file containing XanoScript code",
|
|
728
|
-
"exclusive": [
|
|
729
|
-
"stdin"
|
|
730
|
-
],
|
|
731
|
-
"name": "file",
|
|
732
|
-
"required": false,
|
|
733
|
-
"hasDynamicHelp": false,
|
|
734
|
-
"multiple": false,
|
|
735
|
-
"type": "option"
|
|
736
|
-
},
|
|
737
|
-
"output": {
|
|
738
|
-
"char": "o",
|
|
739
|
-
"description": "Output format",
|
|
740
|
-
"name": "output",
|
|
741
|
-
"required": false,
|
|
742
|
-
"default": "summary",
|
|
743
|
-
"hasDynamicHelp": false,
|
|
744
|
-
"multiple": false,
|
|
745
|
-
"options": [
|
|
746
|
-
"summary",
|
|
747
|
-
"json"
|
|
748
|
-
],
|
|
749
|
-
"type": "option"
|
|
750
|
-
},
|
|
751
|
-
"stdin": {
|
|
752
|
-
"char": "s",
|
|
753
|
-
"description": "Read XanoScript code from stdin",
|
|
754
|
-
"exclusive": [
|
|
755
|
-
"file"
|
|
756
|
-
],
|
|
757
|
-
"name": "stdin",
|
|
758
|
-
"required": false,
|
|
759
|
-
"allowNo": false,
|
|
760
|
-
"type": "boolean"
|
|
761
|
-
},
|
|
762
|
-
"workspace": {
|
|
763
|
-
"char": "w",
|
|
764
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
765
|
-
"name": "workspace",
|
|
766
|
-
"required": false,
|
|
767
|
-
"hasDynamicHelp": false,
|
|
768
|
-
"multiple": false,
|
|
769
|
-
"type": "option"
|
|
770
|
-
}
|
|
771
|
-
},
|
|
772
|
-
"hasDynamicHelp": false,
|
|
773
|
-
"hiddenAliases": [],
|
|
774
|
-
"id": "function:create",
|
|
775
|
-
"pluginAlias": "@xano/cli",
|
|
776
|
-
"pluginName": "@xano/cli",
|
|
777
|
-
"pluginType": "core",
|
|
778
|
-
"strict": true,
|
|
779
|
-
"enableJsonFlag": false,
|
|
780
|
-
"isESM": true,
|
|
781
|
-
"relativePath": [
|
|
782
|
-
"dist",
|
|
783
|
-
"commands",
|
|
784
|
-
"function",
|
|
785
|
-
"create",
|
|
786
|
-
"index.js"
|
|
787
|
-
]
|
|
788
|
-
},
|
|
789
617
|
"function:edit": {
|
|
790
618
|
"aliases": [],
|
|
791
619
|
"args": {
|
|
@@ -905,66 +733,6 @@
|
|
|
905
733
|
"index.js"
|
|
906
734
|
]
|
|
907
735
|
},
|
|
908
|
-
"platform:list": {
|
|
909
|
-
"aliases": [],
|
|
910
|
-
"args": {},
|
|
911
|
-
"description": "List all platforms",
|
|
912
|
-
"examples": [
|
|
913
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
914
|
-
"$ xano platform list --output json"
|
|
915
|
-
],
|
|
916
|
-
"flags": {
|
|
917
|
-
"profile": {
|
|
918
|
-
"char": "p",
|
|
919
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
920
|
-
"env": "XANO_PROFILE",
|
|
921
|
-
"name": "profile",
|
|
922
|
-
"required": false,
|
|
923
|
-
"hasDynamicHelp": false,
|
|
924
|
-
"multiple": false,
|
|
925
|
-
"type": "option"
|
|
926
|
-
},
|
|
927
|
-
"verbose": {
|
|
928
|
-
"char": "v",
|
|
929
|
-
"description": "Show detailed request/response information",
|
|
930
|
-
"env": "XANO_VERBOSE",
|
|
931
|
-
"name": "verbose",
|
|
932
|
-
"required": false,
|
|
933
|
-
"allowNo": false,
|
|
934
|
-
"type": "boolean"
|
|
935
|
-
},
|
|
936
|
-
"output": {
|
|
937
|
-
"char": "o",
|
|
938
|
-
"description": "Output format",
|
|
939
|
-
"name": "output",
|
|
940
|
-
"required": false,
|
|
941
|
-
"default": "summary",
|
|
942
|
-
"hasDynamicHelp": false,
|
|
943
|
-
"multiple": false,
|
|
944
|
-
"options": [
|
|
945
|
-
"summary",
|
|
946
|
-
"json"
|
|
947
|
-
],
|
|
948
|
-
"type": "option"
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
"hasDynamicHelp": false,
|
|
952
|
-
"hiddenAliases": [],
|
|
953
|
-
"id": "platform:list",
|
|
954
|
-
"pluginAlias": "@xano/cli",
|
|
955
|
-
"pluginName": "@xano/cli",
|
|
956
|
-
"pluginType": "core",
|
|
957
|
-
"strict": true,
|
|
958
|
-
"enableJsonFlag": false,
|
|
959
|
-
"isESM": true,
|
|
960
|
-
"relativePath": [
|
|
961
|
-
"dist",
|
|
962
|
-
"commands",
|
|
963
|
-
"platform",
|
|
964
|
-
"list",
|
|
965
|
-
"index.js"
|
|
966
|
-
]
|
|
967
|
-
},
|
|
968
736
|
"function:get": {
|
|
969
737
|
"aliases": [],
|
|
970
738
|
"args": {
|
|
@@ -1184,26 +952,248 @@
|
|
|
1184
952
|
"index.js"
|
|
1185
953
|
]
|
|
1186
954
|
},
|
|
1187
|
-
"
|
|
955
|
+
"platform:get": {
|
|
1188
956
|
"aliases": [],
|
|
1189
957
|
"args": {
|
|
1190
|
-
"
|
|
1191
|
-
"description": "
|
|
1192
|
-
"name": "
|
|
958
|
+
"platform_id": {
|
|
959
|
+
"description": "Platform ID to retrieve",
|
|
960
|
+
"name": "platform_id",
|
|
1193
961
|
"required": true
|
|
1194
962
|
}
|
|
1195
963
|
},
|
|
1196
|
-
"description": "
|
|
964
|
+
"description": "Get details of a specific platform",
|
|
1197
965
|
"examples": [
|
|
1198
|
-
"$ xano
|
|
1199
|
-
"$ xano
|
|
1200
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
966
|
+
"$ 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",
|
|
967
|
+
"$ xano platform get 23629 -o json"
|
|
1201
968
|
],
|
|
1202
969
|
"flags": {
|
|
1203
|
-
"
|
|
1204
|
-
"char": "
|
|
1205
|
-
"description": "
|
|
1206
|
-
"
|
|
970
|
+
"profile": {
|
|
971
|
+
"char": "p",
|
|
972
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
973
|
+
"env": "XANO_PROFILE",
|
|
974
|
+
"name": "profile",
|
|
975
|
+
"required": false,
|
|
976
|
+
"hasDynamicHelp": false,
|
|
977
|
+
"multiple": false,
|
|
978
|
+
"type": "option"
|
|
979
|
+
},
|
|
980
|
+
"verbose": {
|
|
981
|
+
"char": "v",
|
|
982
|
+
"description": "Show detailed request/response information",
|
|
983
|
+
"env": "XANO_VERBOSE",
|
|
984
|
+
"name": "verbose",
|
|
985
|
+
"required": false,
|
|
986
|
+
"allowNo": false,
|
|
987
|
+
"type": "boolean"
|
|
988
|
+
},
|
|
989
|
+
"output": {
|
|
990
|
+
"char": "o",
|
|
991
|
+
"description": "Output format",
|
|
992
|
+
"name": "output",
|
|
993
|
+
"required": false,
|
|
994
|
+
"default": "summary",
|
|
995
|
+
"hasDynamicHelp": false,
|
|
996
|
+
"multiple": false,
|
|
997
|
+
"options": [
|
|
998
|
+
"summary",
|
|
999
|
+
"json"
|
|
1000
|
+
],
|
|
1001
|
+
"type": "option"
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"hasDynamicHelp": false,
|
|
1005
|
+
"hiddenAliases": [],
|
|
1006
|
+
"id": "platform:get",
|
|
1007
|
+
"pluginAlias": "@xano/cli",
|
|
1008
|
+
"pluginName": "@xano/cli",
|
|
1009
|
+
"pluginType": "core",
|
|
1010
|
+
"strict": true,
|
|
1011
|
+
"enableJsonFlag": false,
|
|
1012
|
+
"isESM": true,
|
|
1013
|
+
"relativePath": [
|
|
1014
|
+
"dist",
|
|
1015
|
+
"commands",
|
|
1016
|
+
"platform",
|
|
1017
|
+
"get",
|
|
1018
|
+
"index.js"
|
|
1019
|
+
]
|
|
1020
|
+
},
|
|
1021
|
+
"platform:list": {
|
|
1022
|
+
"aliases": [],
|
|
1023
|
+
"args": {},
|
|
1024
|
+
"description": "List all platforms",
|
|
1025
|
+
"examples": [
|
|
1026
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1027
|
+
"$ xano platform list --output json"
|
|
1028
|
+
],
|
|
1029
|
+
"flags": {
|
|
1030
|
+
"profile": {
|
|
1031
|
+
"char": "p",
|
|
1032
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1033
|
+
"env": "XANO_PROFILE",
|
|
1034
|
+
"name": "profile",
|
|
1035
|
+
"required": false,
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"multiple": false,
|
|
1038
|
+
"type": "option"
|
|
1039
|
+
},
|
|
1040
|
+
"verbose": {
|
|
1041
|
+
"char": "v",
|
|
1042
|
+
"description": "Show detailed request/response information",
|
|
1043
|
+
"env": "XANO_VERBOSE",
|
|
1044
|
+
"name": "verbose",
|
|
1045
|
+
"required": false,
|
|
1046
|
+
"allowNo": false,
|
|
1047
|
+
"type": "boolean"
|
|
1048
|
+
},
|
|
1049
|
+
"output": {
|
|
1050
|
+
"char": "o",
|
|
1051
|
+
"description": "Output format",
|
|
1052
|
+
"name": "output",
|
|
1053
|
+
"required": false,
|
|
1054
|
+
"default": "summary",
|
|
1055
|
+
"hasDynamicHelp": false,
|
|
1056
|
+
"multiple": false,
|
|
1057
|
+
"options": [
|
|
1058
|
+
"summary",
|
|
1059
|
+
"json"
|
|
1060
|
+
],
|
|
1061
|
+
"type": "option"
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"hasDynamicHelp": false,
|
|
1065
|
+
"hiddenAliases": [],
|
|
1066
|
+
"id": "platform:list",
|
|
1067
|
+
"pluginAlias": "@xano/cli",
|
|
1068
|
+
"pluginName": "@xano/cli",
|
|
1069
|
+
"pluginType": "core",
|
|
1070
|
+
"strict": true,
|
|
1071
|
+
"enableJsonFlag": false,
|
|
1072
|
+
"isESM": true,
|
|
1073
|
+
"relativePath": [
|
|
1074
|
+
"dist",
|
|
1075
|
+
"commands",
|
|
1076
|
+
"platform",
|
|
1077
|
+
"list",
|
|
1078
|
+
"index.js"
|
|
1079
|
+
]
|
|
1080
|
+
},
|
|
1081
|
+
"profile:create": {
|
|
1082
|
+
"aliases": [],
|
|
1083
|
+
"args": {
|
|
1084
|
+
"name": {
|
|
1085
|
+
"description": "Profile name",
|
|
1086
|
+
"name": "name",
|
|
1087
|
+
"required": true
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
"description": "Create a new profile configuration",
|
|
1091
|
+
"examples": [
|
|
1092
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1093
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1094
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1095
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n",
|
|
1096
|
+
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1097
|
+
],
|
|
1098
|
+
"flags": {
|
|
1099
|
+
"access_token": {
|
|
1100
|
+
"char": "t",
|
|
1101
|
+
"description": "Access token for the Xano Metadata API",
|
|
1102
|
+
"name": "access_token",
|
|
1103
|
+
"required": true,
|
|
1104
|
+
"hasDynamicHelp": false,
|
|
1105
|
+
"multiple": false,
|
|
1106
|
+
"type": "option"
|
|
1107
|
+
},
|
|
1108
|
+
"account_origin": {
|
|
1109
|
+
"char": "a",
|
|
1110
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1111
|
+
"name": "account_origin",
|
|
1112
|
+
"required": false,
|
|
1113
|
+
"hasDynamicHelp": false,
|
|
1114
|
+
"multiple": false,
|
|
1115
|
+
"type": "option"
|
|
1116
|
+
},
|
|
1117
|
+
"branch": {
|
|
1118
|
+
"char": "b",
|
|
1119
|
+
"description": "Branch name",
|
|
1120
|
+
"name": "branch",
|
|
1121
|
+
"required": false,
|
|
1122
|
+
"hasDynamicHelp": false,
|
|
1123
|
+
"multiple": false,
|
|
1124
|
+
"type": "option"
|
|
1125
|
+
},
|
|
1126
|
+
"default": {
|
|
1127
|
+
"description": "Set this profile as the default",
|
|
1128
|
+
"name": "default",
|
|
1129
|
+
"required": false,
|
|
1130
|
+
"allowNo": false,
|
|
1131
|
+
"type": "boolean"
|
|
1132
|
+
},
|
|
1133
|
+
"insecure": {
|
|
1134
|
+
"char": "k",
|
|
1135
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1136
|
+
"name": "insecure",
|
|
1137
|
+
"required": false,
|
|
1138
|
+
"allowNo": false,
|
|
1139
|
+
"type": "boolean"
|
|
1140
|
+
},
|
|
1141
|
+
"instance_origin": {
|
|
1142
|
+
"char": "i",
|
|
1143
|
+
"description": "Instance origin URL",
|
|
1144
|
+
"name": "instance_origin",
|
|
1145
|
+
"required": true,
|
|
1146
|
+
"hasDynamicHelp": false,
|
|
1147
|
+
"multiple": false,
|
|
1148
|
+
"type": "option"
|
|
1149
|
+
},
|
|
1150
|
+
"workspace": {
|
|
1151
|
+
"char": "w",
|
|
1152
|
+
"description": "Workspace name",
|
|
1153
|
+
"name": "workspace",
|
|
1154
|
+
"required": false,
|
|
1155
|
+
"hasDynamicHelp": false,
|
|
1156
|
+
"multiple": false,
|
|
1157
|
+
"type": "option"
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
"hasDynamicHelp": false,
|
|
1161
|
+
"hiddenAliases": [],
|
|
1162
|
+
"id": "profile:create",
|
|
1163
|
+
"pluginAlias": "@xano/cli",
|
|
1164
|
+
"pluginName": "@xano/cli",
|
|
1165
|
+
"pluginType": "core",
|
|
1166
|
+
"strict": true,
|
|
1167
|
+
"enableJsonFlag": false,
|
|
1168
|
+
"isESM": true,
|
|
1169
|
+
"relativePath": [
|
|
1170
|
+
"dist",
|
|
1171
|
+
"commands",
|
|
1172
|
+
"profile",
|
|
1173
|
+
"create",
|
|
1174
|
+
"index.js"
|
|
1175
|
+
]
|
|
1176
|
+
},
|
|
1177
|
+
"profile:delete": {
|
|
1178
|
+
"aliases": [],
|
|
1179
|
+
"args": {
|
|
1180
|
+
"name": {
|
|
1181
|
+
"description": "Profile name to delete",
|
|
1182
|
+
"name": "name",
|
|
1183
|
+
"required": true
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
"description": "Delete a profile configuration",
|
|
1187
|
+
"examples": [
|
|
1188
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1189
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1190
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1191
|
+
],
|
|
1192
|
+
"flags": {
|
|
1193
|
+
"force": {
|
|
1194
|
+
"char": "f",
|
|
1195
|
+
"description": "Skip confirmation prompt",
|
|
1196
|
+
"name": "force",
|
|
1207
1197
|
"required": false,
|
|
1208
1198
|
"allowNo": false,
|
|
1209
1199
|
"type": "boolean"
|
|
@@ -1356,6 +1346,31 @@
|
|
|
1356
1346
|
"index.js"
|
|
1357
1347
|
]
|
|
1358
1348
|
},
|
|
1349
|
+
"profile:get": {
|
|
1350
|
+
"aliases": [],
|
|
1351
|
+
"args": {},
|
|
1352
|
+
"description": "Get the current default profile name",
|
|
1353
|
+
"examples": [
|
|
1354
|
+
"$ xano profile get\nproduction\n"
|
|
1355
|
+
],
|
|
1356
|
+
"flags": {},
|
|
1357
|
+
"hasDynamicHelp": false,
|
|
1358
|
+
"hiddenAliases": [],
|
|
1359
|
+
"id": "profile:get",
|
|
1360
|
+
"pluginAlias": "@xano/cli",
|
|
1361
|
+
"pluginName": "@xano/cli",
|
|
1362
|
+
"pluginType": "core",
|
|
1363
|
+
"strict": true,
|
|
1364
|
+
"enableJsonFlag": false,
|
|
1365
|
+
"isESM": true,
|
|
1366
|
+
"relativePath": [
|
|
1367
|
+
"dist",
|
|
1368
|
+
"commands",
|
|
1369
|
+
"profile",
|
|
1370
|
+
"get",
|
|
1371
|
+
"index.js"
|
|
1372
|
+
]
|
|
1373
|
+
},
|
|
1359
1374
|
"profile:list": {
|
|
1360
1375
|
"aliases": [],
|
|
1361
1376
|
"args": {},
|
|
@@ -1392,6 +1407,37 @@
|
|
|
1392
1407
|
"index.js"
|
|
1393
1408
|
]
|
|
1394
1409
|
},
|
|
1410
|
+
"profile:set": {
|
|
1411
|
+
"aliases": [],
|
|
1412
|
+
"args": {
|
|
1413
|
+
"name": {
|
|
1414
|
+
"description": "Profile name to set as default",
|
|
1415
|
+
"name": "name",
|
|
1416
|
+
"required": true
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
"description": "Set the default profile",
|
|
1420
|
+
"examples": [
|
|
1421
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1422
|
+
],
|
|
1423
|
+
"flags": {},
|
|
1424
|
+
"hasDynamicHelp": false,
|
|
1425
|
+
"hiddenAliases": [],
|
|
1426
|
+
"id": "profile:set",
|
|
1427
|
+
"pluginAlias": "@xano/cli",
|
|
1428
|
+
"pluginName": "@xano/cli",
|
|
1429
|
+
"pluginType": "core",
|
|
1430
|
+
"strict": true,
|
|
1431
|
+
"enableJsonFlag": false,
|
|
1432
|
+
"isESM": true,
|
|
1433
|
+
"relativePath": [
|
|
1434
|
+
"dist",
|
|
1435
|
+
"commands",
|
|
1436
|
+
"profile",
|
|
1437
|
+
"set",
|
|
1438
|
+
"index.js"
|
|
1439
|
+
]
|
|
1440
|
+
},
|
|
1395
1441
|
"profile:me": {
|
|
1396
1442
|
"aliases": [],
|
|
1397
1443
|
"args": {},
|
|
@@ -1453,37 +1499,6 @@
|
|
|
1453
1499
|
"index.js"
|
|
1454
1500
|
]
|
|
1455
1501
|
},
|
|
1456
|
-
"profile:set": {
|
|
1457
|
-
"aliases": [],
|
|
1458
|
-
"args": {
|
|
1459
|
-
"name": {
|
|
1460
|
-
"description": "Profile name to set as default",
|
|
1461
|
-
"name": "name",
|
|
1462
|
-
"required": true
|
|
1463
|
-
}
|
|
1464
|
-
},
|
|
1465
|
-
"description": "Set the default profile",
|
|
1466
|
-
"examples": [
|
|
1467
|
-
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1468
|
-
],
|
|
1469
|
-
"flags": {},
|
|
1470
|
-
"hasDynamicHelp": false,
|
|
1471
|
-
"hiddenAliases": [],
|
|
1472
|
-
"id": "profile:set",
|
|
1473
|
-
"pluginAlias": "@xano/cli",
|
|
1474
|
-
"pluginName": "@xano/cli",
|
|
1475
|
-
"pluginType": "core",
|
|
1476
|
-
"strict": true,
|
|
1477
|
-
"enableJsonFlag": false,
|
|
1478
|
-
"isESM": true,
|
|
1479
|
-
"relativePath": [
|
|
1480
|
-
"dist",
|
|
1481
|
-
"commands",
|
|
1482
|
-
"profile",
|
|
1483
|
-
"set",
|
|
1484
|
-
"index.js"
|
|
1485
|
-
]
|
|
1486
|
-
},
|
|
1487
1502
|
"profile:token": {
|
|
1488
1503
|
"aliases": [],
|
|
1489
1504
|
"args": {},
|
|
@@ -1556,120 +1571,25 @@
|
|
|
1556
1571
|
"enableJsonFlag": false,
|
|
1557
1572
|
"isESM": true,
|
|
1558
1573
|
"relativePath": [
|
|
1559
|
-
"dist",
|
|
1560
|
-
"commands",
|
|
1561
|
-
"profile",
|
|
1562
|
-
"wizard",
|
|
1563
|
-
"index.js"
|
|
1564
|
-
]
|
|
1565
|
-
},
|
|
1566
|
-
"profile:
|
|
1567
|
-
"aliases": [],
|
|
1568
|
-
"args": {},
|
|
1569
|
-
"description": "
|
|
1570
|
-
"examples": [
|
|
1571
|
-
"$ xano profile
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
"
|
|
1575
|
-
"hiddenAliases": [],
|
|
1576
|
-
"id": "profile:get",
|
|
1577
|
-
"pluginAlias": "@xano/cli",
|
|
1578
|
-
"pluginName": "@xano/cli",
|
|
1579
|
-
"pluginType": "core",
|
|
1580
|
-
"strict": true,
|
|
1581
|
-
"enableJsonFlag": false,
|
|
1582
|
-
"isESM": true,
|
|
1583
|
-
"relativePath": [
|
|
1584
|
-
"dist",
|
|
1585
|
-
"commands",
|
|
1586
|
-
"profile",
|
|
1587
|
-
"get",
|
|
1588
|
-
"index.js"
|
|
1589
|
-
]
|
|
1590
|
-
},
|
|
1591
|
-
"profile:create": {
|
|
1592
|
-
"aliases": [],
|
|
1593
|
-
"args": {
|
|
1594
|
-
"name": {
|
|
1595
|
-
"description": "Profile name",
|
|
1596
|
-
"name": "name",
|
|
1597
|
-
"required": true
|
|
1598
|
-
}
|
|
1599
|
-
},
|
|
1600
|
-
"description": "Create a new profile configuration",
|
|
1601
|
-
"examples": [
|
|
1602
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1603
|
-
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1604
|
-
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1605
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n",
|
|
1606
|
-
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1607
|
-
],
|
|
1608
|
-
"flags": {
|
|
1609
|
-
"access_token": {
|
|
1610
|
-
"char": "t",
|
|
1611
|
-
"description": "Access token for the Xano Metadata API",
|
|
1612
|
-
"name": "access_token",
|
|
1613
|
-
"required": true,
|
|
1614
|
-
"hasDynamicHelp": false,
|
|
1615
|
-
"multiple": false,
|
|
1616
|
-
"type": "option"
|
|
1617
|
-
},
|
|
1618
|
-
"account_origin": {
|
|
1619
|
-
"char": "a",
|
|
1620
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1621
|
-
"name": "account_origin",
|
|
1622
|
-
"required": false,
|
|
1623
|
-
"hasDynamicHelp": false,
|
|
1624
|
-
"multiple": false,
|
|
1625
|
-
"type": "option"
|
|
1626
|
-
},
|
|
1627
|
-
"branch": {
|
|
1628
|
-
"char": "b",
|
|
1629
|
-
"description": "Branch name",
|
|
1630
|
-
"name": "branch",
|
|
1631
|
-
"required": false,
|
|
1632
|
-
"hasDynamicHelp": false,
|
|
1633
|
-
"multiple": false,
|
|
1634
|
-
"type": "option"
|
|
1635
|
-
},
|
|
1636
|
-
"default": {
|
|
1637
|
-
"description": "Set this profile as the default",
|
|
1638
|
-
"name": "default",
|
|
1639
|
-
"required": false,
|
|
1640
|
-
"allowNo": false,
|
|
1641
|
-
"type": "boolean"
|
|
1642
|
-
},
|
|
1643
|
-
"insecure": {
|
|
1644
|
-
"char": "k",
|
|
1645
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1646
|
-
"name": "insecure",
|
|
1647
|
-
"required": false,
|
|
1648
|
-
"allowNo": false,
|
|
1649
|
-
"type": "boolean"
|
|
1650
|
-
},
|
|
1651
|
-
"instance_origin": {
|
|
1652
|
-
"char": "i",
|
|
1653
|
-
"description": "Instance origin URL",
|
|
1654
|
-
"name": "instance_origin",
|
|
1655
|
-
"required": true,
|
|
1656
|
-
"hasDynamicHelp": false,
|
|
1657
|
-
"multiple": false,
|
|
1658
|
-
"type": "option"
|
|
1659
|
-
},
|
|
1660
|
-
"workspace": {
|
|
1661
|
-
"char": "w",
|
|
1662
|
-
"description": "Workspace name",
|
|
1663
|
-
"name": "workspace",
|
|
1664
|
-
"required": false,
|
|
1665
|
-
"hasDynamicHelp": false,
|
|
1666
|
-
"multiple": false,
|
|
1667
|
-
"type": "option"
|
|
1668
|
-
}
|
|
1669
|
-
},
|
|
1574
|
+
"dist",
|
|
1575
|
+
"commands",
|
|
1576
|
+
"profile",
|
|
1577
|
+
"wizard",
|
|
1578
|
+
"index.js"
|
|
1579
|
+
]
|
|
1580
|
+
},
|
|
1581
|
+
"profile:workspace": {
|
|
1582
|
+
"aliases": [],
|
|
1583
|
+
"args": {},
|
|
1584
|
+
"description": "Print the workspace ID for the default profile",
|
|
1585
|
+
"examples": [
|
|
1586
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1587
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1588
|
+
],
|
|
1589
|
+
"flags": {},
|
|
1670
1590
|
"hasDynamicHelp": false,
|
|
1671
1591
|
"hiddenAliases": [],
|
|
1672
|
-
"id": "profile:
|
|
1592
|
+
"id": "profile:workspace",
|
|
1673
1593
|
"pluginAlias": "@xano/cli",
|
|
1674
1594
|
"pluginName": "@xano/cli",
|
|
1675
1595
|
"pluginType": "core",
|
|
@@ -1680,7 +1600,7 @@
|
|
|
1680
1600
|
"dist",
|
|
1681
1601
|
"commands",
|
|
1682
1602
|
"profile",
|
|
1683
|
-
"
|
|
1603
|
+
"workspace",
|
|
1684
1604
|
"index.js"
|
|
1685
1605
|
]
|
|
1686
1606
|
},
|
|
@@ -1795,32 +1715,6 @@
|
|
|
1795
1715
|
"index.js"
|
|
1796
1716
|
]
|
|
1797
1717
|
},
|
|
1798
|
-
"profile:workspace": {
|
|
1799
|
-
"aliases": [],
|
|
1800
|
-
"args": {},
|
|
1801
|
-
"description": "Print the workspace ID for the default profile",
|
|
1802
|
-
"examples": [
|
|
1803
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1804
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1805
|
-
],
|
|
1806
|
-
"flags": {},
|
|
1807
|
-
"hasDynamicHelp": false,
|
|
1808
|
-
"hiddenAliases": [],
|
|
1809
|
-
"id": "profile:workspace",
|
|
1810
|
-
"pluginAlias": "@xano/cli",
|
|
1811
|
-
"pluginName": "@xano/cli",
|
|
1812
|
-
"pluginType": "core",
|
|
1813
|
-
"strict": true,
|
|
1814
|
-
"enableJsonFlag": false,
|
|
1815
|
-
"isESM": true,
|
|
1816
|
-
"relativePath": [
|
|
1817
|
-
"dist",
|
|
1818
|
-
"commands",
|
|
1819
|
-
"profile",
|
|
1820
|
-
"workspace",
|
|
1821
|
-
"index.js"
|
|
1822
|
-
]
|
|
1823
|
-
},
|
|
1824
1718
|
"release:delete": {
|
|
1825
1719
|
"aliases": [],
|
|
1826
1720
|
"args": {
|
|
@@ -2235,13 +2129,20 @@
|
|
|
2235
2129
|
"index.js"
|
|
2236
2130
|
]
|
|
2237
2131
|
},
|
|
2238
|
-
"release:
|
|
2132
|
+
"release:pull": {
|
|
2239
2133
|
"aliases": [],
|
|
2240
|
-
"args": {
|
|
2241
|
-
|
|
2134
|
+
"args": {
|
|
2135
|
+
"directory": {
|
|
2136
|
+
"description": "Output directory for pulled documents",
|
|
2137
|
+
"name": "directory",
|
|
2138
|
+
"required": true
|
|
2139
|
+
}
|
|
2140
|
+
},
|
|
2141
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2242
2142
|
"examples": [
|
|
2243
|
-
"$ xano release
|
|
2244
|
-
"$ xano release
|
|
2143
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2144
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2145
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2245
2146
|
],
|
|
2246
2147
|
"flags": {
|
|
2247
2148
|
"profile": {
|
|
@@ -2263,23 +2164,32 @@
|
|
|
2263
2164
|
"allowNo": false,
|
|
2264
2165
|
"type": "boolean"
|
|
2265
2166
|
},
|
|
2266
|
-
"
|
|
2267
|
-
"
|
|
2268
|
-
"
|
|
2269
|
-
"name": "output",
|
|
2167
|
+
"env": {
|
|
2168
|
+
"description": "Include environment variables",
|
|
2169
|
+
"name": "env",
|
|
2270
2170
|
"required": false,
|
|
2271
|
-
"
|
|
2171
|
+
"allowNo": false,
|
|
2172
|
+
"type": "boolean"
|
|
2173
|
+
},
|
|
2174
|
+
"records": {
|
|
2175
|
+
"description": "Include records",
|
|
2176
|
+
"name": "records",
|
|
2177
|
+
"required": false,
|
|
2178
|
+
"allowNo": false,
|
|
2179
|
+
"type": "boolean"
|
|
2180
|
+
},
|
|
2181
|
+
"release": {
|
|
2182
|
+
"char": "r",
|
|
2183
|
+
"description": "Release name to pull from",
|
|
2184
|
+
"name": "release",
|
|
2185
|
+
"required": true,
|
|
2272
2186
|
"hasDynamicHelp": false,
|
|
2273
2187
|
"multiple": false,
|
|
2274
|
-
"options": [
|
|
2275
|
-
"summary",
|
|
2276
|
-
"json"
|
|
2277
|
-
],
|
|
2278
2188
|
"type": "option"
|
|
2279
2189
|
},
|
|
2280
2190
|
"workspace": {
|
|
2281
2191
|
"char": "w",
|
|
2282
|
-
"description": "Workspace ID (
|
|
2192
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2283
2193
|
"name": "workspace",
|
|
2284
2194
|
"required": false,
|
|
2285
2195
|
"hasDynamicHelp": false,
|
|
@@ -2289,7 +2199,7 @@
|
|
|
2289
2199
|
},
|
|
2290
2200
|
"hasDynamicHelp": false,
|
|
2291
2201
|
"hiddenAliases": [],
|
|
2292
|
-
"id": "release:
|
|
2202
|
+
"id": "release:pull",
|
|
2293
2203
|
"pluginAlias": "@xano/cli",
|
|
2294
2204
|
"pluginName": "@xano/cli",
|
|
2295
2205
|
"pluginType": "core",
|
|
@@ -2300,24 +2210,17 @@
|
|
|
2300
2210
|
"dist",
|
|
2301
2211
|
"commands",
|
|
2302
2212
|
"release",
|
|
2303
|
-
"
|
|
2213
|
+
"pull",
|
|
2304
2214
|
"index.js"
|
|
2305
2215
|
]
|
|
2306
2216
|
},
|
|
2307
|
-
"release:
|
|
2217
|
+
"release:list": {
|
|
2308
2218
|
"aliases": [],
|
|
2309
|
-
"args": {
|
|
2310
|
-
|
|
2311
|
-
"description": "Output directory for pulled documents",
|
|
2312
|
-
"name": "directory",
|
|
2313
|
-
"required": true
|
|
2314
|
-
}
|
|
2315
|
-
},
|
|
2316
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2219
|
+
"args": {},
|
|
2220
|
+
"description": "List all releases in a workspace",
|
|
2317
2221
|
"examples": [
|
|
2318
|
-
"$ xano release
|
|
2319
|
-
"$ xano release
|
|
2320
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2222
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2223
|
+
"$ xano release list -w 5 --output json"
|
|
2321
2224
|
],
|
|
2322
2225
|
"flags": {
|
|
2323
2226
|
"profile": {
|
|
@@ -2339,32 +2242,23 @@
|
|
|
2339
2242
|
"allowNo": false,
|
|
2340
2243
|
"type": "boolean"
|
|
2341
2244
|
},
|
|
2342
|
-
"
|
|
2343
|
-
"
|
|
2344
|
-
"
|
|
2345
|
-
"
|
|
2346
|
-
"allowNo": false,
|
|
2347
|
-
"type": "boolean"
|
|
2348
|
-
},
|
|
2349
|
-
"records": {
|
|
2350
|
-
"description": "Include records",
|
|
2351
|
-
"name": "records",
|
|
2245
|
+
"output": {
|
|
2246
|
+
"char": "o",
|
|
2247
|
+
"description": "Output format",
|
|
2248
|
+
"name": "output",
|
|
2352
2249
|
"required": false,
|
|
2353
|
-
"
|
|
2354
|
-
"type": "boolean"
|
|
2355
|
-
},
|
|
2356
|
-
"release": {
|
|
2357
|
-
"char": "r",
|
|
2358
|
-
"description": "Release name to pull from",
|
|
2359
|
-
"name": "release",
|
|
2360
|
-
"required": true,
|
|
2250
|
+
"default": "summary",
|
|
2361
2251
|
"hasDynamicHelp": false,
|
|
2362
2252
|
"multiple": false,
|
|
2253
|
+
"options": [
|
|
2254
|
+
"summary",
|
|
2255
|
+
"json"
|
|
2256
|
+
],
|
|
2363
2257
|
"type": "option"
|
|
2364
2258
|
},
|
|
2365
2259
|
"workspace": {
|
|
2366
2260
|
"char": "w",
|
|
2367
|
-
"description": "Workspace ID (
|
|
2261
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2368
2262
|
"name": "workspace",
|
|
2369
2263
|
"required": false,
|
|
2370
2264
|
"hasDynamicHelp": false,
|
|
@@ -2374,7 +2268,7 @@
|
|
|
2374
2268
|
},
|
|
2375
2269
|
"hasDynamicHelp": false,
|
|
2376
2270
|
"hiddenAliases": [],
|
|
2377
|
-
"id": "release:
|
|
2271
|
+
"id": "release:list",
|
|
2378
2272
|
"pluginAlias": "@xano/cli",
|
|
2379
2273
|
"pluginName": "@xano/cli",
|
|
2380
2274
|
"pluginType": "core",
|
|
@@ -2385,7 +2279,7 @@
|
|
|
2385
2279
|
"dist",
|
|
2386
2280
|
"commands",
|
|
2387
2281
|
"release",
|
|
2388
|
-
"
|
|
2282
|
+
"list",
|
|
2389
2283
|
"index.js"
|
|
2390
2284
|
]
|
|
2391
2285
|
},
|
|
@@ -2736,20 +2630,19 @@
|
|
|
2736
2630
|
"index.js"
|
|
2737
2631
|
]
|
|
2738
2632
|
},
|
|
2739
|
-
"tenant:
|
|
2633
|
+
"tenant:deploy_release": {
|
|
2740
2634
|
"aliases": [],
|
|
2741
2635
|
"args": {
|
|
2742
2636
|
"tenant_name": {
|
|
2743
|
-
"description": "Tenant name to
|
|
2637
|
+
"description": "Tenant name to deploy to",
|
|
2744
2638
|
"name": "tenant_name",
|
|
2745
2639
|
"required": true
|
|
2746
2640
|
}
|
|
2747
2641
|
},
|
|
2748
|
-
"description": "
|
|
2642
|
+
"description": "Deploy a release to a tenant",
|
|
2749
2643
|
"examples": [
|
|
2750
|
-
"$ xano tenant
|
|
2751
|
-
"$ xano tenant
|
|
2752
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2644
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2645
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2753
2646
|
],
|
|
2754
2647
|
"flags": {
|
|
2755
2648
|
"profile": {
|
|
@@ -2771,14 +2664,6 @@
|
|
|
2771
2664
|
"allowNo": false,
|
|
2772
2665
|
"type": "boolean"
|
|
2773
2666
|
},
|
|
2774
|
-
"force": {
|
|
2775
|
-
"char": "f",
|
|
2776
|
-
"description": "Skip confirmation prompt",
|
|
2777
|
-
"name": "force",
|
|
2778
|
-
"required": false,
|
|
2779
|
-
"allowNo": false,
|
|
2780
|
-
"type": "boolean"
|
|
2781
|
-
},
|
|
2782
2667
|
"output": {
|
|
2783
2668
|
"char": "o",
|
|
2784
2669
|
"description": "Output format",
|
|
@@ -2793,6 +2678,15 @@
|
|
|
2793
2678
|
],
|
|
2794
2679
|
"type": "option"
|
|
2795
2680
|
},
|
|
2681
|
+
"release": {
|
|
2682
|
+
"char": "r",
|
|
2683
|
+
"description": "Release name to deploy",
|
|
2684
|
+
"name": "release",
|
|
2685
|
+
"required": true,
|
|
2686
|
+
"hasDynamicHelp": false,
|
|
2687
|
+
"multiple": false,
|
|
2688
|
+
"type": "option"
|
|
2689
|
+
},
|
|
2796
2690
|
"workspace": {
|
|
2797
2691
|
"char": "w",
|
|
2798
2692
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2805,7 +2699,7 @@
|
|
|
2805
2699
|
},
|
|
2806
2700
|
"hasDynamicHelp": false,
|
|
2807
2701
|
"hiddenAliases": [],
|
|
2808
|
-
"id": "tenant:
|
|
2702
|
+
"id": "tenant:deploy_release",
|
|
2809
2703
|
"pluginAlias": "@xano/cli",
|
|
2810
2704
|
"pluginName": "@xano/cli",
|
|
2811
2705
|
"pluginType": "core",
|
|
@@ -2816,7 +2710,7 @@
|
|
|
2816
2710
|
"dist",
|
|
2817
2711
|
"commands",
|
|
2818
2712
|
"tenant",
|
|
2819
|
-
"
|
|
2713
|
+
"deploy_release",
|
|
2820
2714
|
"index.js"
|
|
2821
2715
|
]
|
|
2822
2716
|
},
|
|
@@ -2903,19 +2797,100 @@
|
|
|
2903
2797
|
"index.js"
|
|
2904
2798
|
]
|
|
2905
2799
|
},
|
|
2906
|
-
"tenant:
|
|
2800
|
+
"tenant:delete": {
|
|
2907
2801
|
"aliases": [],
|
|
2908
2802
|
"args": {
|
|
2909
2803
|
"tenant_name": {
|
|
2910
|
-
"description": "Tenant name to
|
|
2804
|
+
"description": "Tenant name to delete",
|
|
2911
2805
|
"name": "tenant_name",
|
|
2912
2806
|
"required": true
|
|
2913
2807
|
}
|
|
2914
2808
|
},
|
|
2915
|
-
"description": "
|
|
2809
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2810
|
+
"examples": [
|
|
2811
|
+
"$ 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",
|
|
2812
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2813
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2814
|
+
],
|
|
2815
|
+
"flags": {
|
|
2816
|
+
"profile": {
|
|
2817
|
+
"char": "p",
|
|
2818
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2819
|
+
"env": "XANO_PROFILE",
|
|
2820
|
+
"name": "profile",
|
|
2821
|
+
"required": false,
|
|
2822
|
+
"hasDynamicHelp": false,
|
|
2823
|
+
"multiple": false,
|
|
2824
|
+
"type": "option"
|
|
2825
|
+
},
|
|
2826
|
+
"verbose": {
|
|
2827
|
+
"char": "v",
|
|
2828
|
+
"description": "Show detailed request/response information",
|
|
2829
|
+
"env": "XANO_VERBOSE",
|
|
2830
|
+
"name": "verbose",
|
|
2831
|
+
"required": false,
|
|
2832
|
+
"allowNo": false,
|
|
2833
|
+
"type": "boolean"
|
|
2834
|
+
},
|
|
2835
|
+
"force": {
|
|
2836
|
+
"char": "f",
|
|
2837
|
+
"description": "Skip confirmation prompt",
|
|
2838
|
+
"name": "force",
|
|
2839
|
+
"required": false,
|
|
2840
|
+
"allowNo": false,
|
|
2841
|
+
"type": "boolean"
|
|
2842
|
+
},
|
|
2843
|
+
"output": {
|
|
2844
|
+
"char": "o",
|
|
2845
|
+
"description": "Output format",
|
|
2846
|
+
"name": "output",
|
|
2847
|
+
"required": false,
|
|
2848
|
+
"default": "summary",
|
|
2849
|
+
"hasDynamicHelp": false,
|
|
2850
|
+
"multiple": false,
|
|
2851
|
+
"options": [
|
|
2852
|
+
"summary",
|
|
2853
|
+
"json"
|
|
2854
|
+
],
|
|
2855
|
+
"type": "option"
|
|
2856
|
+
},
|
|
2857
|
+
"workspace": {
|
|
2858
|
+
"char": "w",
|
|
2859
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2860
|
+
"name": "workspace",
|
|
2861
|
+
"required": false,
|
|
2862
|
+
"hasDynamicHelp": false,
|
|
2863
|
+
"multiple": false,
|
|
2864
|
+
"type": "option"
|
|
2865
|
+
}
|
|
2866
|
+
},
|
|
2867
|
+
"hasDynamicHelp": false,
|
|
2868
|
+
"hiddenAliases": [],
|
|
2869
|
+
"id": "tenant:delete",
|
|
2870
|
+
"pluginAlias": "@xano/cli",
|
|
2871
|
+
"pluginName": "@xano/cli",
|
|
2872
|
+
"pluginType": "core",
|
|
2873
|
+
"strict": true,
|
|
2874
|
+
"enableJsonFlag": false,
|
|
2875
|
+
"isESM": true,
|
|
2876
|
+
"relativePath": [
|
|
2877
|
+
"dist",
|
|
2878
|
+
"commands",
|
|
2879
|
+
"tenant",
|
|
2880
|
+
"delete",
|
|
2881
|
+
"index.js"
|
|
2882
|
+
]
|
|
2883
|
+
},
|
|
2884
|
+
"function:create": {
|
|
2885
|
+
"aliases": [],
|
|
2886
|
+
"args": {},
|
|
2887
|
+
"description": "Create a new function in a workspace",
|
|
2916
2888
|
"examples": [
|
|
2917
|
-
"$ xano
|
|
2918
|
-
"$ xano
|
|
2889
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
2890
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
2891
|
+
"$ 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",
|
|
2892
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
2893
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
2919
2894
|
],
|
|
2920
2895
|
"flags": {
|
|
2921
2896
|
"profile": {
|
|
@@ -2937,6 +2912,29 @@
|
|
|
2937
2912
|
"allowNo": false,
|
|
2938
2913
|
"type": "boolean"
|
|
2939
2914
|
},
|
|
2915
|
+
"edit": {
|
|
2916
|
+
"char": "e",
|
|
2917
|
+
"dependsOn": [
|
|
2918
|
+
"file"
|
|
2919
|
+
],
|
|
2920
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
2921
|
+
"name": "edit",
|
|
2922
|
+
"required": false,
|
|
2923
|
+
"allowNo": false,
|
|
2924
|
+
"type": "boolean"
|
|
2925
|
+
},
|
|
2926
|
+
"file": {
|
|
2927
|
+
"char": "f",
|
|
2928
|
+
"description": "Path to file containing XanoScript code",
|
|
2929
|
+
"exclusive": [
|
|
2930
|
+
"stdin"
|
|
2931
|
+
],
|
|
2932
|
+
"name": "file",
|
|
2933
|
+
"required": false,
|
|
2934
|
+
"hasDynamicHelp": false,
|
|
2935
|
+
"multiple": false,
|
|
2936
|
+
"type": "option"
|
|
2937
|
+
},
|
|
2940
2938
|
"output": {
|
|
2941
2939
|
"char": "o",
|
|
2942
2940
|
"description": "Output format",
|
|
@@ -2951,18 +2949,20 @@
|
|
|
2951
2949
|
],
|
|
2952
2950
|
"type": "option"
|
|
2953
2951
|
},
|
|
2954
|
-
"
|
|
2955
|
-
"char": "
|
|
2956
|
-
"description": "
|
|
2957
|
-
"
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
"
|
|
2961
|
-
"
|
|
2952
|
+
"stdin": {
|
|
2953
|
+
"char": "s",
|
|
2954
|
+
"description": "Read XanoScript code from stdin",
|
|
2955
|
+
"exclusive": [
|
|
2956
|
+
"file"
|
|
2957
|
+
],
|
|
2958
|
+
"name": "stdin",
|
|
2959
|
+
"required": false,
|
|
2960
|
+
"allowNo": false,
|
|
2961
|
+
"type": "boolean"
|
|
2962
2962
|
},
|
|
2963
2963
|
"workspace": {
|
|
2964
2964
|
"char": "w",
|
|
2965
|
-
"description": "Workspace ID (
|
|
2965
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2966
2966
|
"name": "workspace",
|
|
2967
2967
|
"required": false,
|
|
2968
2968
|
"hasDynamicHelp": false,
|
|
@@ -2972,7 +2972,7 @@
|
|
|
2972
2972
|
},
|
|
2973
2973
|
"hasDynamicHelp": false,
|
|
2974
2974
|
"hiddenAliases": [],
|
|
2975
|
-
"id": "
|
|
2975
|
+
"id": "function:create",
|
|
2976
2976
|
"pluginAlias": "@xano/cli",
|
|
2977
2977
|
"pluginName": "@xano/cli",
|
|
2978
2978
|
"pluginType": "core",
|
|
@@ -2982,8 +2982,8 @@
|
|
|
2982
2982
|
"relativePath": [
|
|
2983
2983
|
"dist",
|
|
2984
2984
|
"commands",
|
|
2985
|
-
"
|
|
2986
|
-
"
|
|
2985
|
+
"function",
|
|
2986
|
+
"create",
|
|
2987
2987
|
"index.js"
|
|
2988
2988
|
]
|
|
2989
2989
|
},
|
|
@@ -3191,89 +3191,6 @@
|
|
|
3191
3191
|
"index.js"
|
|
3192
3192
|
]
|
|
3193
3193
|
},
|
|
3194
|
-
"tenant:impersonate": {
|
|
3195
|
-
"aliases": [],
|
|
3196
|
-
"args": {
|
|
3197
|
-
"tenant_name": {
|
|
3198
|
-
"description": "Tenant name to impersonate",
|
|
3199
|
-
"name": "tenant_name",
|
|
3200
|
-
"required": true
|
|
3201
|
-
}
|
|
3202
|
-
},
|
|
3203
|
-
"description": "Impersonate a tenant and open it in the browser",
|
|
3204
|
-
"examples": [
|
|
3205
|
-
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3206
|
-
"$ xano tenant impersonate my-tenant -o json"
|
|
3207
|
-
],
|
|
3208
|
-
"flags": {
|
|
3209
|
-
"profile": {
|
|
3210
|
-
"char": "p",
|
|
3211
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3212
|
-
"env": "XANO_PROFILE",
|
|
3213
|
-
"name": "profile",
|
|
3214
|
-
"required": false,
|
|
3215
|
-
"hasDynamicHelp": false,
|
|
3216
|
-
"multiple": false,
|
|
3217
|
-
"type": "option"
|
|
3218
|
-
},
|
|
3219
|
-
"verbose": {
|
|
3220
|
-
"char": "v",
|
|
3221
|
-
"description": "Show detailed request/response information",
|
|
3222
|
-
"env": "XANO_VERBOSE",
|
|
3223
|
-
"name": "verbose",
|
|
3224
|
-
"required": false,
|
|
3225
|
-
"allowNo": false,
|
|
3226
|
-
"type": "boolean"
|
|
3227
|
-
},
|
|
3228
|
-
"output": {
|
|
3229
|
-
"char": "o",
|
|
3230
|
-
"description": "Output format",
|
|
3231
|
-
"name": "output",
|
|
3232
|
-
"required": false,
|
|
3233
|
-
"default": "summary",
|
|
3234
|
-
"hasDynamicHelp": false,
|
|
3235
|
-
"multiple": false,
|
|
3236
|
-
"options": [
|
|
3237
|
-
"summary",
|
|
3238
|
-
"json"
|
|
3239
|
-
],
|
|
3240
|
-
"type": "option"
|
|
3241
|
-
},
|
|
3242
|
-
"url-only": {
|
|
3243
|
-
"char": "u",
|
|
3244
|
-
"description": "Print the URL without opening the browser",
|
|
3245
|
-
"name": "url-only",
|
|
3246
|
-
"required": false,
|
|
3247
|
-
"allowNo": false,
|
|
3248
|
-
"type": "boolean"
|
|
3249
|
-
},
|
|
3250
|
-
"workspace": {
|
|
3251
|
-
"char": "w",
|
|
3252
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3253
|
-
"name": "workspace",
|
|
3254
|
-
"required": false,
|
|
3255
|
-
"hasDynamicHelp": false,
|
|
3256
|
-
"multiple": false,
|
|
3257
|
-
"type": "option"
|
|
3258
|
-
}
|
|
3259
|
-
},
|
|
3260
|
-
"hasDynamicHelp": false,
|
|
3261
|
-
"hiddenAliases": [],
|
|
3262
|
-
"id": "tenant:impersonate",
|
|
3263
|
-
"pluginAlias": "@xano/cli",
|
|
3264
|
-
"pluginName": "@xano/cli",
|
|
3265
|
-
"pluginType": "core",
|
|
3266
|
-
"strict": true,
|
|
3267
|
-
"enableJsonFlag": false,
|
|
3268
|
-
"isESM": true,
|
|
3269
|
-
"relativePath": [
|
|
3270
|
-
"dist",
|
|
3271
|
-
"commands",
|
|
3272
|
-
"tenant",
|
|
3273
|
-
"impersonate",
|
|
3274
|
-
"index.js"
|
|
3275
|
-
]
|
|
3276
|
-
},
|
|
3277
3194
|
"tenant:list": {
|
|
3278
3195
|
"aliases": [],
|
|
3279
3196
|
"args": {},
|
|
@@ -3296,124 +3213,29 @@
|
|
|
3296
3213
|
"verbose": {
|
|
3297
3214
|
"char": "v",
|
|
3298
3215
|
"description": "Show detailed request/response information",
|
|
3299
|
-
"env": "XANO_VERBOSE",
|
|
3300
|
-
"name": "verbose",
|
|
3301
|
-
"required": false,
|
|
3302
|
-
"allowNo": false,
|
|
3303
|
-
"type": "boolean"
|
|
3304
|
-
},
|
|
3305
|
-
"output": {
|
|
3306
|
-
"char": "o",
|
|
3307
|
-
"description": "Output format",
|
|
3308
|
-
"name": "output",
|
|
3309
|
-
"required": false,
|
|
3310
|
-
"default": "summary",
|
|
3311
|
-
"hasDynamicHelp": false,
|
|
3312
|
-
"multiple": false,
|
|
3313
|
-
"options": [
|
|
3314
|
-
"summary",
|
|
3315
|
-
"json"
|
|
3316
|
-
],
|
|
3317
|
-
"type": "option"
|
|
3318
|
-
},
|
|
3319
|
-
"workspace": {
|
|
3320
|
-
"char": "w",
|
|
3321
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3322
|
-
"name": "workspace",
|
|
3323
|
-
"required": false,
|
|
3324
|
-
"hasDynamicHelp": false,
|
|
3325
|
-
"multiple": false,
|
|
3326
|
-
"type": "option"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
"hasDynamicHelp": false,
|
|
3330
|
-
"hiddenAliases": [],
|
|
3331
|
-
"id": "tenant:list",
|
|
3332
|
-
"pluginAlias": "@xano/cli",
|
|
3333
|
-
"pluginName": "@xano/cli",
|
|
3334
|
-
"pluginType": "core",
|
|
3335
|
-
"strict": true,
|
|
3336
|
-
"enableJsonFlag": false,
|
|
3337
|
-
"isESM": true,
|
|
3338
|
-
"relativePath": [
|
|
3339
|
-
"dist",
|
|
3340
|
-
"commands",
|
|
3341
|
-
"tenant",
|
|
3342
|
-
"list",
|
|
3343
|
-
"index.js"
|
|
3344
|
-
]
|
|
3345
|
-
},
|
|
3346
|
-
"tenant:push": {
|
|
3347
|
-
"aliases": [],
|
|
3348
|
-
"args": {
|
|
3349
|
-
"directory": {
|
|
3350
|
-
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3351
|
-
"name": "directory",
|
|
3352
|
-
"required": true
|
|
3353
|
-
}
|
|
3354
|
-
},
|
|
3355
|
-
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3356
|
-
"examples": [
|
|
3357
|
-
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3358
|
-
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3359
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3360
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3361
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3362
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3363
|
-
],
|
|
3364
|
-
"flags": {
|
|
3365
|
-
"profile": {
|
|
3366
|
-
"char": "p",
|
|
3367
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3368
|
-
"env": "XANO_PROFILE",
|
|
3369
|
-
"name": "profile",
|
|
3370
|
-
"required": false,
|
|
3371
|
-
"hasDynamicHelp": false,
|
|
3372
|
-
"multiple": false,
|
|
3373
|
-
"type": "option"
|
|
3374
|
-
},
|
|
3375
|
-
"verbose": {
|
|
3376
|
-
"char": "v",
|
|
3377
|
-
"description": "Show detailed request/response information",
|
|
3378
|
-
"env": "XANO_VERBOSE",
|
|
3379
|
-
"name": "verbose",
|
|
3380
|
-
"required": false,
|
|
3381
|
-
"allowNo": false,
|
|
3382
|
-
"type": "boolean"
|
|
3383
|
-
},
|
|
3384
|
-
"env": {
|
|
3385
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3386
|
-
"name": "env",
|
|
3387
|
-
"required": false,
|
|
3388
|
-
"allowNo": true,
|
|
3389
|
-
"type": "boolean"
|
|
3390
|
-
},
|
|
3391
|
-
"records": {
|
|
3392
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3393
|
-
"name": "records",
|
|
3394
|
-
"required": false,
|
|
3395
|
-
"allowNo": true,
|
|
3396
|
-
"type": "boolean"
|
|
3397
|
-
},
|
|
3398
|
-
"tenant": {
|
|
3399
|
-
"char": "t",
|
|
3400
|
-
"description": "Tenant name to push to",
|
|
3401
|
-
"name": "tenant",
|
|
3402
|
-
"required": true,
|
|
3403
|
-
"hasDynamicHelp": false,
|
|
3404
|
-
"multiple": false,
|
|
3405
|
-
"type": "option"
|
|
3406
|
-
},
|
|
3407
|
-
"truncate": {
|
|
3408
|
-
"description": "Truncate all table records before importing",
|
|
3409
|
-
"name": "truncate",
|
|
3216
|
+
"env": "XANO_VERBOSE",
|
|
3217
|
+
"name": "verbose",
|
|
3410
3218
|
"required": false,
|
|
3411
3219
|
"allowNo": false,
|
|
3412
3220
|
"type": "boolean"
|
|
3413
3221
|
},
|
|
3222
|
+
"output": {
|
|
3223
|
+
"char": "o",
|
|
3224
|
+
"description": "Output format",
|
|
3225
|
+
"name": "output",
|
|
3226
|
+
"required": false,
|
|
3227
|
+
"default": "summary",
|
|
3228
|
+
"hasDynamicHelp": false,
|
|
3229
|
+
"multiple": false,
|
|
3230
|
+
"options": [
|
|
3231
|
+
"summary",
|
|
3232
|
+
"json"
|
|
3233
|
+
],
|
|
3234
|
+
"type": "option"
|
|
3235
|
+
},
|
|
3414
3236
|
"workspace": {
|
|
3415
3237
|
"char": "w",
|
|
3416
|
-
"description": "Workspace ID (
|
|
3238
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3417
3239
|
"name": "workspace",
|
|
3418
3240
|
"required": false,
|
|
3419
3241
|
"hasDynamicHelp": false,
|
|
@@ -3423,7 +3245,7 @@
|
|
|
3423
3245
|
},
|
|
3424
3246
|
"hasDynamicHelp": false,
|
|
3425
3247
|
"hiddenAliases": [],
|
|
3426
|
-
"id": "tenant:
|
|
3248
|
+
"id": "tenant:list",
|
|
3427
3249
|
"pluginAlias": "@xano/cli",
|
|
3428
3250
|
"pluginName": "@xano/cli",
|
|
3429
3251
|
"pluginType": "core",
|
|
@@ -3434,7 +3256,7 @@
|
|
|
3434
3256
|
"dist",
|
|
3435
3257
|
"commands",
|
|
3436
3258
|
"tenant",
|
|
3437
|
-
"
|
|
3259
|
+
"list",
|
|
3438
3260
|
"index.js"
|
|
3439
3261
|
]
|
|
3440
3262
|
},
|
|
@@ -3531,13 +3353,89 @@
|
|
|
3531
3353
|
"index.js"
|
|
3532
3354
|
]
|
|
3533
3355
|
},
|
|
3534
|
-
"unit_test:
|
|
3356
|
+
"unit_test:run": {
|
|
3357
|
+
"aliases": [],
|
|
3358
|
+
"args": {
|
|
3359
|
+
"unit_test_id": {
|
|
3360
|
+
"description": "ID of the unit test to run",
|
|
3361
|
+
"name": "unit_test_id",
|
|
3362
|
+
"required": true
|
|
3363
|
+
}
|
|
3364
|
+
},
|
|
3365
|
+
"description": "Run a unit test",
|
|
3366
|
+
"examples": [
|
|
3367
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3368
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3369
|
+
],
|
|
3370
|
+
"flags": {
|
|
3371
|
+
"profile": {
|
|
3372
|
+
"char": "p",
|
|
3373
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3374
|
+
"env": "XANO_PROFILE",
|
|
3375
|
+
"name": "profile",
|
|
3376
|
+
"required": false,
|
|
3377
|
+
"hasDynamicHelp": false,
|
|
3378
|
+
"multiple": false,
|
|
3379
|
+
"type": "option"
|
|
3380
|
+
},
|
|
3381
|
+
"verbose": {
|
|
3382
|
+
"char": "v",
|
|
3383
|
+
"description": "Show detailed request/response information",
|
|
3384
|
+
"env": "XANO_VERBOSE",
|
|
3385
|
+
"name": "verbose",
|
|
3386
|
+
"required": false,
|
|
3387
|
+
"allowNo": false,
|
|
3388
|
+
"type": "boolean"
|
|
3389
|
+
},
|
|
3390
|
+
"output": {
|
|
3391
|
+
"char": "o",
|
|
3392
|
+
"description": "Output format",
|
|
3393
|
+
"name": "output",
|
|
3394
|
+
"required": false,
|
|
3395
|
+
"default": "summary",
|
|
3396
|
+
"hasDynamicHelp": false,
|
|
3397
|
+
"multiple": false,
|
|
3398
|
+
"options": [
|
|
3399
|
+
"summary",
|
|
3400
|
+
"json"
|
|
3401
|
+
],
|
|
3402
|
+
"type": "option"
|
|
3403
|
+
},
|
|
3404
|
+
"workspace": {
|
|
3405
|
+
"char": "w",
|
|
3406
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3407
|
+
"name": "workspace",
|
|
3408
|
+
"required": false,
|
|
3409
|
+
"hasDynamicHelp": false,
|
|
3410
|
+
"multiple": false,
|
|
3411
|
+
"type": "option"
|
|
3412
|
+
}
|
|
3413
|
+
},
|
|
3414
|
+
"hasDynamicHelp": false,
|
|
3415
|
+
"hiddenAliases": [],
|
|
3416
|
+
"id": "unit_test:run",
|
|
3417
|
+
"pluginAlias": "@xano/cli",
|
|
3418
|
+
"pluginName": "@xano/cli",
|
|
3419
|
+
"pluginType": "core",
|
|
3420
|
+
"strict": true,
|
|
3421
|
+
"enableJsonFlag": false,
|
|
3422
|
+
"isESM": true,
|
|
3423
|
+
"relativePath": [
|
|
3424
|
+
"dist",
|
|
3425
|
+
"commands",
|
|
3426
|
+
"unit_test",
|
|
3427
|
+
"run",
|
|
3428
|
+
"index.js"
|
|
3429
|
+
]
|
|
3430
|
+
},
|
|
3431
|
+
"unit_test:list": {
|
|
3535
3432
|
"aliases": [],
|
|
3536
3433
|
"args": {},
|
|
3537
|
-
"description": "
|
|
3434
|
+
"description": "List all unit tests in a workspace",
|
|
3538
3435
|
"examples": [
|
|
3539
|
-
"$ xano unit-test
|
|
3540
|
-
"$ xano unit-test
|
|
3436
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3437
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3438
|
+
"$ xano unit-test list --obj-type function"
|
|
3541
3439
|
],
|
|
3542
3440
|
"flags": {
|
|
3543
3441
|
"profile": {
|
|
@@ -3607,7 +3505,7 @@
|
|
|
3607
3505
|
},
|
|
3608
3506
|
"hasDynamicHelp": false,
|
|
3609
3507
|
"hiddenAliases": [],
|
|
3610
|
-
"id": "unit_test:
|
|
3508
|
+
"id": "unit_test:list",
|
|
3611
3509
|
"pluginAlias": "@xano/cli",
|
|
3612
3510
|
"pluginName": "@xano/cli",
|
|
3613
3511
|
"pluginType": "core",
|
|
@@ -3618,23 +3516,27 @@
|
|
|
3618
3516
|
"dist",
|
|
3619
3517
|
"commands",
|
|
3620
3518
|
"unit_test",
|
|
3621
|
-
"
|
|
3519
|
+
"list",
|
|
3622
3520
|
"index.js"
|
|
3623
3521
|
]
|
|
3624
3522
|
},
|
|
3625
|
-
"
|
|
3523
|
+
"tenant:push": {
|
|
3626
3524
|
"aliases": [],
|
|
3627
3525
|
"args": {
|
|
3628
|
-
"
|
|
3629
|
-
"description": "
|
|
3630
|
-
"name": "
|
|
3526
|
+
"directory": {
|
|
3527
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3528
|
+
"name": "directory",
|
|
3631
3529
|
"required": true
|
|
3632
3530
|
}
|
|
3633
3531
|
},
|
|
3634
|
-
"description": "
|
|
3532
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3635
3533
|
"examples": [
|
|
3636
|
-
"$ xano
|
|
3637
|
-
"$ xano
|
|
3534
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3535
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3536
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3537
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3538
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3539
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3638
3540
|
],
|
|
3639
3541
|
"flags": {
|
|
3640
3542
|
"profile": {
|
|
@@ -3656,31 +3558,39 @@
|
|
|
3656
3558
|
"allowNo": false,
|
|
3657
3559
|
"type": "boolean"
|
|
3658
3560
|
},
|
|
3659
|
-
"
|
|
3660
|
-
"
|
|
3661
|
-
"
|
|
3662
|
-
"name": "force",
|
|
3561
|
+
"env": {
|
|
3562
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3563
|
+
"name": "env",
|
|
3663
3564
|
"required": false,
|
|
3664
|
-
"allowNo":
|
|
3565
|
+
"allowNo": true,
|
|
3665
3566
|
"type": "boolean"
|
|
3666
3567
|
},
|
|
3667
|
-
"
|
|
3668
|
-
"
|
|
3669
|
-
"
|
|
3670
|
-
"name": "output",
|
|
3568
|
+
"records": {
|
|
3569
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3570
|
+
"name": "records",
|
|
3671
3571
|
"required": false,
|
|
3672
|
-
"
|
|
3572
|
+
"allowNo": true,
|
|
3573
|
+
"type": "boolean"
|
|
3574
|
+
},
|
|
3575
|
+
"tenant": {
|
|
3576
|
+
"char": "t",
|
|
3577
|
+
"description": "Tenant name to push to",
|
|
3578
|
+
"name": "tenant",
|
|
3579
|
+
"required": true,
|
|
3673
3580
|
"hasDynamicHelp": false,
|
|
3674
3581
|
"multiple": false,
|
|
3675
|
-
"options": [
|
|
3676
|
-
"summary",
|
|
3677
|
-
"json"
|
|
3678
|
-
],
|
|
3679
3582
|
"type": "option"
|
|
3680
3583
|
},
|
|
3584
|
+
"truncate": {
|
|
3585
|
+
"description": "Truncate all table records before importing",
|
|
3586
|
+
"name": "truncate",
|
|
3587
|
+
"required": false,
|
|
3588
|
+
"allowNo": false,
|
|
3589
|
+
"type": "boolean"
|
|
3590
|
+
},
|
|
3681
3591
|
"workspace": {
|
|
3682
3592
|
"char": "w",
|
|
3683
|
-
"description": "Workspace ID (
|
|
3593
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3684
3594
|
"name": "workspace",
|
|
3685
3595
|
"required": false,
|
|
3686
3596
|
"hasDynamicHelp": false,
|
|
@@ -3690,7 +3600,7 @@
|
|
|
3690
3600
|
},
|
|
3691
3601
|
"hasDynamicHelp": false,
|
|
3692
3602
|
"hiddenAliases": [],
|
|
3693
|
-
"id": "
|
|
3603
|
+
"id": "tenant:push",
|
|
3694
3604
|
"pluginAlias": "@xano/cli",
|
|
3695
3605
|
"pluginName": "@xano/cli",
|
|
3696
3606
|
"pluginType": "core",
|
|
@@ -3700,25 +3610,18 @@
|
|
|
3700
3610
|
"relativePath": [
|
|
3701
3611
|
"dist",
|
|
3702
3612
|
"commands",
|
|
3703
|
-
"
|
|
3704
|
-
"
|
|
3613
|
+
"tenant",
|
|
3614
|
+
"push",
|
|
3705
3615
|
"index.js"
|
|
3706
3616
|
]
|
|
3707
3617
|
},
|
|
3708
|
-
"
|
|
3618
|
+
"unit_test:run_all": {
|
|
3709
3619
|
"aliases": [],
|
|
3710
|
-
"args": {
|
|
3711
|
-
|
|
3712
|
-
"description": "ID of the workflow test",
|
|
3713
|
-
"name": "workflow_test_id",
|
|
3714
|
-
"required": true
|
|
3715
|
-
}
|
|
3716
|
-
},
|
|
3717
|
-
"description": "Get a specific workflow test",
|
|
3620
|
+
"args": {},
|
|
3621
|
+
"description": "Run all unit tests in a workspace",
|
|
3718
3622
|
"examples": [
|
|
3719
|
-
"$ xano
|
|
3720
|
-
"$ xano
|
|
3721
|
-
"$ xano workflow-test get 1 -o json"
|
|
3623
|
+
"$ 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",
|
|
3624
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3722
3625
|
],
|
|
3723
3626
|
"flags": {
|
|
3724
3627
|
"profile": {
|
|
@@ -3740,12 +3643,27 @@
|
|
|
3740
3643
|
"allowNo": false,
|
|
3741
3644
|
"type": "boolean"
|
|
3742
3645
|
},
|
|
3743
|
-
"
|
|
3744
|
-
"
|
|
3745
|
-
"
|
|
3646
|
+
"branch": {
|
|
3647
|
+
"char": "b",
|
|
3648
|
+
"description": "Filter by branch name",
|
|
3649
|
+
"name": "branch",
|
|
3746
3650
|
"required": false,
|
|
3747
|
-
"
|
|
3748
|
-
"
|
|
3651
|
+
"hasDynamicHelp": false,
|
|
3652
|
+
"multiple": false,
|
|
3653
|
+
"type": "option"
|
|
3654
|
+
},
|
|
3655
|
+
"obj-type": {
|
|
3656
|
+
"description": "Filter by object type",
|
|
3657
|
+
"name": "obj-type",
|
|
3658
|
+
"required": false,
|
|
3659
|
+
"hasDynamicHelp": false,
|
|
3660
|
+
"multiple": false,
|
|
3661
|
+
"options": [
|
|
3662
|
+
"function",
|
|
3663
|
+
"query",
|
|
3664
|
+
"middleware"
|
|
3665
|
+
],
|
|
3666
|
+
"type": "option"
|
|
3749
3667
|
},
|
|
3750
3668
|
"output": {
|
|
3751
3669
|
"char": "o",
|
|
@@ -3757,8 +3675,7 @@
|
|
|
3757
3675
|
"multiple": false,
|
|
3758
3676
|
"options": [
|
|
3759
3677
|
"summary",
|
|
3760
|
-
"json"
|
|
3761
|
-
"xs"
|
|
3678
|
+
"json"
|
|
3762
3679
|
],
|
|
3763
3680
|
"type": "option"
|
|
3764
3681
|
},
|
|
@@ -3774,7 +3691,7 @@
|
|
|
3774
3691
|
},
|
|
3775
3692
|
"hasDynamicHelp": false,
|
|
3776
3693
|
"hiddenAliases": [],
|
|
3777
|
-
"id": "
|
|
3694
|
+
"id": "unit_test:run_all",
|
|
3778
3695
|
"pluginAlias": "@xano/cli",
|
|
3779
3696
|
"pluginName": "@xano/cli",
|
|
3780
3697
|
"pluginType": "core",
|
|
@@ -3784,19 +3701,24 @@
|
|
|
3784
3701
|
"relativePath": [
|
|
3785
3702
|
"dist",
|
|
3786
3703
|
"commands",
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3704
|
+
"unit_test",
|
|
3705
|
+
"run_all",
|
|
3789
3706
|
"index.js"
|
|
3790
3707
|
]
|
|
3791
3708
|
},
|
|
3792
|
-
"
|
|
3709
|
+
"workflow_test:delete": {
|
|
3793
3710
|
"aliases": [],
|
|
3794
|
-
"args": {
|
|
3795
|
-
|
|
3711
|
+
"args": {
|
|
3712
|
+
"workflow_test_id": {
|
|
3713
|
+
"description": "ID of the workflow test to delete",
|
|
3714
|
+
"name": "workflow_test_id",
|
|
3715
|
+
"required": true
|
|
3716
|
+
}
|
|
3717
|
+
},
|
|
3718
|
+
"description": "Delete a workflow test",
|
|
3796
3719
|
"examples": [
|
|
3797
|
-
"$ xano
|
|
3798
|
-
"$ xano
|
|
3799
|
-
"$ xano unit-test list --obj-type function"
|
|
3720
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3721
|
+
"$ xano workflow-test delete 1 --force"
|
|
3800
3722
|
],
|
|
3801
3723
|
"flags": {
|
|
3802
3724
|
"profile": {
|
|
@@ -3818,27 +3740,13 @@
|
|
|
3818
3740
|
"allowNo": false,
|
|
3819
3741
|
"type": "boolean"
|
|
3820
3742
|
},
|
|
3821
|
-
"
|
|
3822
|
-
"char": "
|
|
3823
|
-
"description": "
|
|
3824
|
-
"name": "
|
|
3825
|
-
"required": false,
|
|
3826
|
-
"hasDynamicHelp": false,
|
|
3827
|
-
"multiple": false,
|
|
3828
|
-
"type": "option"
|
|
3829
|
-
},
|
|
3830
|
-
"obj-type": {
|
|
3831
|
-
"description": "Filter by object type",
|
|
3832
|
-
"name": "obj-type",
|
|
3743
|
+
"force": {
|
|
3744
|
+
"char": "f",
|
|
3745
|
+
"description": "Skip confirmation prompt",
|
|
3746
|
+
"name": "force",
|
|
3833
3747
|
"required": false,
|
|
3834
|
-
"
|
|
3835
|
-
"
|
|
3836
|
-
"options": [
|
|
3837
|
-
"function",
|
|
3838
|
-
"query",
|
|
3839
|
-
"middleware"
|
|
3840
|
-
],
|
|
3841
|
-
"type": "option"
|
|
3748
|
+
"allowNo": false,
|
|
3749
|
+
"type": "boolean"
|
|
3842
3750
|
},
|
|
3843
3751
|
"output": {
|
|
3844
3752
|
"char": "o",
|
|
@@ -3866,7 +3774,7 @@
|
|
|
3866
3774
|
},
|
|
3867
3775
|
"hasDynamicHelp": false,
|
|
3868
3776
|
"hiddenAliases": [],
|
|
3869
|
-
"id": "
|
|
3777
|
+
"id": "workflow_test:delete",
|
|
3870
3778
|
"pluginAlias": "@xano/cli",
|
|
3871
3779
|
"pluginName": "@xano/cli",
|
|
3872
3780
|
"pluginType": "core",
|
|
@@ -3876,19 +3784,25 @@
|
|
|
3876
3784
|
"relativePath": [
|
|
3877
3785
|
"dist",
|
|
3878
3786
|
"commands",
|
|
3879
|
-
"
|
|
3880
|
-
"
|
|
3787
|
+
"workflow_test",
|
|
3788
|
+
"delete",
|
|
3881
3789
|
"index.js"
|
|
3882
3790
|
]
|
|
3883
3791
|
},
|
|
3884
|
-
"workflow_test:
|
|
3792
|
+
"workflow_test:get": {
|
|
3885
3793
|
"aliases": [],
|
|
3886
|
-
"args": {
|
|
3887
|
-
|
|
3794
|
+
"args": {
|
|
3795
|
+
"workflow_test_id": {
|
|
3796
|
+
"description": "ID of the workflow test",
|
|
3797
|
+
"name": "workflow_test_id",
|
|
3798
|
+
"required": true
|
|
3799
|
+
}
|
|
3800
|
+
},
|
|
3801
|
+
"description": "Get a specific workflow test",
|
|
3888
3802
|
"examples": [
|
|
3889
|
-
"$ xano workflow-test
|
|
3890
|
-
"$ xano workflow-test
|
|
3891
|
-
"$ xano workflow-test
|
|
3803
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3804
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3805
|
+
"$ xano workflow-test get 1 -o json"
|
|
3892
3806
|
],
|
|
3893
3807
|
"flags": {
|
|
3894
3808
|
"profile": {
|
|
@@ -3910,14 +3824,12 @@
|
|
|
3910
3824
|
"allowNo": false,
|
|
3911
3825
|
"type": "boolean"
|
|
3912
3826
|
},
|
|
3913
|
-
"
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3916
|
-
"name": "branch",
|
|
3827
|
+
"include-draft": {
|
|
3828
|
+
"description": "Include draft version",
|
|
3829
|
+
"name": "include-draft",
|
|
3917
3830
|
"required": false,
|
|
3918
|
-
"
|
|
3919
|
-
"
|
|
3920
|
-
"type": "option"
|
|
3831
|
+
"allowNo": false,
|
|
3832
|
+
"type": "boolean"
|
|
3921
3833
|
},
|
|
3922
3834
|
"output": {
|
|
3923
3835
|
"char": "o",
|
|
@@ -3929,7 +3841,8 @@
|
|
|
3929
3841
|
"multiple": false,
|
|
3930
3842
|
"options": [
|
|
3931
3843
|
"summary",
|
|
3932
|
-
"json"
|
|
3844
|
+
"json",
|
|
3845
|
+
"xs"
|
|
3933
3846
|
],
|
|
3934
3847
|
"type": "option"
|
|
3935
3848
|
},
|
|
@@ -3945,7 +3858,7 @@
|
|
|
3945
3858
|
},
|
|
3946
3859
|
"hasDynamicHelp": false,
|
|
3947
3860
|
"hiddenAliases": [],
|
|
3948
|
-
"id": "workflow_test:
|
|
3861
|
+
"id": "workflow_test:get",
|
|
3949
3862
|
"pluginAlias": "@xano/cli",
|
|
3950
3863
|
"pluginName": "@xano/cli",
|
|
3951
3864
|
"pluginType": "core",
|
|
@@ -3956,23 +3869,23 @@
|
|
|
3956
3869
|
"dist",
|
|
3957
3870
|
"commands",
|
|
3958
3871
|
"workflow_test",
|
|
3959
|
-
"
|
|
3872
|
+
"get",
|
|
3960
3873
|
"index.js"
|
|
3961
3874
|
]
|
|
3962
3875
|
},
|
|
3963
|
-
"
|
|
3876
|
+
"tenant:impersonate": {
|
|
3964
3877
|
"aliases": [],
|
|
3965
3878
|
"args": {
|
|
3966
|
-
"
|
|
3967
|
-
"description": "
|
|
3968
|
-
"name": "
|
|
3879
|
+
"tenant_name": {
|
|
3880
|
+
"description": "Tenant name to impersonate",
|
|
3881
|
+
"name": "tenant_name",
|
|
3969
3882
|
"required": true
|
|
3970
3883
|
}
|
|
3971
3884
|
},
|
|
3972
|
-
"description": "
|
|
3885
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3973
3886
|
"examples": [
|
|
3974
|
-
"$ xano
|
|
3975
|
-
"$ xano
|
|
3887
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3888
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3976
3889
|
],
|
|
3977
3890
|
"flags": {
|
|
3978
3891
|
"profile": {
|
|
@@ -4008,6 +3921,14 @@
|
|
|
4008
3921
|
],
|
|
4009
3922
|
"type": "option"
|
|
4010
3923
|
},
|
|
3924
|
+
"url-only": {
|
|
3925
|
+
"char": "u",
|
|
3926
|
+
"description": "Print the URL without opening the browser",
|
|
3927
|
+
"name": "url-only",
|
|
3928
|
+
"required": false,
|
|
3929
|
+
"allowNo": false,
|
|
3930
|
+
"type": "boolean"
|
|
3931
|
+
},
|
|
4011
3932
|
"workspace": {
|
|
4012
3933
|
"char": "w",
|
|
4013
3934
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -4020,7 +3941,7 @@
|
|
|
4020
3941
|
},
|
|
4021
3942
|
"hasDynamicHelp": false,
|
|
4022
3943
|
"hiddenAliases": [],
|
|
4023
|
-
"id": "
|
|
3944
|
+
"id": "tenant:impersonate",
|
|
4024
3945
|
"pluginAlias": "@xano/cli",
|
|
4025
3946
|
"pluginName": "@xano/cli",
|
|
4026
3947
|
"pluginType": "core",
|
|
@@ -4030,18 +3951,19 @@
|
|
|
4030
3951
|
"relativePath": [
|
|
4031
3952
|
"dist",
|
|
4032
3953
|
"commands",
|
|
4033
|
-
"
|
|
4034
|
-
"
|
|
3954
|
+
"tenant",
|
|
3955
|
+
"impersonate",
|
|
4035
3956
|
"index.js"
|
|
4036
3957
|
]
|
|
4037
3958
|
},
|
|
4038
|
-
"workflow_test:
|
|
3959
|
+
"workflow_test:list": {
|
|
4039
3960
|
"aliases": [],
|
|
4040
3961
|
"args": {},
|
|
4041
|
-
"description": "
|
|
3962
|
+
"description": "List all workflow tests in a workspace",
|
|
4042
3963
|
"examples": [
|
|
4043
|
-
"$ xano workflow-test
|
|
4044
|
-
"$ xano workflow-test
|
|
3964
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3965
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3966
|
+
"$ xano workflow-test list --branch main"
|
|
4045
3967
|
],
|
|
4046
3968
|
"flags": {
|
|
4047
3969
|
"profile": {
|
|
@@ -4098,7 +4020,7 @@
|
|
|
4098
4020
|
},
|
|
4099
4021
|
"hasDynamicHelp": false,
|
|
4100
4022
|
"hiddenAliases": [],
|
|
4101
|
-
"id": "workflow_test:
|
|
4023
|
+
"id": "workflow_test:list",
|
|
4102
4024
|
"pluginAlias": "@xano/cli",
|
|
4103
4025
|
"pluginName": "@xano/cli",
|
|
4104
4026
|
"pluginType": "core",
|
|
@@ -4109,23 +4031,23 @@
|
|
|
4109
4031
|
"dist",
|
|
4110
4032
|
"commands",
|
|
4111
4033
|
"workflow_test",
|
|
4112
|
-
"
|
|
4034
|
+
"list",
|
|
4113
4035
|
"index.js"
|
|
4114
4036
|
]
|
|
4115
4037
|
},
|
|
4116
|
-
"
|
|
4038
|
+
"workflow_test:run": {
|
|
4117
4039
|
"aliases": [],
|
|
4118
4040
|
"args": {
|
|
4119
|
-
"
|
|
4120
|
-
"description": "ID of the
|
|
4121
|
-
"name": "
|
|
4041
|
+
"workflow_test_id": {
|
|
4042
|
+
"description": "ID of the workflow test to run",
|
|
4043
|
+
"name": "workflow_test_id",
|
|
4122
4044
|
"required": true
|
|
4123
4045
|
}
|
|
4124
4046
|
},
|
|
4125
|
-
"description": "Run a
|
|
4047
|
+
"description": "Run a workflow test",
|
|
4126
4048
|
"examples": [
|
|
4127
|
-
"$ xano
|
|
4128
|
-
"$ xano
|
|
4049
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4050
|
+
"$ xano workflow-test run 1 -o json"
|
|
4129
4051
|
],
|
|
4130
4052
|
"flags": {
|
|
4131
4053
|
"profile": {
|
|
@@ -4173,7 +4095,7 @@
|
|
|
4173
4095
|
},
|
|
4174
4096
|
"hasDynamicHelp": false,
|
|
4175
4097
|
"hiddenAliases": [],
|
|
4176
|
-
"id": "
|
|
4098
|
+
"id": "workflow_test:run",
|
|
4177
4099
|
"pluginAlias": "@xano/cli",
|
|
4178
4100
|
"pluginName": "@xano/cli",
|
|
4179
4101
|
"pluginType": "core",
|
|
@@ -4183,25 +4105,18 @@
|
|
|
4183
4105
|
"relativePath": [
|
|
4184
4106
|
"dist",
|
|
4185
4107
|
"commands",
|
|
4186
|
-
"
|
|
4108
|
+
"workflow_test",
|
|
4187
4109
|
"run",
|
|
4188
4110
|
"index.js"
|
|
4189
4111
|
]
|
|
4190
4112
|
},
|
|
4191
|
-
"
|
|
4113
|
+
"workflow_test:run_all": {
|
|
4192
4114
|
"aliases": [],
|
|
4193
|
-
"args": {
|
|
4194
|
-
|
|
4195
|
-
"description": "Name of the workspace",
|
|
4196
|
-
"name": "name",
|
|
4197
|
-
"required": true
|
|
4198
|
-
}
|
|
4199
|
-
},
|
|
4200
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4115
|
+
"args": {},
|
|
4116
|
+
"description": "Run all workflow tests in a workspace",
|
|
4201
4117
|
"examples": [
|
|
4202
|
-
"$ xano
|
|
4203
|
-
"$ xano
|
|
4204
|
-
"$ 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"
|
|
4118
|
+
"$ 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",
|
|
4119
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4205
4120
|
],
|
|
4206
4121
|
"flags": {
|
|
4207
4122
|
"profile": {
|
|
@@ -4223,10 +4138,10 @@
|
|
|
4223
4138
|
"allowNo": false,
|
|
4224
4139
|
"type": "boolean"
|
|
4225
4140
|
},
|
|
4226
|
-
"
|
|
4227
|
-
"char": "
|
|
4228
|
-
"description": "
|
|
4229
|
-
"name": "
|
|
4141
|
+
"branch": {
|
|
4142
|
+
"char": "b",
|
|
4143
|
+
"description": "Filter by branch name",
|
|
4144
|
+
"name": "branch",
|
|
4230
4145
|
"required": false,
|
|
4231
4146
|
"hasDynamicHelp": false,
|
|
4232
4147
|
"multiple": false,
|
|
@@ -4245,11 +4160,20 @@
|
|
|
4245
4160
|
"json"
|
|
4246
4161
|
],
|
|
4247
4162
|
"type": "option"
|
|
4163
|
+
},
|
|
4164
|
+
"workspace": {
|
|
4165
|
+
"char": "w",
|
|
4166
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4167
|
+
"name": "workspace",
|
|
4168
|
+
"required": false,
|
|
4169
|
+
"hasDynamicHelp": false,
|
|
4170
|
+
"multiple": false,
|
|
4171
|
+
"type": "option"
|
|
4248
4172
|
}
|
|
4249
4173
|
},
|
|
4250
4174
|
"hasDynamicHelp": false,
|
|
4251
4175
|
"hiddenAliases": [],
|
|
4252
|
-
"id": "
|
|
4176
|
+
"id": "workflow_test:run_all",
|
|
4253
4177
|
"pluginAlias": "@xano/cli",
|
|
4254
4178
|
"pluginName": "@xano/cli",
|
|
4255
4179
|
"pluginType": "core",
|
|
@@ -4259,8 +4183,8 @@
|
|
|
4259
4183
|
"relativePath": [
|
|
4260
4184
|
"dist",
|
|
4261
4185
|
"commands",
|
|
4262
|
-
"
|
|
4263
|
-
"
|
|
4186
|
+
"workflow_test",
|
|
4187
|
+
"run_all",
|
|
4264
4188
|
"index.js"
|
|
4265
4189
|
]
|
|
4266
4190
|
},
|
|
@@ -4568,28 +4492,22 @@
|
|
|
4568
4492
|
"index.js"
|
|
4569
4493
|
]
|
|
4570
4494
|
},
|
|
4571
|
-
"workspace:
|
|
4495
|
+
"workspace:pull": {
|
|
4572
4496
|
"aliases": [],
|
|
4573
4497
|
"args": {
|
|
4574
4498
|
"directory": {
|
|
4575
|
-
"description": "
|
|
4499
|
+
"description": "Output directory for pulled documents",
|
|
4576
4500
|
"name": "directory",
|
|
4577
4501
|
"required": true
|
|
4578
4502
|
}
|
|
4579
4503
|
},
|
|
4580
|
-
"description": "
|
|
4504
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4581
4505
|
"examples": [
|
|
4582
|
-
"$ xano workspace
|
|
4583
|
-
"$ xano workspace
|
|
4584
|
-
"$ xano workspace
|
|
4585
|
-
"$ xano workspace
|
|
4586
|
-
"$ xano workspace
|
|
4587
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4588
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4589
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4590
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4591
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4592
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4506
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4507
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4508
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4509
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4510
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4593
4511
|
],
|
|
4594
4512
|
"flags": {
|
|
4595
4513
|
"profile": {
|
|
@@ -4620,45 +4538,24 @@
|
|
|
4620
4538
|
"multiple": false,
|
|
4621
4539
|
"type": "option"
|
|
4622
4540
|
},
|
|
4623
|
-
"delete": {
|
|
4624
|
-
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4625
|
-
"name": "delete",
|
|
4626
|
-
"required": false,
|
|
4627
|
-
"allowNo": true,
|
|
4628
|
-
"type": "boolean"
|
|
4629
|
-
},
|
|
4630
4541
|
"env": {
|
|
4631
|
-
"description": "Include environment variables
|
|
4542
|
+
"description": "Include environment variables",
|
|
4632
4543
|
"name": "env",
|
|
4633
4544
|
"required": false,
|
|
4634
|
-
"allowNo":
|
|
4545
|
+
"allowNo": false,
|
|
4635
4546
|
"type": "boolean"
|
|
4636
4547
|
},
|
|
4637
|
-
"
|
|
4638
|
-
"description": "
|
|
4639
|
-
"name": "
|
|
4548
|
+
"draft": {
|
|
4549
|
+
"description": "Include draft versions",
|
|
4550
|
+
"name": "draft",
|
|
4640
4551
|
"required": false,
|
|
4641
4552
|
"allowNo": false,
|
|
4642
4553
|
"type": "boolean"
|
|
4643
4554
|
},
|
|
4644
4555
|
"records": {
|
|
4645
|
-
"description": "Include records
|
|
4556
|
+
"description": "Include records",
|
|
4646
4557
|
"name": "records",
|
|
4647
4558
|
"required": false,
|
|
4648
|
-
"allowNo": true,
|
|
4649
|
-
"type": "boolean"
|
|
4650
|
-
},
|
|
4651
|
-
"sync-guids": {
|
|
4652
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4653
|
-
"name": "sync-guids",
|
|
4654
|
-
"required": false,
|
|
4655
|
-
"allowNo": true,
|
|
4656
|
-
"type": "boolean"
|
|
4657
|
-
},
|
|
4658
|
-
"truncate": {
|
|
4659
|
-
"description": "Truncate all table records before importing",
|
|
4660
|
-
"name": "truncate",
|
|
4661
|
-
"required": false,
|
|
4662
4559
|
"allowNo": false,
|
|
4663
4560
|
"type": "boolean"
|
|
4664
4561
|
},
|
|
@@ -4674,7 +4571,7 @@
|
|
|
4674
4571
|
},
|
|
4675
4572
|
"hasDynamicHelp": false,
|
|
4676
4573
|
"hiddenAliases": [],
|
|
4677
|
-
"id": "workspace:
|
|
4574
|
+
"id": "workspace:pull",
|
|
4678
4575
|
"pluginAlias": "@xano/cli",
|
|
4679
4576
|
"pluginName": "@xano/cli",
|
|
4680
4577
|
"pluginType": "core",
|
|
@@ -4685,26 +4582,24 @@
|
|
|
4685
4582
|
"dist",
|
|
4686
4583
|
"commands",
|
|
4687
4584
|
"workspace",
|
|
4688
|
-
"
|
|
4585
|
+
"pull",
|
|
4689
4586
|
"index.js"
|
|
4690
4587
|
]
|
|
4691
4588
|
},
|
|
4692
|
-
"workspace:
|
|
4589
|
+
"workspace:create": {
|
|
4693
4590
|
"aliases": [],
|
|
4694
4591
|
"args": {
|
|
4695
|
-
"
|
|
4696
|
-
"description": "
|
|
4697
|
-
"name": "
|
|
4592
|
+
"name": {
|
|
4593
|
+
"description": "Name of the workspace",
|
|
4594
|
+
"name": "name",
|
|
4698
4595
|
"required": true
|
|
4699
4596
|
}
|
|
4700
4597
|
},
|
|
4701
|
-
"description": "
|
|
4598
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4702
4599
|
"examples": [
|
|
4703
|
-
"$ xano workspace
|
|
4704
|
-
"$ xano workspace
|
|
4705
|
-
"$ xano workspace
|
|
4706
|
-
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4707
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4600
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4601
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4602
|
+
"$ 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"
|
|
4708
4603
|
],
|
|
4709
4604
|
"flags": {
|
|
4710
4605
|
"profile": {
|
|
@@ -4726,49 +4621,33 @@
|
|
|
4726
4621
|
"allowNo": false,
|
|
4727
4622
|
"type": "boolean"
|
|
4728
4623
|
},
|
|
4729
|
-
"
|
|
4730
|
-
"char": "
|
|
4731
|
-
"description": "
|
|
4732
|
-
"name": "
|
|
4733
|
-
"required": false,
|
|
4734
|
-
"hasDynamicHelp": false,
|
|
4735
|
-
"multiple": false,
|
|
4736
|
-
"type": "option"
|
|
4737
|
-
},
|
|
4738
|
-
"env": {
|
|
4739
|
-
"description": "Include environment variables",
|
|
4740
|
-
"name": "env",
|
|
4741
|
-
"required": false,
|
|
4742
|
-
"allowNo": false,
|
|
4743
|
-
"type": "boolean"
|
|
4744
|
-
},
|
|
4745
|
-
"draft": {
|
|
4746
|
-
"description": "Include draft versions",
|
|
4747
|
-
"name": "draft",
|
|
4748
|
-
"required": false,
|
|
4749
|
-
"allowNo": false,
|
|
4750
|
-
"type": "boolean"
|
|
4751
|
-
},
|
|
4752
|
-
"records": {
|
|
4753
|
-
"description": "Include records",
|
|
4754
|
-
"name": "records",
|
|
4755
|
-
"required": false,
|
|
4756
|
-
"allowNo": false,
|
|
4757
|
-
"type": "boolean"
|
|
4624
|
+
"description": {
|
|
4625
|
+
"char": "d",
|
|
4626
|
+
"description": "Description for the workspace",
|
|
4627
|
+
"name": "description",
|
|
4628
|
+
"required": false,
|
|
4629
|
+
"hasDynamicHelp": false,
|
|
4630
|
+
"multiple": false,
|
|
4631
|
+
"type": "option"
|
|
4758
4632
|
},
|
|
4759
|
-
"
|
|
4760
|
-
"char": "
|
|
4761
|
-
"description": "
|
|
4762
|
-
"name": "
|
|
4633
|
+
"output": {
|
|
4634
|
+
"char": "o",
|
|
4635
|
+
"description": "Output format",
|
|
4636
|
+
"name": "output",
|
|
4763
4637
|
"required": false,
|
|
4638
|
+
"default": "summary",
|
|
4764
4639
|
"hasDynamicHelp": false,
|
|
4765
4640
|
"multiple": false,
|
|
4641
|
+
"options": [
|
|
4642
|
+
"summary",
|
|
4643
|
+
"json"
|
|
4644
|
+
],
|
|
4766
4645
|
"type": "option"
|
|
4767
4646
|
}
|
|
4768
4647
|
},
|
|
4769
4648
|
"hasDynamicHelp": false,
|
|
4770
4649
|
"hiddenAliases": [],
|
|
4771
|
-
"id": "workspace:
|
|
4650
|
+
"id": "workspace:create",
|
|
4772
4651
|
"pluginAlias": "@xano/cli",
|
|
4773
4652
|
"pluginName": "@xano/cli",
|
|
4774
4653
|
"pluginType": "core",
|
|
@@ -4779,7 +4658,7 @@
|
|
|
4779
4658
|
"dist",
|
|
4780
4659
|
"commands",
|
|
4781
4660
|
"workspace",
|
|
4782
|
-
"
|
|
4661
|
+
"create",
|
|
4783
4662
|
"index.js"
|
|
4784
4663
|
]
|
|
4785
4664
|
},
|
|
@@ -4830,26 +4709,20 @@
|
|
|
4830
4709
|
"index.js"
|
|
4831
4710
|
]
|
|
4832
4711
|
},
|
|
4833
|
-
"static_host:build:
|
|
4712
|
+
"static_host:build:create": {
|
|
4834
4713
|
"aliases": [],
|
|
4835
4714
|
"args": {
|
|
4836
|
-
"build_id": {
|
|
4837
|
-
"description": "Build ID",
|
|
4838
|
-
"name": "build_id",
|
|
4839
|
-
"required": true
|
|
4840
|
-
},
|
|
4841
4715
|
"static_host": {
|
|
4842
4716
|
"description": "Static Host name",
|
|
4843
4717
|
"name": "static_host",
|
|
4844
4718
|
"required": true
|
|
4845
4719
|
}
|
|
4846
4720
|
},
|
|
4847
|
-
"description": "
|
|
4721
|
+
"description": "Create a new build for a static host",
|
|
4848
4722
|
"examples": [
|
|
4849
|
-
"$ xano static_host:build:
|
|
4850
|
-
"$ xano static_host:build:
|
|
4851
|
-
"$ xano static_host:build:
|
|
4852
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4723
|
+
"$ 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",
|
|
4724
|
+
"$ 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",
|
|
4725
|
+
"$ 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"
|
|
4853
4726
|
],
|
|
4854
4727
|
"flags": {
|
|
4855
4728
|
"profile": {
|
|
@@ -4871,6 +4744,33 @@
|
|
|
4871
4744
|
"allowNo": false,
|
|
4872
4745
|
"type": "boolean"
|
|
4873
4746
|
},
|
|
4747
|
+
"description": {
|
|
4748
|
+
"char": "d",
|
|
4749
|
+
"description": "Build description",
|
|
4750
|
+
"name": "description",
|
|
4751
|
+
"required": false,
|
|
4752
|
+
"hasDynamicHelp": false,
|
|
4753
|
+
"multiple": false,
|
|
4754
|
+
"type": "option"
|
|
4755
|
+
},
|
|
4756
|
+
"file": {
|
|
4757
|
+
"char": "f",
|
|
4758
|
+
"description": "Path to zip file to upload",
|
|
4759
|
+
"name": "file",
|
|
4760
|
+
"required": true,
|
|
4761
|
+
"hasDynamicHelp": false,
|
|
4762
|
+
"multiple": false,
|
|
4763
|
+
"type": "option"
|
|
4764
|
+
},
|
|
4765
|
+
"name": {
|
|
4766
|
+
"char": "n",
|
|
4767
|
+
"description": "Build name",
|
|
4768
|
+
"name": "name",
|
|
4769
|
+
"required": true,
|
|
4770
|
+
"hasDynamicHelp": false,
|
|
4771
|
+
"multiple": false,
|
|
4772
|
+
"type": "option"
|
|
4773
|
+
},
|
|
4874
4774
|
"output": {
|
|
4875
4775
|
"char": "o",
|
|
4876
4776
|
"description": "Output format",
|
|
@@ -4897,7 +4797,7 @@
|
|
|
4897
4797
|
},
|
|
4898
4798
|
"hasDynamicHelp": false,
|
|
4899
4799
|
"hiddenAliases": [],
|
|
4900
|
-
"id": "static_host:build:
|
|
4800
|
+
"id": "static_host:build:create",
|
|
4901
4801
|
"pluginAlias": "@xano/cli",
|
|
4902
4802
|
"pluginName": "@xano/cli",
|
|
4903
4803
|
"pluginType": "core",
|
|
@@ -4909,24 +4809,31 @@
|
|
|
4909
4809
|
"commands",
|
|
4910
4810
|
"static_host",
|
|
4911
4811
|
"build",
|
|
4912
|
-
"
|
|
4812
|
+
"create",
|
|
4913
4813
|
"index.js"
|
|
4914
4814
|
]
|
|
4915
4815
|
},
|
|
4916
|
-
"
|
|
4816
|
+
"workspace:push": {
|
|
4917
4817
|
"aliases": [],
|
|
4918
4818
|
"args": {
|
|
4919
|
-
"
|
|
4920
|
-
"description": "
|
|
4921
|
-
"name": "
|
|
4819
|
+
"directory": {
|
|
4820
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4821
|
+
"name": "directory",
|
|
4922
4822
|
"required": true
|
|
4923
4823
|
}
|
|
4924
4824
|
},
|
|
4925
|
-
"description": "
|
|
4825
|
+
"description": "Push local documents to a workspace. Shows a preview of changes before pushing unless --yes is specified.",
|
|
4926
4826
|
"examples": [
|
|
4927
|
-
"$ xano
|
|
4928
|
-
"$ xano
|
|
4929
|
-
"$ xano
|
|
4827
|
+
"$ xano workspace push ./my-workspace\nShows preview of changes, requires confirmation\n",
|
|
4828
|
+
"$ xano workspace push ./my-workspace --force\nSkip preview and push immediately (for CI/CD)\n",
|
|
4829
|
+
"$ xano workspace push ./my-workspace --delete\nShows preview including deletions, requires confirmation\n",
|
|
4830
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4831
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4832
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4833
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4834
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4835
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4836
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4930
4837
|
],
|
|
4931
4838
|
"flags": {
|
|
4932
4839
|
"profile": {
|
|
@@ -4948,46 +4855,56 @@
|
|
|
4948
4855
|
"allowNo": false,
|
|
4949
4856
|
"type": "boolean"
|
|
4950
4857
|
},
|
|
4951
|
-
"
|
|
4952
|
-
"char": "
|
|
4953
|
-
"description": "
|
|
4954
|
-
"name": "
|
|
4858
|
+
"branch": {
|
|
4859
|
+
"char": "b",
|
|
4860
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4861
|
+
"name": "branch",
|
|
4955
4862
|
"required": false,
|
|
4956
4863
|
"hasDynamicHelp": false,
|
|
4957
4864
|
"multiple": false,
|
|
4958
4865
|
"type": "option"
|
|
4959
4866
|
},
|
|
4960
|
-
"
|
|
4961
|
-
"
|
|
4962
|
-
"
|
|
4963
|
-
"
|
|
4964
|
-
"
|
|
4965
|
-
"
|
|
4966
|
-
"multiple": false,
|
|
4967
|
-
"type": "option"
|
|
4867
|
+
"delete": {
|
|
4868
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4869
|
+
"name": "delete",
|
|
4870
|
+
"required": false,
|
|
4871
|
+
"allowNo": true,
|
|
4872
|
+
"type": "boolean"
|
|
4968
4873
|
},
|
|
4969
|
-
"
|
|
4970
|
-
"
|
|
4971
|
-
"
|
|
4972
|
-
"
|
|
4973
|
-
"
|
|
4974
|
-
"
|
|
4975
|
-
"multiple": false,
|
|
4976
|
-
"type": "option"
|
|
4874
|
+
"env": {
|
|
4875
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4876
|
+
"name": "env",
|
|
4877
|
+
"required": false,
|
|
4878
|
+
"allowNo": true,
|
|
4879
|
+
"type": "boolean"
|
|
4977
4880
|
},
|
|
4978
|
-
"
|
|
4979
|
-
"
|
|
4980
|
-
"
|
|
4981
|
-
"name": "output",
|
|
4881
|
+
"partial": {
|
|
4882
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4883
|
+
"name": "partial",
|
|
4982
4884
|
"required": false,
|
|
4983
|
-
"
|
|
4984
|
-
"
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
"
|
|
4885
|
+
"allowNo": false,
|
|
4886
|
+
"type": "boolean"
|
|
4887
|
+
},
|
|
4888
|
+
"records": {
|
|
4889
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4890
|
+
"name": "records",
|
|
4891
|
+
"required": false,
|
|
4892
|
+
"allowNo": true,
|
|
4893
|
+
"type": "boolean"
|
|
4894
|
+
},
|
|
4895
|
+
"sync-guids": {
|
|
4896
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4897
|
+
"name": "sync-guids",
|
|
4898
|
+
"required": false,
|
|
4899
|
+
"allowNo": true,
|
|
4900
|
+
"type": "boolean"
|
|
4901
|
+
},
|
|
4902
|
+
"truncate": {
|
|
4903
|
+
"description": "Truncate all table records before importing",
|
|
4904
|
+
"name": "truncate",
|
|
4905
|
+
"required": false,
|
|
4906
|
+
"allowNo": false,
|
|
4907
|
+
"type": "boolean"
|
|
4991
4908
|
},
|
|
4992
4909
|
"workspace": {
|
|
4993
4910
|
"char": "w",
|
|
@@ -4997,11 +4914,18 @@
|
|
|
4997
4914
|
"hasDynamicHelp": false,
|
|
4998
4915
|
"multiple": false,
|
|
4999
4916
|
"type": "option"
|
|
4917
|
+
},
|
|
4918
|
+
"force": {
|
|
4919
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4920
|
+
"name": "force",
|
|
4921
|
+
"required": false,
|
|
4922
|
+
"allowNo": false,
|
|
4923
|
+
"type": "boolean"
|
|
5000
4924
|
}
|
|
5001
4925
|
},
|
|
5002
4926
|
"hasDynamicHelp": false,
|
|
5003
4927
|
"hiddenAliases": [],
|
|
5004
|
-
"id": "
|
|
4928
|
+
"id": "workspace:push",
|
|
5005
4929
|
"pluginAlias": "@xano/cli",
|
|
5006
4930
|
"pluginName": "@xano/cli",
|
|
5007
4931
|
"pluginType": "core",
|
|
@@ -5011,9 +4935,8 @@
|
|
|
5011
4935
|
"relativePath": [
|
|
5012
4936
|
"dist",
|
|
5013
4937
|
"commands",
|
|
5014
|
-
"
|
|
5015
|
-
"
|
|
5016
|
-
"create",
|
|
4938
|
+
"workspace",
|
|
4939
|
+
"push",
|
|
5017
4940
|
"index.js"
|
|
5018
4941
|
]
|
|
5019
4942
|
},
|
|
@@ -5183,7 +5106,100 @@
|
|
|
5183
5106
|
},
|
|
5184
5107
|
"hasDynamicHelp": false,
|
|
5185
5108
|
"hiddenAliases": [],
|
|
5186
|
-
"id": "tenant:backup:create",
|
|
5109
|
+
"id": "tenant:backup:create",
|
|
5110
|
+
"pluginAlias": "@xano/cli",
|
|
5111
|
+
"pluginName": "@xano/cli",
|
|
5112
|
+
"pluginType": "core",
|
|
5113
|
+
"strict": true,
|
|
5114
|
+
"enableJsonFlag": false,
|
|
5115
|
+
"isESM": true,
|
|
5116
|
+
"relativePath": [
|
|
5117
|
+
"dist",
|
|
5118
|
+
"commands",
|
|
5119
|
+
"tenant",
|
|
5120
|
+
"backup",
|
|
5121
|
+
"create",
|
|
5122
|
+
"index.js"
|
|
5123
|
+
]
|
|
5124
|
+
},
|
|
5125
|
+
"tenant:backup:delete": {
|
|
5126
|
+
"aliases": [],
|
|
5127
|
+
"args": {
|
|
5128
|
+
"tenant_name": {
|
|
5129
|
+
"description": "Tenant name that owns the backup",
|
|
5130
|
+
"name": "tenant_name",
|
|
5131
|
+
"required": true
|
|
5132
|
+
}
|
|
5133
|
+
},
|
|
5134
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5135
|
+
"examples": [
|
|
5136
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5137
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5138
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5139
|
+
],
|
|
5140
|
+
"flags": {
|
|
5141
|
+
"profile": {
|
|
5142
|
+
"char": "p",
|
|
5143
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5144
|
+
"env": "XANO_PROFILE",
|
|
5145
|
+
"name": "profile",
|
|
5146
|
+
"required": false,
|
|
5147
|
+
"hasDynamicHelp": false,
|
|
5148
|
+
"multiple": false,
|
|
5149
|
+
"type": "option"
|
|
5150
|
+
},
|
|
5151
|
+
"verbose": {
|
|
5152
|
+
"char": "v",
|
|
5153
|
+
"description": "Show detailed request/response information",
|
|
5154
|
+
"env": "XANO_VERBOSE",
|
|
5155
|
+
"name": "verbose",
|
|
5156
|
+
"required": false,
|
|
5157
|
+
"allowNo": false,
|
|
5158
|
+
"type": "boolean"
|
|
5159
|
+
},
|
|
5160
|
+
"backup_id": {
|
|
5161
|
+
"description": "Backup ID to delete",
|
|
5162
|
+
"name": "backup_id",
|
|
5163
|
+
"required": true,
|
|
5164
|
+
"hasDynamicHelp": false,
|
|
5165
|
+
"multiple": false,
|
|
5166
|
+
"type": "option"
|
|
5167
|
+
},
|
|
5168
|
+
"force": {
|
|
5169
|
+
"char": "f",
|
|
5170
|
+
"description": "Skip confirmation prompt",
|
|
5171
|
+
"name": "force",
|
|
5172
|
+
"required": false,
|
|
5173
|
+
"allowNo": false,
|
|
5174
|
+
"type": "boolean"
|
|
5175
|
+
},
|
|
5176
|
+
"output": {
|
|
5177
|
+
"char": "o",
|
|
5178
|
+
"description": "Output format",
|
|
5179
|
+
"name": "output",
|
|
5180
|
+
"required": false,
|
|
5181
|
+
"default": "summary",
|
|
5182
|
+
"hasDynamicHelp": false,
|
|
5183
|
+
"multiple": false,
|
|
5184
|
+
"options": [
|
|
5185
|
+
"summary",
|
|
5186
|
+
"json"
|
|
5187
|
+
],
|
|
5188
|
+
"type": "option"
|
|
5189
|
+
},
|
|
5190
|
+
"workspace": {
|
|
5191
|
+
"char": "w",
|
|
5192
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5193
|
+
"name": "workspace",
|
|
5194
|
+
"required": false,
|
|
5195
|
+
"hasDynamicHelp": false,
|
|
5196
|
+
"multiple": false,
|
|
5197
|
+
"type": "option"
|
|
5198
|
+
}
|
|
5199
|
+
},
|
|
5200
|
+
"hasDynamicHelp": false,
|
|
5201
|
+
"hiddenAliases": [],
|
|
5202
|
+
"id": "tenant:backup:delete",
|
|
5187
5203
|
"pluginAlias": "@xano/cli",
|
|
5188
5204
|
"pluginName": "@xano/cli",
|
|
5189
5205
|
"pluginType": "core",
|
|
@@ -5195,23 +5211,30 @@
|
|
|
5195
5211
|
"commands",
|
|
5196
5212
|
"tenant",
|
|
5197
5213
|
"backup",
|
|
5198
|
-
"
|
|
5214
|
+
"delete",
|
|
5199
5215
|
"index.js"
|
|
5200
5216
|
]
|
|
5201
5217
|
},
|
|
5202
|
-
"
|
|
5218
|
+
"static_host:build:get": {
|
|
5203
5219
|
"aliases": [],
|
|
5204
5220
|
"args": {
|
|
5205
|
-
"
|
|
5206
|
-
"description": "
|
|
5207
|
-
"name": "
|
|
5221
|
+
"build_id": {
|
|
5222
|
+
"description": "Build ID",
|
|
5223
|
+
"name": "build_id",
|
|
5224
|
+
"required": true
|
|
5225
|
+
},
|
|
5226
|
+
"static_host": {
|
|
5227
|
+
"description": "Static Host name",
|
|
5228
|
+
"name": "static_host",
|
|
5208
5229
|
"required": true
|
|
5209
5230
|
}
|
|
5210
5231
|
},
|
|
5211
|
-
"description": "
|
|
5232
|
+
"description": "Get details of a specific build for a static host",
|
|
5212
5233
|
"examples": [
|
|
5213
|
-
"$ xano
|
|
5214
|
-
"$ xano
|
|
5234
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5235
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5236
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5237
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5215
5238
|
],
|
|
5216
5239
|
"flags": {
|
|
5217
5240
|
"profile": {
|
|
@@ -5247,18 +5270,9 @@
|
|
|
5247
5270
|
],
|
|
5248
5271
|
"type": "option"
|
|
5249
5272
|
},
|
|
5250
|
-
"page": {
|
|
5251
|
-
"description": "Page number for pagination",
|
|
5252
|
-
"name": "page",
|
|
5253
|
-
"required": false,
|
|
5254
|
-
"default": 1,
|
|
5255
|
-
"hasDynamicHelp": false,
|
|
5256
|
-
"multiple": false,
|
|
5257
|
-
"type": "option"
|
|
5258
|
-
},
|
|
5259
5273
|
"workspace": {
|
|
5260
5274
|
"char": "w",
|
|
5261
|
-
"description": "Workspace ID (
|
|
5275
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5262
5276
|
"name": "workspace",
|
|
5263
5277
|
"required": false,
|
|
5264
5278
|
"hasDynamicHelp": false,
|
|
@@ -5268,7 +5282,7 @@
|
|
|
5268
5282
|
},
|
|
5269
5283
|
"hasDynamicHelp": false,
|
|
5270
5284
|
"hiddenAliases": [],
|
|
5271
|
-
"id": "
|
|
5285
|
+
"id": "static_host:build:get",
|
|
5272
5286
|
"pluginAlias": "@xano/cli",
|
|
5273
5287
|
"pluginName": "@xano/cli",
|
|
5274
5288
|
"pluginType": "core",
|
|
@@ -5278,25 +5292,26 @@
|
|
|
5278
5292
|
"relativePath": [
|
|
5279
5293
|
"dist",
|
|
5280
5294
|
"commands",
|
|
5281
|
-
"
|
|
5282
|
-
"
|
|
5283
|
-
"
|
|
5295
|
+
"static_host",
|
|
5296
|
+
"build",
|
|
5297
|
+
"get",
|
|
5284
5298
|
"index.js"
|
|
5285
5299
|
]
|
|
5286
5300
|
},
|
|
5287
|
-
"tenant:backup:
|
|
5301
|
+
"tenant:backup:export": {
|
|
5288
5302
|
"aliases": [],
|
|
5289
5303
|
"args": {
|
|
5290
5304
|
"tenant_name": {
|
|
5291
|
-
"description": "Tenant name to
|
|
5305
|
+
"description": "Tenant name to export backup from",
|
|
5292
5306
|
"name": "tenant_name",
|
|
5293
5307
|
"required": true
|
|
5294
5308
|
}
|
|
5295
5309
|
},
|
|
5296
|
-
"description": "
|
|
5310
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5297
5311
|
"examples": [
|
|
5298
|
-
"$ xano tenant backup
|
|
5299
|
-
"$ xano tenant backup
|
|
5312
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5313
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5314
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5300
5315
|
],
|
|
5301
5316
|
"flags": {
|
|
5302
5317
|
"profile": {
|
|
@@ -5319,25 +5334,17 @@
|
|
|
5319
5334
|
"type": "boolean"
|
|
5320
5335
|
},
|
|
5321
5336
|
"backup_id": {
|
|
5322
|
-
"description": "Backup ID to
|
|
5337
|
+
"description": "Backup ID to export",
|
|
5323
5338
|
"name": "backup_id",
|
|
5324
5339
|
"required": true,
|
|
5325
5340
|
"hasDynamicHelp": false,
|
|
5326
5341
|
"multiple": false,
|
|
5327
5342
|
"type": "option"
|
|
5328
5343
|
},
|
|
5329
|
-
"
|
|
5330
|
-
"char": "f",
|
|
5331
|
-
"description": "Skip confirmation prompt",
|
|
5332
|
-
"name": "force",
|
|
5333
|
-
"required": false,
|
|
5334
|
-
"allowNo": false,
|
|
5335
|
-
"type": "boolean"
|
|
5336
|
-
},
|
|
5337
|
-
"output": {
|
|
5344
|
+
"format": {
|
|
5338
5345
|
"char": "o",
|
|
5339
5346
|
"description": "Output format",
|
|
5340
|
-
"name": "
|
|
5347
|
+
"name": "format",
|
|
5341
5348
|
"required": false,
|
|
5342
5349
|
"default": "summary",
|
|
5343
5350
|
"hasDynamicHelp": false,
|
|
@@ -5348,6 +5355,14 @@
|
|
|
5348
5355
|
],
|
|
5349
5356
|
"type": "option"
|
|
5350
5357
|
},
|
|
5358
|
+
"output": {
|
|
5359
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5360
|
+
"name": "output",
|
|
5361
|
+
"required": false,
|
|
5362
|
+
"hasDynamicHelp": false,
|
|
5363
|
+
"multiple": false,
|
|
5364
|
+
"type": "option"
|
|
5365
|
+
},
|
|
5351
5366
|
"workspace": {
|
|
5352
5367
|
"char": "w",
|
|
5353
5368
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5360,7 +5375,7 @@
|
|
|
5360
5375
|
},
|
|
5361
5376
|
"hasDynamicHelp": false,
|
|
5362
5377
|
"hiddenAliases": [],
|
|
5363
|
-
"id": "tenant:backup:
|
|
5378
|
+
"id": "tenant:backup:export",
|
|
5364
5379
|
"pluginAlias": "@xano/cli",
|
|
5365
5380
|
"pluginName": "@xano/cli",
|
|
5366
5381
|
"pluginType": "core",
|
|
@@ -5372,7 +5387,7 @@
|
|
|
5372
5387
|
"commands",
|
|
5373
5388
|
"tenant",
|
|
5374
5389
|
"backup",
|
|
5375
|
-
"
|
|
5390
|
+
"export",
|
|
5376
5391
|
"index.js"
|
|
5377
5392
|
]
|
|
5378
5393
|
},
|
|
@@ -5471,13 +5486,19 @@
|
|
|
5471
5486
|
"index.js"
|
|
5472
5487
|
]
|
|
5473
5488
|
},
|
|
5474
|
-
"tenant:
|
|
5489
|
+
"tenant:backup:list": {
|
|
5475
5490
|
"aliases": [],
|
|
5476
|
-
"args": {
|
|
5477
|
-
|
|
5491
|
+
"args": {
|
|
5492
|
+
"tenant_name": {
|
|
5493
|
+
"description": "Tenant name to list backups for",
|
|
5494
|
+
"name": "tenant_name",
|
|
5495
|
+
"required": true
|
|
5496
|
+
}
|
|
5497
|
+
},
|
|
5498
|
+
"description": "List backups for a tenant",
|
|
5478
5499
|
"examples": [
|
|
5479
|
-
"$ xano tenant
|
|
5480
|
-
"$ xano tenant
|
|
5500
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5501
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5481
5502
|
],
|
|
5482
5503
|
"flags": {
|
|
5483
5504
|
"profile": {
|
|
@@ -5499,54 +5520,6 @@
|
|
|
5499
5520
|
"allowNo": false,
|
|
5500
5521
|
"type": "boolean"
|
|
5501
5522
|
},
|
|
5502
|
-
"credentials": {
|
|
5503
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
5504
|
-
"exclusive": [
|
|
5505
|
-
"credentials_file"
|
|
5506
|
-
],
|
|
5507
|
-
"name": "credentials",
|
|
5508
|
-
"required": false,
|
|
5509
|
-
"hasDynamicHelp": false,
|
|
5510
|
-
"multiple": false,
|
|
5511
|
-
"type": "option"
|
|
5512
|
-
},
|
|
5513
|
-
"credentials_file": {
|
|
5514
|
-
"description": "Path to kubeconfig credentials file",
|
|
5515
|
-
"exclusive": [
|
|
5516
|
-
"credentials"
|
|
5517
|
-
],
|
|
5518
|
-
"name": "credentials_file",
|
|
5519
|
-
"required": false,
|
|
5520
|
-
"hasDynamicHelp": false,
|
|
5521
|
-
"multiple": false,
|
|
5522
|
-
"type": "option"
|
|
5523
|
-
},
|
|
5524
|
-
"description": {
|
|
5525
|
-
"char": "d",
|
|
5526
|
-
"description": "Cluster description",
|
|
5527
|
-
"name": "description",
|
|
5528
|
-
"required": false,
|
|
5529
|
-
"hasDynamicHelp": false,
|
|
5530
|
-
"multiple": false,
|
|
5531
|
-
"type": "option"
|
|
5532
|
-
},
|
|
5533
|
-
"domain": {
|
|
5534
|
-
"description": "Custom domain for the cluster",
|
|
5535
|
-
"name": "domain",
|
|
5536
|
-
"required": false,
|
|
5537
|
-
"hasDynamicHelp": false,
|
|
5538
|
-
"multiple": false,
|
|
5539
|
-
"type": "option"
|
|
5540
|
-
},
|
|
5541
|
-
"name": {
|
|
5542
|
-
"char": "n",
|
|
5543
|
-
"description": "Cluster name",
|
|
5544
|
-
"name": "name",
|
|
5545
|
-
"required": true,
|
|
5546
|
-
"hasDynamicHelp": false,
|
|
5547
|
-
"multiple": false,
|
|
5548
|
-
"type": "option"
|
|
5549
|
-
},
|
|
5550
5523
|
"output": {
|
|
5551
5524
|
"char": "o",
|
|
5552
5525
|
"description": "Output format",
|
|
@@ -5561,23 +5534,28 @@
|
|
|
5561
5534
|
],
|
|
5562
5535
|
"type": "option"
|
|
5563
5536
|
},
|
|
5564
|
-
"
|
|
5565
|
-
"description": "
|
|
5566
|
-
"name": "
|
|
5537
|
+
"page": {
|
|
5538
|
+
"description": "Page number for pagination",
|
|
5539
|
+
"name": "page",
|
|
5540
|
+
"required": false,
|
|
5541
|
+
"default": 1,
|
|
5542
|
+
"hasDynamicHelp": false,
|
|
5543
|
+
"multiple": false,
|
|
5544
|
+
"type": "option"
|
|
5545
|
+
},
|
|
5546
|
+
"workspace": {
|
|
5547
|
+
"char": "w",
|
|
5548
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5549
|
+
"name": "workspace",
|
|
5567
5550
|
"required": false,
|
|
5568
|
-
"default": "standard",
|
|
5569
5551
|
"hasDynamicHelp": false,
|
|
5570
5552
|
"multiple": false,
|
|
5571
|
-
"options": [
|
|
5572
|
-
"standard",
|
|
5573
|
-
"run"
|
|
5574
|
-
],
|
|
5575
5553
|
"type": "option"
|
|
5576
5554
|
}
|
|
5577
5555
|
},
|
|
5578
5556
|
"hasDynamicHelp": false,
|
|
5579
5557
|
"hiddenAliases": [],
|
|
5580
|
-
"id": "tenant:
|
|
5558
|
+
"id": "tenant:backup:list",
|
|
5581
5559
|
"pluginAlias": "@xano/cli",
|
|
5582
5560
|
"pluginName": "@xano/cli",
|
|
5583
5561
|
"pluginType": "core",
|
|
@@ -5588,24 +5566,24 @@
|
|
|
5588
5566
|
"dist",
|
|
5589
5567
|
"commands",
|
|
5590
5568
|
"tenant",
|
|
5591
|
-
"
|
|
5592
|
-
"
|
|
5569
|
+
"backup",
|
|
5570
|
+
"list",
|
|
5593
5571
|
"index.js"
|
|
5594
5572
|
]
|
|
5595
5573
|
},
|
|
5596
|
-
"tenant:
|
|
5574
|
+
"tenant:backup:restore": {
|
|
5597
5575
|
"aliases": [],
|
|
5598
5576
|
"args": {
|
|
5599
|
-
"
|
|
5600
|
-
"description": "
|
|
5601
|
-
"name": "
|
|
5577
|
+
"tenant_name": {
|
|
5578
|
+
"description": "Tenant name to restore",
|
|
5579
|
+
"name": "tenant_name",
|
|
5602
5580
|
"required": true
|
|
5603
5581
|
}
|
|
5604
5582
|
},
|
|
5605
|
-
"description": "
|
|
5583
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5606
5584
|
"examples": [
|
|
5607
|
-
"$ xano tenant
|
|
5608
|
-
"$ xano tenant
|
|
5585
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5586
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5609
5587
|
],
|
|
5610
5588
|
"flags": {
|
|
5611
5589
|
"profile": {
|
|
@@ -5627,31 +5605,21 @@
|
|
|
5627
5605
|
"allowNo": false,
|
|
5628
5606
|
"type": "boolean"
|
|
5629
5607
|
},
|
|
5630
|
-
"
|
|
5631
|
-
"
|
|
5632
|
-
"
|
|
5633
|
-
"name": "description",
|
|
5634
|
-
"required": true,
|
|
5635
|
-
"hasDynamicHelp": false,
|
|
5636
|
-
"multiple": false,
|
|
5637
|
-
"type": "option"
|
|
5638
|
-
},
|
|
5639
|
-
"domain": {
|
|
5640
|
-
"description": "Custom domain for the cluster",
|
|
5641
|
-
"name": "domain",
|
|
5608
|
+
"backup_id": {
|
|
5609
|
+
"description": "Backup ID to restore from",
|
|
5610
|
+
"name": "backup_id",
|
|
5642
5611
|
"required": true,
|
|
5643
5612
|
"hasDynamicHelp": false,
|
|
5644
5613
|
"multiple": false,
|
|
5645
5614
|
"type": "option"
|
|
5646
5615
|
},
|
|
5647
|
-
"
|
|
5648
|
-
"char": "
|
|
5649
|
-
"description": "
|
|
5650
|
-
"name": "
|
|
5651
|
-
"required":
|
|
5652
|
-
"
|
|
5653
|
-
"
|
|
5654
|
-
"type": "option"
|
|
5616
|
+
"force": {
|
|
5617
|
+
"char": "f",
|
|
5618
|
+
"description": "Skip confirmation prompt",
|
|
5619
|
+
"name": "force",
|
|
5620
|
+
"required": false,
|
|
5621
|
+
"allowNo": false,
|
|
5622
|
+
"type": "boolean"
|
|
5655
5623
|
},
|
|
5656
5624
|
"output": {
|
|
5657
5625
|
"char": "o",
|
|
@@ -5667,22 +5635,19 @@
|
|
|
5667
5635
|
],
|
|
5668
5636
|
"type": "option"
|
|
5669
5637
|
},
|
|
5670
|
-
"
|
|
5671
|
-
"
|
|
5672
|
-
"
|
|
5673
|
-
"
|
|
5638
|
+
"workspace": {
|
|
5639
|
+
"char": "w",
|
|
5640
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5641
|
+
"name": "workspace",
|
|
5642
|
+
"required": false,
|
|
5674
5643
|
"hasDynamicHelp": false,
|
|
5675
5644
|
"multiple": false,
|
|
5676
|
-
"options": [
|
|
5677
|
-
"standard",
|
|
5678
|
-
"run"
|
|
5679
|
-
],
|
|
5680
5645
|
"type": "option"
|
|
5681
5646
|
}
|
|
5682
5647
|
},
|
|
5683
5648
|
"hasDynamicHelp": false,
|
|
5684
5649
|
"hiddenAliases": [],
|
|
5685
|
-
"id": "tenant:
|
|
5650
|
+
"id": "tenant:backup:restore",
|
|
5686
5651
|
"pluginAlias": "@xano/cli",
|
|
5687
5652
|
"pluginName": "@xano/cli",
|
|
5688
5653
|
"pluginType": "core",
|
|
@@ -5693,24 +5658,18 @@
|
|
|
5693
5658
|
"dist",
|
|
5694
5659
|
"commands",
|
|
5695
5660
|
"tenant",
|
|
5696
|
-
"
|
|
5697
|
-
"
|
|
5661
|
+
"backup",
|
|
5662
|
+
"restore",
|
|
5698
5663
|
"index.js"
|
|
5699
5664
|
]
|
|
5700
5665
|
},
|
|
5701
|
-
"tenant:cluster:
|
|
5666
|
+
"tenant:cluster:create": {
|
|
5702
5667
|
"aliases": [],
|
|
5703
|
-
"args": {
|
|
5704
|
-
|
|
5705
|
-
"description": "Cluster ID to retrieve",
|
|
5706
|
-
"name": "cluster_id",
|
|
5707
|
-
"required": true
|
|
5708
|
-
}
|
|
5709
|
-
},
|
|
5710
|
-
"description": "Get details of a specific tenant cluster",
|
|
5668
|
+
"args": {},
|
|
5669
|
+
"description": "Create a new tenant cluster",
|
|
5711
5670
|
"examples": [
|
|
5712
|
-
"$ xano tenant cluster
|
|
5713
|
-
"$ xano tenant cluster
|
|
5671
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5672
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5714
5673
|
],
|
|
5715
5674
|
"flags": {
|
|
5716
5675
|
"profile": {
|
|
@@ -5732,6 +5691,54 @@
|
|
|
5732
5691
|
"allowNo": false,
|
|
5733
5692
|
"type": "boolean"
|
|
5734
5693
|
},
|
|
5694
|
+
"credentials": {
|
|
5695
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5696
|
+
"exclusive": [
|
|
5697
|
+
"credentials_file"
|
|
5698
|
+
],
|
|
5699
|
+
"name": "credentials",
|
|
5700
|
+
"required": false,
|
|
5701
|
+
"hasDynamicHelp": false,
|
|
5702
|
+
"multiple": false,
|
|
5703
|
+
"type": "option"
|
|
5704
|
+
},
|
|
5705
|
+
"credentials_file": {
|
|
5706
|
+
"description": "Path to kubeconfig credentials file",
|
|
5707
|
+
"exclusive": [
|
|
5708
|
+
"credentials"
|
|
5709
|
+
],
|
|
5710
|
+
"name": "credentials_file",
|
|
5711
|
+
"required": false,
|
|
5712
|
+
"hasDynamicHelp": false,
|
|
5713
|
+
"multiple": false,
|
|
5714
|
+
"type": "option"
|
|
5715
|
+
},
|
|
5716
|
+
"description": {
|
|
5717
|
+
"char": "d",
|
|
5718
|
+
"description": "Cluster description",
|
|
5719
|
+
"name": "description",
|
|
5720
|
+
"required": false,
|
|
5721
|
+
"hasDynamicHelp": false,
|
|
5722
|
+
"multiple": false,
|
|
5723
|
+
"type": "option"
|
|
5724
|
+
},
|
|
5725
|
+
"domain": {
|
|
5726
|
+
"description": "Custom domain for the cluster",
|
|
5727
|
+
"name": "domain",
|
|
5728
|
+
"required": false,
|
|
5729
|
+
"hasDynamicHelp": false,
|
|
5730
|
+
"multiple": false,
|
|
5731
|
+
"type": "option"
|
|
5732
|
+
},
|
|
5733
|
+
"name": {
|
|
5734
|
+
"char": "n",
|
|
5735
|
+
"description": "Cluster name",
|
|
5736
|
+
"name": "name",
|
|
5737
|
+
"required": true,
|
|
5738
|
+
"hasDynamicHelp": false,
|
|
5739
|
+
"multiple": false,
|
|
5740
|
+
"type": "option"
|
|
5741
|
+
},
|
|
5735
5742
|
"output": {
|
|
5736
5743
|
"char": "o",
|
|
5737
5744
|
"description": "Output format",
|
|
@@ -5745,11 +5752,24 @@
|
|
|
5745
5752
|
"json"
|
|
5746
5753
|
],
|
|
5747
5754
|
"type": "option"
|
|
5755
|
+
},
|
|
5756
|
+
"type": {
|
|
5757
|
+
"description": "Cluster type",
|
|
5758
|
+
"name": "type",
|
|
5759
|
+
"required": false,
|
|
5760
|
+
"default": "standard",
|
|
5761
|
+
"hasDynamicHelp": false,
|
|
5762
|
+
"multiple": false,
|
|
5763
|
+
"options": [
|
|
5764
|
+
"standard",
|
|
5765
|
+
"run"
|
|
5766
|
+
],
|
|
5767
|
+
"type": "option"
|
|
5748
5768
|
}
|
|
5749
5769
|
},
|
|
5750
5770
|
"hasDynamicHelp": false,
|
|
5751
5771
|
"hiddenAliases": [],
|
|
5752
|
-
"id": "tenant:cluster:
|
|
5772
|
+
"id": "tenant:cluster:create",
|
|
5753
5773
|
"pluginAlias": "@xano/cli",
|
|
5754
5774
|
"pluginName": "@xano/cli",
|
|
5755
5775
|
"pluginType": "core",
|
|
@@ -5761,7 +5781,7 @@
|
|
|
5761
5781
|
"commands",
|
|
5762
5782
|
"tenant",
|
|
5763
5783
|
"cluster",
|
|
5764
|
-
"
|
|
5784
|
+
"create",
|
|
5765
5785
|
"index.js"
|
|
5766
5786
|
]
|
|
5767
5787
|
},
|
|
@@ -5841,20 +5861,19 @@
|
|
|
5841
5861
|
"index.js"
|
|
5842
5862
|
]
|
|
5843
5863
|
},
|
|
5844
|
-
"tenant:
|
|
5864
|
+
"tenant:cluster:edit": {
|
|
5845
5865
|
"aliases": [],
|
|
5846
5866
|
"args": {
|
|
5847
|
-
"
|
|
5848
|
-
"description": "
|
|
5849
|
-
"name": "
|
|
5867
|
+
"cluster_id": {
|
|
5868
|
+
"description": "Cluster ID to edit",
|
|
5869
|
+
"name": "cluster_id",
|
|
5850
5870
|
"required": true
|
|
5851
5871
|
}
|
|
5852
5872
|
},
|
|
5853
|
-
"description": "
|
|
5873
|
+
"description": "Update an existing tenant cluster",
|
|
5854
5874
|
"examples": [
|
|
5855
|
-
"$ xano tenant
|
|
5856
|
-
"$ xano tenant
|
|
5857
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5875
|
+
"$ 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",
|
|
5876
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5858
5877
|
],
|
|
5859
5878
|
"flags": {
|
|
5860
5879
|
"profile": {
|
|
@@ -5876,18 +5895,36 @@
|
|
|
5876
5895
|
"allowNo": false,
|
|
5877
5896
|
"type": "boolean"
|
|
5878
5897
|
},
|
|
5879
|
-
"
|
|
5880
|
-
"
|
|
5881
|
-
"
|
|
5898
|
+
"description": {
|
|
5899
|
+
"char": "d",
|
|
5900
|
+
"description": "Cluster description",
|
|
5901
|
+
"name": "description",
|
|
5882
5902
|
"required": true,
|
|
5883
5903
|
"hasDynamicHelp": false,
|
|
5884
5904
|
"multiple": false,
|
|
5885
5905
|
"type": "option"
|
|
5886
5906
|
},
|
|
5887
|
-
"
|
|
5907
|
+
"domain": {
|
|
5908
|
+
"description": "Custom domain for the cluster",
|
|
5909
|
+
"name": "domain",
|
|
5910
|
+
"required": true,
|
|
5911
|
+
"hasDynamicHelp": false,
|
|
5912
|
+
"multiple": false,
|
|
5913
|
+
"type": "option"
|
|
5914
|
+
},
|
|
5915
|
+
"name": {
|
|
5916
|
+
"char": "n",
|
|
5917
|
+
"description": "Cluster name",
|
|
5918
|
+
"name": "name",
|
|
5919
|
+
"required": true,
|
|
5920
|
+
"hasDynamicHelp": false,
|
|
5921
|
+
"multiple": false,
|
|
5922
|
+
"type": "option"
|
|
5923
|
+
},
|
|
5924
|
+
"output": {
|
|
5888
5925
|
"char": "o",
|
|
5889
5926
|
"description": "Output format",
|
|
5890
|
-
"name": "
|
|
5927
|
+
"name": "output",
|
|
5891
5928
|
"required": false,
|
|
5892
5929
|
"default": "summary",
|
|
5893
5930
|
"hasDynamicHelp": false,
|
|
@@ -5898,27 +5935,22 @@
|
|
|
5898
5935
|
],
|
|
5899
5936
|
"type": "option"
|
|
5900
5937
|
},
|
|
5901
|
-
"
|
|
5902
|
-
"description": "
|
|
5903
|
-
"name": "
|
|
5904
|
-
"required":
|
|
5905
|
-
"hasDynamicHelp": false,
|
|
5906
|
-
"multiple": false,
|
|
5907
|
-
"type": "option"
|
|
5908
|
-
},
|
|
5909
|
-
"workspace": {
|
|
5910
|
-
"char": "w",
|
|
5911
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5912
|
-
"name": "workspace",
|
|
5913
|
-
"required": false,
|
|
5938
|
+
"type": {
|
|
5939
|
+
"description": "Cluster type",
|
|
5940
|
+
"name": "type",
|
|
5941
|
+
"required": true,
|
|
5914
5942
|
"hasDynamicHelp": false,
|
|
5915
5943
|
"multiple": false,
|
|
5944
|
+
"options": [
|
|
5945
|
+
"standard",
|
|
5946
|
+
"run"
|
|
5947
|
+
],
|
|
5916
5948
|
"type": "option"
|
|
5917
5949
|
}
|
|
5918
5950
|
},
|
|
5919
5951
|
"hasDynamicHelp": false,
|
|
5920
5952
|
"hiddenAliases": [],
|
|
5921
|
-
"id": "tenant:
|
|
5953
|
+
"id": "tenant:cluster:edit",
|
|
5922
5954
|
"pluginAlias": "@xano/cli",
|
|
5923
5955
|
"pluginName": "@xano/cli",
|
|
5924
5956
|
"pluginType": "core",
|
|
@@ -5929,18 +5961,24 @@
|
|
|
5929
5961
|
"dist",
|
|
5930
5962
|
"commands",
|
|
5931
5963
|
"tenant",
|
|
5932
|
-
"
|
|
5933
|
-
"
|
|
5964
|
+
"cluster",
|
|
5965
|
+
"edit",
|
|
5934
5966
|
"index.js"
|
|
5935
5967
|
]
|
|
5936
5968
|
},
|
|
5937
|
-
"tenant:cluster:
|
|
5969
|
+
"tenant:cluster:get": {
|
|
5938
5970
|
"aliases": [],
|
|
5939
|
-
"args": {
|
|
5940
|
-
|
|
5971
|
+
"args": {
|
|
5972
|
+
"cluster_id": {
|
|
5973
|
+
"description": "Cluster ID to retrieve",
|
|
5974
|
+
"name": "cluster_id",
|
|
5975
|
+
"required": true
|
|
5976
|
+
}
|
|
5977
|
+
},
|
|
5978
|
+
"description": "Get details of a specific tenant cluster",
|
|
5941
5979
|
"examples": [
|
|
5942
|
-
"$ xano tenant cluster
|
|
5943
|
-
"$ xano tenant cluster
|
|
5980
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5981
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5944
5982
|
],
|
|
5945
5983
|
"flags": {
|
|
5946
5984
|
"profile": {
|
|
@@ -5979,7 +6017,7 @@
|
|
|
5979
6017
|
},
|
|
5980
6018
|
"hasDynamicHelp": false,
|
|
5981
6019
|
"hiddenAliases": [],
|
|
5982
|
-
"id": "tenant:cluster:
|
|
6020
|
+
"id": "tenant:cluster:get",
|
|
5983
6021
|
"pluginAlias": "@xano/cli",
|
|
5984
6022
|
"pluginName": "@xano/cli",
|
|
5985
6023
|
"pluginType": "core",
|
|
@@ -5991,24 +6029,17 @@
|
|
|
5991
6029
|
"commands",
|
|
5992
6030
|
"tenant",
|
|
5993
6031
|
"cluster",
|
|
5994
|
-
"
|
|
6032
|
+
"get",
|
|
5995
6033
|
"index.js"
|
|
5996
6034
|
]
|
|
5997
6035
|
},
|
|
5998
|
-
"tenant:
|
|
6036
|
+
"tenant:cluster:list": {
|
|
5999
6037
|
"aliases": [],
|
|
6000
|
-
"args": {
|
|
6001
|
-
|
|
6002
|
-
"description": "Tenant name that owns the backup",
|
|
6003
|
-
"name": "tenant_name",
|
|
6004
|
-
"required": true
|
|
6005
|
-
}
|
|
6006
|
-
},
|
|
6007
|
-
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
6038
|
+
"args": {},
|
|
6039
|
+
"description": "List all tenant clusters",
|
|
6008
6040
|
"examples": [
|
|
6009
|
-
"$ xano tenant
|
|
6010
|
-
"$ xano tenant
|
|
6011
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
6041
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6042
|
+
"$ xano tenant cluster list --output json"
|
|
6012
6043
|
],
|
|
6013
6044
|
"flags": {
|
|
6014
6045
|
"profile": {
|
|
@@ -6030,22 +6061,6 @@
|
|
|
6030
6061
|
"allowNo": false,
|
|
6031
6062
|
"type": "boolean"
|
|
6032
6063
|
},
|
|
6033
|
-
"backup_id": {
|
|
6034
|
-
"description": "Backup ID to delete",
|
|
6035
|
-
"name": "backup_id",
|
|
6036
|
-
"required": true,
|
|
6037
|
-
"hasDynamicHelp": false,
|
|
6038
|
-
"multiple": false,
|
|
6039
|
-
"type": "option"
|
|
6040
|
-
},
|
|
6041
|
-
"force": {
|
|
6042
|
-
"char": "f",
|
|
6043
|
-
"description": "Skip confirmation prompt",
|
|
6044
|
-
"name": "force",
|
|
6045
|
-
"required": false,
|
|
6046
|
-
"allowNo": false,
|
|
6047
|
-
"type": "boolean"
|
|
6048
|
-
},
|
|
6049
6064
|
"output": {
|
|
6050
6065
|
"char": "o",
|
|
6051
6066
|
"description": "Output format",
|
|
@@ -6059,20 +6074,11 @@
|
|
|
6059
6074
|
"json"
|
|
6060
6075
|
],
|
|
6061
6076
|
"type": "option"
|
|
6062
|
-
},
|
|
6063
|
-
"workspace": {
|
|
6064
|
-
"char": "w",
|
|
6065
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6066
|
-
"name": "workspace",
|
|
6067
|
-
"required": false,
|
|
6068
|
-
"hasDynamicHelp": false,
|
|
6069
|
-
"multiple": false,
|
|
6070
|
-
"type": "option"
|
|
6071
6077
|
}
|
|
6072
6078
|
},
|
|
6073
6079
|
"hasDynamicHelp": false,
|
|
6074
6080
|
"hiddenAliases": [],
|
|
6075
|
-
"id": "tenant:
|
|
6081
|
+
"id": "tenant:cluster:list",
|
|
6076
6082
|
"pluginAlias": "@xano/cli",
|
|
6077
6083
|
"pluginName": "@xano/cli",
|
|
6078
6084
|
"pluginType": "core",
|
|
@@ -6083,8 +6089,8 @@
|
|
|
6083
6089
|
"dist",
|
|
6084
6090
|
"commands",
|
|
6085
6091
|
"tenant",
|
|
6086
|
-
"
|
|
6087
|
-
"
|
|
6092
|
+
"cluster",
|
|
6093
|
+
"list",
|
|
6088
6094
|
"index.js"
|
|
6089
6095
|
]
|
|
6090
6096
|
},
|
|
@@ -6182,7 +6188,7 @@
|
|
|
6182
6188
|
"index.js"
|
|
6183
6189
|
]
|
|
6184
6190
|
},
|
|
6185
|
-
"tenant:env:
|
|
6191
|
+
"tenant:env:get": {
|
|
6186
6192
|
"aliases": [],
|
|
6187
6193
|
"args": {
|
|
6188
6194
|
"tenant_name": {
|
|
@@ -6191,12 +6197,10 @@
|
|
|
6191
6197
|
"required": true
|
|
6192
6198
|
}
|
|
6193
6199
|
},
|
|
6194
|
-
"description": "Get
|
|
6200
|
+
"description": "Get a single environment variable for a tenant",
|
|
6195
6201
|
"examples": [
|
|
6196
|
-
"$ xano tenant env
|
|
6197
|
-
"$ xano tenant env
|
|
6198
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6199
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6202
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6203
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6200
6204
|
],
|
|
6201
6205
|
"flags": {
|
|
6202
6206
|
"profile": {
|
|
@@ -6218,11 +6222,11 @@
|
|
|
6218
6222
|
"allowNo": false,
|
|
6219
6223
|
"type": "boolean"
|
|
6220
6224
|
},
|
|
6221
|
-
"
|
|
6222
|
-
"char": "
|
|
6223
|
-
"description": "
|
|
6224
|
-
"name": "
|
|
6225
|
-
"required":
|
|
6225
|
+
"name": {
|
|
6226
|
+
"char": "n",
|
|
6227
|
+
"description": "Environment variable name",
|
|
6228
|
+
"name": "name",
|
|
6229
|
+
"required": true,
|
|
6226
6230
|
"hasDynamicHelp": false,
|
|
6227
6231
|
"multiple": false,
|
|
6228
6232
|
"type": "option"
|
|
@@ -6241,13 +6245,6 @@
|
|
|
6241
6245
|
],
|
|
6242
6246
|
"type": "option"
|
|
6243
6247
|
},
|
|
6244
|
-
"view": {
|
|
6245
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6246
|
-
"name": "view",
|
|
6247
|
-
"required": false,
|
|
6248
|
-
"allowNo": false,
|
|
6249
|
-
"type": "boolean"
|
|
6250
|
-
},
|
|
6251
6248
|
"workspace": {
|
|
6252
6249
|
"char": "w",
|
|
6253
6250
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6260,7 +6257,7 @@
|
|
|
6260
6257
|
},
|
|
6261
6258
|
"hasDynamicHelp": false,
|
|
6262
6259
|
"hiddenAliases": [],
|
|
6263
|
-
"id": "tenant:env:
|
|
6260
|
+
"id": "tenant:env:get",
|
|
6264
6261
|
"pluginAlias": "@xano/cli",
|
|
6265
6262
|
"pluginName": "@xano/cli",
|
|
6266
6263
|
"pluginType": "core",
|
|
@@ -6272,11 +6269,11 @@
|
|
|
6272
6269
|
"commands",
|
|
6273
6270
|
"tenant",
|
|
6274
6271
|
"env",
|
|
6275
|
-
"
|
|
6272
|
+
"get",
|
|
6276
6273
|
"index.js"
|
|
6277
6274
|
]
|
|
6278
6275
|
},
|
|
6279
|
-
"tenant:env:
|
|
6276
|
+
"tenant:env:get_all": {
|
|
6280
6277
|
"aliases": [],
|
|
6281
6278
|
"args": {
|
|
6282
6279
|
"tenant_name": {
|
|
@@ -6285,10 +6282,12 @@
|
|
|
6285
6282
|
"required": true
|
|
6286
6283
|
}
|
|
6287
6284
|
},
|
|
6288
|
-
"description": "
|
|
6285
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6289
6286
|
"examples": [
|
|
6290
|
-
"$ xano tenant env
|
|
6291
|
-
"$ xano tenant env
|
|
6287
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6288
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6289
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6290
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6292
6291
|
],
|
|
6293
6292
|
"flags": {
|
|
6294
6293
|
"profile": {
|
|
@@ -6310,6 +6309,15 @@
|
|
|
6310
6309
|
"allowNo": false,
|
|
6311
6310
|
"type": "boolean"
|
|
6312
6311
|
},
|
|
6312
|
+
"file": {
|
|
6313
|
+
"char": "f",
|
|
6314
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6315
|
+
"name": "file",
|
|
6316
|
+
"required": false,
|
|
6317
|
+
"hasDynamicHelp": false,
|
|
6318
|
+
"multiple": false,
|
|
6319
|
+
"type": "option"
|
|
6320
|
+
},
|
|
6313
6321
|
"output": {
|
|
6314
6322
|
"char": "o",
|
|
6315
6323
|
"description": "Output format",
|
|
@@ -6324,6 +6332,13 @@
|
|
|
6324
6332
|
],
|
|
6325
6333
|
"type": "option"
|
|
6326
6334
|
},
|
|
6335
|
+
"view": {
|
|
6336
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6337
|
+
"name": "view",
|
|
6338
|
+
"required": false,
|
|
6339
|
+
"allowNo": false,
|
|
6340
|
+
"type": "boolean"
|
|
6341
|
+
},
|
|
6327
6342
|
"workspace": {
|
|
6328
6343
|
"char": "w",
|
|
6329
6344
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6336,7 +6351,7 @@
|
|
|
6336
6351
|
},
|
|
6337
6352
|
"hasDynamicHelp": false,
|
|
6338
6353
|
"hiddenAliases": [],
|
|
6339
|
-
"id": "tenant:env:
|
|
6354
|
+
"id": "tenant:env:get_all",
|
|
6340
6355
|
"pluginAlias": "@xano/cli",
|
|
6341
6356
|
"pluginName": "@xano/cli",
|
|
6342
6357
|
"pluginType": "core",
|
|
@@ -6348,11 +6363,11 @@
|
|
|
6348
6363
|
"commands",
|
|
6349
6364
|
"tenant",
|
|
6350
6365
|
"env",
|
|
6351
|
-
"
|
|
6366
|
+
"get_all",
|
|
6352
6367
|
"index.js"
|
|
6353
6368
|
]
|
|
6354
6369
|
},
|
|
6355
|
-
"tenant:env:
|
|
6370
|
+
"tenant:env:list": {
|
|
6356
6371
|
"aliases": [],
|
|
6357
6372
|
"args": {
|
|
6358
6373
|
"tenant_name": {
|
|
@@ -6361,10 +6376,10 @@
|
|
|
6361
6376
|
"required": true
|
|
6362
6377
|
}
|
|
6363
6378
|
},
|
|
6364
|
-
"description": "
|
|
6379
|
+
"description": "List environment variable keys for a tenant",
|
|
6365
6380
|
"examples": [
|
|
6366
|
-
"$ xano tenant env
|
|
6367
|
-
"$ xano tenant env
|
|
6381
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6382
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6368
6383
|
],
|
|
6369
6384
|
"flags": {
|
|
6370
6385
|
"profile": {
|
|
@@ -6386,15 +6401,6 @@
|
|
|
6386
6401
|
"allowNo": false,
|
|
6387
6402
|
"type": "boolean"
|
|
6388
6403
|
},
|
|
6389
|
-
"name": {
|
|
6390
|
-
"char": "n",
|
|
6391
|
-
"description": "Environment variable name",
|
|
6392
|
-
"name": "name",
|
|
6393
|
-
"required": true,
|
|
6394
|
-
"hasDynamicHelp": false,
|
|
6395
|
-
"multiple": false,
|
|
6396
|
-
"type": "option"
|
|
6397
|
-
},
|
|
6398
6404
|
"output": {
|
|
6399
6405
|
"char": "o",
|
|
6400
6406
|
"description": "Output format",
|
|
@@ -6421,7 +6427,7 @@
|
|
|
6421
6427
|
},
|
|
6422
6428
|
"hasDynamicHelp": false,
|
|
6423
6429
|
"hiddenAliases": [],
|
|
6424
|
-
"id": "tenant:env:
|
|
6430
|
+
"id": "tenant:env:list",
|
|
6425
6431
|
"pluginAlias": "@xano/cli",
|
|
6426
6432
|
"pluginName": "@xano/cli",
|
|
6427
6433
|
"pluginType": "core",
|
|
@@ -6433,11 +6439,11 @@
|
|
|
6433
6439
|
"commands",
|
|
6434
6440
|
"tenant",
|
|
6435
6441
|
"env",
|
|
6436
|
-
"
|
|
6442
|
+
"list",
|
|
6437
6443
|
"index.js"
|
|
6438
6444
|
]
|
|
6439
6445
|
},
|
|
6440
|
-
"tenant:
|
|
6446
|
+
"tenant:env:set": {
|
|
6441
6447
|
"aliases": [],
|
|
6442
6448
|
"args": {
|
|
6443
6449
|
"tenant_name": {
|
|
@@ -6446,12 +6452,10 @@
|
|
|
6446
6452
|
"required": true
|
|
6447
6453
|
}
|
|
6448
6454
|
},
|
|
6449
|
-
"description": "
|
|
6455
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6450
6456
|
"examples": [
|
|
6451
|
-
"$ xano tenant
|
|
6452
|
-
"$ xano tenant
|
|
6453
|
-
"$ xano tenant license get my-tenant --view",
|
|
6454
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6457
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6458
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6455
6459
|
],
|
|
6456
6460
|
"flags": {
|
|
6457
6461
|
"profile": {
|
|
@@ -6473,11 +6477,11 @@
|
|
|
6473
6477
|
"allowNo": false,
|
|
6474
6478
|
"type": "boolean"
|
|
6475
6479
|
},
|
|
6476
|
-
"
|
|
6477
|
-
"char": "
|
|
6478
|
-
"description": "
|
|
6479
|
-
"name": "
|
|
6480
|
-
"required":
|
|
6480
|
+
"name": {
|
|
6481
|
+
"char": "n",
|
|
6482
|
+
"description": "Environment variable name",
|
|
6483
|
+
"name": "name",
|
|
6484
|
+
"required": true,
|
|
6481
6485
|
"hasDynamicHelp": false,
|
|
6482
6486
|
"multiple": false,
|
|
6483
6487
|
"type": "option"
|
|
@@ -6496,12 +6500,13 @@
|
|
|
6496
6500
|
],
|
|
6497
6501
|
"type": "option"
|
|
6498
6502
|
},
|
|
6499
|
-
"
|
|
6500
|
-
"description": "
|
|
6501
|
-
"name": "
|
|
6502
|
-
"required":
|
|
6503
|
-
"
|
|
6504
|
-
"
|
|
6503
|
+
"value": {
|
|
6504
|
+
"description": "Environment variable value",
|
|
6505
|
+
"name": "value",
|
|
6506
|
+
"required": true,
|
|
6507
|
+
"hasDynamicHelp": false,
|
|
6508
|
+
"multiple": false,
|
|
6509
|
+
"type": "option"
|
|
6505
6510
|
},
|
|
6506
6511
|
"workspace": {
|
|
6507
6512
|
"char": "w",
|
|
@@ -6515,7 +6520,7 @@
|
|
|
6515
6520
|
},
|
|
6516
6521
|
"hasDynamicHelp": false,
|
|
6517
6522
|
"hiddenAliases": [],
|
|
6518
|
-
"id": "tenant:
|
|
6523
|
+
"id": "tenant:env:set",
|
|
6519
6524
|
"pluginAlias": "@xano/cli",
|
|
6520
6525
|
"pluginName": "@xano/cli",
|
|
6521
6526
|
"pluginType": "core",
|
|
@@ -6526,12 +6531,12 @@
|
|
|
6526
6531
|
"dist",
|
|
6527
6532
|
"commands",
|
|
6528
6533
|
"tenant",
|
|
6529
|
-
"
|
|
6530
|
-
"
|
|
6534
|
+
"env",
|
|
6535
|
+
"set",
|
|
6531
6536
|
"index.js"
|
|
6532
6537
|
]
|
|
6533
6538
|
},
|
|
6534
|
-
"tenant:
|
|
6539
|
+
"tenant:license:set": {
|
|
6535
6540
|
"aliases": [],
|
|
6536
6541
|
"args": {
|
|
6537
6542
|
"tenant_name": {
|
|
@@ -6540,11 +6545,12 @@
|
|
|
6540
6545
|
"required": true
|
|
6541
6546
|
}
|
|
6542
6547
|
},
|
|
6543
|
-
"description": "Set
|
|
6548
|
+
"description": "Set/update the license for a tenant",
|
|
6544
6549
|
"examples": [
|
|
6545
|
-
"$ xano tenant
|
|
6546
|
-
"$ xano tenant
|
|
6547
|
-
"$ xano tenant
|
|
6550
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6551
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6552
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6553
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6548
6554
|
],
|
|
6549
6555
|
"flags": {
|
|
6550
6556
|
"profile": {
|
|
@@ -6568,6 +6574,9 @@
|
|
|
6568
6574
|
},
|
|
6569
6575
|
"clean": {
|
|
6570
6576
|
"description": "Remove the source file after successful upload",
|
|
6577
|
+
"exclusive": [
|
|
6578
|
+
"value"
|
|
6579
|
+
],
|
|
6571
6580
|
"name": "clean",
|
|
6572
6581
|
"required": false,
|
|
6573
6582
|
"allowNo": false,
|
|
@@ -6575,7 +6584,10 @@
|
|
|
6575
6584
|
},
|
|
6576
6585
|
"file": {
|
|
6577
6586
|
"char": "f",
|
|
6578
|
-
"description": "Path to
|
|
6587
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6588
|
+
"exclusive": [
|
|
6589
|
+
"value"
|
|
6590
|
+
],
|
|
6579
6591
|
"name": "file",
|
|
6580
6592
|
"required": false,
|
|
6581
6593
|
"hasDynamicHelp": false,
|
|
@@ -6596,6 +6608,18 @@
|
|
|
6596
6608
|
],
|
|
6597
6609
|
"type": "option"
|
|
6598
6610
|
},
|
|
6611
|
+
"value": {
|
|
6612
|
+
"description": "Inline license value",
|
|
6613
|
+
"exclusive": [
|
|
6614
|
+
"file",
|
|
6615
|
+
"clean"
|
|
6616
|
+
],
|
|
6617
|
+
"name": "value",
|
|
6618
|
+
"required": false,
|
|
6619
|
+
"hasDynamicHelp": false,
|
|
6620
|
+
"multiple": false,
|
|
6621
|
+
"type": "option"
|
|
6622
|
+
},
|
|
6599
6623
|
"workspace": {
|
|
6600
6624
|
"char": "w",
|
|
6601
6625
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6608,7 +6632,7 @@
|
|
|
6608
6632
|
},
|
|
6609
6633
|
"hasDynamicHelp": false,
|
|
6610
6634
|
"hiddenAliases": [],
|
|
6611
|
-
"id": "tenant:
|
|
6635
|
+
"id": "tenant:license:set",
|
|
6612
6636
|
"pluginAlias": "@xano/cli",
|
|
6613
6637
|
"pluginName": "@xano/cli",
|
|
6614
6638
|
"pluginType": "core",
|
|
@@ -6619,12 +6643,12 @@
|
|
|
6619
6643
|
"dist",
|
|
6620
6644
|
"commands",
|
|
6621
6645
|
"tenant",
|
|
6622
|
-
"
|
|
6623
|
-
"
|
|
6646
|
+
"license",
|
|
6647
|
+
"set",
|
|
6624
6648
|
"index.js"
|
|
6625
6649
|
]
|
|
6626
6650
|
},
|
|
6627
|
-
"tenant:
|
|
6651
|
+
"tenant:license:get": {
|
|
6628
6652
|
"aliases": [],
|
|
6629
6653
|
"args": {
|
|
6630
6654
|
"tenant_name": {
|
|
@@ -6633,10 +6657,12 @@
|
|
|
6633
6657
|
"required": true
|
|
6634
6658
|
}
|
|
6635
6659
|
},
|
|
6636
|
-
"description": "
|
|
6660
|
+
"description": "Get the license for a tenant",
|
|
6637
6661
|
"examples": [
|
|
6638
|
-
"$ xano tenant
|
|
6639
|
-
"$ xano tenant
|
|
6662
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6663
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6664
|
+
"$ xano tenant license get my-tenant --view",
|
|
6665
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6640
6666
|
],
|
|
6641
6667
|
"flags": {
|
|
6642
6668
|
"profile": {
|
|
@@ -6658,11 +6684,11 @@
|
|
|
6658
6684
|
"allowNo": false,
|
|
6659
6685
|
"type": "boolean"
|
|
6660
6686
|
},
|
|
6661
|
-
"
|
|
6662
|
-
"char": "
|
|
6663
|
-
"description": "
|
|
6664
|
-
"name": "
|
|
6665
|
-
"required":
|
|
6687
|
+
"file": {
|
|
6688
|
+
"char": "f",
|
|
6689
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6690
|
+
"name": "file",
|
|
6691
|
+
"required": false,
|
|
6666
6692
|
"hasDynamicHelp": false,
|
|
6667
6693
|
"multiple": false,
|
|
6668
6694
|
"type": "option"
|
|
@@ -6681,13 +6707,12 @@
|
|
|
6681
6707
|
],
|
|
6682
6708
|
"type": "option"
|
|
6683
6709
|
},
|
|
6684
|
-
"
|
|
6685
|
-
"description": "
|
|
6686
|
-
"name": "
|
|
6687
|
-
"required":
|
|
6688
|
-
"
|
|
6689
|
-
"
|
|
6690
|
-
"type": "option"
|
|
6710
|
+
"view": {
|
|
6711
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6712
|
+
"name": "view",
|
|
6713
|
+
"required": false,
|
|
6714
|
+
"allowNo": false,
|
|
6715
|
+
"type": "boolean"
|
|
6691
6716
|
},
|
|
6692
6717
|
"workspace": {
|
|
6693
6718
|
"char": "w",
|
|
@@ -6701,7 +6726,7 @@
|
|
|
6701
6726
|
},
|
|
6702
6727
|
"hasDynamicHelp": false,
|
|
6703
6728
|
"hiddenAliases": [],
|
|
6704
|
-
"id": "tenant:
|
|
6729
|
+
"id": "tenant:license:get",
|
|
6705
6730
|
"pluginAlias": "@xano/cli",
|
|
6706
6731
|
"pluginName": "@xano/cli",
|
|
6707
6732
|
"pluginType": "core",
|
|
@@ -6712,26 +6737,25 @@
|
|
|
6712
6737
|
"dist",
|
|
6713
6738
|
"commands",
|
|
6714
6739
|
"tenant",
|
|
6715
|
-
"
|
|
6716
|
-
"
|
|
6740
|
+
"license",
|
|
6741
|
+
"get",
|
|
6717
6742
|
"index.js"
|
|
6718
6743
|
]
|
|
6719
6744
|
},
|
|
6720
|
-
"tenant:
|
|
6745
|
+
"tenant:env:set_all": {
|
|
6721
6746
|
"aliases": [],
|
|
6722
6747
|
"args": {
|
|
6723
|
-
"
|
|
6724
|
-
"description": "Tenant
|
|
6725
|
-
"name": "
|
|
6748
|
+
"tenant_name": {
|
|
6749
|
+
"description": "Tenant name",
|
|
6750
|
+
"name": "tenant_name",
|
|
6726
6751
|
"required": true
|
|
6727
6752
|
}
|
|
6728
6753
|
},
|
|
6729
|
-
"description": "
|
|
6754
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6730
6755
|
"examples": [
|
|
6731
|
-
"$ xano tenant
|
|
6732
|
-
"$ xano tenant
|
|
6733
|
-
"$ xano tenant
|
|
6734
|
-
"$ xano tenant cluster license get 1 -o json"
|
|
6756
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6757
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6758
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6735
6759
|
],
|
|
6736
6760
|
"flags": {
|
|
6737
6761
|
"profile": {
|
|
@@ -6753,9 +6777,16 @@
|
|
|
6753
6777
|
"allowNo": false,
|
|
6754
6778
|
"type": "boolean"
|
|
6755
6779
|
},
|
|
6780
|
+
"clean": {
|
|
6781
|
+
"description": "Remove the source file after successful upload",
|
|
6782
|
+
"name": "clean",
|
|
6783
|
+
"required": false,
|
|
6784
|
+
"allowNo": false,
|
|
6785
|
+
"type": "boolean"
|
|
6786
|
+
},
|
|
6756
6787
|
"file": {
|
|
6757
6788
|
"char": "f",
|
|
6758
|
-
"description": "
|
|
6789
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6759
6790
|
"name": "file",
|
|
6760
6791
|
"required": false,
|
|
6761
6792
|
"hasDynamicHelp": false,
|
|
@@ -6776,17 +6807,19 @@
|
|
|
6776
6807
|
],
|
|
6777
6808
|
"type": "option"
|
|
6778
6809
|
},
|
|
6779
|
-
"
|
|
6780
|
-
"
|
|
6781
|
-
"
|
|
6810
|
+
"workspace": {
|
|
6811
|
+
"char": "w",
|
|
6812
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6813
|
+
"name": "workspace",
|
|
6782
6814
|
"required": false,
|
|
6783
|
-
"
|
|
6784
|
-
"
|
|
6815
|
+
"hasDynamicHelp": false,
|
|
6816
|
+
"multiple": false,
|
|
6817
|
+
"type": "option"
|
|
6785
6818
|
}
|
|
6786
6819
|
},
|
|
6787
6820
|
"hasDynamicHelp": false,
|
|
6788
6821
|
"hiddenAliases": [],
|
|
6789
|
-
"id": "tenant:
|
|
6822
|
+
"id": "tenant:env:set_all",
|
|
6790
6823
|
"pluginAlias": "@xano/cli",
|
|
6791
6824
|
"pluginName": "@xano/cli",
|
|
6792
6825
|
"pluginType": "core",
|
|
@@ -6797,9 +6830,8 @@
|
|
|
6797
6830
|
"dist",
|
|
6798
6831
|
"commands",
|
|
6799
6832
|
"tenant",
|
|
6800
|
-
"
|
|
6801
|
-
"
|
|
6802
|
-
"get",
|
|
6833
|
+
"env",
|
|
6834
|
+
"set_all",
|
|
6803
6835
|
"index.js"
|
|
6804
6836
|
]
|
|
6805
6837
|
},
|
|
@@ -6897,21 +6929,21 @@
|
|
|
6897
6929
|
"index.js"
|
|
6898
6930
|
]
|
|
6899
6931
|
},
|
|
6900
|
-
"tenant:license:
|
|
6932
|
+
"tenant:cluster:license:get": {
|
|
6901
6933
|
"aliases": [],
|
|
6902
6934
|
"args": {
|
|
6903
|
-
"
|
|
6904
|
-
"description": "Tenant
|
|
6905
|
-
"name": "
|
|
6935
|
+
"cluster_id": {
|
|
6936
|
+
"description": "Tenant cluster ID",
|
|
6937
|
+
"name": "cluster_id",
|
|
6906
6938
|
"required": true
|
|
6907
6939
|
}
|
|
6908
6940
|
},
|
|
6909
|
-
"description": "
|
|
6941
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6910
6942
|
"examples": [
|
|
6911
|
-
"$ xano tenant license
|
|
6912
|
-
"$ xano tenant license
|
|
6913
|
-
"$ xano tenant license
|
|
6914
|
-
"$ xano tenant license
|
|
6943
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6944
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6945
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6946
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6915
6947
|
],
|
|
6916
6948
|
"flags": {
|
|
6917
6949
|
"profile": {
|
|
@@ -6933,22 +6965,9 @@
|
|
|
6933
6965
|
"allowNo": false,
|
|
6934
6966
|
"type": "boolean"
|
|
6935
6967
|
},
|
|
6936
|
-
"clean": {
|
|
6937
|
-
"description": "Remove the source file after successful upload",
|
|
6938
|
-
"exclusive": [
|
|
6939
|
-
"value"
|
|
6940
|
-
],
|
|
6941
|
-
"name": "clean",
|
|
6942
|
-
"required": false,
|
|
6943
|
-
"allowNo": false,
|
|
6944
|
-
"type": "boolean"
|
|
6945
|
-
},
|
|
6946
6968
|
"file": {
|
|
6947
6969
|
"char": "f",
|
|
6948
|
-
"description": "
|
|
6949
|
-
"exclusive": [
|
|
6950
|
-
"value"
|
|
6951
|
-
],
|
|
6970
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6952
6971
|
"name": "file",
|
|
6953
6972
|
"required": false,
|
|
6954
6973
|
"hasDynamicHelp": false,
|
|
@@ -6969,31 +6988,17 @@
|
|
|
6969
6988
|
],
|
|
6970
6989
|
"type": "option"
|
|
6971
6990
|
},
|
|
6972
|
-
"
|
|
6973
|
-
"description": "
|
|
6974
|
-
"
|
|
6975
|
-
"file",
|
|
6976
|
-
"clean"
|
|
6977
|
-
],
|
|
6978
|
-
"name": "value",
|
|
6979
|
-
"required": false,
|
|
6980
|
-
"hasDynamicHelp": false,
|
|
6981
|
-
"multiple": false,
|
|
6982
|
-
"type": "option"
|
|
6983
|
-
},
|
|
6984
|
-
"workspace": {
|
|
6985
|
-
"char": "w",
|
|
6986
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6987
|
-
"name": "workspace",
|
|
6991
|
+
"view": {
|
|
6992
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6993
|
+
"name": "view",
|
|
6988
6994
|
"required": false,
|
|
6989
|
-
"
|
|
6990
|
-
"
|
|
6991
|
-
"type": "option"
|
|
6995
|
+
"allowNo": false,
|
|
6996
|
+
"type": "boolean"
|
|
6992
6997
|
}
|
|
6993
6998
|
},
|
|
6994
6999
|
"hasDynamicHelp": false,
|
|
6995
7000
|
"hiddenAliases": [],
|
|
6996
|
-
"id": "tenant:license:
|
|
7001
|
+
"id": "tenant:cluster:license:get",
|
|
6997
7002
|
"pluginAlias": "@xano/cli",
|
|
6998
7003
|
"pluginName": "@xano/cli",
|
|
6999
7004
|
"pluginType": "core",
|
|
@@ -7004,8 +7009,9 @@
|
|
|
7004
7009
|
"dist",
|
|
7005
7010
|
"commands",
|
|
7006
7011
|
"tenant",
|
|
7012
|
+
"cluster",
|
|
7007
7013
|
"license",
|
|
7008
|
-
"
|
|
7014
|
+
"get",
|
|
7009
7015
|
"index.js"
|
|
7010
7016
|
]
|
|
7011
7017
|
},
|
|
@@ -7114,5 +7120,5 @@
|
|
|
7114
7120
|
]
|
|
7115
7121
|
}
|
|
7116
7122
|
},
|
|
7117
|
-
"version": "0.0.
|
|
7123
|
+
"version": "0.0.69-beta.1"
|
|
7118
7124
|
}
|