@xano/cli 0.0.52 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +1478 -1478
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -86,14 +86,20 @@
|
|
|
86
86
|
"index.js"
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
|
-
"branch:
|
|
89
|
+
"branch:edit": {
|
|
90
90
|
"aliases": [],
|
|
91
|
-
"args": {
|
|
92
|
-
|
|
91
|
+
"args": {
|
|
92
|
+
"branch_label": {
|
|
93
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
94
|
+
"name": "branch_label",
|
|
95
|
+
"required": true
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
93
99
|
"examples": [
|
|
94
|
-
"$ xano branch
|
|
95
|
-
"$ xano branch
|
|
96
|
-
"$ xano branch
|
|
100
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
101
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
102
|
+
"$ 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"
|
|
97
103
|
],
|
|
98
104
|
"flags": {
|
|
99
105
|
"profile": {
|
|
@@ -117,7 +123,7 @@
|
|
|
117
123
|
},
|
|
118
124
|
"color": {
|
|
119
125
|
"char": "c",
|
|
120
|
-
"description": "
|
|
126
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
121
127
|
"name": "color",
|
|
122
128
|
"required": false,
|
|
123
129
|
"hasDynamicHelp": false,
|
|
@@ -126,7 +132,7 @@
|
|
|
126
132
|
},
|
|
127
133
|
"description": {
|
|
128
134
|
"char": "d",
|
|
129
|
-
"description": "
|
|
135
|
+
"description": "New description for the branch",
|
|
130
136
|
"name": "description",
|
|
131
137
|
"required": false,
|
|
132
138
|
"hasDynamicHelp": false,
|
|
@@ -135,9 +141,9 @@
|
|
|
135
141
|
},
|
|
136
142
|
"label": {
|
|
137
143
|
"char": "l",
|
|
138
|
-
"description": "
|
|
144
|
+
"description": "New label for the branch",
|
|
139
145
|
"name": "label",
|
|
140
|
-
"required":
|
|
146
|
+
"required": false,
|
|
141
147
|
"hasDynamicHelp": false,
|
|
142
148
|
"multiple": false,
|
|
143
149
|
"type": "option"
|
|
@@ -156,16 +162,6 @@
|
|
|
156
162
|
],
|
|
157
163
|
"type": "option"
|
|
158
164
|
},
|
|
159
|
-
"source": {
|
|
160
|
-
"char": "s",
|
|
161
|
-
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
162
|
-
"name": "source",
|
|
163
|
-
"required": false,
|
|
164
|
-
"default": "v1",
|
|
165
|
-
"hasDynamicHelp": false,
|
|
166
|
-
"multiple": false,
|
|
167
|
-
"type": "option"
|
|
168
|
-
},
|
|
169
165
|
"workspace": {
|
|
170
166
|
"char": "w",
|
|
171
167
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -178,7 +174,7 @@
|
|
|
178
174
|
},
|
|
179
175
|
"hasDynamicHelp": false,
|
|
180
176
|
"hiddenAliases": [],
|
|
181
|
-
"id": "branch:
|
|
177
|
+
"id": "branch:edit",
|
|
182
178
|
"pluginAlias": "@xano/cli",
|
|
183
179
|
"pluginName": "@xano/cli",
|
|
184
180
|
"pluginType": "core",
|
|
@@ -189,24 +185,24 @@
|
|
|
189
185
|
"dist",
|
|
190
186
|
"commands",
|
|
191
187
|
"branch",
|
|
192
|
-
"
|
|
188
|
+
"edit",
|
|
193
189
|
"index.js"
|
|
194
190
|
]
|
|
195
191
|
},
|
|
196
|
-
"branch:
|
|
192
|
+
"branch:delete": {
|
|
197
193
|
"aliases": [],
|
|
198
194
|
"args": {
|
|
199
195
|
"branch_label": {
|
|
200
|
-
"description": "Branch label to
|
|
196
|
+
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
201
197
|
"name": "branch_label",
|
|
202
198
|
"required": true
|
|
203
199
|
}
|
|
204
200
|
},
|
|
205
|
-
"description": "
|
|
201
|
+
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
206
202
|
"examples": [
|
|
207
|
-
"$ xano branch
|
|
208
|
-
"$ xano branch
|
|
209
|
-
"$ xano branch
|
|
203
|
+
"$ xano branch delete feature-old\nAre you sure you want to delete branch 'feature-old'? This action cannot be undone. (y/N) y\nDeleted branch: feature-old\n",
|
|
204
|
+
"$ xano branch delete dev --force\nDeleted branch: dev\n",
|
|
205
|
+
"$ xano branch delete staging -f -o json\n{\n \"deleted\": true,\n \"branch_label\": \"staging\"\n}\n"
|
|
210
206
|
],
|
|
211
207
|
"flags": {
|
|
212
208
|
"profile": {
|
|
@@ -228,32 +224,13 @@
|
|
|
228
224
|
"allowNo": false,
|
|
229
225
|
"type": "boolean"
|
|
230
226
|
},
|
|
231
|
-
"
|
|
232
|
-
"char": "
|
|
233
|
-
"description": "
|
|
234
|
-
"name": "
|
|
235
|
-
"required": false,
|
|
236
|
-
"hasDynamicHelp": false,
|
|
237
|
-
"multiple": false,
|
|
238
|
-
"type": "option"
|
|
239
|
-
},
|
|
240
|
-
"description": {
|
|
241
|
-
"char": "d",
|
|
242
|
-
"description": "New description for the branch",
|
|
243
|
-
"name": "description",
|
|
244
|
-
"required": false,
|
|
245
|
-
"hasDynamicHelp": false,
|
|
246
|
-
"multiple": false,
|
|
247
|
-
"type": "option"
|
|
248
|
-
},
|
|
249
|
-
"label": {
|
|
250
|
-
"char": "l",
|
|
251
|
-
"description": "New label for the branch",
|
|
252
|
-
"name": "label",
|
|
227
|
+
"force": {
|
|
228
|
+
"char": "f",
|
|
229
|
+
"description": "Skip confirmation prompt",
|
|
230
|
+
"name": "force",
|
|
253
231
|
"required": false,
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"type": "option"
|
|
232
|
+
"allowNo": false,
|
|
233
|
+
"type": "boolean"
|
|
257
234
|
},
|
|
258
235
|
"output": {
|
|
259
236
|
"char": "o",
|
|
@@ -281,7 +258,7 @@
|
|
|
281
258
|
},
|
|
282
259
|
"hasDynamicHelp": false,
|
|
283
260
|
"hiddenAliases": [],
|
|
284
|
-
"id": "branch:
|
|
261
|
+
"id": "branch:delete",
|
|
285
262
|
"pluginAlias": "@xano/cli",
|
|
286
263
|
"pluginName": "@xano/cli",
|
|
287
264
|
"pluginType": "core",
|
|
@@ -292,7 +269,7 @@
|
|
|
292
269
|
"dist",
|
|
293
270
|
"commands",
|
|
294
271
|
"branch",
|
|
295
|
-
"
|
|
272
|
+
"delete",
|
|
296
273
|
"index.js"
|
|
297
274
|
]
|
|
298
275
|
},
|
|
@@ -372,20 +349,14 @@
|
|
|
372
349
|
"index.js"
|
|
373
350
|
]
|
|
374
351
|
},
|
|
375
|
-
"branch:
|
|
352
|
+
"branch:create": {
|
|
376
353
|
"aliases": [],
|
|
377
|
-
"args": {
|
|
378
|
-
|
|
379
|
-
"description": "Branch label to delete (cannot delete \"v1\" or the live branch)",
|
|
380
|
-
"name": "branch_label",
|
|
381
|
-
"required": true
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
"description": "Delete a branch (cannot delete \"v1\" or the live branch)",
|
|
354
|
+
"args": {},
|
|
355
|
+
"description": "Create a new branch by cloning from an existing branch",
|
|
385
356
|
"examples": [
|
|
386
|
-
"$ xano branch
|
|
387
|
-
"$ xano branch
|
|
388
|
-
"$ xano branch
|
|
357
|
+
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
358
|
+
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
359
|
+
"$ 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"
|
|
389
360
|
],
|
|
390
361
|
"flags": {
|
|
391
362
|
"profile": {
|
|
@@ -407,13 +378,32 @@
|
|
|
407
378
|
"allowNo": false,
|
|
408
379
|
"type": "boolean"
|
|
409
380
|
},
|
|
410
|
-
"
|
|
411
|
-
"char": "
|
|
412
|
-
"description": "
|
|
413
|
-
"name": "
|
|
381
|
+
"color": {
|
|
382
|
+
"char": "c",
|
|
383
|
+
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
384
|
+
"name": "color",
|
|
414
385
|
"required": false,
|
|
415
|
-
"
|
|
416
|
-
"
|
|
386
|
+
"hasDynamicHelp": false,
|
|
387
|
+
"multiple": false,
|
|
388
|
+
"type": "option"
|
|
389
|
+
},
|
|
390
|
+
"description": {
|
|
391
|
+
"char": "d",
|
|
392
|
+
"description": "Description for the new branch",
|
|
393
|
+
"name": "description",
|
|
394
|
+
"required": false,
|
|
395
|
+
"hasDynamicHelp": false,
|
|
396
|
+
"multiple": false,
|
|
397
|
+
"type": "option"
|
|
398
|
+
},
|
|
399
|
+
"label": {
|
|
400
|
+
"char": "l",
|
|
401
|
+
"description": "Label for the new branch",
|
|
402
|
+
"name": "label",
|
|
403
|
+
"required": true,
|
|
404
|
+
"hasDynamicHelp": false,
|
|
405
|
+
"multiple": false,
|
|
406
|
+
"type": "option"
|
|
417
407
|
},
|
|
418
408
|
"output": {
|
|
419
409
|
"char": "o",
|
|
@@ -429,6 +419,16 @@
|
|
|
429
419
|
],
|
|
430
420
|
"type": "option"
|
|
431
421
|
},
|
|
422
|
+
"source": {
|
|
423
|
+
"char": "s",
|
|
424
|
+
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
425
|
+
"name": "source",
|
|
426
|
+
"required": false,
|
|
427
|
+
"default": "v1",
|
|
428
|
+
"hasDynamicHelp": false,
|
|
429
|
+
"multiple": false,
|
|
430
|
+
"type": "option"
|
|
431
|
+
},
|
|
432
432
|
"workspace": {
|
|
433
433
|
"char": "w",
|
|
434
434
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
},
|
|
442
442
|
"hasDynamicHelp": false,
|
|
443
443
|
"hiddenAliases": [],
|
|
444
|
-
"id": "branch:
|
|
444
|
+
"id": "branch:create",
|
|
445
445
|
"pluginAlias": "@xano/cli",
|
|
446
446
|
"pluginName": "@xano/cli",
|
|
447
447
|
"pluginType": "core",
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
"dist",
|
|
453
453
|
"commands",
|
|
454
454
|
"branch",
|
|
455
|
-
"
|
|
455
|
+
"create",
|
|
456
456
|
"index.js"
|
|
457
457
|
]
|
|
458
458
|
},
|
|
@@ -673,6 +673,66 @@
|
|
|
673
673
|
"index.js"
|
|
674
674
|
]
|
|
675
675
|
},
|
|
676
|
+
"platform:list": {
|
|
677
|
+
"aliases": [],
|
|
678
|
+
"args": {},
|
|
679
|
+
"description": "List all platforms",
|
|
680
|
+
"examples": [
|
|
681
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
682
|
+
"$ xano platform list --output json"
|
|
683
|
+
],
|
|
684
|
+
"flags": {
|
|
685
|
+
"profile": {
|
|
686
|
+
"char": "p",
|
|
687
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
688
|
+
"env": "XANO_PROFILE",
|
|
689
|
+
"name": "profile",
|
|
690
|
+
"required": false,
|
|
691
|
+
"hasDynamicHelp": false,
|
|
692
|
+
"multiple": false,
|
|
693
|
+
"type": "option"
|
|
694
|
+
},
|
|
695
|
+
"verbose": {
|
|
696
|
+
"char": "v",
|
|
697
|
+
"description": "Show detailed request/response information",
|
|
698
|
+
"env": "XANO_VERBOSE",
|
|
699
|
+
"name": "verbose",
|
|
700
|
+
"required": false,
|
|
701
|
+
"allowNo": false,
|
|
702
|
+
"type": "boolean"
|
|
703
|
+
},
|
|
704
|
+
"output": {
|
|
705
|
+
"char": "o",
|
|
706
|
+
"description": "Output format",
|
|
707
|
+
"name": "output",
|
|
708
|
+
"required": false,
|
|
709
|
+
"default": "summary",
|
|
710
|
+
"hasDynamicHelp": false,
|
|
711
|
+
"multiple": false,
|
|
712
|
+
"options": [
|
|
713
|
+
"summary",
|
|
714
|
+
"json"
|
|
715
|
+
],
|
|
716
|
+
"type": "option"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"hasDynamicHelp": false,
|
|
720
|
+
"hiddenAliases": [],
|
|
721
|
+
"id": "platform:list",
|
|
722
|
+
"pluginAlias": "@xano/cli",
|
|
723
|
+
"pluginName": "@xano/cli",
|
|
724
|
+
"pluginType": "core",
|
|
725
|
+
"strict": true,
|
|
726
|
+
"enableJsonFlag": false,
|
|
727
|
+
"isESM": true,
|
|
728
|
+
"relativePath": [
|
|
729
|
+
"dist",
|
|
730
|
+
"commands",
|
|
731
|
+
"platform",
|
|
732
|
+
"list",
|
|
733
|
+
"index.js"
|
|
734
|
+
]
|
|
735
|
+
},
|
|
676
736
|
"function:create": {
|
|
677
737
|
"aliases": [],
|
|
678
738
|
"args": {},
|
|
@@ -992,52 +1052,79 @@
|
|
|
992
1052
|
"index.js"
|
|
993
1053
|
]
|
|
994
1054
|
},
|
|
995
|
-
"
|
|
1055
|
+
"profile:create": {
|
|
996
1056
|
"aliases": [],
|
|
997
|
-
"args": {
|
|
998
|
-
|
|
1057
|
+
"args": {
|
|
1058
|
+
"name": {
|
|
1059
|
+
"description": "Profile name",
|
|
1060
|
+
"name": "name",
|
|
1061
|
+
"required": true
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"description": "Create a new profile configuration",
|
|
999
1065
|
"examples": [
|
|
1000
|
-
"$ xano
|
|
1001
|
-
"$ xano
|
|
1066
|
+
"$ 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",
|
|
1067
|
+
"$ 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",
|
|
1068
|
+
"$ 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",
|
|
1069
|
+
"$ 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"
|
|
1002
1070
|
],
|
|
1003
1071
|
"flags": {
|
|
1004
|
-
"
|
|
1005
|
-
"char": "
|
|
1006
|
-
"description": "
|
|
1007
|
-
"
|
|
1008
|
-
"
|
|
1009
|
-
"required": false,
|
|
1072
|
+
"access_token": {
|
|
1073
|
+
"char": "t",
|
|
1074
|
+
"description": "Access token for the Xano Metadata API",
|
|
1075
|
+
"name": "access_token",
|
|
1076
|
+
"required": true,
|
|
1010
1077
|
"hasDynamicHelp": false,
|
|
1011
1078
|
"multiple": false,
|
|
1012
1079
|
"type": "option"
|
|
1013
1080
|
},
|
|
1014
|
-
"
|
|
1015
|
-
"char": "
|
|
1016
|
-
"description": "
|
|
1017
|
-
"
|
|
1018
|
-
"name": "verbose",
|
|
1081
|
+
"account_origin": {
|
|
1082
|
+
"char": "a",
|
|
1083
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1084
|
+
"name": "account_origin",
|
|
1019
1085
|
"required": false,
|
|
1020
|
-
"
|
|
1021
|
-
"
|
|
1086
|
+
"hasDynamicHelp": false,
|
|
1087
|
+
"multiple": false,
|
|
1088
|
+
"type": "option"
|
|
1022
1089
|
},
|
|
1023
|
-
"
|
|
1024
|
-
"char": "
|
|
1025
|
-
"description": "
|
|
1026
|
-
"name": "
|
|
1090
|
+
"branch": {
|
|
1091
|
+
"char": "b",
|
|
1092
|
+
"description": "Branch name",
|
|
1093
|
+
"name": "branch",
|
|
1094
|
+
"required": false,
|
|
1095
|
+
"hasDynamicHelp": false,
|
|
1096
|
+
"multiple": false,
|
|
1097
|
+
"type": "option"
|
|
1098
|
+
},
|
|
1099
|
+
"default": {
|
|
1100
|
+
"description": "Set this profile as the default",
|
|
1101
|
+
"name": "default",
|
|
1102
|
+
"required": false,
|
|
1103
|
+
"allowNo": false,
|
|
1104
|
+
"type": "boolean"
|
|
1105
|
+
},
|
|
1106
|
+
"instance_origin": {
|
|
1107
|
+
"char": "i",
|
|
1108
|
+
"description": "Instance origin URL",
|
|
1109
|
+
"name": "instance_origin",
|
|
1110
|
+
"required": true,
|
|
1111
|
+
"hasDynamicHelp": false,
|
|
1112
|
+
"multiple": false,
|
|
1113
|
+
"type": "option"
|
|
1114
|
+
},
|
|
1115
|
+
"workspace": {
|
|
1116
|
+
"char": "w",
|
|
1117
|
+
"description": "Workspace name",
|
|
1118
|
+
"name": "workspace",
|
|
1027
1119
|
"required": false,
|
|
1028
|
-
"default": "summary",
|
|
1029
1120
|
"hasDynamicHelp": false,
|
|
1030
1121
|
"multiple": false,
|
|
1031
|
-
"options": [
|
|
1032
|
-
"summary",
|
|
1033
|
-
"json"
|
|
1034
|
-
],
|
|
1035
1122
|
"type": "option"
|
|
1036
1123
|
}
|
|
1037
1124
|
},
|
|
1038
1125
|
"hasDynamicHelp": false,
|
|
1039
1126
|
"hiddenAliases": [],
|
|
1040
|
-
"id": "
|
|
1127
|
+
"id": "profile:create",
|
|
1041
1128
|
"pluginAlias": "@xano/cli",
|
|
1042
1129
|
"pluginName": "@xano/cli",
|
|
1043
1130
|
"pluginType": "core",
|
|
@@ -1047,8 +1134,8 @@
|
|
|
1047
1134
|
"relativePath": [
|
|
1048
1135
|
"dist",
|
|
1049
1136
|
"commands",
|
|
1050
|
-
"
|
|
1051
|
-
"
|
|
1137
|
+
"profile",
|
|
1138
|
+
"create",
|
|
1052
1139
|
"index.js"
|
|
1053
1140
|
]
|
|
1054
1141
|
},
|
|
@@ -1177,79 +1264,34 @@
|
|
|
1177
1264
|
"index.js"
|
|
1178
1265
|
]
|
|
1179
1266
|
},
|
|
1180
|
-
"profile:
|
|
1267
|
+
"profile:delete": {
|
|
1181
1268
|
"aliases": [],
|
|
1182
1269
|
"args": {
|
|
1183
1270
|
"name": {
|
|
1184
|
-
"description": "Profile name",
|
|
1271
|
+
"description": "Profile name to delete",
|
|
1185
1272
|
"name": "name",
|
|
1186
1273
|
"required": true
|
|
1187
1274
|
}
|
|
1188
1275
|
},
|
|
1189
|
-
"description": "
|
|
1276
|
+
"description": "Delete a profile configuration",
|
|
1190
1277
|
"examples": [
|
|
1191
|
-
"$ xano profile:
|
|
1192
|
-
"$ xano profile:
|
|
1193
|
-
"$ xano profile:
|
|
1194
|
-
"$ 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"
|
|
1278
|
+
"$ 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",
|
|
1279
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1280
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1195
1281
|
],
|
|
1196
1282
|
"flags": {
|
|
1197
|
-
"
|
|
1198
|
-
"char": "
|
|
1199
|
-
"description": "
|
|
1200
|
-
"name": "
|
|
1201
|
-
"required": true,
|
|
1202
|
-
"hasDynamicHelp": false,
|
|
1203
|
-
"multiple": false,
|
|
1204
|
-
"type": "option"
|
|
1205
|
-
},
|
|
1206
|
-
"account_origin": {
|
|
1207
|
-
"char": "a",
|
|
1208
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1209
|
-
"name": "account_origin",
|
|
1210
|
-
"required": false,
|
|
1211
|
-
"hasDynamicHelp": false,
|
|
1212
|
-
"multiple": false,
|
|
1213
|
-
"type": "option"
|
|
1214
|
-
},
|
|
1215
|
-
"branch": {
|
|
1216
|
-
"char": "b",
|
|
1217
|
-
"description": "Branch name",
|
|
1218
|
-
"name": "branch",
|
|
1219
|
-
"required": false,
|
|
1220
|
-
"hasDynamicHelp": false,
|
|
1221
|
-
"multiple": false,
|
|
1222
|
-
"type": "option"
|
|
1223
|
-
},
|
|
1224
|
-
"default": {
|
|
1225
|
-
"description": "Set this profile as the default",
|
|
1226
|
-
"name": "default",
|
|
1283
|
+
"force": {
|
|
1284
|
+
"char": "f",
|
|
1285
|
+
"description": "Skip confirmation prompt",
|
|
1286
|
+
"name": "force",
|
|
1227
1287
|
"required": false,
|
|
1228
1288
|
"allowNo": false,
|
|
1229
1289
|
"type": "boolean"
|
|
1230
|
-
},
|
|
1231
|
-
"instance_origin": {
|
|
1232
|
-
"char": "i",
|
|
1233
|
-
"description": "Instance origin URL",
|
|
1234
|
-
"name": "instance_origin",
|
|
1235
|
-
"required": true,
|
|
1236
|
-
"hasDynamicHelp": false,
|
|
1237
|
-
"multiple": false,
|
|
1238
|
-
"type": "option"
|
|
1239
|
-
},
|
|
1240
|
-
"workspace": {
|
|
1241
|
-
"char": "w",
|
|
1242
|
-
"description": "Workspace name",
|
|
1243
|
-
"name": "workspace",
|
|
1244
|
-
"required": false,
|
|
1245
|
-
"hasDynamicHelp": false,
|
|
1246
|
-
"multiple": false,
|
|
1247
|
-
"type": "option"
|
|
1248
1290
|
}
|
|
1249
1291
|
},
|
|
1250
1292
|
"hasDynamicHelp": false,
|
|
1251
1293
|
"hiddenAliases": [],
|
|
1252
|
-
"id": "profile:
|
|
1294
|
+
"id": "profile:delete",
|
|
1253
1295
|
"pluginAlias": "@xano/cli",
|
|
1254
1296
|
"pluginName": "@xano/cli",
|
|
1255
1297
|
"pluginType": "core",
|
|
@@ -1260,30 +1302,49 @@
|
|
|
1260
1302
|
"dist",
|
|
1261
1303
|
"commands",
|
|
1262
1304
|
"profile",
|
|
1263
|
-
"
|
|
1305
|
+
"delete",
|
|
1264
1306
|
"index.js"
|
|
1265
1307
|
]
|
|
1266
1308
|
},
|
|
1267
|
-
"profile:
|
|
1309
|
+
"profile:get": {
|
|
1268
1310
|
"aliases": [],
|
|
1269
|
-
"args": {
|
|
1270
|
-
|
|
1271
|
-
"description": "Profile name to delete",
|
|
1272
|
-
"name": "name",
|
|
1273
|
-
"required": true
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
"description": "Delete a profile configuration",
|
|
1311
|
+
"args": {},
|
|
1312
|
+
"description": "Get the current default profile name",
|
|
1277
1313
|
"examples": [
|
|
1278
|
-
"$ xano profile
|
|
1279
|
-
|
|
1280
|
-
|
|
1314
|
+
"$ xano profile get\nproduction\n"
|
|
1315
|
+
],
|
|
1316
|
+
"flags": {},
|
|
1317
|
+
"hasDynamicHelp": false,
|
|
1318
|
+
"hiddenAliases": [],
|
|
1319
|
+
"id": "profile:get",
|
|
1320
|
+
"pluginAlias": "@xano/cli",
|
|
1321
|
+
"pluginName": "@xano/cli",
|
|
1322
|
+
"pluginType": "core",
|
|
1323
|
+
"strict": true,
|
|
1324
|
+
"enableJsonFlag": false,
|
|
1325
|
+
"isESM": true,
|
|
1326
|
+
"relativePath": [
|
|
1327
|
+
"dist",
|
|
1328
|
+
"commands",
|
|
1329
|
+
"profile",
|
|
1330
|
+
"get",
|
|
1331
|
+
"index.js"
|
|
1332
|
+
]
|
|
1333
|
+
},
|
|
1334
|
+
"profile:list": {
|
|
1335
|
+
"aliases": [],
|
|
1336
|
+
"args": {},
|
|
1337
|
+
"description": "List all available profile configurations",
|
|
1338
|
+
"examples": [
|
|
1339
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1340
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1341
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1281
1342
|
],
|
|
1282
1343
|
"flags": {
|
|
1283
|
-
"
|
|
1284
|
-
"char": "
|
|
1285
|
-
"description": "
|
|
1286
|
-
"name": "
|
|
1344
|
+
"details": {
|
|
1345
|
+
"char": "d",
|
|
1346
|
+
"description": "Show detailed information for each profile",
|
|
1347
|
+
"name": "details",
|
|
1287
1348
|
"required": false,
|
|
1288
1349
|
"allowNo": false,
|
|
1289
1350
|
"type": "boolean"
|
|
@@ -1291,7 +1352,7 @@
|
|
|
1291
1352
|
},
|
|
1292
1353
|
"hasDynamicHelp": false,
|
|
1293
1354
|
"hiddenAliases": [],
|
|
1294
|
-
"id": "profile:
|
|
1355
|
+
"id": "profile:list",
|
|
1295
1356
|
"pluginAlias": "@xano/cli",
|
|
1296
1357
|
"pluginName": "@xano/cli",
|
|
1297
1358
|
"pluginType": "core",
|
|
@@ -1302,7 +1363,7 @@
|
|
|
1302
1363
|
"dist",
|
|
1303
1364
|
"commands",
|
|
1304
1365
|
"profile",
|
|
1305
|
-
"
|
|
1366
|
+
"list",
|
|
1306
1367
|
"index.js"
|
|
1307
1368
|
]
|
|
1308
1369
|
},
|
|
@@ -1420,67 +1481,6 @@
|
|
|
1420
1481
|
"index.js"
|
|
1421
1482
|
]
|
|
1422
1483
|
},
|
|
1423
|
-
"profile:get": {
|
|
1424
|
-
"aliases": [],
|
|
1425
|
-
"args": {},
|
|
1426
|
-
"description": "Get the current default profile name",
|
|
1427
|
-
"examples": [
|
|
1428
|
-
"$ xano profile get\nproduction\n"
|
|
1429
|
-
],
|
|
1430
|
-
"flags": {},
|
|
1431
|
-
"hasDynamicHelp": false,
|
|
1432
|
-
"hiddenAliases": [],
|
|
1433
|
-
"id": "profile:get",
|
|
1434
|
-
"pluginAlias": "@xano/cli",
|
|
1435
|
-
"pluginName": "@xano/cli",
|
|
1436
|
-
"pluginType": "core",
|
|
1437
|
-
"strict": true,
|
|
1438
|
-
"enableJsonFlag": false,
|
|
1439
|
-
"isESM": true,
|
|
1440
|
-
"relativePath": [
|
|
1441
|
-
"dist",
|
|
1442
|
-
"commands",
|
|
1443
|
-
"profile",
|
|
1444
|
-
"get",
|
|
1445
|
-
"index.js"
|
|
1446
|
-
]
|
|
1447
|
-
},
|
|
1448
|
-
"profile:list": {
|
|
1449
|
-
"aliases": [],
|
|
1450
|
-
"args": {},
|
|
1451
|
-
"description": "List all available profile configurations",
|
|
1452
|
-
"examples": [
|
|
1453
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1454
|
-
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1455
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1456
|
-
],
|
|
1457
|
-
"flags": {
|
|
1458
|
-
"details": {
|
|
1459
|
-
"char": "d",
|
|
1460
|
-
"description": "Show detailed information for each profile",
|
|
1461
|
-
"name": "details",
|
|
1462
|
-
"required": false,
|
|
1463
|
-
"allowNo": false,
|
|
1464
|
-
"type": "boolean"
|
|
1465
|
-
}
|
|
1466
|
-
},
|
|
1467
|
-
"hasDynamicHelp": false,
|
|
1468
|
-
"hiddenAliases": [],
|
|
1469
|
-
"id": "profile:list",
|
|
1470
|
-
"pluginAlias": "@xano/cli",
|
|
1471
|
-
"pluginName": "@xano/cli",
|
|
1472
|
-
"pluginType": "core",
|
|
1473
|
-
"strict": true,
|
|
1474
|
-
"enableJsonFlag": false,
|
|
1475
|
-
"isESM": true,
|
|
1476
|
-
"relativePath": [
|
|
1477
|
-
"dist",
|
|
1478
|
-
"commands",
|
|
1479
|
-
"profile",
|
|
1480
|
-
"list",
|
|
1481
|
-
"index.js"
|
|
1482
|
-
]
|
|
1483
|
-
},
|
|
1484
1484
|
"profile:me": {
|
|
1485
1485
|
"aliases": [],
|
|
1486
1486
|
"args": {},
|
|
@@ -1542,32 +1542,6 @@
|
|
|
1542
1542
|
"index.js"
|
|
1543
1543
|
]
|
|
1544
1544
|
},
|
|
1545
|
-
"profile:token": {
|
|
1546
|
-
"aliases": [],
|
|
1547
|
-
"args": {},
|
|
1548
|
-
"description": "Print the access token for the default profile",
|
|
1549
|
-
"examples": [
|
|
1550
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1551
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1552
|
-
],
|
|
1553
|
-
"flags": {},
|
|
1554
|
-
"hasDynamicHelp": false,
|
|
1555
|
-
"hiddenAliases": [],
|
|
1556
|
-
"id": "profile:token",
|
|
1557
|
-
"pluginAlias": "@xano/cli",
|
|
1558
|
-
"pluginName": "@xano/cli",
|
|
1559
|
-
"pluginType": "core",
|
|
1560
|
-
"strict": true,
|
|
1561
|
-
"enableJsonFlag": false,
|
|
1562
|
-
"isESM": true,
|
|
1563
|
-
"relativePath": [
|
|
1564
|
-
"dist",
|
|
1565
|
-
"commands",
|
|
1566
|
-
"profile",
|
|
1567
|
-
"token",
|
|
1568
|
-
"index.js"
|
|
1569
|
-
]
|
|
1570
|
-
},
|
|
1571
1545
|
"profile:set": {
|
|
1572
1546
|
"aliases": [],
|
|
1573
1547
|
"args": {
|
|
@@ -1599,37 +1573,18 @@
|
|
|
1599
1573
|
"index.js"
|
|
1600
1574
|
]
|
|
1601
1575
|
},
|
|
1602
|
-
"profile:
|
|
1576
|
+
"profile:token": {
|
|
1603
1577
|
"aliases": [],
|
|
1604
1578
|
"args": {},
|
|
1605
|
-
"description": "
|
|
1579
|
+
"description": "Print the access token for the default profile",
|
|
1606
1580
|
"examples": [
|
|
1607
|
-
"$ xano profile:
|
|
1581
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1582
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1608
1583
|
],
|
|
1609
|
-
"flags": {
|
|
1610
|
-
"name": {
|
|
1611
|
-
"char": "n",
|
|
1612
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1613
|
-
"name": "name",
|
|
1614
|
-
"required": false,
|
|
1615
|
-
"hasDynamicHelp": false,
|
|
1616
|
-
"multiple": false,
|
|
1617
|
-
"type": "option"
|
|
1618
|
-
},
|
|
1619
|
-
"origin": {
|
|
1620
|
-
"char": "o",
|
|
1621
|
-
"description": "Xano instance origin URL",
|
|
1622
|
-
"name": "origin",
|
|
1623
|
-
"required": false,
|
|
1624
|
-
"default": "https://app.xano.com",
|
|
1625
|
-
"hasDynamicHelp": false,
|
|
1626
|
-
"multiple": false,
|
|
1627
|
-
"type": "option"
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1584
|
+
"flags": {},
|
|
1630
1585
|
"hasDynamicHelp": false,
|
|
1631
1586
|
"hiddenAliases": [],
|
|
1632
|
-
"id": "profile:
|
|
1587
|
+
"id": "profile:token",
|
|
1633
1588
|
"pluginAlias": "@xano/cli",
|
|
1634
1589
|
"pluginName": "@xano/cli",
|
|
1635
1590
|
"pluginType": "core",
|
|
@@ -1640,24 +1595,45 @@
|
|
|
1640
1595
|
"dist",
|
|
1641
1596
|
"commands",
|
|
1642
1597
|
"profile",
|
|
1643
|
-
"
|
|
1598
|
+
"token",
|
|
1644
1599
|
"index.js"
|
|
1645
1600
|
]
|
|
1646
1601
|
},
|
|
1647
|
-
"
|
|
1602
|
+
"profile:workspace": {
|
|
1648
1603
|
"aliases": [],
|
|
1649
|
-
"args": {
|
|
1650
|
-
|
|
1651
|
-
"description": "Release name to delete",
|
|
1652
|
-
"name": "release_name",
|
|
1653
|
-
"required": true
|
|
1654
|
-
}
|
|
1655
|
-
},
|
|
1656
|
-
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1604
|
+
"args": {},
|
|
1605
|
+
"description": "Print the workspace ID for the default profile",
|
|
1657
1606
|
"examples": [
|
|
1658
|
-
"$ xano
|
|
1659
|
-
"$ xano
|
|
1660
|
-
|
|
1607
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1608
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1609
|
+
],
|
|
1610
|
+
"flags": {},
|
|
1611
|
+
"hasDynamicHelp": false,
|
|
1612
|
+
"hiddenAliases": [],
|
|
1613
|
+
"id": "profile:workspace",
|
|
1614
|
+
"pluginAlias": "@xano/cli",
|
|
1615
|
+
"pluginName": "@xano/cli",
|
|
1616
|
+
"pluginType": "core",
|
|
1617
|
+
"strict": true,
|
|
1618
|
+
"enableJsonFlag": false,
|
|
1619
|
+
"isESM": true,
|
|
1620
|
+
"relativePath": [
|
|
1621
|
+
"dist",
|
|
1622
|
+
"commands",
|
|
1623
|
+
"profile",
|
|
1624
|
+
"workspace",
|
|
1625
|
+
"index.js"
|
|
1626
|
+
]
|
|
1627
|
+
},
|
|
1628
|
+
"static_host:list": {
|
|
1629
|
+
"aliases": [],
|
|
1630
|
+
"args": {},
|
|
1631
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1632
|
+
"examples": [
|
|
1633
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1634
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1635
|
+
"$ 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",
|
|
1636
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1661
1637
|
],
|
|
1662
1638
|
"flags": {
|
|
1663
1639
|
"profile": {
|
|
@@ -1679,14 +1655,6 @@
|
|
|
1679
1655
|
"allowNo": false,
|
|
1680
1656
|
"type": "boolean"
|
|
1681
1657
|
},
|
|
1682
|
-
"force": {
|
|
1683
|
-
"char": "f",
|
|
1684
|
-
"description": "Skip confirmation prompt",
|
|
1685
|
-
"name": "force",
|
|
1686
|
-
"required": false,
|
|
1687
|
-
"allowNo": false,
|
|
1688
|
-
"type": "boolean"
|
|
1689
|
-
},
|
|
1690
1658
|
"output": {
|
|
1691
1659
|
"char": "o",
|
|
1692
1660
|
"description": "Output format",
|
|
@@ -1701,9 +1669,27 @@
|
|
|
1701
1669
|
],
|
|
1702
1670
|
"type": "option"
|
|
1703
1671
|
},
|
|
1672
|
+
"page": {
|
|
1673
|
+
"description": "Page number for pagination",
|
|
1674
|
+
"name": "page",
|
|
1675
|
+
"required": false,
|
|
1676
|
+
"default": 1,
|
|
1677
|
+
"hasDynamicHelp": false,
|
|
1678
|
+
"multiple": false,
|
|
1679
|
+
"type": "option"
|
|
1680
|
+
},
|
|
1681
|
+
"per_page": {
|
|
1682
|
+
"description": "Number of results per page",
|
|
1683
|
+
"name": "per_page",
|
|
1684
|
+
"required": false,
|
|
1685
|
+
"default": 50,
|
|
1686
|
+
"hasDynamicHelp": false,
|
|
1687
|
+
"multiple": false,
|
|
1688
|
+
"type": "option"
|
|
1689
|
+
},
|
|
1704
1690
|
"workspace": {
|
|
1705
1691
|
"char": "w",
|
|
1706
|
-
"description": "Workspace ID (
|
|
1692
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1707
1693
|
"name": "workspace",
|
|
1708
1694
|
"required": false,
|
|
1709
1695
|
"hasDynamicHelp": false,
|
|
@@ -1713,7 +1699,7 @@
|
|
|
1713
1699
|
},
|
|
1714
1700
|
"hasDynamicHelp": false,
|
|
1715
1701
|
"hiddenAliases": [],
|
|
1716
|
-
"id": "
|
|
1702
|
+
"id": "static_host:list",
|
|
1717
1703
|
"pluginAlias": "@xano/cli",
|
|
1718
1704
|
"pluginName": "@xano/cli",
|
|
1719
1705
|
"pluginType": "core",
|
|
@@ -1723,23 +1709,42 @@
|
|
|
1723
1709
|
"relativePath": [
|
|
1724
1710
|
"dist",
|
|
1725
1711
|
"commands",
|
|
1726
|
-
"
|
|
1727
|
-
"
|
|
1712
|
+
"static_host",
|
|
1713
|
+
"list",
|
|
1728
1714
|
"index.js"
|
|
1729
1715
|
]
|
|
1730
1716
|
},
|
|
1731
|
-
"profile:
|
|
1717
|
+
"profile:wizard": {
|
|
1732
1718
|
"aliases": [],
|
|
1733
1719
|
"args": {},
|
|
1734
|
-
"description": "
|
|
1720
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1735
1721
|
"examples": [
|
|
1736
|
-
"$ xano profile:
|
|
1737
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1722
|
+
"$ 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"
|
|
1738
1723
|
],
|
|
1739
|
-
"flags": {
|
|
1724
|
+
"flags": {
|
|
1725
|
+
"name": {
|
|
1726
|
+
"char": "n",
|
|
1727
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1728
|
+
"name": "name",
|
|
1729
|
+
"required": false,
|
|
1730
|
+
"hasDynamicHelp": false,
|
|
1731
|
+
"multiple": false,
|
|
1732
|
+
"type": "option"
|
|
1733
|
+
},
|
|
1734
|
+
"origin": {
|
|
1735
|
+
"char": "o",
|
|
1736
|
+
"description": "Xano instance origin URL",
|
|
1737
|
+
"name": "origin",
|
|
1738
|
+
"required": false,
|
|
1739
|
+
"default": "https://app.xano.com",
|
|
1740
|
+
"hasDynamicHelp": false,
|
|
1741
|
+
"multiple": false,
|
|
1742
|
+
"type": "option"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1740
1745
|
"hasDynamicHelp": false,
|
|
1741
1746
|
"hiddenAliases": [],
|
|
1742
|
-
"id": "profile:
|
|
1747
|
+
"id": "profile:wizard",
|
|
1743
1748
|
"pluginAlias": "@xano/cli",
|
|
1744
1749
|
"pluginName": "@xano/cli",
|
|
1745
1750
|
"pluginType": "core",
|
|
@@ -1750,7 +1755,7 @@
|
|
|
1750
1755
|
"dist",
|
|
1751
1756
|
"commands",
|
|
1752
1757
|
"profile",
|
|
1753
|
-
"
|
|
1758
|
+
"wizard",
|
|
1754
1759
|
"index.js"
|
|
1755
1760
|
]
|
|
1756
1761
|
},
|
|
@@ -1865,20 +1870,20 @@
|
|
|
1865
1870
|
"index.js"
|
|
1866
1871
|
]
|
|
1867
1872
|
},
|
|
1868
|
-
"release:
|
|
1873
|
+
"release:delete": {
|
|
1869
1874
|
"aliases": [],
|
|
1870
1875
|
"args": {
|
|
1871
1876
|
"release_name": {
|
|
1872
|
-
"description": "Release name to
|
|
1877
|
+
"description": "Release name to delete",
|
|
1873
1878
|
"name": "release_name",
|
|
1874
1879
|
"required": true
|
|
1875
1880
|
}
|
|
1876
1881
|
},
|
|
1877
|
-
"description": "
|
|
1882
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1878
1883
|
"examples": [
|
|
1879
|
-
"$ xano release
|
|
1880
|
-
"$ xano release
|
|
1881
|
-
"$ xano release
|
|
1884
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1885
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1886
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1882
1887
|
],
|
|
1883
1888
|
"flags": {
|
|
1884
1889
|
"profile": {
|
|
@@ -1900,10 +1905,18 @@
|
|
|
1900
1905
|
"allowNo": false,
|
|
1901
1906
|
"type": "boolean"
|
|
1902
1907
|
},
|
|
1903
|
-
"
|
|
1908
|
+
"force": {
|
|
1909
|
+
"char": "f",
|
|
1910
|
+
"description": "Skip confirmation prompt",
|
|
1911
|
+
"name": "force",
|
|
1912
|
+
"required": false,
|
|
1913
|
+
"allowNo": false,
|
|
1914
|
+
"type": "boolean"
|
|
1915
|
+
},
|
|
1916
|
+
"output": {
|
|
1904
1917
|
"char": "o",
|
|
1905
1918
|
"description": "Output format",
|
|
1906
|
-
"name": "
|
|
1919
|
+
"name": "output",
|
|
1907
1920
|
"required": false,
|
|
1908
1921
|
"default": "summary",
|
|
1909
1922
|
"hasDynamicHelp": false,
|
|
@@ -1914,14 +1927,6 @@
|
|
|
1914
1927
|
],
|
|
1915
1928
|
"type": "option"
|
|
1916
1929
|
},
|
|
1917
|
-
"output": {
|
|
1918
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1919
|
-
"name": "output",
|
|
1920
|
-
"required": false,
|
|
1921
|
-
"hasDynamicHelp": false,
|
|
1922
|
-
"multiple": false,
|
|
1923
|
-
"type": "option"
|
|
1924
|
-
},
|
|
1925
1930
|
"workspace": {
|
|
1926
1931
|
"char": "w",
|
|
1927
1932
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1934,7 +1939,7 @@
|
|
|
1934
1939
|
},
|
|
1935
1940
|
"hasDynamicHelp": false,
|
|
1936
1941
|
"hiddenAliases": [],
|
|
1937
|
-
"id": "release:
|
|
1942
|
+
"id": "release:delete",
|
|
1938
1943
|
"pluginAlias": "@xano/cli",
|
|
1939
1944
|
"pluginName": "@xano/cli",
|
|
1940
1945
|
"pluginType": "core",
|
|
@@ -1945,7 +1950,7 @@
|
|
|
1945
1950
|
"dist",
|
|
1946
1951
|
"commands",
|
|
1947
1952
|
"release",
|
|
1948
|
-
"
|
|
1953
|
+
"delete",
|
|
1949
1954
|
"index.js"
|
|
1950
1955
|
]
|
|
1951
1956
|
},
|
|
@@ -2042,13 +2047,20 @@
|
|
|
2042
2047
|
"index.js"
|
|
2043
2048
|
]
|
|
2044
2049
|
},
|
|
2045
|
-
"release:
|
|
2050
|
+
"release:export": {
|
|
2046
2051
|
"aliases": [],
|
|
2047
|
-
"args": {
|
|
2048
|
-
|
|
2052
|
+
"args": {
|
|
2053
|
+
"release_name": {
|
|
2054
|
+
"description": "Release name to export",
|
|
2055
|
+
"name": "release_name",
|
|
2056
|
+
"required": true
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
"description": "Export (download) a release to a local file",
|
|
2049
2060
|
"examples": [
|
|
2050
|
-
"$ xano release
|
|
2051
|
-
"$ xano release
|
|
2061
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
2062
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
2063
|
+
"$ xano release export v1.0 -o json"
|
|
2052
2064
|
],
|
|
2053
2065
|
"flags": {
|
|
2054
2066
|
"profile": {
|
|
@@ -2070,19 +2082,10 @@
|
|
|
2070
2082
|
"allowNo": false,
|
|
2071
2083
|
"type": "boolean"
|
|
2072
2084
|
},
|
|
2073
|
-
"
|
|
2074
|
-
"char": "f",
|
|
2075
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2076
|
-
"name": "file",
|
|
2077
|
-
"required": true,
|
|
2078
|
-
"hasDynamicHelp": false,
|
|
2079
|
-
"multiple": false,
|
|
2080
|
-
"type": "option"
|
|
2081
|
-
},
|
|
2082
|
-
"output": {
|
|
2085
|
+
"format": {
|
|
2083
2086
|
"char": "o",
|
|
2084
2087
|
"description": "Output format",
|
|
2085
|
-
"name": "
|
|
2088
|
+
"name": "format",
|
|
2086
2089
|
"required": false,
|
|
2087
2090
|
"default": "summary",
|
|
2088
2091
|
"hasDynamicHelp": false,
|
|
@@ -2093,6 +2096,14 @@
|
|
|
2093
2096
|
],
|
|
2094
2097
|
"type": "option"
|
|
2095
2098
|
},
|
|
2099
|
+
"output": {
|
|
2100
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2101
|
+
"name": "output",
|
|
2102
|
+
"required": false,
|
|
2103
|
+
"hasDynamicHelp": false,
|
|
2104
|
+
"multiple": false,
|
|
2105
|
+
"type": "option"
|
|
2106
|
+
},
|
|
2096
2107
|
"workspace": {
|
|
2097
2108
|
"char": "w",
|
|
2098
2109
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2105,7 +2116,7 @@
|
|
|
2105
2116
|
},
|
|
2106
2117
|
"hasDynamicHelp": false,
|
|
2107
2118
|
"hiddenAliases": [],
|
|
2108
|
-
"id": "release:
|
|
2119
|
+
"id": "release:export",
|
|
2109
2120
|
"pluginAlias": "@xano/cli",
|
|
2110
2121
|
"pluginName": "@xano/cli",
|
|
2111
2122
|
"pluginType": "core",
|
|
@@ -2116,24 +2127,17 @@
|
|
|
2116
2127
|
"dist",
|
|
2117
2128
|
"commands",
|
|
2118
2129
|
"release",
|
|
2119
|
-
"
|
|
2130
|
+
"export",
|
|
2120
2131
|
"index.js"
|
|
2121
2132
|
]
|
|
2122
2133
|
},
|
|
2123
|
-
"release:
|
|
2134
|
+
"release:list": {
|
|
2124
2135
|
"aliases": [],
|
|
2125
|
-
"args": {
|
|
2126
|
-
|
|
2127
|
-
"description": "Output directory for pulled documents",
|
|
2128
|
-
"name": "directory",
|
|
2129
|
-
"required": true
|
|
2130
|
-
}
|
|
2131
|
-
},
|
|
2132
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2136
|
+
"args": {},
|
|
2137
|
+
"description": "List all releases in a workspace",
|
|
2133
2138
|
"examples": [
|
|
2134
|
-
"$ xano release
|
|
2135
|
-
"$ xano release
|
|
2136
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2139
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2140
|
+
"$ xano release list -w 5 --output json"
|
|
2137
2141
|
],
|
|
2138
2142
|
"flags": {
|
|
2139
2143
|
"profile": {
|
|
@@ -2155,32 +2159,101 @@
|
|
|
2155
2159
|
"allowNo": false,
|
|
2156
2160
|
"type": "boolean"
|
|
2157
2161
|
},
|
|
2158
|
-
"
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2162
|
+
"output": {
|
|
2163
|
+
"char": "o",
|
|
2164
|
+
"description": "Output format",
|
|
2165
|
+
"name": "output",
|
|
2161
2166
|
"required": false,
|
|
2162
|
-
"
|
|
2163
|
-
"
|
|
2167
|
+
"default": "summary",
|
|
2168
|
+
"hasDynamicHelp": false,
|
|
2169
|
+
"multiple": false,
|
|
2170
|
+
"options": [
|
|
2171
|
+
"summary",
|
|
2172
|
+
"json"
|
|
2173
|
+
],
|
|
2174
|
+
"type": "option"
|
|
2164
2175
|
},
|
|
2165
|
-
"
|
|
2166
|
-
"
|
|
2167
|
-
"
|
|
2176
|
+
"workspace": {
|
|
2177
|
+
"char": "w",
|
|
2178
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2179
|
+
"name": "workspace",
|
|
2180
|
+
"required": false,
|
|
2181
|
+
"hasDynamicHelp": false,
|
|
2182
|
+
"multiple": false,
|
|
2183
|
+
"type": "option"
|
|
2184
|
+
}
|
|
2185
|
+
},
|
|
2186
|
+
"hasDynamicHelp": false,
|
|
2187
|
+
"hiddenAliases": [],
|
|
2188
|
+
"id": "release:list",
|
|
2189
|
+
"pluginAlias": "@xano/cli",
|
|
2190
|
+
"pluginName": "@xano/cli",
|
|
2191
|
+
"pluginType": "core",
|
|
2192
|
+
"strict": true,
|
|
2193
|
+
"enableJsonFlag": false,
|
|
2194
|
+
"isESM": true,
|
|
2195
|
+
"relativePath": [
|
|
2196
|
+
"dist",
|
|
2197
|
+
"commands",
|
|
2198
|
+
"release",
|
|
2199
|
+
"list",
|
|
2200
|
+
"index.js"
|
|
2201
|
+
]
|
|
2202
|
+
},
|
|
2203
|
+
"release:import": {
|
|
2204
|
+
"aliases": [],
|
|
2205
|
+
"args": {},
|
|
2206
|
+
"description": "Import a release file into a workspace",
|
|
2207
|
+
"examples": [
|
|
2208
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2209
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2210
|
+
],
|
|
2211
|
+
"flags": {
|
|
2212
|
+
"profile": {
|
|
2213
|
+
"char": "p",
|
|
2214
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2215
|
+
"env": "XANO_PROFILE",
|
|
2216
|
+
"name": "profile",
|
|
2217
|
+
"required": false,
|
|
2218
|
+
"hasDynamicHelp": false,
|
|
2219
|
+
"multiple": false,
|
|
2220
|
+
"type": "option"
|
|
2221
|
+
},
|
|
2222
|
+
"verbose": {
|
|
2223
|
+
"char": "v",
|
|
2224
|
+
"description": "Show detailed request/response information",
|
|
2225
|
+
"env": "XANO_VERBOSE",
|
|
2226
|
+
"name": "verbose",
|
|
2168
2227
|
"required": false,
|
|
2169
2228
|
"allowNo": false,
|
|
2170
2229
|
"type": "boolean"
|
|
2171
2230
|
},
|
|
2172
|
-
"
|
|
2173
|
-
"char": "
|
|
2174
|
-
"description": "
|
|
2175
|
-
"name": "
|
|
2231
|
+
"file": {
|
|
2232
|
+
"char": "f",
|
|
2233
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2234
|
+
"name": "file",
|
|
2176
2235
|
"required": true,
|
|
2177
2236
|
"hasDynamicHelp": false,
|
|
2178
2237
|
"multiple": false,
|
|
2179
2238
|
"type": "option"
|
|
2180
2239
|
},
|
|
2240
|
+
"output": {
|
|
2241
|
+
"char": "o",
|
|
2242
|
+
"description": "Output format",
|
|
2243
|
+
"name": "output",
|
|
2244
|
+
"required": false,
|
|
2245
|
+
"default": "summary",
|
|
2246
|
+
"hasDynamicHelp": false,
|
|
2247
|
+
"multiple": false,
|
|
2248
|
+
"options": [
|
|
2249
|
+
"summary",
|
|
2250
|
+
"json"
|
|
2251
|
+
],
|
|
2252
|
+
"type": "option"
|
|
2253
|
+
},
|
|
2181
2254
|
"workspace": {
|
|
2182
2255
|
"char": "w",
|
|
2183
|
-
"description": "Workspace ID (
|
|
2256
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2184
2257
|
"name": "workspace",
|
|
2185
2258
|
"required": false,
|
|
2186
2259
|
"hasDynamicHelp": false,
|
|
@@ -2190,7 +2263,7 @@
|
|
|
2190
2263
|
},
|
|
2191
2264
|
"hasDynamicHelp": false,
|
|
2192
2265
|
"hiddenAliases": [],
|
|
2193
|
-
"id": "release:
|
|
2266
|
+
"id": "release:import",
|
|
2194
2267
|
"pluginAlias": "@xano/cli",
|
|
2195
2268
|
"pluginName": "@xano/cli",
|
|
2196
2269
|
"pluginType": "core",
|
|
@@ -2201,23 +2274,24 @@
|
|
|
2201
2274
|
"dist",
|
|
2202
2275
|
"commands",
|
|
2203
2276
|
"release",
|
|
2204
|
-
"
|
|
2277
|
+
"import",
|
|
2205
2278
|
"index.js"
|
|
2206
2279
|
]
|
|
2207
2280
|
},
|
|
2208
|
-
"release:
|
|
2281
|
+
"release:pull": {
|
|
2209
2282
|
"aliases": [],
|
|
2210
2283
|
"args": {
|
|
2211
|
-
"
|
|
2212
|
-
"description": "
|
|
2213
|
-
"name": "
|
|
2284
|
+
"directory": {
|
|
2285
|
+
"description": "Output directory for pulled documents",
|
|
2286
|
+
"name": "directory",
|
|
2214
2287
|
"required": true
|
|
2215
2288
|
}
|
|
2216
2289
|
},
|
|
2217
|
-
"description": "
|
|
2290
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2218
2291
|
"examples": [
|
|
2219
|
-
"$ xano release
|
|
2220
|
-
"$ xano release
|
|
2292
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2293
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2294
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2221
2295
|
],
|
|
2222
2296
|
"flags": {
|
|
2223
2297
|
"profile": {
|
|
@@ -2239,23 +2313,32 @@
|
|
|
2239
2313
|
"allowNo": false,
|
|
2240
2314
|
"type": "boolean"
|
|
2241
2315
|
},
|
|
2242
|
-
"
|
|
2243
|
-
"
|
|
2244
|
-
"
|
|
2245
|
-
"name": "output",
|
|
2316
|
+
"env": {
|
|
2317
|
+
"description": "Include environment variables",
|
|
2318
|
+
"name": "env",
|
|
2246
2319
|
"required": false,
|
|
2247
|
-
"
|
|
2320
|
+
"allowNo": false,
|
|
2321
|
+
"type": "boolean"
|
|
2322
|
+
},
|
|
2323
|
+
"records": {
|
|
2324
|
+
"description": "Include records",
|
|
2325
|
+
"name": "records",
|
|
2326
|
+
"required": false,
|
|
2327
|
+
"allowNo": false,
|
|
2328
|
+
"type": "boolean"
|
|
2329
|
+
},
|
|
2330
|
+
"release": {
|
|
2331
|
+
"char": "r",
|
|
2332
|
+
"description": "Release name to pull from",
|
|
2333
|
+
"name": "release",
|
|
2334
|
+
"required": true,
|
|
2248
2335
|
"hasDynamicHelp": false,
|
|
2249
2336
|
"multiple": false,
|
|
2250
|
-
"options": [
|
|
2251
|
-
"summary",
|
|
2252
|
-
"json"
|
|
2253
|
-
],
|
|
2254
2337
|
"type": "option"
|
|
2255
2338
|
},
|
|
2256
2339
|
"workspace": {
|
|
2257
2340
|
"char": "w",
|
|
2258
|
-
"description": "Workspace ID (
|
|
2341
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2259
2342
|
"name": "workspace",
|
|
2260
2343
|
"required": false,
|
|
2261
2344
|
"hasDynamicHelp": false,
|
|
@@ -2265,7 +2348,7 @@
|
|
|
2265
2348
|
},
|
|
2266
2349
|
"hasDynamicHelp": false,
|
|
2267
2350
|
"hiddenAliases": [],
|
|
2268
|
-
"id": "release:
|
|
2351
|
+
"id": "release:pull",
|
|
2269
2352
|
"pluginAlias": "@xano/cli",
|
|
2270
2353
|
"pluginName": "@xano/cli",
|
|
2271
2354
|
"pluginType": "core",
|
|
@@ -2276,17 +2359,23 @@
|
|
|
2276
2359
|
"dist",
|
|
2277
2360
|
"commands",
|
|
2278
2361
|
"release",
|
|
2279
|
-
"
|
|
2362
|
+
"pull",
|
|
2280
2363
|
"index.js"
|
|
2281
2364
|
]
|
|
2282
2365
|
},
|
|
2283
|
-
"release:
|
|
2366
|
+
"release:get": {
|
|
2284
2367
|
"aliases": [],
|
|
2285
|
-
"args": {
|
|
2286
|
-
|
|
2368
|
+
"args": {
|
|
2369
|
+
"release_name": {
|
|
2370
|
+
"description": "Release name to retrieve",
|
|
2371
|
+
"name": "release_name",
|
|
2372
|
+
"required": true
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
"description": "Get details of a specific release",
|
|
2287
2376
|
"examples": [
|
|
2288
|
-
"$ xano release
|
|
2289
|
-
"$ xano release
|
|
2377
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2378
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2290
2379
|
],
|
|
2291
2380
|
"flags": {
|
|
2292
2381
|
"profile": {
|
|
@@ -2334,7 +2423,7 @@
|
|
|
2334
2423
|
},
|
|
2335
2424
|
"hasDynamicHelp": false,
|
|
2336
2425
|
"hiddenAliases": [],
|
|
2337
|
-
"id": "release:
|
|
2426
|
+
"id": "release:get",
|
|
2338
2427
|
"pluginAlias": "@xano/cli",
|
|
2339
2428
|
"pluginName": "@xano/cli",
|
|
2340
2429
|
"pluginType": "core",
|
|
@@ -2345,7 +2434,7 @@
|
|
|
2345
2434
|
"dist",
|
|
2346
2435
|
"commands",
|
|
2347
2436
|
"release",
|
|
2348
|
-
"
|
|
2437
|
+
"get",
|
|
2349
2438
|
"index.js"
|
|
2350
2439
|
]
|
|
2351
2440
|
},
|
|
@@ -2467,95 +2556,6 @@
|
|
|
2467
2556
|
"index.js"
|
|
2468
2557
|
]
|
|
2469
2558
|
},
|
|
2470
|
-
"static_host:list": {
|
|
2471
|
-
"aliases": [],
|
|
2472
|
-
"args": {},
|
|
2473
|
-
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2474
|
-
"examples": [
|
|
2475
|
-
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2476
|
-
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2477
|
-
"$ 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",
|
|
2478
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2479
|
-
],
|
|
2480
|
-
"flags": {
|
|
2481
|
-
"profile": {
|
|
2482
|
-
"char": "p",
|
|
2483
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2484
|
-
"env": "XANO_PROFILE",
|
|
2485
|
-
"name": "profile",
|
|
2486
|
-
"required": false,
|
|
2487
|
-
"hasDynamicHelp": false,
|
|
2488
|
-
"multiple": false,
|
|
2489
|
-
"type": "option"
|
|
2490
|
-
},
|
|
2491
|
-
"verbose": {
|
|
2492
|
-
"char": "v",
|
|
2493
|
-
"description": "Show detailed request/response information",
|
|
2494
|
-
"env": "XANO_VERBOSE",
|
|
2495
|
-
"name": "verbose",
|
|
2496
|
-
"required": false,
|
|
2497
|
-
"allowNo": false,
|
|
2498
|
-
"type": "boolean"
|
|
2499
|
-
},
|
|
2500
|
-
"output": {
|
|
2501
|
-
"char": "o",
|
|
2502
|
-
"description": "Output format",
|
|
2503
|
-
"name": "output",
|
|
2504
|
-
"required": false,
|
|
2505
|
-
"default": "summary",
|
|
2506
|
-
"hasDynamicHelp": false,
|
|
2507
|
-
"multiple": false,
|
|
2508
|
-
"options": [
|
|
2509
|
-
"summary",
|
|
2510
|
-
"json"
|
|
2511
|
-
],
|
|
2512
|
-
"type": "option"
|
|
2513
|
-
},
|
|
2514
|
-
"page": {
|
|
2515
|
-
"description": "Page number for pagination",
|
|
2516
|
-
"name": "page",
|
|
2517
|
-
"required": false,
|
|
2518
|
-
"default": 1,
|
|
2519
|
-
"hasDynamicHelp": false,
|
|
2520
|
-
"multiple": false,
|
|
2521
|
-
"type": "option"
|
|
2522
|
-
},
|
|
2523
|
-
"per_page": {
|
|
2524
|
-
"description": "Number of results per page",
|
|
2525
|
-
"name": "per_page",
|
|
2526
|
-
"required": false,
|
|
2527
|
-
"default": 50,
|
|
2528
|
-
"hasDynamicHelp": false,
|
|
2529
|
-
"multiple": false,
|
|
2530
|
-
"type": "option"
|
|
2531
|
-
},
|
|
2532
|
-
"workspace": {
|
|
2533
|
-
"char": "w",
|
|
2534
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
2535
|
-
"name": "workspace",
|
|
2536
|
-
"required": false,
|
|
2537
|
-
"hasDynamicHelp": false,
|
|
2538
|
-
"multiple": false,
|
|
2539
|
-
"type": "option"
|
|
2540
|
-
}
|
|
2541
|
-
},
|
|
2542
|
-
"hasDynamicHelp": false,
|
|
2543
|
-
"hiddenAliases": [],
|
|
2544
|
-
"id": "static_host:list",
|
|
2545
|
-
"pluginAlias": "@xano/cli",
|
|
2546
|
-
"pluginName": "@xano/cli",
|
|
2547
|
-
"pluginType": "core",
|
|
2548
|
-
"strict": true,
|
|
2549
|
-
"enableJsonFlag": false,
|
|
2550
|
-
"isESM": true,
|
|
2551
|
-
"relativePath": [
|
|
2552
|
-
"dist",
|
|
2553
|
-
"commands",
|
|
2554
|
-
"static_host",
|
|
2555
|
-
"list",
|
|
2556
|
-
"index.js"
|
|
2557
|
-
]
|
|
2558
|
-
},
|
|
2559
2559
|
"tenant:create": {
|
|
2560
2560
|
"aliases": [],
|
|
2561
2561
|
"args": {
|
|
@@ -2863,19 +2863,19 @@
|
|
|
2863
2863
|
"index.js"
|
|
2864
2864
|
]
|
|
2865
2865
|
},
|
|
2866
|
-
"tenant:
|
|
2866
|
+
"tenant:deploy_release": {
|
|
2867
2867
|
"aliases": [],
|
|
2868
2868
|
"args": {
|
|
2869
2869
|
"tenant_name": {
|
|
2870
|
-
"description": "Tenant name to
|
|
2870
|
+
"description": "Tenant name to deploy to",
|
|
2871
2871
|
"name": "tenant_name",
|
|
2872
2872
|
"required": true
|
|
2873
2873
|
}
|
|
2874
2874
|
},
|
|
2875
|
-
"description": "
|
|
2875
|
+
"description": "Deploy a release to a tenant",
|
|
2876
2876
|
"examples": [
|
|
2877
|
-
"$ xano tenant
|
|
2878
|
-
"$ xano tenant
|
|
2877
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2878
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2879
2879
|
],
|
|
2880
2880
|
"flags": {
|
|
2881
2881
|
"profile": {
|
|
@@ -2911,6 +2911,15 @@
|
|
|
2911
2911
|
],
|
|
2912
2912
|
"type": "option"
|
|
2913
2913
|
},
|
|
2914
|
+
"release": {
|
|
2915
|
+
"char": "r",
|
|
2916
|
+
"description": "Release name to deploy",
|
|
2917
|
+
"name": "release",
|
|
2918
|
+
"required": true,
|
|
2919
|
+
"hasDynamicHelp": false,
|
|
2920
|
+
"multiple": false,
|
|
2921
|
+
"type": "option"
|
|
2922
|
+
},
|
|
2914
2923
|
"workspace": {
|
|
2915
2924
|
"char": "w",
|
|
2916
2925
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2923,7 +2932,7 @@
|
|
|
2923
2932
|
},
|
|
2924
2933
|
"hasDynamicHelp": false,
|
|
2925
2934
|
"hiddenAliases": [],
|
|
2926
|
-
"id": "tenant:
|
|
2935
|
+
"id": "tenant:deploy_release",
|
|
2927
2936
|
"pluginAlias": "@xano/cli",
|
|
2928
2937
|
"pluginName": "@xano/cli",
|
|
2929
2938
|
"pluginType": "core",
|
|
@@ -2934,23 +2943,23 @@
|
|
|
2934
2943
|
"dist",
|
|
2935
2944
|
"commands",
|
|
2936
2945
|
"tenant",
|
|
2937
|
-
"
|
|
2946
|
+
"deploy_release",
|
|
2938
2947
|
"index.js"
|
|
2939
2948
|
]
|
|
2940
2949
|
},
|
|
2941
|
-
"tenant:
|
|
2950
|
+
"tenant:get": {
|
|
2942
2951
|
"aliases": [],
|
|
2943
2952
|
"args": {
|
|
2944
2953
|
"tenant_name": {
|
|
2945
|
-
"description": "Tenant name to
|
|
2954
|
+
"description": "Tenant name to retrieve",
|
|
2946
2955
|
"name": "tenant_name",
|
|
2947
2956
|
"required": true
|
|
2948
2957
|
}
|
|
2949
2958
|
},
|
|
2950
|
-
"description": "
|
|
2959
|
+
"description": "Get details of a specific tenant",
|
|
2951
2960
|
"examples": [
|
|
2952
|
-
"$ xano tenant
|
|
2953
|
-
"$ xano tenant
|
|
2961
|
+
"$ 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",
|
|
2962
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
2954
2963
|
],
|
|
2955
2964
|
"flags": {
|
|
2956
2965
|
"profile": {
|
|
@@ -2986,15 +2995,6 @@
|
|
|
2986
2995
|
],
|
|
2987
2996
|
"type": "option"
|
|
2988
2997
|
},
|
|
2989
|
-
"release": {
|
|
2990
|
-
"char": "r",
|
|
2991
|
-
"description": "Release name to deploy",
|
|
2992
|
-
"name": "release",
|
|
2993
|
-
"required": true,
|
|
2994
|
-
"hasDynamicHelp": false,
|
|
2995
|
-
"multiple": false,
|
|
2996
|
-
"type": "option"
|
|
2997
|
-
},
|
|
2998
2998
|
"workspace": {
|
|
2999
2999
|
"char": "w",
|
|
3000
3000
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3007,7 +3007,7 @@
|
|
|
3007
3007
|
},
|
|
3008
3008
|
"hasDynamicHelp": false,
|
|
3009
3009
|
"hiddenAliases": [],
|
|
3010
|
-
"id": "tenant:
|
|
3010
|
+
"id": "tenant:get",
|
|
3011
3011
|
"pluginAlias": "@xano/cli",
|
|
3012
3012
|
"pluginName": "@xano/cli",
|
|
3013
3013
|
"pluginType": "core",
|
|
@@ -3018,7 +3018,7 @@
|
|
|
3018
3018
|
"dist",
|
|
3019
3019
|
"commands",
|
|
3020
3020
|
"tenant",
|
|
3021
|
-
"
|
|
3021
|
+
"get",
|
|
3022
3022
|
"index.js"
|
|
3023
3023
|
]
|
|
3024
3024
|
},
|
|
@@ -3234,6 +3234,75 @@
|
|
|
3234
3234
|
"index.js"
|
|
3235
3235
|
]
|
|
3236
3236
|
},
|
|
3237
|
+
"tenant:list": {
|
|
3238
|
+
"aliases": [],
|
|
3239
|
+
"args": {},
|
|
3240
|
+
"description": "List all tenants in a workspace",
|
|
3241
|
+
"examples": [
|
|
3242
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3243
|
+
"$ xano tenant list -w 5 --output json"
|
|
3244
|
+
],
|
|
3245
|
+
"flags": {
|
|
3246
|
+
"profile": {
|
|
3247
|
+
"char": "p",
|
|
3248
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3249
|
+
"env": "XANO_PROFILE",
|
|
3250
|
+
"name": "profile",
|
|
3251
|
+
"required": false,
|
|
3252
|
+
"hasDynamicHelp": false,
|
|
3253
|
+
"multiple": false,
|
|
3254
|
+
"type": "option"
|
|
3255
|
+
},
|
|
3256
|
+
"verbose": {
|
|
3257
|
+
"char": "v",
|
|
3258
|
+
"description": "Show detailed request/response information",
|
|
3259
|
+
"env": "XANO_VERBOSE",
|
|
3260
|
+
"name": "verbose",
|
|
3261
|
+
"required": false,
|
|
3262
|
+
"allowNo": false,
|
|
3263
|
+
"type": "boolean"
|
|
3264
|
+
},
|
|
3265
|
+
"output": {
|
|
3266
|
+
"char": "o",
|
|
3267
|
+
"description": "Output format",
|
|
3268
|
+
"name": "output",
|
|
3269
|
+
"required": false,
|
|
3270
|
+
"default": "summary",
|
|
3271
|
+
"hasDynamicHelp": false,
|
|
3272
|
+
"multiple": false,
|
|
3273
|
+
"options": [
|
|
3274
|
+
"summary",
|
|
3275
|
+
"json"
|
|
3276
|
+
],
|
|
3277
|
+
"type": "option"
|
|
3278
|
+
},
|
|
3279
|
+
"workspace": {
|
|
3280
|
+
"char": "w",
|
|
3281
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3282
|
+
"name": "workspace",
|
|
3283
|
+
"required": false,
|
|
3284
|
+
"hasDynamicHelp": false,
|
|
3285
|
+
"multiple": false,
|
|
3286
|
+
"type": "option"
|
|
3287
|
+
}
|
|
3288
|
+
},
|
|
3289
|
+
"hasDynamicHelp": false,
|
|
3290
|
+
"hiddenAliases": [],
|
|
3291
|
+
"id": "tenant:list",
|
|
3292
|
+
"pluginAlias": "@xano/cli",
|
|
3293
|
+
"pluginName": "@xano/cli",
|
|
3294
|
+
"pluginType": "core",
|
|
3295
|
+
"strict": true,
|
|
3296
|
+
"enableJsonFlag": false,
|
|
3297
|
+
"isESM": true,
|
|
3298
|
+
"relativePath": [
|
|
3299
|
+
"dist",
|
|
3300
|
+
"commands",
|
|
3301
|
+
"tenant",
|
|
3302
|
+
"list",
|
|
3303
|
+
"index.js"
|
|
3304
|
+
]
|
|
3305
|
+
},
|
|
3237
3306
|
"tenant:pull": {
|
|
3238
3307
|
"aliases": [],
|
|
3239
3308
|
"args": {
|
|
@@ -3327,13 +3396,23 @@
|
|
|
3327
3396
|
"index.js"
|
|
3328
3397
|
]
|
|
3329
3398
|
},
|
|
3330
|
-
"tenant:
|
|
3399
|
+
"tenant:push": {
|
|
3331
3400
|
"aliases": [],
|
|
3332
|
-
"args": {
|
|
3333
|
-
|
|
3401
|
+
"args": {
|
|
3402
|
+
"directory": {
|
|
3403
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3404
|
+
"name": "directory",
|
|
3405
|
+
"required": true
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3334
3409
|
"examples": [
|
|
3335
|
-
"$ xano tenant
|
|
3336
|
-
"$ xano tenant
|
|
3410
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3411
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3412
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3413
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3414
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3415
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3337
3416
|
],
|
|
3338
3417
|
"flags": {
|
|
3339
3418
|
"profile": {
|
|
@@ -3355,23 +3434,39 @@
|
|
|
3355
3434
|
"allowNo": false,
|
|
3356
3435
|
"type": "boolean"
|
|
3357
3436
|
},
|
|
3358
|
-
"
|
|
3359
|
-
"
|
|
3360
|
-
"
|
|
3361
|
-
"name": "output",
|
|
3437
|
+
"env": {
|
|
3438
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3439
|
+
"name": "env",
|
|
3362
3440
|
"required": false,
|
|
3363
|
-
"
|
|
3441
|
+
"allowNo": true,
|
|
3442
|
+
"type": "boolean"
|
|
3443
|
+
},
|
|
3444
|
+
"records": {
|
|
3445
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3446
|
+
"name": "records",
|
|
3447
|
+
"required": false,
|
|
3448
|
+
"allowNo": true,
|
|
3449
|
+
"type": "boolean"
|
|
3450
|
+
},
|
|
3451
|
+
"tenant": {
|
|
3452
|
+
"char": "t",
|
|
3453
|
+
"description": "Tenant name to push to",
|
|
3454
|
+
"name": "tenant",
|
|
3455
|
+
"required": true,
|
|
3364
3456
|
"hasDynamicHelp": false,
|
|
3365
3457
|
"multiple": false,
|
|
3366
|
-
"options": [
|
|
3367
|
-
"summary",
|
|
3368
|
-
"json"
|
|
3369
|
-
],
|
|
3370
3458
|
"type": "option"
|
|
3371
3459
|
},
|
|
3460
|
+
"truncate": {
|
|
3461
|
+
"description": "Truncate all table records before importing",
|
|
3462
|
+
"name": "truncate",
|
|
3463
|
+
"required": false,
|
|
3464
|
+
"allowNo": false,
|
|
3465
|
+
"type": "boolean"
|
|
3466
|
+
},
|
|
3372
3467
|
"workspace": {
|
|
3373
3468
|
"char": "w",
|
|
3374
|
-
"description": "Workspace ID (
|
|
3469
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3375
3470
|
"name": "workspace",
|
|
3376
3471
|
"required": false,
|
|
3377
3472
|
"hasDynamicHelp": false,
|
|
@@ -3381,7 +3476,7 @@
|
|
|
3381
3476
|
},
|
|
3382
3477
|
"hasDynamicHelp": false,
|
|
3383
3478
|
"hiddenAliases": [],
|
|
3384
|
-
"id": "tenant:
|
|
3479
|
+
"id": "tenant:push",
|
|
3385
3480
|
"pluginAlias": "@xano/cli",
|
|
3386
3481
|
"pluginName": "@xano/cli",
|
|
3387
3482
|
"pluginType": "core",
|
|
@@ -3392,7 +3487,7 @@
|
|
|
3392
3487
|
"dist",
|
|
3393
3488
|
"commands",
|
|
3394
3489
|
"tenant",
|
|
3395
|
-
"
|
|
3490
|
+
"push",
|
|
3396
3491
|
"index.js"
|
|
3397
3492
|
]
|
|
3398
3493
|
},
|
|
@@ -3488,23 +3583,19 @@
|
|
|
3488
3583
|
"index.js"
|
|
3489
3584
|
]
|
|
3490
3585
|
},
|
|
3491
|
-
"
|
|
3586
|
+
"unit_test:run": {
|
|
3492
3587
|
"aliases": [],
|
|
3493
3588
|
"args": {
|
|
3494
|
-
"
|
|
3495
|
-
"description": "
|
|
3496
|
-
"name": "
|
|
3589
|
+
"unit_test_id": {
|
|
3590
|
+
"description": "ID of the unit test to run",
|
|
3591
|
+
"name": "unit_test_id",
|
|
3497
3592
|
"required": true
|
|
3498
3593
|
}
|
|
3499
3594
|
},
|
|
3500
|
-
"description": "
|
|
3595
|
+
"description": "Run a unit test",
|
|
3501
3596
|
"examples": [
|
|
3502
|
-
"$ xano
|
|
3503
|
-
"$ xano
|
|
3504
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3505
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3506
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3507
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3597
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3598
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3508
3599
|
],
|
|
3509
3600
|
"flags": {
|
|
3510
3601
|
"profile": {
|
|
@@ -3526,39 +3617,23 @@
|
|
|
3526
3617
|
"allowNo": false,
|
|
3527
3618
|
"type": "boolean"
|
|
3528
3619
|
},
|
|
3529
|
-
"
|
|
3530
|
-
"
|
|
3531
|
-
"
|
|
3532
|
-
"
|
|
3533
|
-
"allowNo": true,
|
|
3534
|
-
"type": "boolean"
|
|
3535
|
-
},
|
|
3536
|
-
"records": {
|
|
3537
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3538
|
-
"name": "records",
|
|
3620
|
+
"output": {
|
|
3621
|
+
"char": "o",
|
|
3622
|
+
"description": "Output format",
|
|
3623
|
+
"name": "output",
|
|
3539
3624
|
"required": false,
|
|
3540
|
-
"
|
|
3541
|
-
"type": "boolean"
|
|
3542
|
-
},
|
|
3543
|
-
"tenant": {
|
|
3544
|
-
"char": "t",
|
|
3545
|
-
"description": "Tenant name to push to",
|
|
3546
|
-
"name": "tenant",
|
|
3547
|
-
"required": true,
|
|
3625
|
+
"default": "summary",
|
|
3548
3626
|
"hasDynamicHelp": false,
|
|
3549
3627
|
"multiple": false,
|
|
3628
|
+
"options": [
|
|
3629
|
+
"summary",
|
|
3630
|
+
"json"
|
|
3631
|
+
],
|
|
3550
3632
|
"type": "option"
|
|
3551
3633
|
},
|
|
3552
|
-
"truncate": {
|
|
3553
|
-
"description": "Truncate all table records before importing",
|
|
3554
|
-
"name": "truncate",
|
|
3555
|
-
"required": false,
|
|
3556
|
-
"allowNo": false,
|
|
3557
|
-
"type": "boolean"
|
|
3558
|
-
},
|
|
3559
3634
|
"workspace": {
|
|
3560
3635
|
"char": "w",
|
|
3561
|
-
"description": "Workspace ID (
|
|
3636
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3562
3637
|
"name": "workspace",
|
|
3563
3638
|
"required": false,
|
|
3564
3639
|
"hasDynamicHelp": false,
|
|
@@ -3568,7 +3643,7 @@
|
|
|
3568
3643
|
},
|
|
3569
3644
|
"hasDynamicHelp": false,
|
|
3570
3645
|
"hiddenAliases": [],
|
|
3571
|
-
"id": "
|
|
3646
|
+
"id": "unit_test:run",
|
|
3572
3647
|
"pluginAlias": "@xano/cli",
|
|
3573
3648
|
"pluginName": "@xano/cli",
|
|
3574
3649
|
"pluginType": "core",
|
|
@@ -3578,24 +3653,25 @@
|
|
|
3578
3653
|
"relativePath": [
|
|
3579
3654
|
"dist",
|
|
3580
3655
|
"commands",
|
|
3581
|
-
"
|
|
3582
|
-
"
|
|
3656
|
+
"unit_test",
|
|
3657
|
+
"run",
|
|
3583
3658
|
"index.js"
|
|
3584
3659
|
]
|
|
3585
3660
|
},
|
|
3586
|
-
"
|
|
3661
|
+
"workspace:create": {
|
|
3587
3662
|
"aliases": [],
|
|
3588
3663
|
"args": {
|
|
3589
|
-
"
|
|
3590
|
-
"description": "
|
|
3591
|
-
"name": "
|
|
3664
|
+
"name": {
|
|
3665
|
+
"description": "Name of the workspace",
|
|
3666
|
+
"name": "name",
|
|
3592
3667
|
"required": true
|
|
3593
3668
|
}
|
|
3594
3669
|
},
|
|
3595
|
-
"description": "
|
|
3670
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
3596
3671
|
"examples": [
|
|
3597
|
-
"$ xano
|
|
3598
|
-
"$ xano
|
|
3672
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
3673
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
3674
|
+
"$ 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"
|
|
3599
3675
|
],
|
|
3600
3676
|
"flags": {
|
|
3601
3677
|
"profile": {
|
|
@@ -3617,6 +3693,15 @@
|
|
|
3617
3693
|
"allowNo": false,
|
|
3618
3694
|
"type": "boolean"
|
|
3619
3695
|
},
|
|
3696
|
+
"description": {
|
|
3697
|
+
"char": "d",
|
|
3698
|
+
"description": "Description for the workspace",
|
|
3699
|
+
"name": "description",
|
|
3700
|
+
"required": false,
|
|
3701
|
+
"hasDynamicHelp": false,
|
|
3702
|
+
"multiple": false,
|
|
3703
|
+
"type": "option"
|
|
3704
|
+
},
|
|
3620
3705
|
"output": {
|
|
3621
3706
|
"char": "o",
|
|
3622
3707
|
"description": "Output format",
|
|
@@ -3630,20 +3715,11 @@
|
|
|
3630
3715
|
"json"
|
|
3631
3716
|
],
|
|
3632
3717
|
"type": "option"
|
|
3633
|
-
},
|
|
3634
|
-
"workspace": {
|
|
3635
|
-
"char": "w",
|
|
3636
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3637
|
-
"name": "workspace",
|
|
3638
|
-
"required": false,
|
|
3639
|
-
"hasDynamicHelp": false,
|
|
3640
|
-
"multiple": false,
|
|
3641
|
-
"type": "option"
|
|
3642
3718
|
}
|
|
3643
3719
|
},
|
|
3644
3720
|
"hasDynamicHelp": false,
|
|
3645
3721
|
"hiddenAliases": [],
|
|
3646
|
-
"id": "
|
|
3722
|
+
"id": "workspace:create",
|
|
3647
3723
|
"pluginAlias": "@xano/cli",
|
|
3648
3724
|
"pluginName": "@xano/cli",
|
|
3649
3725
|
"pluginType": "core",
|
|
@@ -3653,24 +3729,18 @@
|
|
|
3653
3729
|
"relativePath": [
|
|
3654
3730
|
"dist",
|
|
3655
3731
|
"commands",
|
|
3656
|
-
"
|
|
3657
|
-
"
|
|
3732
|
+
"workspace",
|
|
3733
|
+
"create",
|
|
3658
3734
|
"index.js"
|
|
3659
3735
|
]
|
|
3660
3736
|
},
|
|
3661
|
-
"
|
|
3737
|
+
"unit_test:run_all": {
|
|
3662
3738
|
"aliases": [],
|
|
3663
|
-
"args": {
|
|
3664
|
-
|
|
3665
|
-
"description": "ID of the workflow test to delete",
|
|
3666
|
-
"name": "workflow_test_id",
|
|
3667
|
-
"required": true
|
|
3668
|
-
}
|
|
3669
|
-
},
|
|
3670
|
-
"description": "Delete a workflow test",
|
|
3739
|
+
"args": {},
|
|
3740
|
+
"description": "Run all unit tests in a workspace",
|
|
3671
3741
|
"examples": [
|
|
3672
|
-
"$ xano
|
|
3673
|
-
"$ xano
|
|
3742
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
3743
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3674
3744
|
],
|
|
3675
3745
|
"flags": {
|
|
3676
3746
|
"profile": {
|
|
@@ -3692,13 +3762,27 @@
|
|
|
3692
3762
|
"allowNo": false,
|
|
3693
3763
|
"type": "boolean"
|
|
3694
3764
|
},
|
|
3695
|
-
"
|
|
3696
|
-
"char": "
|
|
3697
|
-
"description": "
|
|
3698
|
-
"name": "
|
|
3765
|
+
"branch": {
|
|
3766
|
+
"char": "b",
|
|
3767
|
+
"description": "Filter by branch name",
|
|
3768
|
+
"name": "branch",
|
|
3699
3769
|
"required": false,
|
|
3700
|
-
"
|
|
3701
|
-
"
|
|
3770
|
+
"hasDynamicHelp": false,
|
|
3771
|
+
"multiple": false,
|
|
3772
|
+
"type": "option"
|
|
3773
|
+
},
|
|
3774
|
+
"obj-type": {
|
|
3775
|
+
"description": "Filter by object type",
|
|
3776
|
+
"name": "obj-type",
|
|
3777
|
+
"required": false,
|
|
3778
|
+
"hasDynamicHelp": false,
|
|
3779
|
+
"multiple": false,
|
|
3780
|
+
"options": [
|
|
3781
|
+
"function",
|
|
3782
|
+
"query",
|
|
3783
|
+
"middleware"
|
|
3784
|
+
],
|
|
3785
|
+
"type": "option"
|
|
3702
3786
|
},
|
|
3703
3787
|
"output": {
|
|
3704
3788
|
"char": "o",
|
|
@@ -3726,7 +3810,7 @@
|
|
|
3726
3810
|
},
|
|
3727
3811
|
"hasDynamicHelp": false,
|
|
3728
3812
|
"hiddenAliases": [],
|
|
3729
|
-
"id": "
|
|
3813
|
+
"id": "unit_test:run_all",
|
|
3730
3814
|
"pluginAlias": "@xano/cli",
|
|
3731
3815
|
"pluginName": "@xano/cli",
|
|
3732
3816
|
"pluginType": "core",
|
|
@@ -3736,25 +3820,26 @@
|
|
|
3736
3820
|
"relativePath": [
|
|
3737
3821
|
"dist",
|
|
3738
3822
|
"commands",
|
|
3739
|
-
"
|
|
3740
|
-
"
|
|
3823
|
+
"unit_test",
|
|
3824
|
+
"run_all",
|
|
3741
3825
|
"index.js"
|
|
3742
3826
|
]
|
|
3743
3827
|
},
|
|
3744
|
-
"
|
|
3828
|
+
"workspace:edit": {
|
|
3745
3829
|
"aliases": [],
|
|
3746
3830
|
"args": {
|
|
3747
|
-
"
|
|
3748
|
-
"description": "ID
|
|
3749
|
-
"name": "
|
|
3750
|
-
"required":
|
|
3831
|
+
"workspace_id": {
|
|
3832
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3833
|
+
"name": "workspace_id",
|
|
3834
|
+
"required": false
|
|
3751
3835
|
}
|
|
3752
3836
|
},
|
|
3753
|
-
"description": "
|
|
3837
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
3754
3838
|
"examples": [
|
|
3755
|
-
"$ xano
|
|
3756
|
-
"$ xano
|
|
3757
|
-
"$ xano
|
|
3839
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
3840
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
3841
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
3842
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
3758
3843
|
],
|
|
3759
3844
|
"flags": {
|
|
3760
3845
|
"profile": {
|
|
@@ -3776,12 +3861,23 @@
|
|
|
3776
3861
|
"allowNo": false,
|
|
3777
3862
|
"type": "boolean"
|
|
3778
3863
|
},
|
|
3779
|
-
"
|
|
3780
|
-
"
|
|
3781
|
-
"
|
|
3864
|
+
"description": {
|
|
3865
|
+
"char": "d",
|
|
3866
|
+
"description": "New description for the workspace",
|
|
3867
|
+
"name": "description",
|
|
3782
3868
|
"required": false,
|
|
3783
|
-
"
|
|
3784
|
-
"
|
|
3869
|
+
"hasDynamicHelp": false,
|
|
3870
|
+
"multiple": false,
|
|
3871
|
+
"type": "option"
|
|
3872
|
+
},
|
|
3873
|
+
"name": {
|
|
3874
|
+
"char": "n",
|
|
3875
|
+
"description": "New name for the workspace",
|
|
3876
|
+
"name": "name",
|
|
3877
|
+
"required": false,
|
|
3878
|
+
"hasDynamicHelp": false,
|
|
3879
|
+
"multiple": false,
|
|
3880
|
+
"type": "option"
|
|
3785
3881
|
},
|
|
3786
3882
|
"output": {
|
|
3787
3883
|
"char": "o",
|
|
@@ -3793,24 +3889,28 @@
|
|
|
3793
3889
|
"multiple": false,
|
|
3794
3890
|
"options": [
|
|
3795
3891
|
"summary",
|
|
3796
|
-
"json"
|
|
3797
|
-
"xs"
|
|
3892
|
+
"json"
|
|
3798
3893
|
],
|
|
3799
3894
|
"type": "option"
|
|
3800
3895
|
},
|
|
3801
|
-
"
|
|
3802
|
-
"
|
|
3803
|
-
"
|
|
3804
|
-
"name": "workspace",
|
|
3896
|
+
"require-token": {
|
|
3897
|
+
"description": "Whether to require a token for documentation access",
|
|
3898
|
+
"name": "require-token",
|
|
3805
3899
|
"required": false,
|
|
3806
|
-
"
|
|
3807
|
-
"
|
|
3808
|
-
|
|
3900
|
+
"allowNo": true,
|
|
3901
|
+
"type": "boolean"
|
|
3902
|
+
},
|
|
3903
|
+
"swagger": {
|
|
3904
|
+
"description": "Enable or disable swagger documentation",
|
|
3905
|
+
"name": "swagger",
|
|
3906
|
+
"required": false,
|
|
3907
|
+
"allowNo": true,
|
|
3908
|
+
"type": "boolean"
|
|
3809
3909
|
}
|
|
3810
3910
|
},
|
|
3811
3911
|
"hasDynamicHelp": false,
|
|
3812
3912
|
"hiddenAliases": [],
|
|
3813
|
-
"id": "
|
|
3913
|
+
"id": "workspace:edit",
|
|
3814
3914
|
"pluginAlias": "@xano/cli",
|
|
3815
3915
|
"pluginName": "@xano/cli",
|
|
3816
3916
|
"pluginType": "core",
|
|
@@ -3820,18 +3920,25 @@
|
|
|
3820
3920
|
"relativePath": [
|
|
3821
3921
|
"dist",
|
|
3822
3922
|
"commands",
|
|
3823
|
-
"
|
|
3824
|
-
"
|
|
3923
|
+
"workspace",
|
|
3924
|
+
"edit",
|
|
3825
3925
|
"index.js"
|
|
3826
3926
|
]
|
|
3827
3927
|
},
|
|
3828
|
-
"
|
|
3928
|
+
"workspace:get": {
|
|
3829
3929
|
"aliases": [],
|
|
3830
|
-
"args": {
|
|
3831
|
-
|
|
3930
|
+
"args": {
|
|
3931
|
+
"workspace_id": {
|
|
3932
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
3933
|
+
"name": "workspace_id",
|
|
3934
|
+
"required": false
|
|
3935
|
+
}
|
|
3936
|
+
},
|
|
3937
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
3832
3938
|
"examples": [
|
|
3833
|
-
"$ xano
|
|
3834
|
-
"$ xano
|
|
3939
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
3940
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
3941
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
3835
3942
|
],
|
|
3836
3943
|
"flags": {
|
|
3837
3944
|
"profile": {
|
|
@@ -3853,28 +3960,6 @@
|
|
|
3853
3960
|
"allowNo": false,
|
|
3854
3961
|
"type": "boolean"
|
|
3855
3962
|
},
|
|
3856
|
-
"branch": {
|
|
3857
|
-
"char": "b",
|
|
3858
|
-
"description": "Filter by branch name",
|
|
3859
|
-
"name": "branch",
|
|
3860
|
-
"required": false,
|
|
3861
|
-
"hasDynamicHelp": false,
|
|
3862
|
-
"multiple": false,
|
|
3863
|
-
"type": "option"
|
|
3864
|
-
},
|
|
3865
|
-
"obj-type": {
|
|
3866
|
-
"description": "Filter by object type",
|
|
3867
|
-
"name": "obj-type",
|
|
3868
|
-
"required": false,
|
|
3869
|
-
"hasDynamicHelp": false,
|
|
3870
|
-
"multiple": false,
|
|
3871
|
-
"options": [
|
|
3872
|
-
"function",
|
|
3873
|
-
"query",
|
|
3874
|
-
"middleware"
|
|
3875
|
-
],
|
|
3876
|
-
"type": "option"
|
|
3877
|
-
},
|
|
3878
3963
|
"output": {
|
|
3879
3964
|
"char": "o",
|
|
3880
3965
|
"description": "Output format",
|
|
@@ -3888,20 +3973,11 @@
|
|
|
3888
3973
|
"json"
|
|
3889
3974
|
],
|
|
3890
3975
|
"type": "option"
|
|
3891
|
-
},
|
|
3892
|
-
"workspace": {
|
|
3893
|
-
"char": "w",
|
|
3894
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3895
|
-
"name": "workspace",
|
|
3896
|
-
"required": false,
|
|
3897
|
-
"hasDynamicHelp": false,
|
|
3898
|
-
"multiple": false,
|
|
3899
|
-
"type": "option"
|
|
3900
3976
|
}
|
|
3901
3977
|
},
|
|
3902
3978
|
"hasDynamicHelp": false,
|
|
3903
3979
|
"hiddenAliases": [],
|
|
3904
|
-
"id": "
|
|
3980
|
+
"id": "workspace:get",
|
|
3905
3981
|
"pluginAlias": "@xano/cli",
|
|
3906
3982
|
"pluginName": "@xano/cli",
|
|
3907
3983
|
"pluginType": "core",
|
|
@@ -3911,24 +3987,25 @@
|
|
|
3911
3987
|
"relativePath": [
|
|
3912
3988
|
"dist",
|
|
3913
3989
|
"commands",
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3990
|
+
"workspace",
|
|
3991
|
+
"get",
|
|
3916
3992
|
"index.js"
|
|
3917
3993
|
]
|
|
3918
3994
|
},
|
|
3919
|
-
"
|
|
3995
|
+
"workspace:delete": {
|
|
3920
3996
|
"aliases": [],
|
|
3921
3997
|
"args": {
|
|
3922
|
-
"
|
|
3923
|
-
"description": "ID
|
|
3924
|
-
"name": "
|
|
3998
|
+
"workspace_id": {
|
|
3999
|
+
"description": "Workspace ID to delete",
|
|
4000
|
+
"name": "workspace_id",
|
|
3925
4001
|
"required": true
|
|
3926
4002
|
}
|
|
3927
4003
|
},
|
|
3928
|
-
"description": "
|
|
4004
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
3929
4005
|
"examples": [
|
|
3930
|
-
"$ xano
|
|
3931
|
-
"$ xano
|
|
4006
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4007
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4008
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3932
4009
|
],
|
|
3933
4010
|
"flags": {
|
|
3934
4011
|
"profile": {
|
|
@@ -3950,6 +4027,14 @@
|
|
|
3950
4027
|
"allowNo": false,
|
|
3951
4028
|
"type": "boolean"
|
|
3952
4029
|
},
|
|
4030
|
+
"force": {
|
|
4031
|
+
"char": "f",
|
|
4032
|
+
"description": "Skip confirmation prompt",
|
|
4033
|
+
"name": "force",
|
|
4034
|
+
"required": false,
|
|
4035
|
+
"allowNo": false,
|
|
4036
|
+
"type": "boolean"
|
|
4037
|
+
},
|
|
3953
4038
|
"output": {
|
|
3954
4039
|
"char": "o",
|
|
3955
4040
|
"description": "Output format",
|
|
@@ -3963,20 +4048,11 @@
|
|
|
3963
4048
|
"json"
|
|
3964
4049
|
],
|
|
3965
4050
|
"type": "option"
|
|
3966
|
-
},
|
|
3967
|
-
"workspace": {
|
|
3968
|
-
"char": "w",
|
|
3969
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3970
|
-
"name": "workspace",
|
|
3971
|
-
"required": false,
|
|
3972
|
-
"hasDynamicHelp": false,
|
|
3973
|
-
"multiple": false,
|
|
3974
|
-
"type": "option"
|
|
3975
4051
|
}
|
|
3976
4052
|
},
|
|
3977
4053
|
"hasDynamicHelp": false,
|
|
3978
4054
|
"hiddenAliases": [],
|
|
3979
|
-
"id": "
|
|
4055
|
+
"id": "workspace:delete",
|
|
3980
4056
|
"pluginAlias": "@xano/cli",
|
|
3981
4057
|
"pluginName": "@xano/cli",
|
|
3982
4058
|
"pluginType": "core",
|
|
@@ -3986,18 +4062,24 @@
|
|
|
3986
4062
|
"relativePath": [
|
|
3987
4063
|
"dist",
|
|
3988
4064
|
"commands",
|
|
3989
|
-
"
|
|
3990
|
-
"
|
|
4065
|
+
"workspace",
|
|
4066
|
+
"delete",
|
|
3991
4067
|
"index.js"
|
|
3992
4068
|
]
|
|
3993
4069
|
},
|
|
3994
|
-
"workflow_test:
|
|
4070
|
+
"workflow_test:delete": {
|
|
3995
4071
|
"aliases": [],
|
|
3996
|
-
"args": {
|
|
3997
|
-
|
|
4072
|
+
"args": {
|
|
4073
|
+
"workflow_test_id": {
|
|
4074
|
+
"description": "ID of the workflow test to delete",
|
|
4075
|
+
"name": "workflow_test_id",
|
|
4076
|
+
"required": true
|
|
4077
|
+
}
|
|
4078
|
+
},
|
|
4079
|
+
"description": "Delete a workflow test",
|
|
3998
4080
|
"examples": [
|
|
3999
|
-
"$ xano workflow-test
|
|
4000
|
-
"$ xano workflow-test
|
|
4081
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
4082
|
+
"$ xano workflow-test delete 1 --force"
|
|
4001
4083
|
],
|
|
4002
4084
|
"flags": {
|
|
4003
4085
|
"profile": {
|
|
@@ -4019,14 +4101,13 @@
|
|
|
4019
4101
|
"allowNo": false,
|
|
4020
4102
|
"type": "boolean"
|
|
4021
4103
|
},
|
|
4022
|
-
"
|
|
4023
|
-
"char": "
|
|
4024
|
-
"description": "
|
|
4025
|
-
"name": "
|
|
4104
|
+
"force": {
|
|
4105
|
+
"char": "f",
|
|
4106
|
+
"description": "Skip confirmation prompt",
|
|
4107
|
+
"name": "force",
|
|
4026
4108
|
"required": false,
|
|
4027
|
-
"
|
|
4028
|
-
"
|
|
4029
|
-
"type": "option"
|
|
4109
|
+
"allowNo": false,
|
|
4110
|
+
"type": "boolean"
|
|
4030
4111
|
},
|
|
4031
4112
|
"output": {
|
|
4032
4113
|
"char": "o",
|
|
@@ -4054,7 +4135,7 @@
|
|
|
4054
4135
|
},
|
|
4055
4136
|
"hasDynamicHelp": false,
|
|
4056
4137
|
"hiddenAliases": [],
|
|
4057
|
-
"id": "workflow_test:
|
|
4138
|
+
"id": "workflow_test:delete",
|
|
4058
4139
|
"pluginAlias": "@xano/cli",
|
|
4059
4140
|
"pluginName": "@xano/cli",
|
|
4060
4141
|
"pluginType": "core",
|
|
@@ -4065,20 +4146,26 @@
|
|
|
4065
4146
|
"dist",
|
|
4066
4147
|
"commands",
|
|
4067
4148
|
"workflow_test",
|
|
4068
|
-
"
|
|
4149
|
+
"delete",
|
|
4069
4150
|
"index.js"
|
|
4070
4151
|
]
|
|
4071
4152
|
},
|
|
4072
|
-
"workflow_test:
|
|
4153
|
+
"workflow_test:get": {
|
|
4073
4154
|
"aliases": [],
|
|
4074
|
-
"args": {
|
|
4075
|
-
|
|
4155
|
+
"args": {
|
|
4156
|
+
"workflow_test_id": {
|
|
4157
|
+
"description": "ID of the workflow test",
|
|
4158
|
+
"name": "workflow_test_id",
|
|
4159
|
+
"required": true
|
|
4160
|
+
}
|
|
4161
|
+
},
|
|
4162
|
+
"description": "Get a specific workflow test",
|
|
4076
4163
|
"examples": [
|
|
4077
|
-
"$ xano workflow-test
|
|
4078
|
-
"$ xano workflow-test
|
|
4079
|
-
"$ xano workflow-test
|
|
4080
|
-
],
|
|
4081
|
-
"flags": {
|
|
4164
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
4165
|
+
"$ xano workflow-test get 1 -o xs",
|
|
4166
|
+
"$ xano workflow-test get 1 -o json"
|
|
4167
|
+
],
|
|
4168
|
+
"flags": {
|
|
4082
4169
|
"profile": {
|
|
4083
4170
|
"char": "p",
|
|
4084
4171
|
"description": "Profile to use (uses default profile if not specified)",
|
|
@@ -4098,14 +4185,12 @@
|
|
|
4098
4185
|
"allowNo": false,
|
|
4099
4186
|
"type": "boolean"
|
|
4100
4187
|
},
|
|
4101
|
-
"
|
|
4102
|
-
"
|
|
4103
|
-
"
|
|
4104
|
-
"name": "branch",
|
|
4188
|
+
"include-draft": {
|
|
4189
|
+
"description": "Include draft version",
|
|
4190
|
+
"name": "include-draft",
|
|
4105
4191
|
"required": false,
|
|
4106
|
-
"
|
|
4107
|
-
"
|
|
4108
|
-
"type": "option"
|
|
4192
|
+
"allowNo": false,
|
|
4193
|
+
"type": "boolean"
|
|
4109
4194
|
},
|
|
4110
4195
|
"output": {
|
|
4111
4196
|
"char": "o",
|
|
@@ -4117,7 +4202,8 @@
|
|
|
4117
4202
|
"multiple": false,
|
|
4118
4203
|
"options": [
|
|
4119
4204
|
"summary",
|
|
4120
|
-
"json"
|
|
4205
|
+
"json",
|
|
4206
|
+
"xs"
|
|
4121
4207
|
],
|
|
4122
4208
|
"type": "option"
|
|
4123
4209
|
},
|
|
@@ -4133,7 +4219,7 @@
|
|
|
4133
4219
|
},
|
|
4134
4220
|
"hasDynamicHelp": false,
|
|
4135
4221
|
"hiddenAliases": [],
|
|
4136
|
-
"id": "workflow_test:
|
|
4222
|
+
"id": "workflow_test:get",
|
|
4137
4223
|
"pluginAlias": "@xano/cli",
|
|
4138
4224
|
"pluginName": "@xano/cli",
|
|
4139
4225
|
"pluginType": "core",
|
|
@@ -4144,24 +4230,19 @@
|
|
|
4144
4230
|
"dist",
|
|
4145
4231
|
"commands",
|
|
4146
4232
|
"workflow_test",
|
|
4147
|
-
"
|
|
4233
|
+
"get",
|
|
4148
4234
|
"index.js"
|
|
4149
4235
|
]
|
|
4150
4236
|
},
|
|
4151
|
-
"workspace:
|
|
4237
|
+
"workspace:list": {
|
|
4152
4238
|
"aliases": [],
|
|
4153
|
-
"args": {
|
|
4154
|
-
|
|
4155
|
-
"description": "Name of the workspace",
|
|
4156
|
-
"name": "name",
|
|
4157
|
-
"required": true
|
|
4158
|
-
}
|
|
4159
|
-
},
|
|
4160
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4239
|
+
"args": {},
|
|
4240
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4161
4241
|
"examples": [
|
|
4162
|
-
"$ xano workspace
|
|
4163
|
-
"$ xano workspace
|
|
4164
|
-
"$ xano workspace
|
|
4242
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4243
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4244
|
+
"$ 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",
|
|
4245
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4165
4246
|
],
|
|
4166
4247
|
"flags": {
|
|
4167
4248
|
"profile": {
|
|
@@ -4183,15 +4264,6 @@
|
|
|
4183
4264
|
"allowNo": false,
|
|
4184
4265
|
"type": "boolean"
|
|
4185
4266
|
},
|
|
4186
|
-
"description": {
|
|
4187
|
-
"char": "d",
|
|
4188
|
-
"description": "Description for the workspace",
|
|
4189
|
-
"name": "description",
|
|
4190
|
-
"required": false,
|
|
4191
|
-
"hasDynamicHelp": false,
|
|
4192
|
-
"multiple": false,
|
|
4193
|
-
"type": "option"
|
|
4194
|
-
},
|
|
4195
4267
|
"output": {
|
|
4196
4268
|
"char": "o",
|
|
4197
4269
|
"description": "Output format",
|
|
@@ -4209,7 +4281,7 @@
|
|
|
4209
4281
|
},
|
|
4210
4282
|
"hasDynamicHelp": false,
|
|
4211
4283
|
"hiddenAliases": [],
|
|
4212
|
-
"id": "workspace:
|
|
4284
|
+
"id": "workspace:list",
|
|
4213
4285
|
"pluginAlias": "@xano/cli",
|
|
4214
4286
|
"pluginName": "@xano/cli",
|
|
4215
4287
|
"pluginType": "core",
|
|
@@ -4220,25 +4292,32 @@
|
|
|
4220
4292
|
"dist",
|
|
4221
4293
|
"commands",
|
|
4222
4294
|
"workspace",
|
|
4223
|
-
"
|
|
4295
|
+
"list",
|
|
4224
4296
|
"index.js"
|
|
4225
4297
|
]
|
|
4226
4298
|
},
|
|
4227
|
-
"workspace:
|
|
4299
|
+
"workspace:push": {
|
|
4228
4300
|
"aliases": [],
|
|
4229
4301
|
"args": {
|
|
4230
|
-
"
|
|
4231
|
-
"description": "
|
|
4232
|
-
"name": "
|
|
4233
|
-
"required":
|
|
4302
|
+
"directory": {
|
|
4303
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4304
|
+
"name": "directory",
|
|
4305
|
+
"required": true
|
|
4234
4306
|
}
|
|
4235
4307
|
},
|
|
4236
|
-
"description": "
|
|
4308
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4237
4309
|
"examples": [
|
|
4238
|
-
"$ xano workspace
|
|
4239
|
-
"$ xano workspace
|
|
4240
|
-
"$ xano workspace
|
|
4241
|
-
"$ xano workspace
|
|
4310
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4311
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4312
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4313
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4314
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4315
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4316
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4317
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4318
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4319
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4320
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4242
4321
|
],
|
|
4243
4322
|
"flags": {
|
|
4244
4323
|
"profile": {
|
|
@@ -4260,56 +4339,70 @@
|
|
|
4260
4339
|
"allowNo": false,
|
|
4261
4340
|
"type": "boolean"
|
|
4262
4341
|
},
|
|
4263
|
-
"
|
|
4264
|
-
"char": "
|
|
4265
|
-
"description": "
|
|
4266
|
-
"name": "
|
|
4342
|
+
"branch": {
|
|
4343
|
+
"char": "b",
|
|
4344
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4345
|
+
"name": "branch",
|
|
4267
4346
|
"required": false,
|
|
4268
4347
|
"hasDynamicHelp": false,
|
|
4269
4348
|
"multiple": false,
|
|
4270
4349
|
"type": "option"
|
|
4271
4350
|
},
|
|
4272
|
-
"
|
|
4273
|
-
"
|
|
4274
|
-
"
|
|
4275
|
-
"name": "name",
|
|
4351
|
+
"delete": {
|
|
4352
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4353
|
+
"name": "delete",
|
|
4276
4354
|
"required": false,
|
|
4277
|
-
"
|
|
4278
|
-
"
|
|
4279
|
-
"type": "option"
|
|
4355
|
+
"allowNo": true,
|
|
4356
|
+
"type": "boolean"
|
|
4280
4357
|
},
|
|
4281
|
-
"
|
|
4282
|
-
"
|
|
4283
|
-
"
|
|
4284
|
-
"name": "output",
|
|
4358
|
+
"env": {
|
|
4359
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4360
|
+
"name": "env",
|
|
4285
4361
|
"required": false,
|
|
4286
|
-
"
|
|
4287
|
-
"
|
|
4288
|
-
"multiple": false,
|
|
4289
|
-
"options": [
|
|
4290
|
-
"summary",
|
|
4291
|
-
"json"
|
|
4292
|
-
],
|
|
4293
|
-
"type": "option"
|
|
4362
|
+
"allowNo": true,
|
|
4363
|
+
"type": "boolean"
|
|
4294
4364
|
},
|
|
4295
|
-
"
|
|
4296
|
-
"description": "
|
|
4297
|
-
"name": "
|
|
4365
|
+
"partial": {
|
|
4366
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4367
|
+
"name": "partial",
|
|
4368
|
+
"required": false,
|
|
4369
|
+
"allowNo": false,
|
|
4370
|
+
"type": "boolean"
|
|
4371
|
+
},
|
|
4372
|
+
"records": {
|
|
4373
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4374
|
+
"name": "records",
|
|
4298
4375
|
"required": false,
|
|
4299
4376
|
"allowNo": true,
|
|
4300
4377
|
"type": "boolean"
|
|
4301
4378
|
},
|
|
4302
|
-
"
|
|
4303
|
-
"description": "
|
|
4304
|
-
"name": "
|
|
4379
|
+
"sync-guids": {
|
|
4380
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4381
|
+
"name": "sync-guids",
|
|
4305
4382
|
"required": false,
|
|
4306
4383
|
"allowNo": true,
|
|
4307
4384
|
"type": "boolean"
|
|
4385
|
+
},
|
|
4386
|
+
"truncate": {
|
|
4387
|
+
"description": "Truncate all table records before importing",
|
|
4388
|
+
"name": "truncate",
|
|
4389
|
+
"required": false,
|
|
4390
|
+
"allowNo": false,
|
|
4391
|
+
"type": "boolean"
|
|
4392
|
+
},
|
|
4393
|
+
"workspace": {
|
|
4394
|
+
"char": "w",
|
|
4395
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4396
|
+
"name": "workspace",
|
|
4397
|
+
"required": false,
|
|
4398
|
+
"hasDynamicHelp": false,
|
|
4399
|
+
"multiple": false,
|
|
4400
|
+
"type": "option"
|
|
4308
4401
|
}
|
|
4309
4402
|
},
|
|
4310
4403
|
"hasDynamicHelp": false,
|
|
4311
4404
|
"hiddenAliases": [],
|
|
4312
|
-
"id": "workspace:
|
|
4405
|
+
"id": "workspace:push",
|
|
4313
4406
|
"pluginAlias": "@xano/cli",
|
|
4314
4407
|
"pluginName": "@xano/cli",
|
|
4315
4408
|
"pluginType": "core",
|
|
@@ -4320,24 +4413,26 @@
|
|
|
4320
4413
|
"dist",
|
|
4321
4414
|
"commands",
|
|
4322
4415
|
"workspace",
|
|
4323
|
-
"
|
|
4416
|
+
"push",
|
|
4324
4417
|
"index.js"
|
|
4325
4418
|
]
|
|
4326
4419
|
},
|
|
4327
|
-
"workspace:
|
|
4420
|
+
"workspace:pull": {
|
|
4328
4421
|
"aliases": [],
|
|
4329
4422
|
"args": {
|
|
4330
|
-
"
|
|
4331
|
-
"description": "
|
|
4332
|
-
"name": "
|
|
4333
|
-
"required":
|
|
4423
|
+
"directory": {
|
|
4424
|
+
"description": "Output directory for pulled documents",
|
|
4425
|
+
"name": "directory",
|
|
4426
|
+
"required": true
|
|
4334
4427
|
}
|
|
4335
4428
|
},
|
|
4336
|
-
"description": "
|
|
4429
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4337
4430
|
"examples": [
|
|
4338
|
-
"$ xano workspace
|
|
4339
|
-
"$ xano workspace
|
|
4340
|
-
"$ xano workspace
|
|
4431
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4432
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4433
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4434
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4435
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4341
4436
|
],
|
|
4342
4437
|
"flags": {
|
|
4343
4438
|
"profile": {
|
|
@@ -4359,24 +4454,49 @@
|
|
|
4359
4454
|
"allowNo": false,
|
|
4360
4455
|
"type": "boolean"
|
|
4361
4456
|
},
|
|
4362
|
-
"
|
|
4363
|
-
"char": "
|
|
4364
|
-
"description": "
|
|
4365
|
-
"name": "
|
|
4457
|
+
"branch": {
|
|
4458
|
+
"char": "b",
|
|
4459
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4460
|
+
"name": "branch",
|
|
4461
|
+
"required": false,
|
|
4462
|
+
"hasDynamicHelp": false,
|
|
4463
|
+
"multiple": false,
|
|
4464
|
+
"type": "option"
|
|
4465
|
+
},
|
|
4466
|
+
"env": {
|
|
4467
|
+
"description": "Include environment variables",
|
|
4468
|
+
"name": "env",
|
|
4469
|
+
"required": false,
|
|
4470
|
+
"allowNo": false,
|
|
4471
|
+
"type": "boolean"
|
|
4472
|
+
},
|
|
4473
|
+
"draft": {
|
|
4474
|
+
"description": "Include draft versions",
|
|
4475
|
+
"name": "draft",
|
|
4476
|
+
"required": false,
|
|
4477
|
+
"allowNo": false,
|
|
4478
|
+
"type": "boolean"
|
|
4479
|
+
},
|
|
4480
|
+
"records": {
|
|
4481
|
+
"description": "Include records",
|
|
4482
|
+
"name": "records",
|
|
4483
|
+
"required": false,
|
|
4484
|
+
"allowNo": false,
|
|
4485
|
+
"type": "boolean"
|
|
4486
|
+
},
|
|
4487
|
+
"workspace": {
|
|
4488
|
+
"char": "w",
|
|
4489
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4490
|
+
"name": "workspace",
|
|
4366
4491
|
"required": false,
|
|
4367
|
-
"default": "summary",
|
|
4368
4492
|
"hasDynamicHelp": false,
|
|
4369
4493
|
"multiple": false,
|
|
4370
|
-
"options": [
|
|
4371
|
-
"summary",
|
|
4372
|
-
"json"
|
|
4373
|
-
],
|
|
4374
4494
|
"type": "option"
|
|
4375
4495
|
}
|
|
4376
4496
|
},
|
|
4377
4497
|
"hasDynamicHelp": false,
|
|
4378
4498
|
"hiddenAliases": [],
|
|
4379
|
-
"id": "workspace:
|
|
4499
|
+
"id": "workspace:pull",
|
|
4380
4500
|
"pluginAlias": "@xano/cli",
|
|
4381
4501
|
"pluginName": "@xano/cli",
|
|
4382
4502
|
"pluginType": "core",
|
|
@@ -4387,24 +4507,23 @@
|
|
|
4387
4507
|
"dist",
|
|
4388
4508
|
"commands",
|
|
4389
4509
|
"workspace",
|
|
4390
|
-
"
|
|
4510
|
+
"pull",
|
|
4391
4511
|
"index.js"
|
|
4392
4512
|
]
|
|
4393
4513
|
},
|
|
4394
|
-
"
|
|
4514
|
+
"workflow_test:run": {
|
|
4395
4515
|
"aliases": [],
|
|
4396
4516
|
"args": {
|
|
4397
|
-
"
|
|
4398
|
-
"description": "
|
|
4399
|
-
"name": "
|
|
4517
|
+
"workflow_test_id": {
|
|
4518
|
+
"description": "ID of the workflow test to run",
|
|
4519
|
+
"name": "workflow_test_id",
|
|
4400
4520
|
"required": true
|
|
4401
4521
|
}
|
|
4402
4522
|
},
|
|
4403
|
-
"description": "
|
|
4523
|
+
"description": "Run a workflow test",
|
|
4404
4524
|
"examples": [
|
|
4405
|
-
"$ xano
|
|
4406
|
-
"$ xano
|
|
4407
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4525
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4526
|
+
"$ xano workflow-test run 1 -o json"
|
|
4408
4527
|
],
|
|
4409
4528
|
"flags": {
|
|
4410
4529
|
"profile": {
|
|
@@ -4426,14 +4545,6 @@
|
|
|
4426
4545
|
"allowNo": false,
|
|
4427
4546
|
"type": "boolean"
|
|
4428
4547
|
},
|
|
4429
|
-
"force": {
|
|
4430
|
-
"char": "f",
|
|
4431
|
-
"description": "Skip confirmation prompt",
|
|
4432
|
-
"name": "force",
|
|
4433
|
-
"required": false,
|
|
4434
|
-
"allowNo": false,
|
|
4435
|
-
"type": "boolean"
|
|
4436
|
-
},
|
|
4437
4548
|
"output": {
|
|
4438
4549
|
"char": "o",
|
|
4439
4550
|
"description": "Output format",
|
|
@@ -4447,13 +4558,22 @@
|
|
|
4447
4558
|
"json"
|
|
4448
4559
|
],
|
|
4449
4560
|
"type": "option"
|
|
4450
|
-
}
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4561
|
+
},
|
|
4562
|
+
"workspace": {
|
|
4563
|
+
"char": "w",
|
|
4564
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4565
|
+
"name": "workspace",
|
|
4566
|
+
"required": false,
|
|
4567
|
+
"hasDynamicHelp": false,
|
|
4568
|
+
"multiple": false,
|
|
4569
|
+
"type": "option"
|
|
4570
|
+
}
|
|
4571
|
+
},
|
|
4572
|
+
"hasDynamicHelp": false,
|
|
4573
|
+
"hiddenAliases": [],
|
|
4574
|
+
"id": "workflow_test:run",
|
|
4575
|
+
"pluginAlias": "@xano/cli",
|
|
4576
|
+
"pluginName": "@xano/cli",
|
|
4457
4577
|
"pluginType": "core",
|
|
4458
4578
|
"strict": true,
|
|
4459
4579
|
"enableJsonFlag": false,
|
|
@@ -4461,24 +4581,18 @@
|
|
|
4461
4581
|
"relativePath": [
|
|
4462
4582
|
"dist",
|
|
4463
4583
|
"commands",
|
|
4464
|
-
"
|
|
4465
|
-
"
|
|
4584
|
+
"workflow_test",
|
|
4585
|
+
"run",
|
|
4466
4586
|
"index.js"
|
|
4467
4587
|
]
|
|
4468
4588
|
},
|
|
4469
|
-
"
|
|
4589
|
+
"workflow_test:run_all": {
|
|
4470
4590
|
"aliases": [],
|
|
4471
|
-
"args": {
|
|
4472
|
-
|
|
4473
|
-
"description": "Tenant name to back up",
|
|
4474
|
-
"name": "tenant_name",
|
|
4475
|
-
"required": true
|
|
4476
|
-
}
|
|
4477
|
-
},
|
|
4478
|
-
"description": "Create a backup for a tenant",
|
|
4591
|
+
"args": {},
|
|
4592
|
+
"description": "Run all workflow tests in a workspace",
|
|
4479
4593
|
"examples": [
|
|
4480
|
-
"$ xano
|
|
4481
|
-
"$ xano
|
|
4594
|
+
"$ 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",
|
|
4595
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4482
4596
|
],
|
|
4483
4597
|
"flags": {
|
|
4484
4598
|
"profile": {
|
|
@@ -4500,12 +4614,11 @@
|
|
|
4500
4614
|
"allowNo": false,
|
|
4501
4615
|
"type": "boolean"
|
|
4502
4616
|
},
|
|
4503
|
-
"
|
|
4504
|
-
"char": "
|
|
4505
|
-
"description": "
|
|
4506
|
-
"name": "
|
|
4617
|
+
"branch": {
|
|
4618
|
+
"char": "b",
|
|
4619
|
+
"description": "Filter by branch name",
|
|
4620
|
+
"name": "branch",
|
|
4507
4621
|
"required": false,
|
|
4508
|
-
"default": "",
|
|
4509
4622
|
"hasDynamicHelp": false,
|
|
4510
4623
|
"multiple": false,
|
|
4511
4624
|
"type": "option"
|
|
@@ -4536,7 +4649,7 @@
|
|
|
4536
4649
|
},
|
|
4537
4650
|
"hasDynamicHelp": false,
|
|
4538
4651
|
"hiddenAliases": [],
|
|
4539
|
-
"id": "
|
|
4652
|
+
"id": "workflow_test:run_all",
|
|
4540
4653
|
"pluginAlias": "@xano/cli",
|
|
4541
4654
|
"pluginName": "@xano/cli",
|
|
4542
4655
|
"pluginType": "core",
|
|
@@ -4546,26 +4659,19 @@
|
|
|
4546
4659
|
"relativePath": [
|
|
4547
4660
|
"dist",
|
|
4548
4661
|
"commands",
|
|
4549
|
-
"
|
|
4550
|
-
"
|
|
4551
|
-
"create",
|
|
4662
|
+
"workflow_test",
|
|
4663
|
+
"run_all",
|
|
4552
4664
|
"index.js"
|
|
4553
4665
|
]
|
|
4554
4666
|
},
|
|
4555
|
-
"
|
|
4667
|
+
"workflow_test:list": {
|
|
4556
4668
|
"aliases": [],
|
|
4557
|
-
"args": {
|
|
4558
|
-
|
|
4559
|
-
"description": "Tenant name that owns the backup",
|
|
4560
|
-
"name": "tenant_name",
|
|
4561
|
-
"required": true
|
|
4562
|
-
}
|
|
4563
|
-
},
|
|
4564
|
-
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
4669
|
+
"args": {},
|
|
4670
|
+
"description": "List all workflow tests in a workspace",
|
|
4565
4671
|
"examples": [
|
|
4566
|
-
"$ xano
|
|
4567
|
-
"$ xano
|
|
4568
|
-
"$ xano
|
|
4672
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4673
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4674
|
+
"$ xano workflow-test list --branch main"
|
|
4569
4675
|
],
|
|
4570
4676
|
"flags": {
|
|
4571
4677
|
"profile": {
|
|
@@ -4587,22 +4693,15 @@
|
|
|
4587
4693
|
"allowNo": false,
|
|
4588
4694
|
"type": "boolean"
|
|
4589
4695
|
},
|
|
4590
|
-
"
|
|
4591
|
-
"
|
|
4592
|
-
"
|
|
4593
|
-
"
|
|
4696
|
+
"branch": {
|
|
4697
|
+
"char": "b",
|
|
4698
|
+
"description": "Filter by branch name",
|
|
4699
|
+
"name": "branch",
|
|
4700
|
+
"required": false,
|
|
4594
4701
|
"hasDynamicHelp": false,
|
|
4595
4702
|
"multiple": false,
|
|
4596
4703
|
"type": "option"
|
|
4597
4704
|
},
|
|
4598
|
-
"force": {
|
|
4599
|
-
"char": "f",
|
|
4600
|
-
"description": "Skip confirmation prompt",
|
|
4601
|
-
"name": "force",
|
|
4602
|
-
"required": false,
|
|
4603
|
-
"allowNo": false,
|
|
4604
|
-
"type": "boolean"
|
|
4605
|
-
},
|
|
4606
4705
|
"output": {
|
|
4607
4706
|
"char": "o",
|
|
4608
4707
|
"description": "Output format",
|
|
@@ -4629,7 +4728,7 @@
|
|
|
4629
4728
|
},
|
|
4630
4729
|
"hasDynamicHelp": false,
|
|
4631
4730
|
"hiddenAliases": [],
|
|
4632
|
-
"id": "
|
|
4731
|
+
"id": "workflow_test:list",
|
|
4633
4732
|
"pluginAlias": "@xano/cli",
|
|
4634
4733
|
"pluginName": "@xano/cli",
|
|
4635
4734
|
"pluginType": "core",
|
|
@@ -4639,26 +4738,25 @@
|
|
|
4639
4738
|
"relativePath": [
|
|
4640
4739
|
"dist",
|
|
4641
4740
|
"commands",
|
|
4642
|
-
"
|
|
4643
|
-
"
|
|
4644
|
-
"delete",
|
|
4741
|
+
"workflow_test",
|
|
4742
|
+
"list",
|
|
4645
4743
|
"index.js"
|
|
4646
4744
|
]
|
|
4647
4745
|
},
|
|
4648
|
-
"
|
|
4746
|
+
"static_host:build:create": {
|
|
4649
4747
|
"aliases": [],
|
|
4650
4748
|
"args": {
|
|
4651
|
-
"
|
|
4652
|
-
"description": "
|
|
4653
|
-
"name": "
|
|
4749
|
+
"static_host": {
|
|
4750
|
+
"description": "Static Host name",
|
|
4751
|
+
"name": "static_host",
|
|
4654
4752
|
"required": true
|
|
4655
4753
|
}
|
|
4656
4754
|
},
|
|
4657
|
-
"description": "
|
|
4755
|
+
"description": "Create a new build for a static host",
|
|
4658
4756
|
"examples": [
|
|
4659
|
-
"$ xano
|
|
4660
|
-
"$ xano
|
|
4661
|
-
"$ xano
|
|
4757
|
+
"$ 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",
|
|
4758
|
+
"$ 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",
|
|
4759
|
+
"$ 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"
|
|
4662
4760
|
],
|
|
4663
4761
|
"flags": {
|
|
4664
4762
|
"profile": {
|
|
@@ -4680,18 +4778,37 @@
|
|
|
4680
4778
|
"allowNo": false,
|
|
4681
4779
|
"type": "boolean"
|
|
4682
4780
|
},
|
|
4683
|
-
"
|
|
4684
|
-
"
|
|
4685
|
-
"
|
|
4781
|
+
"description": {
|
|
4782
|
+
"char": "d",
|
|
4783
|
+
"description": "Build description",
|
|
4784
|
+
"name": "description",
|
|
4785
|
+
"required": false,
|
|
4786
|
+
"hasDynamicHelp": false,
|
|
4787
|
+
"multiple": false,
|
|
4788
|
+
"type": "option"
|
|
4789
|
+
},
|
|
4790
|
+
"file": {
|
|
4791
|
+
"char": "f",
|
|
4792
|
+
"description": "Path to zip file to upload",
|
|
4793
|
+
"name": "file",
|
|
4686
4794
|
"required": true,
|
|
4687
4795
|
"hasDynamicHelp": false,
|
|
4688
4796
|
"multiple": false,
|
|
4689
4797
|
"type": "option"
|
|
4690
4798
|
},
|
|
4691
|
-
"
|
|
4799
|
+
"name": {
|
|
4800
|
+
"char": "n",
|
|
4801
|
+
"description": "Build name",
|
|
4802
|
+
"name": "name",
|
|
4803
|
+
"required": true,
|
|
4804
|
+
"hasDynamicHelp": false,
|
|
4805
|
+
"multiple": false,
|
|
4806
|
+
"type": "option"
|
|
4807
|
+
},
|
|
4808
|
+
"output": {
|
|
4692
4809
|
"char": "o",
|
|
4693
4810
|
"description": "Output format",
|
|
4694
|
-
"name": "
|
|
4811
|
+
"name": "output",
|
|
4695
4812
|
"required": false,
|
|
4696
4813
|
"default": "summary",
|
|
4697
4814
|
"hasDynamicHelp": false,
|
|
@@ -4702,17 +4819,9 @@
|
|
|
4702
4819
|
],
|
|
4703
4820
|
"type": "option"
|
|
4704
4821
|
},
|
|
4705
|
-
"output": {
|
|
4706
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
4707
|
-
"name": "output",
|
|
4708
|
-
"required": false,
|
|
4709
|
-
"hasDynamicHelp": false,
|
|
4710
|
-
"multiple": false,
|
|
4711
|
-
"type": "option"
|
|
4712
|
-
},
|
|
4713
4822
|
"workspace": {
|
|
4714
4823
|
"char": "w",
|
|
4715
|
-
"description": "Workspace ID (
|
|
4824
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4716
4825
|
"name": "workspace",
|
|
4717
4826
|
"required": false,
|
|
4718
4827
|
"hasDynamicHelp": false,
|
|
@@ -4722,7 +4831,7 @@
|
|
|
4722
4831
|
},
|
|
4723
4832
|
"hasDynamicHelp": false,
|
|
4724
4833
|
"hiddenAliases": [],
|
|
4725
|
-
"id": "
|
|
4834
|
+
"id": "static_host:build:create",
|
|
4726
4835
|
"pluginAlias": "@xano/cli",
|
|
4727
4836
|
"pluginName": "@xano/cli",
|
|
4728
4837
|
"pluginType": "core",
|
|
@@ -4732,21 +4841,32 @@
|
|
|
4732
4841
|
"relativePath": [
|
|
4733
4842
|
"dist",
|
|
4734
4843
|
"commands",
|
|
4735
|
-
"
|
|
4736
|
-
"
|
|
4737
|
-
"
|
|
4844
|
+
"static_host",
|
|
4845
|
+
"build",
|
|
4846
|
+
"create",
|
|
4738
4847
|
"index.js"
|
|
4739
4848
|
]
|
|
4740
4849
|
},
|
|
4741
|
-
"
|
|
4850
|
+
"static_host:build:get": {
|
|
4742
4851
|
"aliases": [],
|
|
4743
|
-
"args": {
|
|
4744
|
-
|
|
4852
|
+
"args": {
|
|
4853
|
+
"build_id": {
|
|
4854
|
+
"description": "Build ID",
|
|
4855
|
+
"name": "build_id",
|
|
4856
|
+
"required": true
|
|
4857
|
+
},
|
|
4858
|
+
"static_host": {
|
|
4859
|
+
"description": "Static Host name",
|
|
4860
|
+
"name": "static_host",
|
|
4861
|
+
"required": true
|
|
4862
|
+
}
|
|
4863
|
+
},
|
|
4864
|
+
"description": "Get details of a specific build for a static host",
|
|
4745
4865
|
"examples": [
|
|
4746
|
-
"$ xano
|
|
4747
|
-
"$ xano
|
|
4748
|
-
"$ xano
|
|
4749
|
-
"$ xano
|
|
4866
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4867
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4868
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4869
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4750
4870
|
],
|
|
4751
4871
|
"flags": {
|
|
4752
4872
|
"profile": {
|
|
@@ -4781,11 +4901,20 @@
|
|
|
4781
4901
|
"json"
|
|
4782
4902
|
],
|
|
4783
4903
|
"type": "option"
|
|
4904
|
+
},
|
|
4905
|
+
"workspace": {
|
|
4906
|
+
"char": "w",
|
|
4907
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4908
|
+
"name": "workspace",
|
|
4909
|
+
"required": false,
|
|
4910
|
+
"hasDynamicHelp": false,
|
|
4911
|
+
"multiple": false,
|
|
4912
|
+
"type": "option"
|
|
4784
4913
|
}
|
|
4785
4914
|
},
|
|
4786
4915
|
"hasDynamicHelp": false,
|
|
4787
4916
|
"hiddenAliases": [],
|
|
4788
|
-
"id": "
|
|
4917
|
+
"id": "static_host:build:get",
|
|
4789
4918
|
"pluginAlias": "@xano/cli",
|
|
4790
4919
|
"pluginName": "@xano/cli",
|
|
4791
4920
|
"pluginType": "core",
|
|
@@ -4795,27 +4924,27 @@
|
|
|
4795
4924
|
"relativePath": [
|
|
4796
4925
|
"dist",
|
|
4797
4926
|
"commands",
|
|
4798
|
-
"
|
|
4799
|
-
"
|
|
4927
|
+
"static_host",
|
|
4928
|
+
"build",
|
|
4929
|
+
"get",
|
|
4800
4930
|
"index.js"
|
|
4801
4931
|
]
|
|
4802
4932
|
},
|
|
4803
|
-
"
|
|
4933
|
+
"static_host:build:list": {
|
|
4804
4934
|
"aliases": [],
|
|
4805
4935
|
"args": {
|
|
4806
|
-
"
|
|
4807
|
-
"description": "
|
|
4808
|
-
"name": "
|
|
4936
|
+
"static_host": {
|
|
4937
|
+
"description": "Static Host name",
|
|
4938
|
+
"name": "static_host",
|
|
4809
4939
|
"required": true
|
|
4810
4940
|
}
|
|
4811
4941
|
},
|
|
4812
|
-
"description": "
|
|
4942
|
+
"description": "List all builds for a static host",
|
|
4813
4943
|
"examples": [
|
|
4814
|
-
"$ xano
|
|
4815
|
-
"$ xano
|
|
4816
|
-
"$ xano
|
|
4817
|
-
"$ xano
|
|
4818
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4944
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4945
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4946
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4947
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4819
4948
|
],
|
|
4820
4949
|
"flags": {
|
|
4821
4950
|
"profile": {
|
|
@@ -4837,35 +4966,37 @@
|
|
|
4837
4966
|
"allowNo": false,
|
|
4838
4967
|
"type": "boolean"
|
|
4839
4968
|
},
|
|
4840
|
-
"
|
|
4841
|
-
"char": "
|
|
4842
|
-
"description": "
|
|
4843
|
-
"name": "
|
|
4969
|
+
"output": {
|
|
4970
|
+
"char": "o",
|
|
4971
|
+
"description": "Output format",
|
|
4972
|
+
"name": "output",
|
|
4844
4973
|
"required": false,
|
|
4974
|
+
"default": "summary",
|
|
4845
4975
|
"hasDynamicHelp": false,
|
|
4846
4976
|
"multiple": false,
|
|
4977
|
+
"options": [
|
|
4978
|
+
"summary",
|
|
4979
|
+
"json"
|
|
4980
|
+
],
|
|
4847
4981
|
"type": "option"
|
|
4848
4982
|
},
|
|
4849
|
-
"
|
|
4850
|
-
"description": "
|
|
4851
|
-
"name": "
|
|
4852
|
-
"required": false,
|
|
4853
|
-
"allowNo": false,
|
|
4854
|
-
"type": "boolean"
|
|
4855
|
-
},
|
|
4856
|
-
"draft": {
|
|
4857
|
-
"description": "Include draft versions",
|
|
4858
|
-
"name": "draft",
|
|
4983
|
+
"page": {
|
|
4984
|
+
"description": "Page number for pagination",
|
|
4985
|
+
"name": "page",
|
|
4859
4986
|
"required": false,
|
|
4860
|
-
"
|
|
4861
|
-
"
|
|
4987
|
+
"default": 1,
|
|
4988
|
+
"hasDynamicHelp": false,
|
|
4989
|
+
"multiple": false,
|
|
4990
|
+
"type": "option"
|
|
4862
4991
|
},
|
|
4863
|
-
"
|
|
4864
|
-
"description": "
|
|
4865
|
-
"name": "
|
|
4992
|
+
"per_page": {
|
|
4993
|
+
"description": "Number of results per page",
|
|
4994
|
+
"name": "per_page",
|
|
4866
4995
|
"required": false,
|
|
4867
|
-
"
|
|
4868
|
-
"
|
|
4996
|
+
"default": 50,
|
|
4997
|
+
"hasDynamicHelp": false,
|
|
4998
|
+
"multiple": false,
|
|
4999
|
+
"type": "option"
|
|
4869
5000
|
},
|
|
4870
5001
|
"workspace": {
|
|
4871
5002
|
"char": "w",
|
|
@@ -4879,7 +5010,7 @@
|
|
|
4879
5010
|
},
|
|
4880
5011
|
"hasDynamicHelp": false,
|
|
4881
5012
|
"hiddenAliases": [],
|
|
4882
|
-
"id": "
|
|
5013
|
+
"id": "static_host:build:list",
|
|
4883
5014
|
"pluginAlias": "@xano/cli",
|
|
4884
5015
|
"pluginName": "@xano/cli",
|
|
4885
5016
|
"pluginType": "core",
|
|
@@ -4889,33 +5020,26 @@
|
|
|
4889
5020
|
"relativePath": [
|
|
4890
5021
|
"dist",
|
|
4891
5022
|
"commands",
|
|
4892
|
-
"
|
|
4893
|
-
"
|
|
5023
|
+
"static_host",
|
|
5024
|
+
"build",
|
|
5025
|
+
"list",
|
|
4894
5026
|
"index.js"
|
|
4895
5027
|
]
|
|
4896
5028
|
},
|
|
4897
|
-
"
|
|
5029
|
+
"tenant:backup:delete": {
|
|
4898
5030
|
"aliases": [],
|
|
4899
5031
|
"args": {
|
|
4900
|
-
"
|
|
4901
|
-
"description": "
|
|
4902
|
-
"name": "
|
|
5032
|
+
"tenant_name": {
|
|
5033
|
+
"description": "Tenant name that owns the backup",
|
|
5034
|
+
"name": "tenant_name",
|
|
4903
5035
|
"required": true
|
|
4904
5036
|
}
|
|
4905
5037
|
},
|
|
4906
|
-
"description": "
|
|
5038
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
4907
5039
|
"examples": [
|
|
4908
|
-
"$ xano
|
|
4909
|
-
"$ xano
|
|
4910
|
-
"$ xano
|
|
4911
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4912
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4913
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4914
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4915
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4916
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4917
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4918
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
5040
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5041
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5042
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
4919
5043
|
],
|
|
4920
5044
|
"flags": {
|
|
4921
5045
|
"profile": {
|
|
@@ -4937,60 +5061,132 @@
|
|
|
4937
5061
|
"allowNo": false,
|
|
4938
5062
|
"type": "boolean"
|
|
4939
5063
|
},
|
|
4940
|
-
"
|
|
4941
|
-
"
|
|
4942
|
-
"
|
|
4943
|
-
"
|
|
4944
|
-
"required": false,
|
|
5064
|
+
"backup_id": {
|
|
5065
|
+
"description": "Backup ID to delete",
|
|
5066
|
+
"name": "backup_id",
|
|
5067
|
+
"required": true,
|
|
4945
5068
|
"hasDynamicHelp": false,
|
|
4946
5069
|
"multiple": false,
|
|
4947
5070
|
"type": "option"
|
|
4948
5071
|
},
|
|
4949
|
-
"
|
|
4950
|
-
"
|
|
4951
|
-
"
|
|
5072
|
+
"force": {
|
|
5073
|
+
"char": "f",
|
|
5074
|
+
"description": "Skip confirmation prompt",
|
|
5075
|
+
"name": "force",
|
|
4952
5076
|
"required": false,
|
|
4953
|
-
"allowNo":
|
|
5077
|
+
"allowNo": false,
|
|
4954
5078
|
"type": "boolean"
|
|
4955
5079
|
},
|
|
4956
|
-
"
|
|
4957
|
-
"
|
|
4958
|
-
"
|
|
5080
|
+
"output": {
|
|
5081
|
+
"char": "o",
|
|
5082
|
+
"description": "Output format",
|
|
5083
|
+
"name": "output",
|
|
4959
5084
|
"required": false,
|
|
4960
|
-
"
|
|
4961
|
-
"
|
|
5085
|
+
"default": "summary",
|
|
5086
|
+
"hasDynamicHelp": false,
|
|
5087
|
+
"multiple": false,
|
|
5088
|
+
"options": [
|
|
5089
|
+
"summary",
|
|
5090
|
+
"json"
|
|
5091
|
+
],
|
|
5092
|
+
"type": "option"
|
|
4962
5093
|
},
|
|
4963
|
-
"
|
|
4964
|
-
"
|
|
4965
|
-
"
|
|
5094
|
+
"workspace": {
|
|
5095
|
+
"char": "w",
|
|
5096
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5097
|
+
"name": "workspace",
|
|
4966
5098
|
"required": false,
|
|
4967
|
-
"
|
|
4968
|
-
"
|
|
5099
|
+
"hasDynamicHelp": false,
|
|
5100
|
+
"multiple": false,
|
|
5101
|
+
"type": "option"
|
|
5102
|
+
}
|
|
5103
|
+
},
|
|
5104
|
+
"hasDynamicHelp": false,
|
|
5105
|
+
"hiddenAliases": [],
|
|
5106
|
+
"id": "tenant:backup:delete",
|
|
5107
|
+
"pluginAlias": "@xano/cli",
|
|
5108
|
+
"pluginName": "@xano/cli",
|
|
5109
|
+
"pluginType": "core",
|
|
5110
|
+
"strict": true,
|
|
5111
|
+
"enableJsonFlag": false,
|
|
5112
|
+
"isESM": true,
|
|
5113
|
+
"relativePath": [
|
|
5114
|
+
"dist",
|
|
5115
|
+
"commands",
|
|
5116
|
+
"tenant",
|
|
5117
|
+
"backup",
|
|
5118
|
+
"delete",
|
|
5119
|
+
"index.js"
|
|
5120
|
+
]
|
|
5121
|
+
},
|
|
5122
|
+
"tenant:backup:export": {
|
|
5123
|
+
"aliases": [],
|
|
5124
|
+
"args": {
|
|
5125
|
+
"tenant_name": {
|
|
5126
|
+
"description": "Tenant name to export backup from",
|
|
5127
|
+
"name": "tenant_name",
|
|
5128
|
+
"required": true
|
|
5129
|
+
}
|
|
5130
|
+
},
|
|
5131
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5132
|
+
"examples": [
|
|
5133
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5134
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5135
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5136
|
+
],
|
|
5137
|
+
"flags": {
|
|
5138
|
+
"profile": {
|
|
5139
|
+
"char": "p",
|
|
5140
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5141
|
+
"env": "XANO_PROFILE",
|
|
5142
|
+
"name": "profile",
|
|
5143
|
+
"required": false,
|
|
5144
|
+
"hasDynamicHelp": false,
|
|
5145
|
+
"multiple": false,
|
|
5146
|
+
"type": "option"
|
|
4969
5147
|
},
|
|
4970
|
-
"
|
|
4971
|
-
"
|
|
4972
|
-
"
|
|
5148
|
+
"verbose": {
|
|
5149
|
+
"char": "v",
|
|
5150
|
+
"description": "Show detailed request/response information",
|
|
5151
|
+
"env": "XANO_VERBOSE",
|
|
5152
|
+
"name": "verbose",
|
|
4973
5153
|
"required": false,
|
|
4974
|
-
"allowNo":
|
|
5154
|
+
"allowNo": false,
|
|
4975
5155
|
"type": "boolean"
|
|
4976
5156
|
},
|
|
4977
|
-
"
|
|
4978
|
-
"description": "
|
|
4979
|
-
"name": "
|
|
5157
|
+
"backup_id": {
|
|
5158
|
+
"description": "Backup ID to export",
|
|
5159
|
+
"name": "backup_id",
|
|
5160
|
+
"required": true,
|
|
5161
|
+
"hasDynamicHelp": false,
|
|
5162
|
+
"multiple": false,
|
|
5163
|
+
"type": "option"
|
|
5164
|
+
},
|
|
5165
|
+
"format": {
|
|
5166
|
+
"char": "o",
|
|
5167
|
+
"description": "Output format",
|
|
5168
|
+
"name": "format",
|
|
4980
5169
|
"required": false,
|
|
4981
|
-
"
|
|
4982
|
-
"
|
|
5170
|
+
"default": "summary",
|
|
5171
|
+
"hasDynamicHelp": false,
|
|
5172
|
+
"multiple": false,
|
|
5173
|
+
"options": [
|
|
5174
|
+
"summary",
|
|
5175
|
+
"json"
|
|
5176
|
+
],
|
|
5177
|
+
"type": "option"
|
|
4983
5178
|
},
|
|
4984
|
-
"
|
|
4985
|
-
"description": "
|
|
4986
|
-
"name": "
|
|
5179
|
+
"output": {
|
|
5180
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5181
|
+
"name": "output",
|
|
4987
5182
|
"required": false,
|
|
4988
|
-
"
|
|
4989
|
-
"
|
|
5183
|
+
"hasDynamicHelp": false,
|
|
5184
|
+
"multiple": false,
|
|
5185
|
+
"type": "option"
|
|
4990
5186
|
},
|
|
4991
5187
|
"workspace": {
|
|
4992
5188
|
"char": "w",
|
|
4993
|
-
"description": "Workspace ID (
|
|
5189
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4994
5190
|
"name": "workspace",
|
|
4995
5191
|
"required": false,
|
|
4996
5192
|
"hasDynamicHelp": false,
|
|
@@ -5000,7 +5196,7 @@
|
|
|
5000
5196
|
},
|
|
5001
5197
|
"hasDynamicHelp": false,
|
|
5002
5198
|
"hiddenAliases": [],
|
|
5003
|
-
"id": "
|
|
5199
|
+
"id": "tenant:backup:export",
|
|
5004
5200
|
"pluginAlias": "@xano/cli",
|
|
5005
5201
|
"pluginName": "@xano/cli",
|
|
5006
5202
|
"pluginType": "core",
|
|
@@ -5010,8 +5206,9 @@
|
|
|
5010
5206
|
"relativePath": [
|
|
5011
5207
|
"dist",
|
|
5012
5208
|
"commands",
|
|
5013
|
-
"
|
|
5014
|
-
"
|
|
5209
|
+
"tenant",
|
|
5210
|
+
"backup",
|
|
5211
|
+
"export",
|
|
5015
5212
|
"index.js"
|
|
5016
5213
|
]
|
|
5017
5214
|
},
|
|
@@ -5192,20 +5389,19 @@
|
|
|
5192
5389
|
"index.js"
|
|
5193
5390
|
]
|
|
5194
5391
|
},
|
|
5195
|
-
"
|
|
5392
|
+
"tenant:backup:create": {
|
|
5196
5393
|
"aliases": [],
|
|
5197
5394
|
"args": {
|
|
5198
|
-
"
|
|
5199
|
-
"description": "
|
|
5200
|
-
"name": "
|
|
5395
|
+
"tenant_name": {
|
|
5396
|
+
"description": "Tenant name to back up",
|
|
5397
|
+
"name": "tenant_name",
|
|
5201
5398
|
"required": true
|
|
5202
5399
|
}
|
|
5203
5400
|
},
|
|
5204
|
-
"description": "Create a
|
|
5401
|
+
"description": "Create a backup for a tenant",
|
|
5205
5402
|
"examples": [
|
|
5206
|
-
"$ xano
|
|
5207
|
-
"$ xano
|
|
5208
|
-
"$ 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"
|
|
5403
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5404
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5209
5405
|
],
|
|
5210
5406
|
"flags": {
|
|
5211
5407
|
"profile": {
|
|
@@ -5229,27 +5425,10 @@
|
|
|
5229
5425
|
},
|
|
5230
5426
|
"description": {
|
|
5231
5427
|
"char": "d",
|
|
5232
|
-
"description": "
|
|
5428
|
+
"description": "Backup description",
|
|
5233
5429
|
"name": "description",
|
|
5234
5430
|
"required": false,
|
|
5235
|
-
"
|
|
5236
|
-
"multiple": false,
|
|
5237
|
-
"type": "option"
|
|
5238
|
-
},
|
|
5239
|
-
"file": {
|
|
5240
|
-
"char": "f",
|
|
5241
|
-
"description": "Path to zip file to upload",
|
|
5242
|
-
"name": "file",
|
|
5243
|
-
"required": true,
|
|
5244
|
-
"hasDynamicHelp": false,
|
|
5245
|
-
"multiple": false,
|
|
5246
|
-
"type": "option"
|
|
5247
|
-
},
|
|
5248
|
-
"name": {
|
|
5249
|
-
"char": "n",
|
|
5250
|
-
"description": "Build name",
|
|
5251
|
-
"name": "name",
|
|
5252
|
-
"required": true,
|
|
5431
|
+
"default": "",
|
|
5253
5432
|
"hasDynamicHelp": false,
|
|
5254
5433
|
"multiple": false,
|
|
5255
5434
|
"type": "option"
|
|
@@ -5270,7 +5449,7 @@
|
|
|
5270
5449
|
},
|
|
5271
5450
|
"workspace": {
|
|
5272
5451
|
"char": "w",
|
|
5273
|
-
"description": "Workspace ID (
|
|
5452
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5274
5453
|
"name": "workspace",
|
|
5275
5454
|
"required": false,
|
|
5276
5455
|
"hasDynamicHelp": false,
|
|
@@ -5280,7 +5459,7 @@
|
|
|
5280
5459
|
},
|
|
5281
5460
|
"hasDynamicHelp": false,
|
|
5282
5461
|
"hiddenAliases": [],
|
|
5283
|
-
"id": "
|
|
5462
|
+
"id": "tenant:backup:create",
|
|
5284
5463
|
"pluginAlias": "@xano/cli",
|
|
5285
5464
|
"pluginName": "@xano/cli",
|
|
5286
5465
|
"pluginType": "core",
|
|
@@ -5290,95 +5469,12 @@
|
|
|
5290
5469
|
"relativePath": [
|
|
5291
5470
|
"dist",
|
|
5292
5471
|
"commands",
|
|
5293
|
-
"
|
|
5294
|
-
"
|
|
5472
|
+
"tenant",
|
|
5473
|
+
"backup",
|
|
5295
5474
|
"create",
|
|
5296
5475
|
"index.js"
|
|
5297
5476
|
]
|
|
5298
5477
|
},
|
|
5299
|
-
"static_host:build:get": {
|
|
5300
|
-
"aliases": [],
|
|
5301
|
-
"args": {
|
|
5302
|
-
"build_id": {
|
|
5303
|
-
"description": "Build ID",
|
|
5304
|
-
"name": "build_id",
|
|
5305
|
-
"required": true
|
|
5306
|
-
},
|
|
5307
|
-
"static_host": {
|
|
5308
|
-
"description": "Static Host name",
|
|
5309
|
-
"name": "static_host",
|
|
5310
|
-
"required": true
|
|
5311
|
-
}
|
|
5312
|
-
},
|
|
5313
|
-
"description": "Get details of a specific build for a static host",
|
|
5314
|
-
"examples": [
|
|
5315
|
-
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5316
|
-
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5317
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5318
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5319
|
-
],
|
|
5320
|
-
"flags": {
|
|
5321
|
-
"profile": {
|
|
5322
|
-
"char": "p",
|
|
5323
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5324
|
-
"env": "XANO_PROFILE",
|
|
5325
|
-
"name": "profile",
|
|
5326
|
-
"required": false,
|
|
5327
|
-
"hasDynamicHelp": false,
|
|
5328
|
-
"multiple": false,
|
|
5329
|
-
"type": "option"
|
|
5330
|
-
},
|
|
5331
|
-
"verbose": {
|
|
5332
|
-
"char": "v",
|
|
5333
|
-
"description": "Show detailed request/response information",
|
|
5334
|
-
"env": "XANO_VERBOSE",
|
|
5335
|
-
"name": "verbose",
|
|
5336
|
-
"required": false,
|
|
5337
|
-
"allowNo": false,
|
|
5338
|
-
"type": "boolean"
|
|
5339
|
-
},
|
|
5340
|
-
"output": {
|
|
5341
|
-
"char": "o",
|
|
5342
|
-
"description": "Output format",
|
|
5343
|
-
"name": "output",
|
|
5344
|
-
"required": false,
|
|
5345
|
-
"default": "summary",
|
|
5346
|
-
"hasDynamicHelp": false,
|
|
5347
|
-
"multiple": false,
|
|
5348
|
-
"options": [
|
|
5349
|
-
"summary",
|
|
5350
|
-
"json"
|
|
5351
|
-
],
|
|
5352
|
-
"type": "option"
|
|
5353
|
-
},
|
|
5354
|
-
"workspace": {
|
|
5355
|
-
"char": "w",
|
|
5356
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
5357
|
-
"name": "workspace",
|
|
5358
|
-
"required": false,
|
|
5359
|
-
"hasDynamicHelp": false,
|
|
5360
|
-
"multiple": false,
|
|
5361
|
-
"type": "option"
|
|
5362
|
-
}
|
|
5363
|
-
},
|
|
5364
|
-
"hasDynamicHelp": false,
|
|
5365
|
-
"hiddenAliases": [],
|
|
5366
|
-
"id": "static_host:build:get",
|
|
5367
|
-
"pluginAlias": "@xano/cli",
|
|
5368
|
-
"pluginName": "@xano/cli",
|
|
5369
|
-
"pluginType": "core",
|
|
5370
|
-
"strict": true,
|
|
5371
|
-
"enableJsonFlag": false,
|
|
5372
|
-
"isESM": true,
|
|
5373
|
-
"relativePath": [
|
|
5374
|
-
"dist",
|
|
5375
|
-
"commands",
|
|
5376
|
-
"static_host",
|
|
5377
|
-
"build",
|
|
5378
|
-
"get",
|
|
5379
|
-
"index.js"
|
|
5380
|
-
]
|
|
5381
|
-
},
|
|
5382
5478
|
"tenant:cluster:create": {
|
|
5383
5479
|
"aliases": [],
|
|
5384
5480
|
"args": {},
|
|
@@ -5501,21 +5597,20 @@
|
|
|
5501
5597
|
"index.js"
|
|
5502
5598
|
]
|
|
5503
5599
|
},
|
|
5504
|
-
"
|
|
5600
|
+
"tenant:cluster:delete": {
|
|
5505
5601
|
"aliases": [],
|
|
5506
5602
|
"args": {
|
|
5507
|
-
"
|
|
5508
|
-
"description": "
|
|
5509
|
-
"name": "
|
|
5603
|
+
"cluster_id": {
|
|
5604
|
+
"description": "Cluster ID to delete",
|
|
5605
|
+
"name": "cluster_id",
|
|
5510
5606
|
"required": true
|
|
5511
5607
|
}
|
|
5512
5608
|
},
|
|
5513
|
-
"description": "
|
|
5609
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5514
5610
|
"examples": [
|
|
5515
|
-
"$ xano
|
|
5516
|
-
"$ xano
|
|
5517
|
-
"$ xano
|
|
5518
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
5611
|
+
"$ 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",
|
|
5612
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5613
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5519
5614
|
],
|
|
5520
5615
|
"flags": {
|
|
5521
5616
|
"profile": {
|
|
@@ -5537,6 +5632,14 @@
|
|
|
5537
5632
|
"allowNo": false,
|
|
5538
5633
|
"type": "boolean"
|
|
5539
5634
|
},
|
|
5635
|
+
"force": {
|
|
5636
|
+
"char": "f",
|
|
5637
|
+
"description": "Skip confirmation prompt",
|
|
5638
|
+
"name": "force",
|
|
5639
|
+
"required": false,
|
|
5640
|
+
"allowNo": false,
|
|
5641
|
+
"type": "boolean"
|
|
5642
|
+
},
|
|
5540
5643
|
"output": {
|
|
5541
5644
|
"char": "o",
|
|
5542
5645
|
"description": "Output format",
|
|
@@ -5550,38 +5653,78 @@
|
|
|
5550
5653
|
"json"
|
|
5551
5654
|
],
|
|
5552
5655
|
"type": "option"
|
|
5553
|
-
}
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5656
|
+
}
|
|
5657
|
+
},
|
|
5658
|
+
"hasDynamicHelp": false,
|
|
5659
|
+
"hiddenAliases": [],
|
|
5660
|
+
"id": "tenant:cluster:delete",
|
|
5661
|
+
"pluginAlias": "@xano/cli",
|
|
5662
|
+
"pluginName": "@xano/cli",
|
|
5663
|
+
"pluginType": "core",
|
|
5664
|
+
"strict": true,
|
|
5665
|
+
"enableJsonFlag": false,
|
|
5666
|
+
"isESM": true,
|
|
5667
|
+
"relativePath": [
|
|
5668
|
+
"dist",
|
|
5669
|
+
"commands",
|
|
5670
|
+
"tenant",
|
|
5671
|
+
"cluster",
|
|
5672
|
+
"delete",
|
|
5673
|
+
"index.js"
|
|
5674
|
+
]
|
|
5675
|
+
},
|
|
5676
|
+
"tenant:cluster:get": {
|
|
5677
|
+
"aliases": [],
|
|
5678
|
+
"args": {
|
|
5679
|
+
"cluster_id": {
|
|
5680
|
+
"description": "Cluster ID to retrieve",
|
|
5681
|
+
"name": "cluster_id",
|
|
5682
|
+
"required": true
|
|
5683
|
+
}
|
|
5684
|
+
},
|
|
5685
|
+
"description": "Get details of a specific tenant cluster",
|
|
5686
|
+
"examples": [
|
|
5687
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5688
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5689
|
+
],
|
|
5690
|
+
"flags": {
|
|
5691
|
+
"profile": {
|
|
5692
|
+
"char": "p",
|
|
5693
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5694
|
+
"env": "XANO_PROFILE",
|
|
5695
|
+
"name": "profile",
|
|
5557
5696
|
"required": false,
|
|
5558
|
-
"default": 1,
|
|
5559
5697
|
"hasDynamicHelp": false,
|
|
5560
5698
|
"multiple": false,
|
|
5561
5699
|
"type": "option"
|
|
5562
5700
|
},
|
|
5563
|
-
"
|
|
5564
|
-
"
|
|
5565
|
-
"
|
|
5701
|
+
"verbose": {
|
|
5702
|
+
"char": "v",
|
|
5703
|
+
"description": "Show detailed request/response information",
|
|
5704
|
+
"env": "XANO_VERBOSE",
|
|
5705
|
+
"name": "verbose",
|
|
5566
5706
|
"required": false,
|
|
5567
|
-
"
|
|
5568
|
-
"
|
|
5569
|
-
"multiple": false,
|
|
5570
|
-
"type": "option"
|
|
5707
|
+
"allowNo": false,
|
|
5708
|
+
"type": "boolean"
|
|
5571
5709
|
},
|
|
5572
|
-
"
|
|
5573
|
-
"char": "
|
|
5574
|
-
"description": "
|
|
5575
|
-
"name": "
|
|
5710
|
+
"output": {
|
|
5711
|
+
"char": "o",
|
|
5712
|
+
"description": "Output format",
|
|
5713
|
+
"name": "output",
|
|
5576
5714
|
"required": false,
|
|
5715
|
+
"default": "summary",
|
|
5577
5716
|
"hasDynamicHelp": false,
|
|
5578
5717
|
"multiple": false,
|
|
5718
|
+
"options": [
|
|
5719
|
+
"summary",
|
|
5720
|
+
"json"
|
|
5721
|
+
],
|
|
5579
5722
|
"type": "option"
|
|
5580
5723
|
}
|
|
5581
5724
|
},
|
|
5582
5725
|
"hasDynamicHelp": false,
|
|
5583
5726
|
"hiddenAliases": [],
|
|
5584
|
-
"id": "
|
|
5727
|
+
"id": "tenant:cluster:get",
|
|
5585
5728
|
"pluginAlias": "@xano/cli",
|
|
5586
5729
|
"pluginName": "@xano/cli",
|
|
5587
5730
|
"pluginType": "core",
|
|
@@ -5591,9 +5734,9 @@
|
|
|
5591
5734
|
"relativePath": [
|
|
5592
5735
|
"dist",
|
|
5593
5736
|
"commands",
|
|
5594
|
-
"
|
|
5595
|
-
"
|
|
5596
|
-
"
|
|
5737
|
+
"tenant",
|
|
5738
|
+
"cluster",
|
|
5739
|
+
"get",
|
|
5597
5740
|
"index.js"
|
|
5598
5741
|
]
|
|
5599
5742
|
},
|
|
@@ -5797,87 +5940,13 @@
|
|
|
5797
5940
|
"index.js"
|
|
5798
5941
|
]
|
|
5799
5942
|
},
|
|
5800
|
-
"tenant:cluster:
|
|
5801
|
-
"aliases": [],
|
|
5802
|
-
"args": {
|
|
5803
|
-
"cluster_id": {
|
|
5804
|
-
"description": "Cluster ID to retrieve",
|
|
5805
|
-
"name": "cluster_id",
|
|
5806
|
-
"required": true
|
|
5807
|
-
}
|
|
5808
|
-
},
|
|
5809
|
-
"description": "Get details of a specific tenant cluster",
|
|
5810
|
-
"examples": [
|
|
5811
|
-
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5812
|
-
"$ xano tenant cluster get 1 -o json"
|
|
5813
|
-
],
|
|
5814
|
-
"flags": {
|
|
5815
|
-
"profile": {
|
|
5816
|
-
"char": "p",
|
|
5817
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5818
|
-
"env": "XANO_PROFILE",
|
|
5819
|
-
"name": "profile",
|
|
5820
|
-
"required": false,
|
|
5821
|
-
"hasDynamicHelp": false,
|
|
5822
|
-
"multiple": false,
|
|
5823
|
-
"type": "option"
|
|
5824
|
-
},
|
|
5825
|
-
"verbose": {
|
|
5826
|
-
"char": "v",
|
|
5827
|
-
"description": "Show detailed request/response information",
|
|
5828
|
-
"env": "XANO_VERBOSE",
|
|
5829
|
-
"name": "verbose",
|
|
5830
|
-
"required": false,
|
|
5831
|
-
"allowNo": false,
|
|
5832
|
-
"type": "boolean"
|
|
5833
|
-
},
|
|
5834
|
-
"output": {
|
|
5835
|
-
"char": "o",
|
|
5836
|
-
"description": "Output format",
|
|
5837
|
-
"name": "output",
|
|
5838
|
-
"required": false,
|
|
5839
|
-
"default": "summary",
|
|
5840
|
-
"hasDynamicHelp": false,
|
|
5841
|
-
"multiple": false,
|
|
5842
|
-
"options": [
|
|
5843
|
-
"summary",
|
|
5844
|
-
"json"
|
|
5845
|
-
],
|
|
5846
|
-
"type": "option"
|
|
5847
|
-
}
|
|
5848
|
-
},
|
|
5849
|
-
"hasDynamicHelp": false,
|
|
5850
|
-
"hiddenAliases": [],
|
|
5851
|
-
"id": "tenant:cluster:get",
|
|
5852
|
-
"pluginAlias": "@xano/cli",
|
|
5853
|
-
"pluginName": "@xano/cli",
|
|
5854
|
-
"pluginType": "core",
|
|
5855
|
-
"strict": true,
|
|
5856
|
-
"enableJsonFlag": false,
|
|
5857
|
-
"isESM": true,
|
|
5858
|
-
"relativePath": [
|
|
5859
|
-
"dist",
|
|
5860
|
-
"commands",
|
|
5861
|
-
"tenant",
|
|
5862
|
-
"cluster",
|
|
5863
|
-
"get",
|
|
5864
|
-
"index.js"
|
|
5865
|
-
]
|
|
5866
|
-
},
|
|
5867
|
-
"tenant:cluster:delete": {
|
|
5943
|
+
"tenant:cluster:list": {
|
|
5868
5944
|
"aliases": [],
|
|
5869
|
-
"args": {
|
|
5870
|
-
|
|
5871
|
-
"description": "Cluster ID to delete",
|
|
5872
|
-
"name": "cluster_id",
|
|
5873
|
-
"required": true
|
|
5874
|
-
}
|
|
5875
|
-
},
|
|
5876
|
-
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5945
|
+
"args": {},
|
|
5946
|
+
"description": "List all tenant clusters",
|
|
5877
5947
|
"examples": [
|
|
5878
|
-
"$ xano tenant cluster
|
|
5879
|
-
"$ xano tenant cluster
|
|
5880
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5948
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5949
|
+
"$ xano tenant cluster list --output json"
|
|
5881
5950
|
],
|
|
5882
5951
|
"flags": {
|
|
5883
5952
|
"profile": {
|
|
@@ -5899,14 +5968,6 @@
|
|
|
5899
5968
|
"allowNo": false,
|
|
5900
5969
|
"type": "boolean"
|
|
5901
5970
|
},
|
|
5902
|
-
"force": {
|
|
5903
|
-
"char": "f",
|
|
5904
|
-
"description": "Skip confirmation prompt",
|
|
5905
|
-
"name": "force",
|
|
5906
|
-
"required": false,
|
|
5907
|
-
"allowNo": false,
|
|
5908
|
-
"type": "boolean"
|
|
5909
|
-
},
|
|
5910
5971
|
"output": {
|
|
5911
5972
|
"char": "o",
|
|
5912
5973
|
"description": "Output format",
|
|
@@ -5924,7 +5985,7 @@
|
|
|
5924
5985
|
},
|
|
5925
5986
|
"hasDynamicHelp": false,
|
|
5926
5987
|
"hiddenAliases": [],
|
|
5927
|
-
"id": "tenant:cluster:
|
|
5988
|
+
"id": "tenant:cluster:list",
|
|
5928
5989
|
"pluginAlias": "@xano/cli",
|
|
5929
5990
|
"pluginName": "@xano/cli",
|
|
5930
5991
|
"pluginType": "core",
|
|
@@ -5936,7 +5997,7 @@
|
|
|
5936
5997
|
"commands",
|
|
5937
5998
|
"tenant",
|
|
5938
5999
|
"cluster",
|
|
5939
|
-
"
|
|
6000
|
+
"list",
|
|
5940
6001
|
"index.js"
|
|
5941
6002
|
]
|
|
5942
6003
|
},
|
|
@@ -6034,68 +6095,7 @@
|
|
|
6034
6095
|
"index.js"
|
|
6035
6096
|
]
|
|
6036
6097
|
},
|
|
6037
|
-
"tenant:
|
|
6038
|
-
"aliases": [],
|
|
6039
|
-
"args": {},
|
|
6040
|
-
"description": "List all tenant clusters",
|
|
6041
|
-
"examples": [
|
|
6042
|
-
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6043
|
-
"$ xano tenant cluster list --output json"
|
|
6044
|
-
],
|
|
6045
|
-
"flags": {
|
|
6046
|
-
"profile": {
|
|
6047
|
-
"char": "p",
|
|
6048
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6049
|
-
"env": "XANO_PROFILE",
|
|
6050
|
-
"name": "profile",
|
|
6051
|
-
"required": false,
|
|
6052
|
-
"hasDynamicHelp": false,
|
|
6053
|
-
"multiple": false,
|
|
6054
|
-
"type": "option"
|
|
6055
|
-
},
|
|
6056
|
-
"verbose": {
|
|
6057
|
-
"char": "v",
|
|
6058
|
-
"description": "Show detailed request/response information",
|
|
6059
|
-
"env": "XANO_VERBOSE",
|
|
6060
|
-
"name": "verbose",
|
|
6061
|
-
"required": false,
|
|
6062
|
-
"allowNo": false,
|
|
6063
|
-
"type": "boolean"
|
|
6064
|
-
},
|
|
6065
|
-
"output": {
|
|
6066
|
-
"char": "o",
|
|
6067
|
-
"description": "Output format",
|
|
6068
|
-
"name": "output",
|
|
6069
|
-
"required": false,
|
|
6070
|
-
"default": "summary",
|
|
6071
|
-
"hasDynamicHelp": false,
|
|
6072
|
-
"multiple": false,
|
|
6073
|
-
"options": [
|
|
6074
|
-
"summary",
|
|
6075
|
-
"json"
|
|
6076
|
-
],
|
|
6077
|
-
"type": "option"
|
|
6078
|
-
}
|
|
6079
|
-
},
|
|
6080
|
-
"hasDynamicHelp": false,
|
|
6081
|
-
"hiddenAliases": [],
|
|
6082
|
-
"id": "tenant:cluster:list",
|
|
6083
|
-
"pluginAlias": "@xano/cli",
|
|
6084
|
-
"pluginName": "@xano/cli",
|
|
6085
|
-
"pluginType": "core",
|
|
6086
|
-
"strict": true,
|
|
6087
|
-
"enableJsonFlag": false,
|
|
6088
|
-
"isESM": true,
|
|
6089
|
-
"relativePath": [
|
|
6090
|
-
"dist",
|
|
6091
|
-
"commands",
|
|
6092
|
-
"tenant",
|
|
6093
|
-
"cluster",
|
|
6094
|
-
"list",
|
|
6095
|
-
"index.js"
|
|
6096
|
-
]
|
|
6097
|
-
},
|
|
6098
|
-
"tenant:env:set": {
|
|
6098
|
+
"tenant:env:get_all": {
|
|
6099
6099
|
"aliases": [],
|
|
6100
6100
|
"args": {
|
|
6101
6101
|
"tenant_name": {
|
|
@@ -6104,10 +6104,12 @@
|
|
|
6104
6104
|
"required": true
|
|
6105
6105
|
}
|
|
6106
6106
|
},
|
|
6107
|
-
"description": "
|
|
6107
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6108
6108
|
"examples": [
|
|
6109
|
-
"$ xano tenant env
|
|
6110
|
-
"$ xano tenant env
|
|
6109
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6110
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6111
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6112
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6111
6113
|
],
|
|
6112
6114
|
"flags": {
|
|
6113
6115
|
"profile": {
|
|
@@ -6129,11 +6131,11 @@
|
|
|
6129
6131
|
"allowNo": false,
|
|
6130
6132
|
"type": "boolean"
|
|
6131
6133
|
},
|
|
6132
|
-
"
|
|
6133
|
-
"char": "
|
|
6134
|
-
"description": "
|
|
6135
|
-
"name": "
|
|
6136
|
-
"required":
|
|
6134
|
+
"file": {
|
|
6135
|
+
"char": "f",
|
|
6136
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6137
|
+
"name": "file",
|
|
6138
|
+
"required": false,
|
|
6137
6139
|
"hasDynamicHelp": false,
|
|
6138
6140
|
"multiple": false,
|
|
6139
6141
|
"type": "option"
|
|
@@ -6152,13 +6154,12 @@
|
|
|
6152
6154
|
],
|
|
6153
6155
|
"type": "option"
|
|
6154
6156
|
},
|
|
6155
|
-
"
|
|
6156
|
-
"description": "
|
|
6157
|
-
"name": "
|
|
6158
|
-
"required":
|
|
6159
|
-
"
|
|
6160
|
-
"
|
|
6161
|
-
"type": "option"
|
|
6157
|
+
"view": {
|
|
6158
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6159
|
+
"name": "view",
|
|
6160
|
+
"required": false,
|
|
6161
|
+
"allowNo": false,
|
|
6162
|
+
"type": "boolean"
|
|
6162
6163
|
},
|
|
6163
6164
|
"workspace": {
|
|
6164
6165
|
"char": "w",
|
|
@@ -6172,7 +6173,7 @@
|
|
|
6172
6173
|
},
|
|
6173
6174
|
"hasDynamicHelp": false,
|
|
6174
6175
|
"hiddenAliases": [],
|
|
6175
|
-
"id": "tenant:env:
|
|
6176
|
+
"id": "tenant:env:get_all",
|
|
6176
6177
|
"pluginAlias": "@xano/cli",
|
|
6177
6178
|
"pluginName": "@xano/cli",
|
|
6178
6179
|
"pluginType": "core",
|
|
@@ -6184,11 +6185,11 @@
|
|
|
6184
6185
|
"commands",
|
|
6185
6186
|
"tenant",
|
|
6186
6187
|
"env",
|
|
6187
|
-
"
|
|
6188
|
+
"get_all",
|
|
6188
6189
|
"index.js"
|
|
6189
6190
|
]
|
|
6190
6191
|
},
|
|
6191
|
-
"tenant:env:
|
|
6192
|
+
"tenant:env:get": {
|
|
6192
6193
|
"aliases": [],
|
|
6193
6194
|
"args": {
|
|
6194
6195
|
"tenant_name": {
|
|
@@ -6197,10 +6198,10 @@
|
|
|
6197
6198
|
"required": true
|
|
6198
6199
|
}
|
|
6199
6200
|
},
|
|
6200
|
-
"description": "
|
|
6201
|
+
"description": "Get a single environment variable for a tenant",
|
|
6201
6202
|
"examples": [
|
|
6202
|
-
"$ xano tenant env
|
|
6203
|
-
"$ xano tenant env
|
|
6203
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6204
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6204
6205
|
],
|
|
6205
6206
|
"flags": {
|
|
6206
6207
|
"profile": {
|
|
@@ -6222,6 +6223,15 @@
|
|
|
6222
6223
|
"allowNo": false,
|
|
6223
6224
|
"type": "boolean"
|
|
6224
6225
|
},
|
|
6226
|
+
"name": {
|
|
6227
|
+
"char": "n",
|
|
6228
|
+
"description": "Environment variable name",
|
|
6229
|
+
"name": "name",
|
|
6230
|
+
"required": true,
|
|
6231
|
+
"hasDynamicHelp": false,
|
|
6232
|
+
"multiple": false,
|
|
6233
|
+
"type": "option"
|
|
6234
|
+
},
|
|
6225
6235
|
"output": {
|
|
6226
6236
|
"char": "o",
|
|
6227
6237
|
"description": "Output format",
|
|
@@ -6248,7 +6258,7 @@
|
|
|
6248
6258
|
},
|
|
6249
6259
|
"hasDynamicHelp": false,
|
|
6250
6260
|
"hiddenAliases": [],
|
|
6251
|
-
"id": "tenant:env:
|
|
6261
|
+
"id": "tenant:env:get",
|
|
6252
6262
|
"pluginAlias": "@xano/cli",
|
|
6253
6263
|
"pluginName": "@xano/cli",
|
|
6254
6264
|
"pluginType": "core",
|
|
@@ -6260,11 +6270,11 @@
|
|
|
6260
6270
|
"commands",
|
|
6261
6271
|
"tenant",
|
|
6262
6272
|
"env",
|
|
6263
|
-
"
|
|
6273
|
+
"get",
|
|
6264
6274
|
"index.js"
|
|
6265
6275
|
]
|
|
6266
6276
|
},
|
|
6267
|
-
"tenant:env:
|
|
6277
|
+
"tenant:env:list": {
|
|
6268
6278
|
"aliases": [],
|
|
6269
6279
|
"args": {
|
|
6270
6280
|
"tenant_name": {
|
|
@@ -6273,12 +6283,10 @@
|
|
|
6273
6283
|
"required": true
|
|
6274
6284
|
}
|
|
6275
6285
|
},
|
|
6276
|
-
"description": "
|
|
6286
|
+
"description": "List environment variable keys for a tenant",
|
|
6277
6287
|
"examples": [
|
|
6278
|
-
"$ xano tenant env
|
|
6279
|
-
"$ xano tenant env
|
|
6280
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6281
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6288
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6289
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6282
6290
|
],
|
|
6283
6291
|
"flags": {
|
|
6284
6292
|
"profile": {
|
|
@@ -6294,20 +6302,11 @@
|
|
|
6294
6302
|
"verbose": {
|
|
6295
6303
|
"char": "v",
|
|
6296
6304
|
"description": "Show detailed request/response information",
|
|
6297
|
-
"env": "XANO_VERBOSE",
|
|
6298
|
-
"name": "verbose",
|
|
6299
|
-
"required": false,
|
|
6300
|
-
"allowNo": false,
|
|
6301
|
-
"type": "boolean"
|
|
6302
|
-
},
|
|
6303
|
-
"file": {
|
|
6304
|
-
"char": "f",
|
|
6305
|
-
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6306
|
-
"name": "file",
|
|
6305
|
+
"env": "XANO_VERBOSE",
|
|
6306
|
+
"name": "verbose",
|
|
6307
6307
|
"required": false,
|
|
6308
|
-
"
|
|
6309
|
-
"
|
|
6310
|
-
"type": "option"
|
|
6308
|
+
"allowNo": false,
|
|
6309
|
+
"type": "boolean"
|
|
6311
6310
|
},
|
|
6312
6311
|
"output": {
|
|
6313
6312
|
"char": "o",
|
|
@@ -6323,13 +6322,6 @@
|
|
|
6323
6322
|
],
|
|
6324
6323
|
"type": "option"
|
|
6325
6324
|
},
|
|
6326
|
-
"view": {
|
|
6327
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6328
|
-
"name": "view",
|
|
6329
|
-
"required": false,
|
|
6330
|
-
"allowNo": false,
|
|
6331
|
-
"type": "boolean"
|
|
6332
|
-
},
|
|
6333
6325
|
"workspace": {
|
|
6334
6326
|
"char": "w",
|
|
6335
6327
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6342,7 +6334,7 @@
|
|
|
6342
6334
|
},
|
|
6343
6335
|
"hasDynamicHelp": false,
|
|
6344
6336
|
"hiddenAliases": [],
|
|
6345
|
-
"id": "tenant:env:
|
|
6337
|
+
"id": "tenant:env:list",
|
|
6346
6338
|
"pluginAlias": "@xano/cli",
|
|
6347
6339
|
"pluginName": "@xano/cli",
|
|
6348
6340
|
"pluginType": "core",
|
|
@@ -6354,11 +6346,11 @@
|
|
|
6354
6346
|
"commands",
|
|
6355
6347
|
"tenant",
|
|
6356
6348
|
"env",
|
|
6357
|
-
"
|
|
6349
|
+
"list",
|
|
6358
6350
|
"index.js"
|
|
6359
6351
|
]
|
|
6360
6352
|
},
|
|
6361
|
-
"tenant:env:
|
|
6353
|
+
"tenant:env:set": {
|
|
6362
6354
|
"aliases": [],
|
|
6363
6355
|
"args": {
|
|
6364
6356
|
"tenant_name": {
|
|
@@ -6367,10 +6359,10 @@
|
|
|
6367
6359
|
"required": true
|
|
6368
6360
|
}
|
|
6369
6361
|
},
|
|
6370
|
-
"description": "
|
|
6362
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6371
6363
|
"examples": [
|
|
6372
|
-
"$ xano tenant env
|
|
6373
|
-
"$ xano tenant env
|
|
6364
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6365
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6374
6366
|
],
|
|
6375
6367
|
"flags": {
|
|
6376
6368
|
"profile": {
|
|
@@ -6415,6 +6407,14 @@
|
|
|
6415
6407
|
],
|
|
6416
6408
|
"type": "option"
|
|
6417
6409
|
},
|
|
6410
|
+
"value": {
|
|
6411
|
+
"description": "Environment variable value",
|
|
6412
|
+
"name": "value",
|
|
6413
|
+
"required": true,
|
|
6414
|
+
"hasDynamicHelp": false,
|
|
6415
|
+
"multiple": false,
|
|
6416
|
+
"type": "option"
|
|
6417
|
+
},
|
|
6418
6418
|
"workspace": {
|
|
6419
6419
|
"char": "w",
|
|
6420
6420
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6427,7 +6427,7 @@
|
|
|
6427
6427
|
},
|
|
6428
6428
|
"hasDynamicHelp": false,
|
|
6429
6429
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:env:
|
|
6430
|
+
"id": "tenant:env:set",
|
|
6431
6431
|
"pluginAlias": "@xano/cli",
|
|
6432
6432
|
"pluginName": "@xano/cli",
|
|
6433
6433
|
"pluginType": "core",
|
|
@@ -6439,7 +6439,7 @@
|
|
|
6439
6439
|
"commands",
|
|
6440
6440
|
"tenant",
|
|
6441
6441
|
"env",
|
|
6442
|
-
"
|
|
6442
|
+
"set",
|
|
6443
6443
|
"index.js"
|
|
6444
6444
|
]
|
|
6445
6445
|
},
|
|
@@ -6630,21 +6630,24 @@
|
|
|
6630
6630
|
"index.js"
|
|
6631
6631
|
]
|
|
6632
6632
|
},
|
|
6633
|
-
"
|
|
6633
|
+
"workspace:git:pull": {
|
|
6634
6634
|
"aliases": [],
|
|
6635
6635
|
"args": {
|
|
6636
|
-
"
|
|
6637
|
-
"description": "
|
|
6638
|
-
"name": "
|
|
6636
|
+
"directory": {
|
|
6637
|
+
"description": "Output directory for imported files",
|
|
6638
|
+
"name": "directory",
|
|
6639
6639
|
"required": true
|
|
6640
6640
|
}
|
|
6641
6641
|
},
|
|
6642
|
-
"description": "
|
|
6642
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6643
6643
|
"examples": [
|
|
6644
|
-
"$ xano
|
|
6645
|
-
"$ xano
|
|
6646
|
-
"$ xano
|
|
6647
|
-
"$ xano
|
|
6644
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6645
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6646
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6647
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6648
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6649
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6650
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6648
6651
|
],
|
|
6649
6652
|
"flags": {
|
|
6650
6653
|
"profile": {
|
|
@@ -6666,58 +6669,37 @@
|
|
|
6666
6669
|
"allowNo": false,
|
|
6667
6670
|
"type": "boolean"
|
|
6668
6671
|
},
|
|
6669
|
-
"
|
|
6670
|
-
"
|
|
6671
|
-
"
|
|
6672
|
-
|
|
6673
|
-
],
|
|
6674
|
-
"name": "clean",
|
|
6675
|
-
"required": false,
|
|
6676
|
-
"allowNo": false,
|
|
6677
|
-
"type": "boolean"
|
|
6678
|
-
},
|
|
6679
|
-
"file": {
|
|
6680
|
-
"char": "f",
|
|
6681
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6682
|
-
"exclusive": [
|
|
6683
|
-
"value"
|
|
6684
|
-
],
|
|
6685
|
-
"name": "file",
|
|
6672
|
+
"branch": {
|
|
6673
|
+
"char": "b",
|
|
6674
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6675
|
+
"name": "branch",
|
|
6686
6676
|
"required": false,
|
|
6687
6677
|
"hasDynamicHelp": false,
|
|
6688
6678
|
"multiple": false,
|
|
6689
6679
|
"type": "option"
|
|
6690
6680
|
},
|
|
6691
|
-
"
|
|
6692
|
-
"
|
|
6693
|
-
"
|
|
6694
|
-
"name": "output",
|
|
6681
|
+
"path": {
|
|
6682
|
+
"description": "Subdirectory within the repo to import from",
|
|
6683
|
+
"name": "path",
|
|
6695
6684
|
"required": false,
|
|
6696
|
-
"default": "summary",
|
|
6697
6685
|
"hasDynamicHelp": false,
|
|
6698
6686
|
"multiple": false,
|
|
6699
|
-
"options": [
|
|
6700
|
-
"summary",
|
|
6701
|
-
"json"
|
|
6702
|
-
],
|
|
6703
6687
|
"type": "option"
|
|
6704
6688
|
},
|
|
6705
|
-
"
|
|
6706
|
-
"
|
|
6707
|
-
"
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
],
|
|
6711
|
-
"name": "value",
|
|
6712
|
-
"required": false,
|
|
6689
|
+
"repo": {
|
|
6690
|
+
"char": "r",
|
|
6691
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6692
|
+
"name": "repo",
|
|
6693
|
+
"required": true,
|
|
6713
6694
|
"hasDynamicHelp": false,
|
|
6714
6695
|
"multiple": false,
|
|
6715
6696
|
"type": "option"
|
|
6716
6697
|
},
|
|
6717
|
-
"
|
|
6718
|
-
"char": "
|
|
6719
|
-
"description": "
|
|
6720
|
-
"
|
|
6698
|
+
"token": {
|
|
6699
|
+
"char": "t",
|
|
6700
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6701
|
+
"env": "GITHUB_TOKEN",
|
|
6702
|
+
"name": "token",
|
|
6721
6703
|
"required": false,
|
|
6722
6704
|
"hasDynamicHelp": false,
|
|
6723
6705
|
"multiple": false,
|
|
@@ -6726,7 +6708,7 @@
|
|
|
6726
6708
|
},
|
|
6727
6709
|
"hasDynamicHelp": false,
|
|
6728
6710
|
"hiddenAliases": [],
|
|
6729
|
-
"id": "
|
|
6711
|
+
"id": "workspace:git:pull",
|
|
6730
6712
|
"pluginAlias": "@xano/cli",
|
|
6731
6713
|
"pluginName": "@xano/cli",
|
|
6732
6714
|
"pluginType": "core",
|
|
@@ -6736,27 +6718,27 @@
|
|
|
6736
6718
|
"relativePath": [
|
|
6737
6719
|
"dist",
|
|
6738
6720
|
"commands",
|
|
6739
|
-
"
|
|
6740
|
-
"
|
|
6741
|
-
"
|
|
6721
|
+
"workspace",
|
|
6722
|
+
"git",
|
|
6723
|
+
"pull",
|
|
6742
6724
|
"index.js"
|
|
6743
6725
|
]
|
|
6744
6726
|
},
|
|
6745
|
-
"tenant:
|
|
6727
|
+
"tenant:license:set": {
|
|
6746
6728
|
"aliases": [],
|
|
6747
6729
|
"args": {
|
|
6748
|
-
"
|
|
6749
|
-
"description": "Tenant
|
|
6750
|
-
"name": "
|
|
6730
|
+
"tenant_name": {
|
|
6731
|
+
"description": "Tenant name",
|
|
6732
|
+
"name": "tenant_name",
|
|
6751
6733
|
"required": true
|
|
6752
6734
|
}
|
|
6753
6735
|
},
|
|
6754
|
-
"description": "
|
|
6736
|
+
"description": "Set/update the license for a tenant",
|
|
6755
6737
|
"examples": [
|
|
6756
|
-
"$ xano tenant
|
|
6757
|
-
"$ xano tenant
|
|
6758
|
-
"$ xano tenant
|
|
6759
|
-
"$ xano tenant
|
|
6738
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6739
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6740
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6741
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6760
6742
|
],
|
|
6761
6743
|
"flags": {
|
|
6762
6744
|
"profile": {
|
|
@@ -6778,9 +6760,22 @@
|
|
|
6778
6760
|
"allowNo": false,
|
|
6779
6761
|
"type": "boolean"
|
|
6780
6762
|
},
|
|
6763
|
+
"clean": {
|
|
6764
|
+
"description": "Remove the source file after successful upload",
|
|
6765
|
+
"exclusive": [
|
|
6766
|
+
"value"
|
|
6767
|
+
],
|
|
6768
|
+
"name": "clean",
|
|
6769
|
+
"required": false,
|
|
6770
|
+
"allowNo": false,
|
|
6771
|
+
"type": "boolean"
|
|
6772
|
+
},
|
|
6781
6773
|
"file": {
|
|
6782
6774
|
"char": "f",
|
|
6783
|
-
"description": "
|
|
6775
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6776
|
+
"exclusive": [
|
|
6777
|
+
"value"
|
|
6778
|
+
],
|
|
6784
6779
|
"name": "file",
|
|
6785
6780
|
"required": false,
|
|
6786
6781
|
"hasDynamicHelp": false,
|
|
@@ -6801,17 +6796,31 @@
|
|
|
6801
6796
|
],
|
|
6802
6797
|
"type": "option"
|
|
6803
6798
|
},
|
|
6804
|
-
"
|
|
6805
|
-
"description": "
|
|
6806
|
-
"
|
|
6799
|
+
"value": {
|
|
6800
|
+
"description": "Inline license value",
|
|
6801
|
+
"exclusive": [
|
|
6802
|
+
"file",
|
|
6803
|
+
"clean"
|
|
6804
|
+
],
|
|
6805
|
+
"name": "value",
|
|
6807
6806
|
"required": false,
|
|
6808
|
-
"
|
|
6809
|
-
"
|
|
6807
|
+
"hasDynamicHelp": false,
|
|
6808
|
+
"multiple": false,
|
|
6809
|
+
"type": "option"
|
|
6810
|
+
},
|
|
6811
|
+
"workspace": {
|
|
6812
|
+
"char": "w",
|
|
6813
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6814
|
+
"name": "workspace",
|
|
6815
|
+
"required": false,
|
|
6816
|
+
"hasDynamicHelp": false,
|
|
6817
|
+
"multiple": false,
|
|
6818
|
+
"type": "option"
|
|
6810
6819
|
}
|
|
6811
6820
|
},
|
|
6812
6821
|
"hasDynamicHelp": false,
|
|
6813
6822
|
"hiddenAliases": [],
|
|
6814
|
-
"id": "tenant:
|
|
6823
|
+
"id": "tenant:license:set",
|
|
6815
6824
|
"pluginAlias": "@xano/cli",
|
|
6816
6825
|
"pluginName": "@xano/cli",
|
|
6817
6826
|
"pluginType": "core",
|
|
@@ -6822,9 +6831,8 @@
|
|
|
6822
6831
|
"dist",
|
|
6823
6832
|
"commands",
|
|
6824
6833
|
"tenant",
|
|
6825
|
-
"cluster",
|
|
6826
6834
|
"license",
|
|
6827
|
-
"
|
|
6835
|
+
"set",
|
|
6828
6836
|
"index.js"
|
|
6829
6837
|
]
|
|
6830
6838
|
},
|
|
@@ -6932,24 +6940,21 @@
|
|
|
6932
6940
|
"index.js"
|
|
6933
6941
|
]
|
|
6934
6942
|
},
|
|
6935
|
-
"
|
|
6943
|
+
"tenant:cluster:license:get": {
|
|
6936
6944
|
"aliases": [],
|
|
6937
6945
|
"args": {
|
|
6938
|
-
"
|
|
6939
|
-
"description": "
|
|
6940
|
-
"name": "
|
|
6946
|
+
"cluster_id": {
|
|
6947
|
+
"description": "Tenant cluster ID",
|
|
6948
|
+
"name": "cluster_id",
|
|
6941
6949
|
"required": true
|
|
6942
6950
|
}
|
|
6943
6951
|
},
|
|
6944
|
-
"description": "
|
|
6952
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6945
6953
|
"examples": [
|
|
6946
|
-
"$ xano
|
|
6947
|
-
"$ xano
|
|
6948
|
-
"$ xano
|
|
6949
|
-
"$ xano
|
|
6950
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6951
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6952
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6954
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6955
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6956
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6957
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6953
6958
|
],
|
|
6954
6959
|
"flags": {
|
|
6955
6960
|
"profile": {
|
|
@@ -6971,46 +6976,40 @@
|
|
|
6971
6976
|
"allowNo": false,
|
|
6972
6977
|
"type": "boolean"
|
|
6973
6978
|
},
|
|
6974
|
-
"
|
|
6975
|
-
"char": "
|
|
6976
|
-
"description": "
|
|
6977
|
-
"name": "
|
|
6979
|
+
"file": {
|
|
6980
|
+
"char": "f",
|
|
6981
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6982
|
+
"name": "file",
|
|
6978
6983
|
"required": false,
|
|
6979
6984
|
"hasDynamicHelp": false,
|
|
6980
6985
|
"multiple": false,
|
|
6981
6986
|
"type": "option"
|
|
6982
6987
|
},
|
|
6983
|
-
"
|
|
6984
|
-
"
|
|
6985
|
-
"
|
|
6988
|
+
"output": {
|
|
6989
|
+
"char": "o",
|
|
6990
|
+
"description": "Output format",
|
|
6991
|
+
"name": "output",
|
|
6986
6992
|
"required": false,
|
|
6993
|
+
"default": "summary",
|
|
6987
6994
|
"hasDynamicHelp": false,
|
|
6988
6995
|
"multiple": false,
|
|
6996
|
+
"options": [
|
|
6997
|
+
"summary",
|
|
6998
|
+
"json"
|
|
6999
|
+
],
|
|
6989
7000
|
"type": "option"
|
|
6990
7001
|
},
|
|
6991
|
-
"
|
|
6992
|
-
"
|
|
6993
|
-
"
|
|
6994
|
-
"name": "repo",
|
|
6995
|
-
"required": true,
|
|
6996
|
-
"hasDynamicHelp": false,
|
|
6997
|
-
"multiple": false,
|
|
6998
|
-
"type": "option"
|
|
6999
|
-
},
|
|
7000
|
-
"token": {
|
|
7001
|
-
"char": "t",
|
|
7002
|
-
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
7003
|
-
"env": "GITHUB_TOKEN",
|
|
7004
|
-
"name": "token",
|
|
7002
|
+
"view": {
|
|
7003
|
+
"description": "Print license to stdout instead of saving to file",
|
|
7004
|
+
"name": "view",
|
|
7005
7005
|
"required": false,
|
|
7006
|
-
"
|
|
7007
|
-
"
|
|
7008
|
-
"type": "option"
|
|
7006
|
+
"allowNo": false,
|
|
7007
|
+
"type": "boolean"
|
|
7009
7008
|
}
|
|
7010
7009
|
},
|
|
7011
7010
|
"hasDynamicHelp": false,
|
|
7012
7011
|
"hiddenAliases": [],
|
|
7013
|
-
"id": "
|
|
7012
|
+
"id": "tenant:cluster:license:get",
|
|
7014
7013
|
"pluginAlias": "@xano/cli",
|
|
7015
7014
|
"pluginName": "@xano/cli",
|
|
7016
7015
|
"pluginType": "core",
|
|
@@ -7020,12 +7019,13 @@
|
|
|
7020
7019
|
"relativePath": [
|
|
7021
7020
|
"dist",
|
|
7022
7021
|
"commands",
|
|
7023
|
-
"
|
|
7024
|
-
"
|
|
7025
|
-
"
|
|
7022
|
+
"tenant",
|
|
7023
|
+
"cluster",
|
|
7024
|
+
"license",
|
|
7025
|
+
"get",
|
|
7026
7026
|
"index.js"
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.53"
|
|
7031
7031
|
}
|