@xano/cli 0.0.90 → 0.0.91
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/dist/commands/workspace/push/index.d.ts +1 -1
- package/dist/commands/workspace/push/index.js +12 -12
- package/oclif.manifest.json +1509 -1509
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -545,6 +545,132 @@
|
|
|
545
545
|
"index.js"
|
|
546
546
|
]
|
|
547
547
|
},
|
|
548
|
+
"platform:get": {
|
|
549
|
+
"aliases": [],
|
|
550
|
+
"args": {
|
|
551
|
+
"platform_id": {
|
|
552
|
+
"description": "Platform ID to retrieve",
|
|
553
|
+
"name": "platform_id",
|
|
554
|
+
"required": true
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"description": "Get details of a specific platform",
|
|
558
|
+
"examples": [
|
|
559
|
+
"$ 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",
|
|
560
|
+
"$ xano platform get 23629 -o json"
|
|
561
|
+
],
|
|
562
|
+
"flags": {
|
|
563
|
+
"profile": {
|
|
564
|
+
"char": "p",
|
|
565
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
566
|
+
"env": "XANO_PROFILE",
|
|
567
|
+
"name": "profile",
|
|
568
|
+
"required": false,
|
|
569
|
+
"hasDynamicHelp": false,
|
|
570
|
+
"multiple": false,
|
|
571
|
+
"type": "option"
|
|
572
|
+
},
|
|
573
|
+
"verbose": {
|
|
574
|
+
"char": "v",
|
|
575
|
+
"description": "Show detailed request/response information",
|
|
576
|
+
"env": "XANO_VERBOSE",
|
|
577
|
+
"name": "verbose",
|
|
578
|
+
"required": false,
|
|
579
|
+
"allowNo": false,
|
|
580
|
+
"type": "boolean"
|
|
581
|
+
},
|
|
582
|
+
"output": {
|
|
583
|
+
"char": "o",
|
|
584
|
+
"description": "Output format",
|
|
585
|
+
"name": "output",
|
|
586
|
+
"required": false,
|
|
587
|
+
"default": "summary",
|
|
588
|
+
"hasDynamicHelp": false,
|
|
589
|
+
"multiple": false,
|
|
590
|
+
"options": [
|
|
591
|
+
"summary",
|
|
592
|
+
"json"
|
|
593
|
+
],
|
|
594
|
+
"type": "option"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"hasDynamicHelp": false,
|
|
598
|
+
"hiddenAliases": [],
|
|
599
|
+
"id": "platform:get",
|
|
600
|
+
"pluginAlias": "@xano/cli",
|
|
601
|
+
"pluginName": "@xano/cli",
|
|
602
|
+
"pluginType": "core",
|
|
603
|
+
"strict": true,
|
|
604
|
+
"enableJsonFlag": false,
|
|
605
|
+
"isESM": true,
|
|
606
|
+
"relativePath": [
|
|
607
|
+
"dist",
|
|
608
|
+
"commands",
|
|
609
|
+
"platform",
|
|
610
|
+
"get",
|
|
611
|
+
"index.js"
|
|
612
|
+
]
|
|
613
|
+
},
|
|
614
|
+
"platform:list": {
|
|
615
|
+
"aliases": [],
|
|
616
|
+
"args": {},
|
|
617
|
+
"description": "List all platforms",
|
|
618
|
+
"examples": [
|
|
619
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
620
|
+
"$ xano platform list --output json"
|
|
621
|
+
],
|
|
622
|
+
"flags": {
|
|
623
|
+
"profile": {
|
|
624
|
+
"char": "p",
|
|
625
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
626
|
+
"env": "XANO_PROFILE",
|
|
627
|
+
"name": "profile",
|
|
628
|
+
"required": false,
|
|
629
|
+
"hasDynamicHelp": false,
|
|
630
|
+
"multiple": false,
|
|
631
|
+
"type": "option"
|
|
632
|
+
},
|
|
633
|
+
"verbose": {
|
|
634
|
+
"char": "v",
|
|
635
|
+
"description": "Show detailed request/response information",
|
|
636
|
+
"env": "XANO_VERBOSE",
|
|
637
|
+
"name": "verbose",
|
|
638
|
+
"required": false,
|
|
639
|
+
"allowNo": false,
|
|
640
|
+
"type": "boolean"
|
|
641
|
+
},
|
|
642
|
+
"output": {
|
|
643
|
+
"char": "o",
|
|
644
|
+
"description": "Output format",
|
|
645
|
+
"name": "output",
|
|
646
|
+
"required": false,
|
|
647
|
+
"default": "summary",
|
|
648
|
+
"hasDynamicHelp": false,
|
|
649
|
+
"multiple": false,
|
|
650
|
+
"options": [
|
|
651
|
+
"summary",
|
|
652
|
+
"json"
|
|
653
|
+
],
|
|
654
|
+
"type": "option"
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"hasDynamicHelp": false,
|
|
658
|
+
"hiddenAliases": [],
|
|
659
|
+
"id": "platform:list",
|
|
660
|
+
"pluginAlias": "@xano/cli",
|
|
661
|
+
"pluginName": "@xano/cli",
|
|
662
|
+
"pluginType": "core",
|
|
663
|
+
"strict": true,
|
|
664
|
+
"enableJsonFlag": false,
|
|
665
|
+
"isESM": true,
|
|
666
|
+
"relativePath": [
|
|
667
|
+
"dist",
|
|
668
|
+
"commands",
|
|
669
|
+
"platform",
|
|
670
|
+
"list",
|
|
671
|
+
"index.js"
|
|
672
|
+
]
|
|
673
|
+
},
|
|
548
674
|
"function:create": {
|
|
549
675
|
"aliases": [],
|
|
550
676
|
"args": {},
|
|
@@ -770,6 +896,100 @@
|
|
|
770
896
|
"index.js"
|
|
771
897
|
]
|
|
772
898
|
},
|
|
899
|
+
"function:get": {
|
|
900
|
+
"aliases": [],
|
|
901
|
+
"args": {
|
|
902
|
+
"function_id": {
|
|
903
|
+
"description": "Function ID",
|
|
904
|
+
"name": "function_id",
|
|
905
|
+
"required": false
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"description": "Get a specific function from a workspace",
|
|
909
|
+
"examples": [
|
|
910
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
911
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
912
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
913
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
914
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
915
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
916
|
+
],
|
|
917
|
+
"flags": {
|
|
918
|
+
"profile": {
|
|
919
|
+
"char": "p",
|
|
920
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
921
|
+
"env": "XANO_PROFILE",
|
|
922
|
+
"name": "profile",
|
|
923
|
+
"required": false,
|
|
924
|
+
"hasDynamicHelp": false,
|
|
925
|
+
"multiple": false,
|
|
926
|
+
"type": "option"
|
|
927
|
+
},
|
|
928
|
+
"verbose": {
|
|
929
|
+
"char": "v",
|
|
930
|
+
"description": "Show detailed request/response information",
|
|
931
|
+
"env": "XANO_VERBOSE",
|
|
932
|
+
"name": "verbose",
|
|
933
|
+
"required": false,
|
|
934
|
+
"allowNo": false,
|
|
935
|
+
"type": "boolean"
|
|
936
|
+
},
|
|
937
|
+
"include_draft": {
|
|
938
|
+
"description": "Include draft version",
|
|
939
|
+
"name": "include_draft",
|
|
940
|
+
"required": false,
|
|
941
|
+
"allowNo": false,
|
|
942
|
+
"type": "boolean"
|
|
943
|
+
},
|
|
944
|
+
"include_xanoscript": {
|
|
945
|
+
"description": "Include XanoScript in response",
|
|
946
|
+
"name": "include_xanoscript",
|
|
947
|
+
"required": false,
|
|
948
|
+
"allowNo": false,
|
|
949
|
+
"type": "boolean"
|
|
950
|
+
},
|
|
951
|
+
"output": {
|
|
952
|
+
"char": "o",
|
|
953
|
+
"description": "Output format",
|
|
954
|
+
"name": "output",
|
|
955
|
+
"required": false,
|
|
956
|
+
"default": "summary",
|
|
957
|
+
"hasDynamicHelp": false,
|
|
958
|
+
"multiple": false,
|
|
959
|
+
"options": [
|
|
960
|
+
"summary",
|
|
961
|
+
"json",
|
|
962
|
+
"xs"
|
|
963
|
+
],
|
|
964
|
+
"type": "option"
|
|
965
|
+
},
|
|
966
|
+
"workspace": {
|
|
967
|
+
"char": "w",
|
|
968
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
969
|
+
"name": "workspace",
|
|
970
|
+
"required": false,
|
|
971
|
+
"hasDynamicHelp": false,
|
|
972
|
+
"multiple": false,
|
|
973
|
+
"type": "option"
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
"hasDynamicHelp": false,
|
|
977
|
+
"hiddenAliases": [],
|
|
978
|
+
"id": "function:get",
|
|
979
|
+
"pluginAlias": "@xano/cli",
|
|
980
|
+
"pluginName": "@xano/cli",
|
|
981
|
+
"pluginType": "core",
|
|
982
|
+
"strict": true,
|
|
983
|
+
"enableJsonFlag": false,
|
|
984
|
+
"isESM": true,
|
|
985
|
+
"relativePath": [
|
|
986
|
+
"dist",
|
|
987
|
+
"commands",
|
|
988
|
+
"function",
|
|
989
|
+
"get",
|
|
990
|
+
"index.js"
|
|
991
|
+
]
|
|
992
|
+
},
|
|
773
993
|
"function:list": {
|
|
774
994
|
"aliases": [],
|
|
775
995
|
"args": {},
|
|
@@ -895,123 +1115,29 @@
|
|
|
895
1115
|
"index.js"
|
|
896
1116
|
]
|
|
897
1117
|
},
|
|
898
|
-
"
|
|
1118
|
+
"profile:create": {
|
|
899
1119
|
"aliases": [],
|
|
900
1120
|
"args": {
|
|
901
|
-
"
|
|
902
|
-
"description": "
|
|
903
|
-
"name": "
|
|
904
|
-
"required":
|
|
1121
|
+
"name": {
|
|
1122
|
+
"description": "Profile name",
|
|
1123
|
+
"name": "name",
|
|
1124
|
+
"required": true
|
|
905
1125
|
}
|
|
906
1126
|
},
|
|
907
|
-
"description": "
|
|
1127
|
+
"description": "Create a new profile configuration",
|
|
908
1128
|
"examples": [
|
|
909
|
-
"$ xano
|
|
910
|
-
"$ xano
|
|
911
|
-
"$ xano
|
|
912
|
-
"$ xano
|
|
913
|
-
"$ xano
|
|
914
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1129
|
+
"$ 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",
|
|
1130
|
+
"$ 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",
|
|
1131
|
+
"$ 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",
|
|
1132
|
+
"$ 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",
|
|
1133
|
+
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
915
1134
|
],
|
|
916
1135
|
"flags": {
|
|
917
|
-
"
|
|
918
|
-
"char": "
|
|
919
|
-
"description": "
|
|
920
|
-
"
|
|
921
|
-
"
|
|
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
|
-
"include_draft": {
|
|
937
|
-
"description": "Include draft version",
|
|
938
|
-
"name": "include_draft",
|
|
939
|
-
"required": false,
|
|
940
|
-
"allowNo": false,
|
|
941
|
-
"type": "boolean"
|
|
942
|
-
},
|
|
943
|
-
"include_xanoscript": {
|
|
944
|
-
"description": "Include XanoScript in response",
|
|
945
|
-
"name": "include_xanoscript",
|
|
946
|
-
"required": false,
|
|
947
|
-
"allowNo": false,
|
|
948
|
-
"type": "boolean"
|
|
949
|
-
},
|
|
950
|
-
"output": {
|
|
951
|
-
"char": "o",
|
|
952
|
-
"description": "Output format",
|
|
953
|
-
"name": "output",
|
|
954
|
-
"required": false,
|
|
955
|
-
"default": "summary",
|
|
956
|
-
"hasDynamicHelp": false,
|
|
957
|
-
"multiple": false,
|
|
958
|
-
"options": [
|
|
959
|
-
"summary",
|
|
960
|
-
"json",
|
|
961
|
-
"xs"
|
|
962
|
-
],
|
|
963
|
-
"type": "option"
|
|
964
|
-
},
|
|
965
|
-
"workspace": {
|
|
966
|
-
"char": "w",
|
|
967
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
968
|
-
"name": "workspace",
|
|
969
|
-
"required": false,
|
|
970
|
-
"hasDynamicHelp": false,
|
|
971
|
-
"multiple": false,
|
|
972
|
-
"type": "option"
|
|
973
|
-
}
|
|
974
|
-
},
|
|
975
|
-
"hasDynamicHelp": false,
|
|
976
|
-
"hiddenAliases": [],
|
|
977
|
-
"id": "function:get",
|
|
978
|
-
"pluginAlias": "@xano/cli",
|
|
979
|
-
"pluginName": "@xano/cli",
|
|
980
|
-
"pluginType": "core",
|
|
981
|
-
"strict": true,
|
|
982
|
-
"enableJsonFlag": false,
|
|
983
|
-
"isESM": true,
|
|
984
|
-
"relativePath": [
|
|
985
|
-
"dist",
|
|
986
|
-
"commands",
|
|
987
|
-
"function",
|
|
988
|
-
"get",
|
|
989
|
-
"index.js"
|
|
990
|
-
]
|
|
991
|
-
},
|
|
992
|
-
"profile:create": {
|
|
993
|
-
"aliases": [],
|
|
994
|
-
"args": {
|
|
995
|
-
"name": {
|
|
996
|
-
"description": "Profile name",
|
|
997
|
-
"name": "name",
|
|
998
|
-
"required": true
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
"description": "Create a new profile configuration",
|
|
1002
|
-
"examples": [
|
|
1003
|
-
"$ 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",
|
|
1004
|
-
"$ 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",
|
|
1005
|
-
"$ 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",
|
|
1006
|
-
"$ 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",
|
|
1007
|
-
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1008
|
-
],
|
|
1009
|
-
"flags": {
|
|
1010
|
-
"access_token": {
|
|
1011
|
-
"char": "t",
|
|
1012
|
-
"description": "Access token for the Xano Metadata API",
|
|
1013
|
-
"name": "access_token",
|
|
1014
|
-
"required": true,
|
|
1136
|
+
"access_token": {
|
|
1137
|
+
"char": "t",
|
|
1138
|
+
"description": "Access token for the Xano Metadata API",
|
|
1139
|
+
"name": "access_token",
|
|
1140
|
+
"required": true,
|
|
1015
1141
|
"hasDynamicHelp": false,
|
|
1016
1142
|
"multiple": false,
|
|
1017
1143
|
"type": "option"
|
|
@@ -1085,132 +1211,6 @@
|
|
|
1085
1211
|
"index.js"
|
|
1086
1212
|
]
|
|
1087
1213
|
},
|
|
1088
|
-
"platform:get": {
|
|
1089
|
-
"aliases": [],
|
|
1090
|
-
"args": {
|
|
1091
|
-
"platform_id": {
|
|
1092
|
-
"description": "Platform ID to retrieve",
|
|
1093
|
-
"name": "platform_id",
|
|
1094
|
-
"required": true
|
|
1095
|
-
}
|
|
1096
|
-
},
|
|
1097
|
-
"description": "Get details of a specific platform",
|
|
1098
|
-
"examples": [
|
|
1099
|
-
"$ 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",
|
|
1100
|
-
"$ xano platform get 23629 -o json"
|
|
1101
|
-
],
|
|
1102
|
-
"flags": {
|
|
1103
|
-
"profile": {
|
|
1104
|
-
"char": "p",
|
|
1105
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1106
|
-
"env": "XANO_PROFILE",
|
|
1107
|
-
"name": "profile",
|
|
1108
|
-
"required": false,
|
|
1109
|
-
"hasDynamicHelp": false,
|
|
1110
|
-
"multiple": false,
|
|
1111
|
-
"type": "option"
|
|
1112
|
-
},
|
|
1113
|
-
"verbose": {
|
|
1114
|
-
"char": "v",
|
|
1115
|
-
"description": "Show detailed request/response information",
|
|
1116
|
-
"env": "XANO_VERBOSE",
|
|
1117
|
-
"name": "verbose",
|
|
1118
|
-
"required": false,
|
|
1119
|
-
"allowNo": false,
|
|
1120
|
-
"type": "boolean"
|
|
1121
|
-
},
|
|
1122
|
-
"output": {
|
|
1123
|
-
"char": "o",
|
|
1124
|
-
"description": "Output format",
|
|
1125
|
-
"name": "output",
|
|
1126
|
-
"required": false,
|
|
1127
|
-
"default": "summary",
|
|
1128
|
-
"hasDynamicHelp": false,
|
|
1129
|
-
"multiple": false,
|
|
1130
|
-
"options": [
|
|
1131
|
-
"summary",
|
|
1132
|
-
"json"
|
|
1133
|
-
],
|
|
1134
|
-
"type": "option"
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
"hasDynamicHelp": false,
|
|
1138
|
-
"hiddenAliases": [],
|
|
1139
|
-
"id": "platform:get",
|
|
1140
|
-
"pluginAlias": "@xano/cli",
|
|
1141
|
-
"pluginName": "@xano/cli",
|
|
1142
|
-
"pluginType": "core",
|
|
1143
|
-
"strict": true,
|
|
1144
|
-
"enableJsonFlag": false,
|
|
1145
|
-
"isESM": true,
|
|
1146
|
-
"relativePath": [
|
|
1147
|
-
"dist",
|
|
1148
|
-
"commands",
|
|
1149
|
-
"platform",
|
|
1150
|
-
"get",
|
|
1151
|
-
"index.js"
|
|
1152
|
-
]
|
|
1153
|
-
},
|
|
1154
|
-
"platform:list": {
|
|
1155
|
-
"aliases": [],
|
|
1156
|
-
"args": {},
|
|
1157
|
-
"description": "List all platforms",
|
|
1158
|
-
"examples": [
|
|
1159
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1160
|
-
"$ xano platform list --output json"
|
|
1161
|
-
],
|
|
1162
|
-
"flags": {
|
|
1163
|
-
"profile": {
|
|
1164
|
-
"char": "p",
|
|
1165
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1166
|
-
"env": "XANO_PROFILE",
|
|
1167
|
-
"name": "profile",
|
|
1168
|
-
"required": false,
|
|
1169
|
-
"hasDynamicHelp": false,
|
|
1170
|
-
"multiple": false,
|
|
1171
|
-
"type": "option"
|
|
1172
|
-
},
|
|
1173
|
-
"verbose": {
|
|
1174
|
-
"char": "v",
|
|
1175
|
-
"description": "Show detailed request/response information",
|
|
1176
|
-
"env": "XANO_VERBOSE",
|
|
1177
|
-
"name": "verbose",
|
|
1178
|
-
"required": false,
|
|
1179
|
-
"allowNo": false,
|
|
1180
|
-
"type": "boolean"
|
|
1181
|
-
},
|
|
1182
|
-
"output": {
|
|
1183
|
-
"char": "o",
|
|
1184
|
-
"description": "Output format",
|
|
1185
|
-
"name": "output",
|
|
1186
|
-
"required": false,
|
|
1187
|
-
"default": "summary",
|
|
1188
|
-
"hasDynamicHelp": false,
|
|
1189
|
-
"multiple": false,
|
|
1190
|
-
"options": [
|
|
1191
|
-
"summary",
|
|
1192
|
-
"json"
|
|
1193
|
-
],
|
|
1194
|
-
"type": "option"
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
"hasDynamicHelp": false,
|
|
1198
|
-
"hiddenAliases": [],
|
|
1199
|
-
"id": "platform:list",
|
|
1200
|
-
"pluginAlias": "@xano/cli",
|
|
1201
|
-
"pluginName": "@xano/cli",
|
|
1202
|
-
"pluginType": "core",
|
|
1203
|
-
"strict": true,
|
|
1204
|
-
"enableJsonFlag": false,
|
|
1205
|
-
"isESM": true,
|
|
1206
|
-
"relativePath": [
|
|
1207
|
-
"dist",
|
|
1208
|
-
"commands",
|
|
1209
|
-
"platform",
|
|
1210
|
-
"list",
|
|
1211
|
-
"index.js"
|
|
1212
|
-
]
|
|
1213
|
-
},
|
|
1214
1214
|
"profile:delete": {
|
|
1215
1215
|
"aliases": [],
|
|
1216
1216
|
"args": {
|
|
@@ -1383,17 +1383,68 @@
|
|
|
1383
1383
|
"index.js"
|
|
1384
1384
|
]
|
|
1385
1385
|
},
|
|
1386
|
-
"
|
|
1386
|
+
"branch:get": {
|
|
1387
1387
|
"aliases": [],
|
|
1388
|
-
"args": {
|
|
1389
|
-
|
|
1388
|
+
"args": {
|
|
1389
|
+
"branch_label": {
|
|
1390
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1391
|
+
"name": "branch_label",
|
|
1392
|
+
"required": true
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
"description": "Get details for a specific branch",
|
|
1390
1396
|
"examples": [
|
|
1391
|
-
"$ xano
|
|
1397
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1398
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1399
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
1392
1400
|
],
|
|
1393
|
-
"flags": {
|
|
1401
|
+
"flags": {
|
|
1402
|
+
"profile": {
|
|
1403
|
+
"char": "p",
|
|
1404
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1405
|
+
"env": "XANO_PROFILE",
|
|
1406
|
+
"name": "profile",
|
|
1407
|
+
"required": false,
|
|
1408
|
+
"hasDynamicHelp": false,
|
|
1409
|
+
"multiple": false,
|
|
1410
|
+
"type": "option"
|
|
1411
|
+
},
|
|
1412
|
+
"verbose": {
|
|
1413
|
+
"char": "v",
|
|
1414
|
+
"description": "Show detailed request/response information",
|
|
1415
|
+
"env": "XANO_VERBOSE",
|
|
1416
|
+
"name": "verbose",
|
|
1417
|
+
"required": false,
|
|
1418
|
+
"allowNo": false,
|
|
1419
|
+
"type": "boolean"
|
|
1420
|
+
},
|
|
1421
|
+
"output": {
|
|
1422
|
+
"char": "o",
|
|
1423
|
+
"description": "Output format",
|
|
1424
|
+
"name": "output",
|
|
1425
|
+
"required": false,
|
|
1426
|
+
"default": "summary",
|
|
1427
|
+
"hasDynamicHelp": false,
|
|
1428
|
+
"multiple": false,
|
|
1429
|
+
"options": [
|
|
1430
|
+
"summary",
|
|
1431
|
+
"json"
|
|
1432
|
+
],
|
|
1433
|
+
"type": "option"
|
|
1434
|
+
},
|
|
1435
|
+
"workspace": {
|
|
1436
|
+
"char": "w",
|
|
1437
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1438
|
+
"name": "workspace",
|
|
1439
|
+
"required": false,
|
|
1440
|
+
"hasDynamicHelp": false,
|
|
1441
|
+
"multiple": false,
|
|
1442
|
+
"type": "option"
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1394
1445
|
"hasDynamicHelp": false,
|
|
1395
1446
|
"hiddenAliases": [],
|
|
1396
|
-
"id": "
|
|
1447
|
+
"id": "branch:get",
|
|
1397
1448
|
"pluginAlias": "@xano/cli",
|
|
1398
1449
|
"pluginName": "@xano/cli",
|
|
1399
1450
|
"pluginType": "core",
|
|
@@ -1403,7 +1454,7 @@
|
|
|
1403
1454
|
"relativePath": [
|
|
1404
1455
|
"dist",
|
|
1405
1456
|
"commands",
|
|
1406
|
-
"
|
|
1457
|
+
"branch",
|
|
1407
1458
|
"get",
|
|
1408
1459
|
"index.js"
|
|
1409
1460
|
]
|
|
@@ -1505,23 +1556,17 @@
|
|
|
1505
1556
|
"index.js"
|
|
1506
1557
|
]
|
|
1507
1558
|
},
|
|
1508
|
-
"profile:
|
|
1559
|
+
"profile:get": {
|
|
1509
1560
|
"aliases": [],
|
|
1510
|
-
"args": {
|
|
1511
|
-
|
|
1512
|
-
"description": "Profile name to set as default",
|
|
1513
|
-
"name": "name",
|
|
1514
|
-
"required": true
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
"description": "Set the default profile",
|
|
1561
|
+
"args": {},
|
|
1562
|
+
"description": "Get the current default profile name",
|
|
1518
1563
|
"examples": [
|
|
1519
|
-
"$ xano profile
|
|
1564
|
+
"$ xano profile get\nproduction\n"
|
|
1520
1565
|
],
|
|
1521
1566
|
"flags": {},
|
|
1522
1567
|
"hasDynamicHelp": false,
|
|
1523
1568
|
"hiddenAliases": [],
|
|
1524
|
-
"id": "profile:
|
|
1569
|
+
"id": "profile:get",
|
|
1525
1570
|
"pluginAlias": "@xano/cli",
|
|
1526
1571
|
"pluginName": "@xano/cli",
|
|
1527
1572
|
"pluginType": "core",
|
|
@@ -1532,7 +1577,7 @@
|
|
|
1532
1577
|
"dist",
|
|
1533
1578
|
"commands",
|
|
1534
1579
|
"profile",
|
|
1535
|
-
"
|
|
1580
|
+
"get",
|
|
1536
1581
|
"index.js"
|
|
1537
1582
|
]
|
|
1538
1583
|
},
|
|
@@ -1592,7 +1637,153 @@
|
|
|
1592
1637
|
"description": "Xano instance origin URL",
|
|
1593
1638
|
"name": "origin",
|
|
1594
1639
|
"required": false,
|
|
1595
|
-
"default": "https://app.xano.com",
|
|
1640
|
+
"default": "https://app.xano.com",
|
|
1641
|
+
"hasDynamicHelp": false,
|
|
1642
|
+
"multiple": false,
|
|
1643
|
+
"type": "option"
|
|
1644
|
+
}
|
|
1645
|
+
},
|
|
1646
|
+
"hasDynamicHelp": false,
|
|
1647
|
+
"hiddenAliases": [],
|
|
1648
|
+
"id": "profile:wizard",
|
|
1649
|
+
"pluginAlias": "@xano/cli",
|
|
1650
|
+
"pluginName": "@xano/cli",
|
|
1651
|
+
"pluginType": "core",
|
|
1652
|
+
"strict": true,
|
|
1653
|
+
"enableJsonFlag": false,
|
|
1654
|
+
"isESM": true,
|
|
1655
|
+
"relativePath": [
|
|
1656
|
+
"dist",
|
|
1657
|
+
"commands",
|
|
1658
|
+
"profile",
|
|
1659
|
+
"wizard",
|
|
1660
|
+
"index.js"
|
|
1661
|
+
]
|
|
1662
|
+
},
|
|
1663
|
+
"profile:workspace": {
|
|
1664
|
+
"aliases": [],
|
|
1665
|
+
"args": {},
|
|
1666
|
+
"description": "Print the workspace ID for the default profile",
|
|
1667
|
+
"examples": [
|
|
1668
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1669
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1670
|
+
],
|
|
1671
|
+
"flags": {},
|
|
1672
|
+
"hasDynamicHelp": false,
|
|
1673
|
+
"hiddenAliases": [],
|
|
1674
|
+
"id": "profile:workspace",
|
|
1675
|
+
"pluginAlias": "@xano/cli",
|
|
1676
|
+
"pluginName": "@xano/cli",
|
|
1677
|
+
"pluginType": "core",
|
|
1678
|
+
"strict": true,
|
|
1679
|
+
"enableJsonFlag": false,
|
|
1680
|
+
"isESM": true,
|
|
1681
|
+
"relativePath": [
|
|
1682
|
+
"dist",
|
|
1683
|
+
"commands",
|
|
1684
|
+
"profile",
|
|
1685
|
+
"workspace",
|
|
1686
|
+
"index.js"
|
|
1687
|
+
]
|
|
1688
|
+
},
|
|
1689
|
+
"profile:set": {
|
|
1690
|
+
"aliases": [],
|
|
1691
|
+
"args": {
|
|
1692
|
+
"name": {
|
|
1693
|
+
"description": "Profile name to set as default",
|
|
1694
|
+
"name": "name",
|
|
1695
|
+
"required": true
|
|
1696
|
+
}
|
|
1697
|
+
},
|
|
1698
|
+
"description": "Set the default profile",
|
|
1699
|
+
"examples": [
|
|
1700
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1701
|
+
],
|
|
1702
|
+
"flags": {},
|
|
1703
|
+
"hasDynamicHelp": false,
|
|
1704
|
+
"hiddenAliases": [],
|
|
1705
|
+
"id": "profile:set",
|
|
1706
|
+
"pluginAlias": "@xano/cli",
|
|
1707
|
+
"pluginName": "@xano/cli",
|
|
1708
|
+
"pluginType": "core",
|
|
1709
|
+
"strict": true,
|
|
1710
|
+
"enableJsonFlag": false,
|
|
1711
|
+
"isESM": true,
|
|
1712
|
+
"relativePath": [
|
|
1713
|
+
"dist",
|
|
1714
|
+
"commands",
|
|
1715
|
+
"profile",
|
|
1716
|
+
"set",
|
|
1717
|
+
"index.js"
|
|
1718
|
+
]
|
|
1719
|
+
},
|
|
1720
|
+
"static_host:list": {
|
|
1721
|
+
"aliases": [],
|
|
1722
|
+
"args": {},
|
|
1723
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1724
|
+
"examples": [
|
|
1725
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1726
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1727
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
1728
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1729
|
+
],
|
|
1730
|
+
"flags": {
|
|
1731
|
+
"profile": {
|
|
1732
|
+
"char": "p",
|
|
1733
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1734
|
+
"env": "XANO_PROFILE",
|
|
1735
|
+
"name": "profile",
|
|
1736
|
+
"required": false,
|
|
1737
|
+
"hasDynamicHelp": false,
|
|
1738
|
+
"multiple": false,
|
|
1739
|
+
"type": "option"
|
|
1740
|
+
},
|
|
1741
|
+
"verbose": {
|
|
1742
|
+
"char": "v",
|
|
1743
|
+
"description": "Show detailed request/response information",
|
|
1744
|
+
"env": "XANO_VERBOSE",
|
|
1745
|
+
"name": "verbose",
|
|
1746
|
+
"required": false,
|
|
1747
|
+
"allowNo": false,
|
|
1748
|
+
"type": "boolean"
|
|
1749
|
+
},
|
|
1750
|
+
"output": {
|
|
1751
|
+
"char": "o",
|
|
1752
|
+
"description": "Output format",
|
|
1753
|
+
"name": "output",
|
|
1754
|
+
"required": false,
|
|
1755
|
+
"default": "summary",
|
|
1756
|
+
"hasDynamicHelp": false,
|
|
1757
|
+
"multiple": false,
|
|
1758
|
+
"options": [
|
|
1759
|
+
"summary",
|
|
1760
|
+
"json"
|
|
1761
|
+
],
|
|
1762
|
+
"type": "option"
|
|
1763
|
+
},
|
|
1764
|
+
"page": {
|
|
1765
|
+
"description": "Page number for pagination",
|
|
1766
|
+
"name": "page",
|
|
1767
|
+
"required": false,
|
|
1768
|
+
"default": 1,
|
|
1769
|
+
"hasDynamicHelp": false,
|
|
1770
|
+
"multiple": false,
|
|
1771
|
+
"type": "option"
|
|
1772
|
+
},
|
|
1773
|
+
"per_page": {
|
|
1774
|
+
"description": "Number of results per page",
|
|
1775
|
+
"name": "per_page",
|
|
1776
|
+
"required": false,
|
|
1777
|
+
"default": 50,
|
|
1778
|
+
"hasDynamicHelp": false,
|
|
1779
|
+
"multiple": false,
|
|
1780
|
+
"type": "option"
|
|
1781
|
+
},
|
|
1782
|
+
"workspace": {
|
|
1783
|
+
"char": "w",
|
|
1784
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1785
|
+
"name": "workspace",
|
|
1786
|
+
"required": false,
|
|
1596
1787
|
"hasDynamicHelp": false,
|
|
1597
1788
|
"multiple": false,
|
|
1598
1789
|
"type": "option"
|
|
@@ -1600,33 +1791,7 @@
|
|
|
1600
1791
|
},
|
|
1601
1792
|
"hasDynamicHelp": false,
|
|
1602
1793
|
"hiddenAliases": [],
|
|
1603
|
-
"id": "
|
|
1604
|
-
"pluginAlias": "@xano/cli",
|
|
1605
|
-
"pluginName": "@xano/cli",
|
|
1606
|
-
"pluginType": "core",
|
|
1607
|
-
"strict": true,
|
|
1608
|
-
"enableJsonFlag": false,
|
|
1609
|
-
"isESM": true,
|
|
1610
|
-
"relativePath": [
|
|
1611
|
-
"dist",
|
|
1612
|
-
"commands",
|
|
1613
|
-
"profile",
|
|
1614
|
-
"wizard",
|
|
1615
|
-
"index.js"
|
|
1616
|
-
]
|
|
1617
|
-
},
|
|
1618
|
-
"profile:workspace": {
|
|
1619
|
-
"aliases": [],
|
|
1620
|
-
"args": {},
|
|
1621
|
-
"description": "Print the workspace ID for the default profile",
|
|
1622
|
-
"examples": [
|
|
1623
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1624
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1625
|
-
],
|
|
1626
|
-
"flags": {},
|
|
1627
|
-
"hasDynamicHelp": false,
|
|
1628
|
-
"hiddenAliases": [],
|
|
1629
|
-
"id": "profile:workspace",
|
|
1794
|
+
"id": "static_host:list",
|
|
1630
1795
|
"pluginAlias": "@xano/cli",
|
|
1631
1796
|
"pluginName": "@xano/cli",
|
|
1632
1797
|
"pluginType": "core",
|
|
@@ -1636,8 +1801,8 @@
|
|
|
1636
1801
|
"relativePath": [
|
|
1637
1802
|
"dist",
|
|
1638
1803
|
"commands",
|
|
1639
|
-
"
|
|
1640
|
-
"
|
|
1804
|
+
"static_host",
|
|
1805
|
+
"list",
|
|
1641
1806
|
"index.js"
|
|
1642
1807
|
]
|
|
1643
1808
|
},
|
|
@@ -1752,82 +1917,6 @@
|
|
|
1752
1917
|
"index.js"
|
|
1753
1918
|
]
|
|
1754
1919
|
},
|
|
1755
|
-
"branch:get": {
|
|
1756
|
-
"aliases": [],
|
|
1757
|
-
"args": {
|
|
1758
|
-
"branch_label": {
|
|
1759
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1760
|
-
"name": "branch_label",
|
|
1761
|
-
"required": true
|
|
1762
|
-
}
|
|
1763
|
-
},
|
|
1764
|
-
"description": "Get details for a specific branch",
|
|
1765
|
-
"examples": [
|
|
1766
|
-
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1767
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1768
|
-
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
1769
|
-
],
|
|
1770
|
-
"flags": {
|
|
1771
|
-
"profile": {
|
|
1772
|
-
"char": "p",
|
|
1773
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1774
|
-
"env": "XANO_PROFILE",
|
|
1775
|
-
"name": "profile",
|
|
1776
|
-
"required": false,
|
|
1777
|
-
"hasDynamicHelp": false,
|
|
1778
|
-
"multiple": false,
|
|
1779
|
-
"type": "option"
|
|
1780
|
-
},
|
|
1781
|
-
"verbose": {
|
|
1782
|
-
"char": "v",
|
|
1783
|
-
"description": "Show detailed request/response information",
|
|
1784
|
-
"env": "XANO_VERBOSE",
|
|
1785
|
-
"name": "verbose",
|
|
1786
|
-
"required": false,
|
|
1787
|
-
"allowNo": false,
|
|
1788
|
-
"type": "boolean"
|
|
1789
|
-
},
|
|
1790
|
-
"output": {
|
|
1791
|
-
"char": "o",
|
|
1792
|
-
"description": "Output format",
|
|
1793
|
-
"name": "output",
|
|
1794
|
-
"required": false,
|
|
1795
|
-
"default": "summary",
|
|
1796
|
-
"hasDynamicHelp": false,
|
|
1797
|
-
"multiple": false,
|
|
1798
|
-
"options": [
|
|
1799
|
-
"summary",
|
|
1800
|
-
"json"
|
|
1801
|
-
],
|
|
1802
|
-
"type": "option"
|
|
1803
|
-
},
|
|
1804
|
-
"workspace": {
|
|
1805
|
-
"char": "w",
|
|
1806
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1807
|
-
"name": "workspace",
|
|
1808
|
-
"required": false,
|
|
1809
|
-
"hasDynamicHelp": false,
|
|
1810
|
-
"multiple": false,
|
|
1811
|
-
"type": "option"
|
|
1812
|
-
}
|
|
1813
|
-
},
|
|
1814
|
-
"hasDynamicHelp": false,
|
|
1815
|
-
"hiddenAliases": [],
|
|
1816
|
-
"id": "branch:get",
|
|
1817
|
-
"pluginAlias": "@xano/cli",
|
|
1818
|
-
"pluginName": "@xano/cli",
|
|
1819
|
-
"pluginType": "core",
|
|
1820
|
-
"strict": true,
|
|
1821
|
-
"enableJsonFlag": false,
|
|
1822
|
-
"isESM": true,
|
|
1823
|
-
"relativePath": [
|
|
1824
|
-
"dist",
|
|
1825
|
-
"commands",
|
|
1826
|
-
"branch",
|
|
1827
|
-
"get",
|
|
1828
|
-
"index.js"
|
|
1829
|
-
]
|
|
1830
|
-
},
|
|
1831
1920
|
"release:delete": {
|
|
1832
1921
|
"aliases": [],
|
|
1833
1922
|
"args": {
|
|
@@ -1912,19 +2001,19 @@
|
|
|
1912
2001
|
"index.js"
|
|
1913
2002
|
]
|
|
1914
2003
|
},
|
|
1915
|
-
"release:
|
|
2004
|
+
"release:get": {
|
|
1916
2005
|
"aliases": [],
|
|
1917
2006
|
"args": {
|
|
1918
2007
|
"release_name": {
|
|
1919
|
-
"description": "Release name to
|
|
2008
|
+
"description": "Release name to retrieve",
|
|
1920
2009
|
"name": "release_name",
|
|
1921
2010
|
"required": true
|
|
1922
2011
|
}
|
|
1923
2012
|
},
|
|
1924
|
-
"description": "
|
|
2013
|
+
"description": "Get details of a specific release",
|
|
1925
2014
|
"examples": [
|
|
1926
|
-
"$ xano release
|
|
1927
|
-
"$ xano release
|
|
2015
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2016
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
1928
2017
|
],
|
|
1929
2018
|
"flags": {
|
|
1930
2019
|
"profile": {
|
|
@@ -1946,24 +2035,6 @@
|
|
|
1946
2035
|
"allowNo": false,
|
|
1947
2036
|
"type": "boolean"
|
|
1948
2037
|
},
|
|
1949
|
-
"description": {
|
|
1950
|
-
"char": "d",
|
|
1951
|
-
"description": "New description",
|
|
1952
|
-
"name": "description",
|
|
1953
|
-
"required": false,
|
|
1954
|
-
"hasDynamicHelp": false,
|
|
1955
|
-
"multiple": false,
|
|
1956
|
-
"type": "option"
|
|
1957
|
-
},
|
|
1958
|
-
"name": {
|
|
1959
|
-
"char": "n",
|
|
1960
|
-
"description": "New name for the release",
|
|
1961
|
-
"name": "name",
|
|
1962
|
-
"required": false,
|
|
1963
|
-
"hasDynamicHelp": false,
|
|
1964
|
-
"multiple": false,
|
|
1965
|
-
"type": "option"
|
|
1966
|
-
},
|
|
1967
2038
|
"output": {
|
|
1968
2039
|
"char": "o",
|
|
1969
2040
|
"description": "Output format",
|
|
@@ -1990,7 +2061,7 @@
|
|
|
1990
2061
|
},
|
|
1991
2062
|
"hasDynamicHelp": false,
|
|
1992
2063
|
"hiddenAliases": [],
|
|
1993
|
-
"id": "release:
|
|
2064
|
+
"id": "release:get",
|
|
1994
2065
|
"pluginAlias": "@xano/cli",
|
|
1995
2066
|
"pluginName": "@xano/cli",
|
|
1996
2067
|
"pluginType": "core",
|
|
@@ -2001,7 +2072,7 @@
|
|
|
2001
2072
|
"dist",
|
|
2002
2073
|
"commands",
|
|
2003
2074
|
"release",
|
|
2004
|
-
"
|
|
2075
|
+
"get",
|
|
2005
2076
|
"index.js"
|
|
2006
2077
|
]
|
|
2007
2078
|
},
|
|
@@ -2330,124 +2401,13 @@
|
|
|
2330
2401
|
"required": true
|
|
2331
2402
|
}
|
|
2332
2403
|
},
|
|
2333
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2334
|
-
"examples": [
|
|
2335
|
-
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2336
|
-
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2337
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2338
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2339
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2340
|
-
],
|
|
2341
|
-
"flags": {
|
|
2342
|
-
"profile": {
|
|
2343
|
-
"char": "p",
|
|
2344
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2345
|
-
"env": "XANO_PROFILE",
|
|
2346
|
-
"name": "profile",
|
|
2347
|
-
"required": false,
|
|
2348
|
-
"hasDynamicHelp": false,
|
|
2349
|
-
"multiple": false,
|
|
2350
|
-
"type": "option"
|
|
2351
|
-
},
|
|
2352
|
-
"verbose": {
|
|
2353
|
-
"char": "v",
|
|
2354
|
-
"description": "Show detailed request/response information",
|
|
2355
|
-
"env": "XANO_VERBOSE",
|
|
2356
|
-
"name": "verbose",
|
|
2357
|
-
"required": false,
|
|
2358
|
-
"allowNo": false,
|
|
2359
|
-
"type": "boolean"
|
|
2360
|
-
},
|
|
2361
|
-
"description": {
|
|
2362
|
-
"char": "d",
|
|
2363
|
-
"description": "Release description",
|
|
2364
|
-
"name": "description",
|
|
2365
|
-
"required": false,
|
|
2366
|
-
"default": "",
|
|
2367
|
-
"hasDynamicHelp": false,
|
|
2368
|
-
"multiple": false,
|
|
2369
|
-
"type": "option"
|
|
2370
|
-
},
|
|
2371
|
-
"env": {
|
|
2372
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2373
|
-
"name": "env",
|
|
2374
|
-
"required": false,
|
|
2375
|
-
"allowNo": true,
|
|
2376
|
-
"type": "boolean"
|
|
2377
|
-
},
|
|
2378
|
-
"hotfix": {
|
|
2379
|
-
"description": "Mark as a hotfix release",
|
|
2380
|
-
"name": "hotfix",
|
|
2381
|
-
"required": false,
|
|
2382
|
-
"allowNo": false,
|
|
2383
|
-
"type": "boolean"
|
|
2384
|
-
},
|
|
2385
|
-
"name": {
|
|
2386
|
-
"char": "n",
|
|
2387
|
-
"description": "Name for the release",
|
|
2388
|
-
"name": "name",
|
|
2389
|
-
"required": true,
|
|
2390
|
-
"hasDynamicHelp": false,
|
|
2391
|
-
"multiple": false,
|
|
2392
|
-
"type": "option"
|
|
2393
|
-
},
|
|
2394
|
-
"output": {
|
|
2395
|
-
"char": "o",
|
|
2396
|
-
"description": "Output format",
|
|
2397
|
-
"name": "output",
|
|
2398
|
-
"required": false,
|
|
2399
|
-
"default": "summary",
|
|
2400
|
-
"hasDynamicHelp": false,
|
|
2401
|
-
"multiple": false,
|
|
2402
|
-
"options": [
|
|
2403
|
-
"summary",
|
|
2404
|
-
"json"
|
|
2405
|
-
],
|
|
2406
|
-
"type": "option"
|
|
2407
|
-
},
|
|
2408
|
-
"records": {
|
|
2409
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2410
|
-
"name": "records",
|
|
2411
|
-
"required": false,
|
|
2412
|
-
"allowNo": true,
|
|
2413
|
-
"type": "boolean"
|
|
2414
|
-
},
|
|
2415
|
-
"workspace": {
|
|
2416
|
-
"char": "w",
|
|
2417
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
2418
|
-
"name": "workspace",
|
|
2419
|
-
"required": false,
|
|
2420
|
-
"hasDynamicHelp": false,
|
|
2421
|
-
"multiple": false,
|
|
2422
|
-
"type": "option"
|
|
2423
|
-
}
|
|
2424
|
-
},
|
|
2425
|
-
"hasDynamicHelp": false,
|
|
2426
|
-
"hiddenAliases": [],
|
|
2427
|
-
"id": "release:push",
|
|
2428
|
-
"pluginAlias": "@xano/cli",
|
|
2429
|
-
"pluginName": "@xano/cli",
|
|
2430
|
-
"pluginType": "core",
|
|
2431
|
-
"strict": true,
|
|
2432
|
-
"enableJsonFlag": false,
|
|
2433
|
-
"isESM": true,
|
|
2434
|
-
"relativePath": [
|
|
2435
|
-
"dist",
|
|
2436
|
-
"commands",
|
|
2437
|
-
"release",
|
|
2438
|
-
"push",
|
|
2439
|
-
"index.js"
|
|
2440
|
-
]
|
|
2441
|
-
},
|
|
2442
|
-
"static_host:list": {
|
|
2443
|
-
"aliases": [],
|
|
2444
|
-
"args": {},
|
|
2445
|
-
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2404
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2446
2405
|
"examples": [
|
|
2447
|
-
"$ xano
|
|
2448
|
-
"$ xano
|
|
2449
|
-
"$ xano
|
|
2450
|
-
"$ xano
|
|
2406
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2407
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2408
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2409
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2410
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2451
2411
|
],
|
|
2452
2412
|
"flags": {
|
|
2453
2413
|
"profile": {
|
|
@@ -2469,6 +2429,39 @@
|
|
|
2469
2429
|
"allowNo": false,
|
|
2470
2430
|
"type": "boolean"
|
|
2471
2431
|
},
|
|
2432
|
+
"description": {
|
|
2433
|
+
"char": "d",
|
|
2434
|
+
"description": "Release description",
|
|
2435
|
+
"name": "description",
|
|
2436
|
+
"required": false,
|
|
2437
|
+
"default": "",
|
|
2438
|
+
"hasDynamicHelp": false,
|
|
2439
|
+
"multiple": false,
|
|
2440
|
+
"type": "option"
|
|
2441
|
+
},
|
|
2442
|
+
"env": {
|
|
2443
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2444
|
+
"name": "env",
|
|
2445
|
+
"required": false,
|
|
2446
|
+
"allowNo": true,
|
|
2447
|
+
"type": "boolean"
|
|
2448
|
+
},
|
|
2449
|
+
"hotfix": {
|
|
2450
|
+
"description": "Mark as a hotfix release",
|
|
2451
|
+
"name": "hotfix",
|
|
2452
|
+
"required": false,
|
|
2453
|
+
"allowNo": false,
|
|
2454
|
+
"type": "boolean"
|
|
2455
|
+
},
|
|
2456
|
+
"name": {
|
|
2457
|
+
"char": "n",
|
|
2458
|
+
"description": "Name for the release",
|
|
2459
|
+
"name": "name",
|
|
2460
|
+
"required": true,
|
|
2461
|
+
"hasDynamicHelp": false,
|
|
2462
|
+
"multiple": false,
|
|
2463
|
+
"type": "option"
|
|
2464
|
+
},
|
|
2472
2465
|
"output": {
|
|
2473
2466
|
"char": "o",
|
|
2474
2467
|
"description": "Output format",
|
|
@@ -2483,23 +2476,12 @@
|
|
|
2483
2476
|
],
|
|
2484
2477
|
"type": "option"
|
|
2485
2478
|
},
|
|
2486
|
-
"
|
|
2487
|
-
"description": "
|
|
2488
|
-
"name": "
|
|
2489
|
-
"required": false,
|
|
2490
|
-
"default": 1,
|
|
2491
|
-
"hasDynamicHelp": false,
|
|
2492
|
-
"multiple": false,
|
|
2493
|
-
"type": "option"
|
|
2494
|
-
},
|
|
2495
|
-
"per_page": {
|
|
2496
|
-
"description": "Number of results per page",
|
|
2497
|
-
"name": "per_page",
|
|
2479
|
+
"records": {
|
|
2480
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2481
|
+
"name": "records",
|
|
2498
2482
|
"required": false,
|
|
2499
|
-
"
|
|
2500
|
-
"
|
|
2501
|
-
"multiple": false,
|
|
2502
|
-
"type": "option"
|
|
2483
|
+
"allowNo": true,
|
|
2484
|
+
"type": "boolean"
|
|
2503
2485
|
},
|
|
2504
2486
|
"workspace": {
|
|
2505
2487
|
"char": "w",
|
|
@@ -2513,7 +2495,7 @@
|
|
|
2513
2495
|
},
|
|
2514
2496
|
"hasDynamicHelp": false,
|
|
2515
2497
|
"hiddenAliases": [],
|
|
2516
|
-
"id": "
|
|
2498
|
+
"id": "release:push",
|
|
2517
2499
|
"pluginAlias": "@xano/cli",
|
|
2518
2500
|
"pluginName": "@xano/cli",
|
|
2519
2501
|
"pluginType": "core",
|
|
@@ -2523,24 +2505,24 @@
|
|
|
2523
2505
|
"relativePath": [
|
|
2524
2506
|
"dist",
|
|
2525
2507
|
"commands",
|
|
2526
|
-
"
|
|
2527
|
-
"
|
|
2508
|
+
"release",
|
|
2509
|
+
"push",
|
|
2528
2510
|
"index.js"
|
|
2529
2511
|
]
|
|
2530
2512
|
},
|
|
2531
|
-
"release:
|
|
2513
|
+
"release:edit": {
|
|
2532
2514
|
"aliases": [],
|
|
2533
2515
|
"args": {
|
|
2534
2516
|
"release_name": {
|
|
2535
|
-
"description": "Release name to
|
|
2517
|
+
"description": "Release name to edit",
|
|
2536
2518
|
"name": "release_name",
|
|
2537
2519
|
"required": true
|
|
2538
2520
|
}
|
|
2539
2521
|
},
|
|
2540
|
-
"description": "
|
|
2522
|
+
"description": "Edit an existing release",
|
|
2541
2523
|
"examples": [
|
|
2542
|
-
"$ xano release
|
|
2543
|
-
"$ xano release
|
|
2524
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
2525
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
2544
2526
|
],
|
|
2545
2527
|
"flags": {
|
|
2546
2528
|
"profile": {
|
|
@@ -2562,6 +2544,24 @@
|
|
|
2562
2544
|
"allowNo": false,
|
|
2563
2545
|
"type": "boolean"
|
|
2564
2546
|
},
|
|
2547
|
+
"description": {
|
|
2548
|
+
"char": "d",
|
|
2549
|
+
"description": "New description",
|
|
2550
|
+
"name": "description",
|
|
2551
|
+
"required": false,
|
|
2552
|
+
"hasDynamicHelp": false,
|
|
2553
|
+
"multiple": false,
|
|
2554
|
+
"type": "option"
|
|
2555
|
+
},
|
|
2556
|
+
"name": {
|
|
2557
|
+
"char": "n",
|
|
2558
|
+
"description": "New name for the release",
|
|
2559
|
+
"name": "name",
|
|
2560
|
+
"required": false,
|
|
2561
|
+
"hasDynamicHelp": false,
|
|
2562
|
+
"multiple": false,
|
|
2563
|
+
"type": "option"
|
|
2564
|
+
},
|
|
2565
2565
|
"output": {
|
|
2566
2566
|
"char": "o",
|
|
2567
2567
|
"description": "Output format",
|
|
@@ -2588,7 +2588,7 @@
|
|
|
2588
2588
|
},
|
|
2589
2589
|
"hasDynamicHelp": false,
|
|
2590
2590
|
"hiddenAliases": [],
|
|
2591
|
-
"id": "release:
|
|
2591
|
+
"id": "release:edit",
|
|
2592
2592
|
"pluginAlias": "@xano/cli",
|
|
2593
2593
|
"pluginName": "@xano/cli",
|
|
2594
2594
|
"pluginType": "core",
|
|
@@ -2599,7 +2599,7 @@
|
|
|
2599
2599
|
"dist",
|
|
2600
2600
|
"commands",
|
|
2601
2601
|
"release",
|
|
2602
|
-
"
|
|
2602
|
+
"edit",
|
|
2603
2603
|
"index.js"
|
|
2604
2604
|
]
|
|
2605
2605
|
},
|
|
@@ -2743,103 +2743,20 @@
|
|
|
2743
2743
|
"index.js"
|
|
2744
2744
|
]
|
|
2745
2745
|
},
|
|
2746
|
-
"tenant:
|
|
2747
|
-
"aliases": [],
|
|
2748
|
-
"args": {
|
|
2749
|
-
"tenant_name": {
|
|
2750
|
-
"description": "Tenant name to deploy to",
|
|
2751
|
-
"name": "tenant_name",
|
|
2752
|
-
"required": true
|
|
2753
|
-
}
|
|
2754
|
-
},
|
|
2755
|
-
"description": "Deploy a release to a tenant",
|
|
2756
|
-
"examples": [
|
|
2757
|
-
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2758
|
-
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2759
|
-
],
|
|
2760
|
-
"flags": {
|
|
2761
|
-
"profile": {
|
|
2762
|
-
"char": "p",
|
|
2763
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2764
|
-
"env": "XANO_PROFILE",
|
|
2765
|
-
"name": "profile",
|
|
2766
|
-
"required": false,
|
|
2767
|
-
"hasDynamicHelp": false,
|
|
2768
|
-
"multiple": false,
|
|
2769
|
-
"type": "option"
|
|
2770
|
-
},
|
|
2771
|
-
"verbose": {
|
|
2772
|
-
"char": "v",
|
|
2773
|
-
"description": "Show detailed request/response information",
|
|
2774
|
-
"env": "XANO_VERBOSE",
|
|
2775
|
-
"name": "verbose",
|
|
2776
|
-
"required": false,
|
|
2777
|
-
"allowNo": false,
|
|
2778
|
-
"type": "boolean"
|
|
2779
|
-
},
|
|
2780
|
-
"output": {
|
|
2781
|
-
"char": "o",
|
|
2782
|
-
"description": "Output format",
|
|
2783
|
-
"name": "output",
|
|
2784
|
-
"required": false,
|
|
2785
|
-
"default": "summary",
|
|
2786
|
-
"hasDynamicHelp": false,
|
|
2787
|
-
"multiple": false,
|
|
2788
|
-
"options": [
|
|
2789
|
-
"summary",
|
|
2790
|
-
"json"
|
|
2791
|
-
],
|
|
2792
|
-
"type": "option"
|
|
2793
|
-
},
|
|
2794
|
-
"release": {
|
|
2795
|
-
"char": "r",
|
|
2796
|
-
"description": "Release name to deploy",
|
|
2797
|
-
"name": "release",
|
|
2798
|
-
"required": true,
|
|
2799
|
-
"hasDynamicHelp": false,
|
|
2800
|
-
"multiple": false,
|
|
2801
|
-
"type": "option"
|
|
2802
|
-
},
|
|
2803
|
-
"workspace": {
|
|
2804
|
-
"char": "w",
|
|
2805
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2806
|
-
"name": "workspace",
|
|
2807
|
-
"required": false,
|
|
2808
|
-
"hasDynamicHelp": false,
|
|
2809
|
-
"multiple": false,
|
|
2810
|
-
"type": "option"
|
|
2811
|
-
}
|
|
2812
|
-
},
|
|
2813
|
-
"hasDynamicHelp": false,
|
|
2814
|
-
"hiddenAliases": [],
|
|
2815
|
-
"id": "tenant:deploy_release",
|
|
2816
|
-
"pluginAlias": "@xano/cli",
|
|
2817
|
-
"pluginName": "@xano/cli",
|
|
2818
|
-
"pluginType": "core",
|
|
2819
|
-
"strict": true,
|
|
2820
|
-
"enableJsonFlag": false,
|
|
2821
|
-
"isESM": true,
|
|
2822
|
-
"relativePath": [
|
|
2823
|
-
"dist",
|
|
2824
|
-
"commands",
|
|
2825
|
-
"tenant",
|
|
2826
|
-
"deploy_release",
|
|
2827
|
-
"index.js"
|
|
2828
|
-
]
|
|
2829
|
-
},
|
|
2830
|
-
"tenant:edit": {
|
|
2746
|
+
"tenant:delete": {
|
|
2831
2747
|
"aliases": [],
|
|
2832
2748
|
"args": {
|
|
2833
2749
|
"tenant_name": {
|
|
2834
|
-
"description": "Tenant name to
|
|
2750
|
+
"description": "Tenant name to delete",
|
|
2835
2751
|
"name": "tenant_name",
|
|
2836
2752
|
"required": true
|
|
2837
2753
|
}
|
|
2838
2754
|
},
|
|
2839
|
-
"description": "
|
|
2755
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2840
2756
|
"examples": [
|
|
2841
|
-
"$ xano tenant
|
|
2842
|
-
"$ xano tenant
|
|
2757
|
+
"$ 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",
|
|
2758
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2759
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2843
2760
|
],
|
|
2844
2761
|
"flags": {
|
|
2845
2762
|
"profile": {
|
|
@@ -2861,73 +2778,27 @@
|
|
|
2861
2778
|
"allowNo": false,
|
|
2862
2779
|
"type": "boolean"
|
|
2863
2780
|
},
|
|
2864
|
-
"
|
|
2865
|
-
"char": "
|
|
2866
|
-
"description": "
|
|
2867
|
-
"name": "
|
|
2868
|
-
"required": false,
|
|
2869
|
-
"hasDynamicHelp": false,
|
|
2870
|
-
"multiple": false,
|
|
2871
|
-
"type": "option"
|
|
2872
|
-
},
|
|
2873
|
-
"display": {
|
|
2874
|
-
"description": "New display name",
|
|
2875
|
-
"name": "display",
|
|
2876
|
-
"required": false,
|
|
2877
|
-
"hasDynamicHelp": false,
|
|
2878
|
-
"multiple": false,
|
|
2879
|
-
"type": "option"
|
|
2880
|
-
},
|
|
2881
|
-
"domain": {
|
|
2882
|
-
"description": "Custom domain",
|
|
2883
|
-
"name": "domain",
|
|
2884
|
-
"required": false,
|
|
2885
|
-
"hasDynamicHelp": false,
|
|
2886
|
-
"multiple": false,
|
|
2887
|
-
"type": "option"
|
|
2888
|
-
},
|
|
2889
|
-
"ingress": {
|
|
2890
|
-
"description": "Enable/disable ingress",
|
|
2891
|
-
"name": "ingress",
|
|
2892
|
-
"required": false,
|
|
2893
|
-
"allowNo": true,
|
|
2894
|
-
"type": "boolean"
|
|
2895
|
-
},
|
|
2896
|
-
"output": {
|
|
2897
|
-
"char": "o",
|
|
2898
|
-
"description": "Output format",
|
|
2899
|
-
"name": "output",
|
|
2900
|
-
"required": false,
|
|
2901
|
-
"default": "summary",
|
|
2902
|
-
"hasDynamicHelp": false,
|
|
2903
|
-
"multiple": false,
|
|
2904
|
-
"options": [
|
|
2905
|
-
"summary",
|
|
2906
|
-
"json"
|
|
2907
|
-
],
|
|
2908
|
-
"type": "option"
|
|
2909
|
-
},
|
|
2910
|
-
"proxy": {
|
|
2911
|
-
"description": "Proxy URL",
|
|
2912
|
-
"name": "proxy",
|
|
2913
|
-
"required": false,
|
|
2914
|
-
"hasDynamicHelp": false,
|
|
2915
|
-
"multiple": false,
|
|
2916
|
-
"type": "option"
|
|
2917
|
-
},
|
|
2918
|
-
"rbac": {
|
|
2919
|
-
"description": "Enable/disable RBAC",
|
|
2920
|
-
"name": "rbac",
|
|
2781
|
+
"force": {
|
|
2782
|
+
"char": "f",
|
|
2783
|
+
"description": "Skip confirmation prompt",
|
|
2784
|
+
"name": "force",
|
|
2921
2785
|
"required": false,
|
|
2922
|
-
"allowNo":
|
|
2786
|
+
"allowNo": false,
|
|
2923
2787
|
"type": "boolean"
|
|
2924
2788
|
},
|
|
2925
|
-
"
|
|
2926
|
-
"
|
|
2927
|
-
"
|
|
2789
|
+
"output": {
|
|
2790
|
+
"char": "o",
|
|
2791
|
+
"description": "Output format",
|
|
2792
|
+
"name": "output",
|
|
2928
2793
|
"required": false,
|
|
2929
|
-
"
|
|
2930
|
-
"
|
|
2794
|
+
"default": "summary",
|
|
2795
|
+
"hasDynamicHelp": false,
|
|
2796
|
+
"multiple": false,
|
|
2797
|
+
"options": [
|
|
2798
|
+
"summary",
|
|
2799
|
+
"json"
|
|
2800
|
+
],
|
|
2801
|
+
"type": "option"
|
|
2931
2802
|
},
|
|
2932
2803
|
"workspace": {
|
|
2933
2804
|
"char": "w",
|
|
@@ -2941,7 +2812,7 @@
|
|
|
2941
2812
|
},
|
|
2942
2813
|
"hasDynamicHelp": false,
|
|
2943
2814
|
"hiddenAliases": [],
|
|
2944
|
-
"id": "tenant:
|
|
2815
|
+
"id": "tenant:delete",
|
|
2945
2816
|
"pluginAlias": "@xano/cli",
|
|
2946
2817
|
"pluginName": "@xano/cli",
|
|
2947
2818
|
"pluginType": "core",
|
|
@@ -2952,7 +2823,7 @@
|
|
|
2952
2823
|
"dist",
|
|
2953
2824
|
"commands",
|
|
2954
2825
|
"tenant",
|
|
2955
|
-
"
|
|
2826
|
+
"delete",
|
|
2956
2827
|
"index.js"
|
|
2957
2828
|
]
|
|
2958
2829
|
},
|
|
@@ -3049,20 +2920,19 @@
|
|
|
3049
2920
|
"index.js"
|
|
3050
2921
|
]
|
|
3051
2922
|
},
|
|
3052
|
-
"tenant:
|
|
2923
|
+
"tenant:deploy_release": {
|
|
3053
2924
|
"aliases": [],
|
|
3054
2925
|
"args": {
|
|
3055
2926
|
"tenant_name": {
|
|
3056
|
-
"description": "Tenant name to
|
|
2927
|
+
"description": "Tenant name to deploy to",
|
|
3057
2928
|
"name": "tenant_name",
|
|
3058
2929
|
"required": true
|
|
3059
2930
|
}
|
|
3060
2931
|
},
|
|
3061
|
-
"description": "
|
|
2932
|
+
"description": "Deploy a release to a tenant",
|
|
3062
2933
|
"examples": [
|
|
3063
|
-
"$ xano tenant
|
|
3064
|
-
"$ xano tenant
|
|
3065
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2934
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2935
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3066
2936
|
],
|
|
3067
2937
|
"flags": {
|
|
3068
2938
|
"profile": {
|
|
@@ -3084,14 +2954,6 @@
|
|
|
3084
2954
|
"allowNo": false,
|
|
3085
2955
|
"type": "boolean"
|
|
3086
2956
|
},
|
|
3087
|
-
"force": {
|
|
3088
|
-
"char": "f",
|
|
3089
|
-
"description": "Skip confirmation prompt",
|
|
3090
|
-
"name": "force",
|
|
3091
|
-
"required": false,
|
|
3092
|
-
"allowNo": false,
|
|
3093
|
-
"type": "boolean"
|
|
3094
|
-
},
|
|
3095
2957
|
"output": {
|
|
3096
2958
|
"char": "o",
|
|
3097
2959
|
"description": "Output format",
|
|
@@ -3106,6 +2968,15 @@
|
|
|
3106
2968
|
],
|
|
3107
2969
|
"type": "option"
|
|
3108
2970
|
},
|
|
2971
|
+
"release": {
|
|
2972
|
+
"char": "r",
|
|
2973
|
+
"description": "Release name to deploy",
|
|
2974
|
+
"name": "release",
|
|
2975
|
+
"required": true,
|
|
2976
|
+
"hasDynamicHelp": false,
|
|
2977
|
+
"multiple": false,
|
|
2978
|
+
"type": "option"
|
|
2979
|
+
},
|
|
3109
2980
|
"workspace": {
|
|
3110
2981
|
"char": "w",
|
|
3111
2982
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3118,7 +2989,7 @@
|
|
|
3118
2989
|
},
|
|
3119
2990
|
"hasDynamicHelp": false,
|
|
3120
2991
|
"hiddenAliases": [],
|
|
3121
|
-
"id": "tenant:
|
|
2992
|
+
"id": "tenant:deploy_release",
|
|
3122
2993
|
"pluginAlias": "@xano/cli",
|
|
3123
2994
|
"pluginName": "@xano/cli",
|
|
3124
2995
|
"pluginType": "core",
|
|
@@ -3129,7 +3000,7 @@
|
|
|
3129
3000
|
"dist",
|
|
3130
3001
|
"commands",
|
|
3131
3002
|
"tenant",
|
|
3132
|
-
"
|
|
3003
|
+
"deploy_release",
|
|
3133
3004
|
"index.js"
|
|
3134
3005
|
]
|
|
3135
3006
|
},
|
|
@@ -3316,26 +3187,221 @@
|
|
|
3316
3187
|
"env": "XANO_VERBOSE",
|
|
3317
3188
|
"name": "verbose",
|
|
3318
3189
|
"required": false,
|
|
3319
|
-
"allowNo": false,
|
|
3190
|
+
"allowNo": false,
|
|
3191
|
+
"type": "boolean"
|
|
3192
|
+
},
|
|
3193
|
+
"output": {
|
|
3194
|
+
"char": "o",
|
|
3195
|
+
"description": "Output format",
|
|
3196
|
+
"name": "output",
|
|
3197
|
+
"required": false,
|
|
3198
|
+
"default": "summary",
|
|
3199
|
+
"hasDynamicHelp": false,
|
|
3200
|
+
"multiple": false,
|
|
3201
|
+
"options": [
|
|
3202
|
+
"summary",
|
|
3203
|
+
"json"
|
|
3204
|
+
],
|
|
3205
|
+
"type": "option"
|
|
3206
|
+
},
|
|
3207
|
+
"workspace": {
|
|
3208
|
+
"char": "w",
|
|
3209
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3210
|
+
"name": "workspace",
|
|
3211
|
+
"required": false,
|
|
3212
|
+
"hasDynamicHelp": false,
|
|
3213
|
+
"multiple": false,
|
|
3214
|
+
"type": "option"
|
|
3215
|
+
}
|
|
3216
|
+
},
|
|
3217
|
+
"hasDynamicHelp": false,
|
|
3218
|
+
"hiddenAliases": [],
|
|
3219
|
+
"id": "tenant:list",
|
|
3220
|
+
"pluginAlias": "@xano/cli",
|
|
3221
|
+
"pluginName": "@xano/cli",
|
|
3222
|
+
"pluginType": "core",
|
|
3223
|
+
"strict": true,
|
|
3224
|
+
"enableJsonFlag": false,
|
|
3225
|
+
"isESM": true,
|
|
3226
|
+
"relativePath": [
|
|
3227
|
+
"dist",
|
|
3228
|
+
"commands",
|
|
3229
|
+
"tenant",
|
|
3230
|
+
"list",
|
|
3231
|
+
"index.js"
|
|
3232
|
+
]
|
|
3233
|
+
},
|
|
3234
|
+
"tenant:pull": {
|
|
3235
|
+
"aliases": [],
|
|
3236
|
+
"args": {
|
|
3237
|
+
"directory": {
|
|
3238
|
+
"description": "Output directory for pulled documents",
|
|
3239
|
+
"name": "directory",
|
|
3240
|
+
"required": true
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3243
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3244
|
+
"examples": [
|
|
3245
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3246
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3247
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3248
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3249
|
+
],
|
|
3250
|
+
"flags": {
|
|
3251
|
+
"profile": {
|
|
3252
|
+
"char": "p",
|
|
3253
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3254
|
+
"env": "XANO_PROFILE",
|
|
3255
|
+
"name": "profile",
|
|
3256
|
+
"required": false,
|
|
3257
|
+
"hasDynamicHelp": false,
|
|
3258
|
+
"multiple": false,
|
|
3259
|
+
"type": "option"
|
|
3260
|
+
},
|
|
3261
|
+
"verbose": {
|
|
3262
|
+
"char": "v",
|
|
3263
|
+
"description": "Show detailed request/response information",
|
|
3264
|
+
"env": "XANO_VERBOSE",
|
|
3265
|
+
"name": "verbose",
|
|
3266
|
+
"required": false,
|
|
3267
|
+
"allowNo": false,
|
|
3268
|
+
"type": "boolean"
|
|
3269
|
+
},
|
|
3270
|
+
"draft": {
|
|
3271
|
+
"description": "Include draft versions",
|
|
3272
|
+
"name": "draft",
|
|
3273
|
+
"required": false,
|
|
3274
|
+
"allowNo": false,
|
|
3275
|
+
"type": "boolean"
|
|
3276
|
+
},
|
|
3277
|
+
"env": {
|
|
3278
|
+
"description": "Include environment variables",
|
|
3279
|
+
"name": "env",
|
|
3280
|
+
"required": false,
|
|
3281
|
+
"allowNo": false,
|
|
3282
|
+
"type": "boolean"
|
|
3283
|
+
},
|
|
3284
|
+
"records": {
|
|
3285
|
+
"description": "Include records",
|
|
3286
|
+
"name": "records",
|
|
3287
|
+
"required": false,
|
|
3288
|
+
"allowNo": false,
|
|
3289
|
+
"type": "boolean"
|
|
3290
|
+
},
|
|
3291
|
+
"tenant": {
|
|
3292
|
+
"char": "t",
|
|
3293
|
+
"description": "Tenant name to pull from",
|
|
3294
|
+
"name": "tenant",
|
|
3295
|
+
"required": true,
|
|
3296
|
+
"hasDynamicHelp": false,
|
|
3297
|
+
"multiple": false,
|
|
3298
|
+
"type": "option"
|
|
3299
|
+
},
|
|
3300
|
+
"workspace": {
|
|
3301
|
+
"char": "w",
|
|
3302
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3303
|
+
"name": "workspace",
|
|
3304
|
+
"required": false,
|
|
3305
|
+
"hasDynamicHelp": false,
|
|
3306
|
+
"multiple": false,
|
|
3307
|
+
"type": "option"
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
"hasDynamicHelp": false,
|
|
3311
|
+
"hiddenAliases": [],
|
|
3312
|
+
"id": "tenant:pull",
|
|
3313
|
+
"pluginAlias": "@xano/cli",
|
|
3314
|
+
"pluginName": "@xano/cli",
|
|
3315
|
+
"pluginType": "core",
|
|
3316
|
+
"strict": true,
|
|
3317
|
+
"enableJsonFlag": false,
|
|
3318
|
+
"isESM": true,
|
|
3319
|
+
"relativePath": [
|
|
3320
|
+
"dist",
|
|
3321
|
+
"commands",
|
|
3322
|
+
"tenant",
|
|
3323
|
+
"pull",
|
|
3324
|
+
"index.js"
|
|
3325
|
+
]
|
|
3326
|
+
},
|
|
3327
|
+
"tenant:push": {
|
|
3328
|
+
"aliases": [],
|
|
3329
|
+
"args": {
|
|
3330
|
+
"directory": {
|
|
3331
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3332
|
+
"name": "directory",
|
|
3333
|
+
"required": true
|
|
3334
|
+
}
|
|
3335
|
+
},
|
|
3336
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3337
|
+
"examples": [
|
|
3338
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3339
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3340
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3341
|
+
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3342
|
+
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3343
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3344
|
+
],
|
|
3345
|
+
"flags": {
|
|
3346
|
+
"profile": {
|
|
3347
|
+
"char": "p",
|
|
3348
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3349
|
+
"env": "XANO_PROFILE",
|
|
3350
|
+
"name": "profile",
|
|
3351
|
+
"required": false,
|
|
3352
|
+
"hasDynamicHelp": false,
|
|
3353
|
+
"multiple": false,
|
|
3354
|
+
"type": "option"
|
|
3355
|
+
},
|
|
3356
|
+
"verbose": {
|
|
3357
|
+
"char": "v",
|
|
3358
|
+
"description": "Show detailed request/response information",
|
|
3359
|
+
"env": "XANO_VERBOSE",
|
|
3360
|
+
"name": "verbose",
|
|
3361
|
+
"required": false,
|
|
3362
|
+
"allowNo": false,
|
|
3363
|
+
"type": "boolean"
|
|
3364
|
+
},
|
|
3365
|
+
"env": {
|
|
3366
|
+
"description": "Include environment variables in import",
|
|
3367
|
+
"name": "env",
|
|
3368
|
+
"required": false,
|
|
3369
|
+
"allowNo": false,
|
|
3370
|
+
"type": "boolean"
|
|
3371
|
+
},
|
|
3372
|
+
"records": {
|
|
3373
|
+
"description": "Include records in import",
|
|
3374
|
+
"name": "records",
|
|
3375
|
+
"required": false,
|
|
3376
|
+
"allowNo": false,
|
|
3377
|
+
"type": "boolean"
|
|
3378
|
+
},
|
|
3379
|
+
"tenant": {
|
|
3380
|
+
"char": "t",
|
|
3381
|
+
"description": "Tenant name to push to",
|
|
3382
|
+
"name": "tenant",
|
|
3383
|
+
"required": true,
|
|
3384
|
+
"hasDynamicHelp": false,
|
|
3385
|
+
"multiple": false,
|
|
3386
|
+
"type": "option"
|
|
3387
|
+
},
|
|
3388
|
+
"transaction": {
|
|
3389
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3390
|
+
"name": "transaction",
|
|
3391
|
+
"required": false,
|
|
3392
|
+
"allowNo": true,
|
|
3320
3393
|
"type": "boolean"
|
|
3321
3394
|
},
|
|
3322
|
-
"
|
|
3323
|
-
"
|
|
3324
|
-
"
|
|
3325
|
-
"name": "output",
|
|
3395
|
+
"truncate": {
|
|
3396
|
+
"description": "Truncate all table records before importing",
|
|
3397
|
+
"name": "truncate",
|
|
3326
3398
|
"required": false,
|
|
3327
|
-
"
|
|
3328
|
-
"
|
|
3329
|
-
"multiple": false,
|
|
3330
|
-
"options": [
|
|
3331
|
-
"summary",
|
|
3332
|
-
"json"
|
|
3333
|
-
],
|
|
3334
|
-
"type": "option"
|
|
3399
|
+
"allowNo": false,
|
|
3400
|
+
"type": "boolean"
|
|
3335
3401
|
},
|
|
3336
3402
|
"workspace": {
|
|
3337
3403
|
"char": "w",
|
|
3338
|
-
"description": "Workspace ID (
|
|
3404
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3339
3405
|
"name": "workspace",
|
|
3340
3406
|
"required": false,
|
|
3341
3407
|
"hasDynamicHelp": false,
|
|
@@ -3345,7 +3411,7 @@
|
|
|
3345
3411
|
},
|
|
3346
3412
|
"hasDynamicHelp": false,
|
|
3347
3413
|
"hiddenAliases": [],
|
|
3348
|
-
"id": "tenant:
|
|
3414
|
+
"id": "tenant:push",
|
|
3349
3415
|
"pluginAlias": "@xano/cli",
|
|
3350
3416
|
"pluginName": "@xano/cli",
|
|
3351
3417
|
"pluginType": "core",
|
|
@@ -3356,7 +3422,7 @@
|
|
|
3356
3422
|
"dist",
|
|
3357
3423
|
"commands",
|
|
3358
3424
|
"tenant",
|
|
3359
|
-
"
|
|
3425
|
+
"push",
|
|
3360
3426
|
"index.js"
|
|
3361
3427
|
]
|
|
3362
3428
|
},
|
|
@@ -3527,99 +3593,6 @@
|
|
|
3527
3593
|
"index.js"
|
|
3528
3594
|
]
|
|
3529
3595
|
},
|
|
3530
|
-
"tenant:pull": {
|
|
3531
|
-
"aliases": [],
|
|
3532
|
-
"args": {
|
|
3533
|
-
"directory": {
|
|
3534
|
-
"description": "Output directory for pulled documents",
|
|
3535
|
-
"name": "directory",
|
|
3536
|
-
"required": true
|
|
3537
|
-
}
|
|
3538
|
-
},
|
|
3539
|
-
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3540
|
-
"examples": [
|
|
3541
|
-
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3542
|
-
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3543
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3544
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3545
|
-
],
|
|
3546
|
-
"flags": {
|
|
3547
|
-
"profile": {
|
|
3548
|
-
"char": "p",
|
|
3549
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3550
|
-
"env": "XANO_PROFILE",
|
|
3551
|
-
"name": "profile",
|
|
3552
|
-
"required": false,
|
|
3553
|
-
"hasDynamicHelp": false,
|
|
3554
|
-
"multiple": false,
|
|
3555
|
-
"type": "option"
|
|
3556
|
-
},
|
|
3557
|
-
"verbose": {
|
|
3558
|
-
"char": "v",
|
|
3559
|
-
"description": "Show detailed request/response information",
|
|
3560
|
-
"env": "XANO_VERBOSE",
|
|
3561
|
-
"name": "verbose",
|
|
3562
|
-
"required": false,
|
|
3563
|
-
"allowNo": false,
|
|
3564
|
-
"type": "boolean"
|
|
3565
|
-
},
|
|
3566
|
-
"draft": {
|
|
3567
|
-
"description": "Include draft versions",
|
|
3568
|
-
"name": "draft",
|
|
3569
|
-
"required": false,
|
|
3570
|
-
"allowNo": false,
|
|
3571
|
-
"type": "boolean"
|
|
3572
|
-
},
|
|
3573
|
-
"env": {
|
|
3574
|
-
"description": "Include environment variables",
|
|
3575
|
-
"name": "env",
|
|
3576
|
-
"required": false,
|
|
3577
|
-
"allowNo": false,
|
|
3578
|
-
"type": "boolean"
|
|
3579
|
-
},
|
|
3580
|
-
"records": {
|
|
3581
|
-
"description": "Include records",
|
|
3582
|
-
"name": "records",
|
|
3583
|
-
"required": false,
|
|
3584
|
-
"allowNo": false,
|
|
3585
|
-
"type": "boolean"
|
|
3586
|
-
},
|
|
3587
|
-
"tenant": {
|
|
3588
|
-
"char": "t",
|
|
3589
|
-
"description": "Tenant name to pull from",
|
|
3590
|
-
"name": "tenant",
|
|
3591
|
-
"required": true,
|
|
3592
|
-
"hasDynamicHelp": false,
|
|
3593
|
-
"multiple": false,
|
|
3594
|
-
"type": "option"
|
|
3595
|
-
},
|
|
3596
|
-
"workspace": {
|
|
3597
|
-
"char": "w",
|
|
3598
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
3599
|
-
"name": "workspace",
|
|
3600
|
-
"required": false,
|
|
3601
|
-
"hasDynamicHelp": false,
|
|
3602
|
-
"multiple": false,
|
|
3603
|
-
"type": "option"
|
|
3604
|
-
}
|
|
3605
|
-
},
|
|
3606
|
-
"hasDynamicHelp": false,
|
|
3607
|
-
"hiddenAliases": [],
|
|
3608
|
-
"id": "tenant:pull",
|
|
3609
|
-
"pluginAlias": "@xano/cli",
|
|
3610
|
-
"pluginName": "@xano/cli",
|
|
3611
|
-
"pluginType": "core",
|
|
3612
|
-
"strict": true,
|
|
3613
|
-
"enableJsonFlag": false,
|
|
3614
|
-
"isESM": true,
|
|
3615
|
-
"relativePath": [
|
|
3616
|
-
"dist",
|
|
3617
|
-
"commands",
|
|
3618
|
-
"tenant",
|
|
3619
|
-
"pull",
|
|
3620
|
-
"index.js"
|
|
3621
|
-
]
|
|
3622
|
-
},
|
|
3623
3596
|
"unit_test:run_all": {
|
|
3624
3597
|
"aliases": [],
|
|
3625
3598
|
"args": {},
|
|
@@ -3957,13 +3930,19 @@
|
|
|
3957
3930
|
"index.js"
|
|
3958
3931
|
]
|
|
3959
3932
|
},
|
|
3960
|
-
"workflow_test:
|
|
3933
|
+
"workflow_test:run": {
|
|
3961
3934
|
"aliases": [],
|
|
3962
|
-
"args": {
|
|
3963
|
-
|
|
3935
|
+
"args": {
|
|
3936
|
+
"workflow_test_id": {
|
|
3937
|
+
"description": "ID of the workflow test to run",
|
|
3938
|
+
"name": "workflow_test_id",
|
|
3939
|
+
"required": true
|
|
3940
|
+
}
|
|
3941
|
+
},
|
|
3942
|
+
"description": "Run a workflow test",
|
|
3964
3943
|
"examples": [
|
|
3965
|
-
"$ xano workflow-test run
|
|
3966
|
-
"$ xano workflow-test run
|
|
3944
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3945
|
+
"$ xano workflow-test run 1 -o json"
|
|
3967
3946
|
],
|
|
3968
3947
|
"flags": {
|
|
3969
3948
|
"profile": {
|
|
@@ -3985,15 +3964,113 @@
|
|
|
3985
3964
|
"allowNo": false,
|
|
3986
3965
|
"type": "boolean"
|
|
3987
3966
|
},
|
|
3988
|
-
"
|
|
3989
|
-
"char": "
|
|
3990
|
-
"description": "
|
|
3991
|
-
"name": "
|
|
3967
|
+
"output": {
|
|
3968
|
+
"char": "o",
|
|
3969
|
+
"description": "Output format",
|
|
3970
|
+
"name": "output",
|
|
3971
|
+
"required": false,
|
|
3972
|
+
"default": "summary",
|
|
3973
|
+
"hasDynamicHelp": false,
|
|
3974
|
+
"multiple": false,
|
|
3975
|
+
"options": [
|
|
3976
|
+
"summary",
|
|
3977
|
+
"json"
|
|
3978
|
+
],
|
|
3979
|
+
"type": "option"
|
|
3980
|
+
},
|
|
3981
|
+
"workspace": {
|
|
3982
|
+
"char": "w",
|
|
3983
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3984
|
+
"name": "workspace",
|
|
3985
|
+
"required": false,
|
|
3986
|
+
"hasDynamicHelp": false,
|
|
3987
|
+
"multiple": false,
|
|
3988
|
+
"type": "option"
|
|
3989
|
+
}
|
|
3990
|
+
},
|
|
3991
|
+
"hasDynamicHelp": false,
|
|
3992
|
+
"hiddenAliases": [],
|
|
3993
|
+
"id": "workflow_test:run",
|
|
3994
|
+
"pluginAlias": "@xano/cli",
|
|
3995
|
+
"pluginName": "@xano/cli",
|
|
3996
|
+
"pluginType": "core",
|
|
3997
|
+
"strict": true,
|
|
3998
|
+
"enableJsonFlag": false,
|
|
3999
|
+
"isESM": true,
|
|
4000
|
+
"relativePath": [
|
|
4001
|
+
"dist",
|
|
4002
|
+
"commands",
|
|
4003
|
+
"workflow_test",
|
|
4004
|
+
"run",
|
|
4005
|
+
"index.js"
|
|
4006
|
+
]
|
|
4007
|
+
},
|
|
4008
|
+
"tenant:edit": {
|
|
4009
|
+
"aliases": [],
|
|
4010
|
+
"args": {
|
|
4011
|
+
"tenant_name": {
|
|
4012
|
+
"description": "Tenant name to edit",
|
|
4013
|
+
"name": "tenant_name",
|
|
4014
|
+
"required": true
|
|
4015
|
+
}
|
|
4016
|
+
},
|
|
4017
|
+
"description": "Edit an existing tenant",
|
|
4018
|
+
"examples": [
|
|
4019
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
4020
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
4021
|
+
],
|
|
4022
|
+
"flags": {
|
|
4023
|
+
"profile": {
|
|
4024
|
+
"char": "p",
|
|
4025
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4026
|
+
"env": "XANO_PROFILE",
|
|
4027
|
+
"name": "profile",
|
|
4028
|
+
"required": false,
|
|
4029
|
+
"hasDynamicHelp": false,
|
|
4030
|
+
"multiple": false,
|
|
4031
|
+
"type": "option"
|
|
4032
|
+
},
|
|
4033
|
+
"verbose": {
|
|
4034
|
+
"char": "v",
|
|
4035
|
+
"description": "Show detailed request/response information",
|
|
4036
|
+
"env": "XANO_VERBOSE",
|
|
4037
|
+
"name": "verbose",
|
|
4038
|
+
"required": false,
|
|
4039
|
+
"allowNo": false,
|
|
4040
|
+
"type": "boolean"
|
|
4041
|
+
},
|
|
4042
|
+
"description": {
|
|
4043
|
+
"char": "d",
|
|
4044
|
+
"description": "New description",
|
|
4045
|
+
"name": "description",
|
|
4046
|
+
"required": false,
|
|
4047
|
+
"hasDynamicHelp": false,
|
|
4048
|
+
"multiple": false,
|
|
4049
|
+
"type": "option"
|
|
4050
|
+
},
|
|
4051
|
+
"display": {
|
|
4052
|
+
"description": "New display name",
|
|
4053
|
+
"name": "display",
|
|
4054
|
+
"required": false,
|
|
4055
|
+
"hasDynamicHelp": false,
|
|
4056
|
+
"multiple": false,
|
|
4057
|
+
"type": "option"
|
|
4058
|
+
},
|
|
4059
|
+
"domain": {
|
|
4060
|
+
"description": "Custom domain",
|
|
4061
|
+
"name": "domain",
|
|
3992
4062
|
"required": false,
|
|
3993
4063
|
"hasDynamicHelp": false,
|
|
3994
4064
|
"multiple": false,
|
|
3995
4065
|
"type": "option"
|
|
3996
4066
|
},
|
|
4067
|
+
"ingress": {
|
|
4068
|
+
"description": "Enable/disable ingress",
|
|
4069
|
+
"name": "ingress",
|
|
4070
|
+
"required": false,
|
|
4071
|
+
"allowNo": true,
|
|
4072
|
+
"type": "boolean"
|
|
4073
|
+
},
|
|
3997
4074
|
"output": {
|
|
3998
4075
|
"char": "o",
|
|
3999
4076
|
"description": "Output format",
|
|
@@ -4008,6 +4085,28 @@
|
|
|
4008
4085
|
],
|
|
4009
4086
|
"type": "option"
|
|
4010
4087
|
},
|
|
4088
|
+
"proxy": {
|
|
4089
|
+
"description": "Proxy URL",
|
|
4090
|
+
"name": "proxy",
|
|
4091
|
+
"required": false,
|
|
4092
|
+
"hasDynamicHelp": false,
|
|
4093
|
+
"multiple": false,
|
|
4094
|
+
"type": "option"
|
|
4095
|
+
},
|
|
4096
|
+
"rbac": {
|
|
4097
|
+
"description": "Enable/disable RBAC",
|
|
4098
|
+
"name": "rbac",
|
|
4099
|
+
"required": false,
|
|
4100
|
+
"allowNo": true,
|
|
4101
|
+
"type": "boolean"
|
|
4102
|
+
},
|
|
4103
|
+
"tasks": {
|
|
4104
|
+
"description": "Enable/disable background tasks",
|
|
4105
|
+
"name": "tasks",
|
|
4106
|
+
"required": false,
|
|
4107
|
+
"allowNo": true,
|
|
4108
|
+
"type": "boolean"
|
|
4109
|
+
},
|
|
4011
4110
|
"workspace": {
|
|
4012
4111
|
"char": "w",
|
|
4013
4112
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -4020,7 +4119,7 @@
|
|
|
4020
4119
|
},
|
|
4021
4120
|
"hasDynamicHelp": false,
|
|
4022
4121
|
"hiddenAliases": [],
|
|
4023
|
-
"id": "
|
|
4122
|
+
"id": "tenant:edit",
|
|
4024
4123
|
"pluginAlias": "@xano/cli",
|
|
4025
4124
|
"pluginName": "@xano/cli",
|
|
4026
4125
|
"pluginType": "core",
|
|
@@ -4030,24 +4129,18 @@
|
|
|
4030
4129
|
"relativePath": [
|
|
4031
4130
|
"dist",
|
|
4032
4131
|
"commands",
|
|
4033
|
-
"
|
|
4034
|
-
"
|
|
4132
|
+
"tenant",
|
|
4133
|
+
"edit",
|
|
4035
4134
|
"index.js"
|
|
4036
4135
|
]
|
|
4037
4136
|
},
|
|
4038
|
-
"workflow_test:
|
|
4137
|
+
"workflow_test:run_all": {
|
|
4039
4138
|
"aliases": [],
|
|
4040
|
-
"args": {
|
|
4041
|
-
|
|
4042
|
-
"description": "ID of the workflow test to run",
|
|
4043
|
-
"name": "workflow_test_id",
|
|
4044
|
-
"required": true
|
|
4045
|
-
}
|
|
4046
|
-
},
|
|
4047
|
-
"description": "Run a workflow test",
|
|
4139
|
+
"args": {},
|
|
4140
|
+
"description": "Run all workflow tests in a workspace",
|
|
4048
4141
|
"examples": [
|
|
4049
|
-
"$ xano workflow-test run
|
|
4050
|
-
"$ xano workflow-test run
|
|
4142
|
+
"$ 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",
|
|
4143
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4051
4144
|
],
|
|
4052
4145
|
"flags": {
|
|
4053
4146
|
"profile": {
|
|
@@ -4069,6 +4162,15 @@
|
|
|
4069
4162
|
"allowNo": false,
|
|
4070
4163
|
"type": "boolean"
|
|
4071
4164
|
},
|
|
4165
|
+
"branch": {
|
|
4166
|
+
"char": "b",
|
|
4167
|
+
"description": "Filter by branch name",
|
|
4168
|
+
"name": "branch",
|
|
4169
|
+
"required": false,
|
|
4170
|
+
"hasDynamicHelp": false,
|
|
4171
|
+
"multiple": false,
|
|
4172
|
+
"type": "option"
|
|
4173
|
+
},
|
|
4072
4174
|
"output": {
|
|
4073
4175
|
"char": "o",
|
|
4074
4176
|
"description": "Output format",
|
|
@@ -4095,7 +4197,7 @@
|
|
|
4095
4197
|
},
|
|
4096
4198
|
"hasDynamicHelp": false,
|
|
4097
4199
|
"hiddenAliases": [],
|
|
4098
|
-
"id": "workflow_test:
|
|
4200
|
+
"id": "workflow_test:run_all",
|
|
4099
4201
|
"pluginAlias": "@xano/cli",
|
|
4100
4202
|
"pluginName": "@xano/cli",
|
|
4101
4203
|
"pluginType": "core",
|
|
@@ -4106,7 +4208,7 @@
|
|
|
4106
4208
|
"dist",
|
|
4107
4209
|
"commands",
|
|
4108
4210
|
"workflow_test",
|
|
4109
|
-
"
|
|
4211
|
+
"run_all",
|
|
4110
4212
|
"index.js"
|
|
4111
4213
|
]
|
|
4112
4214
|
},
|
|
@@ -4186,108 +4288,6 @@
|
|
|
4186
4288
|
"index.js"
|
|
4187
4289
|
]
|
|
4188
4290
|
},
|
|
4189
|
-
"tenant:push": {
|
|
4190
|
-
"aliases": [],
|
|
4191
|
-
"args": {
|
|
4192
|
-
"directory": {
|
|
4193
|
-
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
4194
|
-
"name": "directory",
|
|
4195
|
-
"required": true
|
|
4196
|
-
}
|
|
4197
|
-
},
|
|
4198
|
-
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
4199
|
-
"examples": [
|
|
4200
|
-
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
4201
|
-
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
4202
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
4203
|
-
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
4204
|
-
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
4205
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
4206
|
-
],
|
|
4207
|
-
"flags": {
|
|
4208
|
-
"profile": {
|
|
4209
|
-
"char": "p",
|
|
4210
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4211
|
-
"env": "XANO_PROFILE",
|
|
4212
|
-
"name": "profile",
|
|
4213
|
-
"required": false,
|
|
4214
|
-
"hasDynamicHelp": false,
|
|
4215
|
-
"multiple": false,
|
|
4216
|
-
"type": "option"
|
|
4217
|
-
},
|
|
4218
|
-
"verbose": {
|
|
4219
|
-
"char": "v",
|
|
4220
|
-
"description": "Show detailed request/response information",
|
|
4221
|
-
"env": "XANO_VERBOSE",
|
|
4222
|
-
"name": "verbose",
|
|
4223
|
-
"required": false,
|
|
4224
|
-
"allowNo": false,
|
|
4225
|
-
"type": "boolean"
|
|
4226
|
-
},
|
|
4227
|
-
"env": {
|
|
4228
|
-
"description": "Include environment variables in import",
|
|
4229
|
-
"name": "env",
|
|
4230
|
-
"required": false,
|
|
4231
|
-
"allowNo": false,
|
|
4232
|
-
"type": "boolean"
|
|
4233
|
-
},
|
|
4234
|
-
"records": {
|
|
4235
|
-
"description": "Include records in import",
|
|
4236
|
-
"name": "records",
|
|
4237
|
-
"required": false,
|
|
4238
|
-
"allowNo": false,
|
|
4239
|
-
"type": "boolean"
|
|
4240
|
-
},
|
|
4241
|
-
"tenant": {
|
|
4242
|
-
"char": "t",
|
|
4243
|
-
"description": "Tenant name to push to",
|
|
4244
|
-
"name": "tenant",
|
|
4245
|
-
"required": true,
|
|
4246
|
-
"hasDynamicHelp": false,
|
|
4247
|
-
"multiple": false,
|
|
4248
|
-
"type": "option"
|
|
4249
|
-
},
|
|
4250
|
-
"transaction": {
|
|
4251
|
-
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
4252
|
-
"name": "transaction",
|
|
4253
|
-
"required": false,
|
|
4254
|
-
"allowNo": true,
|
|
4255
|
-
"type": "boolean"
|
|
4256
|
-
},
|
|
4257
|
-
"truncate": {
|
|
4258
|
-
"description": "Truncate all table records before importing",
|
|
4259
|
-
"name": "truncate",
|
|
4260
|
-
"required": false,
|
|
4261
|
-
"allowNo": false,
|
|
4262
|
-
"type": "boolean"
|
|
4263
|
-
},
|
|
4264
|
-
"workspace": {
|
|
4265
|
-
"char": "w",
|
|
4266
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4267
|
-
"name": "workspace",
|
|
4268
|
-
"required": false,
|
|
4269
|
-
"hasDynamicHelp": false,
|
|
4270
|
-
"multiple": false,
|
|
4271
|
-
"type": "option"
|
|
4272
|
-
}
|
|
4273
|
-
},
|
|
4274
|
-
"hasDynamicHelp": false,
|
|
4275
|
-
"hiddenAliases": [],
|
|
4276
|
-
"id": "tenant:push",
|
|
4277
|
-
"pluginAlias": "@xano/cli",
|
|
4278
|
-
"pluginName": "@xano/cli",
|
|
4279
|
-
"pluginType": "core",
|
|
4280
|
-
"strict": true,
|
|
4281
|
-
"enableJsonFlag": false,
|
|
4282
|
-
"isESM": true,
|
|
4283
|
-
"relativePath": [
|
|
4284
|
-
"dist",
|
|
4285
|
-
"commands",
|
|
4286
|
-
"tenant",
|
|
4287
|
-
"push",
|
|
4288
|
-
"index.js"
|
|
4289
|
-
]
|
|
4290
|
-
},
|
|
4291
4291
|
"workspace:delete": {
|
|
4292
4292
|
"aliases": [],
|
|
4293
4293
|
"args": {
|
|
@@ -4363,21 +4363,20 @@
|
|
|
4363
4363
|
"index.js"
|
|
4364
4364
|
]
|
|
4365
4365
|
},
|
|
4366
|
-
"workspace:
|
|
4366
|
+
"workspace:get": {
|
|
4367
4367
|
"aliases": [],
|
|
4368
4368
|
"args": {
|
|
4369
4369
|
"workspace_id": {
|
|
4370
|
-
"description": "Workspace ID to
|
|
4370
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4371
4371
|
"name": "workspace_id",
|
|
4372
4372
|
"required": false
|
|
4373
4373
|
}
|
|
4374
4374
|
},
|
|
4375
|
-
"description": "
|
|
4375
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4376
4376
|
"examples": [
|
|
4377
|
-
"$ xano workspace
|
|
4378
|
-
"$ xano workspace
|
|
4379
|
-
"$ xano workspace
|
|
4380
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4377
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4378
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4379
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4381
4380
|
],
|
|
4382
4381
|
"flags": {
|
|
4383
4382
|
"profile": {
|
|
@@ -4399,24 +4398,6 @@
|
|
|
4399
4398
|
"allowNo": false,
|
|
4400
4399
|
"type": "boolean"
|
|
4401
4400
|
},
|
|
4402
|
-
"description": {
|
|
4403
|
-
"char": "d",
|
|
4404
|
-
"description": "New description for the workspace",
|
|
4405
|
-
"name": "description",
|
|
4406
|
-
"required": false,
|
|
4407
|
-
"hasDynamicHelp": false,
|
|
4408
|
-
"multiple": false,
|
|
4409
|
-
"type": "option"
|
|
4410
|
-
},
|
|
4411
|
-
"name": {
|
|
4412
|
-
"char": "n",
|
|
4413
|
-
"description": "New name for the workspace",
|
|
4414
|
-
"name": "name",
|
|
4415
|
-
"required": false,
|
|
4416
|
-
"hasDynamicHelp": false,
|
|
4417
|
-
"multiple": false,
|
|
4418
|
-
"type": "option"
|
|
4419
|
-
},
|
|
4420
4401
|
"output": {
|
|
4421
4402
|
"char": "o",
|
|
4422
4403
|
"description": "Output format",
|
|
@@ -4430,25 +4411,11 @@
|
|
|
4430
4411
|
"json"
|
|
4431
4412
|
],
|
|
4432
4413
|
"type": "option"
|
|
4433
|
-
},
|
|
4434
|
-
"require-token": {
|
|
4435
|
-
"description": "Whether to require a token for documentation access",
|
|
4436
|
-
"name": "require-token",
|
|
4437
|
-
"required": false,
|
|
4438
|
-
"allowNo": true,
|
|
4439
|
-
"type": "boolean"
|
|
4440
|
-
},
|
|
4441
|
-
"swagger": {
|
|
4442
|
-
"description": "Enable or disable swagger documentation",
|
|
4443
|
-
"name": "swagger",
|
|
4444
|
-
"required": false,
|
|
4445
|
-
"allowNo": true,
|
|
4446
|
-
"type": "boolean"
|
|
4447
4414
|
}
|
|
4448
4415
|
},
|
|
4449
4416
|
"hasDynamicHelp": false,
|
|
4450
4417
|
"hiddenAliases": [],
|
|
4451
|
-
"id": "workspace:
|
|
4418
|
+
"id": "workspace:get",
|
|
4452
4419
|
"pluginAlias": "@xano/cli",
|
|
4453
4420
|
"pluginName": "@xano/cli",
|
|
4454
4421
|
"pluginType": "core",
|
|
@@ -4459,24 +4426,19 @@
|
|
|
4459
4426
|
"dist",
|
|
4460
4427
|
"commands",
|
|
4461
4428
|
"workspace",
|
|
4462
|
-
"
|
|
4429
|
+
"get",
|
|
4463
4430
|
"index.js"
|
|
4464
4431
|
]
|
|
4465
4432
|
},
|
|
4466
|
-
"workspace:
|
|
4433
|
+
"workspace:list": {
|
|
4467
4434
|
"aliases": [],
|
|
4468
|
-
"args": {
|
|
4469
|
-
|
|
4470
|
-
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4471
|
-
"name": "workspace_id",
|
|
4472
|
-
"required": false
|
|
4473
|
-
}
|
|
4474
|
-
},
|
|
4475
|
-
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4435
|
+
"args": {},
|
|
4436
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4476
4437
|
"examples": [
|
|
4477
|
-
"$ xano workspace
|
|
4478
|
-
"$ xano workspace
|
|
4479
|
-
"$ xano workspace
|
|
4438
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4439
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4440
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4441
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4480
4442
|
],
|
|
4481
4443
|
"flags": {
|
|
4482
4444
|
"profile": {
|
|
@@ -4515,7 +4477,7 @@
|
|
|
4515
4477
|
},
|
|
4516
4478
|
"hasDynamicHelp": false,
|
|
4517
4479
|
"hiddenAliases": [],
|
|
4518
|
-
"id": "workspace:
|
|
4480
|
+
"id": "workspace:list",
|
|
4519
4481
|
"pluginAlias": "@xano/cli",
|
|
4520
4482
|
"pluginName": "@xano/cli",
|
|
4521
4483
|
"pluginType": "core",
|
|
@@ -4526,19 +4488,25 @@
|
|
|
4526
4488
|
"dist",
|
|
4527
4489
|
"commands",
|
|
4528
4490
|
"workspace",
|
|
4529
|
-
"
|
|
4491
|
+
"list",
|
|
4530
4492
|
"index.js"
|
|
4531
4493
|
]
|
|
4532
4494
|
},
|
|
4533
|
-
"workspace:
|
|
4495
|
+
"workspace:edit": {
|
|
4534
4496
|
"aliases": [],
|
|
4535
|
-
"args": {
|
|
4536
|
-
|
|
4497
|
+
"args": {
|
|
4498
|
+
"workspace_id": {
|
|
4499
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4500
|
+
"name": "workspace_id",
|
|
4501
|
+
"required": false
|
|
4502
|
+
}
|
|
4503
|
+
},
|
|
4504
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4537
4505
|
"examples": [
|
|
4538
|
-
"$ xano workspace
|
|
4539
|
-
"$ xano workspace
|
|
4540
|
-
"$ xano workspace
|
|
4541
|
-
"$ xano workspace
|
|
4506
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4507
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4508
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4509
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4542
4510
|
],
|
|
4543
4511
|
"flags": {
|
|
4544
4512
|
"profile": {
|
|
@@ -4560,6 +4528,24 @@
|
|
|
4560
4528
|
"allowNo": false,
|
|
4561
4529
|
"type": "boolean"
|
|
4562
4530
|
},
|
|
4531
|
+
"description": {
|
|
4532
|
+
"char": "d",
|
|
4533
|
+
"description": "New description for the workspace",
|
|
4534
|
+
"name": "description",
|
|
4535
|
+
"required": false,
|
|
4536
|
+
"hasDynamicHelp": false,
|
|
4537
|
+
"multiple": false,
|
|
4538
|
+
"type": "option"
|
|
4539
|
+
},
|
|
4540
|
+
"name": {
|
|
4541
|
+
"char": "n",
|
|
4542
|
+
"description": "New name for the workspace",
|
|
4543
|
+
"name": "name",
|
|
4544
|
+
"required": false,
|
|
4545
|
+
"hasDynamicHelp": false,
|
|
4546
|
+
"multiple": false,
|
|
4547
|
+
"type": "option"
|
|
4548
|
+
},
|
|
4563
4549
|
"output": {
|
|
4564
4550
|
"char": "o",
|
|
4565
4551
|
"description": "Output format",
|
|
@@ -4573,11 +4559,25 @@
|
|
|
4573
4559
|
"json"
|
|
4574
4560
|
],
|
|
4575
4561
|
"type": "option"
|
|
4562
|
+
},
|
|
4563
|
+
"require-token": {
|
|
4564
|
+
"description": "Whether to require a token for documentation access",
|
|
4565
|
+
"name": "require-token",
|
|
4566
|
+
"required": false,
|
|
4567
|
+
"allowNo": true,
|
|
4568
|
+
"type": "boolean"
|
|
4569
|
+
},
|
|
4570
|
+
"swagger": {
|
|
4571
|
+
"description": "Enable or disable swagger documentation",
|
|
4572
|
+
"name": "swagger",
|
|
4573
|
+
"required": false,
|
|
4574
|
+
"allowNo": true,
|
|
4575
|
+
"type": "boolean"
|
|
4576
4576
|
}
|
|
4577
4577
|
},
|
|
4578
4578
|
"hasDynamicHelp": false,
|
|
4579
4579
|
"hiddenAliases": [],
|
|
4580
|
-
"id": "workspace:
|
|
4580
|
+
"id": "workspace:edit",
|
|
4581
4581
|
"pluginAlias": "@xano/cli",
|
|
4582
4582
|
"pluginName": "@xano/cli",
|
|
4583
4583
|
"pluginType": "core",
|
|
@@ -4588,7 +4588,7 @@
|
|
|
4588
4588
|
"dist",
|
|
4589
4589
|
"commands",
|
|
4590
4590
|
"workspace",
|
|
4591
|
-
"
|
|
4591
|
+
"edit",
|
|
4592
4592
|
"index.js"
|
|
4593
4593
|
]
|
|
4594
4594
|
},
|
|
@@ -4708,10 +4708,10 @@
|
|
|
4708
4708
|
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4709
4709
|
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4710
4710
|
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4711
|
-
"$ xano workspace push ./my-workspace -
|
|
4712
|
-
"$ xano workspace push ./my-workspace -
|
|
4711
|
+
"$ xano workspace push ./my-workspace -i \"**/func*\"\nPush only files matching the glob pattern\n",
|
|
4712
|
+
"$ xano workspace push ./my-workspace -i \"function/*\" -i \"table/*\"\nPush files matching multiple patterns\n",
|
|
4713
4713
|
"$ xano workspace push ./my-workspace -e \"table/*\"\nPush all files except tables\n",
|
|
4714
|
-
"$ xano workspace push ./my-workspace -
|
|
4714
|
+
"$ xano workspace push ./my-workspace -i \"function/*\" -e \"**/test*\"\nPush functions but exclude test files\n"
|
|
4715
4715
|
],
|
|
4716
4716
|
"flags": {
|
|
4717
4717
|
"profile": {
|
|
@@ -4816,10 +4816,10 @@
|
|
|
4816
4816
|
"multiple": true,
|
|
4817
4817
|
"type": "option"
|
|
4818
4818
|
},
|
|
4819
|
-
"
|
|
4820
|
-
"char": "
|
|
4821
|
-
"description": "Glob pattern to
|
|
4822
|
-
"name": "
|
|
4819
|
+
"include": {
|
|
4820
|
+
"char": "i",
|
|
4821
|
+
"description": "Glob pattern to include files (e.g. \"**/func*\", \"table/*.xs\"). Matched against relative paths from the push directory.",
|
|
4822
|
+
"name": "include",
|
|
4823
4823
|
"required": false,
|
|
4824
4824
|
"hasDynamicHelp": false,
|
|
4825
4825
|
"multiple": true,
|
|
@@ -4850,53 +4850,6 @@
|
|
|
4850
4850
|
"index.js"
|
|
4851
4851
|
]
|
|
4852
4852
|
},
|
|
4853
|
-
"profile:workspace:set": {
|
|
4854
|
-
"aliases": [],
|
|
4855
|
-
"args": {},
|
|
4856
|
-
"description": "Interactively select a workspace for a profile",
|
|
4857
|
-
"examples": [
|
|
4858
|
-
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
4859
|
-
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
4860
|
-
],
|
|
4861
|
-
"flags": {
|
|
4862
|
-
"profile": {
|
|
4863
|
-
"char": "p",
|
|
4864
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4865
|
-
"env": "XANO_PROFILE",
|
|
4866
|
-
"name": "profile",
|
|
4867
|
-
"required": false,
|
|
4868
|
-
"hasDynamicHelp": false,
|
|
4869
|
-
"multiple": false,
|
|
4870
|
-
"type": "option"
|
|
4871
|
-
},
|
|
4872
|
-
"verbose": {
|
|
4873
|
-
"char": "v",
|
|
4874
|
-
"description": "Show detailed request/response information",
|
|
4875
|
-
"env": "XANO_VERBOSE",
|
|
4876
|
-
"name": "verbose",
|
|
4877
|
-
"required": false,
|
|
4878
|
-
"allowNo": false,
|
|
4879
|
-
"type": "boolean"
|
|
4880
|
-
}
|
|
4881
|
-
},
|
|
4882
|
-
"hasDynamicHelp": false,
|
|
4883
|
-
"hiddenAliases": [],
|
|
4884
|
-
"id": "profile:workspace:set",
|
|
4885
|
-
"pluginAlias": "@xano/cli",
|
|
4886
|
-
"pluginName": "@xano/cli",
|
|
4887
|
-
"pluginType": "core",
|
|
4888
|
-
"strict": true,
|
|
4889
|
-
"enableJsonFlag": false,
|
|
4890
|
-
"isESM": true,
|
|
4891
|
-
"relativePath": [
|
|
4892
|
-
"dist",
|
|
4893
|
-
"commands",
|
|
4894
|
-
"profile",
|
|
4895
|
-
"workspace",
|
|
4896
|
-
"set",
|
|
4897
|
-
"index.js"
|
|
4898
|
-
]
|
|
4899
|
-
},
|
|
4900
4853
|
"static_host:build:create": {
|
|
4901
4854
|
"aliases": [],
|
|
4902
4855
|
"args": {
|
|
@@ -5180,13 +5133,13 @@
|
|
|
5180
5133
|
"index.js"
|
|
5181
5134
|
]
|
|
5182
5135
|
},
|
|
5183
|
-
"
|
|
5136
|
+
"profile:workspace:set": {
|
|
5184
5137
|
"aliases": [],
|
|
5185
5138
|
"args": {},
|
|
5186
|
-
"description": "
|
|
5139
|
+
"description": "Interactively select a workspace for a profile",
|
|
5187
5140
|
"examples": [
|
|
5188
|
-
"$ xano
|
|
5189
|
-
"$ xano
|
|
5141
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
5142
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
5190
5143
|
],
|
|
5191
5144
|
"flags": {
|
|
5192
5145
|
"profile": {
|
|
@@ -5207,55 +5160,163 @@
|
|
|
5207
5160
|
"required": false,
|
|
5208
5161
|
"allowNo": false,
|
|
5209
5162
|
"type": "boolean"
|
|
5210
|
-
}
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5163
|
+
}
|
|
5164
|
+
},
|
|
5165
|
+
"hasDynamicHelp": false,
|
|
5166
|
+
"hiddenAliases": [],
|
|
5167
|
+
"id": "profile:workspace:set",
|
|
5168
|
+
"pluginAlias": "@xano/cli",
|
|
5169
|
+
"pluginName": "@xano/cli",
|
|
5170
|
+
"pluginType": "core",
|
|
5171
|
+
"strict": true,
|
|
5172
|
+
"enableJsonFlag": false,
|
|
5173
|
+
"isESM": true,
|
|
5174
|
+
"relativePath": [
|
|
5175
|
+
"dist",
|
|
5176
|
+
"commands",
|
|
5177
|
+
"profile",
|
|
5178
|
+
"workspace",
|
|
5179
|
+
"set",
|
|
5180
|
+
"index.js"
|
|
5181
|
+
]
|
|
5182
|
+
},
|
|
5183
|
+
"tenant:backup:create": {
|
|
5184
|
+
"aliases": [],
|
|
5185
|
+
"args": {
|
|
5186
|
+
"tenant_name": {
|
|
5187
|
+
"description": "Tenant name to back up",
|
|
5188
|
+
"name": "tenant_name",
|
|
5189
|
+
"required": true
|
|
5190
|
+
}
|
|
5191
|
+
},
|
|
5192
|
+
"description": "Create a backup for a tenant",
|
|
5193
|
+
"examples": [
|
|
5194
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5195
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5196
|
+
],
|
|
5197
|
+
"flags": {
|
|
5198
|
+
"profile": {
|
|
5199
|
+
"char": "p",
|
|
5200
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5201
|
+
"env": "XANO_PROFILE",
|
|
5202
|
+
"name": "profile",
|
|
5217
5203
|
"required": false,
|
|
5218
5204
|
"hasDynamicHelp": false,
|
|
5219
5205
|
"multiple": false,
|
|
5220
5206
|
"type": "option"
|
|
5221
5207
|
},
|
|
5222
|
-
"
|
|
5223
|
-
"
|
|
5224
|
-
"
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
"name": "credentials_file",
|
|
5208
|
+
"verbose": {
|
|
5209
|
+
"char": "v",
|
|
5210
|
+
"description": "Show detailed request/response information",
|
|
5211
|
+
"env": "XANO_VERBOSE",
|
|
5212
|
+
"name": "verbose",
|
|
5228
5213
|
"required": false,
|
|
5229
|
-
"
|
|
5230
|
-
"
|
|
5231
|
-
"type": "option"
|
|
5214
|
+
"allowNo": false,
|
|
5215
|
+
"type": "boolean"
|
|
5232
5216
|
},
|
|
5233
5217
|
"description": {
|
|
5234
5218
|
"char": "d",
|
|
5235
|
-
"description": "
|
|
5219
|
+
"description": "Backup description",
|
|
5236
5220
|
"name": "description",
|
|
5237
5221
|
"required": false,
|
|
5222
|
+
"default": "",
|
|
5238
5223
|
"hasDynamicHelp": false,
|
|
5239
5224
|
"multiple": false,
|
|
5240
5225
|
"type": "option"
|
|
5241
5226
|
},
|
|
5242
|
-
"
|
|
5243
|
-
"
|
|
5244
|
-
"
|
|
5227
|
+
"output": {
|
|
5228
|
+
"char": "o",
|
|
5229
|
+
"description": "Output format",
|
|
5230
|
+
"name": "output",
|
|
5245
5231
|
"required": false,
|
|
5232
|
+
"default": "summary",
|
|
5246
5233
|
"hasDynamicHelp": false,
|
|
5247
5234
|
"multiple": false,
|
|
5235
|
+
"options": [
|
|
5236
|
+
"summary",
|
|
5237
|
+
"json"
|
|
5238
|
+
],
|
|
5248
5239
|
"type": "option"
|
|
5249
5240
|
},
|
|
5250
|
-
"
|
|
5251
|
-
"char": "
|
|
5252
|
-
"description": "
|
|
5253
|
-
"name": "
|
|
5241
|
+
"workspace": {
|
|
5242
|
+
"char": "w",
|
|
5243
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5244
|
+
"name": "workspace",
|
|
5245
|
+
"required": false,
|
|
5246
|
+
"hasDynamicHelp": false,
|
|
5247
|
+
"multiple": false,
|
|
5248
|
+
"type": "option"
|
|
5249
|
+
}
|
|
5250
|
+
},
|
|
5251
|
+
"hasDynamicHelp": false,
|
|
5252
|
+
"hiddenAliases": [],
|
|
5253
|
+
"id": "tenant:backup:create",
|
|
5254
|
+
"pluginAlias": "@xano/cli",
|
|
5255
|
+
"pluginName": "@xano/cli",
|
|
5256
|
+
"pluginType": "core",
|
|
5257
|
+
"strict": true,
|
|
5258
|
+
"enableJsonFlag": false,
|
|
5259
|
+
"isESM": true,
|
|
5260
|
+
"relativePath": [
|
|
5261
|
+
"dist",
|
|
5262
|
+
"commands",
|
|
5263
|
+
"tenant",
|
|
5264
|
+
"backup",
|
|
5265
|
+
"create",
|
|
5266
|
+
"index.js"
|
|
5267
|
+
]
|
|
5268
|
+
},
|
|
5269
|
+
"tenant:backup:delete": {
|
|
5270
|
+
"aliases": [],
|
|
5271
|
+
"args": {
|
|
5272
|
+
"tenant_name": {
|
|
5273
|
+
"description": "Tenant name that owns the backup",
|
|
5274
|
+
"name": "tenant_name",
|
|
5275
|
+
"required": true
|
|
5276
|
+
}
|
|
5277
|
+
},
|
|
5278
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5279
|
+
"examples": [
|
|
5280
|
+
"$ 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",
|
|
5281
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5282
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5283
|
+
],
|
|
5284
|
+
"flags": {
|
|
5285
|
+
"profile": {
|
|
5286
|
+
"char": "p",
|
|
5287
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5288
|
+
"env": "XANO_PROFILE",
|
|
5289
|
+
"name": "profile",
|
|
5290
|
+
"required": false,
|
|
5291
|
+
"hasDynamicHelp": false,
|
|
5292
|
+
"multiple": false,
|
|
5293
|
+
"type": "option"
|
|
5294
|
+
},
|
|
5295
|
+
"verbose": {
|
|
5296
|
+
"char": "v",
|
|
5297
|
+
"description": "Show detailed request/response information",
|
|
5298
|
+
"env": "XANO_VERBOSE",
|
|
5299
|
+
"name": "verbose",
|
|
5300
|
+
"required": false,
|
|
5301
|
+
"allowNo": false,
|
|
5302
|
+
"type": "boolean"
|
|
5303
|
+
},
|
|
5304
|
+
"backup_id": {
|
|
5305
|
+
"description": "Backup ID to delete",
|
|
5306
|
+
"name": "backup_id",
|
|
5254
5307
|
"required": true,
|
|
5255
5308
|
"hasDynamicHelp": false,
|
|
5256
5309
|
"multiple": false,
|
|
5257
5310
|
"type": "option"
|
|
5258
5311
|
},
|
|
5312
|
+
"force": {
|
|
5313
|
+
"char": "f",
|
|
5314
|
+
"description": "Skip confirmation prompt",
|
|
5315
|
+
"name": "force",
|
|
5316
|
+
"required": false,
|
|
5317
|
+
"allowNo": false,
|
|
5318
|
+
"type": "boolean"
|
|
5319
|
+
},
|
|
5259
5320
|
"output": {
|
|
5260
5321
|
"char": "o",
|
|
5261
5322
|
"description": "Output format",
|
|
@@ -5270,23 +5331,19 @@
|
|
|
5270
5331
|
],
|
|
5271
5332
|
"type": "option"
|
|
5272
5333
|
},
|
|
5273
|
-
"
|
|
5274
|
-
"
|
|
5275
|
-
"
|
|
5334
|
+
"workspace": {
|
|
5335
|
+
"char": "w",
|
|
5336
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5337
|
+
"name": "workspace",
|
|
5276
5338
|
"required": false,
|
|
5277
|
-
"default": "standard",
|
|
5278
5339
|
"hasDynamicHelp": false,
|
|
5279
5340
|
"multiple": false,
|
|
5280
|
-
"options": [
|
|
5281
|
-
"standard",
|
|
5282
|
-
"run"
|
|
5283
|
-
],
|
|
5284
5341
|
"type": "option"
|
|
5285
5342
|
}
|
|
5286
5343
|
},
|
|
5287
5344
|
"hasDynamicHelp": false,
|
|
5288
5345
|
"hiddenAliases": [],
|
|
5289
|
-
"id": "tenant:
|
|
5346
|
+
"id": "tenant:backup:delete",
|
|
5290
5347
|
"pluginAlias": "@xano/cli",
|
|
5291
5348
|
"pluginName": "@xano/cli",
|
|
5292
5349
|
"pluginType": "core",
|
|
@@ -5297,25 +5354,24 @@
|
|
|
5297
5354
|
"dist",
|
|
5298
5355
|
"commands",
|
|
5299
5356
|
"tenant",
|
|
5300
|
-
"
|
|
5301
|
-
"
|
|
5357
|
+
"backup",
|
|
5358
|
+
"delete",
|
|
5302
5359
|
"index.js"
|
|
5303
5360
|
]
|
|
5304
5361
|
},
|
|
5305
|
-
"tenant:
|
|
5306
|
-
"aliases": [],
|
|
5307
|
-
"args": {
|
|
5308
|
-
"
|
|
5309
|
-
"description": "
|
|
5310
|
-
"name": "
|
|
5362
|
+
"tenant:backup:import": {
|
|
5363
|
+
"aliases": [],
|
|
5364
|
+
"args": {
|
|
5365
|
+
"tenant_name": {
|
|
5366
|
+
"description": "Tenant name to import backup into",
|
|
5367
|
+
"name": "tenant_name",
|
|
5311
5368
|
"required": true
|
|
5312
5369
|
}
|
|
5313
5370
|
},
|
|
5314
|
-
"description": "
|
|
5371
|
+
"description": "Import a backup file into a tenant",
|
|
5315
5372
|
"examples": [
|
|
5316
|
-
"$ xano tenant
|
|
5317
|
-
"$ xano tenant
|
|
5318
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5373
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5374
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5319
5375
|
],
|
|
5320
5376
|
"flags": {
|
|
5321
5377
|
"profile": {
|
|
@@ -5337,13 +5393,24 @@
|
|
|
5337
5393
|
"allowNo": false,
|
|
5338
5394
|
"type": "boolean"
|
|
5339
5395
|
},
|
|
5340
|
-
"
|
|
5341
|
-
"char": "
|
|
5342
|
-
"description": "
|
|
5343
|
-
"name": "
|
|
5396
|
+
"description": {
|
|
5397
|
+
"char": "d",
|
|
5398
|
+
"description": "Backup description",
|
|
5399
|
+
"name": "description",
|
|
5344
5400
|
"required": false,
|
|
5345
|
-
"
|
|
5346
|
-
"
|
|
5401
|
+
"default": "",
|
|
5402
|
+
"hasDynamicHelp": false,
|
|
5403
|
+
"multiple": false,
|
|
5404
|
+
"type": "option"
|
|
5405
|
+
},
|
|
5406
|
+
"file": {
|
|
5407
|
+
"char": "f",
|
|
5408
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5409
|
+
"name": "file",
|
|
5410
|
+
"required": true,
|
|
5411
|
+
"hasDynamicHelp": false,
|
|
5412
|
+
"multiple": false,
|
|
5413
|
+
"type": "option"
|
|
5347
5414
|
},
|
|
5348
5415
|
"output": {
|
|
5349
5416
|
"char": "o",
|
|
@@ -5358,11 +5425,20 @@
|
|
|
5358
5425
|
"json"
|
|
5359
5426
|
],
|
|
5360
5427
|
"type": "option"
|
|
5428
|
+
},
|
|
5429
|
+
"workspace": {
|
|
5430
|
+
"char": "w",
|
|
5431
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5432
|
+
"name": "workspace",
|
|
5433
|
+
"required": false,
|
|
5434
|
+
"hasDynamicHelp": false,
|
|
5435
|
+
"multiple": false,
|
|
5436
|
+
"type": "option"
|
|
5361
5437
|
}
|
|
5362
5438
|
},
|
|
5363
5439
|
"hasDynamicHelp": false,
|
|
5364
5440
|
"hiddenAliases": [],
|
|
5365
|
-
"id": "tenant:
|
|
5441
|
+
"id": "tenant:backup:import",
|
|
5366
5442
|
"pluginAlias": "@xano/cli",
|
|
5367
5443
|
"pluginName": "@xano/cli",
|
|
5368
5444
|
"pluginType": "core",
|
|
@@ -5373,24 +5449,25 @@
|
|
|
5373
5449
|
"dist",
|
|
5374
5450
|
"commands",
|
|
5375
5451
|
"tenant",
|
|
5376
|
-
"
|
|
5377
|
-
"
|
|
5452
|
+
"backup",
|
|
5453
|
+
"import",
|
|
5378
5454
|
"index.js"
|
|
5379
5455
|
]
|
|
5380
5456
|
},
|
|
5381
|
-
"tenant:
|
|
5457
|
+
"tenant:backup:export": {
|
|
5382
5458
|
"aliases": [],
|
|
5383
5459
|
"args": {
|
|
5384
|
-
"
|
|
5385
|
-
"description": "
|
|
5386
|
-
"name": "
|
|
5460
|
+
"tenant_name": {
|
|
5461
|
+
"description": "Tenant name to export backup from",
|
|
5462
|
+
"name": "tenant_name",
|
|
5387
5463
|
"required": true
|
|
5388
5464
|
}
|
|
5389
5465
|
},
|
|
5390
|
-
"description": "
|
|
5466
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5391
5467
|
"examples": [
|
|
5392
|
-
"$ xano tenant
|
|
5393
|
-
"$ xano tenant
|
|
5468
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5469
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5470
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5394
5471
|
],
|
|
5395
5472
|
"flags": {
|
|
5396
5473
|
"profile": {
|
|
@@ -5412,36 +5489,18 @@
|
|
|
5412
5489
|
"allowNo": false,
|
|
5413
5490
|
"type": "boolean"
|
|
5414
5491
|
},
|
|
5415
|
-
"
|
|
5416
|
-
"
|
|
5417
|
-
"
|
|
5418
|
-
"name": "description",
|
|
5419
|
-
"required": true,
|
|
5420
|
-
"hasDynamicHelp": false,
|
|
5421
|
-
"multiple": false,
|
|
5422
|
-
"type": "option"
|
|
5423
|
-
},
|
|
5424
|
-
"domain": {
|
|
5425
|
-
"description": "Custom domain for the cluster",
|
|
5426
|
-
"name": "domain",
|
|
5427
|
-
"required": true,
|
|
5428
|
-
"hasDynamicHelp": false,
|
|
5429
|
-
"multiple": false,
|
|
5430
|
-
"type": "option"
|
|
5431
|
-
},
|
|
5432
|
-
"name": {
|
|
5433
|
-
"char": "n",
|
|
5434
|
-
"description": "Cluster name",
|
|
5435
|
-
"name": "name",
|
|
5492
|
+
"backup_id": {
|
|
5493
|
+
"description": "Backup ID to export",
|
|
5494
|
+
"name": "backup_id",
|
|
5436
5495
|
"required": true,
|
|
5437
5496
|
"hasDynamicHelp": false,
|
|
5438
5497
|
"multiple": false,
|
|
5439
5498
|
"type": "option"
|
|
5440
5499
|
},
|
|
5441
|
-
"
|
|
5500
|
+
"format": {
|
|
5442
5501
|
"char": "o",
|
|
5443
5502
|
"description": "Output format",
|
|
5444
|
-
"name": "
|
|
5503
|
+
"name": "format",
|
|
5445
5504
|
"required": false,
|
|
5446
5505
|
"default": "summary",
|
|
5447
5506
|
"hasDynamicHelp": false,
|
|
@@ -5452,22 +5511,27 @@
|
|
|
5452
5511
|
],
|
|
5453
5512
|
"type": "option"
|
|
5454
5513
|
},
|
|
5455
|
-
"
|
|
5456
|
-
"description": "
|
|
5457
|
-
"name": "
|
|
5458
|
-
"required":
|
|
5514
|
+
"output": {
|
|
5515
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5516
|
+
"name": "output",
|
|
5517
|
+
"required": false,
|
|
5518
|
+
"hasDynamicHelp": false,
|
|
5519
|
+
"multiple": false,
|
|
5520
|
+
"type": "option"
|
|
5521
|
+
},
|
|
5522
|
+
"workspace": {
|
|
5523
|
+
"char": "w",
|
|
5524
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5525
|
+
"name": "workspace",
|
|
5526
|
+
"required": false,
|
|
5459
5527
|
"hasDynamicHelp": false,
|
|
5460
5528
|
"multiple": false,
|
|
5461
|
-
"options": [
|
|
5462
|
-
"standard",
|
|
5463
|
-
"run"
|
|
5464
|
-
],
|
|
5465
5529
|
"type": "option"
|
|
5466
5530
|
}
|
|
5467
5531
|
},
|
|
5468
5532
|
"hasDynamicHelp": false,
|
|
5469
5533
|
"hiddenAliases": [],
|
|
5470
|
-
"id": "tenant:
|
|
5534
|
+
"id": "tenant:backup:export",
|
|
5471
5535
|
"pluginAlias": "@xano/cli",
|
|
5472
5536
|
"pluginName": "@xano/cli",
|
|
5473
5537
|
"pluginType": "core",
|
|
@@ -5478,18 +5542,24 @@
|
|
|
5478
5542
|
"dist",
|
|
5479
5543
|
"commands",
|
|
5480
5544
|
"tenant",
|
|
5481
|
-
"
|
|
5482
|
-
"
|
|
5545
|
+
"backup",
|
|
5546
|
+
"export",
|
|
5483
5547
|
"index.js"
|
|
5484
5548
|
]
|
|
5485
5549
|
},
|
|
5486
|
-
"tenant:
|
|
5550
|
+
"tenant:backup:list": {
|
|
5487
5551
|
"aliases": [],
|
|
5488
|
-
"args": {
|
|
5489
|
-
|
|
5552
|
+
"args": {
|
|
5553
|
+
"tenant_name": {
|
|
5554
|
+
"description": "Tenant name to list backups for",
|
|
5555
|
+
"name": "tenant_name",
|
|
5556
|
+
"required": true
|
|
5557
|
+
}
|
|
5558
|
+
},
|
|
5559
|
+
"description": "List backups for a tenant",
|
|
5490
5560
|
"examples": [
|
|
5491
|
-
"$ xano tenant
|
|
5492
|
-
"$ xano tenant
|
|
5561
|
+
"$ 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",
|
|
5562
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5493
5563
|
],
|
|
5494
5564
|
"flags": {
|
|
5495
5565
|
"profile": {
|
|
@@ -5524,11 +5594,29 @@
|
|
|
5524
5594
|
"json"
|
|
5525
5595
|
],
|
|
5526
5596
|
"type": "option"
|
|
5597
|
+
},
|
|
5598
|
+
"page": {
|
|
5599
|
+
"description": "Page number for pagination",
|
|
5600
|
+
"name": "page",
|
|
5601
|
+
"required": false,
|
|
5602
|
+
"default": 1,
|
|
5603
|
+
"hasDynamicHelp": false,
|
|
5604
|
+
"multiple": false,
|
|
5605
|
+
"type": "option"
|
|
5606
|
+
},
|
|
5607
|
+
"workspace": {
|
|
5608
|
+
"char": "w",
|
|
5609
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5610
|
+
"name": "workspace",
|
|
5611
|
+
"required": false,
|
|
5612
|
+
"hasDynamicHelp": false,
|
|
5613
|
+
"multiple": false,
|
|
5614
|
+
"type": "option"
|
|
5527
5615
|
}
|
|
5528
5616
|
},
|
|
5529
5617
|
"hasDynamicHelp": false,
|
|
5530
5618
|
"hiddenAliases": [],
|
|
5531
|
-
"id": "tenant:
|
|
5619
|
+
"id": "tenant:backup:list",
|
|
5532
5620
|
"pluginAlias": "@xano/cli",
|
|
5533
5621
|
"pluginName": "@xano/cli",
|
|
5534
5622
|
"pluginType": "core",
|
|
@@ -5539,24 +5627,24 @@
|
|
|
5539
5627
|
"dist",
|
|
5540
5628
|
"commands",
|
|
5541
5629
|
"tenant",
|
|
5542
|
-
"
|
|
5630
|
+
"backup",
|
|
5543
5631
|
"list",
|
|
5544
5632
|
"index.js"
|
|
5545
5633
|
]
|
|
5546
5634
|
},
|
|
5547
|
-
"tenant:backup:
|
|
5635
|
+
"tenant:backup:restore": {
|
|
5548
5636
|
"aliases": [],
|
|
5549
5637
|
"args": {
|
|
5550
5638
|
"tenant_name": {
|
|
5551
|
-
"description": "Tenant name to
|
|
5639
|
+
"description": "Tenant name to restore",
|
|
5552
5640
|
"name": "tenant_name",
|
|
5553
5641
|
"required": true
|
|
5554
5642
|
}
|
|
5555
5643
|
},
|
|
5556
|
-
"description": "
|
|
5644
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5557
5645
|
"examples": [
|
|
5558
|
-
"$ xano tenant backup
|
|
5559
|
-
"$ xano tenant backup
|
|
5646
|
+
"$ 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",
|
|
5647
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5560
5648
|
],
|
|
5561
5649
|
"flags": {
|
|
5562
5650
|
"profile": {
|
|
@@ -5578,16 +5666,22 @@
|
|
|
5578
5666
|
"allowNo": false,
|
|
5579
5667
|
"type": "boolean"
|
|
5580
5668
|
},
|
|
5581
|
-
"
|
|
5582
|
-
"
|
|
5583
|
-
"
|
|
5584
|
-
"
|
|
5585
|
-
"required": false,
|
|
5586
|
-
"default": "",
|
|
5669
|
+
"backup_id": {
|
|
5670
|
+
"description": "Backup ID to restore from",
|
|
5671
|
+
"name": "backup_id",
|
|
5672
|
+
"required": true,
|
|
5587
5673
|
"hasDynamicHelp": false,
|
|
5588
5674
|
"multiple": false,
|
|
5589
5675
|
"type": "option"
|
|
5590
5676
|
},
|
|
5677
|
+
"force": {
|
|
5678
|
+
"char": "f",
|
|
5679
|
+
"description": "Skip confirmation prompt",
|
|
5680
|
+
"name": "force",
|
|
5681
|
+
"required": false,
|
|
5682
|
+
"allowNo": false,
|
|
5683
|
+
"type": "boolean"
|
|
5684
|
+
},
|
|
5591
5685
|
"output": {
|
|
5592
5686
|
"char": "o",
|
|
5593
5687
|
"description": "Output format",
|
|
@@ -5614,7 +5708,7 @@
|
|
|
5614
5708
|
},
|
|
5615
5709
|
"hasDynamicHelp": false,
|
|
5616
5710
|
"hiddenAliases": [],
|
|
5617
|
-
"id": "tenant:backup:
|
|
5711
|
+
"id": "tenant:backup:restore",
|
|
5618
5712
|
"pluginAlias": "@xano/cli",
|
|
5619
5713
|
"pluginName": "@xano/cli",
|
|
5620
5714
|
"pluginType": "core",
|
|
@@ -5626,24 +5720,17 @@
|
|
|
5626
5720
|
"commands",
|
|
5627
5721
|
"tenant",
|
|
5628
5722
|
"backup",
|
|
5629
|
-
"
|
|
5723
|
+
"restore",
|
|
5630
5724
|
"index.js"
|
|
5631
5725
|
]
|
|
5632
5726
|
},
|
|
5633
|
-
"tenant:
|
|
5727
|
+
"tenant:cluster:create": {
|
|
5634
5728
|
"aliases": [],
|
|
5635
|
-
"args": {
|
|
5636
|
-
|
|
5637
|
-
"description": "Tenant name that owns the backup",
|
|
5638
|
-
"name": "tenant_name",
|
|
5639
|
-
"required": true
|
|
5640
|
-
}
|
|
5641
|
-
},
|
|
5642
|
-
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5729
|
+
"args": {},
|
|
5730
|
+
"description": "Create a new tenant cluster",
|
|
5643
5731
|
"examples": [
|
|
5644
|
-
"$ xano tenant
|
|
5645
|
-
"$ xano tenant
|
|
5646
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5732
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5733
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5647
5734
|
],
|
|
5648
5735
|
"flags": {
|
|
5649
5736
|
"profile": {
|
|
@@ -5665,21 +5752,53 @@
|
|
|
5665
5752
|
"allowNo": false,
|
|
5666
5753
|
"type": "boolean"
|
|
5667
5754
|
},
|
|
5668
|
-
"
|
|
5669
|
-
"description": "
|
|
5670
|
-
"
|
|
5671
|
-
|
|
5755
|
+
"credentials": {
|
|
5756
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5757
|
+
"exclusive": [
|
|
5758
|
+
"credentials_file"
|
|
5759
|
+
],
|
|
5760
|
+
"name": "credentials",
|
|
5761
|
+
"required": false,
|
|
5672
5762
|
"hasDynamicHelp": false,
|
|
5673
5763
|
"multiple": false,
|
|
5674
5764
|
"type": "option"
|
|
5675
5765
|
},
|
|
5676
|
-
"
|
|
5677
|
-
"
|
|
5678
|
-
"
|
|
5679
|
-
|
|
5766
|
+
"credentials_file": {
|
|
5767
|
+
"description": "Path to kubeconfig credentials file",
|
|
5768
|
+
"exclusive": [
|
|
5769
|
+
"credentials"
|
|
5770
|
+
],
|
|
5771
|
+
"name": "credentials_file",
|
|
5680
5772
|
"required": false,
|
|
5681
|
-
"
|
|
5682
|
-
"
|
|
5773
|
+
"hasDynamicHelp": false,
|
|
5774
|
+
"multiple": false,
|
|
5775
|
+
"type": "option"
|
|
5776
|
+
},
|
|
5777
|
+
"description": {
|
|
5778
|
+
"char": "d",
|
|
5779
|
+
"description": "Cluster description",
|
|
5780
|
+
"name": "description",
|
|
5781
|
+
"required": false,
|
|
5782
|
+
"hasDynamicHelp": false,
|
|
5783
|
+
"multiple": false,
|
|
5784
|
+
"type": "option"
|
|
5785
|
+
},
|
|
5786
|
+
"domain": {
|
|
5787
|
+
"description": "Custom domain for the cluster",
|
|
5788
|
+
"name": "domain",
|
|
5789
|
+
"required": false,
|
|
5790
|
+
"hasDynamicHelp": false,
|
|
5791
|
+
"multiple": false,
|
|
5792
|
+
"type": "option"
|
|
5793
|
+
},
|
|
5794
|
+
"name": {
|
|
5795
|
+
"char": "n",
|
|
5796
|
+
"description": "Cluster name",
|
|
5797
|
+
"name": "name",
|
|
5798
|
+
"required": true,
|
|
5799
|
+
"hasDynamicHelp": false,
|
|
5800
|
+
"multiple": false,
|
|
5801
|
+
"type": "option"
|
|
5683
5802
|
},
|
|
5684
5803
|
"output": {
|
|
5685
5804
|
"char": "o",
|
|
@@ -5695,19 +5814,23 @@
|
|
|
5695
5814
|
],
|
|
5696
5815
|
"type": "option"
|
|
5697
5816
|
},
|
|
5698
|
-
"
|
|
5699
|
-
"
|
|
5700
|
-
"
|
|
5701
|
-
"name": "workspace",
|
|
5817
|
+
"type": {
|
|
5818
|
+
"description": "Cluster type",
|
|
5819
|
+
"name": "type",
|
|
5702
5820
|
"required": false,
|
|
5821
|
+
"default": "standard",
|
|
5703
5822
|
"hasDynamicHelp": false,
|
|
5704
5823
|
"multiple": false,
|
|
5824
|
+
"options": [
|
|
5825
|
+
"standard",
|
|
5826
|
+
"run"
|
|
5827
|
+
],
|
|
5705
5828
|
"type": "option"
|
|
5706
5829
|
}
|
|
5707
5830
|
},
|
|
5708
5831
|
"hasDynamicHelp": false,
|
|
5709
5832
|
"hiddenAliases": [],
|
|
5710
|
-
"id": "tenant:
|
|
5833
|
+
"id": "tenant:cluster:create",
|
|
5711
5834
|
"pluginAlias": "@xano/cli",
|
|
5712
5835
|
"pluginName": "@xano/cli",
|
|
5713
5836
|
"pluginType": "core",
|
|
@@ -5718,25 +5841,25 @@
|
|
|
5718
5841
|
"dist",
|
|
5719
5842
|
"commands",
|
|
5720
5843
|
"tenant",
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5844
|
+
"cluster",
|
|
5845
|
+
"create",
|
|
5723
5846
|
"index.js"
|
|
5724
5847
|
]
|
|
5725
5848
|
},
|
|
5726
|
-
"tenant:
|
|
5849
|
+
"tenant:cluster:delete": {
|
|
5727
5850
|
"aliases": [],
|
|
5728
5851
|
"args": {
|
|
5729
|
-
"
|
|
5730
|
-
"description": "
|
|
5731
|
-
"name": "
|
|
5852
|
+
"cluster_id": {
|
|
5853
|
+
"description": "Cluster ID to delete",
|
|
5854
|
+
"name": "cluster_id",
|
|
5732
5855
|
"required": true
|
|
5733
5856
|
}
|
|
5734
5857
|
},
|
|
5735
|
-
"description": "
|
|
5858
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5736
5859
|
"examples": [
|
|
5737
|
-
"$ xano tenant
|
|
5738
|
-
"$ xano tenant
|
|
5739
|
-
"$ xano tenant
|
|
5860
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5861
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5862
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5740
5863
|
],
|
|
5741
5864
|
"flags": {
|
|
5742
5865
|
"profile": {
|
|
@@ -5758,18 +5881,18 @@
|
|
|
5758
5881
|
"allowNo": false,
|
|
5759
5882
|
"type": "boolean"
|
|
5760
5883
|
},
|
|
5761
|
-
"
|
|
5762
|
-
"
|
|
5763
|
-
"
|
|
5764
|
-
"
|
|
5765
|
-
"
|
|
5766
|
-
"
|
|
5767
|
-
"type": "
|
|
5884
|
+
"force": {
|
|
5885
|
+
"char": "f",
|
|
5886
|
+
"description": "Skip confirmation prompt",
|
|
5887
|
+
"name": "force",
|
|
5888
|
+
"required": false,
|
|
5889
|
+
"allowNo": false,
|
|
5890
|
+
"type": "boolean"
|
|
5768
5891
|
},
|
|
5769
|
-
"
|
|
5892
|
+
"output": {
|
|
5770
5893
|
"char": "o",
|
|
5771
5894
|
"description": "Output format",
|
|
5772
|
-
"name": "
|
|
5895
|
+
"name": "output",
|
|
5773
5896
|
"required": false,
|
|
5774
5897
|
"default": "summary",
|
|
5775
5898
|
"hasDynamicHelp": false,
|
|
@@ -5779,28 +5902,11 @@
|
|
|
5779
5902
|
"json"
|
|
5780
5903
|
],
|
|
5781
5904
|
"type": "option"
|
|
5782
|
-
},
|
|
5783
|
-
"output": {
|
|
5784
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5785
|
-
"name": "output",
|
|
5786
|
-
"required": false,
|
|
5787
|
-
"hasDynamicHelp": false,
|
|
5788
|
-
"multiple": false,
|
|
5789
|
-
"type": "option"
|
|
5790
|
-
},
|
|
5791
|
-
"workspace": {
|
|
5792
|
-
"char": "w",
|
|
5793
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5794
|
-
"name": "workspace",
|
|
5795
|
-
"required": false,
|
|
5796
|
-
"hasDynamicHelp": false,
|
|
5797
|
-
"multiple": false,
|
|
5798
|
-
"type": "option"
|
|
5799
5905
|
}
|
|
5800
5906
|
},
|
|
5801
5907
|
"hasDynamicHelp": false,
|
|
5802
5908
|
"hiddenAliases": [],
|
|
5803
|
-
"id": "tenant:
|
|
5909
|
+
"id": "tenant:cluster:delete",
|
|
5804
5910
|
"pluginAlias": "@xano/cli",
|
|
5805
5911
|
"pluginName": "@xano/cli",
|
|
5806
5912
|
"pluginType": "core",
|
|
@@ -5811,24 +5917,24 @@
|
|
|
5811
5917
|
"dist",
|
|
5812
5918
|
"commands",
|
|
5813
5919
|
"tenant",
|
|
5814
|
-
"
|
|
5815
|
-
"
|
|
5920
|
+
"cluster",
|
|
5921
|
+
"delete",
|
|
5816
5922
|
"index.js"
|
|
5817
5923
|
]
|
|
5818
5924
|
},
|
|
5819
|
-
"tenant:
|
|
5925
|
+
"tenant:cluster:edit": {
|
|
5820
5926
|
"aliases": [],
|
|
5821
5927
|
"args": {
|
|
5822
|
-
"
|
|
5823
|
-
"description": "
|
|
5824
|
-
"name": "
|
|
5928
|
+
"cluster_id": {
|
|
5929
|
+
"description": "Cluster ID to edit",
|
|
5930
|
+
"name": "cluster_id",
|
|
5825
5931
|
"required": true
|
|
5826
5932
|
}
|
|
5827
5933
|
},
|
|
5828
|
-
"description": "
|
|
5934
|
+
"description": "Update an existing tenant cluster",
|
|
5829
5935
|
"examples": [
|
|
5830
|
-
"$ xano tenant
|
|
5831
|
-
"$ xano tenant
|
|
5936
|
+
"$ 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",
|
|
5937
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5832
5938
|
],
|
|
5833
5939
|
"flags": {
|
|
5834
5940
|
"profile": {
|
|
@@ -5852,18 +5958,25 @@
|
|
|
5852
5958
|
},
|
|
5853
5959
|
"description": {
|
|
5854
5960
|
"char": "d",
|
|
5855
|
-
"description": "
|
|
5961
|
+
"description": "Cluster description",
|
|
5856
5962
|
"name": "description",
|
|
5857
|
-
"required":
|
|
5858
|
-
"default": "",
|
|
5963
|
+
"required": true,
|
|
5859
5964
|
"hasDynamicHelp": false,
|
|
5860
5965
|
"multiple": false,
|
|
5861
5966
|
"type": "option"
|
|
5862
5967
|
},
|
|
5863
|
-
"
|
|
5864
|
-
"
|
|
5865
|
-
"
|
|
5866
|
-
"
|
|
5968
|
+
"domain": {
|
|
5969
|
+
"description": "Custom domain for the cluster",
|
|
5970
|
+
"name": "domain",
|
|
5971
|
+
"required": true,
|
|
5972
|
+
"hasDynamicHelp": false,
|
|
5973
|
+
"multiple": false,
|
|
5974
|
+
"type": "option"
|
|
5975
|
+
},
|
|
5976
|
+
"name": {
|
|
5977
|
+
"char": "n",
|
|
5978
|
+
"description": "Cluster name",
|
|
5979
|
+
"name": "name",
|
|
5867
5980
|
"required": true,
|
|
5868
5981
|
"hasDynamicHelp": false,
|
|
5869
5982
|
"multiple": false,
|
|
@@ -5883,19 +5996,22 @@
|
|
|
5883
5996
|
],
|
|
5884
5997
|
"type": "option"
|
|
5885
5998
|
},
|
|
5886
|
-
"
|
|
5887
|
-
"
|
|
5888
|
-
"
|
|
5889
|
-
"
|
|
5890
|
-
"required": false,
|
|
5999
|
+
"type": {
|
|
6000
|
+
"description": "Cluster type",
|
|
6001
|
+
"name": "type",
|
|
6002
|
+
"required": true,
|
|
5891
6003
|
"hasDynamicHelp": false,
|
|
5892
6004
|
"multiple": false,
|
|
6005
|
+
"options": [
|
|
6006
|
+
"standard",
|
|
6007
|
+
"run"
|
|
6008
|
+
],
|
|
5893
6009
|
"type": "option"
|
|
5894
6010
|
}
|
|
5895
6011
|
},
|
|
5896
6012
|
"hasDynamicHelp": false,
|
|
5897
6013
|
"hiddenAliases": [],
|
|
5898
|
-
"id": "tenant:
|
|
6014
|
+
"id": "tenant:cluster:edit",
|
|
5899
6015
|
"pluginAlias": "@xano/cli",
|
|
5900
6016
|
"pluginName": "@xano/cli",
|
|
5901
6017
|
"pluginType": "core",
|
|
@@ -5906,24 +6022,24 @@
|
|
|
5906
6022
|
"dist",
|
|
5907
6023
|
"commands",
|
|
5908
6024
|
"tenant",
|
|
5909
|
-
"
|
|
5910
|
-
"
|
|
6025
|
+
"cluster",
|
|
6026
|
+
"edit",
|
|
5911
6027
|
"index.js"
|
|
5912
6028
|
]
|
|
5913
6029
|
},
|
|
5914
|
-
"tenant:
|
|
6030
|
+
"tenant:cluster:get": {
|
|
5915
6031
|
"aliases": [],
|
|
5916
6032
|
"args": {
|
|
5917
|
-
"
|
|
5918
|
-
"description": "
|
|
5919
|
-
"name": "
|
|
6033
|
+
"cluster_id": {
|
|
6034
|
+
"description": "Cluster ID to retrieve",
|
|
6035
|
+
"name": "cluster_id",
|
|
5920
6036
|
"required": true
|
|
5921
6037
|
}
|
|
5922
6038
|
},
|
|
5923
|
-
"description": "
|
|
6039
|
+
"description": "Get details of a specific tenant cluster",
|
|
5924
6040
|
"examples": [
|
|
5925
|
-
"$ xano tenant
|
|
5926
|
-
"$ xano tenant
|
|
6041
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
6042
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5927
6043
|
],
|
|
5928
6044
|
"flags": {
|
|
5929
6045
|
"profile": {
|
|
@@ -5958,29 +6074,11 @@
|
|
|
5958
6074
|
"json"
|
|
5959
6075
|
],
|
|
5960
6076
|
"type": "option"
|
|
5961
|
-
},
|
|
5962
|
-
"page": {
|
|
5963
|
-
"description": "Page number for pagination",
|
|
5964
|
-
"name": "page",
|
|
5965
|
-
"required": false,
|
|
5966
|
-
"default": 1,
|
|
5967
|
-
"hasDynamicHelp": false,
|
|
5968
|
-
"multiple": false,
|
|
5969
|
-
"type": "option"
|
|
5970
|
-
},
|
|
5971
|
-
"workspace": {
|
|
5972
|
-
"char": "w",
|
|
5973
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5974
|
-
"name": "workspace",
|
|
5975
|
-
"required": false,
|
|
5976
|
-
"hasDynamicHelp": false,
|
|
5977
|
-
"multiple": false,
|
|
5978
|
-
"type": "option"
|
|
5979
6077
|
}
|
|
5980
6078
|
},
|
|
5981
6079
|
"hasDynamicHelp": false,
|
|
5982
6080
|
"hiddenAliases": [],
|
|
5983
|
-
"id": "tenant:
|
|
6081
|
+
"id": "tenant:cluster:get",
|
|
5984
6082
|
"pluginAlias": "@xano/cli",
|
|
5985
6083
|
"pluginName": "@xano/cli",
|
|
5986
6084
|
"pluginType": "core",
|
|
@@ -5991,24 +6089,18 @@
|
|
|
5991
6089
|
"dist",
|
|
5992
6090
|
"commands",
|
|
5993
6091
|
"tenant",
|
|
5994
|
-
"
|
|
5995
|
-
"
|
|
6092
|
+
"cluster",
|
|
6093
|
+
"get",
|
|
5996
6094
|
"index.js"
|
|
5997
6095
|
]
|
|
5998
6096
|
},
|
|
5999
|
-
"tenant:
|
|
6097
|
+
"tenant:cluster:list": {
|
|
6000
6098
|
"aliases": [],
|
|
6001
|
-
"args": {
|
|
6002
|
-
|
|
6003
|
-
"description": "Tenant name to restore",
|
|
6004
|
-
"name": "tenant_name",
|
|
6005
|
-
"required": true
|
|
6006
|
-
}
|
|
6007
|
-
},
|
|
6008
|
-
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
6099
|
+
"args": {},
|
|
6100
|
+
"description": "List all tenant clusters",
|
|
6009
6101
|
"examples": [
|
|
6010
|
-
"$ xano tenant
|
|
6011
|
-
"$ xano tenant
|
|
6102
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6103
|
+
"$ xano tenant cluster list --output json"
|
|
6012
6104
|
],
|
|
6013
6105
|
"flags": {
|
|
6014
6106
|
"profile": {
|
|
@@ -6030,22 +6122,6 @@
|
|
|
6030
6122
|
"allowNo": false,
|
|
6031
6123
|
"type": "boolean"
|
|
6032
6124
|
},
|
|
6033
|
-
"backup_id": {
|
|
6034
|
-
"description": "Backup ID to restore from",
|
|
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
6125
|
"output": {
|
|
6050
6126
|
"char": "o",
|
|
6051
6127
|
"description": "Output format",
|
|
@@ -6059,20 +6135,11 @@
|
|
|
6059
6135
|
"json"
|
|
6060
6136
|
],
|
|
6061
6137
|
"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
6138
|
}
|
|
6072
6139
|
},
|
|
6073
6140
|
"hasDynamicHelp": false,
|
|
6074
6141
|
"hiddenAliases": [],
|
|
6075
|
-
"id": "tenant:
|
|
6142
|
+
"id": "tenant:cluster:list",
|
|
6076
6143
|
"pluginAlias": "@xano/cli",
|
|
6077
6144
|
"pluginName": "@xano/cli",
|
|
6078
6145
|
"pluginType": "core",
|
|
@@ -6083,8 +6150,8 @@
|
|
|
6083
6150
|
"dist",
|
|
6084
6151
|
"commands",
|
|
6085
6152
|
"tenant",
|
|
6086
|
-
"
|
|
6087
|
-
"
|
|
6153
|
+
"cluster",
|
|
6154
|
+
"list",
|
|
6088
6155
|
"index.js"
|
|
6089
6156
|
]
|
|
6090
6157
|
},
|
|
@@ -6361,7 +6428,7 @@
|
|
|
6361
6428
|
"index.js"
|
|
6362
6429
|
]
|
|
6363
6430
|
},
|
|
6364
|
-
"tenant:env:
|
|
6431
|
+
"tenant:env:list": {
|
|
6365
6432
|
"aliases": [],
|
|
6366
6433
|
"args": {
|
|
6367
6434
|
"tenant_name": {
|
|
@@ -6370,10 +6437,10 @@
|
|
|
6370
6437
|
"required": true
|
|
6371
6438
|
}
|
|
6372
6439
|
},
|
|
6373
|
-
"description": "
|
|
6440
|
+
"description": "List environment variable keys for a tenant",
|
|
6374
6441
|
"examples": [
|
|
6375
|
-
"$ xano tenant env
|
|
6376
|
-
"$ xano tenant env
|
|
6442
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6443
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6377
6444
|
],
|
|
6378
6445
|
"flags": {
|
|
6379
6446
|
"profile": {
|
|
@@ -6395,15 +6462,6 @@
|
|
|
6395
6462
|
"allowNo": false,
|
|
6396
6463
|
"type": "boolean"
|
|
6397
6464
|
},
|
|
6398
|
-
"name": {
|
|
6399
|
-
"char": "n",
|
|
6400
|
-
"description": "Environment variable name",
|
|
6401
|
-
"name": "name",
|
|
6402
|
-
"required": true,
|
|
6403
|
-
"hasDynamicHelp": false,
|
|
6404
|
-
"multiple": false,
|
|
6405
|
-
"type": "option"
|
|
6406
|
-
},
|
|
6407
6465
|
"output": {
|
|
6408
6466
|
"char": "o",
|
|
6409
6467
|
"description": "Output format",
|
|
@@ -6418,14 +6476,6 @@
|
|
|
6418
6476
|
],
|
|
6419
6477
|
"type": "option"
|
|
6420
6478
|
},
|
|
6421
|
-
"value": {
|
|
6422
|
-
"description": "Environment variable value",
|
|
6423
|
-
"name": "value",
|
|
6424
|
-
"required": true,
|
|
6425
|
-
"hasDynamicHelp": false,
|
|
6426
|
-
"multiple": false,
|
|
6427
|
-
"type": "option"
|
|
6428
|
-
},
|
|
6429
6479
|
"workspace": {
|
|
6430
6480
|
"char": "w",
|
|
6431
6481
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6438,7 +6488,7 @@
|
|
|
6438
6488
|
},
|
|
6439
6489
|
"hasDynamicHelp": false,
|
|
6440
6490
|
"hiddenAliases": [],
|
|
6441
|
-
"id": "tenant:env:
|
|
6491
|
+
"id": "tenant:env:list",
|
|
6442
6492
|
"pluginAlias": "@xano/cli",
|
|
6443
6493
|
"pluginName": "@xano/cli",
|
|
6444
6494
|
"pluginType": "core",
|
|
@@ -6450,23 +6500,23 @@
|
|
|
6450
6500
|
"commands",
|
|
6451
6501
|
"tenant",
|
|
6452
6502
|
"env",
|
|
6453
|
-
"
|
|
6503
|
+
"list",
|
|
6454
6504
|
"index.js"
|
|
6455
6505
|
]
|
|
6456
6506
|
},
|
|
6457
|
-
"tenant:
|
|
6507
|
+
"tenant:env:set": {
|
|
6458
6508
|
"aliases": [],
|
|
6459
6509
|
"args": {
|
|
6460
|
-
"
|
|
6461
|
-
"description": "
|
|
6462
|
-
"name": "
|
|
6510
|
+
"tenant_name": {
|
|
6511
|
+
"description": "Tenant name",
|
|
6512
|
+
"name": "tenant_name",
|
|
6463
6513
|
"required": true
|
|
6464
6514
|
}
|
|
6465
6515
|
},
|
|
6466
|
-
"description": "
|
|
6516
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6467
6517
|
"examples": [
|
|
6468
|
-
"$ xano tenant
|
|
6469
|
-
"$ xano tenant
|
|
6518
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6519
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6470
6520
|
],
|
|
6471
6521
|
"flags": {
|
|
6472
6522
|
"profile": {
|
|
@@ -6488,6 +6538,15 @@
|
|
|
6488
6538
|
"allowNo": false,
|
|
6489
6539
|
"type": "boolean"
|
|
6490
6540
|
},
|
|
6541
|
+
"name": {
|
|
6542
|
+
"char": "n",
|
|
6543
|
+
"description": "Environment variable name",
|
|
6544
|
+
"name": "name",
|
|
6545
|
+
"required": true,
|
|
6546
|
+
"hasDynamicHelp": false,
|
|
6547
|
+
"multiple": false,
|
|
6548
|
+
"type": "option"
|
|
6549
|
+
},
|
|
6491
6550
|
"output": {
|
|
6492
6551
|
"char": "o",
|
|
6493
6552
|
"description": "Output format",
|
|
@@ -6501,11 +6560,28 @@
|
|
|
6501
6560
|
"json"
|
|
6502
6561
|
],
|
|
6503
6562
|
"type": "option"
|
|
6563
|
+
},
|
|
6564
|
+
"value": {
|
|
6565
|
+
"description": "Environment variable value",
|
|
6566
|
+
"name": "value",
|
|
6567
|
+
"required": true,
|
|
6568
|
+
"hasDynamicHelp": false,
|
|
6569
|
+
"multiple": false,
|
|
6570
|
+
"type": "option"
|
|
6571
|
+
},
|
|
6572
|
+
"workspace": {
|
|
6573
|
+
"char": "w",
|
|
6574
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6575
|
+
"name": "workspace",
|
|
6576
|
+
"required": false,
|
|
6577
|
+
"hasDynamicHelp": false,
|
|
6578
|
+
"multiple": false,
|
|
6579
|
+
"type": "option"
|
|
6504
6580
|
}
|
|
6505
6581
|
},
|
|
6506
6582
|
"hasDynamicHelp": false,
|
|
6507
6583
|
"hiddenAliases": [],
|
|
6508
|
-
"id": "tenant:
|
|
6584
|
+
"id": "tenant:env:set",
|
|
6509
6585
|
"pluginAlias": "@xano/cli",
|
|
6510
6586
|
"pluginName": "@xano/cli",
|
|
6511
6587
|
"pluginType": "core",
|
|
@@ -6516,12 +6592,12 @@
|
|
|
6516
6592
|
"dist",
|
|
6517
6593
|
"commands",
|
|
6518
6594
|
"tenant",
|
|
6519
|
-
"
|
|
6520
|
-
"
|
|
6595
|
+
"env",
|
|
6596
|
+
"set",
|
|
6521
6597
|
"index.js"
|
|
6522
6598
|
]
|
|
6523
6599
|
},
|
|
6524
|
-
"tenant:env:
|
|
6600
|
+
"tenant:env:set_all": {
|
|
6525
6601
|
"aliases": [],
|
|
6526
6602
|
"args": {
|
|
6527
6603
|
"tenant_name": {
|
|
@@ -6530,10 +6606,11 @@
|
|
|
6530
6606
|
"required": true
|
|
6531
6607
|
}
|
|
6532
6608
|
},
|
|
6533
|
-
"description": "
|
|
6609
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6534
6610
|
"examples": [
|
|
6535
|
-
"$ xano tenant env
|
|
6536
|
-
"$ xano tenant env
|
|
6611
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6612
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6613
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6537
6614
|
],
|
|
6538
6615
|
"flags": {
|
|
6539
6616
|
"profile": {
|
|
@@ -6555,6 +6632,22 @@
|
|
|
6555
6632
|
"allowNo": false,
|
|
6556
6633
|
"type": "boolean"
|
|
6557
6634
|
},
|
|
6635
|
+
"clean": {
|
|
6636
|
+
"description": "Remove the source file after successful upload",
|
|
6637
|
+
"name": "clean",
|
|
6638
|
+
"required": false,
|
|
6639
|
+
"allowNo": false,
|
|
6640
|
+
"type": "boolean"
|
|
6641
|
+
},
|
|
6642
|
+
"file": {
|
|
6643
|
+
"char": "f",
|
|
6644
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6645
|
+
"name": "file",
|
|
6646
|
+
"required": false,
|
|
6647
|
+
"hasDynamicHelp": false,
|
|
6648
|
+
"multiple": false,
|
|
6649
|
+
"type": "option"
|
|
6650
|
+
},
|
|
6558
6651
|
"output": {
|
|
6559
6652
|
"char": "o",
|
|
6560
6653
|
"description": "Output format",
|
|
@@ -6581,7 +6674,7 @@
|
|
|
6581
6674
|
},
|
|
6582
6675
|
"hasDynamicHelp": false,
|
|
6583
6676
|
"hiddenAliases": [],
|
|
6584
|
-
"id": "tenant:env:
|
|
6677
|
+
"id": "tenant:env:set_all",
|
|
6585
6678
|
"pluginAlias": "@xano/cli",
|
|
6586
6679
|
"pluginName": "@xano/cli",
|
|
6587
6680
|
"pluginType": "core",
|
|
@@ -6593,11 +6686,11 @@
|
|
|
6593
6686
|
"commands",
|
|
6594
6687
|
"tenant",
|
|
6595
6688
|
"env",
|
|
6596
|
-
"
|
|
6689
|
+
"set_all",
|
|
6597
6690
|
"index.js"
|
|
6598
6691
|
]
|
|
6599
6692
|
},
|
|
6600
|
-
"tenant:
|
|
6693
|
+
"tenant:license:get": {
|
|
6601
6694
|
"aliases": [],
|
|
6602
6695
|
"args": {
|
|
6603
6696
|
"tenant_name": {
|
|
@@ -6606,11 +6699,12 @@
|
|
|
6606
6699
|
"required": true
|
|
6607
6700
|
}
|
|
6608
6701
|
},
|
|
6609
|
-
"description": "
|
|
6702
|
+
"description": "Get the license for a tenant",
|
|
6610
6703
|
"examples": [
|
|
6611
|
-
"$ xano tenant
|
|
6612
|
-
"$ xano tenant
|
|
6613
|
-
"$ xano tenant
|
|
6704
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6705
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6706
|
+
"$ xano tenant license get my-tenant --view",
|
|
6707
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6614
6708
|
],
|
|
6615
6709
|
"flags": {
|
|
6616
6710
|
"profile": {
|
|
@@ -6632,16 +6726,9 @@
|
|
|
6632
6726
|
"allowNo": false,
|
|
6633
6727
|
"type": "boolean"
|
|
6634
6728
|
},
|
|
6635
|
-
"clean": {
|
|
6636
|
-
"description": "Remove the source file after successful upload",
|
|
6637
|
-
"name": "clean",
|
|
6638
|
-
"required": false,
|
|
6639
|
-
"allowNo": false,
|
|
6640
|
-
"type": "boolean"
|
|
6641
|
-
},
|
|
6642
6729
|
"file": {
|
|
6643
6730
|
"char": "f",
|
|
6644
|
-
"description": "
|
|
6731
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6645
6732
|
"name": "file",
|
|
6646
6733
|
"required": false,
|
|
6647
6734
|
"hasDynamicHelp": false,
|
|
@@ -6662,6 +6749,13 @@
|
|
|
6662
6749
|
],
|
|
6663
6750
|
"type": "option"
|
|
6664
6751
|
},
|
|
6752
|
+
"view": {
|
|
6753
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6754
|
+
"name": "view",
|
|
6755
|
+
"required": false,
|
|
6756
|
+
"allowNo": false,
|
|
6757
|
+
"type": "boolean"
|
|
6758
|
+
},
|
|
6665
6759
|
"workspace": {
|
|
6666
6760
|
"char": "w",
|
|
6667
6761
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6674,7 +6768,7 @@
|
|
|
6674
6768
|
},
|
|
6675
6769
|
"hasDynamicHelp": false,
|
|
6676
6770
|
"hiddenAliases": [],
|
|
6677
|
-
"id": "tenant:
|
|
6771
|
+
"id": "tenant:license:get",
|
|
6678
6772
|
"pluginAlias": "@xano/cli",
|
|
6679
6773
|
"pluginName": "@xano/cli",
|
|
6680
6774
|
"pluginType": "core",
|
|
@@ -6685,12 +6779,12 @@
|
|
|
6685
6779
|
"dist",
|
|
6686
6780
|
"commands",
|
|
6687
6781
|
"tenant",
|
|
6688
|
-
"
|
|
6689
|
-
"
|
|
6782
|
+
"license",
|
|
6783
|
+
"get",
|
|
6690
6784
|
"index.js"
|
|
6691
6785
|
]
|
|
6692
6786
|
},
|
|
6693
|
-
"tenant:license:
|
|
6787
|
+
"tenant:license:set": {
|
|
6694
6788
|
"aliases": [],
|
|
6695
6789
|
"args": {
|
|
6696
6790
|
"tenant_name": {
|
|
@@ -6699,12 +6793,12 @@
|
|
|
6699
6793
|
"required": true
|
|
6700
6794
|
}
|
|
6701
6795
|
},
|
|
6702
|
-
"description": "
|
|
6796
|
+
"description": "Set/update the license for a tenant",
|
|
6703
6797
|
"examples": [
|
|
6704
|
-
"$ xano tenant license
|
|
6705
|
-
"$ xano tenant license
|
|
6706
|
-
"$ xano tenant license
|
|
6707
|
-
"$ xano tenant license
|
|
6798
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6799
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6800
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6801
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6708
6802
|
],
|
|
6709
6803
|
"flags": {
|
|
6710
6804
|
"profile": {
|
|
@@ -6726,9 +6820,22 @@
|
|
|
6726
6820
|
"allowNo": false,
|
|
6727
6821
|
"type": "boolean"
|
|
6728
6822
|
},
|
|
6823
|
+
"clean": {
|
|
6824
|
+
"description": "Remove the source file after successful upload",
|
|
6825
|
+
"exclusive": [
|
|
6826
|
+
"value"
|
|
6827
|
+
],
|
|
6828
|
+
"name": "clean",
|
|
6829
|
+
"required": false,
|
|
6830
|
+
"allowNo": false,
|
|
6831
|
+
"type": "boolean"
|
|
6832
|
+
},
|
|
6729
6833
|
"file": {
|
|
6730
6834
|
"char": "f",
|
|
6731
|
-
"description": "
|
|
6835
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6836
|
+
"exclusive": [
|
|
6837
|
+
"value"
|
|
6838
|
+
],
|
|
6732
6839
|
"name": "file",
|
|
6733
6840
|
"required": false,
|
|
6734
6841
|
"hasDynamicHelp": false,
|
|
@@ -6749,12 +6856,17 @@
|
|
|
6749
6856
|
],
|
|
6750
6857
|
"type": "option"
|
|
6751
6858
|
},
|
|
6752
|
-
"
|
|
6753
|
-
"description": "
|
|
6754
|
-
"
|
|
6859
|
+
"value": {
|
|
6860
|
+
"description": "Inline license value",
|
|
6861
|
+
"exclusive": [
|
|
6862
|
+
"file",
|
|
6863
|
+
"clean"
|
|
6864
|
+
],
|
|
6865
|
+
"name": "value",
|
|
6755
6866
|
"required": false,
|
|
6756
|
-
"
|
|
6757
|
-
"
|
|
6867
|
+
"hasDynamicHelp": false,
|
|
6868
|
+
"multiple": false,
|
|
6869
|
+
"type": "option"
|
|
6758
6870
|
},
|
|
6759
6871
|
"workspace": {
|
|
6760
6872
|
"char": "w",
|
|
@@ -6768,7 +6880,7 @@
|
|
|
6768
6880
|
},
|
|
6769
6881
|
"hasDynamicHelp": false,
|
|
6770
6882
|
"hiddenAliases": [],
|
|
6771
|
-
"id": "tenant:license:
|
|
6883
|
+
"id": "tenant:license:set",
|
|
6772
6884
|
"pluginAlias": "@xano/cli",
|
|
6773
6885
|
"pluginName": "@xano/cli",
|
|
6774
6886
|
"pluginType": "core",
|
|
@@ -6780,7 +6892,7 @@
|
|
|
6780
6892
|
"commands",
|
|
6781
6893
|
"tenant",
|
|
6782
6894
|
"license",
|
|
6783
|
-
"
|
|
6895
|
+
"set",
|
|
6784
6896
|
"index.js"
|
|
6785
6897
|
]
|
|
6786
6898
|
},
|
|
@@ -7067,119 +7179,7 @@
|
|
|
7067
7179
|
"set",
|
|
7068
7180
|
"index.js"
|
|
7069
7181
|
]
|
|
7070
|
-
},
|
|
7071
|
-
"tenant:license:set": {
|
|
7072
|
-
"aliases": [],
|
|
7073
|
-
"args": {
|
|
7074
|
-
"tenant_name": {
|
|
7075
|
-
"description": "Tenant name",
|
|
7076
|
-
"name": "tenant_name",
|
|
7077
|
-
"required": true
|
|
7078
|
-
}
|
|
7079
|
-
},
|
|
7080
|
-
"description": "Set/update the license for a tenant",
|
|
7081
|
-
"examples": [
|
|
7082
|
-
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
7083
|
-
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
7084
|
-
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
7085
|
-
"$ xano tenant license set my-tenant -o json"
|
|
7086
|
-
],
|
|
7087
|
-
"flags": {
|
|
7088
|
-
"profile": {
|
|
7089
|
-
"char": "p",
|
|
7090
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
7091
|
-
"env": "XANO_PROFILE",
|
|
7092
|
-
"name": "profile",
|
|
7093
|
-
"required": false,
|
|
7094
|
-
"hasDynamicHelp": false,
|
|
7095
|
-
"multiple": false,
|
|
7096
|
-
"type": "option"
|
|
7097
|
-
},
|
|
7098
|
-
"verbose": {
|
|
7099
|
-
"char": "v",
|
|
7100
|
-
"description": "Show detailed request/response information",
|
|
7101
|
-
"env": "XANO_VERBOSE",
|
|
7102
|
-
"name": "verbose",
|
|
7103
|
-
"required": false,
|
|
7104
|
-
"allowNo": false,
|
|
7105
|
-
"type": "boolean"
|
|
7106
|
-
},
|
|
7107
|
-
"clean": {
|
|
7108
|
-
"description": "Remove the source file after successful upload",
|
|
7109
|
-
"exclusive": [
|
|
7110
|
-
"value"
|
|
7111
|
-
],
|
|
7112
|
-
"name": "clean",
|
|
7113
|
-
"required": false,
|
|
7114
|
-
"allowNo": false,
|
|
7115
|
-
"type": "boolean"
|
|
7116
|
-
},
|
|
7117
|
-
"file": {
|
|
7118
|
-
"char": "f",
|
|
7119
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
7120
|
-
"exclusive": [
|
|
7121
|
-
"value"
|
|
7122
|
-
],
|
|
7123
|
-
"name": "file",
|
|
7124
|
-
"required": false,
|
|
7125
|
-
"hasDynamicHelp": false,
|
|
7126
|
-
"multiple": false,
|
|
7127
|
-
"type": "option"
|
|
7128
|
-
},
|
|
7129
|
-
"output": {
|
|
7130
|
-
"char": "o",
|
|
7131
|
-
"description": "Output format",
|
|
7132
|
-
"name": "output",
|
|
7133
|
-
"required": false,
|
|
7134
|
-
"default": "summary",
|
|
7135
|
-
"hasDynamicHelp": false,
|
|
7136
|
-
"multiple": false,
|
|
7137
|
-
"options": [
|
|
7138
|
-
"summary",
|
|
7139
|
-
"json"
|
|
7140
|
-
],
|
|
7141
|
-
"type": "option"
|
|
7142
|
-
},
|
|
7143
|
-
"value": {
|
|
7144
|
-
"description": "Inline license value",
|
|
7145
|
-
"exclusive": [
|
|
7146
|
-
"file",
|
|
7147
|
-
"clean"
|
|
7148
|
-
],
|
|
7149
|
-
"name": "value",
|
|
7150
|
-
"required": false,
|
|
7151
|
-
"hasDynamicHelp": false,
|
|
7152
|
-
"multiple": false,
|
|
7153
|
-
"type": "option"
|
|
7154
|
-
},
|
|
7155
|
-
"workspace": {
|
|
7156
|
-
"char": "w",
|
|
7157
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7158
|
-
"name": "workspace",
|
|
7159
|
-
"required": false,
|
|
7160
|
-
"hasDynamicHelp": false,
|
|
7161
|
-
"multiple": false,
|
|
7162
|
-
"type": "option"
|
|
7163
|
-
}
|
|
7164
|
-
},
|
|
7165
|
-
"hasDynamicHelp": false,
|
|
7166
|
-
"hiddenAliases": [],
|
|
7167
|
-
"id": "tenant:license:set",
|
|
7168
|
-
"pluginAlias": "@xano/cli",
|
|
7169
|
-
"pluginName": "@xano/cli",
|
|
7170
|
-
"pluginType": "core",
|
|
7171
|
-
"strict": true,
|
|
7172
|
-
"enableJsonFlag": false,
|
|
7173
|
-
"isESM": true,
|
|
7174
|
-
"relativePath": [
|
|
7175
|
-
"dist",
|
|
7176
|
-
"commands",
|
|
7177
|
-
"tenant",
|
|
7178
|
-
"license",
|
|
7179
|
-
"set",
|
|
7180
|
-
"index.js"
|
|
7181
|
-
]
|
|
7182
7182
|
}
|
|
7183
7183
|
},
|
|
7184
|
-
"version": "0.0.
|
|
7184
|
+
"version": "0.0.91"
|
|
7185
7185
|
}
|