@xano/cli 0.0.84 → 0.0.85
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/README.md +1 -1
- package/dist/commands/workspace/push/index.js +35 -9
- package/oclif.manifest.json +1387 -1387
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -100,6 +100,113 @@
|
|
|
100
100
|
"index.js"
|
|
101
101
|
]
|
|
102
102
|
},
|
|
103
|
+
"branch:create": {
|
|
104
|
+
"aliases": [],
|
|
105
|
+
"args": {},
|
|
106
|
+
"description": "Create a new branch by cloning from an existing branch",
|
|
107
|
+
"examples": [
|
|
108
|
+
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
109
|
+
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
110
|
+
"$ xano branch create --label staging --color \"#ebc346\" --output json\n{\n \"created_at\": \"2024-02-11T10:00:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
111
|
+
],
|
|
112
|
+
"flags": {
|
|
113
|
+
"profile": {
|
|
114
|
+
"char": "p",
|
|
115
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
116
|
+
"env": "XANO_PROFILE",
|
|
117
|
+
"name": "profile",
|
|
118
|
+
"required": false,
|
|
119
|
+
"hasDynamicHelp": false,
|
|
120
|
+
"multiple": false,
|
|
121
|
+
"type": "option"
|
|
122
|
+
},
|
|
123
|
+
"verbose": {
|
|
124
|
+
"char": "v",
|
|
125
|
+
"description": "Show detailed request/response information",
|
|
126
|
+
"env": "XANO_VERBOSE",
|
|
127
|
+
"name": "verbose",
|
|
128
|
+
"required": false,
|
|
129
|
+
"allowNo": false,
|
|
130
|
+
"type": "boolean"
|
|
131
|
+
},
|
|
132
|
+
"color": {
|
|
133
|
+
"char": "c",
|
|
134
|
+
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
135
|
+
"name": "color",
|
|
136
|
+
"required": false,
|
|
137
|
+
"hasDynamicHelp": false,
|
|
138
|
+
"multiple": false,
|
|
139
|
+
"type": "option"
|
|
140
|
+
},
|
|
141
|
+
"description": {
|
|
142
|
+
"char": "d",
|
|
143
|
+
"description": "Description for the new branch",
|
|
144
|
+
"name": "description",
|
|
145
|
+
"required": false,
|
|
146
|
+
"hasDynamicHelp": false,
|
|
147
|
+
"multiple": false,
|
|
148
|
+
"type": "option"
|
|
149
|
+
},
|
|
150
|
+
"label": {
|
|
151
|
+
"char": "l",
|
|
152
|
+
"description": "Label for the new branch",
|
|
153
|
+
"name": "label",
|
|
154
|
+
"required": true,
|
|
155
|
+
"hasDynamicHelp": false,
|
|
156
|
+
"multiple": false,
|
|
157
|
+
"type": "option"
|
|
158
|
+
},
|
|
159
|
+
"output": {
|
|
160
|
+
"char": "o",
|
|
161
|
+
"description": "Output format",
|
|
162
|
+
"name": "output",
|
|
163
|
+
"required": false,
|
|
164
|
+
"default": "summary",
|
|
165
|
+
"hasDynamicHelp": false,
|
|
166
|
+
"multiple": false,
|
|
167
|
+
"options": [
|
|
168
|
+
"summary",
|
|
169
|
+
"json"
|
|
170
|
+
],
|
|
171
|
+
"type": "option"
|
|
172
|
+
},
|
|
173
|
+
"source": {
|
|
174
|
+
"char": "s",
|
|
175
|
+
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
176
|
+
"name": "source",
|
|
177
|
+
"required": false,
|
|
178
|
+
"default": "v1",
|
|
179
|
+
"hasDynamicHelp": false,
|
|
180
|
+
"multiple": false,
|
|
181
|
+
"type": "option"
|
|
182
|
+
},
|
|
183
|
+
"workspace": {
|
|
184
|
+
"char": "w",
|
|
185
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
186
|
+
"name": "workspace",
|
|
187
|
+
"required": false,
|
|
188
|
+
"hasDynamicHelp": false,
|
|
189
|
+
"multiple": false,
|
|
190
|
+
"type": "option"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"hasDynamicHelp": false,
|
|
194
|
+
"hiddenAliases": [],
|
|
195
|
+
"id": "branch:create",
|
|
196
|
+
"pluginAlias": "@xano/cli",
|
|
197
|
+
"pluginName": "@xano/cli",
|
|
198
|
+
"pluginType": "core",
|
|
199
|
+
"strict": true,
|
|
200
|
+
"enableJsonFlag": false,
|
|
201
|
+
"isESM": true,
|
|
202
|
+
"relativePath": [
|
|
203
|
+
"dist",
|
|
204
|
+
"commands",
|
|
205
|
+
"branch",
|
|
206
|
+
"create",
|
|
207
|
+
"index.js"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
103
210
|
"branch:delete": {
|
|
104
211
|
"aliases": [],
|
|
105
212
|
"args": {
|
|
@@ -184,14 +291,20 @@
|
|
|
184
291
|
"index.js"
|
|
185
292
|
]
|
|
186
293
|
},
|
|
187
|
-
"branch:
|
|
294
|
+
"branch:edit": {
|
|
188
295
|
"aliases": [],
|
|
189
|
-
"args": {
|
|
190
|
-
|
|
296
|
+
"args": {
|
|
297
|
+
"branch_label": {
|
|
298
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
299
|
+
"name": "branch_label",
|
|
300
|
+
"required": true
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
191
304
|
"examples": [
|
|
192
|
-
"$ xano branch
|
|
193
|
-
"$ xano branch
|
|
194
|
-
"$ xano branch
|
|
305
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
306
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
307
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
195
308
|
],
|
|
196
309
|
"flags": {
|
|
197
310
|
"profile": {
|
|
@@ -215,7 +328,7 @@
|
|
|
215
328
|
},
|
|
216
329
|
"color": {
|
|
217
330
|
"char": "c",
|
|
218
|
-
"description": "
|
|
331
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
219
332
|
"name": "color",
|
|
220
333
|
"required": false,
|
|
221
334
|
"hasDynamicHelp": false,
|
|
@@ -224,7 +337,7 @@
|
|
|
224
337
|
},
|
|
225
338
|
"description": {
|
|
226
339
|
"char": "d",
|
|
227
|
-
"description": "
|
|
340
|
+
"description": "New description for the branch",
|
|
228
341
|
"name": "description",
|
|
229
342
|
"required": false,
|
|
230
343
|
"hasDynamicHelp": false,
|
|
@@ -233,9 +346,9 @@
|
|
|
233
346
|
},
|
|
234
347
|
"label": {
|
|
235
348
|
"char": "l",
|
|
236
|
-
"description": "
|
|
349
|
+
"description": "New label for the branch",
|
|
237
350
|
"name": "label",
|
|
238
|
-
"required":
|
|
351
|
+
"required": false,
|
|
239
352
|
"hasDynamicHelp": false,
|
|
240
353
|
"multiple": false,
|
|
241
354
|
"type": "option"
|
|
@@ -254,16 +367,6 @@
|
|
|
254
367
|
],
|
|
255
368
|
"type": "option"
|
|
256
369
|
},
|
|
257
|
-
"source": {
|
|
258
|
-
"char": "s",
|
|
259
|
-
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
260
|
-
"name": "source",
|
|
261
|
-
"required": false,
|
|
262
|
-
"default": "v1",
|
|
263
|
-
"hasDynamicHelp": false,
|
|
264
|
-
"multiple": false,
|
|
265
|
-
"type": "option"
|
|
266
|
-
},
|
|
267
370
|
"workspace": {
|
|
268
371
|
"char": "w",
|
|
269
372
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -276,7 +379,7 @@
|
|
|
276
379
|
},
|
|
277
380
|
"hasDynamicHelp": false,
|
|
278
381
|
"hiddenAliases": [],
|
|
279
|
-
"id": "branch:
|
|
382
|
+
"id": "branch:edit",
|
|
280
383
|
"pluginAlias": "@xano/cli",
|
|
281
384
|
"pluginName": "@xano/cli",
|
|
282
385
|
"pluginType": "core",
|
|
@@ -287,7 +390,7 @@
|
|
|
287
390
|
"dist",
|
|
288
391
|
"commands",
|
|
289
392
|
"branch",
|
|
290
|
-
"
|
|
393
|
+
"edit",
|
|
291
394
|
"index.js"
|
|
292
395
|
]
|
|
293
396
|
},
|
|
@@ -886,20 +989,19 @@
|
|
|
886
989
|
"index.js"
|
|
887
990
|
]
|
|
888
991
|
},
|
|
889
|
-
"
|
|
992
|
+
"platform:get": {
|
|
890
993
|
"aliases": [],
|
|
891
994
|
"args": {
|
|
892
|
-
"
|
|
893
|
-
"description": "
|
|
894
|
-
"name": "
|
|
995
|
+
"platform_id": {
|
|
996
|
+
"description": "Platform ID to retrieve",
|
|
997
|
+
"name": "platform_id",
|
|
895
998
|
"required": true
|
|
896
999
|
}
|
|
897
1000
|
},
|
|
898
|
-
"description": "Get details
|
|
1001
|
+
"description": "Get details of a specific platform",
|
|
899
1002
|
"examples": [
|
|
900
|
-
"$ xano
|
|
901
|
-
"$ xano
|
|
902
|
-
"$ 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"
|
|
1003
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
1004
|
+
"$ xano platform get 23629 -o json"
|
|
903
1005
|
],
|
|
904
1006
|
"flags": {
|
|
905
1007
|
"profile": {
|
|
@@ -934,20 +1036,11 @@
|
|
|
934
1036
|
"json"
|
|
935
1037
|
],
|
|
936
1038
|
"type": "option"
|
|
937
|
-
},
|
|
938
|
-
"workspace": {
|
|
939
|
-
"char": "w",
|
|
940
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
941
|
-
"name": "workspace",
|
|
942
|
-
"required": false,
|
|
943
|
-
"hasDynamicHelp": false,
|
|
944
|
-
"multiple": false,
|
|
945
|
-
"type": "option"
|
|
946
1039
|
}
|
|
947
1040
|
},
|
|
948
1041
|
"hasDynamicHelp": false,
|
|
949
1042
|
"hiddenAliases": [],
|
|
950
|
-
"id": "
|
|
1043
|
+
"id": "platform:get",
|
|
951
1044
|
"pluginAlias": "@xano/cli",
|
|
952
1045
|
"pluginName": "@xano/cli",
|
|
953
1046
|
"pluginType": "core",
|
|
@@ -957,90 +1050,83 @@
|
|
|
957
1050
|
"relativePath": [
|
|
958
1051
|
"dist",
|
|
959
1052
|
"commands",
|
|
960
|
-
"
|
|
1053
|
+
"platform",
|
|
961
1054
|
"get",
|
|
962
1055
|
"index.js"
|
|
963
1056
|
]
|
|
964
1057
|
},
|
|
965
|
-
"
|
|
1058
|
+
"profile:create": {
|
|
966
1059
|
"aliases": [],
|
|
967
1060
|
"args": {
|
|
968
|
-
"
|
|
969
|
-
"description": "
|
|
970
|
-
"name": "
|
|
1061
|
+
"name": {
|
|
1062
|
+
"description": "Profile name",
|
|
1063
|
+
"name": "name",
|
|
971
1064
|
"required": true
|
|
972
1065
|
}
|
|
973
1066
|
},
|
|
974
|
-
"description": "
|
|
1067
|
+
"description": "Create a new profile configuration",
|
|
975
1068
|
"examples": [
|
|
976
|
-
"$ xano
|
|
977
|
-
"$ xano
|
|
978
|
-
"$ xano
|
|
1069
|
+
"$ 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",
|
|
1070
|
+
"$ 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",
|
|
1071
|
+
"$ 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",
|
|
1072
|
+
"$ 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",
|
|
1073
|
+
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
979
1074
|
],
|
|
980
1075
|
"flags": {
|
|
981
|
-
"
|
|
982
|
-
"char": "
|
|
983
|
-
"description": "
|
|
984
|
-
"
|
|
985
|
-
"
|
|
986
|
-
"required": false,
|
|
1076
|
+
"access_token": {
|
|
1077
|
+
"char": "t",
|
|
1078
|
+
"description": "Access token for the Xano Metadata API",
|
|
1079
|
+
"name": "access_token",
|
|
1080
|
+
"required": true,
|
|
987
1081
|
"hasDynamicHelp": false,
|
|
988
1082
|
"multiple": false,
|
|
989
1083
|
"type": "option"
|
|
990
1084
|
},
|
|
991
|
-
"
|
|
992
|
-
"char": "
|
|
993
|
-
"description": "
|
|
994
|
-
"
|
|
995
|
-
"name": "verbose",
|
|
996
|
-
"required": false,
|
|
997
|
-
"allowNo": false,
|
|
998
|
-
"type": "boolean"
|
|
999
|
-
},
|
|
1000
|
-
"color": {
|
|
1001
|
-
"char": "c",
|
|
1002
|
-
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
1003
|
-
"name": "color",
|
|
1085
|
+
"account_origin": {
|
|
1086
|
+
"char": "a",
|
|
1087
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1088
|
+
"name": "account_origin",
|
|
1004
1089
|
"required": false,
|
|
1005
1090
|
"hasDynamicHelp": false,
|
|
1006
1091
|
"multiple": false,
|
|
1007
1092
|
"type": "option"
|
|
1008
1093
|
},
|
|
1009
|
-
"
|
|
1010
|
-
"char": "
|
|
1011
|
-
"description": "
|
|
1012
|
-
"name": "
|
|
1094
|
+
"branch": {
|
|
1095
|
+
"char": "b",
|
|
1096
|
+
"description": "Branch name",
|
|
1097
|
+
"name": "branch",
|
|
1013
1098
|
"required": false,
|
|
1014
1099
|
"hasDynamicHelp": false,
|
|
1015
1100
|
"multiple": false,
|
|
1016
1101
|
"type": "option"
|
|
1017
1102
|
},
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1020
|
-
"
|
|
1021
|
-
"
|
|
1103
|
+
"default": {
|
|
1104
|
+
"description": "Set this profile as the default",
|
|
1105
|
+
"name": "default",
|
|
1106
|
+
"required": false,
|
|
1107
|
+
"allowNo": false,
|
|
1108
|
+
"type": "boolean"
|
|
1109
|
+
},
|
|
1110
|
+
"insecure": {
|
|
1111
|
+
"char": "k",
|
|
1112
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1113
|
+
"name": "insecure",
|
|
1022
1114
|
"required": false,
|
|
1115
|
+
"allowNo": false,
|
|
1116
|
+
"type": "boolean"
|
|
1117
|
+
},
|
|
1118
|
+
"instance_origin": {
|
|
1119
|
+
"char": "i",
|
|
1120
|
+
"description": "Instance origin URL",
|
|
1121
|
+
"name": "instance_origin",
|
|
1122
|
+
"required": true,
|
|
1023
1123
|
"hasDynamicHelp": false,
|
|
1024
1124
|
"multiple": false,
|
|
1025
1125
|
"type": "option"
|
|
1026
1126
|
},
|
|
1027
|
-
"output": {
|
|
1028
|
-
"char": "o",
|
|
1029
|
-
"description": "Output format",
|
|
1030
|
-
"name": "output",
|
|
1031
|
-
"required": false,
|
|
1032
|
-
"default": "summary",
|
|
1033
|
-
"hasDynamicHelp": false,
|
|
1034
|
-
"multiple": false,
|
|
1035
|
-
"options": [
|
|
1036
|
-
"summary",
|
|
1037
|
-
"json"
|
|
1038
|
-
],
|
|
1039
|
-
"type": "option"
|
|
1040
|
-
},
|
|
1041
1127
|
"workspace": {
|
|
1042
1128
|
"char": "w",
|
|
1043
|
-
"description": "Workspace
|
|
1129
|
+
"description": "Workspace name",
|
|
1044
1130
|
"name": "workspace",
|
|
1045
1131
|
"required": false,
|
|
1046
1132
|
"hasDynamicHelp": false,
|
|
@@ -1050,7 +1136,7 @@
|
|
|
1050
1136
|
},
|
|
1051
1137
|
"hasDynamicHelp": false,
|
|
1052
1138
|
"hiddenAliases": [],
|
|
1053
|
-
"id": "
|
|
1139
|
+
"id": "profile:create",
|
|
1054
1140
|
"pluginAlias": "@xano/cli",
|
|
1055
1141
|
"pluginName": "@xano/cli",
|
|
1056
1142
|
"pluginType": "core",
|
|
@@ -1060,8 +1146,8 @@
|
|
|
1060
1146
|
"relativePath": [
|
|
1061
1147
|
"dist",
|
|
1062
1148
|
"commands",
|
|
1063
|
-
"
|
|
1064
|
-
"
|
|
1149
|
+
"profile",
|
|
1150
|
+
"create",
|
|
1065
1151
|
"index.js"
|
|
1066
1152
|
]
|
|
1067
1153
|
},
|
|
@@ -1125,58 +1211,34 @@
|
|
|
1125
1211
|
"index.js"
|
|
1126
1212
|
]
|
|
1127
1213
|
},
|
|
1128
|
-
"
|
|
1214
|
+
"profile:delete": {
|
|
1129
1215
|
"aliases": [],
|
|
1130
1216
|
"args": {
|
|
1131
|
-
"
|
|
1132
|
-
"description": "
|
|
1133
|
-
"name": "
|
|
1217
|
+
"name": {
|
|
1218
|
+
"description": "Profile name to delete",
|
|
1219
|
+
"name": "name",
|
|
1134
1220
|
"required": true
|
|
1135
1221
|
}
|
|
1136
1222
|
},
|
|
1137
|
-
"description": "
|
|
1223
|
+
"description": "Delete a profile configuration",
|
|
1138
1224
|
"examples": [
|
|
1139
|
-
"$ xano
|
|
1140
|
-
"$ xano
|
|
1225
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1226
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1227
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1141
1228
|
],
|
|
1142
1229
|
"flags": {
|
|
1143
|
-
"
|
|
1144
|
-
"char": "
|
|
1145
|
-
"description": "
|
|
1146
|
-
"
|
|
1147
|
-
"name": "profile",
|
|
1148
|
-
"required": false,
|
|
1149
|
-
"hasDynamicHelp": false,
|
|
1150
|
-
"multiple": false,
|
|
1151
|
-
"type": "option"
|
|
1152
|
-
},
|
|
1153
|
-
"verbose": {
|
|
1154
|
-
"char": "v",
|
|
1155
|
-
"description": "Show detailed request/response information",
|
|
1156
|
-
"env": "XANO_VERBOSE",
|
|
1157
|
-
"name": "verbose",
|
|
1230
|
+
"force": {
|
|
1231
|
+
"char": "f",
|
|
1232
|
+
"description": "Skip confirmation prompt",
|
|
1233
|
+
"name": "force",
|
|
1158
1234
|
"required": false,
|
|
1159
1235
|
"allowNo": false,
|
|
1160
1236
|
"type": "boolean"
|
|
1161
|
-
},
|
|
1162
|
-
"output": {
|
|
1163
|
-
"char": "o",
|
|
1164
|
-
"description": "Output format",
|
|
1165
|
-
"name": "output",
|
|
1166
|
-
"required": false,
|
|
1167
|
-
"default": "summary",
|
|
1168
|
-
"hasDynamicHelp": false,
|
|
1169
|
-
"multiple": false,
|
|
1170
|
-
"options": [
|
|
1171
|
-
"summary",
|
|
1172
|
-
"json"
|
|
1173
|
-
],
|
|
1174
|
-
"type": "option"
|
|
1175
1237
|
}
|
|
1176
1238
|
},
|
|
1177
1239
|
"hasDynamicHelp": false,
|
|
1178
1240
|
"hiddenAliases": [],
|
|
1179
|
-
"id": "
|
|
1241
|
+
"id": "profile:delete",
|
|
1180
1242
|
"pluginAlias": "@xano/cli",
|
|
1181
1243
|
"pluginName": "@xano/cli",
|
|
1182
1244
|
"pluginType": "core",
|
|
@@ -1186,8 +1248,8 @@
|
|
|
1186
1248
|
"relativePath": [
|
|
1187
1249
|
"dist",
|
|
1188
1250
|
"commands",
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1251
|
+
"profile",
|
|
1252
|
+
"delete",
|
|
1191
1253
|
"index.js"
|
|
1192
1254
|
]
|
|
1193
1255
|
},
|
|
@@ -1382,6 +1444,82 @@
|
|
|
1382
1444
|
"index.js"
|
|
1383
1445
|
]
|
|
1384
1446
|
},
|
|
1447
|
+
"branch:get": {
|
|
1448
|
+
"aliases": [],
|
|
1449
|
+
"args": {
|
|
1450
|
+
"branch_label": {
|
|
1451
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1452
|
+
"name": "branch_label",
|
|
1453
|
+
"required": true
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
"description": "Get details for a specific branch",
|
|
1457
|
+
"examples": [
|
|
1458
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1459
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1460
|
+
"$ 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"
|
|
1461
|
+
],
|
|
1462
|
+
"flags": {
|
|
1463
|
+
"profile": {
|
|
1464
|
+
"char": "p",
|
|
1465
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1466
|
+
"env": "XANO_PROFILE",
|
|
1467
|
+
"name": "profile",
|
|
1468
|
+
"required": false,
|
|
1469
|
+
"hasDynamicHelp": false,
|
|
1470
|
+
"multiple": false,
|
|
1471
|
+
"type": "option"
|
|
1472
|
+
},
|
|
1473
|
+
"verbose": {
|
|
1474
|
+
"char": "v",
|
|
1475
|
+
"description": "Show detailed request/response information",
|
|
1476
|
+
"env": "XANO_VERBOSE",
|
|
1477
|
+
"name": "verbose",
|
|
1478
|
+
"required": false,
|
|
1479
|
+
"allowNo": false,
|
|
1480
|
+
"type": "boolean"
|
|
1481
|
+
},
|
|
1482
|
+
"output": {
|
|
1483
|
+
"char": "o",
|
|
1484
|
+
"description": "Output format",
|
|
1485
|
+
"name": "output",
|
|
1486
|
+
"required": false,
|
|
1487
|
+
"default": "summary",
|
|
1488
|
+
"hasDynamicHelp": false,
|
|
1489
|
+
"multiple": false,
|
|
1490
|
+
"options": [
|
|
1491
|
+
"summary",
|
|
1492
|
+
"json"
|
|
1493
|
+
],
|
|
1494
|
+
"type": "option"
|
|
1495
|
+
},
|
|
1496
|
+
"workspace": {
|
|
1497
|
+
"char": "w",
|
|
1498
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1499
|
+
"name": "workspace",
|
|
1500
|
+
"required": false,
|
|
1501
|
+
"hasDynamicHelp": false,
|
|
1502
|
+
"multiple": false,
|
|
1503
|
+
"type": "option"
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"hasDynamicHelp": false,
|
|
1507
|
+
"hiddenAliases": [],
|
|
1508
|
+
"id": "branch:get",
|
|
1509
|
+
"pluginAlias": "@xano/cli",
|
|
1510
|
+
"pluginName": "@xano/cli",
|
|
1511
|
+
"pluginType": "core",
|
|
1512
|
+
"strict": true,
|
|
1513
|
+
"enableJsonFlag": false,
|
|
1514
|
+
"isESM": true,
|
|
1515
|
+
"relativePath": [
|
|
1516
|
+
"dist",
|
|
1517
|
+
"commands",
|
|
1518
|
+
"branch",
|
|
1519
|
+
"get",
|
|
1520
|
+
"index.js"
|
|
1521
|
+
]
|
|
1522
|
+
},
|
|
1385
1523
|
"profile:me": {
|
|
1386
1524
|
"aliases": [],
|
|
1387
1525
|
"args": {},
|
|
@@ -1500,280 +1638,89 @@
|
|
|
1500
1638
|
"index.js"
|
|
1501
1639
|
]
|
|
1502
1640
|
},
|
|
1503
|
-
"profile:
|
|
1641
|
+
"profile:workspace": {
|
|
1504
1642
|
"aliases": [],
|
|
1505
|
-
"args": {
|
|
1506
|
-
|
|
1507
|
-
"description": "Profile name",
|
|
1508
|
-
"name": "name",
|
|
1509
|
-
"required": true
|
|
1510
|
-
}
|
|
1511
|
-
},
|
|
1512
|
-
"description": "Create a new profile configuration",
|
|
1643
|
+
"args": {},
|
|
1644
|
+
"description": "Print the workspace ID for the default profile",
|
|
1513
1645
|
"examples": [
|
|
1514
|
-
"$ xano profile:
|
|
1515
|
-
"$ xano profile:
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1646
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1647
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1648
|
+
],
|
|
1649
|
+
"flags": {},
|
|
1650
|
+
"hasDynamicHelp": false,
|
|
1651
|
+
"hiddenAliases": [],
|
|
1652
|
+
"id": "profile:workspace",
|
|
1653
|
+
"pluginAlias": "@xano/cli",
|
|
1654
|
+
"pluginName": "@xano/cli",
|
|
1655
|
+
"pluginType": "core",
|
|
1656
|
+
"strict": true,
|
|
1657
|
+
"enableJsonFlag": false,
|
|
1658
|
+
"isESM": true,
|
|
1659
|
+
"relativePath": [
|
|
1660
|
+
"dist",
|
|
1661
|
+
"commands",
|
|
1662
|
+
"profile",
|
|
1663
|
+
"workspace",
|
|
1664
|
+
"index.js"
|
|
1665
|
+
]
|
|
1666
|
+
},
|
|
1667
|
+
"release:create": {
|
|
1668
|
+
"aliases": [],
|
|
1669
|
+
"args": {},
|
|
1670
|
+
"description": "Create a new release in a workspace",
|
|
1671
|
+
"examples": [
|
|
1672
|
+
"$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
|
|
1673
|
+
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
1519
1674
|
],
|
|
1520
1675
|
"flags": {
|
|
1521
|
-
"
|
|
1522
|
-
"char": "
|
|
1523
|
-
"description": "
|
|
1524
|
-
"
|
|
1525
|
-
"
|
|
1676
|
+
"profile": {
|
|
1677
|
+
"char": "p",
|
|
1678
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1679
|
+
"env": "XANO_PROFILE",
|
|
1680
|
+
"name": "profile",
|
|
1681
|
+
"required": false,
|
|
1526
1682
|
"hasDynamicHelp": false,
|
|
1527
1683
|
"multiple": false,
|
|
1528
1684
|
"type": "option"
|
|
1529
1685
|
},
|
|
1530
|
-
"
|
|
1531
|
-
"char": "
|
|
1532
|
-
"description": "
|
|
1533
|
-
"
|
|
1686
|
+
"verbose": {
|
|
1687
|
+
"char": "v",
|
|
1688
|
+
"description": "Show detailed request/response information",
|
|
1689
|
+
"env": "XANO_VERBOSE",
|
|
1690
|
+
"name": "verbose",
|
|
1534
1691
|
"required": false,
|
|
1535
|
-
"
|
|
1536
|
-
"
|
|
1537
|
-
"type": "option"
|
|
1692
|
+
"allowNo": false,
|
|
1693
|
+
"type": "boolean"
|
|
1538
1694
|
},
|
|
1539
1695
|
"branch": {
|
|
1540
1696
|
"char": "b",
|
|
1541
|
-
"description": "Branch
|
|
1697
|
+
"description": "Branch to create the release from",
|
|
1542
1698
|
"name": "branch",
|
|
1543
|
-
"required":
|
|
1699
|
+
"required": true,
|
|
1544
1700
|
"hasDynamicHelp": false,
|
|
1545
1701
|
"multiple": false,
|
|
1546
1702
|
"type": "option"
|
|
1547
1703
|
},
|
|
1548
|
-
"
|
|
1549
|
-
"
|
|
1550
|
-
"
|
|
1704
|
+
"description": {
|
|
1705
|
+
"char": "d",
|
|
1706
|
+
"description": "Release description",
|
|
1707
|
+
"name": "description",
|
|
1551
1708
|
"required": false,
|
|
1552
|
-
"
|
|
1553
|
-
"
|
|
1709
|
+
"hasDynamicHelp": false,
|
|
1710
|
+
"multiple": false,
|
|
1711
|
+
"type": "option"
|
|
1554
1712
|
},
|
|
1555
|
-
"
|
|
1556
|
-
"
|
|
1557
|
-
"
|
|
1558
|
-
"name": "insecure",
|
|
1713
|
+
"hotfix": {
|
|
1714
|
+
"description": "Mark as a hotfix release",
|
|
1715
|
+
"name": "hotfix",
|
|
1559
1716
|
"required": false,
|
|
1560
1717
|
"allowNo": false,
|
|
1561
1718
|
"type": "boolean"
|
|
1562
1719
|
},
|
|
1563
|
-
"
|
|
1564
|
-
"char": "
|
|
1565
|
-
"description": "
|
|
1566
|
-
"name": "
|
|
1567
|
-
"required": true,
|
|
1568
|
-
"hasDynamicHelp": false,
|
|
1569
|
-
"multiple": false,
|
|
1570
|
-
"type": "option"
|
|
1571
|
-
},
|
|
1572
|
-
"workspace": {
|
|
1573
|
-
"char": "w",
|
|
1574
|
-
"description": "Workspace name",
|
|
1575
|
-
"name": "workspace",
|
|
1576
|
-
"required": false,
|
|
1577
|
-
"hasDynamicHelp": false,
|
|
1578
|
-
"multiple": false,
|
|
1579
|
-
"type": "option"
|
|
1580
|
-
}
|
|
1581
|
-
},
|
|
1582
|
-
"hasDynamicHelp": false,
|
|
1583
|
-
"hiddenAliases": [],
|
|
1584
|
-
"id": "profile:create",
|
|
1585
|
-
"pluginAlias": "@xano/cli",
|
|
1586
|
-
"pluginName": "@xano/cli",
|
|
1587
|
-
"pluginType": "core",
|
|
1588
|
-
"strict": true,
|
|
1589
|
-
"enableJsonFlag": false,
|
|
1590
|
-
"isESM": true,
|
|
1591
|
-
"relativePath": [
|
|
1592
|
-
"dist",
|
|
1593
|
-
"commands",
|
|
1594
|
-
"profile",
|
|
1595
|
-
"create",
|
|
1596
|
-
"index.js"
|
|
1597
|
-
]
|
|
1598
|
-
},
|
|
1599
|
-
"profile:delete": {
|
|
1600
|
-
"aliases": [],
|
|
1601
|
-
"args": {
|
|
1602
|
-
"name": {
|
|
1603
|
-
"description": "Profile name to delete",
|
|
1604
|
-
"name": "name",
|
|
1605
|
-
"required": true
|
|
1606
|
-
}
|
|
1607
|
-
},
|
|
1608
|
-
"description": "Delete a profile configuration",
|
|
1609
|
-
"examples": [
|
|
1610
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1611
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1612
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1613
|
-
],
|
|
1614
|
-
"flags": {
|
|
1615
|
-
"force": {
|
|
1616
|
-
"char": "f",
|
|
1617
|
-
"description": "Skip confirmation prompt",
|
|
1618
|
-
"name": "force",
|
|
1619
|
-
"required": false,
|
|
1620
|
-
"allowNo": false,
|
|
1621
|
-
"type": "boolean"
|
|
1622
|
-
}
|
|
1623
|
-
},
|
|
1624
|
-
"hasDynamicHelp": false,
|
|
1625
|
-
"hiddenAliases": [],
|
|
1626
|
-
"id": "profile:delete",
|
|
1627
|
-
"pluginAlias": "@xano/cli",
|
|
1628
|
-
"pluginName": "@xano/cli",
|
|
1629
|
-
"pluginType": "core",
|
|
1630
|
-
"strict": true,
|
|
1631
|
-
"enableJsonFlag": false,
|
|
1632
|
-
"isESM": true,
|
|
1633
|
-
"relativePath": [
|
|
1634
|
-
"dist",
|
|
1635
|
-
"commands",
|
|
1636
|
-
"profile",
|
|
1637
|
-
"delete",
|
|
1638
|
-
"index.js"
|
|
1639
|
-
]
|
|
1640
|
-
},
|
|
1641
|
-
"profile:workspace": {
|
|
1642
|
-
"aliases": [],
|
|
1643
|
-
"args": {},
|
|
1644
|
-
"description": "Print the workspace ID for the default profile",
|
|
1645
|
-
"examples": [
|
|
1646
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1647
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1648
|
-
],
|
|
1649
|
-
"flags": {},
|
|
1650
|
-
"hasDynamicHelp": false,
|
|
1651
|
-
"hiddenAliases": [],
|
|
1652
|
-
"id": "profile:workspace",
|
|
1653
|
-
"pluginAlias": "@xano/cli",
|
|
1654
|
-
"pluginName": "@xano/cli",
|
|
1655
|
-
"pluginType": "core",
|
|
1656
|
-
"strict": true,
|
|
1657
|
-
"enableJsonFlag": false,
|
|
1658
|
-
"isESM": true,
|
|
1659
|
-
"relativePath": [
|
|
1660
|
-
"dist",
|
|
1661
|
-
"commands",
|
|
1662
|
-
"profile",
|
|
1663
|
-
"workspace",
|
|
1664
|
-
"index.js"
|
|
1665
|
-
]
|
|
1666
|
-
},
|
|
1667
|
-
"profile:wizard": {
|
|
1668
|
-
"aliases": [],
|
|
1669
|
-
"args": {},
|
|
1670
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1671
|
-
"examples": [
|
|
1672
|
-
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1673
|
-
],
|
|
1674
|
-
"flags": {
|
|
1675
|
-
"insecure": {
|
|
1676
|
-
"char": "k",
|
|
1677
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1678
|
-
"name": "insecure",
|
|
1679
|
-
"required": false,
|
|
1680
|
-
"allowNo": false,
|
|
1681
|
-
"type": "boolean"
|
|
1682
|
-
},
|
|
1683
|
-
"name": {
|
|
1684
|
-
"char": "n",
|
|
1685
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1686
|
-
"name": "name",
|
|
1687
|
-
"required": false,
|
|
1688
|
-
"hasDynamicHelp": false,
|
|
1689
|
-
"multiple": false,
|
|
1690
|
-
"type": "option"
|
|
1691
|
-
},
|
|
1692
|
-
"origin": {
|
|
1693
|
-
"char": "o",
|
|
1694
|
-
"description": "Xano instance origin URL",
|
|
1695
|
-
"name": "origin",
|
|
1696
|
-
"required": false,
|
|
1697
|
-
"default": "https://app.xano.com",
|
|
1698
|
-
"hasDynamicHelp": false,
|
|
1699
|
-
"multiple": false,
|
|
1700
|
-
"type": "option"
|
|
1701
|
-
}
|
|
1702
|
-
},
|
|
1703
|
-
"hasDynamicHelp": false,
|
|
1704
|
-
"hiddenAliases": [],
|
|
1705
|
-
"id": "profile:wizard",
|
|
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
|
-
"wizard",
|
|
1717
|
-
"index.js"
|
|
1718
|
-
]
|
|
1719
|
-
},
|
|
1720
|
-
"release:create": {
|
|
1721
|
-
"aliases": [],
|
|
1722
|
-
"args": {},
|
|
1723
|
-
"description": "Create a new release in a workspace",
|
|
1724
|
-
"examples": [
|
|
1725
|
-
"$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
|
|
1726
|
-
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
1727
|
-
],
|
|
1728
|
-
"flags": {
|
|
1729
|
-
"profile": {
|
|
1730
|
-
"char": "p",
|
|
1731
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1732
|
-
"env": "XANO_PROFILE",
|
|
1733
|
-
"name": "profile",
|
|
1734
|
-
"required": false,
|
|
1735
|
-
"hasDynamicHelp": false,
|
|
1736
|
-
"multiple": false,
|
|
1737
|
-
"type": "option"
|
|
1738
|
-
},
|
|
1739
|
-
"verbose": {
|
|
1740
|
-
"char": "v",
|
|
1741
|
-
"description": "Show detailed request/response information",
|
|
1742
|
-
"env": "XANO_VERBOSE",
|
|
1743
|
-
"name": "verbose",
|
|
1744
|
-
"required": false,
|
|
1745
|
-
"allowNo": false,
|
|
1746
|
-
"type": "boolean"
|
|
1747
|
-
},
|
|
1748
|
-
"branch": {
|
|
1749
|
-
"char": "b",
|
|
1750
|
-
"description": "Branch to create the release from",
|
|
1751
|
-
"name": "branch",
|
|
1752
|
-
"required": true,
|
|
1753
|
-
"hasDynamicHelp": false,
|
|
1754
|
-
"multiple": false,
|
|
1755
|
-
"type": "option"
|
|
1756
|
-
},
|
|
1757
|
-
"description": {
|
|
1758
|
-
"char": "d",
|
|
1759
|
-
"description": "Release description",
|
|
1760
|
-
"name": "description",
|
|
1761
|
-
"required": false,
|
|
1762
|
-
"hasDynamicHelp": false,
|
|
1763
|
-
"multiple": false,
|
|
1764
|
-
"type": "option"
|
|
1765
|
-
},
|
|
1766
|
-
"hotfix": {
|
|
1767
|
-
"description": "Mark as a hotfix release",
|
|
1768
|
-
"name": "hotfix",
|
|
1769
|
-
"required": false,
|
|
1770
|
-
"allowNo": false,
|
|
1771
|
-
"type": "boolean"
|
|
1772
|
-
},
|
|
1773
|
-
"name": {
|
|
1774
|
-
"char": "n",
|
|
1775
|
-
"description": "Name for the release",
|
|
1776
|
-
"name": "name",
|
|
1720
|
+
"name": {
|
|
1721
|
+
"char": "n",
|
|
1722
|
+
"description": "Name for the release",
|
|
1723
|
+
"name": "name",
|
|
1777
1724
|
"required": true,
|
|
1778
1725
|
"hasDynamicHelp": false,
|
|
1779
1726
|
"multiple": false,
|
|
@@ -1912,6 +1859,59 @@
|
|
|
1912
1859
|
"index.js"
|
|
1913
1860
|
]
|
|
1914
1861
|
},
|
|
1862
|
+
"profile:wizard": {
|
|
1863
|
+
"aliases": [],
|
|
1864
|
+
"args": {},
|
|
1865
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1866
|
+
"examples": [
|
|
1867
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1868
|
+
],
|
|
1869
|
+
"flags": {
|
|
1870
|
+
"insecure": {
|
|
1871
|
+
"char": "k",
|
|
1872
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1873
|
+
"name": "insecure",
|
|
1874
|
+
"required": false,
|
|
1875
|
+
"allowNo": false,
|
|
1876
|
+
"type": "boolean"
|
|
1877
|
+
},
|
|
1878
|
+
"name": {
|
|
1879
|
+
"char": "n",
|
|
1880
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1881
|
+
"name": "name",
|
|
1882
|
+
"required": false,
|
|
1883
|
+
"hasDynamicHelp": false,
|
|
1884
|
+
"multiple": false,
|
|
1885
|
+
"type": "option"
|
|
1886
|
+
},
|
|
1887
|
+
"origin": {
|
|
1888
|
+
"char": "o",
|
|
1889
|
+
"description": "Xano instance origin URL",
|
|
1890
|
+
"name": "origin",
|
|
1891
|
+
"required": false,
|
|
1892
|
+
"default": "https://app.xano.com",
|
|
1893
|
+
"hasDynamicHelp": false,
|
|
1894
|
+
"multiple": false,
|
|
1895
|
+
"type": "option"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
"hasDynamicHelp": false,
|
|
1899
|
+
"hiddenAliases": [],
|
|
1900
|
+
"id": "profile:wizard",
|
|
1901
|
+
"pluginAlias": "@xano/cli",
|
|
1902
|
+
"pluginName": "@xano/cli",
|
|
1903
|
+
"pluginType": "core",
|
|
1904
|
+
"strict": true,
|
|
1905
|
+
"enableJsonFlag": false,
|
|
1906
|
+
"isESM": true,
|
|
1907
|
+
"relativePath": [
|
|
1908
|
+
"dist",
|
|
1909
|
+
"commands",
|
|
1910
|
+
"profile",
|
|
1911
|
+
"wizard",
|
|
1912
|
+
"index.js"
|
|
1913
|
+
]
|
|
1914
|
+
},
|
|
1915
1915
|
"release:edit": {
|
|
1916
1916
|
"aliases": [],
|
|
1917
1917
|
"args": {
|
|
@@ -2005,15 +2005,19 @@
|
|
|
2005
2005
|
"index.js"
|
|
2006
2006
|
]
|
|
2007
2007
|
},
|
|
2008
|
-
"
|
|
2008
|
+
"release:get": {
|
|
2009
2009
|
"aliases": [],
|
|
2010
|
-
"args": {
|
|
2011
|
-
|
|
2010
|
+
"args": {
|
|
2011
|
+
"release_name": {
|
|
2012
|
+
"description": "Release name to retrieve",
|
|
2013
|
+
"name": "release_name",
|
|
2014
|
+
"required": true
|
|
2015
|
+
}
|
|
2016
|
+
},
|
|
2017
|
+
"description": "Get details of a specific release",
|
|
2012
2018
|
"examples": [
|
|
2013
|
-
"$ xano
|
|
2014
|
-
"$ xano
|
|
2015
|
-
"$ 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",
|
|
2016
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2019
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2020
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2017
2021
|
],
|
|
2018
2022
|
"flags": {
|
|
2019
2023
|
"profile": {
|
|
@@ -2049,27 +2053,9 @@
|
|
|
2049
2053
|
],
|
|
2050
2054
|
"type": "option"
|
|
2051
2055
|
},
|
|
2052
|
-
"page": {
|
|
2053
|
-
"description": "Page number for pagination",
|
|
2054
|
-
"name": "page",
|
|
2055
|
-
"required": false,
|
|
2056
|
-
"default": 1,
|
|
2057
|
-
"hasDynamicHelp": false,
|
|
2058
|
-
"multiple": false,
|
|
2059
|
-
"type": "option"
|
|
2060
|
-
},
|
|
2061
|
-
"per_page": {
|
|
2062
|
-
"description": "Number of results per page",
|
|
2063
|
-
"name": "per_page",
|
|
2064
|
-
"required": false,
|
|
2065
|
-
"default": 50,
|
|
2066
|
-
"hasDynamicHelp": false,
|
|
2067
|
-
"multiple": false,
|
|
2068
|
-
"type": "option"
|
|
2069
|
-
},
|
|
2070
2056
|
"workspace": {
|
|
2071
2057
|
"char": "w",
|
|
2072
|
-
"description": "Workspace ID (
|
|
2058
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2073
2059
|
"name": "workspace",
|
|
2074
2060
|
"required": false,
|
|
2075
2061
|
"hasDynamicHelp": false,
|
|
@@ -2079,7 +2065,7 @@
|
|
|
2079
2065
|
},
|
|
2080
2066
|
"hasDynamicHelp": false,
|
|
2081
2067
|
"hiddenAliases": [],
|
|
2082
|
-
"id": "
|
|
2068
|
+
"id": "release:get",
|
|
2083
2069
|
"pluginAlias": "@xano/cli",
|
|
2084
2070
|
"pluginName": "@xano/cli",
|
|
2085
2071
|
"pluginType": "core",
|
|
@@ -2089,8 +2075,8 @@
|
|
|
2089
2075
|
"relativePath": [
|
|
2090
2076
|
"dist",
|
|
2091
2077
|
"commands",
|
|
2092
|
-
"
|
|
2093
|
-
"
|
|
2078
|
+
"release",
|
|
2079
|
+
"get",
|
|
2094
2080
|
"index.js"
|
|
2095
2081
|
]
|
|
2096
2082
|
},
|
|
@@ -2178,13 +2164,22 @@
|
|
|
2178
2164
|
"index.js"
|
|
2179
2165
|
]
|
|
2180
2166
|
},
|
|
2181
|
-
"release:
|
|
2167
|
+
"release:push": {
|
|
2182
2168
|
"aliases": [],
|
|
2183
|
-
"args": {
|
|
2184
|
-
|
|
2169
|
+
"args": {
|
|
2170
|
+
"directory": {
|
|
2171
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2172
|
+
"name": "directory",
|
|
2173
|
+
"required": true
|
|
2174
|
+
}
|
|
2175
|
+
},
|
|
2176
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2185
2177
|
"examples": [
|
|
2186
|
-
"$ xano release
|
|
2187
|
-
"$ xano release
|
|
2178
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2179
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2180
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2181
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2182
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2188
2183
|
],
|
|
2189
2184
|
"flags": {
|
|
2190
2185
|
"profile": {
|
|
@@ -2206,10 +2201,34 @@
|
|
|
2206
2201
|
"allowNo": false,
|
|
2207
2202
|
"type": "boolean"
|
|
2208
2203
|
},
|
|
2209
|
-
"
|
|
2210
|
-
"char": "
|
|
2211
|
-
"description": "
|
|
2212
|
-
"name": "
|
|
2204
|
+
"description": {
|
|
2205
|
+
"char": "d",
|
|
2206
|
+
"description": "Release description",
|
|
2207
|
+
"name": "description",
|
|
2208
|
+
"required": false,
|
|
2209
|
+
"default": "",
|
|
2210
|
+
"hasDynamicHelp": false,
|
|
2211
|
+
"multiple": false,
|
|
2212
|
+
"type": "option"
|
|
2213
|
+
},
|
|
2214
|
+
"env": {
|
|
2215
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2216
|
+
"name": "env",
|
|
2217
|
+
"required": false,
|
|
2218
|
+
"allowNo": true,
|
|
2219
|
+
"type": "boolean"
|
|
2220
|
+
},
|
|
2221
|
+
"hotfix": {
|
|
2222
|
+
"description": "Mark as a hotfix release",
|
|
2223
|
+
"name": "hotfix",
|
|
2224
|
+
"required": false,
|
|
2225
|
+
"allowNo": false,
|
|
2226
|
+
"type": "boolean"
|
|
2227
|
+
},
|
|
2228
|
+
"name": {
|
|
2229
|
+
"char": "n",
|
|
2230
|
+
"description": "Name for the release",
|
|
2231
|
+
"name": "name",
|
|
2213
2232
|
"required": true,
|
|
2214
2233
|
"hasDynamicHelp": false,
|
|
2215
2234
|
"multiple": false,
|
|
@@ -2229,9 +2248,16 @@
|
|
|
2229
2248
|
],
|
|
2230
2249
|
"type": "option"
|
|
2231
2250
|
},
|
|
2251
|
+
"records": {
|
|
2252
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2253
|
+
"name": "records",
|
|
2254
|
+
"required": false,
|
|
2255
|
+
"allowNo": true,
|
|
2256
|
+
"type": "boolean"
|
|
2257
|
+
},
|
|
2232
2258
|
"workspace": {
|
|
2233
2259
|
"char": "w",
|
|
2234
|
-
"description": "Workspace ID (
|
|
2260
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2235
2261
|
"name": "workspace",
|
|
2236
2262
|
"required": false,
|
|
2237
2263
|
"hasDynamicHelp": false,
|
|
@@ -2241,7 +2267,7 @@
|
|
|
2241
2267
|
},
|
|
2242
2268
|
"hasDynamicHelp": false,
|
|
2243
2269
|
"hiddenAliases": [],
|
|
2244
|
-
"id": "release:
|
|
2270
|
+
"id": "release:push",
|
|
2245
2271
|
"pluginAlias": "@xano/cli",
|
|
2246
2272
|
"pluginName": "@xano/cli",
|
|
2247
2273
|
"pluginType": "core",
|
|
@@ -2252,23 +2278,24 @@
|
|
|
2252
2278
|
"dist",
|
|
2253
2279
|
"commands",
|
|
2254
2280
|
"release",
|
|
2255
|
-
"
|
|
2281
|
+
"push",
|
|
2256
2282
|
"index.js"
|
|
2257
2283
|
]
|
|
2258
2284
|
},
|
|
2259
|
-
"release:
|
|
2285
|
+
"release:pull": {
|
|
2260
2286
|
"aliases": [],
|
|
2261
2287
|
"args": {
|
|
2262
|
-
"
|
|
2263
|
-
"description": "
|
|
2264
|
-
"name": "
|
|
2288
|
+
"directory": {
|
|
2289
|
+
"description": "Output directory for pulled documents",
|
|
2290
|
+
"name": "directory",
|
|
2265
2291
|
"required": true
|
|
2266
2292
|
}
|
|
2267
2293
|
},
|
|
2268
|
-
"description": "
|
|
2294
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2269
2295
|
"examples": [
|
|
2270
|
-
"$ xano release
|
|
2271
|
-
"$ xano release
|
|
2296
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2297
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2298
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2272
2299
|
],
|
|
2273
2300
|
"flags": {
|
|
2274
2301
|
"profile": {
|
|
@@ -2290,23 +2317,32 @@
|
|
|
2290
2317
|
"allowNo": false,
|
|
2291
2318
|
"type": "boolean"
|
|
2292
2319
|
},
|
|
2293
|
-
"
|
|
2294
|
-
"
|
|
2295
|
-
"
|
|
2296
|
-
"name": "output",
|
|
2320
|
+
"env": {
|
|
2321
|
+
"description": "Include environment variables",
|
|
2322
|
+
"name": "env",
|
|
2297
2323
|
"required": false,
|
|
2298
|
-
"
|
|
2324
|
+
"allowNo": false,
|
|
2325
|
+
"type": "boolean"
|
|
2326
|
+
},
|
|
2327
|
+
"records": {
|
|
2328
|
+
"description": "Include records",
|
|
2329
|
+
"name": "records",
|
|
2330
|
+
"required": false,
|
|
2331
|
+
"allowNo": false,
|
|
2332
|
+
"type": "boolean"
|
|
2333
|
+
},
|
|
2334
|
+
"release": {
|
|
2335
|
+
"char": "r",
|
|
2336
|
+
"description": "Release name to pull from",
|
|
2337
|
+
"name": "release",
|
|
2338
|
+
"required": true,
|
|
2299
2339
|
"hasDynamicHelp": false,
|
|
2300
2340
|
"multiple": false,
|
|
2301
|
-
"options": [
|
|
2302
|
-
"summary",
|
|
2303
|
-
"json"
|
|
2304
|
-
],
|
|
2305
2341
|
"type": "option"
|
|
2306
2342
|
},
|
|
2307
2343
|
"workspace": {
|
|
2308
2344
|
"char": "w",
|
|
2309
|
-
"description": "Workspace ID (
|
|
2345
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2310
2346
|
"name": "workspace",
|
|
2311
2347
|
"required": false,
|
|
2312
2348
|
"hasDynamicHelp": false,
|
|
@@ -2316,7 +2352,7 @@
|
|
|
2316
2352
|
},
|
|
2317
2353
|
"hasDynamicHelp": false,
|
|
2318
2354
|
"hiddenAliases": [],
|
|
2319
|
-
"id": "release:
|
|
2355
|
+
"id": "release:pull",
|
|
2320
2356
|
"pluginAlias": "@xano/cli",
|
|
2321
2357
|
"pluginName": "@xano/cli",
|
|
2322
2358
|
"pluginType": "core",
|
|
@@ -2327,26 +2363,17 @@
|
|
|
2327
2363
|
"dist",
|
|
2328
2364
|
"commands",
|
|
2329
2365
|
"release",
|
|
2330
|
-
"
|
|
2366
|
+
"pull",
|
|
2331
2367
|
"index.js"
|
|
2332
2368
|
]
|
|
2333
2369
|
},
|
|
2334
|
-
"release:
|
|
2370
|
+
"release:list": {
|
|
2335
2371
|
"aliases": [],
|
|
2336
|
-
"args": {
|
|
2337
|
-
|
|
2338
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2339
|
-
"name": "directory",
|
|
2340
|
-
"required": true
|
|
2341
|
-
}
|
|
2342
|
-
},
|
|
2343
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2372
|
+
"args": {},
|
|
2373
|
+
"description": "List all releases in a workspace",
|
|
2344
2374
|
"examples": [
|
|
2345
|
-
"$ xano release
|
|
2346
|
-
"$ xano release
|
|
2347
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2348
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2349
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2375
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2376
|
+
"$ xano release list -w 5 --output json"
|
|
2350
2377
|
],
|
|
2351
2378
|
"flags": {
|
|
2352
2379
|
"profile": {
|
|
@@ -2363,43 +2390,10 @@
|
|
|
2363
2390
|
"char": "v",
|
|
2364
2391
|
"description": "Show detailed request/response information",
|
|
2365
2392
|
"env": "XANO_VERBOSE",
|
|
2366
|
-
"name": "verbose",
|
|
2367
|
-
"required": false,
|
|
2368
|
-
"allowNo": false,
|
|
2369
|
-
"type": "boolean"
|
|
2370
|
-
},
|
|
2371
|
-
"description": {
|
|
2372
|
-
"char": "d",
|
|
2373
|
-
"description": "Release description",
|
|
2374
|
-
"name": "description",
|
|
2375
|
-
"required": false,
|
|
2376
|
-
"default": "",
|
|
2377
|
-
"hasDynamicHelp": false,
|
|
2378
|
-
"multiple": false,
|
|
2379
|
-
"type": "option"
|
|
2380
|
-
},
|
|
2381
|
-
"env": {
|
|
2382
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2383
|
-
"name": "env",
|
|
2384
|
-
"required": false,
|
|
2385
|
-
"allowNo": true,
|
|
2386
|
-
"type": "boolean"
|
|
2387
|
-
},
|
|
2388
|
-
"hotfix": {
|
|
2389
|
-
"description": "Mark as a hotfix release",
|
|
2390
|
-
"name": "hotfix",
|
|
2391
|
-
"required": false,
|
|
2392
|
-
"allowNo": false,
|
|
2393
|
-
"type": "boolean"
|
|
2394
|
-
},
|
|
2395
|
-
"name": {
|
|
2396
|
-
"char": "n",
|
|
2397
|
-
"description": "Name for the release",
|
|
2398
|
-
"name": "name",
|
|
2399
|
-
"required": true,
|
|
2400
|
-
"hasDynamicHelp": false,
|
|
2401
|
-
"multiple": false,
|
|
2402
|
-
"type": "option"
|
|
2393
|
+
"name": "verbose",
|
|
2394
|
+
"required": false,
|
|
2395
|
+
"allowNo": false,
|
|
2396
|
+
"type": "boolean"
|
|
2403
2397
|
},
|
|
2404
2398
|
"output": {
|
|
2405
2399
|
"char": "o",
|
|
@@ -2415,16 +2409,9 @@
|
|
|
2415
2409
|
],
|
|
2416
2410
|
"type": "option"
|
|
2417
2411
|
},
|
|
2418
|
-
"records": {
|
|
2419
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2420
|
-
"name": "records",
|
|
2421
|
-
"required": false,
|
|
2422
|
-
"allowNo": true,
|
|
2423
|
-
"type": "boolean"
|
|
2424
|
-
},
|
|
2425
2412
|
"workspace": {
|
|
2426
2413
|
"char": "w",
|
|
2427
|
-
"description": "Workspace ID (
|
|
2414
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2428
2415
|
"name": "workspace",
|
|
2429
2416
|
"required": false,
|
|
2430
2417
|
"hasDynamicHelp": false,
|
|
@@ -2434,7 +2421,7 @@
|
|
|
2434
2421
|
},
|
|
2435
2422
|
"hasDynamicHelp": false,
|
|
2436
2423
|
"hiddenAliases": [],
|
|
2437
|
-
"id": "release:
|
|
2424
|
+
"id": "release:list",
|
|
2438
2425
|
"pluginAlias": "@xano/cli",
|
|
2439
2426
|
"pluginName": "@xano/cli",
|
|
2440
2427
|
"pluginType": "core",
|
|
@@ -2445,17 +2432,19 @@
|
|
|
2445
2432
|
"dist",
|
|
2446
2433
|
"commands",
|
|
2447
2434
|
"release",
|
|
2448
|
-
"
|
|
2435
|
+
"list",
|
|
2449
2436
|
"index.js"
|
|
2450
2437
|
]
|
|
2451
2438
|
},
|
|
2452
|
-
"
|
|
2439
|
+
"static_host:list": {
|
|
2453
2440
|
"aliases": [],
|
|
2454
2441
|
"args": {},
|
|
2455
|
-
"description": "List all
|
|
2442
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2456
2443
|
"examples": [
|
|
2457
|
-
"$ xano
|
|
2458
|
-
"$ xano
|
|
2444
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2445
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2446
|
+
"$ 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",
|
|
2447
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2459
2448
|
],
|
|
2460
2449
|
"flags": {
|
|
2461
2450
|
"profile": {
|
|
@@ -2491,9 +2480,27 @@
|
|
|
2491
2480
|
],
|
|
2492
2481
|
"type": "option"
|
|
2493
2482
|
},
|
|
2483
|
+
"page": {
|
|
2484
|
+
"description": "Page number for pagination",
|
|
2485
|
+
"name": "page",
|
|
2486
|
+
"required": false,
|
|
2487
|
+
"default": 1,
|
|
2488
|
+
"hasDynamicHelp": false,
|
|
2489
|
+
"multiple": false,
|
|
2490
|
+
"type": "option"
|
|
2491
|
+
},
|
|
2492
|
+
"per_page": {
|
|
2493
|
+
"description": "Number of results per page",
|
|
2494
|
+
"name": "per_page",
|
|
2495
|
+
"required": false,
|
|
2496
|
+
"default": 50,
|
|
2497
|
+
"hasDynamicHelp": false,
|
|
2498
|
+
"multiple": false,
|
|
2499
|
+
"type": "option"
|
|
2500
|
+
},
|
|
2494
2501
|
"workspace": {
|
|
2495
2502
|
"char": "w",
|
|
2496
|
-
"description": "Workspace ID (
|
|
2503
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2497
2504
|
"name": "workspace",
|
|
2498
2505
|
"required": false,
|
|
2499
2506
|
"hasDynamicHelp": false,
|
|
@@ -2503,7 +2510,7 @@
|
|
|
2503
2510
|
},
|
|
2504
2511
|
"hasDynamicHelp": false,
|
|
2505
2512
|
"hiddenAliases": [],
|
|
2506
|
-
"id": "
|
|
2513
|
+
"id": "static_host:list",
|
|
2507
2514
|
"pluginAlias": "@xano/cli",
|
|
2508
2515
|
"pluginName": "@xano/cli",
|
|
2509
2516
|
"pluginType": "core",
|
|
@@ -2513,25 +2520,18 @@
|
|
|
2513
2520
|
"relativePath": [
|
|
2514
2521
|
"dist",
|
|
2515
2522
|
"commands",
|
|
2516
|
-
"
|
|
2523
|
+
"static_host",
|
|
2517
2524
|
"list",
|
|
2518
2525
|
"index.js"
|
|
2519
2526
|
]
|
|
2520
2527
|
},
|
|
2521
|
-
"release:
|
|
2528
|
+
"release:import": {
|
|
2522
2529
|
"aliases": [],
|
|
2523
|
-
"args": {
|
|
2524
|
-
|
|
2525
|
-
"description": "Output directory for pulled documents",
|
|
2526
|
-
"name": "directory",
|
|
2527
|
-
"required": true
|
|
2528
|
-
}
|
|
2529
|
-
},
|
|
2530
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2530
|
+
"args": {},
|
|
2531
|
+
"description": "Import a release file into a workspace",
|
|
2531
2532
|
"examples": [
|
|
2532
|
-
"$ xano release
|
|
2533
|
-
"$ xano release
|
|
2534
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2533
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2534
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2535
2535
|
],
|
|
2536
2536
|
"flags": {
|
|
2537
2537
|
"profile": {
|
|
@@ -2553,32 +2553,32 @@
|
|
|
2553
2553
|
"allowNo": false,
|
|
2554
2554
|
"type": "boolean"
|
|
2555
2555
|
},
|
|
2556
|
-
"
|
|
2557
|
-
"
|
|
2558
|
-
"
|
|
2559
|
-
"
|
|
2560
|
-
"
|
|
2561
|
-
"
|
|
2556
|
+
"file": {
|
|
2557
|
+
"char": "f",
|
|
2558
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2559
|
+
"name": "file",
|
|
2560
|
+
"required": true,
|
|
2561
|
+
"hasDynamicHelp": false,
|
|
2562
|
+
"multiple": false,
|
|
2563
|
+
"type": "option"
|
|
2562
2564
|
},
|
|
2563
|
-
"
|
|
2564
|
-
"
|
|
2565
|
-
"
|
|
2565
|
+
"output": {
|
|
2566
|
+
"char": "o",
|
|
2567
|
+
"description": "Output format",
|
|
2568
|
+
"name": "output",
|
|
2566
2569
|
"required": false,
|
|
2567
|
-
"
|
|
2568
|
-
"type": "boolean"
|
|
2569
|
-
},
|
|
2570
|
-
"release": {
|
|
2571
|
-
"char": "r",
|
|
2572
|
-
"description": "Release name to pull from",
|
|
2573
|
-
"name": "release",
|
|
2574
|
-
"required": true,
|
|
2570
|
+
"default": "summary",
|
|
2575
2571
|
"hasDynamicHelp": false,
|
|
2576
2572
|
"multiple": false,
|
|
2573
|
+
"options": [
|
|
2574
|
+
"summary",
|
|
2575
|
+
"json"
|
|
2576
|
+
],
|
|
2577
2577
|
"type": "option"
|
|
2578
2578
|
},
|
|
2579
2579
|
"workspace": {
|
|
2580
2580
|
"char": "w",
|
|
2581
|
-
"description": "Workspace ID (
|
|
2581
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2582
2582
|
"name": "workspace",
|
|
2583
2583
|
"required": false,
|
|
2584
2584
|
"hasDynamicHelp": false,
|
|
@@ -2588,7 +2588,7 @@
|
|
|
2588
2588
|
},
|
|
2589
2589
|
"hasDynamicHelp": false,
|
|
2590
2590
|
"hiddenAliases": [],
|
|
2591
|
-
"id": "release:
|
|
2591
|
+
"id": "release:import",
|
|
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
|
+
"import",
|
|
2603
2603
|
"index.js"
|
|
2604
2604
|
]
|
|
2605
2605
|
},
|
|
@@ -2743,19 +2743,20 @@
|
|
|
2743
2743
|
"index.js"
|
|
2744
2744
|
]
|
|
2745
2745
|
},
|
|
2746
|
-
"tenant:
|
|
2746
|
+
"tenant:delete": {
|
|
2747
2747
|
"aliases": [],
|
|
2748
2748
|
"args": {
|
|
2749
2749
|
"tenant_name": {
|
|
2750
|
-
"description": "Tenant name to
|
|
2750
|
+
"description": "Tenant name to delete",
|
|
2751
2751
|
"name": "tenant_name",
|
|
2752
2752
|
"required": true
|
|
2753
2753
|
}
|
|
2754
2754
|
},
|
|
2755
|
-
"description": "
|
|
2755
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2756
2756
|
"examples": [
|
|
2757
|
-
"$ xano tenant
|
|
2758
|
-
"$ 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"
|
|
2759
2760
|
],
|
|
2760
2761
|
"flags": {
|
|
2761
2762
|
"profile": {
|
|
@@ -2777,36 +2778,12 @@
|
|
|
2777
2778
|
"allowNo": false,
|
|
2778
2779
|
"type": "boolean"
|
|
2779
2780
|
},
|
|
2780
|
-
"
|
|
2781
|
-
"char": "
|
|
2782
|
-
"description": "
|
|
2783
|
-
"name": "
|
|
2784
|
-
"required": false,
|
|
2785
|
-
"hasDynamicHelp": false,
|
|
2786
|
-
"multiple": false,
|
|
2787
|
-
"type": "option"
|
|
2788
|
-
},
|
|
2789
|
-
"display": {
|
|
2790
|
-
"description": "New display name",
|
|
2791
|
-
"name": "display",
|
|
2792
|
-
"required": false,
|
|
2793
|
-
"hasDynamicHelp": false,
|
|
2794
|
-
"multiple": false,
|
|
2795
|
-
"type": "option"
|
|
2796
|
-
},
|
|
2797
|
-
"domain": {
|
|
2798
|
-
"description": "Custom domain",
|
|
2799
|
-
"name": "domain",
|
|
2800
|
-
"required": false,
|
|
2801
|
-
"hasDynamicHelp": false,
|
|
2802
|
-
"multiple": false,
|
|
2803
|
-
"type": "option"
|
|
2804
|
-
},
|
|
2805
|
-
"ingress": {
|
|
2806
|
-
"description": "Enable/disable ingress",
|
|
2807
|
-
"name": "ingress",
|
|
2781
|
+
"force": {
|
|
2782
|
+
"char": "f",
|
|
2783
|
+
"description": "Skip confirmation prompt",
|
|
2784
|
+
"name": "force",
|
|
2808
2785
|
"required": false,
|
|
2809
|
-
"allowNo":
|
|
2786
|
+
"allowNo": false,
|
|
2810
2787
|
"type": "boolean"
|
|
2811
2788
|
},
|
|
2812
2789
|
"output": {
|
|
@@ -2823,28 +2800,6 @@
|
|
|
2823
2800
|
],
|
|
2824
2801
|
"type": "option"
|
|
2825
2802
|
},
|
|
2826
|
-
"proxy": {
|
|
2827
|
-
"description": "Proxy URL",
|
|
2828
|
-
"name": "proxy",
|
|
2829
|
-
"required": false,
|
|
2830
|
-
"hasDynamicHelp": false,
|
|
2831
|
-
"multiple": false,
|
|
2832
|
-
"type": "option"
|
|
2833
|
-
},
|
|
2834
|
-
"rbac": {
|
|
2835
|
-
"description": "Enable/disable RBAC",
|
|
2836
|
-
"name": "rbac",
|
|
2837
|
-
"required": false,
|
|
2838
|
-
"allowNo": true,
|
|
2839
|
-
"type": "boolean"
|
|
2840
|
-
},
|
|
2841
|
-
"tasks": {
|
|
2842
|
-
"description": "Enable/disable background tasks",
|
|
2843
|
-
"name": "tasks",
|
|
2844
|
-
"required": false,
|
|
2845
|
-
"allowNo": true,
|
|
2846
|
-
"type": "boolean"
|
|
2847
|
-
},
|
|
2848
2803
|
"workspace": {
|
|
2849
2804
|
"char": "w",
|
|
2850
2805
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2857,7 +2812,7 @@
|
|
|
2857
2812
|
},
|
|
2858
2813
|
"hasDynamicHelp": false,
|
|
2859
2814
|
"hiddenAliases": [],
|
|
2860
|
-
"id": "tenant:
|
|
2815
|
+
"id": "tenant:delete",
|
|
2861
2816
|
"pluginAlias": "@xano/cli",
|
|
2862
2817
|
"pluginName": "@xano/cli",
|
|
2863
2818
|
"pluginType": "core",
|
|
@@ -2868,7 +2823,7 @@
|
|
|
2868
2823
|
"dist",
|
|
2869
2824
|
"commands",
|
|
2870
2825
|
"tenant",
|
|
2871
|
-
"
|
|
2826
|
+
"delete",
|
|
2872
2827
|
"index.js"
|
|
2873
2828
|
]
|
|
2874
2829
|
},
|
|
@@ -2956,20 +2911,19 @@
|
|
|
2956
2911
|
"index.js"
|
|
2957
2912
|
]
|
|
2958
2913
|
},
|
|
2959
|
-
"tenant:
|
|
2914
|
+
"tenant:edit": {
|
|
2960
2915
|
"aliases": [],
|
|
2961
2916
|
"args": {
|
|
2962
2917
|
"tenant_name": {
|
|
2963
|
-
"description": "Tenant name to
|
|
2918
|
+
"description": "Tenant name to edit",
|
|
2964
2919
|
"name": "tenant_name",
|
|
2965
2920
|
"required": true
|
|
2966
2921
|
}
|
|
2967
2922
|
},
|
|
2968
|
-
"description": "
|
|
2923
|
+
"description": "Edit an existing tenant",
|
|
2969
2924
|
"examples": [
|
|
2970
|
-
"$ xano tenant
|
|
2971
|
-
"$ xano tenant
|
|
2972
|
-
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
2925
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
2926
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
2973
2927
|
],
|
|
2974
2928
|
"flags": {
|
|
2975
2929
|
"profile": {
|
|
@@ -2991,15 +2945,38 @@
|
|
|
2991
2945
|
"allowNo": false,
|
|
2992
2946
|
"type": "boolean"
|
|
2993
2947
|
},
|
|
2994
|
-
"
|
|
2995
|
-
"char": "
|
|
2996
|
-
"description": "
|
|
2997
|
-
"name": "
|
|
2948
|
+
"description": {
|
|
2949
|
+
"char": "d",
|
|
2950
|
+
"description": "New description",
|
|
2951
|
+
"name": "description",
|
|
2952
|
+
"required": false,
|
|
2953
|
+
"hasDynamicHelp": false,
|
|
2954
|
+
"multiple": false,
|
|
2955
|
+
"type": "option"
|
|
2956
|
+
},
|
|
2957
|
+
"display": {
|
|
2958
|
+
"description": "New display name",
|
|
2959
|
+
"name": "display",
|
|
2960
|
+
"required": false,
|
|
2961
|
+
"hasDynamicHelp": false,
|
|
2962
|
+
"multiple": false,
|
|
2963
|
+
"type": "option"
|
|
2964
|
+
},
|
|
2965
|
+
"domain": {
|
|
2966
|
+
"description": "Custom domain",
|
|
2967
|
+
"name": "domain",
|
|
2998
2968
|
"required": false,
|
|
2999
2969
|
"hasDynamicHelp": false,
|
|
3000
2970
|
"multiple": false,
|
|
3001
2971
|
"type": "option"
|
|
3002
2972
|
},
|
|
2973
|
+
"ingress": {
|
|
2974
|
+
"description": "Enable/disable ingress",
|
|
2975
|
+
"name": "ingress",
|
|
2976
|
+
"required": false,
|
|
2977
|
+
"allowNo": true,
|
|
2978
|
+
"type": "boolean"
|
|
2979
|
+
},
|
|
3003
2980
|
"output": {
|
|
3004
2981
|
"char": "o",
|
|
3005
2982
|
"description": "Output format",
|
|
@@ -3014,14 +2991,28 @@
|
|
|
3014
2991
|
],
|
|
3015
2992
|
"type": "option"
|
|
3016
2993
|
},
|
|
3017
|
-
"
|
|
3018
|
-
"description": "
|
|
3019
|
-
"name": "
|
|
3020
|
-
"required":
|
|
2994
|
+
"proxy": {
|
|
2995
|
+
"description": "Proxy URL",
|
|
2996
|
+
"name": "proxy",
|
|
2997
|
+
"required": false,
|
|
3021
2998
|
"hasDynamicHelp": false,
|
|
3022
2999
|
"multiple": false,
|
|
3023
3000
|
"type": "option"
|
|
3024
3001
|
},
|
|
3002
|
+
"rbac": {
|
|
3003
|
+
"description": "Enable/disable RBAC",
|
|
3004
|
+
"name": "rbac",
|
|
3005
|
+
"required": false,
|
|
3006
|
+
"allowNo": true,
|
|
3007
|
+
"type": "boolean"
|
|
3008
|
+
},
|
|
3009
|
+
"tasks": {
|
|
3010
|
+
"description": "Enable/disable background tasks",
|
|
3011
|
+
"name": "tasks",
|
|
3012
|
+
"required": false,
|
|
3013
|
+
"allowNo": true,
|
|
3014
|
+
"type": "boolean"
|
|
3015
|
+
},
|
|
3025
3016
|
"workspace": {
|
|
3026
3017
|
"char": "w",
|
|
3027
3018
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3034,7 +3025,7 @@
|
|
|
3034
3025
|
},
|
|
3035
3026
|
"hasDynamicHelp": false,
|
|
3036
3027
|
"hiddenAliases": [],
|
|
3037
|
-
"id": "tenant:
|
|
3028
|
+
"id": "tenant:edit",
|
|
3038
3029
|
"pluginAlias": "@xano/cli",
|
|
3039
3030
|
"pluginName": "@xano/cli",
|
|
3040
3031
|
"pluginType": "core",
|
|
@@ -3045,24 +3036,23 @@
|
|
|
3045
3036
|
"dist",
|
|
3046
3037
|
"commands",
|
|
3047
3038
|
"tenant",
|
|
3048
|
-
"
|
|
3039
|
+
"edit",
|
|
3049
3040
|
"index.js"
|
|
3050
3041
|
]
|
|
3051
3042
|
},
|
|
3052
|
-
"tenant:
|
|
3043
|
+
"tenant:get": {
|
|
3053
3044
|
"aliases": [],
|
|
3054
3045
|
"args": {
|
|
3055
3046
|
"tenant_name": {
|
|
3056
|
-
"description": "Tenant name to
|
|
3047
|
+
"description": "Tenant name to retrieve",
|
|
3057
3048
|
"name": "tenant_name",
|
|
3058
3049
|
"required": true
|
|
3059
3050
|
}
|
|
3060
3051
|
},
|
|
3061
|
-
"description": "
|
|
3062
|
-
"examples": [
|
|
3063
|
-
"$ xano tenant
|
|
3064
|
-
"$ xano tenant
|
|
3065
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
3052
|
+
"description": "Get details of a specific tenant",
|
|
3053
|
+
"examples": [
|
|
3054
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3055
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3066
3056
|
],
|
|
3067
3057
|
"flags": {
|
|
3068
3058
|
"profile": {
|
|
@@ -3084,14 +3074,6 @@
|
|
|
3084
3074
|
"allowNo": false,
|
|
3085
3075
|
"type": "boolean"
|
|
3086
3076
|
},
|
|
3087
|
-
"force": {
|
|
3088
|
-
"char": "f",
|
|
3089
|
-
"description": "Skip confirmation prompt",
|
|
3090
|
-
"name": "force",
|
|
3091
|
-
"required": false,
|
|
3092
|
-
"allowNo": false,
|
|
3093
|
-
"type": "boolean"
|
|
3094
|
-
},
|
|
3095
3077
|
"output": {
|
|
3096
3078
|
"char": "o",
|
|
3097
3079
|
"description": "Output format",
|
|
@@ -3118,7 +3100,7 @@
|
|
|
3118
3100
|
},
|
|
3119
3101
|
"hasDynamicHelp": false,
|
|
3120
3102
|
"hiddenAliases": [],
|
|
3121
|
-
"id": "tenant:
|
|
3103
|
+
"id": "tenant:get",
|
|
3122
3104
|
"pluginAlias": "@xano/cli",
|
|
3123
3105
|
"pluginName": "@xano/cli",
|
|
3124
3106
|
"pluginType": "core",
|
|
@@ -3129,23 +3111,23 @@
|
|
|
3129
3111
|
"dist",
|
|
3130
3112
|
"commands",
|
|
3131
3113
|
"tenant",
|
|
3132
|
-
"
|
|
3114
|
+
"get",
|
|
3133
3115
|
"index.js"
|
|
3134
3116
|
]
|
|
3135
3117
|
},
|
|
3136
|
-
"tenant:
|
|
3118
|
+
"tenant:impersonate": {
|
|
3137
3119
|
"aliases": [],
|
|
3138
3120
|
"args": {
|
|
3139
3121
|
"tenant_name": {
|
|
3140
|
-
"description": "Tenant name to
|
|
3122
|
+
"description": "Tenant name to impersonate",
|
|
3141
3123
|
"name": "tenant_name",
|
|
3142
3124
|
"required": true
|
|
3143
3125
|
}
|
|
3144
3126
|
},
|
|
3145
|
-
"description": "
|
|
3127
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3146
3128
|
"examples": [
|
|
3147
|
-
"$ xano tenant
|
|
3148
|
-
"$ xano tenant
|
|
3129
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3130
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3149
3131
|
],
|
|
3150
3132
|
"flags": {
|
|
3151
3133
|
"profile": {
|
|
@@ -3181,6 +3163,14 @@
|
|
|
3181
3163
|
],
|
|
3182
3164
|
"type": "option"
|
|
3183
3165
|
},
|
|
3166
|
+
"url-only": {
|
|
3167
|
+
"char": "u",
|
|
3168
|
+
"description": "Print the URL without opening the browser",
|
|
3169
|
+
"name": "url-only",
|
|
3170
|
+
"required": false,
|
|
3171
|
+
"allowNo": false,
|
|
3172
|
+
"type": "boolean"
|
|
3173
|
+
},
|
|
3184
3174
|
"workspace": {
|
|
3185
3175
|
"char": "w",
|
|
3186
3176
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3193,7 +3183,7 @@
|
|
|
3193
3183
|
},
|
|
3194
3184
|
"hasDynamicHelp": false,
|
|
3195
3185
|
"hiddenAliases": [],
|
|
3196
|
-
"id": "tenant:
|
|
3186
|
+
"id": "tenant:impersonate",
|
|
3197
3187
|
"pluginAlias": "@xano/cli",
|
|
3198
3188
|
"pluginName": "@xano/cli",
|
|
3199
3189
|
"pluginType": "core",
|
|
@@ -3204,23 +3194,24 @@
|
|
|
3204
3194
|
"dist",
|
|
3205
3195
|
"commands",
|
|
3206
3196
|
"tenant",
|
|
3207
|
-
"
|
|
3197
|
+
"impersonate",
|
|
3208
3198
|
"index.js"
|
|
3209
3199
|
]
|
|
3210
3200
|
},
|
|
3211
|
-
"tenant:
|
|
3201
|
+
"tenant:deploy_platform": {
|
|
3212
3202
|
"aliases": [],
|
|
3213
3203
|
"args": {
|
|
3214
3204
|
"tenant_name": {
|
|
3215
|
-
"description": "Tenant name to
|
|
3205
|
+
"description": "Tenant name to deploy to",
|
|
3216
3206
|
"name": "tenant_name",
|
|
3217
3207
|
"required": true
|
|
3218
3208
|
}
|
|
3219
3209
|
},
|
|
3220
|
-
"description": "
|
|
3210
|
+
"description": "Deploy a platform version to a tenant",
|
|
3221
3211
|
"examples": [
|
|
3222
|
-
"$ xano tenant
|
|
3223
|
-
"$ xano tenant
|
|
3212
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
3213
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
|
|
3214
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
|
|
3224
3215
|
],
|
|
3225
3216
|
"flags": {
|
|
3226
3217
|
"profile": {
|
|
@@ -3242,6 +3233,15 @@
|
|
|
3242
3233
|
"allowNo": false,
|
|
3243
3234
|
"type": "boolean"
|
|
3244
3235
|
},
|
|
3236
|
+
"license": {
|
|
3237
|
+
"char": "l",
|
|
3238
|
+
"description": "Path to a license override file to apply after deploy",
|
|
3239
|
+
"name": "license",
|
|
3240
|
+
"required": false,
|
|
3241
|
+
"hasDynamicHelp": false,
|
|
3242
|
+
"multiple": false,
|
|
3243
|
+
"type": "option"
|
|
3244
|
+
},
|
|
3245
3245
|
"output": {
|
|
3246
3246
|
"char": "o",
|
|
3247
3247
|
"description": "Output format",
|
|
@@ -3256,13 +3256,13 @@
|
|
|
3256
3256
|
],
|
|
3257
3257
|
"type": "option"
|
|
3258
3258
|
},
|
|
3259
|
-
"
|
|
3260
|
-
"
|
|
3261
|
-
"
|
|
3262
|
-
"
|
|
3263
|
-
"
|
|
3264
|
-
"
|
|
3265
|
-
"type": "
|
|
3259
|
+
"platform_id": {
|
|
3260
|
+
"description": "Platform ID to deploy",
|
|
3261
|
+
"name": "platform_id",
|
|
3262
|
+
"required": true,
|
|
3263
|
+
"hasDynamicHelp": false,
|
|
3264
|
+
"multiple": false,
|
|
3265
|
+
"type": "option"
|
|
3266
3266
|
},
|
|
3267
3267
|
"workspace": {
|
|
3268
3268
|
"char": "w",
|
|
@@ -3276,7 +3276,7 @@
|
|
|
3276
3276
|
},
|
|
3277
3277
|
"hasDynamicHelp": false,
|
|
3278
3278
|
"hiddenAliases": [],
|
|
3279
|
-
"id": "tenant:
|
|
3279
|
+
"id": "tenant:deploy_platform",
|
|
3280
3280
|
"pluginAlias": "@xano/cli",
|
|
3281
3281
|
"pluginName": "@xano/cli",
|
|
3282
3282
|
"pluginType": "core",
|
|
@@ -3287,7 +3287,7 @@
|
|
|
3287
3287
|
"dist",
|
|
3288
3288
|
"commands",
|
|
3289
3289
|
"tenant",
|
|
3290
|
-
"
|
|
3290
|
+
"deploy_platform",
|
|
3291
3291
|
"index.js"
|
|
3292
3292
|
]
|
|
3293
3293
|
},
|
|
@@ -3453,14 +3453,23 @@
|
|
|
3453
3453
|
"index.js"
|
|
3454
3454
|
]
|
|
3455
3455
|
},
|
|
3456
|
-
"
|
|
3456
|
+
"tenant:push": {
|
|
3457
3457
|
"aliases": [],
|
|
3458
|
-
"args": {
|
|
3459
|
-
|
|
3458
|
+
"args": {
|
|
3459
|
+
"directory": {
|
|
3460
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3461
|
+
"name": "directory",
|
|
3462
|
+
"required": true
|
|
3463
|
+
}
|
|
3464
|
+
},
|
|
3465
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3460
3466
|
"examples": [
|
|
3461
|
-
"$ xano
|
|
3462
|
-
"$ xano
|
|
3463
|
-
"$ xano
|
|
3467
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3468
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3469
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3470
|
+
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3471
|
+
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3472
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3464
3473
|
],
|
|
3465
3474
|
"flags": {
|
|
3466
3475
|
"profile": {
|
|
@@ -3482,45 +3491,46 @@
|
|
|
3482
3491
|
"allowNo": false,
|
|
3483
3492
|
"type": "boolean"
|
|
3484
3493
|
},
|
|
3485
|
-
"
|
|
3486
|
-
"
|
|
3487
|
-
"
|
|
3488
|
-
"name": "branch",
|
|
3494
|
+
"env": {
|
|
3495
|
+
"description": "Include environment variables in import",
|
|
3496
|
+
"name": "env",
|
|
3489
3497
|
"required": false,
|
|
3490
|
-
"
|
|
3491
|
-
"
|
|
3492
|
-
"type": "option"
|
|
3498
|
+
"allowNo": false,
|
|
3499
|
+
"type": "boolean"
|
|
3493
3500
|
},
|
|
3494
|
-
"
|
|
3495
|
-
"description": "
|
|
3496
|
-
"name": "
|
|
3501
|
+
"records": {
|
|
3502
|
+
"description": "Include records in import",
|
|
3503
|
+
"name": "records",
|
|
3497
3504
|
"required": false,
|
|
3505
|
+
"allowNo": false,
|
|
3506
|
+
"type": "boolean"
|
|
3507
|
+
},
|
|
3508
|
+
"tenant": {
|
|
3509
|
+
"char": "t",
|
|
3510
|
+
"description": "Tenant name to push to",
|
|
3511
|
+
"name": "tenant",
|
|
3512
|
+
"required": true,
|
|
3498
3513
|
"hasDynamicHelp": false,
|
|
3499
3514
|
"multiple": false,
|
|
3500
|
-
"options": [
|
|
3501
|
-
"function",
|
|
3502
|
-
"query",
|
|
3503
|
-
"middleware"
|
|
3504
|
-
],
|
|
3505
3515
|
"type": "option"
|
|
3506
3516
|
},
|
|
3507
|
-
"
|
|
3508
|
-
"
|
|
3509
|
-
"
|
|
3510
|
-
"name": "output",
|
|
3517
|
+
"transaction": {
|
|
3518
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3519
|
+
"name": "transaction",
|
|
3511
3520
|
"required": false,
|
|
3512
|
-
"
|
|
3513
|
-
"
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
"
|
|
3521
|
+
"allowNo": true,
|
|
3522
|
+
"type": "boolean"
|
|
3523
|
+
},
|
|
3524
|
+
"truncate": {
|
|
3525
|
+
"description": "Truncate all table records before importing",
|
|
3526
|
+
"name": "truncate",
|
|
3527
|
+
"required": false,
|
|
3528
|
+
"allowNo": false,
|
|
3529
|
+
"type": "boolean"
|
|
3520
3530
|
},
|
|
3521
3531
|
"workspace": {
|
|
3522
3532
|
"char": "w",
|
|
3523
|
-
"description": "Workspace ID (
|
|
3533
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3524
3534
|
"name": "workspace",
|
|
3525
3535
|
"required": false,
|
|
3526
3536
|
"hasDynamicHelp": false,
|
|
@@ -3530,7 +3540,7 @@
|
|
|
3530
3540
|
},
|
|
3531
3541
|
"hasDynamicHelp": false,
|
|
3532
3542
|
"hiddenAliases": [],
|
|
3533
|
-
"id": "
|
|
3543
|
+
"id": "tenant:push",
|
|
3534
3544
|
"pluginAlias": "@xano/cli",
|
|
3535
3545
|
"pluginName": "@xano/cli",
|
|
3536
3546
|
"pluginType": "core",
|
|
@@ -3540,24 +3550,19 @@
|
|
|
3540
3550
|
"relativePath": [
|
|
3541
3551
|
"dist",
|
|
3542
3552
|
"commands",
|
|
3543
|
-
"
|
|
3544
|
-
"
|
|
3553
|
+
"tenant",
|
|
3554
|
+
"push",
|
|
3545
3555
|
"index.js"
|
|
3546
3556
|
]
|
|
3547
3557
|
},
|
|
3548
|
-
"unit_test:
|
|
3558
|
+
"unit_test:list": {
|
|
3549
3559
|
"aliases": [],
|
|
3550
|
-
"args": {
|
|
3551
|
-
|
|
3552
|
-
"description": "ID of the unit test to run",
|
|
3553
|
-
"name": "unit_test_id",
|
|
3554
|
-
"required": true
|
|
3555
|
-
}
|
|
3556
|
-
},
|
|
3557
|
-
"description": "Run a unit test",
|
|
3560
|
+
"args": {},
|
|
3561
|
+
"description": "List all unit tests in a workspace",
|
|
3558
3562
|
"examples": [
|
|
3559
|
-
"$ xano unit-test
|
|
3560
|
-
"$ xano unit-test
|
|
3563
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3564
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3565
|
+
"$ xano unit-test list --obj-type function"
|
|
3561
3566
|
],
|
|
3562
3567
|
"flags": {
|
|
3563
3568
|
"profile": {
|
|
@@ -3579,6 +3584,28 @@
|
|
|
3579
3584
|
"allowNo": false,
|
|
3580
3585
|
"type": "boolean"
|
|
3581
3586
|
},
|
|
3587
|
+
"branch": {
|
|
3588
|
+
"char": "b",
|
|
3589
|
+
"description": "Filter by branch name",
|
|
3590
|
+
"name": "branch",
|
|
3591
|
+
"required": false,
|
|
3592
|
+
"hasDynamicHelp": false,
|
|
3593
|
+
"multiple": false,
|
|
3594
|
+
"type": "option"
|
|
3595
|
+
},
|
|
3596
|
+
"obj-type": {
|
|
3597
|
+
"description": "Filter by object type",
|
|
3598
|
+
"name": "obj-type",
|
|
3599
|
+
"required": false,
|
|
3600
|
+
"hasDynamicHelp": false,
|
|
3601
|
+
"multiple": false,
|
|
3602
|
+
"options": [
|
|
3603
|
+
"function",
|
|
3604
|
+
"query",
|
|
3605
|
+
"middleware"
|
|
3606
|
+
],
|
|
3607
|
+
"type": "option"
|
|
3608
|
+
},
|
|
3582
3609
|
"output": {
|
|
3583
3610
|
"char": "o",
|
|
3584
3611
|
"description": "Output format",
|
|
@@ -3605,7 +3632,7 @@
|
|
|
3605
3632
|
},
|
|
3606
3633
|
"hasDynamicHelp": false,
|
|
3607
3634
|
"hiddenAliases": [],
|
|
3608
|
-
"id": "unit_test:
|
|
3635
|
+
"id": "unit_test:list",
|
|
3609
3636
|
"pluginAlias": "@xano/cli",
|
|
3610
3637
|
"pluginName": "@xano/cli",
|
|
3611
3638
|
"pluginType": "core",
|
|
@@ -3616,27 +3643,23 @@
|
|
|
3616
3643
|
"dist",
|
|
3617
3644
|
"commands",
|
|
3618
3645
|
"unit_test",
|
|
3619
|
-
"
|
|
3646
|
+
"list",
|
|
3620
3647
|
"index.js"
|
|
3621
3648
|
]
|
|
3622
3649
|
},
|
|
3623
|
-
"
|
|
3650
|
+
"unit_test:run": {
|
|
3624
3651
|
"aliases": [],
|
|
3625
3652
|
"args": {
|
|
3626
|
-
"
|
|
3627
|
-
"description": "
|
|
3628
|
-
"name": "
|
|
3653
|
+
"unit_test_id": {
|
|
3654
|
+
"description": "ID of the unit test to run",
|
|
3655
|
+
"name": "unit_test_id",
|
|
3629
3656
|
"required": true
|
|
3630
3657
|
}
|
|
3631
3658
|
},
|
|
3632
|
-
"description": "
|
|
3659
|
+
"description": "Run a unit test",
|
|
3633
3660
|
"examples": [
|
|
3634
|
-
"$ xano
|
|
3635
|
-
"$ xano
|
|
3636
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3637
|
-
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3638
|
-
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3639
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3661
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3662
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3640
3663
|
],
|
|
3641
3664
|
"flags": {
|
|
3642
3665
|
"profile": {
|
|
@@ -3658,46 +3681,23 @@
|
|
|
3658
3681
|
"allowNo": false,
|
|
3659
3682
|
"type": "boolean"
|
|
3660
3683
|
},
|
|
3661
|
-
"
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3664
|
-
"
|
|
3665
|
-
"allowNo": false,
|
|
3666
|
-
"type": "boolean"
|
|
3667
|
-
},
|
|
3668
|
-
"records": {
|
|
3669
|
-
"description": "Include records in import",
|
|
3670
|
-
"name": "records",
|
|
3671
|
-
"required": false,
|
|
3672
|
-
"allowNo": false,
|
|
3673
|
-
"type": "boolean"
|
|
3674
|
-
},
|
|
3675
|
-
"tenant": {
|
|
3676
|
-
"char": "t",
|
|
3677
|
-
"description": "Tenant name to push to",
|
|
3678
|
-
"name": "tenant",
|
|
3679
|
-
"required": true,
|
|
3680
|
-
"hasDynamicHelp": false,
|
|
3681
|
-
"multiple": false,
|
|
3682
|
-
"type": "option"
|
|
3683
|
-
},
|
|
3684
|
-
"transaction": {
|
|
3685
|
-
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3686
|
-
"name": "transaction",
|
|
3687
|
-
"required": false,
|
|
3688
|
-
"allowNo": true,
|
|
3689
|
-
"type": "boolean"
|
|
3690
|
-
},
|
|
3691
|
-
"truncate": {
|
|
3692
|
-
"description": "Truncate all table records before importing",
|
|
3693
|
-
"name": "truncate",
|
|
3684
|
+
"output": {
|
|
3685
|
+
"char": "o",
|
|
3686
|
+
"description": "Output format",
|
|
3687
|
+
"name": "output",
|
|
3694
3688
|
"required": false,
|
|
3695
|
-
"
|
|
3696
|
-
"
|
|
3689
|
+
"default": "summary",
|
|
3690
|
+
"hasDynamicHelp": false,
|
|
3691
|
+
"multiple": false,
|
|
3692
|
+
"options": [
|
|
3693
|
+
"summary",
|
|
3694
|
+
"json"
|
|
3695
|
+
],
|
|
3696
|
+
"type": "option"
|
|
3697
3697
|
},
|
|
3698
3698
|
"workspace": {
|
|
3699
3699
|
"char": "w",
|
|
3700
|
-
"description": "Workspace ID (
|
|
3700
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3701
3701
|
"name": "workspace",
|
|
3702
3702
|
"required": false,
|
|
3703
3703
|
"hasDynamicHelp": false,
|
|
@@ -3707,7 +3707,7 @@
|
|
|
3707
3707
|
},
|
|
3708
3708
|
"hasDynamicHelp": false,
|
|
3709
3709
|
"hiddenAliases": [],
|
|
3710
|
-
"id": "
|
|
3710
|
+
"id": "unit_test:run",
|
|
3711
3711
|
"pluginAlias": "@xano/cli",
|
|
3712
3712
|
"pluginName": "@xano/cli",
|
|
3713
3713
|
"pluginType": "core",
|
|
@@ -3717,8 +3717,8 @@
|
|
|
3717
3717
|
"relativePath": [
|
|
3718
3718
|
"dist",
|
|
3719
3719
|
"commands",
|
|
3720
|
-
"
|
|
3721
|
-
"
|
|
3720
|
+
"unit_test",
|
|
3721
|
+
"run",
|
|
3722
3722
|
"index.js"
|
|
3723
3723
|
]
|
|
3724
3724
|
},
|
|
@@ -3813,19 +3813,20 @@
|
|
|
3813
3813
|
"index.js"
|
|
3814
3814
|
]
|
|
3815
3815
|
},
|
|
3816
|
-
"workflow_test:
|
|
3816
|
+
"workflow_test:get": {
|
|
3817
3817
|
"aliases": [],
|
|
3818
3818
|
"args": {
|
|
3819
3819
|
"workflow_test_id": {
|
|
3820
|
-
"description": "ID of the workflow test
|
|
3820
|
+
"description": "ID of the workflow test",
|
|
3821
3821
|
"name": "workflow_test_id",
|
|
3822
3822
|
"required": true
|
|
3823
3823
|
}
|
|
3824
3824
|
},
|
|
3825
|
-
"description": "
|
|
3825
|
+
"description": "Get a specific workflow test",
|
|
3826
3826
|
"examples": [
|
|
3827
|
-
"$ xano workflow-test
|
|
3828
|
-
"$ xano workflow-test
|
|
3827
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3828
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3829
|
+
"$ xano workflow-test get 1 -o json"
|
|
3829
3830
|
],
|
|
3830
3831
|
"flags": {
|
|
3831
3832
|
"profile": {
|
|
@@ -3847,14 +3848,93 @@
|
|
|
3847
3848
|
"allowNo": false,
|
|
3848
3849
|
"type": "boolean"
|
|
3849
3850
|
},
|
|
3850
|
-
"
|
|
3851
|
-
"
|
|
3852
|
-
"
|
|
3853
|
-
"
|
|
3851
|
+
"include-draft": {
|
|
3852
|
+
"description": "Include draft version",
|
|
3853
|
+
"name": "include-draft",
|
|
3854
|
+
"required": false,
|
|
3855
|
+
"allowNo": false,
|
|
3856
|
+
"type": "boolean"
|
|
3857
|
+
},
|
|
3858
|
+
"output": {
|
|
3859
|
+
"char": "o",
|
|
3860
|
+
"description": "Output format",
|
|
3861
|
+
"name": "output",
|
|
3862
|
+
"required": false,
|
|
3863
|
+
"default": "summary",
|
|
3864
|
+
"hasDynamicHelp": false,
|
|
3865
|
+
"multiple": false,
|
|
3866
|
+
"options": [
|
|
3867
|
+
"summary",
|
|
3868
|
+
"json",
|
|
3869
|
+
"xs"
|
|
3870
|
+
],
|
|
3871
|
+
"type": "option"
|
|
3872
|
+
},
|
|
3873
|
+
"workspace": {
|
|
3874
|
+
"char": "w",
|
|
3875
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3876
|
+
"name": "workspace",
|
|
3877
|
+
"required": false,
|
|
3878
|
+
"hasDynamicHelp": false,
|
|
3879
|
+
"multiple": false,
|
|
3880
|
+
"type": "option"
|
|
3881
|
+
}
|
|
3882
|
+
},
|
|
3883
|
+
"hasDynamicHelp": false,
|
|
3884
|
+
"hiddenAliases": [],
|
|
3885
|
+
"id": "workflow_test:get",
|
|
3886
|
+
"pluginAlias": "@xano/cli",
|
|
3887
|
+
"pluginName": "@xano/cli",
|
|
3888
|
+
"pluginType": "core",
|
|
3889
|
+
"strict": true,
|
|
3890
|
+
"enableJsonFlag": false,
|
|
3891
|
+
"isESM": true,
|
|
3892
|
+
"relativePath": [
|
|
3893
|
+
"dist",
|
|
3894
|
+
"commands",
|
|
3895
|
+
"workflow_test",
|
|
3896
|
+
"get",
|
|
3897
|
+
"index.js"
|
|
3898
|
+
]
|
|
3899
|
+
},
|
|
3900
|
+
"workflow_test:list": {
|
|
3901
|
+
"aliases": [],
|
|
3902
|
+
"args": {},
|
|
3903
|
+
"description": "List all workflow tests in a workspace",
|
|
3904
|
+
"examples": [
|
|
3905
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3906
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3907
|
+
"$ xano workflow-test list --branch main"
|
|
3908
|
+
],
|
|
3909
|
+
"flags": {
|
|
3910
|
+
"profile": {
|
|
3911
|
+
"char": "p",
|
|
3912
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3913
|
+
"env": "XANO_PROFILE",
|
|
3914
|
+
"name": "profile",
|
|
3915
|
+
"required": false,
|
|
3916
|
+
"hasDynamicHelp": false,
|
|
3917
|
+
"multiple": false,
|
|
3918
|
+
"type": "option"
|
|
3919
|
+
},
|
|
3920
|
+
"verbose": {
|
|
3921
|
+
"char": "v",
|
|
3922
|
+
"description": "Show detailed request/response information",
|
|
3923
|
+
"env": "XANO_VERBOSE",
|
|
3924
|
+
"name": "verbose",
|
|
3854
3925
|
"required": false,
|
|
3855
3926
|
"allowNo": false,
|
|
3856
3927
|
"type": "boolean"
|
|
3857
3928
|
},
|
|
3929
|
+
"branch": {
|
|
3930
|
+
"char": "b",
|
|
3931
|
+
"description": "Filter by branch name",
|
|
3932
|
+
"name": "branch",
|
|
3933
|
+
"required": false,
|
|
3934
|
+
"hasDynamicHelp": false,
|
|
3935
|
+
"multiple": false,
|
|
3936
|
+
"type": "option"
|
|
3937
|
+
},
|
|
3858
3938
|
"output": {
|
|
3859
3939
|
"char": "o",
|
|
3860
3940
|
"description": "Output format",
|
|
@@ -3881,7 +3961,7 @@
|
|
|
3881
3961
|
},
|
|
3882
3962
|
"hasDynamicHelp": false,
|
|
3883
3963
|
"hiddenAliases": [],
|
|
3884
|
-
"id": "workflow_test:
|
|
3964
|
+
"id": "workflow_test:list",
|
|
3885
3965
|
"pluginAlias": "@xano/cli",
|
|
3886
3966
|
"pluginName": "@xano/cli",
|
|
3887
3967
|
"pluginType": "core",
|
|
@@ -3892,7 +3972,7 @@
|
|
|
3892
3972
|
"dist",
|
|
3893
3973
|
"commands",
|
|
3894
3974
|
"workflow_test",
|
|
3895
|
-
"
|
|
3975
|
+
"list",
|
|
3896
3976
|
"index.js"
|
|
3897
3977
|
]
|
|
3898
3978
|
},
|
|
@@ -3971,14 +4051,13 @@
|
|
|
3971
4051
|
"index.js"
|
|
3972
4052
|
]
|
|
3973
4053
|
},
|
|
3974
|
-
"workflow_test:
|
|
4054
|
+
"workflow_test:run_all": {
|
|
3975
4055
|
"aliases": [],
|
|
3976
4056
|
"args": {},
|
|
3977
|
-
"description": "
|
|
4057
|
+
"description": "Run all workflow tests in a workspace",
|
|
3978
4058
|
"examples": [
|
|
3979
|
-
"$ xano workflow-test
|
|
3980
|
-
"$ xano workflow-test
|
|
3981
|
-
"$ xano workflow-test list --branch main"
|
|
4059
|
+
"$ 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",
|
|
4060
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
3982
4061
|
],
|
|
3983
4062
|
"flags": {
|
|
3984
4063
|
"profile": {
|
|
@@ -4035,7 +4114,7 @@
|
|
|
4035
4114
|
},
|
|
4036
4115
|
"hasDynamicHelp": false,
|
|
4037
4116
|
"hiddenAliases": [],
|
|
4038
|
-
"id": "workflow_test:
|
|
4117
|
+
"id": "workflow_test:run_all",
|
|
4039
4118
|
"pluginAlias": "@xano/cli",
|
|
4040
4119
|
"pluginName": "@xano/cli",
|
|
4041
4120
|
"pluginType": "core",
|
|
@@ -4046,24 +4125,24 @@
|
|
|
4046
4125
|
"dist",
|
|
4047
4126
|
"commands",
|
|
4048
4127
|
"workflow_test",
|
|
4049
|
-
"
|
|
4128
|
+
"run_all",
|
|
4050
4129
|
"index.js"
|
|
4051
4130
|
]
|
|
4052
4131
|
},
|
|
4053
|
-
"
|
|
4132
|
+
"workspace:create": {
|
|
4054
4133
|
"aliases": [],
|
|
4055
4134
|
"args": {
|
|
4056
|
-
"
|
|
4057
|
-
"description": "
|
|
4058
|
-
"name": "
|
|
4135
|
+
"name": {
|
|
4136
|
+
"description": "Name of the workspace",
|
|
4137
|
+
"name": "name",
|
|
4059
4138
|
"required": true
|
|
4060
4139
|
}
|
|
4061
4140
|
},
|
|
4062
|
-
"description": "
|
|
4141
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4063
4142
|
"examples": [
|
|
4064
|
-
"$ xano
|
|
4065
|
-
"$ xano
|
|
4066
|
-
"$ xano
|
|
4143
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4144
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4145
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4067
4146
|
],
|
|
4068
4147
|
"flags": {
|
|
4069
4148
|
"profile": {
|
|
@@ -4085,12 +4164,14 @@
|
|
|
4085
4164
|
"allowNo": false,
|
|
4086
4165
|
"type": "boolean"
|
|
4087
4166
|
},
|
|
4088
|
-
"
|
|
4089
|
-
"
|
|
4090
|
-
"
|
|
4167
|
+
"description": {
|
|
4168
|
+
"char": "d",
|
|
4169
|
+
"description": "Description for the workspace",
|
|
4170
|
+
"name": "description",
|
|
4091
4171
|
"required": false,
|
|
4092
|
-
"
|
|
4093
|
-
"
|
|
4172
|
+
"hasDynamicHelp": false,
|
|
4173
|
+
"multiple": false,
|
|
4174
|
+
"type": "option"
|
|
4094
4175
|
},
|
|
4095
4176
|
"output": {
|
|
4096
4177
|
"char": "o",
|
|
@@ -4102,24 +4183,14 @@
|
|
|
4102
4183
|
"multiple": false,
|
|
4103
4184
|
"options": [
|
|
4104
4185
|
"summary",
|
|
4105
|
-
"json"
|
|
4106
|
-
"xs"
|
|
4186
|
+
"json"
|
|
4107
4187
|
],
|
|
4108
4188
|
"type": "option"
|
|
4109
|
-
},
|
|
4110
|
-
"workspace": {
|
|
4111
|
-
"char": "w",
|
|
4112
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4113
|
-
"name": "workspace",
|
|
4114
|
-
"required": false,
|
|
4115
|
-
"hasDynamicHelp": false,
|
|
4116
|
-
"multiple": false,
|
|
4117
|
-
"type": "option"
|
|
4118
4189
|
}
|
|
4119
4190
|
},
|
|
4120
4191
|
"hasDynamicHelp": false,
|
|
4121
4192
|
"hiddenAliases": [],
|
|
4122
|
-
"id": "
|
|
4193
|
+
"id": "workspace:create",
|
|
4123
4194
|
"pluginAlias": "@xano/cli",
|
|
4124
4195
|
"pluginName": "@xano/cli",
|
|
4125
4196
|
"pluginType": "core",
|
|
@@ -4129,18 +4200,26 @@
|
|
|
4129
4200
|
"relativePath": [
|
|
4130
4201
|
"dist",
|
|
4131
4202
|
"commands",
|
|
4132
|
-
"
|
|
4133
|
-
"
|
|
4203
|
+
"workspace",
|
|
4204
|
+
"create",
|
|
4134
4205
|
"index.js"
|
|
4135
4206
|
]
|
|
4136
4207
|
},
|
|
4137
|
-
"
|
|
4208
|
+
"workspace:edit": {
|
|
4138
4209
|
"aliases": [],
|
|
4139
|
-
"args": {
|
|
4140
|
-
|
|
4210
|
+
"args": {
|
|
4211
|
+
"workspace_id": {
|
|
4212
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4213
|
+
"name": "workspace_id",
|
|
4214
|
+
"required": false
|
|
4215
|
+
}
|
|
4216
|
+
},
|
|
4217
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4141
4218
|
"examples": [
|
|
4142
|
-
"$ xano
|
|
4143
|
-
"$ xano
|
|
4219
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4220
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4221
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4222
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4144
4223
|
],
|
|
4145
4224
|
"flags": {
|
|
4146
4225
|
"profile": {
|
|
@@ -4162,10 +4241,19 @@
|
|
|
4162
4241
|
"allowNo": false,
|
|
4163
4242
|
"type": "boolean"
|
|
4164
4243
|
},
|
|
4165
|
-
"
|
|
4166
|
-
"char": "
|
|
4167
|
-
"description": "
|
|
4168
|
-
"name": "
|
|
4244
|
+
"description": {
|
|
4245
|
+
"char": "d",
|
|
4246
|
+
"description": "New description for the workspace",
|
|
4247
|
+
"name": "description",
|
|
4248
|
+
"required": false,
|
|
4249
|
+
"hasDynamicHelp": false,
|
|
4250
|
+
"multiple": false,
|
|
4251
|
+
"type": "option"
|
|
4252
|
+
},
|
|
4253
|
+
"name": {
|
|
4254
|
+
"char": "n",
|
|
4255
|
+
"description": "New name for the workspace",
|
|
4256
|
+
"name": "name",
|
|
4169
4257
|
"required": false,
|
|
4170
4258
|
"hasDynamicHelp": false,
|
|
4171
4259
|
"multiple": false,
|
|
@@ -4185,19 +4273,24 @@
|
|
|
4185
4273
|
],
|
|
4186
4274
|
"type": "option"
|
|
4187
4275
|
},
|
|
4188
|
-
"
|
|
4189
|
-
"
|
|
4190
|
-
"
|
|
4191
|
-
"name": "workspace",
|
|
4276
|
+
"require-token": {
|
|
4277
|
+
"description": "Whether to require a token for documentation access",
|
|
4278
|
+
"name": "require-token",
|
|
4192
4279
|
"required": false,
|
|
4193
|
-
"
|
|
4194
|
-
"
|
|
4195
|
-
|
|
4280
|
+
"allowNo": true,
|
|
4281
|
+
"type": "boolean"
|
|
4282
|
+
},
|
|
4283
|
+
"swagger": {
|
|
4284
|
+
"description": "Enable or disable swagger documentation",
|
|
4285
|
+
"name": "swagger",
|
|
4286
|
+
"required": false,
|
|
4287
|
+
"allowNo": true,
|
|
4288
|
+
"type": "boolean"
|
|
4196
4289
|
}
|
|
4197
4290
|
},
|
|
4198
4291
|
"hasDynamicHelp": false,
|
|
4199
4292
|
"hiddenAliases": [],
|
|
4200
|
-
"id": "
|
|
4293
|
+
"id": "workspace:edit",
|
|
4201
4294
|
"pluginAlias": "@xano/cli",
|
|
4202
4295
|
"pluginName": "@xano/cli",
|
|
4203
4296
|
"pluginType": "core",
|
|
@@ -4207,8 +4300,8 @@
|
|
|
4207
4300
|
"relativePath": [
|
|
4208
4301
|
"dist",
|
|
4209
4302
|
"commands",
|
|
4210
|
-
"
|
|
4211
|
-
"
|
|
4303
|
+
"workspace",
|
|
4304
|
+
"edit",
|
|
4212
4305
|
"index.js"
|
|
4213
4306
|
]
|
|
4214
4307
|
},
|
|
@@ -4287,20 +4380,20 @@
|
|
|
4287
4380
|
"index.js"
|
|
4288
4381
|
]
|
|
4289
4382
|
},
|
|
4290
|
-
"workspace:
|
|
4383
|
+
"workspace:get": {
|
|
4291
4384
|
"aliases": [],
|
|
4292
4385
|
"args": {
|
|
4293
|
-
"
|
|
4294
|
-
"description": "
|
|
4295
|
-
"name": "
|
|
4296
|
-
"required":
|
|
4386
|
+
"workspace_id": {
|
|
4387
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4388
|
+
"name": "workspace_id",
|
|
4389
|
+
"required": false
|
|
4297
4390
|
}
|
|
4298
4391
|
},
|
|
4299
|
-
"description": "
|
|
4300
|
-
"examples": [
|
|
4301
|
-
"$ xano workspace
|
|
4302
|
-
"$ xano workspace
|
|
4303
|
-
"$ xano workspace
|
|
4392
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4393
|
+
"examples": [
|
|
4394
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4395
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4396
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4304
4397
|
],
|
|
4305
4398
|
"flags": {
|
|
4306
4399
|
"profile": {
|
|
@@ -4322,15 +4415,6 @@
|
|
|
4322
4415
|
"allowNo": false,
|
|
4323
4416
|
"type": "boolean"
|
|
4324
4417
|
},
|
|
4325
|
-
"description": {
|
|
4326
|
-
"char": "d",
|
|
4327
|
-
"description": "Description for the workspace",
|
|
4328
|
-
"name": "description",
|
|
4329
|
-
"required": false,
|
|
4330
|
-
"hasDynamicHelp": false,
|
|
4331
|
-
"multiple": false,
|
|
4332
|
-
"type": "option"
|
|
4333
|
-
},
|
|
4334
4418
|
"output": {
|
|
4335
4419
|
"char": "o",
|
|
4336
4420
|
"description": "Output format",
|
|
@@ -4348,7 +4432,7 @@
|
|
|
4348
4432
|
},
|
|
4349
4433
|
"hasDynamicHelp": false,
|
|
4350
4434
|
"hiddenAliases": [],
|
|
4351
|
-
"id": "workspace:
|
|
4435
|
+
"id": "workspace:get",
|
|
4352
4436
|
"pluginAlias": "@xano/cli",
|
|
4353
4437
|
"pluginName": "@xano/cli",
|
|
4354
4438
|
"pluginType": "core",
|
|
@@ -4359,25 +4443,23 @@
|
|
|
4359
4443
|
"dist",
|
|
4360
4444
|
"commands",
|
|
4361
4445
|
"workspace",
|
|
4362
|
-
"
|
|
4446
|
+
"get",
|
|
4363
4447
|
"index.js"
|
|
4364
4448
|
]
|
|
4365
4449
|
},
|
|
4366
|
-
"
|
|
4450
|
+
"workflow_test:delete": {
|
|
4367
4451
|
"aliases": [],
|
|
4368
4452
|
"args": {
|
|
4369
|
-
"
|
|
4370
|
-
"description": "
|
|
4371
|
-
"name": "
|
|
4372
|
-
"required":
|
|
4453
|
+
"workflow_test_id": {
|
|
4454
|
+
"description": "ID of the workflow test to delete",
|
|
4455
|
+
"name": "workflow_test_id",
|
|
4456
|
+
"required": true
|
|
4373
4457
|
}
|
|
4374
4458
|
},
|
|
4375
|
-
"description": "
|
|
4459
|
+
"description": "Delete a workflow test",
|
|
4376
4460
|
"examples": [
|
|
4377
|
-
"$ xano
|
|
4378
|
-
"$ xano
|
|
4379
|
-
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4380
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4461
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
4462
|
+
"$ xano workflow-test delete 1 --force"
|
|
4381
4463
|
],
|
|
4382
4464
|
"flags": {
|
|
4383
4465
|
"profile": {
|
|
@@ -4399,23 +4481,13 @@
|
|
|
4399
4481
|
"allowNo": false,
|
|
4400
4482
|
"type": "boolean"
|
|
4401
4483
|
},
|
|
4402
|
-
"
|
|
4403
|
-
"char": "
|
|
4404
|
-
"description": "
|
|
4405
|
-
"name": "
|
|
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",
|
|
4484
|
+
"force": {
|
|
4485
|
+
"char": "f",
|
|
4486
|
+
"description": "Skip confirmation prompt",
|
|
4487
|
+
"name": "force",
|
|
4415
4488
|
"required": false,
|
|
4416
|
-
"
|
|
4417
|
-
"
|
|
4418
|
-
"type": "option"
|
|
4489
|
+
"allowNo": false,
|
|
4490
|
+
"type": "boolean"
|
|
4419
4491
|
},
|
|
4420
4492
|
"output": {
|
|
4421
4493
|
"char": "o",
|
|
@@ -4431,24 +4503,19 @@
|
|
|
4431
4503
|
],
|
|
4432
4504
|
"type": "option"
|
|
4433
4505
|
},
|
|
4434
|
-
"
|
|
4435
|
-
"
|
|
4436
|
-
"
|
|
4437
|
-
"
|
|
4438
|
-
"allowNo": true,
|
|
4439
|
-
"type": "boolean"
|
|
4440
|
-
},
|
|
4441
|
-
"swagger": {
|
|
4442
|
-
"description": "Enable or disable swagger documentation",
|
|
4443
|
-
"name": "swagger",
|
|
4506
|
+
"workspace": {
|
|
4507
|
+
"char": "w",
|
|
4508
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4509
|
+
"name": "workspace",
|
|
4444
4510
|
"required": false,
|
|
4445
|
-
"
|
|
4446
|
-
"
|
|
4511
|
+
"hasDynamicHelp": false,
|
|
4512
|
+
"multiple": false,
|
|
4513
|
+
"type": "option"
|
|
4447
4514
|
}
|
|
4448
4515
|
},
|
|
4449
4516
|
"hasDynamicHelp": false,
|
|
4450
4517
|
"hiddenAliases": [],
|
|
4451
|
-
"id": "
|
|
4518
|
+
"id": "workflow_test:delete",
|
|
4452
4519
|
"pluginAlias": "@xano/cli",
|
|
4453
4520
|
"pluginName": "@xano/cli",
|
|
4454
4521
|
"pluginType": "core",
|
|
@@ -4458,25 +4525,20 @@
|
|
|
4458
4525
|
"relativePath": [
|
|
4459
4526
|
"dist",
|
|
4460
4527
|
"commands",
|
|
4461
|
-
"
|
|
4462
|
-
"
|
|
4528
|
+
"workflow_test",
|
|
4529
|
+
"delete",
|
|
4463
4530
|
"index.js"
|
|
4464
4531
|
]
|
|
4465
4532
|
},
|
|
4466
|
-
"workspace:
|
|
4533
|
+
"workspace:list": {
|
|
4467
4534
|
"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",
|
|
4535
|
+
"args": {},
|
|
4536
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4476
4537
|
"examples": [
|
|
4477
|
-
"$ xano workspace
|
|
4478
|
-
"$ xano workspace
|
|
4479
|
-
"$ xano workspace
|
|
4538
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4539
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4540
|
+
"$ 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",
|
|
4541
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4480
4542
|
],
|
|
4481
4543
|
"flags": {
|
|
4482
4544
|
"profile": {
|
|
@@ -4515,7 +4577,7 @@
|
|
|
4515
4577
|
},
|
|
4516
4578
|
"hasDynamicHelp": false,
|
|
4517
4579
|
"hiddenAliases": [],
|
|
4518
|
-
"id": "workspace:
|
|
4580
|
+
"id": "workspace:list",
|
|
4519
4581
|
"pluginAlias": "@xano/cli",
|
|
4520
4582
|
"pluginName": "@xano/cli",
|
|
4521
4583
|
"pluginType": "core",
|
|
@@ -4526,7 +4588,7 @@
|
|
|
4526
4588
|
"dist",
|
|
4527
4589
|
"commands",
|
|
4528
4590
|
"workspace",
|
|
4529
|
-
"
|
|
4591
|
+
"list",
|
|
4530
4592
|
"index.js"
|
|
4531
4593
|
]
|
|
4532
4594
|
},
|
|
@@ -4766,73 +4828,20 @@
|
|
|
4766
4828
|
"index.js"
|
|
4767
4829
|
]
|
|
4768
4830
|
},
|
|
4769
|
-
"
|
|
4770
|
-
"aliases": [],
|
|
4771
|
-
"args": {},
|
|
4772
|
-
"description": "Interactively select a workspace for a profile",
|
|
4773
|
-
"examples": [
|
|
4774
|
-
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
4775
|
-
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
4776
|
-
],
|
|
4777
|
-
"flags": {
|
|
4778
|
-
"profile": {
|
|
4779
|
-
"char": "p",
|
|
4780
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4781
|
-
"env": "XANO_PROFILE",
|
|
4782
|
-
"name": "profile",
|
|
4783
|
-
"required": false,
|
|
4784
|
-
"hasDynamicHelp": false,
|
|
4785
|
-
"multiple": false,
|
|
4786
|
-
"type": "option"
|
|
4787
|
-
},
|
|
4788
|
-
"verbose": {
|
|
4789
|
-
"char": "v",
|
|
4790
|
-
"description": "Show detailed request/response information",
|
|
4791
|
-
"env": "XANO_VERBOSE",
|
|
4792
|
-
"name": "verbose",
|
|
4793
|
-
"required": false,
|
|
4794
|
-
"allowNo": false,
|
|
4795
|
-
"type": "boolean"
|
|
4796
|
-
}
|
|
4797
|
-
},
|
|
4798
|
-
"hasDynamicHelp": false,
|
|
4799
|
-
"hiddenAliases": [],
|
|
4800
|
-
"id": "profile:workspace:set",
|
|
4801
|
-
"pluginAlias": "@xano/cli",
|
|
4802
|
-
"pluginName": "@xano/cli",
|
|
4803
|
-
"pluginType": "core",
|
|
4804
|
-
"strict": true,
|
|
4805
|
-
"enableJsonFlag": false,
|
|
4806
|
-
"isESM": true,
|
|
4807
|
-
"relativePath": [
|
|
4808
|
-
"dist",
|
|
4809
|
-
"commands",
|
|
4810
|
-
"profile",
|
|
4811
|
-
"workspace",
|
|
4812
|
-
"set",
|
|
4813
|
-
"index.js"
|
|
4814
|
-
]
|
|
4815
|
-
},
|
|
4816
|
-
"static_host:build:get": {
|
|
4831
|
+
"static_host:build:create": {
|
|
4817
4832
|
"aliases": [],
|
|
4818
4833
|
"args": {
|
|
4819
|
-
"build_id": {
|
|
4820
|
-
"description": "Build ID",
|
|
4821
|
-
"name": "build_id",
|
|
4822
|
-
"required": true
|
|
4823
|
-
},
|
|
4824
4834
|
"static_host": {
|
|
4825
4835
|
"description": "Static Host name",
|
|
4826
4836
|
"name": "static_host",
|
|
4827
4837
|
"required": true
|
|
4828
4838
|
}
|
|
4829
4839
|
},
|
|
4830
|
-
"description": "
|
|
4840
|
+
"description": "Create a new build for a static host",
|
|
4831
4841
|
"examples": [
|
|
4832
|
-
"$ xano static_host:build:
|
|
4833
|
-
"$ xano static_host:build:
|
|
4834
|
-
"$ xano static_host:build:
|
|
4835
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4842
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
4843
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
4844
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4836
4845
|
],
|
|
4837
4846
|
"flags": {
|
|
4838
4847
|
"profile": {
|
|
@@ -4854,6 +4863,33 @@
|
|
|
4854
4863
|
"allowNo": false,
|
|
4855
4864
|
"type": "boolean"
|
|
4856
4865
|
},
|
|
4866
|
+
"description": {
|
|
4867
|
+
"char": "d",
|
|
4868
|
+
"description": "Build description",
|
|
4869
|
+
"name": "description",
|
|
4870
|
+
"required": false,
|
|
4871
|
+
"hasDynamicHelp": false,
|
|
4872
|
+
"multiple": false,
|
|
4873
|
+
"type": "option"
|
|
4874
|
+
},
|
|
4875
|
+
"file": {
|
|
4876
|
+
"char": "f",
|
|
4877
|
+
"description": "Path to zip file to upload",
|
|
4878
|
+
"name": "file",
|
|
4879
|
+
"required": true,
|
|
4880
|
+
"hasDynamicHelp": false,
|
|
4881
|
+
"multiple": false,
|
|
4882
|
+
"type": "option"
|
|
4883
|
+
},
|
|
4884
|
+
"name": {
|
|
4885
|
+
"char": "n",
|
|
4886
|
+
"description": "Build name",
|
|
4887
|
+
"name": "name",
|
|
4888
|
+
"required": true,
|
|
4889
|
+
"hasDynamicHelp": false,
|
|
4890
|
+
"multiple": false,
|
|
4891
|
+
"type": "option"
|
|
4892
|
+
},
|
|
4857
4893
|
"output": {
|
|
4858
4894
|
"char": "o",
|
|
4859
4895
|
"description": "Output format",
|
|
@@ -4880,7 +4916,7 @@
|
|
|
4880
4916
|
},
|
|
4881
4917
|
"hasDynamicHelp": false,
|
|
4882
4918
|
"hiddenAliases": [],
|
|
4883
|
-
"id": "static_host:build:
|
|
4919
|
+
"id": "static_host:build:create",
|
|
4884
4920
|
"pluginAlias": "@xano/cli",
|
|
4885
4921
|
"pluginName": "@xano/cli",
|
|
4886
4922
|
"pluginType": "core",
|
|
@@ -4892,7 +4928,7 @@
|
|
|
4892
4928
|
"commands",
|
|
4893
4929
|
"static_host",
|
|
4894
4930
|
"build",
|
|
4895
|
-
"
|
|
4931
|
+
"create",
|
|
4896
4932
|
"index.js"
|
|
4897
4933
|
]
|
|
4898
4934
|
},
|
|
@@ -4992,68 +5028,47 @@
|
|
|
4992
5028
|
"index.js"
|
|
4993
5029
|
]
|
|
4994
5030
|
},
|
|
4995
|
-
"static_host:build:
|
|
5031
|
+
"static_host:build:get": {
|
|
4996
5032
|
"aliases": [],
|
|
4997
5033
|
"args": {
|
|
5034
|
+
"build_id": {
|
|
5035
|
+
"description": "Build ID",
|
|
5036
|
+
"name": "build_id",
|
|
5037
|
+
"required": true
|
|
5038
|
+
},
|
|
4998
5039
|
"static_host": {
|
|
4999
5040
|
"description": "Static Host name",
|
|
5000
5041
|
"name": "static_host",
|
|
5001
5042
|
"required": true
|
|
5002
5043
|
}
|
|
5003
5044
|
},
|
|
5004
|
-
"description": "
|
|
5045
|
+
"description": "Get details of a specific build for a static host",
|
|
5005
5046
|
"examples": [
|
|
5006
|
-
"$ xano static_host:build:
|
|
5007
|
-
"$ xano static_host:build:
|
|
5008
|
-
"$ xano static_host:build:
|
|
5047
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5048
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5049
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5050
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5009
5051
|
],
|
|
5010
5052
|
"flags": {
|
|
5011
5053
|
"profile": {
|
|
5012
5054
|
"char": "p",
|
|
5013
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5014
|
-
"env": "XANO_PROFILE",
|
|
5015
|
-
"name": "profile",
|
|
5016
|
-
"required": false,
|
|
5017
|
-
"hasDynamicHelp": false,
|
|
5018
|
-
"multiple": false,
|
|
5019
|
-
"type": "option"
|
|
5020
|
-
},
|
|
5021
|
-
"verbose": {
|
|
5022
|
-
"char": "v",
|
|
5023
|
-
"description": "Show detailed request/response information",
|
|
5024
|
-
"env": "XANO_VERBOSE",
|
|
5025
|
-
"name": "verbose",
|
|
5026
|
-
"required": false,
|
|
5027
|
-
"allowNo": false,
|
|
5028
|
-
"type": "boolean"
|
|
5029
|
-
},
|
|
5030
|
-
"description": {
|
|
5031
|
-
"char": "d",
|
|
5032
|
-
"description": "Build description",
|
|
5033
|
-
"name": "description",
|
|
5034
|
-
"required": false,
|
|
5035
|
-
"hasDynamicHelp": false,
|
|
5036
|
-
"multiple": false,
|
|
5037
|
-
"type": "option"
|
|
5038
|
-
},
|
|
5039
|
-
"file": {
|
|
5040
|
-
"char": "f",
|
|
5041
|
-
"description": "Path to zip file to upload",
|
|
5042
|
-
"name": "file",
|
|
5043
|
-
"required": true,
|
|
5044
|
-
"hasDynamicHelp": false,
|
|
5045
|
-
"multiple": false,
|
|
5046
|
-
"type": "option"
|
|
5047
|
-
},
|
|
5048
|
-
"name": {
|
|
5049
|
-
"char": "n",
|
|
5050
|
-
"description": "Build name",
|
|
5051
|
-
"name": "name",
|
|
5052
|
-
"required": true,
|
|
5055
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5056
|
+
"env": "XANO_PROFILE",
|
|
5057
|
+
"name": "profile",
|
|
5058
|
+
"required": false,
|
|
5053
5059
|
"hasDynamicHelp": false,
|
|
5054
5060
|
"multiple": false,
|
|
5055
5061
|
"type": "option"
|
|
5056
5062
|
},
|
|
5063
|
+
"verbose": {
|
|
5064
|
+
"char": "v",
|
|
5065
|
+
"description": "Show detailed request/response information",
|
|
5066
|
+
"env": "XANO_VERBOSE",
|
|
5067
|
+
"name": "verbose",
|
|
5068
|
+
"required": false,
|
|
5069
|
+
"allowNo": false,
|
|
5070
|
+
"type": "boolean"
|
|
5071
|
+
},
|
|
5057
5072
|
"output": {
|
|
5058
5073
|
"char": "o",
|
|
5059
5074
|
"description": "Output format",
|
|
@@ -5080,7 +5095,7 @@
|
|
|
5080
5095
|
},
|
|
5081
5096
|
"hasDynamicHelp": false,
|
|
5082
5097
|
"hiddenAliases": [],
|
|
5083
|
-
"id": "static_host:build:
|
|
5098
|
+
"id": "static_host:build:get",
|
|
5084
5099
|
"pluginAlias": "@xano/cli",
|
|
5085
5100
|
"pluginName": "@xano/cli",
|
|
5086
5101
|
"pluginType": "core",
|
|
@@ -5092,7 +5107,7 @@
|
|
|
5092
5107
|
"commands",
|
|
5093
5108
|
"static_host",
|
|
5094
5109
|
"build",
|
|
5095
|
-
"
|
|
5110
|
+
"get",
|
|
5096
5111
|
"index.js"
|
|
5097
5112
|
]
|
|
5098
5113
|
},
|
|
@@ -5189,19 +5204,20 @@
|
|
|
5189
5204
|
"index.js"
|
|
5190
5205
|
]
|
|
5191
5206
|
},
|
|
5192
|
-
"tenant:backup:
|
|
5207
|
+
"tenant:backup:export": {
|
|
5193
5208
|
"aliases": [],
|
|
5194
5209
|
"args": {
|
|
5195
5210
|
"tenant_name": {
|
|
5196
|
-
"description": "Tenant name to
|
|
5211
|
+
"description": "Tenant name to export backup from",
|
|
5197
5212
|
"name": "tenant_name",
|
|
5198
5213
|
"required": true
|
|
5199
5214
|
}
|
|
5200
5215
|
},
|
|
5201
|
-
"description": "
|
|
5216
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5202
5217
|
"examples": [
|
|
5203
|
-
"$ xano tenant backup
|
|
5204
|
-
"$ xano tenant backup
|
|
5218
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5219
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5220
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5205
5221
|
],
|
|
5206
5222
|
"flags": {
|
|
5207
5223
|
"profile": {
|
|
@@ -5223,20 +5239,18 @@
|
|
|
5223
5239
|
"allowNo": false,
|
|
5224
5240
|
"type": "boolean"
|
|
5225
5241
|
},
|
|
5226
|
-
"
|
|
5227
|
-
"
|
|
5228
|
-
"
|
|
5229
|
-
"
|
|
5230
|
-
"required": false,
|
|
5231
|
-
"default": "",
|
|
5242
|
+
"backup_id": {
|
|
5243
|
+
"description": "Backup ID to export",
|
|
5244
|
+
"name": "backup_id",
|
|
5245
|
+
"required": true,
|
|
5232
5246
|
"hasDynamicHelp": false,
|
|
5233
5247
|
"multiple": false,
|
|
5234
5248
|
"type": "option"
|
|
5235
5249
|
},
|
|
5236
|
-
"
|
|
5250
|
+
"format": {
|
|
5237
5251
|
"char": "o",
|
|
5238
5252
|
"description": "Output format",
|
|
5239
|
-
"name": "
|
|
5253
|
+
"name": "format",
|
|
5240
5254
|
"required": false,
|
|
5241
5255
|
"default": "summary",
|
|
5242
5256
|
"hasDynamicHelp": false,
|
|
@@ -5247,6 +5261,14 @@
|
|
|
5247
5261
|
],
|
|
5248
5262
|
"type": "option"
|
|
5249
5263
|
},
|
|
5264
|
+
"output": {
|
|
5265
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5266
|
+
"name": "output",
|
|
5267
|
+
"required": false,
|
|
5268
|
+
"hasDynamicHelp": false,
|
|
5269
|
+
"multiple": false,
|
|
5270
|
+
"type": "option"
|
|
5271
|
+
},
|
|
5250
5272
|
"workspace": {
|
|
5251
5273
|
"char": "w",
|
|
5252
5274
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5259,7 +5281,7 @@
|
|
|
5259
5281
|
},
|
|
5260
5282
|
"hasDynamicHelp": false,
|
|
5261
5283
|
"hiddenAliases": [],
|
|
5262
|
-
"id": "tenant:backup:
|
|
5284
|
+
"id": "tenant:backup:export",
|
|
5263
5285
|
"pluginAlias": "@xano/cli",
|
|
5264
5286
|
"pluginName": "@xano/cli",
|
|
5265
5287
|
"pluginType": "core",
|
|
@@ -5271,24 +5293,23 @@
|
|
|
5271
5293
|
"commands",
|
|
5272
5294
|
"tenant",
|
|
5273
5295
|
"backup",
|
|
5274
|
-
"
|
|
5296
|
+
"export",
|
|
5275
5297
|
"index.js"
|
|
5276
5298
|
]
|
|
5277
5299
|
},
|
|
5278
|
-
"tenant:backup:
|
|
5300
|
+
"tenant:backup:import": {
|
|
5279
5301
|
"aliases": [],
|
|
5280
5302
|
"args": {
|
|
5281
5303
|
"tenant_name": {
|
|
5282
|
-
"description": "Tenant name to
|
|
5304
|
+
"description": "Tenant name to import backup into",
|
|
5283
5305
|
"name": "tenant_name",
|
|
5284
5306
|
"required": true
|
|
5285
5307
|
}
|
|
5286
5308
|
},
|
|
5287
|
-
"description": "
|
|
5309
|
+
"description": "Import a backup file into a tenant",
|
|
5288
5310
|
"examples": [
|
|
5289
|
-
"$ xano tenant backup
|
|
5290
|
-
"$ xano tenant backup
|
|
5291
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5311
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5312
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5292
5313
|
],
|
|
5293
5314
|
"flags": {
|
|
5294
5315
|
"profile": {
|
|
@@ -5310,18 +5331,29 @@
|
|
|
5310
5331
|
"allowNo": false,
|
|
5311
5332
|
"type": "boolean"
|
|
5312
5333
|
},
|
|
5313
|
-
"
|
|
5314
|
-
"
|
|
5315
|
-
"
|
|
5334
|
+
"description": {
|
|
5335
|
+
"char": "d",
|
|
5336
|
+
"description": "Backup description",
|
|
5337
|
+
"name": "description",
|
|
5338
|
+
"required": false,
|
|
5339
|
+
"default": "",
|
|
5340
|
+
"hasDynamicHelp": false,
|
|
5341
|
+
"multiple": false,
|
|
5342
|
+
"type": "option"
|
|
5343
|
+
},
|
|
5344
|
+
"file": {
|
|
5345
|
+
"char": "f",
|
|
5346
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5347
|
+
"name": "file",
|
|
5316
5348
|
"required": true,
|
|
5317
5349
|
"hasDynamicHelp": false,
|
|
5318
5350
|
"multiple": false,
|
|
5319
5351
|
"type": "option"
|
|
5320
5352
|
},
|
|
5321
|
-
"
|
|
5353
|
+
"output": {
|
|
5322
5354
|
"char": "o",
|
|
5323
5355
|
"description": "Output format",
|
|
5324
|
-
"name": "
|
|
5356
|
+
"name": "output",
|
|
5325
5357
|
"required": false,
|
|
5326
5358
|
"default": "summary",
|
|
5327
5359
|
"hasDynamicHelp": false,
|
|
@@ -5332,14 +5364,6 @@
|
|
|
5332
5364
|
],
|
|
5333
5365
|
"type": "option"
|
|
5334
5366
|
},
|
|
5335
|
-
"output": {
|
|
5336
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5337
|
-
"name": "output",
|
|
5338
|
-
"required": false,
|
|
5339
|
-
"hasDynamicHelp": false,
|
|
5340
|
-
"multiple": false,
|
|
5341
|
-
"type": "option"
|
|
5342
|
-
},
|
|
5343
5367
|
"workspace": {
|
|
5344
5368
|
"char": "w",
|
|
5345
5369
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5352,7 +5376,7 @@
|
|
|
5352
5376
|
},
|
|
5353
5377
|
"hasDynamicHelp": false,
|
|
5354
5378
|
"hiddenAliases": [],
|
|
5355
|
-
"id": "tenant:backup:
|
|
5379
|
+
"id": "tenant:backup:import",
|
|
5356
5380
|
"pluginAlias": "@xano/cli",
|
|
5357
5381
|
"pluginName": "@xano/cli",
|
|
5358
5382
|
"pluginType": "core",
|
|
@@ -5364,7 +5388,7 @@
|
|
|
5364
5388
|
"commands",
|
|
5365
5389
|
"tenant",
|
|
5366
5390
|
"backup",
|
|
5367
|
-
"
|
|
5391
|
+
"import",
|
|
5368
5392
|
"index.js"
|
|
5369
5393
|
]
|
|
5370
5394
|
},
|
|
@@ -5545,6 +5569,53 @@
|
|
|
5545
5569
|
"index.js"
|
|
5546
5570
|
]
|
|
5547
5571
|
},
|
|
5572
|
+
"profile:workspace:set": {
|
|
5573
|
+
"aliases": [],
|
|
5574
|
+
"args": {},
|
|
5575
|
+
"description": "Interactively select a workspace for a profile",
|
|
5576
|
+
"examples": [
|
|
5577
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
5578
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
5579
|
+
],
|
|
5580
|
+
"flags": {
|
|
5581
|
+
"profile": {
|
|
5582
|
+
"char": "p",
|
|
5583
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5584
|
+
"env": "XANO_PROFILE",
|
|
5585
|
+
"name": "profile",
|
|
5586
|
+
"required": false,
|
|
5587
|
+
"hasDynamicHelp": false,
|
|
5588
|
+
"multiple": false,
|
|
5589
|
+
"type": "option"
|
|
5590
|
+
},
|
|
5591
|
+
"verbose": {
|
|
5592
|
+
"char": "v",
|
|
5593
|
+
"description": "Show detailed request/response information",
|
|
5594
|
+
"env": "XANO_VERBOSE",
|
|
5595
|
+
"name": "verbose",
|
|
5596
|
+
"required": false,
|
|
5597
|
+
"allowNo": false,
|
|
5598
|
+
"type": "boolean"
|
|
5599
|
+
}
|
|
5600
|
+
},
|
|
5601
|
+
"hasDynamicHelp": false,
|
|
5602
|
+
"hiddenAliases": [],
|
|
5603
|
+
"id": "profile:workspace:set",
|
|
5604
|
+
"pluginAlias": "@xano/cli",
|
|
5605
|
+
"pluginName": "@xano/cli",
|
|
5606
|
+
"pluginType": "core",
|
|
5607
|
+
"strict": true,
|
|
5608
|
+
"enableJsonFlag": false,
|
|
5609
|
+
"isESM": true,
|
|
5610
|
+
"relativePath": [
|
|
5611
|
+
"dist",
|
|
5612
|
+
"commands",
|
|
5613
|
+
"profile",
|
|
5614
|
+
"workspace",
|
|
5615
|
+
"set",
|
|
5616
|
+
"index.js"
|
|
5617
|
+
]
|
|
5618
|
+
},
|
|
5548
5619
|
"tenant:cluster:create": {
|
|
5549
5620
|
"aliases": [],
|
|
5550
5621
|
"args": {},
|
|
@@ -5667,20 +5738,19 @@
|
|
|
5667
5738
|
"index.js"
|
|
5668
5739
|
]
|
|
5669
5740
|
},
|
|
5670
|
-
"tenant:
|
|
5741
|
+
"tenant:backup:create": {
|
|
5671
5742
|
"aliases": [],
|
|
5672
5743
|
"args": {
|
|
5673
|
-
"
|
|
5674
|
-
"description": "
|
|
5675
|
-
"name": "
|
|
5744
|
+
"tenant_name": {
|
|
5745
|
+
"description": "Tenant name to back up",
|
|
5746
|
+
"name": "tenant_name",
|
|
5676
5747
|
"required": true
|
|
5677
5748
|
}
|
|
5678
5749
|
},
|
|
5679
|
-
"description": "
|
|
5750
|
+
"description": "Create a backup for a tenant",
|
|
5680
5751
|
"examples": [
|
|
5681
|
-
"$ xano tenant
|
|
5682
|
-
"$ xano tenant
|
|
5683
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5752
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5753
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5684
5754
|
],
|
|
5685
5755
|
"flags": {
|
|
5686
5756
|
"profile": {
|
|
@@ -5702,13 +5772,15 @@
|
|
|
5702
5772
|
"allowNo": false,
|
|
5703
5773
|
"type": "boolean"
|
|
5704
5774
|
},
|
|
5705
|
-
"
|
|
5706
|
-
"char": "
|
|
5707
|
-
"description": "
|
|
5708
|
-
"name": "
|
|
5775
|
+
"description": {
|
|
5776
|
+
"char": "d",
|
|
5777
|
+
"description": "Backup description",
|
|
5778
|
+
"name": "description",
|
|
5709
5779
|
"required": false,
|
|
5710
|
-
"
|
|
5711
|
-
"
|
|
5780
|
+
"default": "",
|
|
5781
|
+
"hasDynamicHelp": false,
|
|
5782
|
+
"multiple": false,
|
|
5783
|
+
"type": "option"
|
|
5712
5784
|
},
|
|
5713
5785
|
"output": {
|
|
5714
5786
|
"char": "o",
|
|
@@ -5723,11 +5795,20 @@
|
|
|
5723
5795
|
"json"
|
|
5724
5796
|
],
|
|
5725
5797
|
"type": "option"
|
|
5798
|
+
},
|
|
5799
|
+
"workspace": {
|
|
5800
|
+
"char": "w",
|
|
5801
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5802
|
+
"name": "workspace",
|
|
5803
|
+
"required": false,
|
|
5804
|
+
"hasDynamicHelp": false,
|
|
5805
|
+
"multiple": false,
|
|
5806
|
+
"type": "option"
|
|
5726
5807
|
}
|
|
5727
5808
|
},
|
|
5728
5809
|
"hasDynamicHelp": false,
|
|
5729
5810
|
"hiddenAliases": [],
|
|
5730
|
-
"id": "tenant:
|
|
5811
|
+
"id": "tenant:backup:create",
|
|
5731
5812
|
"pluginAlias": "@xano/cli",
|
|
5732
5813
|
"pluginName": "@xano/cli",
|
|
5733
5814
|
"pluginType": "core",
|
|
@@ -5738,20 +5819,25 @@
|
|
|
5738
5819
|
"dist",
|
|
5739
5820
|
"commands",
|
|
5740
5821
|
"tenant",
|
|
5741
|
-
"
|
|
5742
|
-
"
|
|
5822
|
+
"backup",
|
|
5823
|
+
"create",
|
|
5743
5824
|
"index.js"
|
|
5744
5825
|
]
|
|
5745
5826
|
},
|
|
5746
|
-
"
|
|
5827
|
+
"tenant:cluster:delete": {
|
|
5747
5828
|
"aliases": [],
|
|
5748
|
-
"args": {
|
|
5749
|
-
|
|
5829
|
+
"args": {
|
|
5830
|
+
"cluster_id": {
|
|
5831
|
+
"description": "Cluster ID to delete",
|
|
5832
|
+
"name": "cluster_id",
|
|
5833
|
+
"required": true
|
|
5834
|
+
}
|
|
5835
|
+
},
|
|
5836
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5750
5837
|
"examples": [
|
|
5751
|
-
"$ xano
|
|
5752
|
-
"$ xano
|
|
5753
|
-
"$ xano
|
|
5754
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
5838
|
+
"$ 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",
|
|
5839
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5840
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5755
5841
|
],
|
|
5756
5842
|
"flags": {
|
|
5757
5843
|
"profile": {
|
|
@@ -5773,6 +5859,14 @@
|
|
|
5773
5859
|
"allowNo": false,
|
|
5774
5860
|
"type": "boolean"
|
|
5775
5861
|
},
|
|
5862
|
+
"force": {
|
|
5863
|
+
"char": "f",
|
|
5864
|
+
"description": "Skip confirmation prompt",
|
|
5865
|
+
"name": "force",
|
|
5866
|
+
"required": false,
|
|
5867
|
+
"allowNo": false,
|
|
5868
|
+
"type": "boolean"
|
|
5869
|
+
},
|
|
5776
5870
|
"output": {
|
|
5777
5871
|
"char": "o",
|
|
5778
5872
|
"description": "Output format",
|
|
@@ -5790,7 +5884,7 @@
|
|
|
5790
5884
|
},
|
|
5791
5885
|
"hasDynamicHelp": false,
|
|
5792
5886
|
"hiddenAliases": [],
|
|
5793
|
-
"id": "
|
|
5887
|
+
"id": "tenant:cluster:delete",
|
|
5794
5888
|
"pluginAlias": "@xano/cli",
|
|
5795
5889
|
"pluginName": "@xano/cli",
|
|
5796
5890
|
"pluginType": "core",
|
|
@@ -5800,24 +5894,25 @@
|
|
|
5800
5894
|
"relativePath": [
|
|
5801
5895
|
"dist",
|
|
5802
5896
|
"commands",
|
|
5803
|
-
"
|
|
5804
|
-
"
|
|
5897
|
+
"tenant",
|
|
5898
|
+
"cluster",
|
|
5899
|
+
"delete",
|
|
5805
5900
|
"index.js"
|
|
5806
5901
|
]
|
|
5807
5902
|
},
|
|
5808
|
-
"tenant:
|
|
5903
|
+
"tenant:cluster:get": {
|
|
5809
5904
|
"aliases": [],
|
|
5810
5905
|
"args": {
|
|
5811
|
-
"
|
|
5812
|
-
"description": "
|
|
5813
|
-
"name": "
|
|
5906
|
+
"cluster_id": {
|
|
5907
|
+
"description": "Cluster ID to retrieve",
|
|
5908
|
+
"name": "cluster_id",
|
|
5814
5909
|
"required": true
|
|
5815
5910
|
}
|
|
5816
5911
|
},
|
|
5817
|
-
"description": "
|
|
5912
|
+
"description": "Get details of a specific tenant cluster",
|
|
5818
5913
|
"examples": [
|
|
5819
|
-
"$ xano tenant
|
|
5820
|
-
"$ xano tenant
|
|
5914
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5915
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5821
5916
|
],
|
|
5822
5917
|
"flags": {
|
|
5823
5918
|
"profile": {
|
|
@@ -5830,33 +5925,14 @@
|
|
|
5830
5925
|
"multiple": false,
|
|
5831
5926
|
"type": "option"
|
|
5832
5927
|
},
|
|
5833
|
-
"verbose": {
|
|
5834
|
-
"char": "v",
|
|
5835
|
-
"description": "Show detailed request/response information",
|
|
5836
|
-
"env": "XANO_VERBOSE",
|
|
5837
|
-
"name": "verbose",
|
|
5838
|
-
"required": false,
|
|
5839
|
-
"allowNo": false,
|
|
5840
|
-
"type": "boolean"
|
|
5841
|
-
},
|
|
5842
|
-
"description": {
|
|
5843
|
-
"char": "d",
|
|
5844
|
-
"description": "Backup description",
|
|
5845
|
-
"name": "description",
|
|
5846
|
-
"required": false,
|
|
5847
|
-
"default": "",
|
|
5848
|
-
"hasDynamicHelp": false,
|
|
5849
|
-
"multiple": false,
|
|
5850
|
-
"type": "option"
|
|
5851
|
-
},
|
|
5852
|
-
"file": {
|
|
5853
|
-
"char": "f",
|
|
5854
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5855
|
-
"name": "file",
|
|
5856
|
-
"required": true,
|
|
5857
|
-
"hasDynamicHelp": false,
|
|
5858
|
-
"multiple": false,
|
|
5859
|
-
"type": "option"
|
|
5928
|
+
"verbose": {
|
|
5929
|
+
"char": "v",
|
|
5930
|
+
"description": "Show detailed request/response information",
|
|
5931
|
+
"env": "XANO_VERBOSE",
|
|
5932
|
+
"name": "verbose",
|
|
5933
|
+
"required": false,
|
|
5934
|
+
"allowNo": false,
|
|
5935
|
+
"type": "boolean"
|
|
5860
5936
|
},
|
|
5861
5937
|
"output": {
|
|
5862
5938
|
"char": "o",
|
|
@@ -5871,20 +5947,11 @@
|
|
|
5871
5947
|
"json"
|
|
5872
5948
|
],
|
|
5873
5949
|
"type": "option"
|
|
5874
|
-
},
|
|
5875
|
-
"workspace": {
|
|
5876
|
-
"char": "w",
|
|
5877
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5878
|
-
"name": "workspace",
|
|
5879
|
-
"required": false,
|
|
5880
|
-
"hasDynamicHelp": false,
|
|
5881
|
-
"multiple": false,
|
|
5882
|
-
"type": "option"
|
|
5883
5950
|
}
|
|
5884
5951
|
},
|
|
5885
5952
|
"hasDynamicHelp": false,
|
|
5886
5953
|
"hiddenAliases": [],
|
|
5887
|
-
"id": "tenant:
|
|
5954
|
+
"id": "tenant:cluster:get",
|
|
5888
5955
|
"pluginAlias": "@xano/cli",
|
|
5889
5956
|
"pluginName": "@xano/cli",
|
|
5890
5957
|
"pluginType": "core",
|
|
@@ -5895,8 +5962,8 @@
|
|
|
5895
5962
|
"dist",
|
|
5896
5963
|
"commands",
|
|
5897
5964
|
"tenant",
|
|
5898
|
-
"
|
|
5899
|
-
"
|
|
5965
|
+
"cluster",
|
|
5966
|
+
"get",
|
|
5900
5967
|
"index.js"
|
|
5901
5968
|
]
|
|
5902
5969
|
},
|
|
@@ -6005,19 +6072,20 @@
|
|
|
6005
6072
|
"index.js"
|
|
6006
6073
|
]
|
|
6007
6074
|
},
|
|
6008
|
-
"tenant:
|
|
6075
|
+
"tenant:env:delete": {
|
|
6009
6076
|
"aliases": [],
|
|
6010
6077
|
"args": {
|
|
6011
|
-
"
|
|
6012
|
-
"description": "
|
|
6013
|
-
"name": "
|
|
6078
|
+
"tenant_name": {
|
|
6079
|
+
"description": "Tenant name",
|
|
6080
|
+
"name": "tenant_name",
|
|
6014
6081
|
"required": true
|
|
6015
6082
|
}
|
|
6016
6083
|
},
|
|
6017
|
-
"description": "
|
|
6084
|
+
"description": "Delete an environment variable from a tenant",
|
|
6018
6085
|
"examples": [
|
|
6019
|
-
"$ xano tenant
|
|
6020
|
-
"$ xano tenant
|
|
6086
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6087
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6088
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6021
6089
|
],
|
|
6022
6090
|
"flags": {
|
|
6023
6091
|
"profile": {
|
|
@@ -6039,6 +6107,23 @@
|
|
|
6039
6107
|
"allowNo": false,
|
|
6040
6108
|
"type": "boolean"
|
|
6041
6109
|
},
|
|
6110
|
+
"force": {
|
|
6111
|
+
"char": "f",
|
|
6112
|
+
"description": "Skip confirmation prompt",
|
|
6113
|
+
"name": "force",
|
|
6114
|
+
"required": false,
|
|
6115
|
+
"allowNo": false,
|
|
6116
|
+
"type": "boolean"
|
|
6117
|
+
},
|
|
6118
|
+
"name": {
|
|
6119
|
+
"char": "n",
|
|
6120
|
+
"description": "Environment variable name",
|
|
6121
|
+
"name": "name",
|
|
6122
|
+
"required": true,
|
|
6123
|
+
"hasDynamicHelp": false,
|
|
6124
|
+
"multiple": false,
|
|
6125
|
+
"type": "option"
|
|
6126
|
+
},
|
|
6042
6127
|
"output": {
|
|
6043
6128
|
"char": "o",
|
|
6044
6129
|
"description": "Output format",
|
|
@@ -6052,11 +6137,20 @@
|
|
|
6052
6137
|
"json"
|
|
6053
6138
|
],
|
|
6054
6139
|
"type": "option"
|
|
6140
|
+
},
|
|
6141
|
+
"workspace": {
|
|
6142
|
+
"char": "w",
|
|
6143
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6144
|
+
"name": "workspace",
|
|
6145
|
+
"required": false,
|
|
6146
|
+
"hasDynamicHelp": false,
|
|
6147
|
+
"multiple": false,
|
|
6148
|
+
"type": "option"
|
|
6055
6149
|
}
|
|
6056
6150
|
},
|
|
6057
6151
|
"hasDynamicHelp": false,
|
|
6058
6152
|
"hiddenAliases": [],
|
|
6059
|
-
"id": "tenant:
|
|
6153
|
+
"id": "tenant:env:delete",
|
|
6060
6154
|
"pluginAlias": "@xano/cli",
|
|
6061
6155
|
"pluginName": "@xano/cli",
|
|
6062
6156
|
"pluginType": "core",
|
|
@@ -6067,25 +6161,18 @@
|
|
|
6067
6161
|
"dist",
|
|
6068
6162
|
"commands",
|
|
6069
6163
|
"tenant",
|
|
6070
|
-
"
|
|
6071
|
-
"
|
|
6164
|
+
"env",
|
|
6165
|
+
"delete",
|
|
6072
6166
|
"index.js"
|
|
6073
6167
|
]
|
|
6074
6168
|
},
|
|
6075
|
-
"tenant:
|
|
6169
|
+
"tenant:cluster:list": {
|
|
6076
6170
|
"aliases": [],
|
|
6077
|
-
"args": {
|
|
6078
|
-
|
|
6079
|
-
"description": "Tenant name",
|
|
6080
|
-
"name": "tenant_name",
|
|
6081
|
-
"required": true
|
|
6082
|
-
}
|
|
6083
|
-
},
|
|
6084
|
-
"description": "Delete an environment variable from a tenant",
|
|
6171
|
+
"args": {},
|
|
6172
|
+
"description": "List all tenant clusters",
|
|
6085
6173
|
"examples": [
|
|
6086
|
-
"$ xano tenant
|
|
6087
|
-
"$ xano tenant
|
|
6088
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6174
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6175
|
+
"$ xano tenant cluster list --output json"
|
|
6089
6176
|
],
|
|
6090
6177
|
"flags": {
|
|
6091
6178
|
"profile": {
|
|
@@ -6107,23 +6194,6 @@
|
|
|
6107
6194
|
"allowNo": false,
|
|
6108
6195
|
"type": "boolean"
|
|
6109
6196
|
},
|
|
6110
|
-
"force": {
|
|
6111
|
-
"char": "f",
|
|
6112
|
-
"description": "Skip confirmation prompt",
|
|
6113
|
-
"name": "force",
|
|
6114
|
-
"required": false,
|
|
6115
|
-
"allowNo": false,
|
|
6116
|
-
"type": "boolean"
|
|
6117
|
-
},
|
|
6118
|
-
"name": {
|
|
6119
|
-
"char": "n",
|
|
6120
|
-
"description": "Environment variable name",
|
|
6121
|
-
"name": "name",
|
|
6122
|
-
"required": true,
|
|
6123
|
-
"hasDynamicHelp": false,
|
|
6124
|
-
"multiple": false,
|
|
6125
|
-
"type": "option"
|
|
6126
|
-
},
|
|
6127
6197
|
"output": {
|
|
6128
6198
|
"char": "o",
|
|
6129
6199
|
"description": "Output format",
|
|
@@ -6137,20 +6207,11 @@
|
|
|
6137
6207
|
"json"
|
|
6138
6208
|
],
|
|
6139
6209
|
"type": "option"
|
|
6140
|
-
},
|
|
6141
|
-
"workspace": {
|
|
6142
|
-
"char": "w",
|
|
6143
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6144
|
-
"name": "workspace",
|
|
6145
|
-
"required": false,
|
|
6146
|
-
"hasDynamicHelp": false,
|
|
6147
|
-
"multiple": false,
|
|
6148
|
-
"type": "option"
|
|
6149
6210
|
}
|
|
6150
6211
|
},
|
|
6151
6212
|
"hasDynamicHelp": false,
|
|
6152
6213
|
"hiddenAliases": [],
|
|
6153
|
-
"id": "tenant:
|
|
6214
|
+
"id": "tenant:cluster:list",
|
|
6154
6215
|
"pluginAlias": "@xano/cli",
|
|
6155
6216
|
"pluginName": "@xano/cli",
|
|
6156
6217
|
"pluginType": "core",
|
|
@@ -6161,12 +6222,12 @@
|
|
|
6161
6222
|
"dist",
|
|
6162
6223
|
"commands",
|
|
6163
6224
|
"tenant",
|
|
6164
|
-
"
|
|
6165
|
-
"
|
|
6225
|
+
"cluster",
|
|
6226
|
+
"list",
|
|
6166
6227
|
"index.js"
|
|
6167
6228
|
]
|
|
6168
6229
|
},
|
|
6169
|
-
"tenant:env:
|
|
6230
|
+
"tenant:env:set": {
|
|
6170
6231
|
"aliases": [],
|
|
6171
6232
|
"args": {
|
|
6172
6233
|
"tenant_name": {
|
|
@@ -6175,12 +6236,10 @@
|
|
|
6175
6236
|
"required": true
|
|
6176
6237
|
}
|
|
6177
6238
|
},
|
|
6178
|
-
"description": "
|
|
6239
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6179
6240
|
"examples": [
|
|
6180
|
-
"$ xano tenant env
|
|
6181
|
-
"$ xano tenant env
|
|
6182
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6183
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6241
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6242
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6184
6243
|
],
|
|
6185
6244
|
"flags": {
|
|
6186
6245
|
"profile": {
|
|
@@ -6202,11 +6261,11 @@
|
|
|
6202
6261
|
"allowNo": false,
|
|
6203
6262
|
"type": "boolean"
|
|
6204
6263
|
},
|
|
6205
|
-
"
|
|
6206
|
-
"char": "
|
|
6207
|
-
"description": "
|
|
6208
|
-
"name": "
|
|
6209
|
-
"required":
|
|
6264
|
+
"name": {
|
|
6265
|
+
"char": "n",
|
|
6266
|
+
"description": "Environment variable name",
|
|
6267
|
+
"name": "name",
|
|
6268
|
+
"required": true,
|
|
6210
6269
|
"hasDynamicHelp": false,
|
|
6211
6270
|
"multiple": false,
|
|
6212
6271
|
"type": "option"
|
|
@@ -6225,12 +6284,13 @@
|
|
|
6225
6284
|
],
|
|
6226
6285
|
"type": "option"
|
|
6227
6286
|
},
|
|
6228
|
-
"
|
|
6229
|
-
"description": "
|
|
6230
|
-
"name": "
|
|
6231
|
-
"required":
|
|
6232
|
-
"
|
|
6233
|
-
"
|
|
6287
|
+
"value": {
|
|
6288
|
+
"description": "Environment variable value",
|
|
6289
|
+
"name": "value",
|
|
6290
|
+
"required": true,
|
|
6291
|
+
"hasDynamicHelp": false,
|
|
6292
|
+
"multiple": false,
|
|
6293
|
+
"type": "option"
|
|
6234
6294
|
},
|
|
6235
6295
|
"workspace": {
|
|
6236
6296
|
"char": "w",
|
|
@@ -6244,7 +6304,7 @@
|
|
|
6244
6304
|
},
|
|
6245
6305
|
"hasDynamicHelp": false,
|
|
6246
6306
|
"hiddenAliases": [],
|
|
6247
|
-
"id": "tenant:env:
|
|
6307
|
+
"id": "tenant:env:set",
|
|
6248
6308
|
"pluginAlias": "@xano/cli",
|
|
6249
6309
|
"pluginName": "@xano/cli",
|
|
6250
6310
|
"pluginType": "core",
|
|
@@ -6256,7 +6316,7 @@
|
|
|
6256
6316
|
"commands",
|
|
6257
6317
|
"tenant",
|
|
6258
6318
|
"env",
|
|
6259
|
-
"
|
|
6319
|
+
"set",
|
|
6260
6320
|
"index.js"
|
|
6261
6321
|
]
|
|
6262
6322
|
},
|
|
@@ -6345,7 +6405,7 @@
|
|
|
6345
6405
|
"index.js"
|
|
6346
6406
|
]
|
|
6347
6407
|
},
|
|
6348
|
-
"tenant:env:
|
|
6408
|
+
"tenant:env:get_all": {
|
|
6349
6409
|
"aliases": [],
|
|
6350
6410
|
"args": {
|
|
6351
6411
|
"tenant_name": {
|
|
@@ -6354,10 +6414,12 @@
|
|
|
6354
6414
|
"required": true
|
|
6355
6415
|
}
|
|
6356
6416
|
},
|
|
6357
|
-
"description": "
|
|
6417
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6358
6418
|
"examples": [
|
|
6359
|
-
"$ xano tenant env
|
|
6360
|
-
"$ xano tenant env
|
|
6419
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6420
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6421
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6422
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6361
6423
|
],
|
|
6362
6424
|
"flags": {
|
|
6363
6425
|
"profile": {
|
|
@@ -6379,6 +6441,15 @@
|
|
|
6379
6441
|
"allowNo": false,
|
|
6380
6442
|
"type": "boolean"
|
|
6381
6443
|
},
|
|
6444
|
+
"file": {
|
|
6445
|
+
"char": "f",
|
|
6446
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6447
|
+
"name": "file",
|
|
6448
|
+
"required": false,
|
|
6449
|
+
"hasDynamicHelp": false,
|
|
6450
|
+
"multiple": false,
|
|
6451
|
+
"type": "option"
|
|
6452
|
+
},
|
|
6382
6453
|
"output": {
|
|
6383
6454
|
"char": "o",
|
|
6384
6455
|
"description": "Output format",
|
|
@@ -6393,6 +6464,13 @@
|
|
|
6393
6464
|
],
|
|
6394
6465
|
"type": "option"
|
|
6395
6466
|
},
|
|
6467
|
+
"view": {
|
|
6468
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6469
|
+
"name": "view",
|
|
6470
|
+
"required": false,
|
|
6471
|
+
"allowNo": false,
|
|
6472
|
+
"type": "boolean"
|
|
6473
|
+
},
|
|
6396
6474
|
"workspace": {
|
|
6397
6475
|
"char": "w",
|
|
6398
6476
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6405,7 +6483,7 @@
|
|
|
6405
6483
|
},
|
|
6406
6484
|
"hasDynamicHelp": false,
|
|
6407
6485
|
"hiddenAliases": [],
|
|
6408
|
-
"id": "tenant:env:
|
|
6486
|
+
"id": "tenant:env:get_all",
|
|
6409
6487
|
"pluginAlias": "@xano/cli",
|
|
6410
6488
|
"pluginName": "@xano/cli",
|
|
6411
6489
|
"pluginType": "core",
|
|
@@ -6417,11 +6495,11 @@
|
|
|
6417
6495
|
"commands",
|
|
6418
6496
|
"tenant",
|
|
6419
6497
|
"env",
|
|
6420
|
-
"
|
|
6498
|
+
"get_all",
|
|
6421
6499
|
"index.js"
|
|
6422
6500
|
]
|
|
6423
6501
|
},
|
|
6424
|
-
"tenant:env:
|
|
6502
|
+
"tenant:env:set_all": {
|
|
6425
6503
|
"aliases": [],
|
|
6426
6504
|
"args": {
|
|
6427
6505
|
"tenant_name": {
|
|
@@ -6430,10 +6508,11 @@
|
|
|
6430
6508
|
"required": true
|
|
6431
6509
|
}
|
|
6432
6510
|
},
|
|
6433
|
-
"description": "Set
|
|
6511
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6434
6512
|
"examples": [
|
|
6435
|
-
"$ xano tenant env
|
|
6436
|
-
"$ xano tenant env
|
|
6513
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6514
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6515
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6437
6516
|
],
|
|
6438
6517
|
"flags": {
|
|
6439
6518
|
"profile": {
|
|
@@ -6455,11 +6534,18 @@
|
|
|
6455
6534
|
"allowNo": false,
|
|
6456
6535
|
"type": "boolean"
|
|
6457
6536
|
},
|
|
6458
|
-
"
|
|
6459
|
-
"
|
|
6460
|
-
"
|
|
6461
|
-
"
|
|
6462
|
-
"
|
|
6537
|
+
"clean": {
|
|
6538
|
+
"description": "Remove the source file after successful upload",
|
|
6539
|
+
"name": "clean",
|
|
6540
|
+
"required": false,
|
|
6541
|
+
"allowNo": false,
|
|
6542
|
+
"type": "boolean"
|
|
6543
|
+
},
|
|
6544
|
+
"file": {
|
|
6545
|
+
"char": "f",
|
|
6546
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6547
|
+
"name": "file",
|
|
6548
|
+
"required": false,
|
|
6463
6549
|
"hasDynamicHelp": false,
|
|
6464
6550
|
"multiple": false,
|
|
6465
6551
|
"type": "option"
|
|
@@ -6478,14 +6564,6 @@
|
|
|
6478
6564
|
],
|
|
6479
6565
|
"type": "option"
|
|
6480
6566
|
},
|
|
6481
|
-
"value": {
|
|
6482
|
-
"description": "Environment variable value",
|
|
6483
|
-
"name": "value",
|
|
6484
|
-
"required": true,
|
|
6485
|
-
"hasDynamicHelp": false,
|
|
6486
|
-
"multiple": false,
|
|
6487
|
-
"type": "option"
|
|
6488
|
-
},
|
|
6489
6567
|
"workspace": {
|
|
6490
6568
|
"char": "w",
|
|
6491
6569
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6498,7 +6576,7 @@
|
|
|
6498
6576
|
},
|
|
6499
6577
|
"hasDynamicHelp": false,
|
|
6500
6578
|
"hiddenAliases": [],
|
|
6501
|
-
"id": "tenant:env:
|
|
6579
|
+
"id": "tenant:env:set_all",
|
|
6502
6580
|
"pluginAlias": "@xano/cli",
|
|
6503
6581
|
"pluginName": "@xano/cli",
|
|
6504
6582
|
"pluginType": "core",
|
|
@@ -6510,11 +6588,11 @@
|
|
|
6510
6588
|
"commands",
|
|
6511
6589
|
"tenant",
|
|
6512
6590
|
"env",
|
|
6513
|
-
"
|
|
6591
|
+
"set_all",
|
|
6514
6592
|
"index.js"
|
|
6515
6593
|
]
|
|
6516
6594
|
},
|
|
6517
|
-
"tenant:env:
|
|
6595
|
+
"tenant:env:list": {
|
|
6518
6596
|
"aliases": [],
|
|
6519
6597
|
"args": {
|
|
6520
6598
|
"tenant_name": {
|
|
@@ -6523,11 +6601,10 @@
|
|
|
6523
6601
|
"required": true
|
|
6524
6602
|
}
|
|
6525
6603
|
},
|
|
6526
|
-
"description": "
|
|
6604
|
+
"description": "List environment variable keys for a tenant",
|
|
6527
6605
|
"examples": [
|
|
6528
|
-
"$ xano tenant env
|
|
6529
|
-
"$ xano tenant env
|
|
6530
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6606
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6607
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6531
6608
|
],
|
|
6532
6609
|
"flags": {
|
|
6533
6610
|
"profile": {
|
|
@@ -6546,24 +6623,8 @@
|
|
|
6546
6623
|
"env": "XANO_VERBOSE",
|
|
6547
6624
|
"name": "verbose",
|
|
6548
6625
|
"required": false,
|
|
6549
|
-
"allowNo": false,
|
|
6550
|
-
"type": "boolean"
|
|
6551
|
-
},
|
|
6552
|
-
"clean": {
|
|
6553
|
-
"description": "Remove the source file after successful upload",
|
|
6554
|
-
"name": "clean",
|
|
6555
|
-
"required": false,
|
|
6556
|
-
"allowNo": false,
|
|
6557
|
-
"type": "boolean"
|
|
6558
|
-
},
|
|
6559
|
-
"file": {
|
|
6560
|
-
"char": "f",
|
|
6561
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6562
|
-
"name": "file",
|
|
6563
|
-
"required": false,
|
|
6564
|
-
"hasDynamicHelp": false,
|
|
6565
|
-
"multiple": false,
|
|
6566
|
-
"type": "option"
|
|
6626
|
+
"allowNo": false,
|
|
6627
|
+
"type": "boolean"
|
|
6567
6628
|
},
|
|
6568
6629
|
"output": {
|
|
6569
6630
|
"char": "o",
|
|
@@ -6591,7 +6652,7 @@
|
|
|
6591
6652
|
},
|
|
6592
6653
|
"hasDynamicHelp": false,
|
|
6593
6654
|
"hiddenAliases": [],
|
|
6594
|
-
"id": "tenant:env:
|
|
6655
|
+
"id": "tenant:env:list",
|
|
6595
6656
|
"pluginAlias": "@xano/cli",
|
|
6596
6657
|
"pluginName": "@xano/cli",
|
|
6597
6658
|
"pluginType": "core",
|
|
@@ -6603,7 +6664,7 @@
|
|
|
6603
6664
|
"commands",
|
|
6604
6665
|
"tenant",
|
|
6605
6666
|
"env",
|
|
6606
|
-
"
|
|
6667
|
+
"list",
|
|
6607
6668
|
"index.js"
|
|
6608
6669
|
]
|
|
6609
6670
|
},
|
|
@@ -6813,24 +6874,21 @@
|
|
|
6813
6874
|
"index.js"
|
|
6814
6875
|
]
|
|
6815
6876
|
},
|
|
6816
|
-
"
|
|
6877
|
+
"tenant:cluster:license:set": {
|
|
6817
6878
|
"aliases": [],
|
|
6818
6879
|
"args": {
|
|
6819
|
-
"
|
|
6820
|
-
"description": "
|
|
6821
|
-
"name": "
|
|
6880
|
+
"cluster_id": {
|
|
6881
|
+
"description": "Tenant cluster ID",
|
|
6882
|
+
"name": "cluster_id",
|
|
6822
6883
|
"required": true
|
|
6823
6884
|
}
|
|
6824
6885
|
},
|
|
6825
|
-
"description": "
|
|
6886
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
6826
6887
|
"examples": [
|
|
6827
|
-
"$ xano
|
|
6828
|
-
"$ xano
|
|
6829
|
-
"$ xano
|
|
6830
|
-
"$ xano
|
|
6831
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6832
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6833
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6888
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
6889
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
6890
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
6891
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
6834
6892
|
],
|
|
6835
6893
|
"flags": {
|
|
6836
6894
|
"profile": {
|
|
@@ -6852,89 +6910,28 @@
|
|
|
6852
6910
|
"allowNo": false,
|
|
6853
6911
|
"type": "boolean"
|
|
6854
6912
|
},
|
|
6855
|
-
"
|
|
6856
|
-
"
|
|
6857
|
-
"
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
"
|
|
6861
|
-
"multiple": false,
|
|
6862
|
-
"type": "option"
|
|
6863
|
-
},
|
|
6864
|
-
"path": {
|
|
6865
|
-
"description": "Subdirectory within the repo to import from",
|
|
6866
|
-
"name": "path",
|
|
6913
|
+
"clean": {
|
|
6914
|
+
"description": "Remove the source file after successful upload",
|
|
6915
|
+
"exclusive": [
|
|
6916
|
+
"value"
|
|
6917
|
+
],
|
|
6918
|
+
"name": "clean",
|
|
6867
6919
|
"required": false,
|
|
6868
|
-
"
|
|
6869
|
-
"
|
|
6870
|
-
"type": "option"
|
|
6871
|
-
},
|
|
6872
|
-
"repo": {
|
|
6873
|
-
"char": "r",
|
|
6874
|
-
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6875
|
-
"name": "repo",
|
|
6876
|
-
"required": true,
|
|
6877
|
-
"hasDynamicHelp": false,
|
|
6878
|
-
"multiple": false,
|
|
6879
|
-
"type": "option"
|
|
6920
|
+
"allowNo": false,
|
|
6921
|
+
"type": "boolean"
|
|
6880
6922
|
},
|
|
6881
|
-
"
|
|
6882
|
-
"char": "
|
|
6883
|
-
"description": "
|
|
6884
|
-
"
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
"
|
|
6888
|
-
"multiple": false,
|
|
6889
|
-
"type": "option"
|
|
6890
|
-
}
|
|
6891
|
-
},
|
|
6892
|
-
"hasDynamicHelp": false,
|
|
6893
|
-
"hiddenAliases": [],
|
|
6894
|
-
"id": "workspace:git:pull",
|
|
6895
|
-
"pluginAlias": "@xano/cli",
|
|
6896
|
-
"pluginName": "@xano/cli",
|
|
6897
|
-
"pluginType": "core",
|
|
6898
|
-
"strict": true,
|
|
6899
|
-
"enableJsonFlag": false,
|
|
6900
|
-
"isESM": true,
|
|
6901
|
-
"relativePath": [
|
|
6902
|
-
"dist",
|
|
6903
|
-
"commands",
|
|
6904
|
-
"workspace",
|
|
6905
|
-
"git",
|
|
6906
|
-
"pull",
|
|
6907
|
-
"index.js"
|
|
6908
|
-
]
|
|
6909
|
-
},
|
|
6910
|
-
"tenant:cluster:list": {
|
|
6911
|
-
"aliases": [],
|
|
6912
|
-
"args": {},
|
|
6913
|
-
"description": "List all tenant clusters",
|
|
6914
|
-
"examples": [
|
|
6915
|
-
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6916
|
-
"$ xano tenant cluster list --output json"
|
|
6917
|
-
],
|
|
6918
|
-
"flags": {
|
|
6919
|
-
"profile": {
|
|
6920
|
-
"char": "p",
|
|
6921
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6922
|
-
"env": "XANO_PROFILE",
|
|
6923
|
-
"name": "profile",
|
|
6923
|
+
"file": {
|
|
6924
|
+
"char": "f",
|
|
6925
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
6926
|
+
"exclusive": [
|
|
6927
|
+
"value"
|
|
6928
|
+
],
|
|
6929
|
+
"name": "file",
|
|
6924
6930
|
"required": false,
|
|
6925
6931
|
"hasDynamicHelp": false,
|
|
6926
6932
|
"multiple": false,
|
|
6927
6933
|
"type": "option"
|
|
6928
6934
|
},
|
|
6929
|
-
"verbose": {
|
|
6930
|
-
"char": "v",
|
|
6931
|
-
"description": "Show detailed request/response information",
|
|
6932
|
-
"env": "XANO_VERBOSE",
|
|
6933
|
-
"name": "verbose",
|
|
6934
|
-
"required": false,
|
|
6935
|
-
"allowNo": false,
|
|
6936
|
-
"type": "boolean"
|
|
6937
|
-
},
|
|
6938
6935
|
"output": {
|
|
6939
6936
|
"char": "o",
|
|
6940
6937
|
"description": "Output format",
|
|
@@ -6948,11 +6945,23 @@
|
|
|
6948
6945
|
"json"
|
|
6949
6946
|
],
|
|
6950
6947
|
"type": "option"
|
|
6948
|
+
},
|
|
6949
|
+
"value": {
|
|
6950
|
+
"description": "Inline kubeconfig YAML value",
|
|
6951
|
+
"exclusive": [
|
|
6952
|
+
"file",
|
|
6953
|
+
"clean"
|
|
6954
|
+
],
|
|
6955
|
+
"name": "value",
|
|
6956
|
+
"required": false,
|
|
6957
|
+
"hasDynamicHelp": false,
|
|
6958
|
+
"multiple": false,
|
|
6959
|
+
"type": "option"
|
|
6951
6960
|
}
|
|
6952
6961
|
},
|
|
6953
6962
|
"hasDynamicHelp": false,
|
|
6954
6963
|
"hiddenAliases": [],
|
|
6955
|
-
"id": "tenant:cluster:
|
|
6964
|
+
"id": "tenant:cluster:license:set",
|
|
6956
6965
|
"pluginAlias": "@xano/cli",
|
|
6957
6966
|
"pluginName": "@xano/cli",
|
|
6958
6967
|
"pluginType": "core",
|
|
@@ -6964,25 +6973,29 @@
|
|
|
6964
6973
|
"commands",
|
|
6965
6974
|
"tenant",
|
|
6966
6975
|
"cluster",
|
|
6967
|
-
"
|
|
6976
|
+
"license",
|
|
6977
|
+
"set",
|
|
6968
6978
|
"index.js"
|
|
6969
6979
|
]
|
|
6970
6980
|
},
|
|
6971
|
-
"
|
|
6981
|
+
"workspace:git:pull": {
|
|
6972
6982
|
"aliases": [],
|
|
6973
6983
|
"args": {
|
|
6974
|
-
"
|
|
6975
|
-
"description": "
|
|
6976
|
-
"name": "
|
|
6984
|
+
"directory": {
|
|
6985
|
+
"description": "Output directory for imported files",
|
|
6986
|
+
"name": "directory",
|
|
6977
6987
|
"required": true
|
|
6978
6988
|
}
|
|
6979
6989
|
},
|
|
6980
|
-
"description": "
|
|
6990
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6981
6991
|
"examples": [
|
|
6982
|
-
"$ xano
|
|
6983
|
-
"$ xano
|
|
6984
|
-
"$ xano
|
|
6985
|
-
"$ xano
|
|
6992
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6993
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6994
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6995
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6996
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6997
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6998
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6986
6999
|
],
|
|
6987
7000
|
"flags": {
|
|
6988
7001
|
"profile": {
|
|
@@ -7004,40 +7017,46 @@
|
|
|
7004
7017
|
"allowNo": false,
|
|
7005
7018
|
"type": "boolean"
|
|
7006
7019
|
},
|
|
7007
|
-
"
|
|
7008
|
-
"char": "
|
|
7009
|
-
"description": "
|
|
7010
|
-
"name": "
|
|
7020
|
+
"branch": {
|
|
7021
|
+
"char": "b",
|
|
7022
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
7023
|
+
"name": "branch",
|
|
7011
7024
|
"required": false,
|
|
7012
7025
|
"hasDynamicHelp": false,
|
|
7013
7026
|
"multiple": false,
|
|
7014
7027
|
"type": "option"
|
|
7015
7028
|
},
|
|
7016
|
-
"
|
|
7017
|
-
"
|
|
7018
|
-
"
|
|
7019
|
-
"name": "output",
|
|
7029
|
+
"path": {
|
|
7030
|
+
"description": "Subdirectory within the repo to import from",
|
|
7031
|
+
"name": "path",
|
|
7020
7032
|
"required": false,
|
|
7021
|
-
"default": "summary",
|
|
7022
7033
|
"hasDynamicHelp": false,
|
|
7023
7034
|
"multiple": false,
|
|
7024
|
-
"options": [
|
|
7025
|
-
"summary",
|
|
7026
|
-
"json"
|
|
7027
|
-
],
|
|
7028
7035
|
"type": "option"
|
|
7029
7036
|
},
|
|
7030
|
-
"
|
|
7031
|
-
"
|
|
7032
|
-
"
|
|
7037
|
+
"repo": {
|
|
7038
|
+
"char": "r",
|
|
7039
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
7040
|
+
"name": "repo",
|
|
7041
|
+
"required": true,
|
|
7042
|
+
"hasDynamicHelp": false,
|
|
7043
|
+
"multiple": false,
|
|
7044
|
+
"type": "option"
|
|
7045
|
+
},
|
|
7046
|
+
"token": {
|
|
7047
|
+
"char": "t",
|
|
7048
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
7049
|
+
"env": "GITHUB_TOKEN",
|
|
7050
|
+
"name": "token",
|
|
7033
7051
|
"required": false,
|
|
7034
|
-
"
|
|
7035
|
-
"
|
|
7052
|
+
"hasDynamicHelp": false,
|
|
7053
|
+
"multiple": false,
|
|
7054
|
+
"type": "option"
|
|
7036
7055
|
}
|
|
7037
7056
|
},
|
|
7038
7057
|
"hasDynamicHelp": false,
|
|
7039
7058
|
"hiddenAliases": [],
|
|
7040
|
-
"id": "
|
|
7059
|
+
"id": "workspace:git:pull",
|
|
7041
7060
|
"pluginAlias": "@xano/cli",
|
|
7042
7061
|
"pluginName": "@xano/cli",
|
|
7043
7062
|
"pluginType": "core",
|
|
@@ -7047,14 +7066,13 @@
|
|
|
7047
7066
|
"relativePath": [
|
|
7048
7067
|
"dist",
|
|
7049
7068
|
"commands",
|
|
7050
|
-
"
|
|
7051
|
-
"
|
|
7052
|
-
"
|
|
7053
|
-
"get",
|
|
7069
|
+
"workspace",
|
|
7070
|
+
"git",
|
|
7071
|
+
"pull",
|
|
7054
7072
|
"index.js"
|
|
7055
7073
|
]
|
|
7056
7074
|
},
|
|
7057
|
-
"tenant:cluster:license:
|
|
7075
|
+
"tenant:cluster:license:get": {
|
|
7058
7076
|
"aliases": [],
|
|
7059
7077
|
"args": {
|
|
7060
7078
|
"cluster_id": {
|
|
@@ -7063,12 +7081,12 @@
|
|
|
7063
7081
|
"required": true
|
|
7064
7082
|
}
|
|
7065
7083
|
},
|
|
7066
|
-
"description": "
|
|
7084
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
7067
7085
|
"examples": [
|
|
7068
|
-
"$ xano tenant cluster license
|
|
7069
|
-
"$ xano tenant cluster license
|
|
7070
|
-
"$ xano tenant cluster license
|
|
7071
|
-
"$ xano tenant cluster license
|
|
7086
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
7087
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
7088
|
+
"$ xano tenant cluster license get 1 --view",
|
|
7089
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
7072
7090
|
],
|
|
7073
7091
|
"flags": {
|
|
7074
7092
|
"profile": {
|
|
@@ -7090,22 +7108,9 @@
|
|
|
7090
7108
|
"allowNo": false,
|
|
7091
7109
|
"type": "boolean"
|
|
7092
7110
|
},
|
|
7093
|
-
"clean": {
|
|
7094
|
-
"description": "Remove the source file after successful upload",
|
|
7095
|
-
"exclusive": [
|
|
7096
|
-
"value"
|
|
7097
|
-
],
|
|
7098
|
-
"name": "clean",
|
|
7099
|
-
"required": false,
|
|
7100
|
-
"allowNo": false,
|
|
7101
|
-
"type": "boolean"
|
|
7102
|
-
},
|
|
7103
7111
|
"file": {
|
|
7104
7112
|
"char": "f",
|
|
7105
|
-
"description": "
|
|
7106
|
-
"exclusive": [
|
|
7107
|
-
"value"
|
|
7108
|
-
],
|
|
7113
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
7109
7114
|
"name": "file",
|
|
7110
7115
|
"required": false,
|
|
7111
7116
|
"hasDynamicHelp": false,
|
|
@@ -7126,22 +7131,17 @@
|
|
|
7126
7131
|
],
|
|
7127
7132
|
"type": "option"
|
|
7128
7133
|
},
|
|
7129
|
-
"
|
|
7130
|
-
"description": "
|
|
7131
|
-
"
|
|
7132
|
-
"file",
|
|
7133
|
-
"clean"
|
|
7134
|
-
],
|
|
7135
|
-
"name": "value",
|
|
7134
|
+
"view": {
|
|
7135
|
+
"description": "Print license to stdout instead of saving to file",
|
|
7136
|
+
"name": "view",
|
|
7136
7137
|
"required": false,
|
|
7137
|
-
"
|
|
7138
|
-
"
|
|
7139
|
-
"type": "option"
|
|
7138
|
+
"allowNo": false,
|
|
7139
|
+
"type": "boolean"
|
|
7140
7140
|
}
|
|
7141
7141
|
},
|
|
7142
7142
|
"hasDynamicHelp": false,
|
|
7143
7143
|
"hiddenAliases": [],
|
|
7144
|
-
"id": "tenant:cluster:license:
|
|
7144
|
+
"id": "tenant:cluster:license:get",
|
|
7145
7145
|
"pluginAlias": "@xano/cli",
|
|
7146
7146
|
"pluginName": "@xano/cli",
|
|
7147
7147
|
"pluginType": "core",
|
|
@@ -7154,10 +7154,10 @@
|
|
|
7154
7154
|
"tenant",
|
|
7155
7155
|
"cluster",
|
|
7156
7156
|
"license",
|
|
7157
|
-
"
|
|
7157
|
+
"get",
|
|
7158
7158
|
"index.js"
|
|
7159
7159
|
]
|
|
7160
7160
|
}
|
|
7161
7161
|
},
|
|
7162
|
-
"version": "0.0.
|
|
7162
|
+
"version": "0.0.85"
|
|
7163
7163
|
}
|