@xano/cli 0.0.69-beta.2 → 0.0.71-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -93,113 +93,6 @@
|
|
|
93
93
|
"index.js"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
-
"branch:create": {
|
|
97
|
-
"aliases": [],
|
|
98
|
-
"args": {},
|
|
99
|
-
"description": "Create a new branch by cloning from an existing branch",
|
|
100
|
-
"examples": [
|
|
101
|
-
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
102
|
-
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
103
|
-
"$ 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"
|
|
104
|
-
],
|
|
105
|
-
"flags": {
|
|
106
|
-
"profile": {
|
|
107
|
-
"char": "p",
|
|
108
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
109
|
-
"env": "XANO_PROFILE",
|
|
110
|
-
"name": "profile",
|
|
111
|
-
"required": false,
|
|
112
|
-
"hasDynamicHelp": false,
|
|
113
|
-
"multiple": false,
|
|
114
|
-
"type": "option"
|
|
115
|
-
},
|
|
116
|
-
"verbose": {
|
|
117
|
-
"char": "v",
|
|
118
|
-
"description": "Show detailed request/response information",
|
|
119
|
-
"env": "XANO_VERBOSE",
|
|
120
|
-
"name": "verbose",
|
|
121
|
-
"required": false,
|
|
122
|
-
"allowNo": false,
|
|
123
|
-
"type": "boolean"
|
|
124
|
-
},
|
|
125
|
-
"color": {
|
|
126
|
-
"char": "c",
|
|
127
|
-
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
128
|
-
"name": "color",
|
|
129
|
-
"required": false,
|
|
130
|
-
"hasDynamicHelp": false,
|
|
131
|
-
"multiple": false,
|
|
132
|
-
"type": "option"
|
|
133
|
-
},
|
|
134
|
-
"description": {
|
|
135
|
-
"char": "d",
|
|
136
|
-
"description": "Description for the new branch",
|
|
137
|
-
"name": "description",
|
|
138
|
-
"required": false,
|
|
139
|
-
"hasDynamicHelp": false,
|
|
140
|
-
"multiple": false,
|
|
141
|
-
"type": "option"
|
|
142
|
-
},
|
|
143
|
-
"label": {
|
|
144
|
-
"char": "l",
|
|
145
|
-
"description": "Label for the new branch",
|
|
146
|
-
"name": "label",
|
|
147
|
-
"required": true,
|
|
148
|
-
"hasDynamicHelp": false,
|
|
149
|
-
"multiple": false,
|
|
150
|
-
"type": "option"
|
|
151
|
-
},
|
|
152
|
-
"output": {
|
|
153
|
-
"char": "o",
|
|
154
|
-
"description": "Output format",
|
|
155
|
-
"name": "output",
|
|
156
|
-
"required": false,
|
|
157
|
-
"default": "summary",
|
|
158
|
-
"hasDynamicHelp": false,
|
|
159
|
-
"multiple": false,
|
|
160
|
-
"options": [
|
|
161
|
-
"summary",
|
|
162
|
-
"json"
|
|
163
|
-
],
|
|
164
|
-
"type": "option"
|
|
165
|
-
},
|
|
166
|
-
"source": {
|
|
167
|
-
"char": "s",
|
|
168
|
-
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
169
|
-
"name": "source",
|
|
170
|
-
"required": false,
|
|
171
|
-
"default": "v1",
|
|
172
|
-
"hasDynamicHelp": false,
|
|
173
|
-
"multiple": false,
|
|
174
|
-
"type": "option"
|
|
175
|
-
},
|
|
176
|
-
"workspace": {
|
|
177
|
-
"char": "w",
|
|
178
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
179
|
-
"name": "workspace",
|
|
180
|
-
"required": false,
|
|
181
|
-
"hasDynamicHelp": false,
|
|
182
|
-
"multiple": false,
|
|
183
|
-
"type": "option"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"hasDynamicHelp": false,
|
|
187
|
-
"hiddenAliases": [],
|
|
188
|
-
"id": "branch:create",
|
|
189
|
-
"pluginAlias": "@xano/cli",
|
|
190
|
-
"pluginName": "@xano/cli",
|
|
191
|
-
"pluginType": "core",
|
|
192
|
-
"strict": true,
|
|
193
|
-
"enableJsonFlag": false,
|
|
194
|
-
"isESM": true,
|
|
195
|
-
"relativePath": [
|
|
196
|
-
"dist",
|
|
197
|
-
"commands",
|
|
198
|
-
"branch",
|
|
199
|
-
"create",
|
|
200
|
-
"index.js"
|
|
201
|
-
]
|
|
202
|
-
},
|
|
203
96
|
"branch:delete": {
|
|
204
97
|
"aliases": [],
|
|
205
98
|
"args": {
|
|
@@ -284,20 +177,14 @@
|
|
|
284
177
|
"index.js"
|
|
285
178
|
]
|
|
286
179
|
},
|
|
287
|
-
"branch:
|
|
180
|
+
"branch:create": {
|
|
288
181
|
"aliases": [],
|
|
289
|
-
"args": {
|
|
290
|
-
|
|
291
|
-
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
292
|
-
"name": "branch_label",
|
|
293
|
-
"required": true
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
182
|
+
"args": {},
|
|
183
|
+
"description": "Create a new branch by cloning from an existing branch",
|
|
297
184
|
"examples": [
|
|
298
|
-
"$ xano branch
|
|
299
|
-
"$ xano branch
|
|
300
|
-
"$ xano branch
|
|
185
|
+
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
186
|
+
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
187
|
+
"$ 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"
|
|
301
188
|
],
|
|
302
189
|
"flags": {
|
|
303
190
|
"profile": {
|
|
@@ -321,7 +208,7 @@
|
|
|
321
208
|
},
|
|
322
209
|
"color": {
|
|
323
210
|
"char": "c",
|
|
324
|
-
"description": "
|
|
211
|
+
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
325
212
|
"name": "color",
|
|
326
213
|
"required": false,
|
|
327
214
|
"hasDynamicHelp": false,
|
|
@@ -330,7 +217,7 @@
|
|
|
330
217
|
},
|
|
331
218
|
"description": {
|
|
332
219
|
"char": "d",
|
|
333
|
-
"description": "
|
|
220
|
+
"description": "Description for the new branch",
|
|
334
221
|
"name": "description",
|
|
335
222
|
"required": false,
|
|
336
223
|
"hasDynamicHelp": false,
|
|
@@ -339,9 +226,9 @@
|
|
|
339
226
|
},
|
|
340
227
|
"label": {
|
|
341
228
|
"char": "l",
|
|
342
|
-
"description": "
|
|
229
|
+
"description": "Label for the new branch",
|
|
343
230
|
"name": "label",
|
|
344
|
-
"required":
|
|
231
|
+
"required": true,
|
|
345
232
|
"hasDynamicHelp": false,
|
|
346
233
|
"multiple": false,
|
|
347
234
|
"type": "option"
|
|
@@ -360,6 +247,16 @@
|
|
|
360
247
|
],
|
|
361
248
|
"type": "option"
|
|
362
249
|
},
|
|
250
|
+
"source": {
|
|
251
|
+
"char": "s",
|
|
252
|
+
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
253
|
+
"name": "source",
|
|
254
|
+
"required": false,
|
|
255
|
+
"default": "v1",
|
|
256
|
+
"hasDynamicHelp": false,
|
|
257
|
+
"multiple": false,
|
|
258
|
+
"type": "option"
|
|
259
|
+
},
|
|
363
260
|
"workspace": {
|
|
364
261
|
"char": "w",
|
|
365
262
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -372,7 +269,7 @@
|
|
|
372
269
|
},
|
|
373
270
|
"hasDynamicHelp": false,
|
|
374
271
|
"hiddenAliases": [],
|
|
375
|
-
"id": "branch:
|
|
272
|
+
"id": "branch:create",
|
|
376
273
|
"pluginAlias": "@xano/cli",
|
|
377
274
|
"pluginName": "@xano/cli",
|
|
378
275
|
"pluginType": "core",
|
|
@@ -383,24 +280,24 @@
|
|
|
383
280
|
"dist",
|
|
384
281
|
"commands",
|
|
385
282
|
"branch",
|
|
386
|
-
"
|
|
283
|
+
"create",
|
|
387
284
|
"index.js"
|
|
388
285
|
]
|
|
389
286
|
},
|
|
390
|
-
"branch:
|
|
287
|
+
"branch:edit": {
|
|
391
288
|
"aliases": [],
|
|
392
289
|
"args": {
|
|
393
290
|
"branch_label": {
|
|
394
|
-
"description": "Branch label (
|
|
291
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
395
292
|
"name": "branch_label",
|
|
396
293
|
"required": true
|
|
397
294
|
}
|
|
398
295
|
},
|
|
399
|
-
"description": "
|
|
296
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
400
297
|
"examples": [
|
|
401
|
-
"$ xano branch
|
|
402
|
-
"$ xano branch
|
|
403
|
-
"$ xano branch
|
|
298
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
299
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
300
|
+
"$ 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"
|
|
404
301
|
],
|
|
405
302
|
"flags": {
|
|
406
303
|
"profile": {
|
|
@@ -422,6 +319,33 @@
|
|
|
422
319
|
"allowNo": false,
|
|
423
320
|
"type": "boolean"
|
|
424
321
|
},
|
|
322
|
+
"color": {
|
|
323
|
+
"char": "c",
|
|
324
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
325
|
+
"name": "color",
|
|
326
|
+
"required": false,
|
|
327
|
+
"hasDynamicHelp": false,
|
|
328
|
+
"multiple": false,
|
|
329
|
+
"type": "option"
|
|
330
|
+
},
|
|
331
|
+
"description": {
|
|
332
|
+
"char": "d",
|
|
333
|
+
"description": "New description for the branch",
|
|
334
|
+
"name": "description",
|
|
335
|
+
"required": false,
|
|
336
|
+
"hasDynamicHelp": false,
|
|
337
|
+
"multiple": false,
|
|
338
|
+
"type": "option"
|
|
339
|
+
},
|
|
340
|
+
"label": {
|
|
341
|
+
"char": "l",
|
|
342
|
+
"description": "New label for the branch",
|
|
343
|
+
"name": "label",
|
|
344
|
+
"required": false,
|
|
345
|
+
"hasDynamicHelp": false,
|
|
346
|
+
"multiple": false,
|
|
347
|
+
"type": "option"
|
|
348
|
+
},
|
|
425
349
|
"output": {
|
|
426
350
|
"char": "o",
|
|
427
351
|
"description": "Output format",
|
|
@@ -448,7 +372,7 @@
|
|
|
448
372
|
},
|
|
449
373
|
"hasDynamicHelp": false,
|
|
450
374
|
"hiddenAliases": [],
|
|
451
|
-
"id": "branch:
|
|
375
|
+
"id": "branch:edit",
|
|
452
376
|
"pluginAlias": "@xano/cli",
|
|
453
377
|
"pluginName": "@xano/cli",
|
|
454
378
|
"pluginType": "core",
|
|
@@ -459,24 +383,24 @@
|
|
|
459
383
|
"dist",
|
|
460
384
|
"commands",
|
|
461
385
|
"branch",
|
|
462
|
-
"
|
|
386
|
+
"edit",
|
|
463
387
|
"index.js"
|
|
464
388
|
]
|
|
465
389
|
},
|
|
466
|
-
"branch:
|
|
390
|
+
"branch:list": {
|
|
467
391
|
"aliases": [],
|
|
468
392
|
"args": {
|
|
469
|
-
"
|
|
470
|
-
"description": "
|
|
471
|
-
"name": "
|
|
472
|
-
"required":
|
|
393
|
+
"workspace_id": {
|
|
394
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
395
|
+
"name": "workspace_id",
|
|
396
|
+
"required": false
|
|
473
397
|
}
|
|
474
398
|
},
|
|
475
|
-
"description": "
|
|
399
|
+
"description": "List all branches in a workspace",
|
|
476
400
|
"examples": [
|
|
477
|
-
"$ xano branch
|
|
478
|
-
"$ xano branch
|
|
479
|
-
"$ xano branch
|
|
401
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
402
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
403
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
480
404
|
],
|
|
481
405
|
"flags": {
|
|
482
406
|
"profile": {
|
|
@@ -498,14 +422,6 @@
|
|
|
498
422
|
"allowNo": false,
|
|
499
423
|
"type": "boolean"
|
|
500
424
|
},
|
|
501
|
-
"force": {
|
|
502
|
-
"char": "f",
|
|
503
|
-
"description": "Skip confirmation prompt",
|
|
504
|
-
"name": "force",
|
|
505
|
-
"required": false,
|
|
506
|
-
"allowNo": false,
|
|
507
|
-
"type": "boolean"
|
|
508
|
-
},
|
|
509
425
|
"output": {
|
|
510
426
|
"char": "o",
|
|
511
427
|
"description": "Output format",
|
|
@@ -519,20 +435,11 @@
|
|
|
519
435
|
"json"
|
|
520
436
|
],
|
|
521
437
|
"type": "option"
|
|
522
|
-
},
|
|
523
|
-
"workspace": {
|
|
524
|
-
"char": "w",
|
|
525
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
526
|
-
"name": "workspace",
|
|
527
|
-
"required": false,
|
|
528
|
-
"hasDynamicHelp": false,
|
|
529
|
-
"multiple": false,
|
|
530
|
-
"type": "option"
|
|
531
438
|
}
|
|
532
439
|
},
|
|
533
440
|
"hasDynamicHelp": false,
|
|
534
441
|
"hiddenAliases": [],
|
|
535
|
-
"id": "branch:
|
|
442
|
+
"id": "branch:list",
|
|
536
443
|
"pluginAlias": "@xano/cli",
|
|
537
444
|
"pluginName": "@xano/cli",
|
|
538
445
|
"pluginType": "core",
|
|
@@ -543,7 +450,7 @@
|
|
|
543
450
|
"dist",
|
|
544
451
|
"commands",
|
|
545
452
|
"branch",
|
|
546
|
-
"
|
|
453
|
+
"list",
|
|
547
454
|
"index.js"
|
|
548
455
|
]
|
|
549
456
|
},
|
|
@@ -653,23 +560,20 @@
|
|
|
653
560
|
"index.js"
|
|
654
561
|
]
|
|
655
562
|
},
|
|
656
|
-
"
|
|
563
|
+
"branch:set_live": {
|
|
657
564
|
"aliases": [],
|
|
658
565
|
"args": {
|
|
659
|
-
"
|
|
660
|
-
"description": "
|
|
661
|
-
"name": "
|
|
662
|
-
"required":
|
|
566
|
+
"branch_label": {
|
|
567
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
568
|
+
"name": "branch_label",
|
|
569
|
+
"required": true
|
|
663
570
|
}
|
|
664
571
|
},
|
|
665
|
-
"description": "
|
|
572
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
666
573
|
"examples": [
|
|
667
|
-
"$ xano
|
|
668
|
-
"$ xano
|
|
669
|
-
"$ xano
|
|
670
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
671
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
672
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
574
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
575
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
576
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
673
577
|
],
|
|
674
578
|
"flags": {
|
|
675
579
|
"profile": {
|
|
@@ -691,16 +595,10 @@
|
|
|
691
595
|
"allowNo": false,
|
|
692
596
|
"type": "boolean"
|
|
693
597
|
},
|
|
694
|
-
"
|
|
695
|
-
"
|
|
696
|
-
"
|
|
697
|
-
"
|
|
698
|
-
"allowNo": false,
|
|
699
|
-
"type": "boolean"
|
|
700
|
-
},
|
|
701
|
-
"include_xanoscript": {
|
|
702
|
-
"description": "Include XanoScript in response",
|
|
703
|
-
"name": "include_xanoscript",
|
|
598
|
+
"force": {
|
|
599
|
+
"char": "f",
|
|
600
|
+
"description": "Skip confirmation prompt",
|
|
601
|
+
"name": "force",
|
|
704
602
|
"required": false,
|
|
705
603
|
"allowNo": false,
|
|
706
604
|
"type": "boolean"
|
|
@@ -715,14 +613,13 @@
|
|
|
715
613
|
"multiple": false,
|
|
716
614
|
"options": [
|
|
717
615
|
"summary",
|
|
718
|
-
"json"
|
|
719
|
-
"xs"
|
|
616
|
+
"json"
|
|
720
617
|
],
|
|
721
618
|
"type": "option"
|
|
722
619
|
},
|
|
723
620
|
"workspace": {
|
|
724
621
|
"char": "w",
|
|
725
|
-
"description": "Workspace ID (
|
|
622
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
726
623
|
"name": "workspace",
|
|
727
624
|
"required": false,
|
|
728
625
|
"hasDynamicHelp": false,
|
|
@@ -732,7 +629,7 @@
|
|
|
732
629
|
},
|
|
733
630
|
"hasDynamicHelp": false,
|
|
734
631
|
"hiddenAliases": [],
|
|
735
|
-
"id": "
|
|
632
|
+
"id": "branch:set_live",
|
|
736
633
|
"pluginAlias": "@xano/cli",
|
|
737
634
|
"pluginName": "@xano/cli",
|
|
738
635
|
"pluginType": "core",
|
|
@@ -742,8 +639,8 @@
|
|
|
742
639
|
"relativePath": [
|
|
743
640
|
"dist",
|
|
744
641
|
"commands",
|
|
745
|
-
"
|
|
746
|
-
"
|
|
642
|
+
"branch",
|
|
643
|
+
"set_live",
|
|
747
644
|
"index.js"
|
|
748
645
|
]
|
|
749
646
|
},
|
|
@@ -991,6 +888,100 @@
|
|
|
991
888
|
"index.js"
|
|
992
889
|
]
|
|
993
890
|
},
|
|
891
|
+
"function:get": {
|
|
892
|
+
"aliases": [],
|
|
893
|
+
"args": {
|
|
894
|
+
"function_id": {
|
|
895
|
+
"description": "Function ID",
|
|
896
|
+
"name": "function_id",
|
|
897
|
+
"required": false
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"description": "Get a specific function from a workspace",
|
|
901
|
+
"examples": [
|
|
902
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
903
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
904
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
905
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
906
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
907
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
908
|
+
],
|
|
909
|
+
"flags": {
|
|
910
|
+
"profile": {
|
|
911
|
+
"char": "p",
|
|
912
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
913
|
+
"env": "XANO_PROFILE",
|
|
914
|
+
"name": "profile",
|
|
915
|
+
"required": false,
|
|
916
|
+
"hasDynamicHelp": false,
|
|
917
|
+
"multiple": false,
|
|
918
|
+
"type": "option"
|
|
919
|
+
},
|
|
920
|
+
"verbose": {
|
|
921
|
+
"char": "v",
|
|
922
|
+
"description": "Show detailed request/response information",
|
|
923
|
+
"env": "XANO_VERBOSE",
|
|
924
|
+
"name": "verbose",
|
|
925
|
+
"required": false,
|
|
926
|
+
"allowNo": false,
|
|
927
|
+
"type": "boolean"
|
|
928
|
+
},
|
|
929
|
+
"include_draft": {
|
|
930
|
+
"description": "Include draft version",
|
|
931
|
+
"name": "include_draft",
|
|
932
|
+
"required": false,
|
|
933
|
+
"allowNo": false,
|
|
934
|
+
"type": "boolean"
|
|
935
|
+
},
|
|
936
|
+
"include_xanoscript": {
|
|
937
|
+
"description": "Include XanoScript in response",
|
|
938
|
+
"name": "include_xanoscript",
|
|
939
|
+
"required": false,
|
|
940
|
+
"allowNo": false,
|
|
941
|
+
"type": "boolean"
|
|
942
|
+
},
|
|
943
|
+
"output": {
|
|
944
|
+
"char": "o",
|
|
945
|
+
"description": "Output format",
|
|
946
|
+
"name": "output",
|
|
947
|
+
"required": false,
|
|
948
|
+
"default": "summary",
|
|
949
|
+
"hasDynamicHelp": false,
|
|
950
|
+
"multiple": false,
|
|
951
|
+
"options": [
|
|
952
|
+
"summary",
|
|
953
|
+
"json",
|
|
954
|
+
"xs"
|
|
955
|
+
],
|
|
956
|
+
"type": "option"
|
|
957
|
+
},
|
|
958
|
+
"workspace": {
|
|
959
|
+
"char": "w",
|
|
960
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
961
|
+
"name": "workspace",
|
|
962
|
+
"required": false,
|
|
963
|
+
"hasDynamicHelp": false,
|
|
964
|
+
"multiple": false,
|
|
965
|
+
"type": "option"
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"hasDynamicHelp": false,
|
|
969
|
+
"hiddenAliases": [],
|
|
970
|
+
"id": "function:get",
|
|
971
|
+
"pluginAlias": "@xano/cli",
|
|
972
|
+
"pluginName": "@xano/cli",
|
|
973
|
+
"pluginType": "core",
|
|
974
|
+
"strict": true,
|
|
975
|
+
"enableJsonFlag": false,
|
|
976
|
+
"isESM": true,
|
|
977
|
+
"relativePath": [
|
|
978
|
+
"dist",
|
|
979
|
+
"commands",
|
|
980
|
+
"function",
|
|
981
|
+
"get",
|
|
982
|
+
"index.js"
|
|
983
|
+
]
|
|
984
|
+
},
|
|
994
985
|
"platform:get": {
|
|
995
986
|
"aliases": [],
|
|
996
987
|
"args": {
|
|
@@ -1410,28 +1401,53 @@
|
|
|
1410
1401
|
"index.js"
|
|
1411
1402
|
]
|
|
1412
1403
|
},
|
|
1413
|
-
"profile:
|
|
1404
|
+
"profile:me": {
|
|
1414
1405
|
"aliases": [],
|
|
1415
1406
|
"args": {},
|
|
1416
|
-
"description": "
|
|
1407
|
+
"description": "Get information about the currently authenticated user",
|
|
1417
1408
|
"examples": [
|
|
1418
|
-
"$ xano profile:
|
|
1419
|
-
"$ xano profile:
|
|
1420
|
-
"$ xano profile:
|
|
1409
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1410
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1411
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1421
1412
|
],
|
|
1422
1413
|
"flags": {
|
|
1423
|
-
"
|
|
1424
|
-
"char": "
|
|
1425
|
-
"description": "
|
|
1426
|
-
"
|
|
1414
|
+
"profile": {
|
|
1415
|
+
"char": "p",
|
|
1416
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1417
|
+
"env": "XANO_PROFILE",
|
|
1418
|
+
"name": "profile",
|
|
1419
|
+
"required": false,
|
|
1420
|
+
"hasDynamicHelp": false,
|
|
1421
|
+
"multiple": false,
|
|
1422
|
+
"type": "option"
|
|
1423
|
+
},
|
|
1424
|
+
"verbose": {
|
|
1425
|
+
"char": "v",
|
|
1426
|
+
"description": "Show detailed request/response information",
|
|
1427
|
+
"env": "XANO_VERBOSE",
|
|
1428
|
+
"name": "verbose",
|
|
1427
1429
|
"required": false,
|
|
1428
1430
|
"allowNo": false,
|
|
1429
1431
|
"type": "boolean"
|
|
1432
|
+
},
|
|
1433
|
+
"output": {
|
|
1434
|
+
"char": "o",
|
|
1435
|
+
"description": "Output format",
|
|
1436
|
+
"name": "output",
|
|
1437
|
+
"required": false,
|
|
1438
|
+
"default": "summary",
|
|
1439
|
+
"hasDynamicHelp": false,
|
|
1440
|
+
"multiple": false,
|
|
1441
|
+
"options": [
|
|
1442
|
+
"summary",
|
|
1443
|
+
"json"
|
|
1444
|
+
],
|
|
1445
|
+
"type": "option"
|
|
1430
1446
|
}
|
|
1431
1447
|
},
|
|
1432
1448
|
"hasDynamicHelp": false,
|
|
1433
1449
|
"hiddenAliases": [],
|
|
1434
|
-
"id": "profile:
|
|
1450
|
+
"id": "profile:me",
|
|
1435
1451
|
"pluginAlias": "@xano/cli",
|
|
1436
1452
|
"pluginName": "@xano/cli",
|
|
1437
1453
|
"pluginType": "core",
|
|
@@ -1442,18 +1458,24 @@
|
|
|
1442
1458
|
"dist",
|
|
1443
1459
|
"commands",
|
|
1444
1460
|
"profile",
|
|
1445
|
-
"
|
|
1461
|
+
"me",
|
|
1446
1462
|
"index.js"
|
|
1447
1463
|
]
|
|
1448
1464
|
},
|
|
1449
|
-
"
|
|
1465
|
+
"branch:get": {
|
|
1450
1466
|
"aliases": [],
|
|
1451
|
-
"args": {
|
|
1452
|
-
|
|
1467
|
+
"args": {
|
|
1468
|
+
"branch_label": {
|
|
1469
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1470
|
+
"name": "branch_label",
|
|
1471
|
+
"required": true
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
"description": "Get details for a specific branch",
|
|
1453
1475
|
"examples": [
|
|
1454
|
-
"$ xano
|
|
1455
|
-
"$ xano
|
|
1456
|
-
"$ xano
|
|
1476
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1477
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1478
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
1457
1479
|
],
|
|
1458
1480
|
"flags": {
|
|
1459
1481
|
"profile": {
|
|
@@ -1488,11 +1510,20 @@
|
|
|
1488
1510
|
"json"
|
|
1489
1511
|
],
|
|
1490
1512
|
"type": "option"
|
|
1513
|
+
},
|
|
1514
|
+
"workspace": {
|
|
1515
|
+
"char": "w",
|
|
1516
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1517
|
+
"name": "workspace",
|
|
1518
|
+
"required": false,
|
|
1519
|
+
"hasDynamicHelp": false,
|
|
1520
|
+
"multiple": false,
|
|
1521
|
+
"type": "option"
|
|
1491
1522
|
}
|
|
1492
1523
|
},
|
|
1493
1524
|
"hasDynamicHelp": false,
|
|
1494
1525
|
"hiddenAliases": [],
|
|
1495
|
-
"id": "
|
|
1526
|
+
"id": "branch:get",
|
|
1496
1527
|
"pluginAlias": "@xano/cli",
|
|
1497
1528
|
"pluginName": "@xano/cli",
|
|
1498
1529
|
"pluginType": "core",
|
|
@@ -1502,8 +1533,8 @@
|
|
|
1502
1533
|
"relativePath": [
|
|
1503
1534
|
"dist",
|
|
1504
1535
|
"commands",
|
|
1505
|
-
"
|
|
1506
|
-
"
|
|
1536
|
+
"branch",
|
|
1537
|
+
"get",
|
|
1507
1538
|
"index.js"
|
|
1508
1539
|
]
|
|
1509
1540
|
},
|
|
@@ -1538,18 +1569,28 @@
|
|
|
1538
1569
|
"index.js"
|
|
1539
1570
|
]
|
|
1540
1571
|
},
|
|
1541
|
-
"profile:
|
|
1572
|
+
"profile:list": {
|
|
1542
1573
|
"aliases": [],
|
|
1543
1574
|
"args": {},
|
|
1544
|
-
"description": "
|
|
1575
|
+
"description": "List all available profile configurations",
|
|
1545
1576
|
"examples": [
|
|
1546
|
-
"$ xano profile:
|
|
1547
|
-
"$ xano profile:
|
|
1577
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1578
|
+
"$ 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",
|
|
1579
|
+
"$ 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"
|
|
1548
1580
|
],
|
|
1549
|
-
"flags": {
|
|
1581
|
+
"flags": {
|
|
1582
|
+
"details": {
|
|
1583
|
+
"char": "d",
|
|
1584
|
+
"description": "Show detailed information for each profile",
|
|
1585
|
+
"name": "details",
|
|
1586
|
+
"required": false,
|
|
1587
|
+
"allowNo": false,
|
|
1588
|
+
"type": "boolean"
|
|
1589
|
+
}
|
|
1590
|
+
},
|
|
1550
1591
|
"hasDynamicHelp": false,
|
|
1551
1592
|
"hiddenAliases": [],
|
|
1552
|
-
"id": "profile:
|
|
1593
|
+
"id": "profile:list",
|
|
1553
1594
|
"pluginAlias": "@xano/cli",
|
|
1554
1595
|
"pluginName": "@xano/cli",
|
|
1555
1596
|
"pluginType": "core",
|
|
@@ -1560,49 +1601,22 @@
|
|
|
1560
1601
|
"dist",
|
|
1561
1602
|
"commands",
|
|
1562
1603
|
"profile",
|
|
1563
|
-
"
|
|
1604
|
+
"list",
|
|
1564
1605
|
"index.js"
|
|
1565
1606
|
]
|
|
1566
1607
|
},
|
|
1567
|
-
"profile:
|
|
1608
|
+
"profile:token": {
|
|
1568
1609
|
"aliases": [],
|
|
1569
1610
|
"args": {},
|
|
1570
|
-
"description": "
|
|
1611
|
+
"description": "Print the access token for the default profile",
|
|
1571
1612
|
"examples": [
|
|
1572
|
-
"$ xano profile:
|
|
1613
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1614
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1573
1615
|
],
|
|
1574
|
-
"flags": {
|
|
1575
|
-
"insecure": {
|
|
1576
|
-
"char": "k",
|
|
1577
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1578
|
-
"name": "insecure",
|
|
1579
|
-
"required": false,
|
|
1580
|
-
"allowNo": false,
|
|
1581
|
-
"type": "boolean"
|
|
1582
|
-
},
|
|
1583
|
-
"name": {
|
|
1584
|
-
"char": "n",
|
|
1585
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1586
|
-
"name": "name",
|
|
1587
|
-
"required": false,
|
|
1588
|
-
"hasDynamicHelp": false,
|
|
1589
|
-
"multiple": false,
|
|
1590
|
-
"type": "option"
|
|
1591
|
-
},
|
|
1592
|
-
"origin": {
|
|
1593
|
-
"char": "o",
|
|
1594
|
-
"description": "Xano instance origin URL",
|
|
1595
|
-
"name": "origin",
|
|
1596
|
-
"required": false,
|
|
1597
|
-
"default": "https://app.xano.com",
|
|
1598
|
-
"hasDynamicHelp": false,
|
|
1599
|
-
"multiple": false,
|
|
1600
|
-
"type": "option"
|
|
1601
|
-
}
|
|
1602
|
-
},
|
|
1616
|
+
"flags": {},
|
|
1603
1617
|
"hasDynamicHelp": false,
|
|
1604
1618
|
"hiddenAliases": [],
|
|
1605
|
-
"id": "profile:
|
|
1619
|
+
"id": "profile:token",
|
|
1606
1620
|
"pluginAlias": "@xano/cli",
|
|
1607
1621
|
"pluginName": "@xano/cli",
|
|
1608
1622
|
"pluginType": "core",
|
|
@@ -1613,7 +1627,7 @@
|
|
|
1613
1627
|
"dist",
|
|
1614
1628
|
"commands",
|
|
1615
1629
|
"profile",
|
|
1616
|
-
"
|
|
1630
|
+
"token",
|
|
1617
1631
|
"index.js"
|
|
1618
1632
|
]
|
|
1619
1633
|
},
|
|
@@ -1754,90 +1768,6 @@
|
|
|
1754
1768
|
"index.js"
|
|
1755
1769
|
]
|
|
1756
1770
|
},
|
|
1757
|
-
"release:delete": {
|
|
1758
|
-
"aliases": [],
|
|
1759
|
-
"args": {
|
|
1760
|
-
"release_name": {
|
|
1761
|
-
"description": "Release name to delete",
|
|
1762
|
-
"name": "release_name",
|
|
1763
|
-
"required": true
|
|
1764
|
-
}
|
|
1765
|
-
},
|
|
1766
|
-
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1767
|
-
"examples": [
|
|
1768
|
-
"$ 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",
|
|
1769
|
-
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1770
|
-
"$ xano release delete v1.0 -f -o json"
|
|
1771
|
-
],
|
|
1772
|
-
"flags": {
|
|
1773
|
-
"profile": {
|
|
1774
|
-
"char": "p",
|
|
1775
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1776
|
-
"env": "XANO_PROFILE",
|
|
1777
|
-
"name": "profile",
|
|
1778
|
-
"required": false,
|
|
1779
|
-
"hasDynamicHelp": false,
|
|
1780
|
-
"multiple": false,
|
|
1781
|
-
"type": "option"
|
|
1782
|
-
},
|
|
1783
|
-
"verbose": {
|
|
1784
|
-
"char": "v",
|
|
1785
|
-
"description": "Show detailed request/response information",
|
|
1786
|
-
"env": "XANO_VERBOSE",
|
|
1787
|
-
"name": "verbose",
|
|
1788
|
-
"required": false,
|
|
1789
|
-
"allowNo": false,
|
|
1790
|
-
"type": "boolean"
|
|
1791
|
-
},
|
|
1792
|
-
"force": {
|
|
1793
|
-
"char": "f",
|
|
1794
|
-
"description": "Skip confirmation prompt",
|
|
1795
|
-
"name": "force",
|
|
1796
|
-
"required": false,
|
|
1797
|
-
"allowNo": false,
|
|
1798
|
-
"type": "boolean"
|
|
1799
|
-
},
|
|
1800
|
-
"output": {
|
|
1801
|
-
"char": "o",
|
|
1802
|
-
"description": "Output format",
|
|
1803
|
-
"name": "output",
|
|
1804
|
-
"required": false,
|
|
1805
|
-
"default": "summary",
|
|
1806
|
-
"hasDynamicHelp": false,
|
|
1807
|
-
"multiple": false,
|
|
1808
|
-
"options": [
|
|
1809
|
-
"summary",
|
|
1810
|
-
"json"
|
|
1811
|
-
],
|
|
1812
|
-
"type": "option"
|
|
1813
|
-
},
|
|
1814
|
-
"workspace": {
|
|
1815
|
-
"char": "w",
|
|
1816
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1817
|
-
"name": "workspace",
|
|
1818
|
-
"required": false,
|
|
1819
|
-
"hasDynamicHelp": false,
|
|
1820
|
-
"multiple": false,
|
|
1821
|
-
"type": "option"
|
|
1822
|
-
}
|
|
1823
|
-
},
|
|
1824
|
-
"hasDynamicHelp": false,
|
|
1825
|
-
"hiddenAliases": [],
|
|
1826
|
-
"id": "release:delete",
|
|
1827
|
-
"pluginAlias": "@xano/cli",
|
|
1828
|
-
"pluginName": "@xano/cli",
|
|
1829
|
-
"pluginType": "core",
|
|
1830
|
-
"strict": true,
|
|
1831
|
-
"enableJsonFlag": false,
|
|
1832
|
-
"isESM": true,
|
|
1833
|
-
"relativePath": [
|
|
1834
|
-
"dist",
|
|
1835
|
-
"commands",
|
|
1836
|
-
"release",
|
|
1837
|
-
"delete",
|
|
1838
|
-
"index.js"
|
|
1839
|
-
]
|
|
1840
|
-
},
|
|
1841
1771
|
"release:edit": {
|
|
1842
1772
|
"aliases": [],
|
|
1843
1773
|
"args": {
|
|
@@ -2015,19 +1945,20 @@
|
|
|
2015
1945
|
"index.js"
|
|
2016
1946
|
]
|
|
2017
1947
|
},
|
|
2018
|
-
"release:
|
|
1948
|
+
"release:delete": {
|
|
2019
1949
|
"aliases": [],
|
|
2020
1950
|
"args": {
|
|
2021
1951
|
"release_name": {
|
|
2022
|
-
"description": "Release name to
|
|
1952
|
+
"description": "Release name to delete",
|
|
2023
1953
|
"name": "release_name",
|
|
2024
1954
|
"required": true
|
|
2025
1955
|
}
|
|
2026
1956
|
},
|
|
2027
|
-
"description": "
|
|
1957
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
2028
1958
|
"examples": [
|
|
2029
|
-
"$ xano release
|
|
2030
|
-
"$ xano release
|
|
1959
|
+
"$ 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",
|
|
1960
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1961
|
+
"$ xano release delete v1.0 -f -o json"
|
|
2031
1962
|
],
|
|
2032
1963
|
"flags": {
|
|
2033
1964
|
"profile": {
|
|
@@ -2049,6 +1980,14 @@
|
|
|
2049
1980
|
"allowNo": false,
|
|
2050
1981
|
"type": "boolean"
|
|
2051
1982
|
},
|
|
1983
|
+
"force": {
|
|
1984
|
+
"char": "f",
|
|
1985
|
+
"description": "Skip confirmation prompt",
|
|
1986
|
+
"name": "force",
|
|
1987
|
+
"required": false,
|
|
1988
|
+
"allowNo": false,
|
|
1989
|
+
"type": "boolean"
|
|
1990
|
+
},
|
|
2052
1991
|
"output": {
|
|
2053
1992
|
"char": "o",
|
|
2054
1993
|
"description": "Output format",
|
|
@@ -2075,7 +2014,7 @@
|
|
|
2075
2014
|
},
|
|
2076
2015
|
"hasDynamicHelp": false,
|
|
2077
2016
|
"hiddenAliases": [],
|
|
2078
|
-
"id": "release:
|
|
2017
|
+
"id": "release:delete",
|
|
2079
2018
|
"pluginAlias": "@xano/cli",
|
|
2080
2019
|
"pluginName": "@xano/cli",
|
|
2081
2020
|
"pluginType": "core",
|
|
@@ -2086,7 +2025,60 @@
|
|
|
2086
2025
|
"dist",
|
|
2087
2026
|
"commands",
|
|
2088
2027
|
"release",
|
|
2089
|
-
"
|
|
2028
|
+
"delete",
|
|
2029
|
+
"index.js"
|
|
2030
|
+
]
|
|
2031
|
+
},
|
|
2032
|
+
"profile:wizard": {
|
|
2033
|
+
"aliases": [],
|
|
2034
|
+
"args": {},
|
|
2035
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
2036
|
+
"examples": [
|
|
2037
|
+
"$ 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"
|
|
2038
|
+
],
|
|
2039
|
+
"flags": {
|
|
2040
|
+
"insecure": {
|
|
2041
|
+
"char": "k",
|
|
2042
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
2043
|
+
"name": "insecure",
|
|
2044
|
+
"required": false,
|
|
2045
|
+
"allowNo": false,
|
|
2046
|
+
"type": "boolean"
|
|
2047
|
+
},
|
|
2048
|
+
"name": {
|
|
2049
|
+
"char": "n",
|
|
2050
|
+
"description": "Profile name (skip prompt if provided)",
|
|
2051
|
+
"name": "name",
|
|
2052
|
+
"required": false,
|
|
2053
|
+
"hasDynamicHelp": false,
|
|
2054
|
+
"multiple": false,
|
|
2055
|
+
"type": "option"
|
|
2056
|
+
},
|
|
2057
|
+
"origin": {
|
|
2058
|
+
"char": "o",
|
|
2059
|
+
"description": "Xano instance origin URL",
|
|
2060
|
+
"name": "origin",
|
|
2061
|
+
"required": false,
|
|
2062
|
+
"default": "https://app.xano.com",
|
|
2063
|
+
"hasDynamicHelp": false,
|
|
2064
|
+
"multiple": false,
|
|
2065
|
+
"type": "option"
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
"hasDynamicHelp": false,
|
|
2069
|
+
"hiddenAliases": [],
|
|
2070
|
+
"id": "profile:wizard",
|
|
2071
|
+
"pluginAlias": "@xano/cli",
|
|
2072
|
+
"pluginName": "@xano/cli",
|
|
2073
|
+
"pluginType": "core",
|
|
2074
|
+
"strict": true,
|
|
2075
|
+
"enableJsonFlag": false,
|
|
2076
|
+
"isESM": true,
|
|
2077
|
+
"relativePath": [
|
|
2078
|
+
"dist",
|
|
2079
|
+
"commands",
|
|
2080
|
+
"profile",
|
|
2081
|
+
"wizard",
|
|
2090
2082
|
"index.js"
|
|
2091
2083
|
]
|
|
2092
2084
|
},
|
|
@@ -2168,13 +2160,19 @@
|
|
|
2168
2160
|
"index.js"
|
|
2169
2161
|
]
|
|
2170
2162
|
},
|
|
2171
|
-
"release:
|
|
2163
|
+
"release:get": {
|
|
2172
2164
|
"aliases": [],
|
|
2173
|
-
"args": {
|
|
2174
|
-
|
|
2165
|
+
"args": {
|
|
2166
|
+
"release_name": {
|
|
2167
|
+
"description": "Release name to retrieve",
|
|
2168
|
+
"name": "release_name",
|
|
2169
|
+
"required": true
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
"description": "Get details of a specific release",
|
|
2175
2173
|
"examples": [
|
|
2176
|
-
"$ xano release
|
|
2177
|
-
"$ xano release
|
|
2174
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2175
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2178
2176
|
],
|
|
2179
2177
|
"flags": {
|
|
2180
2178
|
"profile": {
|
|
@@ -2222,7 +2220,7 @@
|
|
|
2222
2220
|
},
|
|
2223
2221
|
"hasDynamicHelp": false,
|
|
2224
2222
|
"hiddenAliases": [],
|
|
2225
|
-
"id": "release:
|
|
2223
|
+
"id": "release:get",
|
|
2226
2224
|
"pluginAlias": "@xano/cli",
|
|
2227
2225
|
"pluginName": "@xano/cli",
|
|
2228
2226
|
"pluginType": "core",
|
|
@@ -2233,24 +2231,17 @@
|
|
|
2233
2231
|
"dist",
|
|
2234
2232
|
"commands",
|
|
2235
2233
|
"release",
|
|
2236
|
-
"
|
|
2234
|
+
"get",
|
|
2237
2235
|
"index.js"
|
|
2238
2236
|
]
|
|
2239
2237
|
},
|
|
2240
|
-
"release:
|
|
2238
|
+
"release:list": {
|
|
2241
2239
|
"aliases": [],
|
|
2242
|
-
"args": {
|
|
2243
|
-
|
|
2244
|
-
"description": "Output directory for pulled documents",
|
|
2245
|
-
"name": "directory",
|
|
2246
|
-
"required": true
|
|
2247
|
-
}
|
|
2248
|
-
},
|
|
2249
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2240
|
+
"args": {},
|
|
2241
|
+
"description": "List all releases in a workspace",
|
|
2250
2242
|
"examples": [
|
|
2251
|
-
"$ xano release
|
|
2252
|
-
"$ xano release
|
|
2253
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2243
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2244
|
+
"$ xano release list -w 5 --output json"
|
|
2254
2245
|
],
|
|
2255
2246
|
"flags": {
|
|
2256
2247
|
"profile": {
|
|
@@ -2272,32 +2263,23 @@
|
|
|
2272
2263
|
"allowNo": false,
|
|
2273
2264
|
"type": "boolean"
|
|
2274
2265
|
},
|
|
2275
|
-
"
|
|
2276
|
-
"
|
|
2277
|
-
"
|
|
2278
|
-
"
|
|
2279
|
-
"allowNo": false,
|
|
2280
|
-
"type": "boolean"
|
|
2281
|
-
},
|
|
2282
|
-
"records": {
|
|
2283
|
-
"description": "Include records",
|
|
2284
|
-
"name": "records",
|
|
2266
|
+
"output": {
|
|
2267
|
+
"char": "o",
|
|
2268
|
+
"description": "Output format",
|
|
2269
|
+
"name": "output",
|
|
2285
2270
|
"required": false,
|
|
2286
|
-
"
|
|
2287
|
-
"type": "boolean"
|
|
2288
|
-
},
|
|
2289
|
-
"release": {
|
|
2290
|
-
"char": "r",
|
|
2291
|
-
"description": "Release name to pull from",
|
|
2292
|
-
"name": "release",
|
|
2293
|
-
"required": true,
|
|
2271
|
+
"default": "summary",
|
|
2294
2272
|
"hasDynamicHelp": false,
|
|
2295
2273
|
"multiple": false,
|
|
2274
|
+
"options": [
|
|
2275
|
+
"summary",
|
|
2276
|
+
"json"
|
|
2277
|
+
],
|
|
2296
2278
|
"type": "option"
|
|
2297
2279
|
},
|
|
2298
2280
|
"workspace": {
|
|
2299
2281
|
"char": "w",
|
|
2300
|
-
"description": "Workspace ID (
|
|
2282
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2301
2283
|
"name": "workspace",
|
|
2302
2284
|
"required": false,
|
|
2303
2285
|
"hasDynamicHelp": false,
|
|
@@ -2307,7 +2289,7 @@
|
|
|
2307
2289
|
},
|
|
2308
2290
|
"hasDynamicHelp": false,
|
|
2309
2291
|
"hiddenAliases": [],
|
|
2310
|
-
"id": "release:
|
|
2292
|
+
"id": "release:list",
|
|
2311
2293
|
"pluginAlias": "@xano/cli",
|
|
2312
2294
|
"pluginName": "@xano/cli",
|
|
2313
2295
|
"pluginType": "core",
|
|
@@ -2318,7 +2300,7 @@
|
|
|
2318
2300
|
"dist",
|
|
2319
2301
|
"commands",
|
|
2320
2302
|
"release",
|
|
2321
|
-
"
|
|
2303
|
+
"list",
|
|
2322
2304
|
"index.js"
|
|
2323
2305
|
]
|
|
2324
2306
|
},
|
|
@@ -2529,20 +2511,19 @@
|
|
|
2529
2511
|
"index.js"
|
|
2530
2512
|
]
|
|
2531
2513
|
},
|
|
2532
|
-
"
|
|
2514
|
+
"tenant:create": {
|
|
2533
2515
|
"aliases": [],
|
|
2534
2516
|
"args": {
|
|
2535
|
-
"
|
|
2536
|
-
"description": "
|
|
2537
|
-
"name": "
|
|
2538
|
-
"required":
|
|
2517
|
+
"display": {
|
|
2518
|
+
"description": "Display name for the tenant",
|
|
2519
|
+
"name": "display",
|
|
2520
|
+
"required": true
|
|
2539
2521
|
}
|
|
2540
2522
|
},
|
|
2541
|
-
"description": "
|
|
2523
|
+
"description": "Create a new tenant in a workspace",
|
|
2542
2524
|
"examples": [
|
|
2543
|
-
"$ xano
|
|
2544
|
-
"$ xano
|
|
2545
|
-
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
2525
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2526
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2546
2527
|
],
|
|
2547
2528
|
"flags": {
|
|
2548
2529
|
"profile": {
|
|
@@ -2564,75 +2545,9 @@
|
|
|
2564
2545
|
"allowNo": false,
|
|
2565
2546
|
"type": "boolean"
|
|
2566
2547
|
},
|
|
2567
|
-
"
|
|
2568
|
-
"
|
|
2569
|
-
"
|
|
2570
|
-
"name": "output",
|
|
2571
|
-
"required": false,
|
|
2572
|
-
"default": "summary",
|
|
2573
|
-
"hasDynamicHelp": false,
|
|
2574
|
-
"multiple": false,
|
|
2575
|
-
"options": [
|
|
2576
|
-
"summary",
|
|
2577
|
-
"json"
|
|
2578
|
-
],
|
|
2579
|
-
"type": "option"
|
|
2580
|
-
}
|
|
2581
|
-
},
|
|
2582
|
-
"hasDynamicHelp": false,
|
|
2583
|
-
"hiddenAliases": [],
|
|
2584
|
-
"id": "branch:list",
|
|
2585
|
-
"pluginAlias": "@xano/cli",
|
|
2586
|
-
"pluginName": "@xano/cli",
|
|
2587
|
-
"pluginType": "core",
|
|
2588
|
-
"strict": true,
|
|
2589
|
-
"enableJsonFlag": false,
|
|
2590
|
-
"isESM": true,
|
|
2591
|
-
"relativePath": [
|
|
2592
|
-
"dist",
|
|
2593
|
-
"commands",
|
|
2594
|
-
"branch",
|
|
2595
|
-
"list",
|
|
2596
|
-
"index.js"
|
|
2597
|
-
]
|
|
2598
|
-
},
|
|
2599
|
-
"tenant:create": {
|
|
2600
|
-
"aliases": [],
|
|
2601
|
-
"args": {
|
|
2602
|
-
"display": {
|
|
2603
|
-
"description": "Display name for the tenant",
|
|
2604
|
-
"name": "display",
|
|
2605
|
-
"required": true
|
|
2606
|
-
}
|
|
2607
|
-
},
|
|
2608
|
-
"description": "Create a new tenant in a workspace",
|
|
2609
|
-
"examples": [
|
|
2610
|
-
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2611
|
-
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2612
|
-
],
|
|
2613
|
-
"flags": {
|
|
2614
|
-
"profile": {
|
|
2615
|
-
"char": "p",
|
|
2616
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2617
|
-
"env": "XANO_PROFILE",
|
|
2618
|
-
"name": "profile",
|
|
2619
|
-
"required": false,
|
|
2620
|
-
"hasDynamicHelp": false,
|
|
2621
|
-
"multiple": false,
|
|
2622
|
-
"type": "option"
|
|
2623
|
-
},
|
|
2624
|
-
"verbose": {
|
|
2625
|
-
"char": "v",
|
|
2626
|
-
"description": "Show detailed request/response information",
|
|
2627
|
-
"env": "XANO_VERBOSE",
|
|
2628
|
-
"name": "verbose",
|
|
2629
|
-
"required": false,
|
|
2630
|
-
"allowNo": false,
|
|
2631
|
-
"type": "boolean"
|
|
2632
|
-
},
|
|
2633
|
-
"cluster_id": {
|
|
2634
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2635
|
-
"name": "cluster_id",
|
|
2548
|
+
"cluster_id": {
|
|
2549
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2550
|
+
"name": "cluster_id",
|
|
2636
2551
|
"required": false,
|
|
2637
2552
|
"hasDynamicHelp": false,
|
|
2638
2553
|
"multiple": false,
|
|
@@ -2736,19 +2651,20 @@
|
|
|
2736
2651
|
"index.js"
|
|
2737
2652
|
]
|
|
2738
2653
|
},
|
|
2739
|
-
"
|
|
2654
|
+
"release:pull": {
|
|
2740
2655
|
"aliases": [],
|
|
2741
2656
|
"args": {
|
|
2742
|
-
"
|
|
2743
|
-
"description": "
|
|
2744
|
-
"name": "
|
|
2657
|
+
"directory": {
|
|
2658
|
+
"description": "Output directory for pulled documents",
|
|
2659
|
+
"name": "directory",
|
|
2745
2660
|
"required": true
|
|
2746
2661
|
}
|
|
2747
2662
|
},
|
|
2748
|
-
"description": "
|
|
2663
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2749
2664
|
"examples": [
|
|
2750
|
-
"$ xano
|
|
2751
|
-
"$ xano
|
|
2665
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2666
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2667
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2752
2668
|
],
|
|
2753
2669
|
"flags": {
|
|
2754
2670
|
"profile": {
|
|
@@ -2770,23 +2686,24 @@
|
|
|
2770
2686
|
"allowNo": false,
|
|
2771
2687
|
"type": "boolean"
|
|
2772
2688
|
},
|
|
2773
|
-
"
|
|
2774
|
-
"
|
|
2775
|
-
"
|
|
2776
|
-
"name": "output",
|
|
2689
|
+
"env": {
|
|
2690
|
+
"description": "Include environment variables",
|
|
2691
|
+
"name": "env",
|
|
2777
2692
|
"required": false,
|
|
2778
|
-
"
|
|
2779
|
-
"
|
|
2780
|
-
"multiple": false,
|
|
2781
|
-
"options": [
|
|
2782
|
-
"summary",
|
|
2783
|
-
"json"
|
|
2784
|
-
],
|
|
2785
|
-
"type": "option"
|
|
2693
|
+
"allowNo": false,
|
|
2694
|
+
"type": "boolean"
|
|
2786
2695
|
},
|
|
2787
|
-
"
|
|
2788
|
-
"description": "
|
|
2789
|
-
"name": "
|
|
2696
|
+
"records": {
|
|
2697
|
+
"description": "Include records",
|
|
2698
|
+
"name": "records",
|
|
2699
|
+
"required": false,
|
|
2700
|
+
"allowNo": false,
|
|
2701
|
+
"type": "boolean"
|
|
2702
|
+
},
|
|
2703
|
+
"release": {
|
|
2704
|
+
"char": "r",
|
|
2705
|
+
"description": "Release name to pull from",
|
|
2706
|
+
"name": "release",
|
|
2790
2707
|
"required": true,
|
|
2791
2708
|
"hasDynamicHelp": false,
|
|
2792
2709
|
"multiple": false,
|
|
@@ -2794,7 +2711,7 @@
|
|
|
2794
2711
|
},
|
|
2795
2712
|
"workspace": {
|
|
2796
2713
|
"char": "w",
|
|
2797
|
-
"description": "Workspace ID (
|
|
2714
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2798
2715
|
"name": "workspace",
|
|
2799
2716
|
"required": false,
|
|
2800
2717
|
"hasDynamicHelp": false,
|
|
@@ -2804,7 +2721,7 @@
|
|
|
2804
2721
|
},
|
|
2805
2722
|
"hasDynamicHelp": false,
|
|
2806
2723
|
"hiddenAliases": [],
|
|
2807
|
-
"id": "
|
|
2724
|
+
"id": "release:pull",
|
|
2808
2725
|
"pluginAlias": "@xano/cli",
|
|
2809
2726
|
"pluginName": "@xano/cli",
|
|
2810
2727
|
"pluginType": "core",
|
|
@@ -2814,25 +2731,24 @@
|
|
|
2814
2731
|
"relativePath": [
|
|
2815
2732
|
"dist",
|
|
2816
2733
|
"commands",
|
|
2817
|
-
"
|
|
2818
|
-
"
|
|
2734
|
+
"release",
|
|
2735
|
+
"pull",
|
|
2819
2736
|
"index.js"
|
|
2820
2737
|
]
|
|
2821
2738
|
},
|
|
2822
|
-
"tenant:
|
|
2739
|
+
"tenant:deploy_platform": {
|
|
2823
2740
|
"aliases": [],
|
|
2824
2741
|
"args": {
|
|
2825
2742
|
"tenant_name": {
|
|
2826
|
-
"description": "Tenant name to
|
|
2743
|
+
"description": "Tenant name to deploy to",
|
|
2827
2744
|
"name": "tenant_name",
|
|
2828
2745
|
"required": true
|
|
2829
2746
|
}
|
|
2830
2747
|
},
|
|
2831
|
-
"description": "
|
|
2748
|
+
"description": "Deploy a platform version to a tenant",
|
|
2832
2749
|
"examples": [
|
|
2833
|
-
"$ xano tenant
|
|
2834
|
-
"$ xano tenant
|
|
2835
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2750
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2751
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2836
2752
|
],
|
|
2837
2753
|
"flags": {
|
|
2838
2754
|
"profile": {
|
|
@@ -2854,14 +2770,6 @@
|
|
|
2854
2770
|
"allowNo": false,
|
|
2855
2771
|
"type": "boolean"
|
|
2856
2772
|
},
|
|
2857
|
-
"force": {
|
|
2858
|
-
"char": "f",
|
|
2859
|
-
"description": "Skip confirmation prompt",
|
|
2860
|
-
"name": "force",
|
|
2861
|
-
"required": false,
|
|
2862
|
-
"allowNo": false,
|
|
2863
|
-
"type": "boolean"
|
|
2864
|
-
},
|
|
2865
2773
|
"output": {
|
|
2866
2774
|
"char": "o",
|
|
2867
2775
|
"description": "Output format",
|
|
@@ -2876,6 +2784,14 @@
|
|
|
2876
2784
|
],
|
|
2877
2785
|
"type": "option"
|
|
2878
2786
|
},
|
|
2787
|
+
"platform_id": {
|
|
2788
|
+
"description": "Platform ID to deploy",
|
|
2789
|
+
"name": "platform_id",
|
|
2790
|
+
"required": true,
|
|
2791
|
+
"hasDynamicHelp": false,
|
|
2792
|
+
"multiple": false,
|
|
2793
|
+
"type": "option"
|
|
2794
|
+
},
|
|
2879
2795
|
"workspace": {
|
|
2880
2796
|
"char": "w",
|
|
2881
2797
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2888,7 +2804,7 @@
|
|
|
2888
2804
|
},
|
|
2889
2805
|
"hasDynamicHelp": false,
|
|
2890
2806
|
"hiddenAliases": [],
|
|
2891
|
-
"id": "tenant:
|
|
2807
|
+
"id": "tenant:deploy_platform",
|
|
2892
2808
|
"pluginAlias": "@xano/cli",
|
|
2893
2809
|
"pluginName": "@xano/cli",
|
|
2894
2810
|
"pluginType": "core",
|
|
@@ -2899,7 +2815,7 @@
|
|
|
2899
2815
|
"dist",
|
|
2900
2816
|
"commands",
|
|
2901
2817
|
"tenant",
|
|
2902
|
-
"
|
|
2818
|
+
"deploy_platform",
|
|
2903
2819
|
"index.js"
|
|
2904
2820
|
]
|
|
2905
2821
|
},
|
|
@@ -2987,19 +2903,20 @@
|
|
|
2987
2903
|
"index.js"
|
|
2988
2904
|
]
|
|
2989
2905
|
},
|
|
2990
|
-
"tenant:
|
|
2906
|
+
"tenant:delete": {
|
|
2991
2907
|
"aliases": [],
|
|
2992
2908
|
"args": {
|
|
2993
2909
|
"tenant_name": {
|
|
2994
|
-
"description": "Tenant name to
|
|
2910
|
+
"description": "Tenant name to delete",
|
|
2995
2911
|
"name": "tenant_name",
|
|
2996
2912
|
"required": true
|
|
2997
2913
|
}
|
|
2998
2914
|
},
|
|
2999
|
-
"description": "
|
|
2915
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
3000
2916
|
"examples": [
|
|
3001
|
-
"$ xano tenant
|
|
3002
|
-
"$ xano tenant
|
|
2917
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2918
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2919
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
3003
2920
|
],
|
|
3004
2921
|
"flags": {
|
|
3005
2922
|
"profile": {
|
|
@@ -3021,36 +2938,12 @@
|
|
|
3021
2938
|
"allowNo": false,
|
|
3022
2939
|
"type": "boolean"
|
|
3023
2940
|
},
|
|
3024
|
-
"
|
|
3025
|
-
"char": "
|
|
3026
|
-
"description": "
|
|
3027
|
-
"name": "
|
|
3028
|
-
"required": false,
|
|
3029
|
-
"hasDynamicHelp": false,
|
|
3030
|
-
"multiple": false,
|
|
3031
|
-
"type": "option"
|
|
3032
|
-
},
|
|
3033
|
-
"display": {
|
|
3034
|
-
"description": "New display name",
|
|
3035
|
-
"name": "display",
|
|
3036
|
-
"required": false,
|
|
3037
|
-
"hasDynamicHelp": false,
|
|
3038
|
-
"multiple": false,
|
|
3039
|
-
"type": "option"
|
|
3040
|
-
},
|
|
3041
|
-
"domain": {
|
|
3042
|
-
"description": "Custom domain",
|
|
3043
|
-
"name": "domain",
|
|
3044
|
-
"required": false,
|
|
3045
|
-
"hasDynamicHelp": false,
|
|
3046
|
-
"multiple": false,
|
|
3047
|
-
"type": "option"
|
|
3048
|
-
},
|
|
3049
|
-
"ingress": {
|
|
3050
|
-
"description": "Enable/disable ingress",
|
|
3051
|
-
"name": "ingress",
|
|
2941
|
+
"force": {
|
|
2942
|
+
"char": "f",
|
|
2943
|
+
"description": "Skip confirmation prompt",
|
|
2944
|
+
"name": "force",
|
|
3052
2945
|
"required": false,
|
|
3053
|
-
"allowNo":
|
|
2946
|
+
"allowNo": false,
|
|
3054
2947
|
"type": "boolean"
|
|
3055
2948
|
},
|
|
3056
2949
|
"output": {
|
|
@@ -3067,28 +2960,6 @@
|
|
|
3067
2960
|
],
|
|
3068
2961
|
"type": "option"
|
|
3069
2962
|
},
|
|
3070
|
-
"proxy": {
|
|
3071
|
-
"description": "Proxy URL",
|
|
3072
|
-
"name": "proxy",
|
|
3073
|
-
"required": false,
|
|
3074
|
-
"hasDynamicHelp": false,
|
|
3075
|
-
"multiple": false,
|
|
3076
|
-
"type": "option"
|
|
3077
|
-
},
|
|
3078
|
-
"rbac": {
|
|
3079
|
-
"description": "Enable/disable RBAC",
|
|
3080
|
-
"name": "rbac",
|
|
3081
|
-
"required": false,
|
|
3082
|
-
"allowNo": true,
|
|
3083
|
-
"type": "boolean"
|
|
3084
|
-
},
|
|
3085
|
-
"tasks": {
|
|
3086
|
-
"description": "Enable/disable background tasks",
|
|
3087
|
-
"name": "tasks",
|
|
3088
|
-
"required": false,
|
|
3089
|
-
"allowNo": true,
|
|
3090
|
-
"type": "boolean"
|
|
3091
|
-
},
|
|
3092
2963
|
"workspace": {
|
|
3093
2964
|
"char": "w",
|
|
3094
2965
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3101,7 +2972,7 @@
|
|
|
3101
2972
|
},
|
|
3102
2973
|
"hasDynamicHelp": false,
|
|
3103
2974
|
"hiddenAliases": [],
|
|
3104
|
-
"id": "tenant:
|
|
2975
|
+
"id": "tenant:delete",
|
|
3105
2976
|
"pluginAlias": "@xano/cli",
|
|
3106
2977
|
"pluginName": "@xano/cli",
|
|
3107
2978
|
"pluginType": "core",
|
|
@@ -3112,23 +2983,23 @@
|
|
|
3112
2983
|
"dist",
|
|
3113
2984
|
"commands",
|
|
3114
2985
|
"tenant",
|
|
3115
|
-
"
|
|
2986
|
+
"delete",
|
|
3116
2987
|
"index.js"
|
|
3117
2988
|
]
|
|
3118
2989
|
},
|
|
3119
|
-
"tenant:
|
|
2990
|
+
"tenant:impersonate": {
|
|
3120
2991
|
"aliases": [],
|
|
3121
2992
|
"args": {
|
|
3122
2993
|
"tenant_name": {
|
|
3123
|
-
"description": "Tenant name to
|
|
2994
|
+
"description": "Tenant name to impersonate",
|
|
3124
2995
|
"name": "tenant_name",
|
|
3125
2996
|
"required": true
|
|
3126
2997
|
}
|
|
3127
2998
|
},
|
|
3128
|
-
"description": "
|
|
2999
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3129
3000
|
"examples": [
|
|
3130
|
-
"$ xano tenant
|
|
3131
|
-
"$ xano tenant
|
|
3001
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3002
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3132
3003
|
],
|
|
3133
3004
|
"flags": {
|
|
3134
3005
|
"profile": {
|
|
@@ -3164,6 +3035,14 @@
|
|
|
3164
3035
|
],
|
|
3165
3036
|
"type": "option"
|
|
3166
3037
|
},
|
|
3038
|
+
"url-only": {
|
|
3039
|
+
"char": "u",
|
|
3040
|
+
"description": "Print the URL without opening the browser",
|
|
3041
|
+
"name": "url-only",
|
|
3042
|
+
"required": false,
|
|
3043
|
+
"allowNo": false,
|
|
3044
|
+
"type": "boolean"
|
|
3045
|
+
},
|
|
3167
3046
|
"workspace": {
|
|
3168
3047
|
"char": "w",
|
|
3169
3048
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3176,7 +3055,7 @@
|
|
|
3176
3055
|
},
|
|
3177
3056
|
"hasDynamicHelp": false,
|
|
3178
3057
|
"hiddenAliases": [],
|
|
3179
|
-
"id": "tenant:
|
|
3058
|
+
"id": "tenant:impersonate",
|
|
3180
3059
|
"pluginAlias": "@xano/cli",
|
|
3181
3060
|
"pluginName": "@xano/cli",
|
|
3182
3061
|
"pluginType": "core",
|
|
@@ -3187,23 +3066,23 @@
|
|
|
3187
3066
|
"dist",
|
|
3188
3067
|
"commands",
|
|
3189
3068
|
"tenant",
|
|
3190
|
-
"
|
|
3069
|
+
"impersonate",
|
|
3191
3070
|
"index.js"
|
|
3192
3071
|
]
|
|
3193
3072
|
},
|
|
3194
|
-
"tenant:
|
|
3073
|
+
"tenant:get": {
|
|
3195
3074
|
"aliases": [],
|
|
3196
3075
|
"args": {
|
|
3197
3076
|
"tenant_name": {
|
|
3198
|
-
"description": "Tenant name to
|
|
3077
|
+
"description": "Tenant name to retrieve",
|
|
3199
3078
|
"name": "tenant_name",
|
|
3200
3079
|
"required": true
|
|
3201
3080
|
}
|
|
3202
3081
|
},
|
|
3203
|
-
"description": "
|
|
3082
|
+
"description": "Get details of a specific tenant",
|
|
3204
3083
|
"examples": [
|
|
3205
|
-
"$ xano tenant
|
|
3206
|
-
"$ xano tenant
|
|
3084
|
+
"$ 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",
|
|
3085
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3207
3086
|
],
|
|
3208
3087
|
"flags": {
|
|
3209
3088
|
"profile": {
|
|
@@ -3239,14 +3118,135 @@
|
|
|
3239
3118
|
],
|
|
3240
3119
|
"type": "option"
|
|
3241
3120
|
},
|
|
3242
|
-
"
|
|
3243
|
-
"char": "
|
|
3244
|
-
"description": "
|
|
3245
|
-
"name": "
|
|
3121
|
+
"workspace": {
|
|
3122
|
+
"char": "w",
|
|
3123
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3124
|
+
"name": "workspace",
|
|
3125
|
+
"required": false,
|
|
3126
|
+
"hasDynamicHelp": false,
|
|
3127
|
+
"multiple": false,
|
|
3128
|
+
"type": "option"
|
|
3129
|
+
}
|
|
3130
|
+
},
|
|
3131
|
+
"hasDynamicHelp": false,
|
|
3132
|
+
"hiddenAliases": [],
|
|
3133
|
+
"id": "tenant:get",
|
|
3134
|
+
"pluginAlias": "@xano/cli",
|
|
3135
|
+
"pluginName": "@xano/cli",
|
|
3136
|
+
"pluginType": "core",
|
|
3137
|
+
"strict": true,
|
|
3138
|
+
"enableJsonFlag": false,
|
|
3139
|
+
"isESM": true,
|
|
3140
|
+
"relativePath": [
|
|
3141
|
+
"dist",
|
|
3142
|
+
"commands",
|
|
3143
|
+
"tenant",
|
|
3144
|
+
"get",
|
|
3145
|
+
"index.js"
|
|
3146
|
+
]
|
|
3147
|
+
},
|
|
3148
|
+
"tenant:edit": {
|
|
3149
|
+
"aliases": [],
|
|
3150
|
+
"args": {
|
|
3151
|
+
"tenant_name": {
|
|
3152
|
+
"description": "Tenant name to edit",
|
|
3153
|
+
"name": "tenant_name",
|
|
3154
|
+
"required": true
|
|
3155
|
+
}
|
|
3156
|
+
},
|
|
3157
|
+
"description": "Edit an existing tenant",
|
|
3158
|
+
"examples": [
|
|
3159
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3160
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3161
|
+
],
|
|
3162
|
+
"flags": {
|
|
3163
|
+
"profile": {
|
|
3164
|
+
"char": "p",
|
|
3165
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3166
|
+
"env": "XANO_PROFILE",
|
|
3167
|
+
"name": "profile",
|
|
3168
|
+
"required": false,
|
|
3169
|
+
"hasDynamicHelp": false,
|
|
3170
|
+
"multiple": false,
|
|
3171
|
+
"type": "option"
|
|
3172
|
+
},
|
|
3173
|
+
"verbose": {
|
|
3174
|
+
"char": "v",
|
|
3175
|
+
"description": "Show detailed request/response information",
|
|
3176
|
+
"env": "XANO_VERBOSE",
|
|
3177
|
+
"name": "verbose",
|
|
3246
3178
|
"required": false,
|
|
3247
3179
|
"allowNo": false,
|
|
3248
3180
|
"type": "boolean"
|
|
3249
3181
|
},
|
|
3182
|
+
"description": {
|
|
3183
|
+
"char": "d",
|
|
3184
|
+
"description": "New description",
|
|
3185
|
+
"name": "description",
|
|
3186
|
+
"required": false,
|
|
3187
|
+
"hasDynamicHelp": false,
|
|
3188
|
+
"multiple": false,
|
|
3189
|
+
"type": "option"
|
|
3190
|
+
},
|
|
3191
|
+
"display": {
|
|
3192
|
+
"description": "New display name",
|
|
3193
|
+
"name": "display",
|
|
3194
|
+
"required": false,
|
|
3195
|
+
"hasDynamicHelp": false,
|
|
3196
|
+
"multiple": false,
|
|
3197
|
+
"type": "option"
|
|
3198
|
+
},
|
|
3199
|
+
"domain": {
|
|
3200
|
+
"description": "Custom domain",
|
|
3201
|
+
"name": "domain",
|
|
3202
|
+
"required": false,
|
|
3203
|
+
"hasDynamicHelp": false,
|
|
3204
|
+
"multiple": false,
|
|
3205
|
+
"type": "option"
|
|
3206
|
+
},
|
|
3207
|
+
"ingress": {
|
|
3208
|
+
"description": "Enable/disable ingress",
|
|
3209
|
+
"name": "ingress",
|
|
3210
|
+
"required": false,
|
|
3211
|
+
"allowNo": true,
|
|
3212
|
+
"type": "boolean"
|
|
3213
|
+
},
|
|
3214
|
+
"output": {
|
|
3215
|
+
"char": "o",
|
|
3216
|
+
"description": "Output format",
|
|
3217
|
+
"name": "output",
|
|
3218
|
+
"required": false,
|
|
3219
|
+
"default": "summary",
|
|
3220
|
+
"hasDynamicHelp": false,
|
|
3221
|
+
"multiple": false,
|
|
3222
|
+
"options": [
|
|
3223
|
+
"summary",
|
|
3224
|
+
"json"
|
|
3225
|
+
],
|
|
3226
|
+
"type": "option"
|
|
3227
|
+
},
|
|
3228
|
+
"proxy": {
|
|
3229
|
+
"description": "Proxy URL",
|
|
3230
|
+
"name": "proxy",
|
|
3231
|
+
"required": false,
|
|
3232
|
+
"hasDynamicHelp": false,
|
|
3233
|
+
"multiple": false,
|
|
3234
|
+
"type": "option"
|
|
3235
|
+
},
|
|
3236
|
+
"rbac": {
|
|
3237
|
+
"description": "Enable/disable RBAC",
|
|
3238
|
+
"name": "rbac",
|
|
3239
|
+
"required": false,
|
|
3240
|
+
"allowNo": true,
|
|
3241
|
+
"type": "boolean"
|
|
3242
|
+
},
|
|
3243
|
+
"tasks": {
|
|
3244
|
+
"description": "Enable/disable background tasks",
|
|
3245
|
+
"name": "tasks",
|
|
3246
|
+
"required": false,
|
|
3247
|
+
"allowNo": true,
|
|
3248
|
+
"type": "boolean"
|
|
3249
|
+
},
|
|
3250
3250
|
"workspace": {
|
|
3251
3251
|
"char": "w",
|
|
3252
3252
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3259,7 +3259,7 @@
|
|
|
3259
3259
|
},
|
|
3260
3260
|
"hasDynamicHelp": false,
|
|
3261
3261
|
"hiddenAliases": [],
|
|
3262
|
-
"id": "tenant:
|
|
3262
|
+
"id": "tenant:edit",
|
|
3263
3263
|
"pluginAlias": "@xano/cli",
|
|
3264
3264
|
"pluginName": "@xano/cli",
|
|
3265
3265
|
"pluginType": "core",
|
|
@@ -3270,7 +3270,7 @@
|
|
|
3270
3270
|
"dist",
|
|
3271
3271
|
"commands",
|
|
3272
3272
|
"tenant",
|
|
3273
|
-
"
|
|
3273
|
+
"edit",
|
|
3274
3274
|
"index.js"
|
|
3275
3275
|
]
|
|
3276
3276
|
},
|
|
@@ -3436,23 +3436,19 @@
|
|
|
3436
3436
|
"index.js"
|
|
3437
3437
|
]
|
|
3438
3438
|
},
|
|
3439
|
-
"
|
|
3439
|
+
"unit_test:run": {
|
|
3440
3440
|
"aliases": [],
|
|
3441
3441
|
"args": {
|
|
3442
|
-
"
|
|
3443
|
-
"description": "
|
|
3444
|
-
"name": "
|
|
3442
|
+
"unit_test_id": {
|
|
3443
|
+
"description": "ID of the unit test to run",
|
|
3444
|
+
"name": "unit_test_id",
|
|
3445
3445
|
"required": true
|
|
3446
3446
|
}
|
|
3447
3447
|
},
|
|
3448
|
-
"description": "
|
|
3448
|
+
"description": "Run a unit test",
|
|
3449
3449
|
"examples": [
|
|
3450
|
-
"$ xano
|
|
3451
|
-
"$ xano
|
|
3452
|
-
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3453
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3454
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3455
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3450
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3451
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3456
3452
|
],
|
|
3457
3453
|
"flags": {
|
|
3458
3454
|
"profile": {
|
|
@@ -3474,39 +3470,23 @@
|
|
|
3474
3470
|
"allowNo": false,
|
|
3475
3471
|
"type": "boolean"
|
|
3476
3472
|
},
|
|
3477
|
-
"
|
|
3478
|
-
"
|
|
3479
|
-
"
|
|
3480
|
-
"
|
|
3481
|
-
"allowNo": true,
|
|
3482
|
-
"type": "boolean"
|
|
3483
|
-
},
|
|
3484
|
-
"records": {
|
|
3485
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3486
|
-
"name": "records",
|
|
3473
|
+
"output": {
|
|
3474
|
+
"char": "o",
|
|
3475
|
+
"description": "Output format",
|
|
3476
|
+
"name": "output",
|
|
3487
3477
|
"required": false,
|
|
3488
|
-
"
|
|
3489
|
-
"type": "boolean"
|
|
3490
|
-
},
|
|
3491
|
-
"tenant": {
|
|
3492
|
-
"char": "t",
|
|
3493
|
-
"description": "Tenant name to push to",
|
|
3494
|
-
"name": "tenant",
|
|
3495
|
-
"required": true,
|
|
3478
|
+
"default": "summary",
|
|
3496
3479
|
"hasDynamicHelp": false,
|
|
3497
3480
|
"multiple": false,
|
|
3481
|
+
"options": [
|
|
3482
|
+
"summary",
|
|
3483
|
+
"json"
|
|
3484
|
+
],
|
|
3498
3485
|
"type": "option"
|
|
3499
3486
|
},
|
|
3500
|
-
"truncate": {
|
|
3501
|
-
"description": "Truncate all table records before importing",
|
|
3502
|
-
"name": "truncate",
|
|
3503
|
-
"required": false,
|
|
3504
|
-
"allowNo": false,
|
|
3505
|
-
"type": "boolean"
|
|
3506
|
-
},
|
|
3507
3487
|
"workspace": {
|
|
3508
3488
|
"char": "w",
|
|
3509
|
-
"description": "Workspace ID (
|
|
3489
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3510
3490
|
"name": "workspace",
|
|
3511
3491
|
"required": false,
|
|
3512
3492
|
"hasDynamicHelp": false,
|
|
@@ -3516,7 +3496,7 @@
|
|
|
3516
3496
|
},
|
|
3517
3497
|
"hasDynamicHelp": false,
|
|
3518
3498
|
"hiddenAliases": [],
|
|
3519
|
-
"id": "
|
|
3499
|
+
"id": "unit_test:run",
|
|
3520
3500
|
"pluginAlias": "@xano/cli",
|
|
3521
3501
|
"pluginName": "@xano/cli",
|
|
3522
3502
|
"pluginType": "core",
|
|
@@ -3526,8 +3506,8 @@
|
|
|
3526
3506
|
"relativePath": [
|
|
3527
3507
|
"dist",
|
|
3528
3508
|
"commands",
|
|
3529
|
-
"
|
|
3530
|
-
"
|
|
3509
|
+
"unit_test",
|
|
3510
|
+
"run",
|
|
3531
3511
|
"index.js"
|
|
3532
3512
|
]
|
|
3533
3513
|
},
|
|
@@ -3623,19 +3603,13 @@
|
|
|
3623
3603
|
"index.js"
|
|
3624
3604
|
]
|
|
3625
3605
|
},
|
|
3626
|
-
"unit_test:
|
|
3606
|
+
"unit_test:run_all": {
|
|
3627
3607
|
"aliases": [],
|
|
3628
|
-
"args": {
|
|
3629
|
-
|
|
3630
|
-
"description": "ID of the unit test to run",
|
|
3631
|
-
"name": "unit_test_id",
|
|
3632
|
-
"required": true
|
|
3633
|
-
}
|
|
3634
|
-
},
|
|
3635
|
-
"description": "Run a unit test",
|
|
3608
|
+
"args": {},
|
|
3609
|
+
"description": "Run all unit tests in a workspace",
|
|
3636
3610
|
"examples": [
|
|
3637
|
-
"$ xano unit-test run
|
|
3638
|
-
"$ xano unit-test run
|
|
3611
|
+
"$ 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",
|
|
3612
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3639
3613
|
],
|
|
3640
3614
|
"flags": {
|
|
3641
3615
|
"profile": {
|
|
@@ -3657,6 +3631,28 @@
|
|
|
3657
3631
|
"allowNo": false,
|
|
3658
3632
|
"type": "boolean"
|
|
3659
3633
|
},
|
|
3634
|
+
"branch": {
|
|
3635
|
+
"char": "b",
|
|
3636
|
+
"description": "Filter by branch name",
|
|
3637
|
+
"name": "branch",
|
|
3638
|
+
"required": false,
|
|
3639
|
+
"hasDynamicHelp": false,
|
|
3640
|
+
"multiple": false,
|
|
3641
|
+
"type": "option"
|
|
3642
|
+
},
|
|
3643
|
+
"obj-type": {
|
|
3644
|
+
"description": "Filter by object type",
|
|
3645
|
+
"name": "obj-type",
|
|
3646
|
+
"required": false,
|
|
3647
|
+
"hasDynamicHelp": false,
|
|
3648
|
+
"multiple": false,
|
|
3649
|
+
"options": [
|
|
3650
|
+
"function",
|
|
3651
|
+
"query",
|
|
3652
|
+
"middleware"
|
|
3653
|
+
],
|
|
3654
|
+
"type": "option"
|
|
3655
|
+
},
|
|
3660
3656
|
"output": {
|
|
3661
3657
|
"char": "o",
|
|
3662
3658
|
"description": "Output format",
|
|
@@ -3683,7 +3679,7 @@
|
|
|
3683
3679
|
},
|
|
3684
3680
|
"hasDynamicHelp": false,
|
|
3685
3681
|
"hiddenAliases": [],
|
|
3686
|
-
"id": "unit_test:
|
|
3682
|
+
"id": "unit_test:run_all",
|
|
3687
3683
|
"pluginAlias": "@xano/cli",
|
|
3688
3684
|
"pluginName": "@xano/cli",
|
|
3689
3685
|
"pluginType": "core",
|
|
@@ -3694,17 +3690,23 @@
|
|
|
3694
3690
|
"dist",
|
|
3695
3691
|
"commands",
|
|
3696
3692
|
"unit_test",
|
|
3697
|
-
"
|
|
3693
|
+
"run_all",
|
|
3698
3694
|
"index.js"
|
|
3699
3695
|
]
|
|
3700
3696
|
},
|
|
3701
|
-
"
|
|
3697
|
+
"workflow_test:delete": {
|
|
3702
3698
|
"aliases": [],
|
|
3703
|
-
"args": {
|
|
3704
|
-
|
|
3699
|
+
"args": {
|
|
3700
|
+
"workflow_test_id": {
|
|
3701
|
+
"description": "ID of the workflow test to delete",
|
|
3702
|
+
"name": "workflow_test_id",
|
|
3703
|
+
"required": true
|
|
3704
|
+
}
|
|
3705
|
+
},
|
|
3706
|
+
"description": "Delete a workflow test",
|
|
3705
3707
|
"examples": [
|
|
3706
|
-
"$ xano
|
|
3707
|
-
"$ xano
|
|
3708
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3709
|
+
"$ xano workflow-test delete 1 --force"
|
|
3708
3710
|
],
|
|
3709
3711
|
"flags": {
|
|
3710
3712
|
"profile": {
|
|
@@ -3726,27 +3728,13 @@
|
|
|
3726
3728
|
"allowNo": false,
|
|
3727
3729
|
"type": "boolean"
|
|
3728
3730
|
},
|
|
3729
|
-
"
|
|
3730
|
-
"char": "
|
|
3731
|
-
"description": "
|
|
3732
|
-
"name": "
|
|
3731
|
+
"force": {
|
|
3732
|
+
"char": "f",
|
|
3733
|
+
"description": "Skip confirmation prompt",
|
|
3734
|
+
"name": "force",
|
|
3733
3735
|
"required": false,
|
|
3734
|
-
"
|
|
3735
|
-
"
|
|
3736
|
-
"type": "option"
|
|
3737
|
-
},
|
|
3738
|
-
"obj-type": {
|
|
3739
|
-
"description": "Filter by object type",
|
|
3740
|
-
"name": "obj-type",
|
|
3741
|
-
"required": false,
|
|
3742
|
-
"hasDynamicHelp": false,
|
|
3743
|
-
"multiple": false,
|
|
3744
|
-
"options": [
|
|
3745
|
-
"function",
|
|
3746
|
-
"query",
|
|
3747
|
-
"middleware"
|
|
3748
|
-
],
|
|
3749
|
-
"type": "option"
|
|
3736
|
+
"allowNo": false,
|
|
3737
|
+
"type": "boolean"
|
|
3750
3738
|
},
|
|
3751
3739
|
"output": {
|
|
3752
3740
|
"char": "o",
|
|
@@ -3774,7 +3762,7 @@
|
|
|
3774
3762
|
},
|
|
3775
3763
|
"hasDynamicHelp": false,
|
|
3776
3764
|
"hiddenAliases": [],
|
|
3777
|
-
"id": "
|
|
3765
|
+
"id": "workflow_test:delete",
|
|
3778
3766
|
"pluginAlias": "@xano/cli",
|
|
3779
3767
|
"pluginName": "@xano/cli",
|
|
3780
3768
|
"pluginType": "core",
|
|
@@ -3784,8 +3772,8 @@
|
|
|
3784
3772
|
"relativePath": [
|
|
3785
3773
|
"dist",
|
|
3786
3774
|
"commands",
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3775
|
+
"workflow_test",
|
|
3776
|
+
"delete",
|
|
3789
3777
|
"index.js"
|
|
3790
3778
|
]
|
|
3791
3779
|
},
|
|
@@ -3873,19 +3861,14 @@
|
|
|
3873
3861
|
"index.js"
|
|
3874
3862
|
]
|
|
3875
3863
|
},
|
|
3876
|
-
"workflow_test:
|
|
3864
|
+
"workflow_test:list": {
|
|
3877
3865
|
"aliases": [],
|
|
3878
|
-
"args": {
|
|
3879
|
-
|
|
3880
|
-
"description": "ID of the workflow test to delete",
|
|
3881
|
-
"name": "workflow_test_id",
|
|
3882
|
-
"required": true
|
|
3883
|
-
}
|
|
3884
|
-
},
|
|
3885
|
-
"description": "Delete a workflow test",
|
|
3866
|
+
"args": {},
|
|
3867
|
+
"description": "List all workflow tests in a workspace",
|
|
3886
3868
|
"examples": [
|
|
3887
|
-
"$ xano workflow-test
|
|
3888
|
-
"$ xano workflow-test
|
|
3869
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3870
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3871
|
+
"$ xano workflow-test list --branch main"
|
|
3889
3872
|
],
|
|
3890
3873
|
"flags": {
|
|
3891
3874
|
"profile": {
|
|
@@ -3907,13 +3890,14 @@
|
|
|
3907
3890
|
"allowNo": false,
|
|
3908
3891
|
"type": "boolean"
|
|
3909
3892
|
},
|
|
3910
|
-
"
|
|
3911
|
-
"char": "
|
|
3912
|
-
"description": "
|
|
3913
|
-
"name": "
|
|
3893
|
+
"branch": {
|
|
3894
|
+
"char": "b",
|
|
3895
|
+
"description": "Filter by branch name",
|
|
3896
|
+
"name": "branch",
|
|
3914
3897
|
"required": false,
|
|
3915
|
-
"
|
|
3916
|
-
"
|
|
3898
|
+
"hasDynamicHelp": false,
|
|
3899
|
+
"multiple": false,
|
|
3900
|
+
"type": "option"
|
|
3917
3901
|
},
|
|
3918
3902
|
"output": {
|
|
3919
3903
|
"char": "o",
|
|
@@ -3941,7 +3925,7 @@
|
|
|
3941
3925
|
},
|
|
3942
3926
|
"hasDynamicHelp": false,
|
|
3943
3927
|
"hiddenAliases": [],
|
|
3944
|
-
"id": "workflow_test:
|
|
3928
|
+
"id": "workflow_test:list",
|
|
3945
3929
|
"pluginAlias": "@xano/cli",
|
|
3946
3930
|
"pluginName": "@xano/cli",
|
|
3947
3931
|
"pluginType": "core",
|
|
@@ -3952,18 +3936,27 @@
|
|
|
3952
3936
|
"dist",
|
|
3953
3937
|
"commands",
|
|
3954
3938
|
"workflow_test",
|
|
3955
|
-
"
|
|
3939
|
+
"list",
|
|
3956
3940
|
"index.js"
|
|
3957
3941
|
]
|
|
3958
3942
|
},
|
|
3959
|
-
"
|
|
3943
|
+
"tenant:push": {
|
|
3960
3944
|
"aliases": [],
|
|
3961
|
-
"args": {
|
|
3962
|
-
|
|
3945
|
+
"args": {
|
|
3946
|
+
"directory": {
|
|
3947
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3948
|
+
"name": "directory",
|
|
3949
|
+
"required": true
|
|
3950
|
+
}
|
|
3951
|
+
},
|
|
3952
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3963
3953
|
"examples": [
|
|
3964
|
-
"$ xano
|
|
3965
|
-
"$ xano
|
|
3966
|
-
"$ xano
|
|
3954
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3955
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3956
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3957
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3958
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3959
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3967
3960
|
],
|
|
3968
3961
|
"flags": {
|
|
3969
3962
|
"profile": {
|
|
@@ -3985,15 +3978,97 @@
|
|
|
3985
3978
|
"allowNo": false,
|
|
3986
3979
|
"type": "boolean"
|
|
3987
3980
|
},
|
|
3988
|
-
"
|
|
3989
|
-
"
|
|
3990
|
-
"
|
|
3991
|
-
"
|
|
3981
|
+
"env": {
|
|
3982
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3983
|
+
"name": "env",
|
|
3984
|
+
"required": false,
|
|
3985
|
+
"allowNo": true,
|
|
3986
|
+
"type": "boolean"
|
|
3987
|
+
},
|
|
3988
|
+
"records": {
|
|
3989
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3990
|
+
"name": "records",
|
|
3991
|
+
"required": false,
|
|
3992
|
+
"allowNo": true,
|
|
3993
|
+
"type": "boolean"
|
|
3994
|
+
},
|
|
3995
|
+
"tenant": {
|
|
3996
|
+
"char": "t",
|
|
3997
|
+
"description": "Tenant name to push to",
|
|
3998
|
+
"name": "tenant",
|
|
3999
|
+
"required": true,
|
|
4000
|
+
"hasDynamicHelp": false,
|
|
4001
|
+
"multiple": false,
|
|
4002
|
+
"type": "option"
|
|
4003
|
+
},
|
|
4004
|
+
"truncate": {
|
|
4005
|
+
"description": "Truncate all table records before importing",
|
|
4006
|
+
"name": "truncate",
|
|
4007
|
+
"required": false,
|
|
4008
|
+
"allowNo": false,
|
|
4009
|
+
"type": "boolean"
|
|
4010
|
+
},
|
|
4011
|
+
"workspace": {
|
|
4012
|
+
"char": "w",
|
|
4013
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4014
|
+
"name": "workspace",
|
|
4015
|
+
"required": false,
|
|
4016
|
+
"hasDynamicHelp": false,
|
|
4017
|
+
"multiple": false,
|
|
4018
|
+
"type": "option"
|
|
4019
|
+
}
|
|
4020
|
+
},
|
|
4021
|
+
"hasDynamicHelp": false,
|
|
4022
|
+
"hiddenAliases": [],
|
|
4023
|
+
"id": "tenant:push",
|
|
4024
|
+
"pluginAlias": "@xano/cli",
|
|
4025
|
+
"pluginName": "@xano/cli",
|
|
4026
|
+
"pluginType": "core",
|
|
4027
|
+
"strict": true,
|
|
4028
|
+
"enableJsonFlag": false,
|
|
4029
|
+
"isESM": true,
|
|
4030
|
+
"relativePath": [
|
|
4031
|
+
"dist",
|
|
4032
|
+
"commands",
|
|
4033
|
+
"tenant",
|
|
4034
|
+
"push",
|
|
4035
|
+
"index.js"
|
|
4036
|
+
]
|
|
4037
|
+
},
|
|
4038
|
+
"workflow_test:run": {
|
|
4039
|
+
"aliases": [],
|
|
4040
|
+
"args": {
|
|
4041
|
+
"workflow_test_id": {
|
|
4042
|
+
"description": "ID of the workflow test to run",
|
|
4043
|
+
"name": "workflow_test_id",
|
|
4044
|
+
"required": true
|
|
4045
|
+
}
|
|
4046
|
+
},
|
|
4047
|
+
"description": "Run a workflow test",
|
|
4048
|
+
"examples": [
|
|
4049
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4050
|
+
"$ xano workflow-test run 1 -o json"
|
|
4051
|
+
],
|
|
4052
|
+
"flags": {
|
|
4053
|
+
"profile": {
|
|
4054
|
+
"char": "p",
|
|
4055
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4056
|
+
"env": "XANO_PROFILE",
|
|
4057
|
+
"name": "profile",
|
|
3992
4058
|
"required": false,
|
|
3993
4059
|
"hasDynamicHelp": false,
|
|
3994
4060
|
"multiple": false,
|
|
3995
4061
|
"type": "option"
|
|
3996
4062
|
},
|
|
4063
|
+
"verbose": {
|
|
4064
|
+
"char": "v",
|
|
4065
|
+
"description": "Show detailed request/response information",
|
|
4066
|
+
"env": "XANO_VERBOSE",
|
|
4067
|
+
"name": "verbose",
|
|
4068
|
+
"required": false,
|
|
4069
|
+
"allowNo": false,
|
|
4070
|
+
"type": "boolean"
|
|
4071
|
+
},
|
|
3997
4072
|
"output": {
|
|
3998
4073
|
"char": "o",
|
|
3999
4074
|
"description": "Output format",
|
|
@@ -4020,7 +4095,7 @@
|
|
|
4020
4095
|
},
|
|
4021
4096
|
"hasDynamicHelp": false,
|
|
4022
4097
|
"hiddenAliases": [],
|
|
4023
|
-
"id": "workflow_test:
|
|
4098
|
+
"id": "workflow_test:run",
|
|
4024
4099
|
"pluginAlias": "@xano/cli",
|
|
4025
4100
|
"pluginName": "@xano/cli",
|
|
4026
4101
|
"pluginType": "core",
|
|
@@ -4031,7 +4106,7 @@
|
|
|
4031
4106
|
"dist",
|
|
4032
4107
|
"commands",
|
|
4033
4108
|
"workflow_test",
|
|
4034
|
-
"
|
|
4109
|
+
"run",
|
|
4035
4110
|
"index.js"
|
|
4036
4111
|
]
|
|
4037
4112
|
},
|
|
@@ -4493,81 +4568,6 @@
|
|
|
4493
4568
|
"index.js"
|
|
4494
4569
|
]
|
|
4495
4570
|
},
|
|
4496
|
-
"workflow_test:run": {
|
|
4497
|
-
"aliases": [],
|
|
4498
|
-
"args": {
|
|
4499
|
-
"workflow_test_id": {
|
|
4500
|
-
"description": "ID of the workflow test to run",
|
|
4501
|
-
"name": "workflow_test_id",
|
|
4502
|
-
"required": true
|
|
4503
|
-
}
|
|
4504
|
-
},
|
|
4505
|
-
"description": "Run a workflow test",
|
|
4506
|
-
"examples": [
|
|
4507
|
-
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4508
|
-
"$ xano workflow-test run 1 -o json"
|
|
4509
|
-
],
|
|
4510
|
-
"flags": {
|
|
4511
|
-
"profile": {
|
|
4512
|
-
"char": "p",
|
|
4513
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4514
|
-
"env": "XANO_PROFILE",
|
|
4515
|
-
"name": "profile",
|
|
4516
|
-
"required": false,
|
|
4517
|
-
"hasDynamicHelp": false,
|
|
4518
|
-
"multiple": false,
|
|
4519
|
-
"type": "option"
|
|
4520
|
-
},
|
|
4521
|
-
"verbose": {
|
|
4522
|
-
"char": "v",
|
|
4523
|
-
"description": "Show detailed request/response information",
|
|
4524
|
-
"env": "XANO_VERBOSE",
|
|
4525
|
-
"name": "verbose",
|
|
4526
|
-
"required": false,
|
|
4527
|
-
"allowNo": false,
|
|
4528
|
-
"type": "boolean"
|
|
4529
|
-
},
|
|
4530
|
-
"output": {
|
|
4531
|
-
"char": "o",
|
|
4532
|
-
"description": "Output format",
|
|
4533
|
-
"name": "output",
|
|
4534
|
-
"required": false,
|
|
4535
|
-
"default": "summary",
|
|
4536
|
-
"hasDynamicHelp": false,
|
|
4537
|
-
"multiple": false,
|
|
4538
|
-
"options": [
|
|
4539
|
-
"summary",
|
|
4540
|
-
"json"
|
|
4541
|
-
],
|
|
4542
|
-
"type": "option"
|
|
4543
|
-
},
|
|
4544
|
-
"workspace": {
|
|
4545
|
-
"char": "w",
|
|
4546
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4547
|
-
"name": "workspace",
|
|
4548
|
-
"required": false,
|
|
4549
|
-
"hasDynamicHelp": false,
|
|
4550
|
-
"multiple": false,
|
|
4551
|
-
"type": "option"
|
|
4552
|
-
}
|
|
4553
|
-
},
|
|
4554
|
-
"hasDynamicHelp": false,
|
|
4555
|
-
"hiddenAliases": [],
|
|
4556
|
-
"id": "workflow_test:run",
|
|
4557
|
-
"pluginAlias": "@xano/cli",
|
|
4558
|
-
"pluginName": "@xano/cli",
|
|
4559
|
-
"pluginType": "core",
|
|
4560
|
-
"strict": true,
|
|
4561
|
-
"enableJsonFlag": false,
|
|
4562
|
-
"isESM": true,
|
|
4563
|
-
"relativePath": [
|
|
4564
|
-
"dist",
|
|
4565
|
-
"commands",
|
|
4566
|
-
"workflow_test",
|
|
4567
|
-
"run",
|
|
4568
|
-
"index.js"
|
|
4569
|
-
]
|
|
4570
|
-
},
|
|
4571
4571
|
"workspace:pull": {
|
|
4572
4572
|
"aliases": [],
|
|
4573
4573
|
"args": {
|
|
@@ -4714,17 +4714,17 @@
|
|
|
4714
4714
|
"type": "option"
|
|
4715
4715
|
},
|
|
4716
4716
|
"delete": {
|
|
4717
|
-
"description": "Delete workspace objects not included in the push
|
|
4717
|
+
"description": "Delete workspace objects not included in the push",
|
|
4718
4718
|
"name": "delete",
|
|
4719
4719
|
"required": false,
|
|
4720
|
-
"allowNo":
|
|
4720
|
+
"allowNo": false,
|
|
4721
4721
|
"type": "boolean"
|
|
4722
4722
|
},
|
|
4723
4723
|
"env": {
|
|
4724
|
-
"description": "Include environment variables in import
|
|
4724
|
+
"description": "Include environment variables in import",
|
|
4725
4725
|
"name": "env",
|
|
4726
4726
|
"required": false,
|
|
4727
|
-
"allowNo":
|
|
4727
|
+
"allowNo": false,
|
|
4728
4728
|
"type": "boolean"
|
|
4729
4729
|
},
|
|
4730
4730
|
"partial": {
|
|
@@ -4735,10 +4735,10 @@
|
|
|
4735
4735
|
"type": "boolean"
|
|
4736
4736
|
},
|
|
4737
4737
|
"records": {
|
|
4738
|
-
"description": "Include records in import
|
|
4738
|
+
"description": "Include records in import",
|
|
4739
4739
|
"name": "records",
|
|
4740
4740
|
"required": false,
|
|
4741
|
-
"allowNo":
|
|
4741
|
+
"allowNo": false,
|
|
4742
4742
|
"type": "boolean"
|
|
4743
4743
|
},
|
|
4744
4744
|
"sync-guids": {
|
|
@@ -4836,21 +4836,26 @@
|
|
|
4836
4836
|
"index.js"
|
|
4837
4837
|
]
|
|
4838
4838
|
},
|
|
4839
|
-
"static_host:build:
|
|
4839
|
+
"static_host:build:get": {
|
|
4840
4840
|
"aliases": [],
|
|
4841
4841
|
"args": {
|
|
4842
|
+
"build_id": {
|
|
4843
|
+
"description": "Build ID",
|
|
4844
|
+
"name": "build_id",
|
|
4845
|
+
"required": true
|
|
4846
|
+
},
|
|
4842
4847
|
"static_host": {
|
|
4843
4848
|
"description": "Static Host name",
|
|
4844
4849
|
"name": "static_host",
|
|
4845
4850
|
"required": true
|
|
4846
4851
|
}
|
|
4847
4852
|
},
|
|
4848
|
-
"description": "
|
|
4853
|
+
"description": "Get details of a specific build for a static host",
|
|
4849
4854
|
"examples": [
|
|
4850
|
-
"$ xano static_host:build:
|
|
4851
|
-
"$ xano static_host:build:
|
|
4852
|
-
"$ xano static_host:build:
|
|
4853
|
-
"$ xano static_host:build:
|
|
4855
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4856
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4857
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4858
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4854
4859
|
],
|
|
4855
4860
|
"flags": {
|
|
4856
4861
|
"profile": {
|
|
@@ -4886,24 +4891,6 @@
|
|
|
4886
4891
|
],
|
|
4887
4892
|
"type": "option"
|
|
4888
4893
|
},
|
|
4889
|
-
"page": {
|
|
4890
|
-
"description": "Page number for pagination",
|
|
4891
|
-
"name": "page",
|
|
4892
|
-
"required": false,
|
|
4893
|
-
"default": 1,
|
|
4894
|
-
"hasDynamicHelp": false,
|
|
4895
|
-
"multiple": false,
|
|
4896
|
-
"type": "option"
|
|
4897
|
-
},
|
|
4898
|
-
"per_page": {
|
|
4899
|
-
"description": "Number of results per page",
|
|
4900
|
-
"name": "per_page",
|
|
4901
|
-
"required": false,
|
|
4902
|
-
"default": 50,
|
|
4903
|
-
"hasDynamicHelp": false,
|
|
4904
|
-
"multiple": false,
|
|
4905
|
-
"type": "option"
|
|
4906
|
-
},
|
|
4907
4894
|
"workspace": {
|
|
4908
4895
|
"char": "w",
|
|
4909
4896
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4916,7 +4903,7 @@
|
|
|
4916
4903
|
},
|
|
4917
4904
|
"hasDynamicHelp": false,
|
|
4918
4905
|
"hiddenAliases": [],
|
|
4919
|
-
"id": "static_host:build:
|
|
4906
|
+
"id": "static_host:build:get",
|
|
4920
4907
|
"pluginAlias": "@xano/cli",
|
|
4921
4908
|
"pluginName": "@xano/cli",
|
|
4922
4909
|
"pluginType": "core",
|
|
@@ -4928,24 +4915,24 @@
|
|
|
4928
4915
|
"commands",
|
|
4929
4916
|
"static_host",
|
|
4930
4917
|
"build",
|
|
4931
|
-
"
|
|
4918
|
+
"get",
|
|
4932
4919
|
"index.js"
|
|
4933
4920
|
]
|
|
4934
4921
|
},
|
|
4935
|
-
"
|
|
4922
|
+
"static_host:build:create": {
|
|
4936
4923
|
"aliases": [],
|
|
4937
4924
|
"args": {
|
|
4938
|
-
"
|
|
4939
|
-
"description": "
|
|
4940
|
-
"name": "
|
|
4925
|
+
"static_host": {
|
|
4926
|
+
"description": "Static Host name",
|
|
4927
|
+
"name": "static_host",
|
|
4941
4928
|
"required": true
|
|
4942
4929
|
}
|
|
4943
4930
|
},
|
|
4944
|
-
"description": "
|
|
4931
|
+
"description": "Create a new build for a static host",
|
|
4945
4932
|
"examples": [
|
|
4946
|
-
"$ xano
|
|
4947
|
-
"$ xano
|
|
4948
|
-
"$ xano
|
|
4933
|
+
"$ 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",
|
|
4934
|
+
"$ 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",
|
|
4935
|
+
"$ 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"
|
|
4949
4936
|
],
|
|
4950
4937
|
"flags": {
|
|
4951
4938
|
"profile": {
|
|
@@ -4967,17 +4954,27 @@
|
|
|
4967
4954
|
"allowNo": false,
|
|
4968
4955
|
"type": "boolean"
|
|
4969
4956
|
},
|
|
4970
|
-
"
|
|
4971
|
-
"char": "
|
|
4972
|
-
"description": "
|
|
4973
|
-
"name": "
|
|
4957
|
+
"description": {
|
|
4958
|
+
"char": "d",
|
|
4959
|
+
"description": "Build description",
|
|
4960
|
+
"name": "description",
|
|
4974
4961
|
"required": false,
|
|
4975
|
-
"
|
|
4976
|
-
"
|
|
4962
|
+
"hasDynamicHelp": false,
|
|
4963
|
+
"multiple": false,
|
|
4964
|
+
"type": "option"
|
|
4965
|
+
},
|
|
4966
|
+
"file": {
|
|
4967
|
+
"char": "f",
|
|
4968
|
+
"description": "Path to zip file to upload",
|
|
4969
|
+
"name": "file",
|
|
4970
|
+
"required": true,
|
|
4971
|
+
"hasDynamicHelp": false,
|
|
4972
|
+
"multiple": false,
|
|
4973
|
+
"type": "option"
|
|
4977
4974
|
},
|
|
4978
4975
|
"name": {
|
|
4979
4976
|
"char": "n",
|
|
4980
|
-
"description": "
|
|
4977
|
+
"description": "Build name",
|
|
4981
4978
|
"name": "name",
|
|
4982
4979
|
"required": true,
|
|
4983
4980
|
"hasDynamicHelp": false,
|
|
@@ -5000,7 +4997,7 @@
|
|
|
5000
4997
|
},
|
|
5001
4998
|
"workspace": {
|
|
5002
4999
|
"char": "w",
|
|
5003
|
-
"description": "Workspace ID (
|
|
5000
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5004
5001
|
"name": "workspace",
|
|
5005
5002
|
"required": false,
|
|
5006
5003
|
"hasDynamicHelp": false,
|
|
@@ -5010,7 +5007,7 @@
|
|
|
5010
5007
|
},
|
|
5011
5008
|
"hasDynamicHelp": false,
|
|
5012
5009
|
"hiddenAliases": [],
|
|
5013
|
-
"id": "
|
|
5010
|
+
"id": "static_host:build:create",
|
|
5014
5011
|
"pluginAlias": "@xano/cli",
|
|
5015
5012
|
"pluginName": "@xano/cli",
|
|
5016
5013
|
"pluginType": "core",
|
|
@@ -5020,32 +5017,27 @@
|
|
|
5020
5017
|
"relativePath": [
|
|
5021
5018
|
"dist",
|
|
5022
5019
|
"commands",
|
|
5023
|
-
"
|
|
5024
|
-
"
|
|
5025
|
-
"
|
|
5020
|
+
"static_host",
|
|
5021
|
+
"build",
|
|
5022
|
+
"create",
|
|
5026
5023
|
"index.js"
|
|
5027
5024
|
]
|
|
5028
5025
|
},
|
|
5029
|
-
"static_host:build:
|
|
5026
|
+
"static_host:build:list": {
|
|
5030
5027
|
"aliases": [],
|
|
5031
5028
|
"args": {
|
|
5032
|
-
"build_id": {
|
|
5033
|
-
"description": "Build ID",
|
|
5034
|
-
"name": "build_id",
|
|
5035
|
-
"required": true
|
|
5036
|
-
},
|
|
5037
5029
|
"static_host": {
|
|
5038
5030
|
"description": "Static Host name",
|
|
5039
5031
|
"name": "static_host",
|
|
5040
5032
|
"required": true
|
|
5041
5033
|
}
|
|
5042
5034
|
},
|
|
5043
|
-
"description": "
|
|
5035
|
+
"description": "List all builds for a static host",
|
|
5044
5036
|
"examples": [
|
|
5045
|
-
"$ xano static_host:build:
|
|
5046
|
-
"$ xano static_host:build:
|
|
5047
|
-
"$ xano static_host:build:
|
|
5048
|
-
"$ xano static_host:build:
|
|
5037
|
+
"$ 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",
|
|
5038
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
5039
|
+
"$ 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",
|
|
5040
|
+
"$ 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"
|
|
5049
5041
|
],
|
|
5050
5042
|
"flags": {
|
|
5051
5043
|
"profile": {
|
|
@@ -5081,6 +5073,24 @@
|
|
|
5081
5073
|
],
|
|
5082
5074
|
"type": "option"
|
|
5083
5075
|
},
|
|
5076
|
+
"page": {
|
|
5077
|
+
"description": "Page number for pagination",
|
|
5078
|
+
"name": "page",
|
|
5079
|
+
"required": false,
|
|
5080
|
+
"default": 1,
|
|
5081
|
+
"hasDynamicHelp": false,
|
|
5082
|
+
"multiple": false,
|
|
5083
|
+
"type": "option"
|
|
5084
|
+
},
|
|
5085
|
+
"per_page": {
|
|
5086
|
+
"description": "Number of results per page",
|
|
5087
|
+
"name": "per_page",
|
|
5088
|
+
"required": false,
|
|
5089
|
+
"default": 50,
|
|
5090
|
+
"hasDynamicHelp": false,
|
|
5091
|
+
"multiple": false,
|
|
5092
|
+
"type": "option"
|
|
5093
|
+
},
|
|
5084
5094
|
"workspace": {
|
|
5085
5095
|
"char": "w",
|
|
5086
5096
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -5093,7 +5103,7 @@
|
|
|
5093
5103
|
},
|
|
5094
5104
|
"hasDynamicHelp": false,
|
|
5095
5105
|
"hiddenAliases": [],
|
|
5096
|
-
"id": "static_host:build:
|
|
5106
|
+
"id": "static_host:build:list",
|
|
5097
5107
|
"pluginAlias": "@xano/cli",
|
|
5098
5108
|
"pluginName": "@xano/cli",
|
|
5099
5109
|
"pluginType": "core",
|
|
@@ -5105,23 +5115,23 @@
|
|
|
5105
5115
|
"commands",
|
|
5106
5116
|
"static_host",
|
|
5107
5117
|
"build",
|
|
5108
|
-
"
|
|
5118
|
+
"list",
|
|
5109
5119
|
"index.js"
|
|
5110
5120
|
]
|
|
5111
5121
|
},
|
|
5112
|
-
"tenant:
|
|
5122
|
+
"tenant:backup:create": {
|
|
5113
5123
|
"aliases": [],
|
|
5114
5124
|
"args": {
|
|
5115
5125
|
"tenant_name": {
|
|
5116
|
-
"description": "Tenant name",
|
|
5126
|
+
"description": "Tenant name to back up",
|
|
5117
5127
|
"name": "tenant_name",
|
|
5118
5128
|
"required": true
|
|
5119
5129
|
}
|
|
5120
5130
|
},
|
|
5121
|
-
"description": "
|
|
5131
|
+
"description": "Create a backup for a tenant",
|
|
5122
5132
|
"examples": [
|
|
5123
|
-
"$ xano tenant
|
|
5124
|
-
"$ xano tenant
|
|
5133
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5134
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5125
5135
|
],
|
|
5126
5136
|
"flags": {
|
|
5127
5137
|
"profile": {
|
|
@@ -5143,11 +5153,12 @@
|
|
|
5143
5153
|
"allowNo": false,
|
|
5144
5154
|
"type": "boolean"
|
|
5145
5155
|
},
|
|
5146
|
-
"
|
|
5147
|
-
"char": "
|
|
5148
|
-
"description": "
|
|
5149
|
-
"name": "
|
|
5150
|
-
"required":
|
|
5156
|
+
"description": {
|
|
5157
|
+
"char": "d",
|
|
5158
|
+
"description": "Backup description",
|
|
5159
|
+
"name": "description",
|
|
5160
|
+
"required": false,
|
|
5161
|
+
"default": "",
|
|
5151
5162
|
"hasDynamicHelp": false,
|
|
5152
5163
|
"multiple": false,
|
|
5153
5164
|
"type": "option"
|
|
@@ -5178,7 +5189,7 @@
|
|
|
5178
5189
|
},
|
|
5179
5190
|
"hasDynamicHelp": false,
|
|
5180
5191
|
"hiddenAliases": [],
|
|
5181
|
-
"id": "tenant:
|
|
5192
|
+
"id": "tenant:backup:create",
|
|
5182
5193
|
"pluginAlias": "@xano/cli",
|
|
5183
5194
|
"pluginName": "@xano/cli",
|
|
5184
5195
|
"pluginType": "core",
|
|
@@ -5189,26 +5200,25 @@
|
|
|
5189
5200
|
"dist",
|
|
5190
5201
|
"commands",
|
|
5191
5202
|
"tenant",
|
|
5192
|
-
"
|
|
5193
|
-
"
|
|
5203
|
+
"backup",
|
|
5204
|
+
"create",
|
|
5194
5205
|
"index.js"
|
|
5195
5206
|
]
|
|
5196
5207
|
},
|
|
5197
|
-
"tenant:
|
|
5208
|
+
"tenant:backup:delete": {
|
|
5198
5209
|
"aliases": [],
|
|
5199
5210
|
"args": {
|
|
5200
5211
|
"tenant_name": {
|
|
5201
|
-
"description": "Tenant name",
|
|
5212
|
+
"description": "Tenant name that owns the backup",
|
|
5202
5213
|
"name": "tenant_name",
|
|
5203
5214
|
"required": true
|
|
5204
5215
|
}
|
|
5205
5216
|
},
|
|
5206
|
-
"description": "
|
|
5217
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5207
5218
|
"examples": [
|
|
5208
|
-
"$ xano tenant
|
|
5209
|
-
"$ xano tenant
|
|
5210
|
-
"$ xano tenant
|
|
5211
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
5219
|
+
"$ 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",
|
|
5220
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5221
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5212
5222
|
],
|
|
5213
5223
|
"flags": {
|
|
5214
5224
|
"profile": {
|
|
@@ -5230,15 +5240,22 @@
|
|
|
5230
5240
|
"allowNo": false,
|
|
5231
5241
|
"type": "boolean"
|
|
5232
5242
|
},
|
|
5233
|
-
"
|
|
5234
|
-
"
|
|
5235
|
-
"
|
|
5236
|
-
"
|
|
5237
|
-
"required": false,
|
|
5243
|
+
"backup_id": {
|
|
5244
|
+
"description": "Backup ID to delete",
|
|
5245
|
+
"name": "backup_id",
|
|
5246
|
+
"required": true,
|
|
5238
5247
|
"hasDynamicHelp": false,
|
|
5239
5248
|
"multiple": false,
|
|
5240
5249
|
"type": "option"
|
|
5241
5250
|
},
|
|
5251
|
+
"force": {
|
|
5252
|
+
"char": "f",
|
|
5253
|
+
"description": "Skip confirmation prompt",
|
|
5254
|
+
"name": "force",
|
|
5255
|
+
"required": false,
|
|
5256
|
+
"allowNo": false,
|
|
5257
|
+
"type": "boolean"
|
|
5258
|
+
},
|
|
5242
5259
|
"output": {
|
|
5243
5260
|
"char": "o",
|
|
5244
5261
|
"description": "Output format",
|
|
@@ -5253,13 +5270,6 @@
|
|
|
5253
5270
|
],
|
|
5254
5271
|
"type": "option"
|
|
5255
5272
|
},
|
|
5256
|
-
"view": {
|
|
5257
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
5258
|
-
"name": "view",
|
|
5259
|
-
"required": false,
|
|
5260
|
-
"allowNo": false,
|
|
5261
|
-
"type": "boolean"
|
|
5262
|
-
},
|
|
5263
5273
|
"workspace": {
|
|
5264
5274
|
"char": "w",
|
|
5265
5275
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5272,7 +5282,7 @@
|
|
|
5272
5282
|
},
|
|
5273
5283
|
"hasDynamicHelp": false,
|
|
5274
5284
|
"hiddenAliases": [],
|
|
5275
|
-
"id": "tenant:
|
|
5285
|
+
"id": "tenant:backup:delete",
|
|
5276
5286
|
"pluginAlias": "@xano/cli",
|
|
5277
5287
|
"pluginName": "@xano/cli",
|
|
5278
5288
|
"pluginType": "core",
|
|
@@ -5283,24 +5293,25 @@
|
|
|
5283
5293
|
"dist",
|
|
5284
5294
|
"commands",
|
|
5285
5295
|
"tenant",
|
|
5286
|
-
"
|
|
5287
|
-
"
|
|
5296
|
+
"backup",
|
|
5297
|
+
"delete",
|
|
5288
5298
|
"index.js"
|
|
5289
5299
|
]
|
|
5290
5300
|
},
|
|
5291
|
-
"tenant:
|
|
5301
|
+
"tenant:backup:export": {
|
|
5292
5302
|
"aliases": [],
|
|
5293
5303
|
"args": {
|
|
5294
5304
|
"tenant_name": {
|
|
5295
|
-
"description": "Tenant name",
|
|
5305
|
+
"description": "Tenant name to export backup from",
|
|
5296
5306
|
"name": "tenant_name",
|
|
5297
5307
|
"required": true
|
|
5298
5308
|
}
|
|
5299
5309
|
},
|
|
5300
|
-
"description": "
|
|
5310
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5301
5311
|
"examples": [
|
|
5302
|
-
"$ xano tenant
|
|
5303
|
-
"$ xano tenant
|
|
5312
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5313
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5314
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5304
5315
|
],
|
|
5305
5316
|
"flags": {
|
|
5306
5317
|
"profile": {
|
|
@@ -5322,10 +5333,18 @@
|
|
|
5322
5333
|
"allowNo": false,
|
|
5323
5334
|
"type": "boolean"
|
|
5324
5335
|
},
|
|
5325
|
-
"
|
|
5336
|
+
"backup_id": {
|
|
5337
|
+
"description": "Backup ID to export",
|
|
5338
|
+
"name": "backup_id",
|
|
5339
|
+
"required": true,
|
|
5340
|
+
"hasDynamicHelp": false,
|
|
5341
|
+
"multiple": false,
|
|
5342
|
+
"type": "option"
|
|
5343
|
+
},
|
|
5344
|
+
"format": {
|
|
5326
5345
|
"char": "o",
|
|
5327
5346
|
"description": "Output format",
|
|
5328
|
-
"name": "
|
|
5347
|
+
"name": "format",
|
|
5329
5348
|
"required": false,
|
|
5330
5349
|
"default": "summary",
|
|
5331
5350
|
"hasDynamicHelp": false,
|
|
@@ -5336,6 +5355,14 @@
|
|
|
5336
5355
|
],
|
|
5337
5356
|
"type": "option"
|
|
5338
5357
|
},
|
|
5358
|
+
"output": {
|
|
5359
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5360
|
+
"name": "output",
|
|
5361
|
+
"required": false,
|
|
5362
|
+
"hasDynamicHelp": false,
|
|
5363
|
+
"multiple": false,
|
|
5364
|
+
"type": "option"
|
|
5365
|
+
},
|
|
5339
5366
|
"workspace": {
|
|
5340
5367
|
"char": "w",
|
|
5341
5368
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5348,7 +5375,7 @@
|
|
|
5348
5375
|
},
|
|
5349
5376
|
"hasDynamicHelp": false,
|
|
5350
5377
|
"hiddenAliases": [],
|
|
5351
|
-
"id": "tenant:
|
|
5378
|
+
"id": "tenant:backup:export",
|
|
5352
5379
|
"pluginAlias": "@xano/cli",
|
|
5353
5380
|
"pluginName": "@xano/cli",
|
|
5354
5381
|
"pluginType": "core",
|
|
@@ -5359,24 +5386,24 @@
|
|
|
5359
5386
|
"dist",
|
|
5360
5387
|
"commands",
|
|
5361
5388
|
"tenant",
|
|
5362
|
-
"
|
|
5363
|
-
"
|
|
5389
|
+
"backup",
|
|
5390
|
+
"export",
|
|
5364
5391
|
"index.js"
|
|
5365
5392
|
]
|
|
5366
5393
|
},
|
|
5367
|
-
"tenant:
|
|
5394
|
+
"tenant:backup:import": {
|
|
5368
5395
|
"aliases": [],
|
|
5369
5396
|
"args": {
|
|
5370
5397
|
"tenant_name": {
|
|
5371
|
-
"description": "Tenant name",
|
|
5398
|
+
"description": "Tenant name to import backup into",
|
|
5372
5399
|
"name": "tenant_name",
|
|
5373
5400
|
"required": true
|
|
5374
5401
|
}
|
|
5375
5402
|
},
|
|
5376
|
-
"description": "
|
|
5403
|
+
"description": "Import a backup file into a tenant",
|
|
5377
5404
|
"examples": [
|
|
5378
|
-
"$ xano tenant
|
|
5379
|
-
"$ xano tenant
|
|
5405
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5406
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5380
5407
|
],
|
|
5381
5408
|
"flags": {
|
|
5382
5409
|
"profile": {
|
|
@@ -5398,11 +5425,21 @@
|
|
|
5398
5425
|
"allowNo": false,
|
|
5399
5426
|
"type": "boolean"
|
|
5400
5427
|
},
|
|
5401
|
-
"
|
|
5402
|
-
"char": "
|
|
5403
|
-
"description": "
|
|
5404
|
-
"name": "
|
|
5405
|
-
"required":
|
|
5428
|
+
"description": {
|
|
5429
|
+
"char": "d",
|
|
5430
|
+
"description": "Backup description",
|
|
5431
|
+
"name": "description",
|
|
5432
|
+
"required": false,
|
|
5433
|
+
"default": "",
|
|
5434
|
+
"hasDynamicHelp": false,
|
|
5435
|
+
"multiple": false,
|
|
5436
|
+
"type": "option"
|
|
5437
|
+
},
|
|
5438
|
+
"file": {
|
|
5439
|
+
"char": "f",
|
|
5440
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5441
|
+
"name": "file",
|
|
5442
|
+
"required": true,
|
|
5406
5443
|
"hasDynamicHelp": false,
|
|
5407
5444
|
"multiple": false,
|
|
5408
5445
|
"type": "option"
|
|
@@ -5421,14 +5458,6 @@
|
|
|
5421
5458
|
],
|
|
5422
5459
|
"type": "option"
|
|
5423
5460
|
},
|
|
5424
|
-
"value": {
|
|
5425
|
-
"description": "Environment variable value",
|
|
5426
|
-
"name": "value",
|
|
5427
|
-
"required": true,
|
|
5428
|
-
"hasDynamicHelp": false,
|
|
5429
|
-
"multiple": false,
|
|
5430
|
-
"type": "option"
|
|
5431
|
-
},
|
|
5432
5461
|
"workspace": {
|
|
5433
5462
|
"char": "w",
|
|
5434
5463
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5441,7 +5470,7 @@
|
|
|
5441
5470
|
},
|
|
5442
5471
|
"hasDynamicHelp": false,
|
|
5443
5472
|
"hiddenAliases": [],
|
|
5444
|
-
"id": "tenant:
|
|
5473
|
+
"id": "tenant:backup:import",
|
|
5445
5474
|
"pluginAlias": "@xano/cli",
|
|
5446
5475
|
"pluginName": "@xano/cli",
|
|
5447
5476
|
"pluginType": "core",
|
|
@@ -5452,25 +5481,24 @@
|
|
|
5452
5481
|
"dist",
|
|
5453
5482
|
"commands",
|
|
5454
5483
|
"tenant",
|
|
5455
|
-
"
|
|
5456
|
-
"
|
|
5484
|
+
"backup",
|
|
5485
|
+
"import",
|
|
5457
5486
|
"index.js"
|
|
5458
5487
|
]
|
|
5459
5488
|
},
|
|
5460
|
-
"tenant:
|
|
5489
|
+
"tenant:backup:list": {
|
|
5461
5490
|
"aliases": [],
|
|
5462
5491
|
"args": {
|
|
5463
5492
|
"tenant_name": {
|
|
5464
|
-
"description": "Tenant name",
|
|
5493
|
+
"description": "Tenant name to list backups for",
|
|
5465
5494
|
"name": "tenant_name",
|
|
5466
5495
|
"required": true
|
|
5467
5496
|
}
|
|
5468
5497
|
},
|
|
5469
|
-
"description": "
|
|
5498
|
+
"description": "List backups for a tenant",
|
|
5470
5499
|
"examples": [
|
|
5471
|
-
"$ xano tenant
|
|
5472
|
-
"$ xano tenant
|
|
5473
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
5500
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5501
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5474
5502
|
],
|
|
5475
5503
|
"flags": {
|
|
5476
5504
|
"profile": {
|
|
@@ -5492,22 +5520,6 @@
|
|
|
5492
5520
|
"allowNo": false,
|
|
5493
5521
|
"type": "boolean"
|
|
5494
5522
|
},
|
|
5495
|
-
"clean": {
|
|
5496
|
-
"description": "Remove the source file after successful upload",
|
|
5497
|
-
"name": "clean",
|
|
5498
|
-
"required": false,
|
|
5499
|
-
"allowNo": false,
|
|
5500
|
-
"type": "boolean"
|
|
5501
|
-
},
|
|
5502
|
-
"file": {
|
|
5503
|
-
"char": "f",
|
|
5504
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
5505
|
-
"name": "file",
|
|
5506
|
-
"required": false,
|
|
5507
|
-
"hasDynamicHelp": false,
|
|
5508
|
-
"multiple": false,
|
|
5509
|
-
"type": "option"
|
|
5510
|
-
},
|
|
5511
5523
|
"output": {
|
|
5512
5524
|
"char": "o",
|
|
5513
5525
|
"description": "Output format",
|
|
@@ -5522,6 +5534,15 @@
|
|
|
5522
5534
|
],
|
|
5523
5535
|
"type": "option"
|
|
5524
5536
|
},
|
|
5537
|
+
"page": {
|
|
5538
|
+
"description": "Page number for pagination",
|
|
5539
|
+
"name": "page",
|
|
5540
|
+
"required": false,
|
|
5541
|
+
"default": 1,
|
|
5542
|
+
"hasDynamicHelp": false,
|
|
5543
|
+
"multiple": false,
|
|
5544
|
+
"type": "option"
|
|
5545
|
+
},
|
|
5525
5546
|
"workspace": {
|
|
5526
5547
|
"char": "w",
|
|
5527
5548
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5534,7 +5555,7 @@
|
|
|
5534
5555
|
},
|
|
5535
5556
|
"hasDynamicHelp": false,
|
|
5536
5557
|
"hiddenAliases": [],
|
|
5537
|
-
"id": "tenant:
|
|
5558
|
+
"id": "tenant:backup:list",
|
|
5538
5559
|
"pluginAlias": "@xano/cli",
|
|
5539
5560
|
"pluginName": "@xano/cli",
|
|
5540
5561
|
"pluginType": "core",
|
|
@@ -5545,26 +5566,24 @@
|
|
|
5545
5566
|
"dist",
|
|
5546
5567
|
"commands",
|
|
5547
5568
|
"tenant",
|
|
5548
|
-
"
|
|
5549
|
-
"
|
|
5569
|
+
"backup",
|
|
5570
|
+
"list",
|
|
5550
5571
|
"index.js"
|
|
5551
5572
|
]
|
|
5552
5573
|
},
|
|
5553
|
-
"tenant:
|
|
5574
|
+
"tenant:backup:restore": {
|
|
5554
5575
|
"aliases": [],
|
|
5555
5576
|
"args": {
|
|
5556
5577
|
"tenant_name": {
|
|
5557
|
-
"description": "Tenant name",
|
|
5578
|
+
"description": "Tenant name to restore",
|
|
5558
5579
|
"name": "tenant_name",
|
|
5559
5580
|
"required": true
|
|
5560
5581
|
}
|
|
5561
5582
|
},
|
|
5562
|
-
"description": "
|
|
5583
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5563
5584
|
"examples": [
|
|
5564
|
-
"$ xano tenant
|
|
5565
|
-
"$ xano tenant
|
|
5566
|
-
"$ xano tenant license get my-tenant --view",
|
|
5567
|
-
"$ xano tenant license get my-tenant -o json"
|
|
5585
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5586
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5568
5587
|
],
|
|
5569
5588
|
"flags": {
|
|
5570
5589
|
"profile": {
|
|
@@ -5586,15 +5605,22 @@
|
|
|
5586
5605
|
"allowNo": false,
|
|
5587
5606
|
"type": "boolean"
|
|
5588
5607
|
},
|
|
5589
|
-
"
|
|
5590
|
-
"
|
|
5591
|
-
"
|
|
5592
|
-
"
|
|
5593
|
-
"required": false,
|
|
5608
|
+
"backup_id": {
|
|
5609
|
+
"description": "Backup ID to restore from",
|
|
5610
|
+
"name": "backup_id",
|
|
5611
|
+
"required": true,
|
|
5594
5612
|
"hasDynamicHelp": false,
|
|
5595
5613
|
"multiple": false,
|
|
5596
5614
|
"type": "option"
|
|
5597
5615
|
},
|
|
5616
|
+
"force": {
|
|
5617
|
+
"char": "f",
|
|
5618
|
+
"description": "Skip confirmation prompt",
|
|
5619
|
+
"name": "force",
|
|
5620
|
+
"required": false,
|
|
5621
|
+
"allowNo": false,
|
|
5622
|
+
"type": "boolean"
|
|
5623
|
+
},
|
|
5598
5624
|
"output": {
|
|
5599
5625
|
"char": "o",
|
|
5600
5626
|
"description": "Output format",
|
|
@@ -5609,13 +5635,6 @@
|
|
|
5609
5635
|
],
|
|
5610
5636
|
"type": "option"
|
|
5611
5637
|
},
|
|
5612
|
-
"view": {
|
|
5613
|
-
"description": "Print license to stdout instead of saving to file",
|
|
5614
|
-
"name": "view",
|
|
5615
|
-
"required": false,
|
|
5616
|
-
"allowNo": false,
|
|
5617
|
-
"type": "boolean"
|
|
5618
|
-
},
|
|
5619
5638
|
"workspace": {
|
|
5620
5639
|
"char": "w",
|
|
5621
5640
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5628,7 +5647,7 @@
|
|
|
5628
5647
|
},
|
|
5629
5648
|
"hasDynamicHelp": false,
|
|
5630
5649
|
"hiddenAliases": [],
|
|
5631
|
-
"id": "tenant:
|
|
5650
|
+
"id": "tenant:backup:restore",
|
|
5632
5651
|
"pluginAlias": "@xano/cli",
|
|
5633
5652
|
"pluginName": "@xano/cli",
|
|
5634
5653
|
"pluginType": "core",
|
|
@@ -5639,26 +5658,18 @@
|
|
|
5639
5658
|
"dist",
|
|
5640
5659
|
"commands",
|
|
5641
5660
|
"tenant",
|
|
5642
|
-
"
|
|
5643
|
-
"
|
|
5661
|
+
"backup",
|
|
5662
|
+
"restore",
|
|
5644
5663
|
"index.js"
|
|
5645
5664
|
]
|
|
5646
5665
|
},
|
|
5647
|
-
"tenant:
|
|
5666
|
+
"tenant:cluster:create": {
|
|
5648
5667
|
"aliases": [],
|
|
5649
|
-
"args": {
|
|
5650
|
-
|
|
5651
|
-
"description": "Tenant name",
|
|
5652
|
-
"name": "tenant_name",
|
|
5653
|
-
"required": true
|
|
5654
|
-
}
|
|
5655
|
-
},
|
|
5656
|
-
"description": "Set/update the license for a tenant",
|
|
5668
|
+
"args": {},
|
|
5669
|
+
"description": "Create a new tenant cluster",
|
|
5657
5670
|
"examples": [
|
|
5658
|
-
"$ xano tenant
|
|
5659
|
-
"$ xano tenant
|
|
5660
|
-
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
5661
|
-
"$ xano tenant license set my-tenant -o json"
|
|
5671
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5672
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5662
5673
|
],
|
|
5663
5674
|
"flags": {
|
|
5664
5675
|
"profile": {
|
|
@@ -5680,28 +5691,54 @@
|
|
|
5680
5691
|
"allowNo": false,
|
|
5681
5692
|
"type": "boolean"
|
|
5682
5693
|
},
|
|
5683
|
-
"
|
|
5684
|
-
"description": "
|
|
5694
|
+
"credentials": {
|
|
5695
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5685
5696
|
"exclusive": [
|
|
5686
|
-
"
|
|
5697
|
+
"credentials_file"
|
|
5687
5698
|
],
|
|
5688
|
-
"name": "
|
|
5699
|
+
"name": "credentials",
|
|
5689
5700
|
"required": false,
|
|
5690
|
-
"
|
|
5691
|
-
"
|
|
5701
|
+
"hasDynamicHelp": false,
|
|
5702
|
+
"multiple": false,
|
|
5703
|
+
"type": "option"
|
|
5692
5704
|
},
|
|
5693
|
-
"
|
|
5694
|
-
"
|
|
5695
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
5705
|
+
"credentials_file": {
|
|
5706
|
+
"description": "Path to kubeconfig credentials file",
|
|
5696
5707
|
"exclusive": [
|
|
5697
|
-
"
|
|
5708
|
+
"credentials"
|
|
5698
5709
|
],
|
|
5699
|
-
"name": "
|
|
5710
|
+
"name": "credentials_file",
|
|
5711
|
+
"required": false,
|
|
5712
|
+
"hasDynamicHelp": false,
|
|
5713
|
+
"multiple": false,
|
|
5714
|
+
"type": "option"
|
|
5715
|
+
},
|
|
5716
|
+
"description": {
|
|
5717
|
+
"char": "d",
|
|
5718
|
+
"description": "Cluster description",
|
|
5719
|
+
"name": "description",
|
|
5720
|
+
"required": false,
|
|
5721
|
+
"hasDynamicHelp": false,
|
|
5722
|
+
"multiple": false,
|
|
5723
|
+
"type": "option"
|
|
5724
|
+
},
|
|
5725
|
+
"domain": {
|
|
5726
|
+
"description": "Custom domain for the cluster",
|
|
5727
|
+
"name": "domain",
|
|
5700
5728
|
"required": false,
|
|
5701
5729
|
"hasDynamicHelp": false,
|
|
5702
5730
|
"multiple": false,
|
|
5703
5731
|
"type": "option"
|
|
5704
5732
|
},
|
|
5733
|
+
"name": {
|
|
5734
|
+
"char": "n",
|
|
5735
|
+
"description": "Cluster name",
|
|
5736
|
+
"name": "name",
|
|
5737
|
+
"required": true,
|
|
5738
|
+
"hasDynamicHelp": false,
|
|
5739
|
+
"multiple": false,
|
|
5740
|
+
"type": "option"
|
|
5741
|
+
},
|
|
5705
5742
|
"output": {
|
|
5706
5743
|
"char": "o",
|
|
5707
5744
|
"description": "Output format",
|
|
@@ -5716,31 +5753,23 @@
|
|
|
5716
5753
|
],
|
|
5717
5754
|
"type": "option"
|
|
5718
5755
|
},
|
|
5719
|
-
"
|
|
5720
|
-
"description": "
|
|
5721
|
-
"
|
|
5722
|
-
"file",
|
|
5723
|
-
"clean"
|
|
5724
|
-
],
|
|
5725
|
-
"name": "value",
|
|
5726
|
-
"required": false,
|
|
5727
|
-
"hasDynamicHelp": false,
|
|
5728
|
-
"multiple": false,
|
|
5729
|
-
"type": "option"
|
|
5730
|
-
},
|
|
5731
|
-
"workspace": {
|
|
5732
|
-
"char": "w",
|
|
5733
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5734
|
-
"name": "workspace",
|
|
5756
|
+
"type": {
|
|
5757
|
+
"description": "Cluster type",
|
|
5758
|
+
"name": "type",
|
|
5735
5759
|
"required": false,
|
|
5760
|
+
"default": "standard",
|
|
5736
5761
|
"hasDynamicHelp": false,
|
|
5737
5762
|
"multiple": false,
|
|
5763
|
+
"options": [
|
|
5764
|
+
"standard",
|
|
5765
|
+
"run"
|
|
5766
|
+
],
|
|
5738
5767
|
"type": "option"
|
|
5739
5768
|
}
|
|
5740
5769
|
},
|
|
5741
5770
|
"hasDynamicHelp": false,
|
|
5742
5771
|
"hiddenAliases": [],
|
|
5743
|
-
"id": "tenant:
|
|
5772
|
+
"id": "tenant:cluster:create",
|
|
5744
5773
|
"pluginAlias": "@xano/cli",
|
|
5745
5774
|
"pluginName": "@xano/cli",
|
|
5746
5775
|
"pluginType": "core",
|
|
@@ -5751,24 +5780,25 @@
|
|
|
5751
5780
|
"dist",
|
|
5752
5781
|
"commands",
|
|
5753
5782
|
"tenant",
|
|
5754
|
-
"
|
|
5755
|
-
"
|
|
5783
|
+
"cluster",
|
|
5784
|
+
"create",
|
|
5756
5785
|
"index.js"
|
|
5757
5786
|
]
|
|
5758
5787
|
},
|
|
5759
|
-
"tenant:
|
|
5788
|
+
"tenant:cluster:delete": {
|
|
5760
5789
|
"aliases": [],
|
|
5761
5790
|
"args": {
|
|
5762
|
-
"
|
|
5763
|
-
"description": "
|
|
5764
|
-
"name": "
|
|
5791
|
+
"cluster_id": {
|
|
5792
|
+
"description": "Cluster ID to delete",
|
|
5793
|
+
"name": "cluster_id",
|
|
5765
5794
|
"required": true
|
|
5766
5795
|
}
|
|
5767
5796
|
},
|
|
5768
|
-
"description": "
|
|
5797
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5769
5798
|
"examples": [
|
|
5770
|
-
"$ xano tenant
|
|
5771
|
-
"$ xano tenant
|
|
5799
|
+
"$ 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",
|
|
5800
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5801
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5772
5802
|
],
|
|
5773
5803
|
"flags": {
|
|
5774
5804
|
"profile": {
|
|
@@ -5790,15 +5820,13 @@
|
|
|
5790
5820
|
"allowNo": false,
|
|
5791
5821
|
"type": "boolean"
|
|
5792
5822
|
},
|
|
5793
|
-
"
|
|
5794
|
-
"char": "
|
|
5795
|
-
"description": "
|
|
5796
|
-
"name": "
|
|
5823
|
+
"force": {
|
|
5824
|
+
"char": "f",
|
|
5825
|
+
"description": "Skip confirmation prompt",
|
|
5826
|
+
"name": "force",
|
|
5797
5827
|
"required": false,
|
|
5798
|
-
"
|
|
5799
|
-
"
|
|
5800
|
-
"multiple": false,
|
|
5801
|
-
"type": "option"
|
|
5828
|
+
"allowNo": false,
|
|
5829
|
+
"type": "boolean"
|
|
5802
5830
|
},
|
|
5803
5831
|
"output": {
|
|
5804
5832
|
"char": "o",
|
|
@@ -5813,20 +5841,11 @@
|
|
|
5813
5841
|
"json"
|
|
5814
5842
|
],
|
|
5815
5843
|
"type": "option"
|
|
5816
|
-
},
|
|
5817
|
-
"workspace": {
|
|
5818
|
-
"char": "w",
|
|
5819
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5820
|
-
"name": "workspace",
|
|
5821
|
-
"required": false,
|
|
5822
|
-
"hasDynamicHelp": false,
|
|
5823
|
-
"multiple": false,
|
|
5824
|
-
"type": "option"
|
|
5825
5844
|
}
|
|
5826
5845
|
},
|
|
5827
5846
|
"hasDynamicHelp": false,
|
|
5828
5847
|
"hiddenAliases": [],
|
|
5829
|
-
"id": "tenant:
|
|
5848
|
+
"id": "tenant:cluster:delete",
|
|
5830
5849
|
"pluginAlias": "@xano/cli",
|
|
5831
5850
|
"pluginName": "@xano/cli",
|
|
5832
5851
|
"pluginType": "core",
|
|
@@ -5837,25 +5856,24 @@
|
|
|
5837
5856
|
"dist",
|
|
5838
5857
|
"commands",
|
|
5839
5858
|
"tenant",
|
|
5840
|
-
"
|
|
5841
|
-
"
|
|
5859
|
+
"cluster",
|
|
5860
|
+
"delete",
|
|
5842
5861
|
"index.js"
|
|
5843
5862
|
]
|
|
5844
5863
|
},
|
|
5845
|
-
"tenant:
|
|
5864
|
+
"tenant:cluster:edit": {
|
|
5846
5865
|
"aliases": [],
|
|
5847
5866
|
"args": {
|
|
5848
|
-
"
|
|
5849
|
-
"description": "
|
|
5850
|
-
"name": "
|
|
5867
|
+
"cluster_id": {
|
|
5868
|
+
"description": "Cluster ID to edit",
|
|
5869
|
+
"name": "cluster_id",
|
|
5851
5870
|
"required": true
|
|
5852
5871
|
}
|
|
5853
5872
|
},
|
|
5854
|
-
"description": "
|
|
5873
|
+
"description": "Update an existing tenant cluster",
|
|
5855
5874
|
"examples": [
|
|
5856
|
-
"$ xano tenant
|
|
5857
|
-
"$ xano tenant
|
|
5858
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5875
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5876
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5859
5877
|
],
|
|
5860
5878
|
"flags": {
|
|
5861
5879
|
"profile": {
|
|
@@ -5877,21 +5895,31 @@
|
|
|
5877
5895
|
"allowNo": false,
|
|
5878
5896
|
"type": "boolean"
|
|
5879
5897
|
},
|
|
5880
|
-
"
|
|
5881
|
-
"
|
|
5882
|
-
"
|
|
5898
|
+
"description": {
|
|
5899
|
+
"char": "d",
|
|
5900
|
+
"description": "Cluster description",
|
|
5901
|
+
"name": "description",
|
|
5883
5902
|
"required": true,
|
|
5884
5903
|
"hasDynamicHelp": false,
|
|
5885
5904
|
"multiple": false,
|
|
5886
5905
|
"type": "option"
|
|
5887
5906
|
},
|
|
5888
|
-
"
|
|
5889
|
-
"
|
|
5890
|
-
"
|
|
5891
|
-
"
|
|
5892
|
-
"
|
|
5893
|
-
"
|
|
5894
|
-
"type": "
|
|
5907
|
+
"domain": {
|
|
5908
|
+
"description": "Custom domain for the cluster",
|
|
5909
|
+
"name": "domain",
|
|
5910
|
+
"required": true,
|
|
5911
|
+
"hasDynamicHelp": false,
|
|
5912
|
+
"multiple": false,
|
|
5913
|
+
"type": "option"
|
|
5914
|
+
},
|
|
5915
|
+
"name": {
|
|
5916
|
+
"char": "n",
|
|
5917
|
+
"description": "Cluster name",
|
|
5918
|
+
"name": "name",
|
|
5919
|
+
"required": true,
|
|
5920
|
+
"hasDynamicHelp": false,
|
|
5921
|
+
"multiple": false,
|
|
5922
|
+
"type": "option"
|
|
5895
5923
|
},
|
|
5896
5924
|
"output": {
|
|
5897
5925
|
"char": "o",
|
|
@@ -5907,19 +5935,22 @@
|
|
|
5907
5935
|
],
|
|
5908
5936
|
"type": "option"
|
|
5909
5937
|
},
|
|
5910
|
-
"
|
|
5911
|
-
"
|
|
5912
|
-
"
|
|
5913
|
-
"
|
|
5914
|
-
"required": false,
|
|
5938
|
+
"type": {
|
|
5939
|
+
"description": "Cluster type",
|
|
5940
|
+
"name": "type",
|
|
5941
|
+
"required": true,
|
|
5915
5942
|
"hasDynamicHelp": false,
|
|
5916
5943
|
"multiple": false,
|
|
5944
|
+
"options": [
|
|
5945
|
+
"standard",
|
|
5946
|
+
"run"
|
|
5947
|
+
],
|
|
5917
5948
|
"type": "option"
|
|
5918
5949
|
}
|
|
5919
5950
|
},
|
|
5920
5951
|
"hasDynamicHelp": false,
|
|
5921
5952
|
"hiddenAliases": [],
|
|
5922
|
-
"id": "tenant:
|
|
5953
|
+
"id": "tenant:cluster:edit",
|
|
5923
5954
|
"pluginAlias": "@xano/cli",
|
|
5924
5955
|
"pluginName": "@xano/cli",
|
|
5925
5956
|
"pluginType": "core",
|
|
@@ -5930,25 +5961,24 @@
|
|
|
5930
5961
|
"dist",
|
|
5931
5962
|
"commands",
|
|
5932
5963
|
"tenant",
|
|
5933
|
-
"
|
|
5934
|
-
"
|
|
5964
|
+
"cluster",
|
|
5965
|
+
"edit",
|
|
5935
5966
|
"index.js"
|
|
5936
5967
|
]
|
|
5937
5968
|
},
|
|
5938
|
-
"tenant:
|
|
5969
|
+
"tenant:cluster:get": {
|
|
5939
5970
|
"aliases": [],
|
|
5940
5971
|
"args": {
|
|
5941
|
-
"
|
|
5942
|
-
"description": "
|
|
5943
|
-
"name": "
|
|
5972
|
+
"cluster_id": {
|
|
5973
|
+
"description": "Cluster ID to retrieve",
|
|
5974
|
+
"name": "cluster_id",
|
|
5944
5975
|
"required": true
|
|
5945
5976
|
}
|
|
5946
5977
|
},
|
|
5947
|
-
"description": "
|
|
5978
|
+
"description": "Get details of a specific tenant cluster",
|
|
5948
5979
|
"examples": [
|
|
5949
|
-
"$ xano tenant
|
|
5950
|
-
"$ xano tenant
|
|
5951
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5980
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5981
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5952
5982
|
],
|
|
5953
5983
|
"flags": {
|
|
5954
5984
|
"profile": {
|
|
@@ -5970,18 +6000,10 @@
|
|
|
5970
6000
|
"allowNo": false,
|
|
5971
6001
|
"type": "boolean"
|
|
5972
6002
|
},
|
|
5973
|
-
"
|
|
5974
|
-
"description": "Backup ID to export",
|
|
5975
|
-
"name": "backup_id",
|
|
5976
|
-
"required": true,
|
|
5977
|
-
"hasDynamicHelp": false,
|
|
5978
|
-
"multiple": false,
|
|
5979
|
-
"type": "option"
|
|
5980
|
-
},
|
|
5981
|
-
"format": {
|
|
6003
|
+
"output": {
|
|
5982
6004
|
"char": "o",
|
|
5983
6005
|
"description": "Output format",
|
|
5984
|
-
"name": "
|
|
6006
|
+
"name": "output",
|
|
5985
6007
|
"required": false,
|
|
5986
6008
|
"default": "summary",
|
|
5987
6009
|
"hasDynamicHelp": false,
|
|
@@ -5991,28 +6013,11 @@
|
|
|
5991
6013
|
"json"
|
|
5992
6014
|
],
|
|
5993
6015
|
"type": "option"
|
|
5994
|
-
},
|
|
5995
|
-
"output": {
|
|
5996
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5997
|
-
"name": "output",
|
|
5998
|
-
"required": false,
|
|
5999
|
-
"hasDynamicHelp": false,
|
|
6000
|
-
"multiple": false,
|
|
6001
|
-
"type": "option"
|
|
6002
|
-
},
|
|
6003
|
-
"workspace": {
|
|
6004
|
-
"char": "w",
|
|
6005
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6006
|
-
"name": "workspace",
|
|
6007
|
-
"required": false,
|
|
6008
|
-
"hasDynamicHelp": false,
|
|
6009
|
-
"multiple": false,
|
|
6010
|
-
"type": "option"
|
|
6011
6016
|
}
|
|
6012
6017
|
},
|
|
6013
6018
|
"hasDynamicHelp": false,
|
|
6014
6019
|
"hiddenAliases": [],
|
|
6015
|
-
"id": "tenant:
|
|
6020
|
+
"id": "tenant:cluster:get",
|
|
6016
6021
|
"pluginAlias": "@xano/cli",
|
|
6017
6022
|
"pluginName": "@xano/cli",
|
|
6018
6023
|
"pluginType": "core",
|
|
@@ -6023,24 +6028,18 @@
|
|
|
6023
6028
|
"dist",
|
|
6024
6029
|
"commands",
|
|
6025
6030
|
"tenant",
|
|
6026
|
-
"
|
|
6027
|
-
"
|
|
6031
|
+
"cluster",
|
|
6032
|
+
"get",
|
|
6028
6033
|
"index.js"
|
|
6029
6034
|
]
|
|
6030
6035
|
},
|
|
6031
|
-
"tenant:
|
|
6036
|
+
"tenant:cluster:list": {
|
|
6032
6037
|
"aliases": [],
|
|
6033
|
-
"args": {
|
|
6034
|
-
|
|
6035
|
-
"description": "Tenant name to import backup into",
|
|
6036
|
-
"name": "tenant_name",
|
|
6037
|
-
"required": true
|
|
6038
|
-
}
|
|
6039
|
-
},
|
|
6040
|
-
"description": "Import a backup file into a tenant",
|
|
6038
|
+
"args": {},
|
|
6039
|
+
"description": "List all tenant clusters",
|
|
6041
6040
|
"examples": [
|
|
6042
|
-
"$ xano tenant
|
|
6043
|
-
"$ xano tenant
|
|
6041
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6042
|
+
"$ xano tenant cluster list --output json"
|
|
6044
6043
|
],
|
|
6045
6044
|
"flags": {
|
|
6046
6045
|
"profile": {
|
|
@@ -6062,25 +6061,6 @@
|
|
|
6062
6061
|
"allowNo": false,
|
|
6063
6062
|
"type": "boolean"
|
|
6064
6063
|
},
|
|
6065
|
-
"description": {
|
|
6066
|
-
"char": "d",
|
|
6067
|
-
"description": "Backup description",
|
|
6068
|
-
"name": "description",
|
|
6069
|
-
"required": false,
|
|
6070
|
-
"default": "",
|
|
6071
|
-
"hasDynamicHelp": false,
|
|
6072
|
-
"multiple": false,
|
|
6073
|
-
"type": "option"
|
|
6074
|
-
},
|
|
6075
|
-
"file": {
|
|
6076
|
-
"char": "f",
|
|
6077
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
6078
|
-
"name": "file",
|
|
6079
|
-
"required": true,
|
|
6080
|
-
"hasDynamicHelp": false,
|
|
6081
|
-
"multiple": false,
|
|
6082
|
-
"type": "option"
|
|
6083
|
-
},
|
|
6084
6064
|
"output": {
|
|
6085
6065
|
"char": "o",
|
|
6086
6066
|
"description": "Output format",
|
|
@@ -6094,20 +6074,11 @@
|
|
|
6094
6074
|
"json"
|
|
6095
6075
|
],
|
|
6096
6076
|
"type": "option"
|
|
6097
|
-
},
|
|
6098
|
-
"workspace": {
|
|
6099
|
-
"char": "w",
|
|
6100
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6101
|
-
"name": "workspace",
|
|
6102
|
-
"required": false,
|
|
6103
|
-
"hasDynamicHelp": false,
|
|
6104
|
-
"multiple": false,
|
|
6105
|
-
"type": "option"
|
|
6106
6077
|
}
|
|
6107
6078
|
},
|
|
6108
6079
|
"hasDynamicHelp": false,
|
|
6109
6080
|
"hiddenAliases": [],
|
|
6110
|
-
"id": "tenant:
|
|
6081
|
+
"id": "tenant:cluster:list",
|
|
6111
6082
|
"pluginAlias": "@xano/cli",
|
|
6112
6083
|
"pluginName": "@xano/cli",
|
|
6113
6084
|
"pluginType": "core",
|
|
@@ -6118,24 +6089,25 @@
|
|
|
6118
6089
|
"dist",
|
|
6119
6090
|
"commands",
|
|
6120
6091
|
"tenant",
|
|
6121
|
-
"
|
|
6122
|
-
"
|
|
6092
|
+
"cluster",
|
|
6093
|
+
"list",
|
|
6123
6094
|
"index.js"
|
|
6124
6095
|
]
|
|
6125
6096
|
},
|
|
6126
|
-
"tenant:
|
|
6097
|
+
"tenant:env:delete": {
|
|
6127
6098
|
"aliases": [],
|
|
6128
6099
|
"args": {
|
|
6129
6100
|
"tenant_name": {
|
|
6130
|
-
"description": "Tenant name
|
|
6101
|
+
"description": "Tenant name",
|
|
6131
6102
|
"name": "tenant_name",
|
|
6132
6103
|
"required": true
|
|
6133
6104
|
}
|
|
6134
6105
|
},
|
|
6135
|
-
"description": "
|
|
6106
|
+
"description": "Delete an environment variable from a tenant",
|
|
6136
6107
|
"examples": [
|
|
6137
|
-
"$ xano tenant
|
|
6138
|
-
"$ xano tenant
|
|
6108
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6109
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6110
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6139
6111
|
],
|
|
6140
6112
|
"flags": {
|
|
6141
6113
|
"profile": {
|
|
@@ -6157,6 +6129,23 @@
|
|
|
6157
6129
|
"allowNo": false,
|
|
6158
6130
|
"type": "boolean"
|
|
6159
6131
|
},
|
|
6132
|
+
"force": {
|
|
6133
|
+
"char": "f",
|
|
6134
|
+
"description": "Skip confirmation prompt",
|
|
6135
|
+
"name": "force",
|
|
6136
|
+
"required": false,
|
|
6137
|
+
"allowNo": false,
|
|
6138
|
+
"type": "boolean"
|
|
6139
|
+
},
|
|
6140
|
+
"name": {
|
|
6141
|
+
"char": "n",
|
|
6142
|
+
"description": "Environment variable name",
|
|
6143
|
+
"name": "name",
|
|
6144
|
+
"required": true,
|
|
6145
|
+
"hasDynamicHelp": false,
|
|
6146
|
+
"multiple": false,
|
|
6147
|
+
"type": "option"
|
|
6148
|
+
},
|
|
6160
6149
|
"output": {
|
|
6161
6150
|
"char": "o",
|
|
6162
6151
|
"description": "Output format",
|
|
@@ -6171,15 +6160,6 @@
|
|
|
6171
6160
|
],
|
|
6172
6161
|
"type": "option"
|
|
6173
6162
|
},
|
|
6174
|
-
"page": {
|
|
6175
|
-
"description": "Page number for pagination",
|
|
6176
|
-
"name": "page",
|
|
6177
|
-
"required": false,
|
|
6178
|
-
"default": 1,
|
|
6179
|
-
"hasDynamicHelp": false,
|
|
6180
|
-
"multiple": false,
|
|
6181
|
-
"type": "option"
|
|
6182
|
-
},
|
|
6183
6163
|
"workspace": {
|
|
6184
6164
|
"char": "w",
|
|
6185
6165
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6192,7 +6172,7 @@
|
|
|
6192
6172
|
},
|
|
6193
6173
|
"hasDynamicHelp": false,
|
|
6194
6174
|
"hiddenAliases": [],
|
|
6195
|
-
"id": "tenant:
|
|
6175
|
+
"id": "tenant:env:delete",
|
|
6196
6176
|
"pluginAlias": "@xano/cli",
|
|
6197
6177
|
"pluginName": "@xano/cli",
|
|
6198
6178
|
"pluginType": "core",
|
|
@@ -6203,24 +6183,24 @@
|
|
|
6203
6183
|
"dist",
|
|
6204
6184
|
"commands",
|
|
6205
6185
|
"tenant",
|
|
6206
|
-
"
|
|
6207
|
-
"
|
|
6186
|
+
"env",
|
|
6187
|
+
"delete",
|
|
6208
6188
|
"index.js"
|
|
6209
6189
|
]
|
|
6210
6190
|
},
|
|
6211
|
-
"tenant:
|
|
6191
|
+
"tenant:env:get": {
|
|
6212
6192
|
"aliases": [],
|
|
6213
6193
|
"args": {
|
|
6214
6194
|
"tenant_name": {
|
|
6215
|
-
"description": "Tenant name
|
|
6195
|
+
"description": "Tenant name",
|
|
6216
6196
|
"name": "tenant_name",
|
|
6217
6197
|
"required": true
|
|
6218
6198
|
}
|
|
6219
6199
|
},
|
|
6220
|
-
"description": "
|
|
6200
|
+
"description": "Get a single environment variable for a tenant",
|
|
6221
6201
|
"examples": [
|
|
6222
|
-
"$ xano tenant
|
|
6223
|
-
"$ xano tenant
|
|
6202
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6203
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6224
6204
|
],
|
|
6225
6205
|
"flags": {
|
|
6226
6206
|
"profile": {
|
|
@@ -6242,22 +6222,15 @@
|
|
|
6242
6222
|
"allowNo": false,
|
|
6243
6223
|
"type": "boolean"
|
|
6244
6224
|
},
|
|
6245
|
-
"
|
|
6246
|
-
"
|
|
6247
|
-
"
|
|
6225
|
+
"name": {
|
|
6226
|
+
"char": "n",
|
|
6227
|
+
"description": "Environment variable name",
|
|
6228
|
+
"name": "name",
|
|
6248
6229
|
"required": true,
|
|
6249
6230
|
"hasDynamicHelp": false,
|
|
6250
6231
|
"multiple": false,
|
|
6251
6232
|
"type": "option"
|
|
6252
6233
|
},
|
|
6253
|
-
"force": {
|
|
6254
|
-
"char": "f",
|
|
6255
|
-
"description": "Skip confirmation prompt",
|
|
6256
|
-
"name": "force",
|
|
6257
|
-
"required": false,
|
|
6258
|
-
"allowNo": false,
|
|
6259
|
-
"type": "boolean"
|
|
6260
|
-
},
|
|
6261
6234
|
"output": {
|
|
6262
6235
|
"char": "o",
|
|
6263
6236
|
"description": "Output format",
|
|
@@ -6284,7 +6257,7 @@
|
|
|
6284
6257
|
},
|
|
6285
6258
|
"hasDynamicHelp": false,
|
|
6286
6259
|
"hiddenAliases": [],
|
|
6287
|
-
"id": "tenant:
|
|
6260
|
+
"id": "tenant:env:get",
|
|
6288
6261
|
"pluginAlias": "@xano/cli",
|
|
6289
6262
|
"pluginName": "@xano/cli",
|
|
6290
6263
|
"pluginType": "core",
|
|
@@ -6295,25 +6268,26 @@
|
|
|
6295
6268
|
"dist",
|
|
6296
6269
|
"commands",
|
|
6297
6270
|
"tenant",
|
|
6298
|
-
"
|
|
6299
|
-
"
|
|
6271
|
+
"env",
|
|
6272
|
+
"get",
|
|
6300
6273
|
"index.js"
|
|
6301
6274
|
]
|
|
6302
6275
|
},
|
|
6303
|
-
"
|
|
6276
|
+
"tenant:env:get_all": {
|
|
6304
6277
|
"aliases": [],
|
|
6305
6278
|
"args": {
|
|
6306
|
-
"
|
|
6307
|
-
"description": "
|
|
6308
|
-
"name": "
|
|
6279
|
+
"tenant_name": {
|
|
6280
|
+
"description": "Tenant name",
|
|
6281
|
+
"name": "tenant_name",
|
|
6309
6282
|
"required": true
|
|
6310
6283
|
}
|
|
6311
6284
|
},
|
|
6312
|
-
"description": "
|
|
6285
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6313
6286
|
"examples": [
|
|
6314
|
-
"$ xano
|
|
6315
|
-
"$ xano
|
|
6316
|
-
"$ xano
|
|
6287
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6288
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6289
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6290
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6317
6291
|
],
|
|
6318
6292
|
"flags": {
|
|
6319
6293
|
"profile": {
|
|
@@ -6335,33 +6309,15 @@
|
|
|
6335
6309
|
"allowNo": false,
|
|
6336
6310
|
"type": "boolean"
|
|
6337
6311
|
},
|
|
6338
|
-
"
|
|
6339
|
-
"char": "
|
|
6340
|
-
"description": "
|
|
6341
|
-
"name": "
|
|
6312
|
+
"file": {
|
|
6313
|
+
"char": "f",
|
|
6314
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6315
|
+
"name": "file",
|
|
6342
6316
|
"required": false,
|
|
6343
6317
|
"hasDynamicHelp": false,
|
|
6344
6318
|
"multiple": false,
|
|
6345
6319
|
"type": "option"
|
|
6346
6320
|
},
|
|
6347
|
-
"file": {
|
|
6348
|
-
"char": "f",
|
|
6349
|
-
"description": "Path to zip file to upload",
|
|
6350
|
-
"name": "file",
|
|
6351
|
-
"required": true,
|
|
6352
|
-
"hasDynamicHelp": false,
|
|
6353
|
-
"multiple": false,
|
|
6354
|
-
"type": "option"
|
|
6355
|
-
},
|
|
6356
|
-
"name": {
|
|
6357
|
-
"char": "n",
|
|
6358
|
-
"description": "Build name",
|
|
6359
|
-
"name": "name",
|
|
6360
|
-
"required": true,
|
|
6361
|
-
"hasDynamicHelp": false,
|
|
6362
|
-
"multiple": false,
|
|
6363
|
-
"type": "option"
|
|
6364
|
-
},
|
|
6365
6321
|
"output": {
|
|
6366
6322
|
"char": "o",
|
|
6367
6323
|
"description": "Output format",
|
|
@@ -6376,9 +6332,16 @@
|
|
|
6376
6332
|
],
|
|
6377
6333
|
"type": "option"
|
|
6378
6334
|
},
|
|
6335
|
+
"view": {
|
|
6336
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6337
|
+
"name": "view",
|
|
6338
|
+
"required": false,
|
|
6339
|
+
"allowNo": false,
|
|
6340
|
+
"type": "boolean"
|
|
6341
|
+
},
|
|
6379
6342
|
"workspace": {
|
|
6380
6343
|
"char": "w",
|
|
6381
|
-
"description": "Workspace ID (
|
|
6344
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6382
6345
|
"name": "workspace",
|
|
6383
6346
|
"required": false,
|
|
6384
6347
|
"hasDynamicHelp": false,
|
|
@@ -6388,7 +6351,7 @@
|
|
|
6388
6351
|
},
|
|
6389
6352
|
"hasDynamicHelp": false,
|
|
6390
6353
|
"hiddenAliases": [],
|
|
6391
|
-
"id": "
|
|
6354
|
+
"id": "tenant:env:get_all",
|
|
6392
6355
|
"pluginAlias": "@xano/cli",
|
|
6393
6356
|
"pluginName": "@xano/cli",
|
|
6394
6357
|
"pluginType": "core",
|
|
@@ -6398,19 +6361,25 @@
|
|
|
6398
6361
|
"relativePath": [
|
|
6399
6362
|
"dist",
|
|
6400
6363
|
"commands",
|
|
6401
|
-
"
|
|
6402
|
-
"
|
|
6403
|
-
"
|
|
6364
|
+
"tenant",
|
|
6365
|
+
"env",
|
|
6366
|
+
"get_all",
|
|
6404
6367
|
"index.js"
|
|
6405
6368
|
]
|
|
6406
6369
|
},
|
|
6407
|
-
"tenant:
|
|
6370
|
+
"tenant:env:list": {
|
|
6408
6371
|
"aliases": [],
|
|
6409
|
-
"args": {
|
|
6410
|
-
|
|
6372
|
+
"args": {
|
|
6373
|
+
"tenant_name": {
|
|
6374
|
+
"description": "Tenant name",
|
|
6375
|
+
"name": "tenant_name",
|
|
6376
|
+
"required": true
|
|
6377
|
+
}
|
|
6378
|
+
},
|
|
6379
|
+
"description": "List environment variable keys for a tenant",
|
|
6411
6380
|
"examples": [
|
|
6412
|
-
"$ xano tenant
|
|
6413
|
-
"$ xano tenant
|
|
6381
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6382
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6414
6383
|
],
|
|
6415
6384
|
"flags": {
|
|
6416
6385
|
"profile": {
|
|
@@ -6432,54 +6401,6 @@
|
|
|
6432
6401
|
"allowNo": false,
|
|
6433
6402
|
"type": "boolean"
|
|
6434
6403
|
},
|
|
6435
|
-
"credentials": {
|
|
6436
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
6437
|
-
"exclusive": [
|
|
6438
|
-
"credentials_file"
|
|
6439
|
-
],
|
|
6440
|
-
"name": "credentials",
|
|
6441
|
-
"required": false,
|
|
6442
|
-
"hasDynamicHelp": false,
|
|
6443
|
-
"multiple": false,
|
|
6444
|
-
"type": "option"
|
|
6445
|
-
},
|
|
6446
|
-
"credentials_file": {
|
|
6447
|
-
"description": "Path to kubeconfig credentials file",
|
|
6448
|
-
"exclusive": [
|
|
6449
|
-
"credentials"
|
|
6450
|
-
],
|
|
6451
|
-
"name": "credentials_file",
|
|
6452
|
-
"required": false,
|
|
6453
|
-
"hasDynamicHelp": false,
|
|
6454
|
-
"multiple": false,
|
|
6455
|
-
"type": "option"
|
|
6456
|
-
},
|
|
6457
|
-
"description": {
|
|
6458
|
-
"char": "d",
|
|
6459
|
-
"description": "Cluster description",
|
|
6460
|
-
"name": "description",
|
|
6461
|
-
"required": false,
|
|
6462
|
-
"hasDynamicHelp": false,
|
|
6463
|
-
"multiple": false,
|
|
6464
|
-
"type": "option"
|
|
6465
|
-
},
|
|
6466
|
-
"domain": {
|
|
6467
|
-
"description": "Custom domain for the cluster",
|
|
6468
|
-
"name": "domain",
|
|
6469
|
-
"required": false,
|
|
6470
|
-
"hasDynamicHelp": false,
|
|
6471
|
-
"multiple": false,
|
|
6472
|
-
"type": "option"
|
|
6473
|
-
},
|
|
6474
|
-
"name": {
|
|
6475
|
-
"char": "n",
|
|
6476
|
-
"description": "Cluster name",
|
|
6477
|
-
"name": "name",
|
|
6478
|
-
"required": true,
|
|
6479
|
-
"hasDynamicHelp": false,
|
|
6480
|
-
"multiple": false,
|
|
6481
|
-
"type": "option"
|
|
6482
|
-
},
|
|
6483
6404
|
"output": {
|
|
6484
6405
|
"char": "o",
|
|
6485
6406
|
"description": "Output format",
|
|
@@ -6494,23 +6415,19 @@
|
|
|
6494
6415
|
],
|
|
6495
6416
|
"type": "option"
|
|
6496
6417
|
},
|
|
6497
|
-
"
|
|
6498
|
-
"
|
|
6499
|
-
"
|
|
6418
|
+
"workspace": {
|
|
6419
|
+
"char": "w",
|
|
6420
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6421
|
+
"name": "workspace",
|
|
6500
6422
|
"required": false,
|
|
6501
|
-
"default": "standard",
|
|
6502
6423
|
"hasDynamicHelp": false,
|
|
6503
6424
|
"multiple": false,
|
|
6504
|
-
"options": [
|
|
6505
|
-
"standard",
|
|
6506
|
-
"run"
|
|
6507
|
-
],
|
|
6508
6425
|
"type": "option"
|
|
6509
6426
|
}
|
|
6510
6427
|
},
|
|
6511
6428
|
"hasDynamicHelp": false,
|
|
6512
6429
|
"hiddenAliases": [],
|
|
6513
|
-
"id": "tenant:
|
|
6430
|
+
"id": "tenant:env:list",
|
|
6514
6431
|
"pluginAlias": "@xano/cli",
|
|
6515
6432
|
"pluginName": "@xano/cli",
|
|
6516
6433
|
"pluginType": "core",
|
|
@@ -6521,25 +6438,24 @@
|
|
|
6521
6438
|
"dist",
|
|
6522
6439
|
"commands",
|
|
6523
6440
|
"tenant",
|
|
6524
|
-
"
|
|
6525
|
-
"
|
|
6441
|
+
"env",
|
|
6442
|
+
"list",
|
|
6526
6443
|
"index.js"
|
|
6527
6444
|
]
|
|
6528
6445
|
},
|
|
6529
|
-
"tenant:
|
|
6446
|
+
"tenant:env:set": {
|
|
6530
6447
|
"aliases": [],
|
|
6531
6448
|
"args": {
|
|
6532
|
-
"
|
|
6533
|
-
"description": "
|
|
6534
|
-
"name": "
|
|
6449
|
+
"tenant_name": {
|
|
6450
|
+
"description": "Tenant name",
|
|
6451
|
+
"name": "tenant_name",
|
|
6535
6452
|
"required": true
|
|
6536
6453
|
}
|
|
6537
6454
|
},
|
|
6538
|
-
"description": "
|
|
6455
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6539
6456
|
"examples": [
|
|
6540
|
-
"$ xano tenant
|
|
6541
|
-
"$ xano tenant
|
|
6542
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
6457
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6458
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6543
6459
|
],
|
|
6544
6460
|
"flags": {
|
|
6545
6461
|
"profile": {
|
|
@@ -6561,13 +6477,14 @@
|
|
|
6561
6477
|
"allowNo": false,
|
|
6562
6478
|
"type": "boolean"
|
|
6563
6479
|
},
|
|
6564
|
-
"
|
|
6565
|
-
"char": "
|
|
6566
|
-
"description": "
|
|
6567
|
-
"name": "
|
|
6568
|
-
"required":
|
|
6569
|
-
"
|
|
6570
|
-
"
|
|
6480
|
+
"name": {
|
|
6481
|
+
"char": "n",
|
|
6482
|
+
"description": "Environment variable name",
|
|
6483
|
+
"name": "name",
|
|
6484
|
+
"required": true,
|
|
6485
|
+
"hasDynamicHelp": false,
|
|
6486
|
+
"multiple": false,
|
|
6487
|
+
"type": "option"
|
|
6571
6488
|
},
|
|
6572
6489
|
"output": {
|
|
6573
6490
|
"char": "o",
|
|
@@ -6582,11 +6499,28 @@
|
|
|
6582
6499
|
"json"
|
|
6583
6500
|
],
|
|
6584
6501
|
"type": "option"
|
|
6502
|
+
},
|
|
6503
|
+
"value": {
|
|
6504
|
+
"description": "Environment variable value",
|
|
6505
|
+
"name": "value",
|
|
6506
|
+
"required": true,
|
|
6507
|
+
"hasDynamicHelp": false,
|
|
6508
|
+
"multiple": false,
|
|
6509
|
+
"type": "option"
|
|
6510
|
+
},
|
|
6511
|
+
"workspace": {
|
|
6512
|
+
"char": "w",
|
|
6513
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6514
|
+
"name": "workspace",
|
|
6515
|
+
"required": false,
|
|
6516
|
+
"hasDynamicHelp": false,
|
|
6517
|
+
"multiple": false,
|
|
6518
|
+
"type": "option"
|
|
6585
6519
|
}
|
|
6586
6520
|
},
|
|
6587
6521
|
"hasDynamicHelp": false,
|
|
6588
6522
|
"hiddenAliases": [],
|
|
6589
|
-
"id": "tenant:
|
|
6523
|
+
"id": "tenant:env:set",
|
|
6590
6524
|
"pluginAlias": "@xano/cli",
|
|
6591
6525
|
"pluginName": "@xano/cli",
|
|
6592
6526
|
"pluginType": "core",
|
|
@@ -6597,18 +6531,25 @@
|
|
|
6597
6531
|
"dist",
|
|
6598
6532
|
"commands",
|
|
6599
6533
|
"tenant",
|
|
6600
|
-
"
|
|
6601
|
-
"
|
|
6534
|
+
"env",
|
|
6535
|
+
"set",
|
|
6602
6536
|
"index.js"
|
|
6603
6537
|
]
|
|
6604
6538
|
},
|
|
6605
|
-
"tenant:
|
|
6539
|
+
"tenant:env:set_all": {
|
|
6606
6540
|
"aliases": [],
|
|
6607
|
-
"args": {
|
|
6608
|
-
|
|
6541
|
+
"args": {
|
|
6542
|
+
"tenant_name": {
|
|
6543
|
+
"description": "Tenant name",
|
|
6544
|
+
"name": "tenant_name",
|
|
6545
|
+
"required": true
|
|
6546
|
+
}
|
|
6547
|
+
},
|
|
6548
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6609
6549
|
"examples": [
|
|
6610
|
-
"$ xano tenant
|
|
6611
|
-
"$ xano tenant
|
|
6550
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6551
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6552
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6612
6553
|
],
|
|
6613
6554
|
"flags": {
|
|
6614
6555
|
"profile": {
|
|
@@ -6630,6 +6571,22 @@
|
|
|
6630
6571
|
"allowNo": false,
|
|
6631
6572
|
"type": "boolean"
|
|
6632
6573
|
},
|
|
6574
|
+
"clean": {
|
|
6575
|
+
"description": "Remove the source file after successful upload",
|
|
6576
|
+
"name": "clean",
|
|
6577
|
+
"required": false,
|
|
6578
|
+
"allowNo": false,
|
|
6579
|
+
"type": "boolean"
|
|
6580
|
+
},
|
|
6581
|
+
"file": {
|
|
6582
|
+
"char": "f",
|
|
6583
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6584
|
+
"name": "file",
|
|
6585
|
+
"required": false,
|
|
6586
|
+
"hasDynamicHelp": false,
|
|
6587
|
+
"multiple": false,
|
|
6588
|
+
"type": "option"
|
|
6589
|
+
},
|
|
6633
6590
|
"output": {
|
|
6634
6591
|
"char": "o",
|
|
6635
6592
|
"description": "Output format",
|
|
@@ -6643,11 +6600,20 @@
|
|
|
6643
6600
|
"json"
|
|
6644
6601
|
],
|
|
6645
6602
|
"type": "option"
|
|
6603
|
+
},
|
|
6604
|
+
"workspace": {
|
|
6605
|
+
"char": "w",
|
|
6606
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6607
|
+
"name": "workspace",
|
|
6608
|
+
"required": false,
|
|
6609
|
+
"hasDynamicHelp": false,
|
|
6610
|
+
"multiple": false,
|
|
6611
|
+
"type": "option"
|
|
6646
6612
|
}
|
|
6647
6613
|
},
|
|
6648
6614
|
"hasDynamicHelp": false,
|
|
6649
6615
|
"hiddenAliases": [],
|
|
6650
|
-
"id": "tenant:
|
|
6616
|
+
"id": "tenant:env:set_all",
|
|
6651
6617
|
"pluginAlias": "@xano/cli",
|
|
6652
6618
|
"pluginName": "@xano/cli",
|
|
6653
6619
|
"pluginType": "core",
|
|
@@ -6658,29 +6624,26 @@
|
|
|
6658
6624
|
"dist",
|
|
6659
6625
|
"commands",
|
|
6660
6626
|
"tenant",
|
|
6661
|
-
"
|
|
6662
|
-
"
|
|
6627
|
+
"env",
|
|
6628
|
+
"set_all",
|
|
6663
6629
|
"index.js"
|
|
6664
6630
|
]
|
|
6665
6631
|
},
|
|
6666
|
-
"
|
|
6632
|
+
"tenant:license:get": {
|
|
6667
6633
|
"aliases": [],
|
|
6668
6634
|
"args": {
|
|
6669
|
-
"
|
|
6670
|
-
"description": "
|
|
6671
|
-
"name": "
|
|
6635
|
+
"tenant_name": {
|
|
6636
|
+
"description": "Tenant name",
|
|
6637
|
+
"name": "tenant_name",
|
|
6672
6638
|
"required": true
|
|
6673
6639
|
}
|
|
6674
6640
|
},
|
|
6675
|
-
"description": "
|
|
6641
|
+
"description": "Get the license for a tenant",
|
|
6676
6642
|
"examples": [
|
|
6677
|
-
"$ xano
|
|
6678
|
-
"$ xano
|
|
6679
|
-
"$ xano
|
|
6680
|
-
"$ xano
|
|
6681
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6682
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6683
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6643
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6644
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6645
|
+
"$ xano tenant license get my-tenant --view",
|
|
6646
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6684
6647
|
],
|
|
6685
6648
|
"flags": {
|
|
6686
6649
|
"profile": {
|
|
@@ -6702,37 +6665,40 @@
|
|
|
6702
6665
|
"allowNo": false,
|
|
6703
6666
|
"type": "boolean"
|
|
6704
6667
|
},
|
|
6705
|
-
"
|
|
6706
|
-
"char": "
|
|
6707
|
-
"description": "
|
|
6708
|
-
"name": "
|
|
6668
|
+
"file": {
|
|
6669
|
+
"char": "f",
|
|
6670
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6671
|
+
"name": "file",
|
|
6709
6672
|
"required": false,
|
|
6710
6673
|
"hasDynamicHelp": false,
|
|
6711
6674
|
"multiple": false,
|
|
6712
6675
|
"type": "option"
|
|
6713
6676
|
},
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6716
|
-
"
|
|
6677
|
+
"output": {
|
|
6678
|
+
"char": "o",
|
|
6679
|
+
"description": "Output format",
|
|
6680
|
+
"name": "output",
|
|
6717
6681
|
"required": false,
|
|
6682
|
+
"default": "summary",
|
|
6718
6683
|
"hasDynamicHelp": false,
|
|
6719
6684
|
"multiple": false,
|
|
6685
|
+
"options": [
|
|
6686
|
+
"summary",
|
|
6687
|
+
"json"
|
|
6688
|
+
],
|
|
6720
6689
|
"type": "option"
|
|
6721
6690
|
},
|
|
6722
|
-
"
|
|
6723
|
-
"
|
|
6724
|
-
"
|
|
6725
|
-
"
|
|
6726
|
-
"
|
|
6727
|
-
"
|
|
6728
|
-
"multiple": false,
|
|
6729
|
-
"type": "option"
|
|
6691
|
+
"view": {
|
|
6692
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6693
|
+
"name": "view",
|
|
6694
|
+
"required": false,
|
|
6695
|
+
"allowNo": false,
|
|
6696
|
+
"type": "boolean"
|
|
6730
6697
|
},
|
|
6731
|
-
"
|
|
6732
|
-
"char": "
|
|
6733
|
-
"description": "
|
|
6734
|
-
"
|
|
6735
|
-
"name": "token",
|
|
6698
|
+
"workspace": {
|
|
6699
|
+
"char": "w",
|
|
6700
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6701
|
+
"name": "workspace",
|
|
6736
6702
|
"required": false,
|
|
6737
6703
|
"hasDynamicHelp": false,
|
|
6738
6704
|
"multiple": false,
|
|
@@ -6741,7 +6707,7 @@
|
|
|
6741
6707
|
},
|
|
6742
6708
|
"hasDynamicHelp": false,
|
|
6743
6709
|
"hiddenAliases": [],
|
|
6744
|
-
"id": "
|
|
6710
|
+
"id": "tenant:license:get",
|
|
6745
6711
|
"pluginAlias": "@xano/cli",
|
|
6746
6712
|
"pluginName": "@xano/cli",
|
|
6747
6713
|
"pluginType": "core",
|
|
@@ -6751,25 +6717,27 @@
|
|
|
6751
6717
|
"relativePath": [
|
|
6752
6718
|
"dist",
|
|
6753
6719
|
"commands",
|
|
6754
|
-
"
|
|
6755
|
-
"
|
|
6756
|
-
"
|
|
6720
|
+
"tenant",
|
|
6721
|
+
"license",
|
|
6722
|
+
"get",
|
|
6757
6723
|
"index.js"
|
|
6758
6724
|
]
|
|
6759
6725
|
},
|
|
6760
|
-
"tenant:
|
|
6726
|
+
"tenant:license:set": {
|
|
6761
6727
|
"aliases": [],
|
|
6762
6728
|
"args": {
|
|
6763
|
-
"
|
|
6764
|
-
"description": "
|
|
6765
|
-
"name": "
|
|
6729
|
+
"tenant_name": {
|
|
6730
|
+
"description": "Tenant name",
|
|
6731
|
+
"name": "tenant_name",
|
|
6766
6732
|
"required": true
|
|
6767
6733
|
}
|
|
6768
6734
|
},
|
|
6769
|
-
"description": "
|
|
6735
|
+
"description": "Set/update the license for a tenant",
|
|
6770
6736
|
"examples": [
|
|
6771
|
-
"$ xano tenant
|
|
6772
|
-
"$ xano tenant
|
|
6737
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6738
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6739
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6740
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6773
6741
|
],
|
|
6774
6742
|
"flags": {
|
|
6775
6743
|
"profile": {
|
|
@@ -6791,6 +6759,28 @@
|
|
|
6791
6759
|
"allowNo": false,
|
|
6792
6760
|
"type": "boolean"
|
|
6793
6761
|
},
|
|
6762
|
+
"clean": {
|
|
6763
|
+
"description": "Remove the source file after successful upload",
|
|
6764
|
+
"exclusive": [
|
|
6765
|
+
"value"
|
|
6766
|
+
],
|
|
6767
|
+
"name": "clean",
|
|
6768
|
+
"required": false,
|
|
6769
|
+
"allowNo": false,
|
|
6770
|
+
"type": "boolean"
|
|
6771
|
+
},
|
|
6772
|
+
"file": {
|
|
6773
|
+
"char": "f",
|
|
6774
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6775
|
+
"exclusive": [
|
|
6776
|
+
"value"
|
|
6777
|
+
],
|
|
6778
|
+
"name": "file",
|
|
6779
|
+
"required": false,
|
|
6780
|
+
"hasDynamicHelp": false,
|
|
6781
|
+
"multiple": false,
|
|
6782
|
+
"type": "option"
|
|
6783
|
+
},
|
|
6794
6784
|
"output": {
|
|
6795
6785
|
"char": "o",
|
|
6796
6786
|
"description": "Output format",
|
|
@@ -6804,11 +6794,32 @@
|
|
|
6804
6794
|
"json"
|
|
6805
6795
|
],
|
|
6806
6796
|
"type": "option"
|
|
6797
|
+
},
|
|
6798
|
+
"value": {
|
|
6799
|
+
"description": "Inline license value",
|
|
6800
|
+
"exclusive": [
|
|
6801
|
+
"file",
|
|
6802
|
+
"clean"
|
|
6803
|
+
],
|
|
6804
|
+
"name": "value",
|
|
6805
|
+
"required": false,
|
|
6806
|
+
"hasDynamicHelp": false,
|
|
6807
|
+
"multiple": false,
|
|
6808
|
+
"type": "option"
|
|
6809
|
+
},
|
|
6810
|
+
"workspace": {
|
|
6811
|
+
"char": "w",
|
|
6812
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6813
|
+
"name": "workspace",
|
|
6814
|
+
"required": false,
|
|
6815
|
+
"hasDynamicHelp": false,
|
|
6816
|
+
"multiple": false,
|
|
6817
|
+
"type": "option"
|
|
6807
6818
|
}
|
|
6808
6819
|
},
|
|
6809
6820
|
"hasDynamicHelp": false,
|
|
6810
6821
|
"hiddenAliases": [],
|
|
6811
|
-
"id": "tenant:
|
|
6822
|
+
"id": "tenant:license:set",
|
|
6812
6823
|
"pluginAlias": "@xano/cli",
|
|
6813
6824
|
"pluginName": "@xano/cli",
|
|
6814
6825
|
"pluginType": "core",
|
|
@@ -6819,24 +6830,29 @@
|
|
|
6819
6830
|
"dist",
|
|
6820
6831
|
"commands",
|
|
6821
6832
|
"tenant",
|
|
6822
|
-
"
|
|
6823
|
-
"
|
|
6833
|
+
"license",
|
|
6834
|
+
"set",
|
|
6824
6835
|
"index.js"
|
|
6825
6836
|
]
|
|
6826
6837
|
},
|
|
6827
|
-
"
|
|
6838
|
+
"workspace:git:pull": {
|
|
6828
6839
|
"aliases": [],
|
|
6829
6840
|
"args": {
|
|
6830
|
-
"
|
|
6831
|
-
"description": "
|
|
6832
|
-
"name": "
|
|
6841
|
+
"directory": {
|
|
6842
|
+
"description": "Output directory for imported files",
|
|
6843
|
+
"name": "directory",
|
|
6833
6844
|
"required": true
|
|
6834
6845
|
}
|
|
6835
6846
|
},
|
|
6836
|
-
"description": "
|
|
6847
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6837
6848
|
"examples": [
|
|
6838
|
-
"$ xano
|
|
6839
|
-
"$ xano
|
|
6849
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6850
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6851
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6852
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6853
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6854
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6855
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6840
6856
|
],
|
|
6841
6857
|
"flags": {
|
|
6842
6858
|
"profile": {
|
|
@@ -6858,62 +6874,46 @@
|
|
|
6858
6874
|
"allowNo": false,
|
|
6859
6875
|
"type": "boolean"
|
|
6860
6876
|
},
|
|
6861
|
-
"
|
|
6862
|
-
"char": "
|
|
6863
|
-
"description": "
|
|
6864
|
-
"name": "
|
|
6865
|
-
"required":
|
|
6877
|
+
"branch": {
|
|
6878
|
+
"char": "b",
|
|
6879
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6880
|
+
"name": "branch",
|
|
6881
|
+
"required": false,
|
|
6866
6882
|
"hasDynamicHelp": false,
|
|
6867
6883
|
"multiple": false,
|
|
6868
6884
|
"type": "option"
|
|
6869
6885
|
},
|
|
6870
|
-
"
|
|
6871
|
-
"description": "
|
|
6872
|
-
"name": "
|
|
6873
|
-
"required":
|
|
6886
|
+
"path": {
|
|
6887
|
+
"description": "Subdirectory within the repo to import from",
|
|
6888
|
+
"name": "path",
|
|
6889
|
+
"required": false,
|
|
6874
6890
|
"hasDynamicHelp": false,
|
|
6875
6891
|
"multiple": false,
|
|
6876
6892
|
"type": "option"
|
|
6877
6893
|
},
|
|
6878
|
-
"
|
|
6879
|
-
"char": "
|
|
6880
|
-
"description": "
|
|
6881
|
-
"name": "
|
|
6894
|
+
"repo": {
|
|
6895
|
+
"char": "r",
|
|
6896
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6897
|
+
"name": "repo",
|
|
6882
6898
|
"required": true,
|
|
6883
6899
|
"hasDynamicHelp": false,
|
|
6884
6900
|
"multiple": false,
|
|
6885
6901
|
"type": "option"
|
|
6886
6902
|
},
|
|
6887
|
-
"
|
|
6888
|
-
"char": "
|
|
6889
|
-
"description": "
|
|
6890
|
-
"
|
|
6903
|
+
"token": {
|
|
6904
|
+
"char": "t",
|
|
6905
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6906
|
+
"env": "GITHUB_TOKEN",
|
|
6907
|
+
"name": "token",
|
|
6891
6908
|
"required": false,
|
|
6892
|
-
"default": "summary",
|
|
6893
6909
|
"hasDynamicHelp": false,
|
|
6894
6910
|
"multiple": false,
|
|
6895
|
-
"options": [
|
|
6896
|
-
"summary",
|
|
6897
|
-
"json"
|
|
6898
|
-
],
|
|
6899
|
-
"type": "option"
|
|
6900
|
-
},
|
|
6901
|
-
"type": {
|
|
6902
|
-
"description": "Cluster type",
|
|
6903
|
-
"name": "type",
|
|
6904
|
-
"required": true,
|
|
6905
|
-
"hasDynamicHelp": false,
|
|
6906
|
-
"multiple": false,
|
|
6907
|
-
"options": [
|
|
6908
|
-
"standard",
|
|
6909
|
-
"run"
|
|
6910
|
-
],
|
|
6911
6911
|
"type": "option"
|
|
6912
6912
|
}
|
|
6913
6913
|
},
|
|
6914
6914
|
"hasDynamicHelp": false,
|
|
6915
6915
|
"hiddenAliases": [],
|
|
6916
|
-
"id": "
|
|
6916
|
+
"id": "workspace:git:pull",
|
|
6917
6917
|
"pluginAlias": "@xano/cli",
|
|
6918
6918
|
"pluginName": "@xano/cli",
|
|
6919
6919
|
"pluginType": "core",
|
|
@@ -6923,9 +6923,9 @@
|
|
|
6923
6923
|
"relativePath": [
|
|
6924
6924
|
"dist",
|
|
6925
6925
|
"commands",
|
|
6926
|
-
"
|
|
6927
|
-
"
|
|
6928
|
-
"
|
|
6926
|
+
"workspace",
|
|
6927
|
+
"git",
|
|
6928
|
+
"pull",
|
|
6929
6929
|
"index.js"
|
|
6930
6930
|
]
|
|
6931
6931
|
},
|
|
@@ -7120,5 +7120,5 @@
|
|
|
7120
7120
|
]
|
|
7121
7121
|
}
|
|
7122
7122
|
},
|
|
7123
|
-
"version": "0.0.
|
|
7123
|
+
"version": "0.0.71-beta.0"
|
|
7124
7124
|
}
|