@xano/cli 0.0.66 → 0.0.67
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,14 +93,20 @@
|
|
|
93
93
|
"index.js"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
-
"branch:
|
|
96
|
+
"branch:edit": {
|
|
97
97
|
"aliases": [],
|
|
98
|
-
"args": {
|
|
99
|
-
|
|
98
|
+
"args": {
|
|
99
|
+
"branch_label": {
|
|
100
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
101
|
+
"name": "branch_label",
|
|
102
|
+
"required": true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
100
106
|
"examples": [
|
|
101
|
-
"$ xano branch
|
|
102
|
-
"$ xano branch
|
|
103
|
-
"$ xano branch
|
|
107
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
108
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
109
|
+
"$ 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"
|
|
104
110
|
],
|
|
105
111
|
"flags": {
|
|
106
112
|
"profile": {
|
|
@@ -124,7 +130,7 @@
|
|
|
124
130
|
},
|
|
125
131
|
"color": {
|
|
126
132
|
"char": "c",
|
|
127
|
-
"description": "
|
|
133
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
128
134
|
"name": "color",
|
|
129
135
|
"required": false,
|
|
130
136
|
"hasDynamicHelp": false,
|
|
@@ -133,7 +139,7 @@
|
|
|
133
139
|
},
|
|
134
140
|
"description": {
|
|
135
141
|
"char": "d",
|
|
136
|
-
"description": "
|
|
142
|
+
"description": "New description for the branch",
|
|
137
143
|
"name": "description",
|
|
138
144
|
"required": false,
|
|
139
145
|
"hasDynamicHelp": false,
|
|
@@ -142,9 +148,9 @@
|
|
|
142
148
|
},
|
|
143
149
|
"label": {
|
|
144
150
|
"char": "l",
|
|
145
|
-
"description": "
|
|
151
|
+
"description": "New label for the branch",
|
|
146
152
|
"name": "label",
|
|
147
|
-
"required":
|
|
153
|
+
"required": false,
|
|
148
154
|
"hasDynamicHelp": false,
|
|
149
155
|
"multiple": false,
|
|
150
156
|
"type": "option"
|
|
@@ -163,16 +169,6 @@
|
|
|
163
169
|
],
|
|
164
170
|
"type": "option"
|
|
165
171
|
},
|
|
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
172
|
"workspace": {
|
|
177
173
|
"char": "w",
|
|
178
174
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -185,7 +181,7 @@
|
|
|
185
181
|
},
|
|
186
182
|
"hasDynamicHelp": false,
|
|
187
183
|
"hiddenAliases": [],
|
|
188
|
-
"id": "branch:
|
|
184
|
+
"id": "branch:edit",
|
|
189
185
|
"pluginAlias": "@xano/cli",
|
|
190
186
|
"pluginName": "@xano/cli",
|
|
191
187
|
"pluginType": "core",
|
|
@@ -196,7 +192,7 @@
|
|
|
196
192
|
"dist",
|
|
197
193
|
"commands",
|
|
198
194
|
"branch",
|
|
199
|
-
"
|
|
195
|
+
"edit",
|
|
200
196
|
"index.js"
|
|
201
197
|
]
|
|
202
198
|
},
|
|
@@ -284,20 +280,14 @@
|
|
|
284
280
|
"index.js"
|
|
285
281
|
]
|
|
286
282
|
},
|
|
287
|
-
"branch:
|
|
283
|
+
"branch:create": {
|
|
288
284
|
"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)",
|
|
285
|
+
"args": {},
|
|
286
|
+
"description": "Create a new branch by cloning from an existing branch",
|
|
297
287
|
"examples": [
|
|
298
|
-
"$ xano branch
|
|
299
|
-
"$ xano branch
|
|
300
|
-
"$ xano branch
|
|
288
|
+
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
289
|
+
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
290
|
+
"$ 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
291
|
],
|
|
302
292
|
"flags": {
|
|
303
293
|
"profile": {
|
|
@@ -321,7 +311,7 @@
|
|
|
321
311
|
},
|
|
322
312
|
"color": {
|
|
323
313
|
"char": "c",
|
|
324
|
-
"description": "
|
|
314
|
+
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
325
315
|
"name": "color",
|
|
326
316
|
"required": false,
|
|
327
317
|
"hasDynamicHelp": false,
|
|
@@ -330,7 +320,7 @@
|
|
|
330
320
|
},
|
|
331
321
|
"description": {
|
|
332
322
|
"char": "d",
|
|
333
|
-
"description": "
|
|
323
|
+
"description": "Description for the new branch",
|
|
334
324
|
"name": "description",
|
|
335
325
|
"required": false,
|
|
336
326
|
"hasDynamicHelp": false,
|
|
@@ -339,9 +329,9 @@
|
|
|
339
329
|
},
|
|
340
330
|
"label": {
|
|
341
331
|
"char": "l",
|
|
342
|
-
"description": "
|
|
332
|
+
"description": "Label for the new branch",
|
|
343
333
|
"name": "label",
|
|
344
|
-
"required":
|
|
334
|
+
"required": true,
|
|
345
335
|
"hasDynamicHelp": false,
|
|
346
336
|
"multiple": false,
|
|
347
337
|
"type": "option"
|
|
@@ -360,6 +350,16 @@
|
|
|
360
350
|
],
|
|
361
351
|
"type": "option"
|
|
362
352
|
},
|
|
353
|
+
"source": {
|
|
354
|
+
"char": "s",
|
|
355
|
+
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
356
|
+
"name": "source",
|
|
357
|
+
"required": false,
|
|
358
|
+
"default": "v1",
|
|
359
|
+
"hasDynamicHelp": false,
|
|
360
|
+
"multiple": false,
|
|
361
|
+
"type": "option"
|
|
362
|
+
},
|
|
363
363
|
"workspace": {
|
|
364
364
|
"char": "w",
|
|
365
365
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
},
|
|
373
373
|
"hasDynamicHelp": false,
|
|
374
374
|
"hiddenAliases": [],
|
|
375
|
-
"id": "branch:
|
|
375
|
+
"id": "branch:create",
|
|
376
376
|
"pluginAlias": "@xano/cli",
|
|
377
377
|
"pluginName": "@xano/cli",
|
|
378
378
|
"pluginType": "core",
|
|
@@ -383,24 +383,24 @@
|
|
|
383
383
|
"dist",
|
|
384
384
|
"commands",
|
|
385
385
|
"branch",
|
|
386
|
-
"
|
|
386
|
+
"create",
|
|
387
387
|
"index.js"
|
|
388
388
|
]
|
|
389
389
|
},
|
|
390
|
-
"branch:
|
|
390
|
+
"branch:get": {
|
|
391
391
|
"aliases": [],
|
|
392
392
|
"args": {
|
|
393
|
-
"
|
|
394
|
-
"description": "
|
|
395
|
-
"name": "
|
|
396
|
-
"required":
|
|
393
|
+
"branch_label": {
|
|
394
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
395
|
+
"name": "branch_label",
|
|
396
|
+
"required": true
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
|
-
"description": "
|
|
399
|
+
"description": "Get details for a specific branch",
|
|
400
400
|
"examples": [
|
|
401
|
-
"$ xano branch
|
|
402
|
-
"$ xano branch
|
|
403
|
-
"$ xano branch
|
|
401
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
402
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
403
|
+
"$ 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"
|
|
404
404
|
],
|
|
405
405
|
"flags": {
|
|
406
406
|
"profile": {
|
|
@@ -435,11 +435,20 @@
|
|
|
435
435
|
"json"
|
|
436
436
|
],
|
|
437
437
|
"type": "option"
|
|
438
|
+
},
|
|
439
|
+
"workspace": {
|
|
440
|
+
"char": "w",
|
|
441
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
442
|
+
"name": "workspace",
|
|
443
|
+
"required": false,
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"multiple": false,
|
|
446
|
+
"type": "option"
|
|
438
447
|
}
|
|
439
448
|
},
|
|
440
449
|
"hasDynamicHelp": false,
|
|
441
450
|
"hiddenAliases": [],
|
|
442
|
-
"id": "branch:
|
|
451
|
+
"id": "branch:get",
|
|
443
452
|
"pluginAlias": "@xano/cli",
|
|
444
453
|
"pluginName": "@xano/cli",
|
|
445
454
|
"pluginType": "core",
|
|
@@ -450,7 +459,7 @@
|
|
|
450
459
|
"dist",
|
|
451
460
|
"commands",
|
|
452
461
|
"branch",
|
|
453
|
-
"
|
|
462
|
+
"get",
|
|
454
463
|
"index.js"
|
|
455
464
|
]
|
|
456
465
|
},
|
|
@@ -538,6 +547,139 @@
|
|
|
538
547
|
"index.js"
|
|
539
548
|
]
|
|
540
549
|
},
|
|
550
|
+
"branch:list": {
|
|
551
|
+
"aliases": [],
|
|
552
|
+
"args": {
|
|
553
|
+
"workspace_id": {
|
|
554
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
555
|
+
"name": "workspace_id",
|
|
556
|
+
"required": false
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"description": "List all branches in a workspace",
|
|
560
|
+
"examples": [
|
|
561
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
562
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
563
|
+
"$ 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"
|
|
564
|
+
],
|
|
565
|
+
"flags": {
|
|
566
|
+
"profile": {
|
|
567
|
+
"char": "p",
|
|
568
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
569
|
+
"env": "XANO_PROFILE",
|
|
570
|
+
"name": "profile",
|
|
571
|
+
"required": false,
|
|
572
|
+
"hasDynamicHelp": false,
|
|
573
|
+
"multiple": false,
|
|
574
|
+
"type": "option"
|
|
575
|
+
},
|
|
576
|
+
"verbose": {
|
|
577
|
+
"char": "v",
|
|
578
|
+
"description": "Show detailed request/response information",
|
|
579
|
+
"env": "XANO_VERBOSE",
|
|
580
|
+
"name": "verbose",
|
|
581
|
+
"required": false,
|
|
582
|
+
"allowNo": false,
|
|
583
|
+
"type": "boolean"
|
|
584
|
+
},
|
|
585
|
+
"output": {
|
|
586
|
+
"char": "o",
|
|
587
|
+
"description": "Output format",
|
|
588
|
+
"name": "output",
|
|
589
|
+
"required": false,
|
|
590
|
+
"default": "summary",
|
|
591
|
+
"hasDynamicHelp": false,
|
|
592
|
+
"multiple": false,
|
|
593
|
+
"options": [
|
|
594
|
+
"summary",
|
|
595
|
+
"json"
|
|
596
|
+
],
|
|
597
|
+
"type": "option"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"hasDynamicHelp": false,
|
|
601
|
+
"hiddenAliases": [],
|
|
602
|
+
"id": "branch:list",
|
|
603
|
+
"pluginAlias": "@xano/cli",
|
|
604
|
+
"pluginName": "@xano/cli",
|
|
605
|
+
"pluginType": "core",
|
|
606
|
+
"strict": true,
|
|
607
|
+
"enableJsonFlag": false,
|
|
608
|
+
"isESM": true,
|
|
609
|
+
"relativePath": [
|
|
610
|
+
"dist",
|
|
611
|
+
"commands",
|
|
612
|
+
"branch",
|
|
613
|
+
"list",
|
|
614
|
+
"index.js"
|
|
615
|
+
]
|
|
616
|
+
},
|
|
617
|
+
"platform:get": {
|
|
618
|
+
"aliases": [],
|
|
619
|
+
"args": {
|
|
620
|
+
"platform_id": {
|
|
621
|
+
"description": "Platform ID to retrieve",
|
|
622
|
+
"name": "platform_id",
|
|
623
|
+
"required": true
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"description": "Get details of a specific platform",
|
|
627
|
+
"examples": [
|
|
628
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
629
|
+
"$ xano platform get 23629 -o json"
|
|
630
|
+
],
|
|
631
|
+
"flags": {
|
|
632
|
+
"profile": {
|
|
633
|
+
"char": "p",
|
|
634
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
635
|
+
"env": "XANO_PROFILE",
|
|
636
|
+
"name": "profile",
|
|
637
|
+
"required": false,
|
|
638
|
+
"hasDynamicHelp": false,
|
|
639
|
+
"multiple": false,
|
|
640
|
+
"type": "option"
|
|
641
|
+
},
|
|
642
|
+
"verbose": {
|
|
643
|
+
"char": "v",
|
|
644
|
+
"description": "Show detailed request/response information",
|
|
645
|
+
"env": "XANO_VERBOSE",
|
|
646
|
+
"name": "verbose",
|
|
647
|
+
"required": false,
|
|
648
|
+
"allowNo": false,
|
|
649
|
+
"type": "boolean"
|
|
650
|
+
},
|
|
651
|
+
"output": {
|
|
652
|
+
"char": "o",
|
|
653
|
+
"description": "Output format",
|
|
654
|
+
"name": "output",
|
|
655
|
+
"required": false,
|
|
656
|
+
"default": "summary",
|
|
657
|
+
"hasDynamicHelp": false,
|
|
658
|
+
"multiple": false,
|
|
659
|
+
"options": [
|
|
660
|
+
"summary",
|
|
661
|
+
"json"
|
|
662
|
+
],
|
|
663
|
+
"type": "option"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"hasDynamicHelp": false,
|
|
667
|
+
"hiddenAliases": [],
|
|
668
|
+
"id": "platform:get",
|
|
669
|
+
"pluginAlias": "@xano/cli",
|
|
670
|
+
"pluginName": "@xano/cli",
|
|
671
|
+
"pluginType": "core",
|
|
672
|
+
"strict": true,
|
|
673
|
+
"enableJsonFlag": false,
|
|
674
|
+
"isESM": true,
|
|
675
|
+
"relativePath": [
|
|
676
|
+
"dist",
|
|
677
|
+
"commands",
|
|
678
|
+
"platform",
|
|
679
|
+
"get",
|
|
680
|
+
"index.js"
|
|
681
|
+
]
|
|
682
|
+
},
|
|
541
683
|
"function:create": {
|
|
542
684
|
"aliases": [],
|
|
543
685
|
"args": {},
|
|
@@ -763,16 +905,76 @@
|
|
|
763
905
|
"index.js"
|
|
764
906
|
]
|
|
765
907
|
},
|
|
766
|
-
"
|
|
908
|
+
"platform:list": {
|
|
767
909
|
"aliases": [],
|
|
768
|
-
"args": {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
910
|
+
"args": {},
|
|
911
|
+
"description": "List all platforms",
|
|
912
|
+
"examples": [
|
|
913
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
914
|
+
"$ xano platform list --output json"
|
|
915
|
+
],
|
|
916
|
+
"flags": {
|
|
917
|
+
"profile": {
|
|
918
|
+
"char": "p",
|
|
919
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
920
|
+
"env": "XANO_PROFILE",
|
|
921
|
+
"name": "profile",
|
|
922
|
+
"required": false,
|
|
923
|
+
"hasDynamicHelp": false,
|
|
924
|
+
"multiple": false,
|
|
925
|
+
"type": "option"
|
|
926
|
+
},
|
|
927
|
+
"verbose": {
|
|
928
|
+
"char": "v",
|
|
929
|
+
"description": "Show detailed request/response information",
|
|
930
|
+
"env": "XANO_VERBOSE",
|
|
931
|
+
"name": "verbose",
|
|
932
|
+
"required": false,
|
|
933
|
+
"allowNo": false,
|
|
934
|
+
"type": "boolean"
|
|
935
|
+
},
|
|
936
|
+
"output": {
|
|
937
|
+
"char": "o",
|
|
938
|
+
"description": "Output format",
|
|
939
|
+
"name": "output",
|
|
940
|
+
"required": false,
|
|
941
|
+
"default": "summary",
|
|
942
|
+
"hasDynamicHelp": false,
|
|
943
|
+
"multiple": false,
|
|
944
|
+
"options": [
|
|
945
|
+
"summary",
|
|
946
|
+
"json"
|
|
947
|
+
],
|
|
948
|
+
"type": "option"
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
"hasDynamicHelp": false,
|
|
952
|
+
"hiddenAliases": [],
|
|
953
|
+
"id": "platform:list",
|
|
954
|
+
"pluginAlias": "@xano/cli",
|
|
955
|
+
"pluginName": "@xano/cli",
|
|
956
|
+
"pluginType": "core",
|
|
957
|
+
"strict": true,
|
|
958
|
+
"enableJsonFlag": false,
|
|
959
|
+
"isESM": true,
|
|
960
|
+
"relativePath": [
|
|
961
|
+
"dist",
|
|
962
|
+
"commands",
|
|
963
|
+
"platform",
|
|
964
|
+
"list",
|
|
965
|
+
"index.js"
|
|
966
|
+
]
|
|
967
|
+
},
|
|
968
|
+
"function:get": {
|
|
969
|
+
"aliases": [],
|
|
970
|
+
"args": {
|
|
971
|
+
"function_id": {
|
|
972
|
+
"description": "Function ID",
|
|
973
|
+
"name": "function_id",
|
|
974
|
+
"required": false
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"description": "Get a specific function from a workspace",
|
|
776
978
|
"examples": [
|
|
777
979
|
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
778
980
|
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
@@ -982,58 +1184,34 @@
|
|
|
982
1184
|
"index.js"
|
|
983
1185
|
]
|
|
984
1186
|
},
|
|
985
|
-
"
|
|
1187
|
+
"profile:delete": {
|
|
986
1188
|
"aliases": [],
|
|
987
1189
|
"args": {
|
|
988
|
-
"
|
|
989
|
-
"description": "
|
|
990
|
-
"name": "
|
|
1190
|
+
"name": {
|
|
1191
|
+
"description": "Profile name to delete",
|
|
1192
|
+
"name": "name",
|
|
991
1193
|
"required": true
|
|
992
1194
|
}
|
|
993
1195
|
},
|
|
994
|
-
"description": "
|
|
1196
|
+
"description": "Delete a profile configuration",
|
|
995
1197
|
"examples": [
|
|
996
|
-
"$ xano
|
|
997
|
-
"$ xano
|
|
1198
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1199
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1200
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
998
1201
|
],
|
|
999
1202
|
"flags": {
|
|
1000
|
-
"
|
|
1001
|
-
"char": "
|
|
1002
|
-
"description": "
|
|
1003
|
-
"
|
|
1004
|
-
"name": "profile",
|
|
1005
|
-
"required": false,
|
|
1006
|
-
"hasDynamicHelp": false,
|
|
1007
|
-
"multiple": false,
|
|
1008
|
-
"type": "option"
|
|
1009
|
-
},
|
|
1010
|
-
"verbose": {
|
|
1011
|
-
"char": "v",
|
|
1012
|
-
"description": "Show detailed request/response information",
|
|
1013
|
-
"env": "XANO_VERBOSE",
|
|
1014
|
-
"name": "verbose",
|
|
1203
|
+
"force": {
|
|
1204
|
+
"char": "f",
|
|
1205
|
+
"description": "Skip confirmation prompt",
|
|
1206
|
+
"name": "force",
|
|
1015
1207
|
"required": false,
|
|
1016
1208
|
"allowNo": false,
|
|
1017
1209
|
"type": "boolean"
|
|
1018
|
-
},
|
|
1019
|
-
"output": {
|
|
1020
|
-
"char": "o",
|
|
1021
|
-
"description": "Output format",
|
|
1022
|
-
"name": "output",
|
|
1023
|
-
"required": false,
|
|
1024
|
-
"default": "summary",
|
|
1025
|
-
"hasDynamicHelp": false,
|
|
1026
|
-
"multiple": false,
|
|
1027
|
-
"options": [
|
|
1028
|
-
"summary",
|
|
1029
|
-
"json"
|
|
1030
|
-
],
|
|
1031
|
-
"type": "option"
|
|
1032
1210
|
}
|
|
1033
1211
|
},
|
|
1034
1212
|
"hasDynamicHelp": false,
|
|
1035
1213
|
"hiddenAliases": [],
|
|
1036
|
-
"id": "
|
|
1214
|
+
"id": "profile:delete",
|
|
1037
1215
|
"pluginAlias": "@xano/cli",
|
|
1038
1216
|
"pluginName": "@xano/cli",
|
|
1039
1217
|
"pluginType": "core",
|
|
@@ -1043,18 +1221,29 @@
|
|
|
1043
1221
|
"relativePath": [
|
|
1044
1222
|
"dist",
|
|
1045
1223
|
"commands",
|
|
1046
|
-
"
|
|
1047
|
-
"
|
|
1224
|
+
"profile",
|
|
1225
|
+
"delete",
|
|
1048
1226
|
"index.js"
|
|
1049
1227
|
]
|
|
1050
1228
|
},
|
|
1051
|
-
"
|
|
1229
|
+
"profile:edit": {
|
|
1052
1230
|
"aliases": [],
|
|
1053
|
-
"args": {
|
|
1054
|
-
|
|
1231
|
+
"args": {
|
|
1232
|
+
"name": {
|
|
1233
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1234
|
+
"name": "name",
|
|
1235
|
+
"required": false
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"description": "Edit an existing profile configuration",
|
|
1055
1239
|
"examples": [
|
|
1056
|
-
"$ xano
|
|
1057
|
-
"$ xano
|
|
1240
|
+
"$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1241
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1242
|
+
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1243
|
+
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1244
|
+
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1245
|
+
"$ xano profile:edit --insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1246
|
+
"$ xano profile:edit --remove-insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1058
1247
|
],
|
|
1059
1248
|
"flags": {
|
|
1060
1249
|
"profile": {
|
|
@@ -1076,68 +1265,18 @@
|
|
|
1076
1265
|
"allowNo": false,
|
|
1077
1266
|
"type": "boolean"
|
|
1078
1267
|
},
|
|
1079
|
-
"output": {
|
|
1080
|
-
"char": "o",
|
|
1081
|
-
"description": "Output format",
|
|
1082
|
-
"name": "output",
|
|
1083
|
-
"required": false,
|
|
1084
|
-
"default": "summary",
|
|
1085
|
-
"hasDynamicHelp": false,
|
|
1086
|
-
"multiple": false,
|
|
1087
|
-
"options": [
|
|
1088
|
-
"summary",
|
|
1089
|
-
"json"
|
|
1090
|
-
],
|
|
1091
|
-
"type": "option"
|
|
1092
|
-
}
|
|
1093
|
-
},
|
|
1094
|
-
"hasDynamicHelp": false,
|
|
1095
|
-
"hiddenAliases": [],
|
|
1096
|
-
"id": "platform:list",
|
|
1097
|
-
"pluginAlias": "@xano/cli",
|
|
1098
|
-
"pluginName": "@xano/cli",
|
|
1099
|
-
"pluginType": "core",
|
|
1100
|
-
"strict": true,
|
|
1101
|
-
"enableJsonFlag": false,
|
|
1102
|
-
"isESM": true,
|
|
1103
|
-
"relativePath": [
|
|
1104
|
-
"dist",
|
|
1105
|
-
"commands",
|
|
1106
|
-
"platform",
|
|
1107
|
-
"list",
|
|
1108
|
-
"index.js"
|
|
1109
|
-
]
|
|
1110
|
-
},
|
|
1111
|
-
"profile:create": {
|
|
1112
|
-
"aliases": [],
|
|
1113
|
-
"args": {
|
|
1114
|
-
"name": {
|
|
1115
|
-
"description": "Profile name",
|
|
1116
|
-
"name": "name",
|
|
1117
|
-
"required": true
|
|
1118
|
-
}
|
|
1119
|
-
},
|
|
1120
|
-
"description": "Create a new profile configuration",
|
|
1121
|
-
"examples": [
|
|
1122
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1123
|
-
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1124
|
-
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1125
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n",
|
|
1126
|
-
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1127
|
-
],
|
|
1128
|
-
"flags": {
|
|
1129
1268
|
"access_token": {
|
|
1130
1269
|
"char": "t",
|
|
1131
|
-
"description": "
|
|
1270
|
+
"description": "Update access token for the Xano Metadata API",
|
|
1132
1271
|
"name": "access_token",
|
|
1133
|
-
"required":
|
|
1272
|
+
"required": false,
|
|
1134
1273
|
"hasDynamicHelp": false,
|
|
1135
1274
|
"multiple": false,
|
|
1136
1275
|
"type": "option"
|
|
1137
1276
|
},
|
|
1138
1277
|
"account_origin": {
|
|
1139
1278
|
"char": "a",
|
|
1140
|
-
"description": "
|
|
1279
|
+
"description": "Update account origin URL",
|
|
1141
1280
|
"name": "account_origin",
|
|
1142
1281
|
"required": false,
|
|
1143
1282
|
"hasDynamicHelp": false,
|
|
@@ -1146,23 +1285,15 @@
|
|
|
1146
1285
|
},
|
|
1147
1286
|
"branch": {
|
|
1148
1287
|
"char": "b",
|
|
1149
|
-
"description": "
|
|
1288
|
+
"description": "Update branch name",
|
|
1150
1289
|
"name": "branch",
|
|
1151
1290
|
"required": false,
|
|
1152
1291
|
"hasDynamicHelp": false,
|
|
1153
1292
|
"multiple": false,
|
|
1154
1293
|
"type": "option"
|
|
1155
1294
|
},
|
|
1156
|
-
"default": {
|
|
1157
|
-
"description": "Set this profile as the default",
|
|
1158
|
-
"name": "default",
|
|
1159
|
-
"required": false,
|
|
1160
|
-
"allowNo": false,
|
|
1161
|
-
"type": "boolean"
|
|
1162
|
-
},
|
|
1163
1295
|
"insecure": {
|
|
1164
|
-
"
|
|
1165
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1296
|
+
"description": "Enable insecure mode (skip TLS certificate verification)",
|
|
1166
1297
|
"name": "insecure",
|
|
1167
1298
|
"required": false,
|
|
1168
1299
|
"allowNo": false,
|
|
@@ -1170,16 +1301,37 @@
|
|
|
1170
1301
|
},
|
|
1171
1302
|
"instance_origin": {
|
|
1172
1303
|
"char": "i",
|
|
1173
|
-
"description": "
|
|
1304
|
+
"description": "Update instance origin URL",
|
|
1174
1305
|
"name": "instance_origin",
|
|
1175
|
-
"required":
|
|
1306
|
+
"required": false,
|
|
1176
1307
|
"hasDynamicHelp": false,
|
|
1177
1308
|
"multiple": false,
|
|
1178
1309
|
"type": "option"
|
|
1179
1310
|
},
|
|
1311
|
+
"remove-branch": {
|
|
1312
|
+
"description": "Remove branch from profile",
|
|
1313
|
+
"name": "remove-branch",
|
|
1314
|
+
"required": false,
|
|
1315
|
+
"allowNo": false,
|
|
1316
|
+
"type": "boolean"
|
|
1317
|
+
},
|
|
1318
|
+
"remove-insecure": {
|
|
1319
|
+
"description": "Remove insecure mode from profile",
|
|
1320
|
+
"name": "remove-insecure",
|
|
1321
|
+
"required": false,
|
|
1322
|
+
"allowNo": false,
|
|
1323
|
+
"type": "boolean"
|
|
1324
|
+
},
|
|
1325
|
+
"remove-workspace": {
|
|
1326
|
+
"description": "Remove workspace from profile",
|
|
1327
|
+
"name": "remove-workspace",
|
|
1328
|
+
"required": false,
|
|
1329
|
+
"allowNo": false,
|
|
1330
|
+
"type": "boolean"
|
|
1331
|
+
},
|
|
1180
1332
|
"workspace": {
|
|
1181
1333
|
"char": "w",
|
|
1182
|
-
"description": "
|
|
1334
|
+
"description": "Update workspace name",
|
|
1183
1335
|
"name": "workspace",
|
|
1184
1336
|
"required": false,
|
|
1185
1337
|
"hasDynamicHelp": false,
|
|
@@ -1189,7 +1341,7 @@
|
|
|
1189
1341
|
},
|
|
1190
1342
|
"hasDynamicHelp": false,
|
|
1191
1343
|
"hiddenAliases": [],
|
|
1192
|
-
"id": "profile:
|
|
1344
|
+
"id": "profile:edit",
|
|
1193
1345
|
"pluginAlias": "@xano/cli",
|
|
1194
1346
|
"pluginName": "@xano/cli",
|
|
1195
1347
|
"pluginType": "core",
|
|
@@ -1200,211 +1352,14 @@
|
|
|
1200
1352
|
"dist",
|
|
1201
1353
|
"commands",
|
|
1202
1354
|
"profile",
|
|
1203
|
-
"
|
|
1355
|
+
"edit",
|
|
1204
1356
|
"index.js"
|
|
1205
1357
|
]
|
|
1206
1358
|
},
|
|
1207
|
-
"profile:
|
|
1359
|
+
"profile:list": {
|
|
1208
1360
|
"aliases": [],
|
|
1209
|
-
"args": {
|
|
1210
|
-
|
|
1211
|
-
"description": "Profile name to delete",
|
|
1212
|
-
"name": "name",
|
|
1213
|
-
"required": true
|
|
1214
|
-
}
|
|
1215
|
-
},
|
|
1216
|
-
"description": "Delete a profile configuration",
|
|
1217
|
-
"examples": [
|
|
1218
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1219
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1220
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1221
|
-
],
|
|
1222
|
-
"flags": {
|
|
1223
|
-
"force": {
|
|
1224
|
-
"char": "f",
|
|
1225
|
-
"description": "Skip confirmation prompt",
|
|
1226
|
-
"name": "force",
|
|
1227
|
-
"required": false,
|
|
1228
|
-
"allowNo": false,
|
|
1229
|
-
"type": "boolean"
|
|
1230
|
-
}
|
|
1231
|
-
},
|
|
1232
|
-
"hasDynamicHelp": false,
|
|
1233
|
-
"hiddenAliases": [],
|
|
1234
|
-
"id": "profile:delete",
|
|
1235
|
-
"pluginAlias": "@xano/cli",
|
|
1236
|
-
"pluginName": "@xano/cli",
|
|
1237
|
-
"pluginType": "core",
|
|
1238
|
-
"strict": true,
|
|
1239
|
-
"enableJsonFlag": false,
|
|
1240
|
-
"isESM": true,
|
|
1241
|
-
"relativePath": [
|
|
1242
|
-
"dist",
|
|
1243
|
-
"commands",
|
|
1244
|
-
"profile",
|
|
1245
|
-
"delete",
|
|
1246
|
-
"index.js"
|
|
1247
|
-
]
|
|
1248
|
-
},
|
|
1249
|
-
"profile:edit": {
|
|
1250
|
-
"aliases": [],
|
|
1251
|
-
"args": {
|
|
1252
|
-
"name": {
|
|
1253
|
-
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1254
|
-
"name": "name",
|
|
1255
|
-
"required": false
|
|
1256
|
-
}
|
|
1257
|
-
},
|
|
1258
|
-
"description": "Edit an existing profile configuration",
|
|
1259
|
-
"examples": [
|
|
1260
|
-
"$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1261
|
-
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1262
|
-
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1263
|
-
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1264
|
-
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1265
|
-
"$ xano profile:edit --insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1266
|
-
"$ xano profile:edit --remove-insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1267
|
-
],
|
|
1268
|
-
"flags": {
|
|
1269
|
-
"profile": {
|
|
1270
|
-
"char": "p",
|
|
1271
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1272
|
-
"env": "XANO_PROFILE",
|
|
1273
|
-
"name": "profile",
|
|
1274
|
-
"required": false,
|
|
1275
|
-
"hasDynamicHelp": false,
|
|
1276
|
-
"multiple": false,
|
|
1277
|
-
"type": "option"
|
|
1278
|
-
},
|
|
1279
|
-
"verbose": {
|
|
1280
|
-
"char": "v",
|
|
1281
|
-
"description": "Show detailed request/response information",
|
|
1282
|
-
"env": "XANO_VERBOSE",
|
|
1283
|
-
"name": "verbose",
|
|
1284
|
-
"required": false,
|
|
1285
|
-
"allowNo": false,
|
|
1286
|
-
"type": "boolean"
|
|
1287
|
-
},
|
|
1288
|
-
"access_token": {
|
|
1289
|
-
"char": "t",
|
|
1290
|
-
"description": "Update access token for the Xano Metadata API",
|
|
1291
|
-
"name": "access_token",
|
|
1292
|
-
"required": false,
|
|
1293
|
-
"hasDynamicHelp": false,
|
|
1294
|
-
"multiple": false,
|
|
1295
|
-
"type": "option"
|
|
1296
|
-
},
|
|
1297
|
-
"account_origin": {
|
|
1298
|
-
"char": "a",
|
|
1299
|
-
"description": "Update account origin URL",
|
|
1300
|
-
"name": "account_origin",
|
|
1301
|
-
"required": false,
|
|
1302
|
-
"hasDynamicHelp": false,
|
|
1303
|
-
"multiple": false,
|
|
1304
|
-
"type": "option"
|
|
1305
|
-
},
|
|
1306
|
-
"branch": {
|
|
1307
|
-
"char": "b",
|
|
1308
|
-
"description": "Update branch name",
|
|
1309
|
-
"name": "branch",
|
|
1310
|
-
"required": false,
|
|
1311
|
-
"hasDynamicHelp": false,
|
|
1312
|
-
"multiple": false,
|
|
1313
|
-
"type": "option"
|
|
1314
|
-
},
|
|
1315
|
-
"insecure": {
|
|
1316
|
-
"description": "Enable insecure mode (skip TLS certificate verification)",
|
|
1317
|
-
"name": "insecure",
|
|
1318
|
-
"required": false,
|
|
1319
|
-
"allowNo": false,
|
|
1320
|
-
"type": "boolean"
|
|
1321
|
-
},
|
|
1322
|
-
"instance_origin": {
|
|
1323
|
-
"char": "i",
|
|
1324
|
-
"description": "Update instance origin URL",
|
|
1325
|
-
"name": "instance_origin",
|
|
1326
|
-
"required": false,
|
|
1327
|
-
"hasDynamicHelp": false,
|
|
1328
|
-
"multiple": false,
|
|
1329
|
-
"type": "option"
|
|
1330
|
-
},
|
|
1331
|
-
"remove-branch": {
|
|
1332
|
-
"description": "Remove branch from profile",
|
|
1333
|
-
"name": "remove-branch",
|
|
1334
|
-
"required": false,
|
|
1335
|
-
"allowNo": false,
|
|
1336
|
-
"type": "boolean"
|
|
1337
|
-
},
|
|
1338
|
-
"remove-insecure": {
|
|
1339
|
-
"description": "Remove insecure mode from profile",
|
|
1340
|
-
"name": "remove-insecure",
|
|
1341
|
-
"required": false,
|
|
1342
|
-
"allowNo": false,
|
|
1343
|
-
"type": "boolean"
|
|
1344
|
-
},
|
|
1345
|
-
"remove-workspace": {
|
|
1346
|
-
"description": "Remove workspace from profile",
|
|
1347
|
-
"name": "remove-workspace",
|
|
1348
|
-
"required": false,
|
|
1349
|
-
"allowNo": false,
|
|
1350
|
-
"type": "boolean"
|
|
1351
|
-
},
|
|
1352
|
-
"workspace": {
|
|
1353
|
-
"char": "w",
|
|
1354
|
-
"description": "Update workspace name",
|
|
1355
|
-
"name": "workspace",
|
|
1356
|
-
"required": false,
|
|
1357
|
-
"hasDynamicHelp": false,
|
|
1358
|
-
"multiple": false,
|
|
1359
|
-
"type": "option"
|
|
1360
|
-
}
|
|
1361
|
-
},
|
|
1362
|
-
"hasDynamicHelp": false,
|
|
1363
|
-
"hiddenAliases": [],
|
|
1364
|
-
"id": "profile:edit",
|
|
1365
|
-
"pluginAlias": "@xano/cli",
|
|
1366
|
-
"pluginName": "@xano/cli",
|
|
1367
|
-
"pluginType": "core",
|
|
1368
|
-
"strict": true,
|
|
1369
|
-
"enableJsonFlag": false,
|
|
1370
|
-
"isESM": true,
|
|
1371
|
-
"relativePath": [
|
|
1372
|
-
"dist",
|
|
1373
|
-
"commands",
|
|
1374
|
-
"profile",
|
|
1375
|
-
"edit",
|
|
1376
|
-
"index.js"
|
|
1377
|
-
]
|
|
1378
|
-
},
|
|
1379
|
-
"profile:get": {
|
|
1380
|
-
"aliases": [],
|
|
1381
|
-
"args": {},
|
|
1382
|
-
"description": "Get the current default profile name",
|
|
1383
|
-
"examples": [
|
|
1384
|
-
"$ xano profile get\nproduction\n"
|
|
1385
|
-
],
|
|
1386
|
-
"flags": {},
|
|
1387
|
-
"hasDynamicHelp": false,
|
|
1388
|
-
"hiddenAliases": [],
|
|
1389
|
-
"id": "profile:get",
|
|
1390
|
-
"pluginAlias": "@xano/cli",
|
|
1391
|
-
"pluginName": "@xano/cli",
|
|
1392
|
-
"pluginType": "core",
|
|
1393
|
-
"strict": true,
|
|
1394
|
-
"enableJsonFlag": false,
|
|
1395
|
-
"isESM": true,
|
|
1396
|
-
"relativePath": [
|
|
1397
|
-
"dist",
|
|
1398
|
-
"commands",
|
|
1399
|
-
"profile",
|
|
1400
|
-
"get",
|
|
1401
|
-
"index.js"
|
|
1402
|
-
]
|
|
1403
|
-
},
|
|
1404
|
-
"profile:list": {
|
|
1405
|
-
"aliases": [],
|
|
1406
|
-
"args": {},
|
|
1407
|
-
"description": "List all available profile configurations",
|
|
1361
|
+
"args": {},
|
|
1362
|
+
"description": "List all available profile configurations",
|
|
1408
1363
|
"examples": [
|
|
1409
1364
|
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1410
1365
|
"$ 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",
|
|
@@ -1437,82 +1392,6 @@
|
|
|
1437
1392
|
"index.js"
|
|
1438
1393
|
]
|
|
1439
1394
|
},
|
|
1440
|
-
"branch:get": {
|
|
1441
|
-
"aliases": [],
|
|
1442
|
-
"args": {
|
|
1443
|
-
"branch_label": {
|
|
1444
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1445
|
-
"name": "branch_label",
|
|
1446
|
-
"required": true
|
|
1447
|
-
}
|
|
1448
|
-
},
|
|
1449
|
-
"description": "Get details for a specific branch",
|
|
1450
|
-
"examples": [
|
|
1451
|
-
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
1452
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1453
|
-
"$ 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"
|
|
1454
|
-
],
|
|
1455
|
-
"flags": {
|
|
1456
|
-
"profile": {
|
|
1457
|
-
"char": "p",
|
|
1458
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1459
|
-
"env": "XANO_PROFILE",
|
|
1460
|
-
"name": "profile",
|
|
1461
|
-
"required": false,
|
|
1462
|
-
"hasDynamicHelp": false,
|
|
1463
|
-
"multiple": false,
|
|
1464
|
-
"type": "option"
|
|
1465
|
-
},
|
|
1466
|
-
"verbose": {
|
|
1467
|
-
"char": "v",
|
|
1468
|
-
"description": "Show detailed request/response information",
|
|
1469
|
-
"env": "XANO_VERBOSE",
|
|
1470
|
-
"name": "verbose",
|
|
1471
|
-
"required": false,
|
|
1472
|
-
"allowNo": false,
|
|
1473
|
-
"type": "boolean"
|
|
1474
|
-
},
|
|
1475
|
-
"output": {
|
|
1476
|
-
"char": "o",
|
|
1477
|
-
"description": "Output format",
|
|
1478
|
-
"name": "output",
|
|
1479
|
-
"required": false,
|
|
1480
|
-
"default": "summary",
|
|
1481
|
-
"hasDynamicHelp": false,
|
|
1482
|
-
"multiple": false,
|
|
1483
|
-
"options": [
|
|
1484
|
-
"summary",
|
|
1485
|
-
"json"
|
|
1486
|
-
],
|
|
1487
|
-
"type": "option"
|
|
1488
|
-
},
|
|
1489
|
-
"workspace": {
|
|
1490
|
-
"char": "w",
|
|
1491
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1492
|
-
"name": "workspace",
|
|
1493
|
-
"required": false,
|
|
1494
|
-
"hasDynamicHelp": false,
|
|
1495
|
-
"multiple": false,
|
|
1496
|
-
"type": "option"
|
|
1497
|
-
}
|
|
1498
|
-
},
|
|
1499
|
-
"hasDynamicHelp": false,
|
|
1500
|
-
"hiddenAliases": [],
|
|
1501
|
-
"id": "branch:get",
|
|
1502
|
-
"pluginAlias": "@xano/cli",
|
|
1503
|
-
"pluginName": "@xano/cli",
|
|
1504
|
-
"pluginType": "core",
|
|
1505
|
-
"strict": true,
|
|
1506
|
-
"enableJsonFlag": false,
|
|
1507
|
-
"isESM": true,
|
|
1508
|
-
"relativePath": [
|
|
1509
|
-
"dist",
|
|
1510
|
-
"commands",
|
|
1511
|
-
"branch",
|
|
1512
|
-
"get",
|
|
1513
|
-
"index.js"
|
|
1514
|
-
]
|
|
1515
|
-
},
|
|
1516
1395
|
"profile:me": {
|
|
1517
1396
|
"aliases": [],
|
|
1518
1397
|
"args": {},
|
|
@@ -1631,18 +1510,45 @@
|
|
|
1631
1510
|
"index.js"
|
|
1632
1511
|
]
|
|
1633
1512
|
},
|
|
1634
|
-
"profile:
|
|
1513
|
+
"profile:wizard": {
|
|
1635
1514
|
"aliases": [],
|
|
1636
1515
|
"args": {},
|
|
1637
|
-
"description": "
|
|
1516
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1638
1517
|
"examples": [
|
|
1639
|
-
"$ xano profile:
|
|
1640
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1518
|
+
"$ 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"
|
|
1641
1519
|
],
|
|
1642
|
-
"flags": {
|
|
1520
|
+
"flags": {
|
|
1521
|
+
"insecure": {
|
|
1522
|
+
"char": "k",
|
|
1523
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1524
|
+
"name": "insecure",
|
|
1525
|
+
"required": false,
|
|
1526
|
+
"allowNo": false,
|
|
1527
|
+
"type": "boolean"
|
|
1528
|
+
},
|
|
1529
|
+
"name": {
|
|
1530
|
+
"char": "n",
|
|
1531
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1532
|
+
"name": "name",
|
|
1533
|
+
"required": false,
|
|
1534
|
+
"hasDynamicHelp": false,
|
|
1535
|
+
"multiple": false,
|
|
1536
|
+
"type": "option"
|
|
1537
|
+
},
|
|
1538
|
+
"origin": {
|
|
1539
|
+
"char": "o",
|
|
1540
|
+
"description": "Xano instance origin URL",
|
|
1541
|
+
"name": "origin",
|
|
1542
|
+
"required": false,
|
|
1543
|
+
"default": "https://app.xano.com",
|
|
1544
|
+
"hasDynamicHelp": false,
|
|
1545
|
+
"multiple": false,
|
|
1546
|
+
"type": "option"
|
|
1547
|
+
}
|
|
1548
|
+
},
|
|
1643
1549
|
"hasDynamicHelp": false,
|
|
1644
1550
|
"hiddenAliases": [],
|
|
1645
|
-
"id": "profile:
|
|
1551
|
+
"id": "profile:wizard",
|
|
1646
1552
|
"pluginAlias": "@xano/cli",
|
|
1647
1553
|
"pluginName": "@xano/cli",
|
|
1648
1554
|
"pluginType": "core",
|
|
@@ -1653,75 +1559,107 @@
|
|
|
1653
1559
|
"dist",
|
|
1654
1560
|
"commands",
|
|
1655
1561
|
"profile",
|
|
1656
|
-
"
|
|
1562
|
+
"wizard",
|
|
1657
1563
|
"index.js"
|
|
1658
1564
|
]
|
|
1659
1565
|
},
|
|
1660
|
-
"
|
|
1566
|
+
"profile:get": {
|
|
1661
1567
|
"aliases": [],
|
|
1662
1568
|
"args": {},
|
|
1663
|
-
"description": "
|
|
1569
|
+
"description": "Get the current default profile name",
|
|
1664
1570
|
"examples": [
|
|
1665
|
-
"$ xano
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1571
|
+
"$ xano profile get\nproduction\n"
|
|
1572
|
+
],
|
|
1573
|
+
"flags": {},
|
|
1574
|
+
"hasDynamicHelp": false,
|
|
1575
|
+
"hiddenAliases": [],
|
|
1576
|
+
"id": "profile:get",
|
|
1577
|
+
"pluginAlias": "@xano/cli",
|
|
1578
|
+
"pluginName": "@xano/cli",
|
|
1579
|
+
"pluginType": "core",
|
|
1580
|
+
"strict": true,
|
|
1581
|
+
"enableJsonFlag": false,
|
|
1582
|
+
"isESM": true,
|
|
1583
|
+
"relativePath": [
|
|
1584
|
+
"dist",
|
|
1585
|
+
"commands",
|
|
1586
|
+
"profile",
|
|
1587
|
+
"get",
|
|
1588
|
+
"index.js"
|
|
1589
|
+
]
|
|
1590
|
+
},
|
|
1591
|
+
"profile:create": {
|
|
1592
|
+
"aliases": [],
|
|
1593
|
+
"args": {
|
|
1594
|
+
"name": {
|
|
1595
|
+
"description": "Profile name",
|
|
1596
|
+
"name": "name",
|
|
1597
|
+
"required": true
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
"description": "Create a new profile configuration",
|
|
1601
|
+
"examples": [
|
|
1602
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1603
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1604
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1605
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n",
|
|
1606
|
+
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1669
1607
|
],
|
|
1670
1608
|
"flags": {
|
|
1671
|
-
"
|
|
1672
|
-
"char": "
|
|
1673
|
-
"description": "
|
|
1674
|
-
"
|
|
1675
|
-
"
|
|
1676
|
-
"required": false,
|
|
1609
|
+
"access_token": {
|
|
1610
|
+
"char": "t",
|
|
1611
|
+
"description": "Access token for the Xano Metadata API",
|
|
1612
|
+
"name": "access_token",
|
|
1613
|
+
"required": true,
|
|
1677
1614
|
"hasDynamicHelp": false,
|
|
1678
1615
|
"multiple": false,
|
|
1679
1616
|
"type": "option"
|
|
1680
1617
|
},
|
|
1681
|
-
"
|
|
1682
|
-
"char": "
|
|
1683
|
-
"description": "
|
|
1684
|
-
"
|
|
1685
|
-
"name": "verbose",
|
|
1686
|
-
"required": false,
|
|
1687
|
-
"allowNo": false,
|
|
1688
|
-
"type": "boolean"
|
|
1689
|
-
},
|
|
1690
|
-
"output": {
|
|
1691
|
-
"char": "o",
|
|
1692
|
-
"description": "Output format",
|
|
1693
|
-
"name": "output",
|
|
1618
|
+
"account_origin": {
|
|
1619
|
+
"char": "a",
|
|
1620
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1621
|
+
"name": "account_origin",
|
|
1694
1622
|
"required": false,
|
|
1695
|
-
"default": "summary",
|
|
1696
1623
|
"hasDynamicHelp": false,
|
|
1697
1624
|
"multiple": false,
|
|
1698
|
-
"options": [
|
|
1699
|
-
"summary",
|
|
1700
|
-
"json"
|
|
1701
|
-
],
|
|
1702
1625
|
"type": "option"
|
|
1703
1626
|
},
|
|
1704
|
-
"
|
|
1705
|
-
"
|
|
1706
|
-
"
|
|
1627
|
+
"branch": {
|
|
1628
|
+
"char": "b",
|
|
1629
|
+
"description": "Branch name",
|
|
1630
|
+
"name": "branch",
|
|
1707
1631
|
"required": false,
|
|
1708
|
-
"default": 1,
|
|
1709
1632
|
"hasDynamicHelp": false,
|
|
1710
1633
|
"multiple": false,
|
|
1711
1634
|
"type": "option"
|
|
1712
1635
|
},
|
|
1713
|
-
"
|
|
1714
|
-
"description": "
|
|
1715
|
-
"name": "
|
|
1636
|
+
"default": {
|
|
1637
|
+
"description": "Set this profile as the default",
|
|
1638
|
+
"name": "default",
|
|
1716
1639
|
"required": false,
|
|
1717
|
-
"
|
|
1640
|
+
"allowNo": false,
|
|
1641
|
+
"type": "boolean"
|
|
1642
|
+
},
|
|
1643
|
+
"insecure": {
|
|
1644
|
+
"char": "k",
|
|
1645
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1646
|
+
"name": "insecure",
|
|
1647
|
+
"required": false,
|
|
1648
|
+
"allowNo": false,
|
|
1649
|
+
"type": "boolean"
|
|
1650
|
+
},
|
|
1651
|
+
"instance_origin": {
|
|
1652
|
+
"char": "i",
|
|
1653
|
+
"description": "Instance origin URL",
|
|
1654
|
+
"name": "instance_origin",
|
|
1655
|
+
"required": true,
|
|
1718
1656
|
"hasDynamicHelp": false,
|
|
1719
1657
|
"multiple": false,
|
|
1720
1658
|
"type": "option"
|
|
1721
1659
|
},
|
|
1722
1660
|
"workspace": {
|
|
1723
1661
|
"char": "w",
|
|
1724
|
-
"description": "Workspace
|
|
1662
|
+
"description": "Workspace name",
|
|
1725
1663
|
"name": "workspace",
|
|
1726
1664
|
"required": false,
|
|
1727
1665
|
"hasDynamicHelp": false,
|
|
@@ -1731,7 +1669,7 @@
|
|
|
1731
1669
|
},
|
|
1732
1670
|
"hasDynamicHelp": false,
|
|
1733
1671
|
"hiddenAliases": [],
|
|
1734
|
-
"id": "
|
|
1672
|
+
"id": "profile:create",
|
|
1735
1673
|
"pluginAlias": "@xano/cli",
|
|
1736
1674
|
"pluginName": "@xano/cli",
|
|
1737
1675
|
"pluginType": "core",
|
|
@@ -1741,8 +1679,8 @@
|
|
|
1741
1679
|
"relativePath": [
|
|
1742
1680
|
"dist",
|
|
1743
1681
|
"commands",
|
|
1744
|
-
"
|
|
1745
|
-
"
|
|
1682
|
+
"profile",
|
|
1683
|
+
"create",
|
|
1746
1684
|
"index.js"
|
|
1747
1685
|
]
|
|
1748
1686
|
},
|
|
@@ -1857,6 +1795,32 @@
|
|
|
1857
1795
|
"index.js"
|
|
1858
1796
|
]
|
|
1859
1797
|
},
|
|
1798
|
+
"profile:workspace": {
|
|
1799
|
+
"aliases": [],
|
|
1800
|
+
"args": {},
|
|
1801
|
+
"description": "Print the workspace ID for the default profile",
|
|
1802
|
+
"examples": [
|
|
1803
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1804
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1805
|
+
],
|
|
1806
|
+
"flags": {},
|
|
1807
|
+
"hasDynamicHelp": false,
|
|
1808
|
+
"hiddenAliases": [],
|
|
1809
|
+
"id": "profile:workspace",
|
|
1810
|
+
"pluginAlias": "@xano/cli",
|
|
1811
|
+
"pluginName": "@xano/cli",
|
|
1812
|
+
"pluginType": "core",
|
|
1813
|
+
"strict": true,
|
|
1814
|
+
"enableJsonFlag": false,
|
|
1815
|
+
"isESM": true,
|
|
1816
|
+
"relativePath": [
|
|
1817
|
+
"dist",
|
|
1818
|
+
"commands",
|
|
1819
|
+
"profile",
|
|
1820
|
+
"workspace",
|
|
1821
|
+
"index.js"
|
|
1822
|
+
]
|
|
1823
|
+
},
|
|
1860
1824
|
"release:delete": {
|
|
1861
1825
|
"aliases": [],
|
|
1862
1826
|
"args": {
|
|
@@ -2118,59 +2082,6 @@
|
|
|
2118
2082
|
"index.js"
|
|
2119
2083
|
]
|
|
2120
2084
|
},
|
|
2121
|
-
"profile:wizard": {
|
|
2122
|
-
"aliases": [],
|
|
2123
|
-
"args": {},
|
|
2124
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
2125
|
-
"examples": [
|
|
2126
|
-
"$ 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"
|
|
2127
|
-
],
|
|
2128
|
-
"flags": {
|
|
2129
|
-
"insecure": {
|
|
2130
|
-
"char": "k",
|
|
2131
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
2132
|
-
"name": "insecure",
|
|
2133
|
-
"required": false,
|
|
2134
|
-
"allowNo": false,
|
|
2135
|
-
"type": "boolean"
|
|
2136
|
-
},
|
|
2137
|
-
"name": {
|
|
2138
|
-
"char": "n",
|
|
2139
|
-
"description": "Profile name (skip prompt if provided)",
|
|
2140
|
-
"name": "name",
|
|
2141
|
-
"required": false,
|
|
2142
|
-
"hasDynamicHelp": false,
|
|
2143
|
-
"multiple": false,
|
|
2144
|
-
"type": "option"
|
|
2145
|
-
},
|
|
2146
|
-
"origin": {
|
|
2147
|
-
"char": "o",
|
|
2148
|
-
"description": "Xano instance origin URL",
|
|
2149
|
-
"name": "origin",
|
|
2150
|
-
"required": false,
|
|
2151
|
-
"default": "https://app.xano.com",
|
|
2152
|
-
"hasDynamicHelp": false,
|
|
2153
|
-
"multiple": false,
|
|
2154
|
-
"type": "option"
|
|
2155
|
-
}
|
|
2156
|
-
},
|
|
2157
|
-
"hasDynamicHelp": false,
|
|
2158
|
-
"hiddenAliases": [],
|
|
2159
|
-
"id": "profile:wizard",
|
|
2160
|
-
"pluginAlias": "@xano/cli",
|
|
2161
|
-
"pluginName": "@xano/cli",
|
|
2162
|
-
"pluginType": "core",
|
|
2163
|
-
"strict": true,
|
|
2164
|
-
"enableJsonFlag": false,
|
|
2165
|
-
"isESM": true,
|
|
2166
|
-
"relativePath": [
|
|
2167
|
-
"dist",
|
|
2168
|
-
"commands",
|
|
2169
|
-
"profile",
|
|
2170
|
-
"wizard",
|
|
2171
|
-
"index.js"
|
|
2172
|
-
]
|
|
2173
|
-
},
|
|
2174
2085
|
"release:get": {
|
|
2175
2086
|
"aliases": [],
|
|
2176
2087
|
"args": {
|
|
@@ -2393,6 +2304,91 @@
|
|
|
2393
2304
|
"index.js"
|
|
2394
2305
|
]
|
|
2395
2306
|
},
|
|
2307
|
+
"release:pull": {
|
|
2308
|
+
"aliases": [],
|
|
2309
|
+
"args": {
|
|
2310
|
+
"directory": {
|
|
2311
|
+
"description": "Output directory for pulled documents",
|
|
2312
|
+
"name": "directory",
|
|
2313
|
+
"required": true
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2317
|
+
"examples": [
|
|
2318
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2319
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2320
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2321
|
+
],
|
|
2322
|
+
"flags": {
|
|
2323
|
+
"profile": {
|
|
2324
|
+
"char": "p",
|
|
2325
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2326
|
+
"env": "XANO_PROFILE",
|
|
2327
|
+
"name": "profile",
|
|
2328
|
+
"required": false,
|
|
2329
|
+
"hasDynamicHelp": false,
|
|
2330
|
+
"multiple": false,
|
|
2331
|
+
"type": "option"
|
|
2332
|
+
},
|
|
2333
|
+
"verbose": {
|
|
2334
|
+
"char": "v",
|
|
2335
|
+
"description": "Show detailed request/response information",
|
|
2336
|
+
"env": "XANO_VERBOSE",
|
|
2337
|
+
"name": "verbose",
|
|
2338
|
+
"required": false,
|
|
2339
|
+
"allowNo": false,
|
|
2340
|
+
"type": "boolean"
|
|
2341
|
+
},
|
|
2342
|
+
"env": {
|
|
2343
|
+
"description": "Include environment variables",
|
|
2344
|
+
"name": "env",
|
|
2345
|
+
"required": false,
|
|
2346
|
+
"allowNo": false,
|
|
2347
|
+
"type": "boolean"
|
|
2348
|
+
},
|
|
2349
|
+
"records": {
|
|
2350
|
+
"description": "Include records",
|
|
2351
|
+
"name": "records",
|
|
2352
|
+
"required": false,
|
|
2353
|
+
"allowNo": false,
|
|
2354
|
+
"type": "boolean"
|
|
2355
|
+
},
|
|
2356
|
+
"release": {
|
|
2357
|
+
"char": "r",
|
|
2358
|
+
"description": "Release name to pull from",
|
|
2359
|
+
"name": "release",
|
|
2360
|
+
"required": true,
|
|
2361
|
+
"hasDynamicHelp": false,
|
|
2362
|
+
"multiple": false,
|
|
2363
|
+
"type": "option"
|
|
2364
|
+
},
|
|
2365
|
+
"workspace": {
|
|
2366
|
+
"char": "w",
|
|
2367
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2368
|
+
"name": "workspace",
|
|
2369
|
+
"required": false,
|
|
2370
|
+
"hasDynamicHelp": false,
|
|
2371
|
+
"multiple": false,
|
|
2372
|
+
"type": "option"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
"hasDynamicHelp": false,
|
|
2376
|
+
"hiddenAliases": [],
|
|
2377
|
+
"id": "release:pull",
|
|
2378
|
+
"pluginAlias": "@xano/cli",
|
|
2379
|
+
"pluginName": "@xano/cli",
|
|
2380
|
+
"pluginType": "core",
|
|
2381
|
+
"strict": true,
|
|
2382
|
+
"enableJsonFlag": false,
|
|
2383
|
+
"isESM": true,
|
|
2384
|
+
"relativePath": [
|
|
2385
|
+
"dist",
|
|
2386
|
+
"commands",
|
|
2387
|
+
"release",
|
|
2388
|
+
"pull",
|
|
2389
|
+
"index.js"
|
|
2390
|
+
]
|
|
2391
|
+
},
|
|
2396
2392
|
"release:push": {
|
|
2397
2393
|
"aliases": [],
|
|
2398
2394
|
"args": {
|
|
@@ -2511,6 +2507,95 @@
|
|
|
2511
2507
|
"index.js"
|
|
2512
2508
|
]
|
|
2513
2509
|
},
|
|
2510
|
+
"static_host:list": {
|
|
2511
|
+
"aliases": [],
|
|
2512
|
+
"args": {},
|
|
2513
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2514
|
+
"examples": [
|
|
2515
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2516
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2517
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2518
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2519
|
+
],
|
|
2520
|
+
"flags": {
|
|
2521
|
+
"profile": {
|
|
2522
|
+
"char": "p",
|
|
2523
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2524
|
+
"env": "XANO_PROFILE",
|
|
2525
|
+
"name": "profile",
|
|
2526
|
+
"required": false,
|
|
2527
|
+
"hasDynamicHelp": false,
|
|
2528
|
+
"multiple": false,
|
|
2529
|
+
"type": "option"
|
|
2530
|
+
},
|
|
2531
|
+
"verbose": {
|
|
2532
|
+
"char": "v",
|
|
2533
|
+
"description": "Show detailed request/response information",
|
|
2534
|
+
"env": "XANO_VERBOSE",
|
|
2535
|
+
"name": "verbose",
|
|
2536
|
+
"required": false,
|
|
2537
|
+
"allowNo": false,
|
|
2538
|
+
"type": "boolean"
|
|
2539
|
+
},
|
|
2540
|
+
"output": {
|
|
2541
|
+
"char": "o",
|
|
2542
|
+
"description": "Output format",
|
|
2543
|
+
"name": "output",
|
|
2544
|
+
"required": false,
|
|
2545
|
+
"default": "summary",
|
|
2546
|
+
"hasDynamicHelp": false,
|
|
2547
|
+
"multiple": false,
|
|
2548
|
+
"options": [
|
|
2549
|
+
"summary",
|
|
2550
|
+
"json"
|
|
2551
|
+
],
|
|
2552
|
+
"type": "option"
|
|
2553
|
+
},
|
|
2554
|
+
"page": {
|
|
2555
|
+
"description": "Page number for pagination",
|
|
2556
|
+
"name": "page",
|
|
2557
|
+
"required": false,
|
|
2558
|
+
"default": 1,
|
|
2559
|
+
"hasDynamicHelp": false,
|
|
2560
|
+
"multiple": false,
|
|
2561
|
+
"type": "option"
|
|
2562
|
+
},
|
|
2563
|
+
"per_page": {
|
|
2564
|
+
"description": "Number of results per page",
|
|
2565
|
+
"name": "per_page",
|
|
2566
|
+
"required": false,
|
|
2567
|
+
"default": 50,
|
|
2568
|
+
"hasDynamicHelp": false,
|
|
2569
|
+
"multiple": false,
|
|
2570
|
+
"type": "option"
|
|
2571
|
+
},
|
|
2572
|
+
"workspace": {
|
|
2573
|
+
"char": "w",
|
|
2574
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2575
|
+
"name": "workspace",
|
|
2576
|
+
"required": false,
|
|
2577
|
+
"hasDynamicHelp": false,
|
|
2578
|
+
"multiple": false,
|
|
2579
|
+
"type": "option"
|
|
2580
|
+
}
|
|
2581
|
+
},
|
|
2582
|
+
"hasDynamicHelp": false,
|
|
2583
|
+
"hiddenAliases": [],
|
|
2584
|
+
"id": "static_host: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
|
+
"static_host",
|
|
2595
|
+
"list",
|
|
2596
|
+
"index.js"
|
|
2597
|
+
]
|
|
2598
|
+
},
|
|
2514
2599
|
"tenant:create": {
|
|
2515
2600
|
"aliases": [],
|
|
2516
2601
|
"args": {
|
|
@@ -2818,19 +2903,19 @@
|
|
|
2818
2903
|
"index.js"
|
|
2819
2904
|
]
|
|
2820
2905
|
},
|
|
2821
|
-
"tenant:
|
|
2906
|
+
"tenant:deploy_release": {
|
|
2822
2907
|
"aliases": [],
|
|
2823
2908
|
"args": {
|
|
2824
2909
|
"tenant_name": {
|
|
2825
|
-
"description": "Tenant name to
|
|
2910
|
+
"description": "Tenant name to deploy to",
|
|
2826
2911
|
"name": "tenant_name",
|
|
2827
2912
|
"required": true
|
|
2828
2913
|
}
|
|
2829
2914
|
},
|
|
2830
|
-
"description": "
|
|
2915
|
+
"description": "Deploy a release to a tenant",
|
|
2831
2916
|
"examples": [
|
|
2832
|
-
"$ xano tenant
|
|
2833
|
-
"$ xano tenant
|
|
2917
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2918
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2834
2919
|
],
|
|
2835
2920
|
"flags": {
|
|
2836
2921
|
"profile": {
|
|
@@ -2852,38 +2937,6 @@
|
|
|
2852
2937
|
"allowNo": false,
|
|
2853
2938
|
"type": "boolean"
|
|
2854
2939
|
},
|
|
2855
|
-
"description": {
|
|
2856
|
-
"char": "d",
|
|
2857
|
-
"description": "New description",
|
|
2858
|
-
"name": "description",
|
|
2859
|
-
"required": false,
|
|
2860
|
-
"hasDynamicHelp": false,
|
|
2861
|
-
"multiple": false,
|
|
2862
|
-
"type": "option"
|
|
2863
|
-
},
|
|
2864
|
-
"display": {
|
|
2865
|
-
"description": "New display name",
|
|
2866
|
-
"name": "display",
|
|
2867
|
-
"required": false,
|
|
2868
|
-
"hasDynamicHelp": false,
|
|
2869
|
-
"multiple": false,
|
|
2870
|
-
"type": "option"
|
|
2871
|
-
},
|
|
2872
|
-
"domain": {
|
|
2873
|
-
"description": "Custom domain",
|
|
2874
|
-
"name": "domain",
|
|
2875
|
-
"required": false,
|
|
2876
|
-
"hasDynamicHelp": false,
|
|
2877
|
-
"multiple": false,
|
|
2878
|
-
"type": "option"
|
|
2879
|
-
},
|
|
2880
|
-
"ingress": {
|
|
2881
|
-
"description": "Enable/disable ingress",
|
|
2882
|
-
"name": "ingress",
|
|
2883
|
-
"required": false,
|
|
2884
|
-
"allowNo": true,
|
|
2885
|
-
"type": "boolean"
|
|
2886
|
-
},
|
|
2887
2940
|
"output": {
|
|
2888
2941
|
"char": "o",
|
|
2889
2942
|
"description": "Output format",
|
|
@@ -2898,28 +2951,15 @@
|
|
|
2898
2951
|
],
|
|
2899
2952
|
"type": "option"
|
|
2900
2953
|
},
|
|
2901
|
-
"
|
|
2902
|
-
"
|
|
2903
|
-
"
|
|
2904
|
-
"
|
|
2954
|
+
"release": {
|
|
2955
|
+
"char": "r",
|
|
2956
|
+
"description": "Release name to deploy",
|
|
2957
|
+
"name": "release",
|
|
2958
|
+
"required": true,
|
|
2905
2959
|
"hasDynamicHelp": false,
|
|
2906
2960
|
"multiple": false,
|
|
2907
2961
|
"type": "option"
|
|
2908
2962
|
},
|
|
2909
|
-
"rbac": {
|
|
2910
|
-
"description": "Enable/disable RBAC",
|
|
2911
|
-
"name": "rbac",
|
|
2912
|
-
"required": false,
|
|
2913
|
-
"allowNo": true,
|
|
2914
|
-
"type": "boolean"
|
|
2915
|
-
},
|
|
2916
|
-
"tasks": {
|
|
2917
|
-
"description": "Enable/disable background tasks",
|
|
2918
|
-
"name": "tasks",
|
|
2919
|
-
"required": false,
|
|
2920
|
-
"allowNo": true,
|
|
2921
|
-
"type": "boolean"
|
|
2922
|
-
},
|
|
2923
2963
|
"workspace": {
|
|
2924
2964
|
"char": "w",
|
|
2925
2965
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2932,7 +2972,7 @@
|
|
|
2932
2972
|
},
|
|
2933
2973
|
"hasDynamicHelp": false,
|
|
2934
2974
|
"hiddenAliases": [],
|
|
2935
|
-
"id": "tenant:
|
|
2975
|
+
"id": "tenant:deploy_release",
|
|
2936
2976
|
"pluginAlias": "@xano/cli",
|
|
2937
2977
|
"pluginName": "@xano/cli",
|
|
2938
2978
|
"pluginType": "core",
|
|
@@ -2943,23 +2983,23 @@
|
|
|
2943
2983
|
"dist",
|
|
2944
2984
|
"commands",
|
|
2945
2985
|
"tenant",
|
|
2946
|
-
"
|
|
2986
|
+
"deploy_release",
|
|
2947
2987
|
"index.js"
|
|
2948
2988
|
]
|
|
2949
2989
|
},
|
|
2950
|
-
"tenant:
|
|
2990
|
+
"tenant:edit": {
|
|
2951
2991
|
"aliases": [],
|
|
2952
2992
|
"args": {
|
|
2953
2993
|
"tenant_name": {
|
|
2954
|
-
"description": "Tenant name to
|
|
2994
|
+
"description": "Tenant name to edit",
|
|
2955
2995
|
"name": "tenant_name",
|
|
2956
2996
|
"required": true
|
|
2957
2997
|
}
|
|
2958
2998
|
},
|
|
2959
|
-
"description": "
|
|
2999
|
+
"description": "Edit an existing tenant",
|
|
2960
3000
|
"examples": [
|
|
2961
|
-
"$ xano tenant
|
|
2962
|
-
"$ xano tenant
|
|
3001
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3002
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
2963
3003
|
],
|
|
2964
3004
|
"flags": {
|
|
2965
3005
|
"profile": {
|
|
@@ -2981,6 +3021,38 @@
|
|
|
2981
3021
|
"allowNo": false,
|
|
2982
3022
|
"type": "boolean"
|
|
2983
3023
|
},
|
|
3024
|
+
"description": {
|
|
3025
|
+
"char": "d",
|
|
3026
|
+
"description": "New description",
|
|
3027
|
+
"name": "description",
|
|
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",
|
|
3052
|
+
"required": false,
|
|
3053
|
+
"allowNo": true,
|
|
3054
|
+
"type": "boolean"
|
|
3055
|
+
},
|
|
2984
3056
|
"output": {
|
|
2985
3057
|
"char": "o",
|
|
2986
3058
|
"description": "Output format",
|
|
@@ -2995,15 +3067,28 @@
|
|
|
2995
3067
|
],
|
|
2996
3068
|
"type": "option"
|
|
2997
3069
|
},
|
|
2998
|
-
"
|
|
2999
|
-
"
|
|
3000
|
-
"
|
|
3001
|
-
"
|
|
3002
|
-
"required": true,
|
|
3070
|
+
"proxy": {
|
|
3071
|
+
"description": "Proxy URL",
|
|
3072
|
+
"name": "proxy",
|
|
3073
|
+
"required": false,
|
|
3003
3074
|
"hasDynamicHelp": false,
|
|
3004
3075
|
"multiple": false,
|
|
3005
3076
|
"type": "option"
|
|
3006
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
|
+
},
|
|
3007
3092
|
"workspace": {
|
|
3008
3093
|
"char": "w",
|
|
3009
3094
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3016,7 +3101,7 @@
|
|
|
3016
3101
|
},
|
|
3017
3102
|
"hasDynamicHelp": false,
|
|
3018
3103
|
"hiddenAliases": [],
|
|
3019
|
-
"id": "tenant:
|
|
3104
|
+
"id": "tenant:edit",
|
|
3020
3105
|
"pluginAlias": "@xano/cli",
|
|
3021
3106
|
"pluginName": "@xano/cli",
|
|
3022
3107
|
"pluginType": "core",
|
|
@@ -3027,7 +3112,7 @@
|
|
|
3027
3112
|
"dist",
|
|
3028
3113
|
"commands",
|
|
3029
3114
|
"tenant",
|
|
3030
|
-
"
|
|
3115
|
+
"edit",
|
|
3031
3116
|
"index.js"
|
|
3032
3117
|
]
|
|
3033
3118
|
},
|
|
@@ -3189,20 +3274,13 @@
|
|
|
3189
3274
|
"index.js"
|
|
3190
3275
|
]
|
|
3191
3276
|
},
|
|
3192
|
-
"
|
|
3277
|
+
"tenant:list": {
|
|
3193
3278
|
"aliases": [],
|
|
3194
|
-
"args": {
|
|
3195
|
-
|
|
3196
|
-
"description": "Output directory for pulled documents",
|
|
3197
|
-
"name": "directory",
|
|
3198
|
-
"required": true
|
|
3199
|
-
}
|
|
3200
|
-
},
|
|
3201
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
3279
|
+
"args": {},
|
|
3280
|
+
"description": "List all tenants in a workspace",
|
|
3202
3281
|
"examples": [
|
|
3203
|
-
"$ xano
|
|
3204
|
-
"$ xano
|
|
3205
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
3282
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3283
|
+
"$ xano tenant list -w 5 --output json"
|
|
3206
3284
|
],
|
|
3207
3285
|
"flags": {
|
|
3208
3286
|
"profile": {
|
|
@@ -3224,32 +3302,23 @@
|
|
|
3224
3302
|
"allowNo": false,
|
|
3225
3303
|
"type": "boolean"
|
|
3226
3304
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"
|
|
3229
|
-
"
|
|
3230
|
-
"
|
|
3231
|
-
"allowNo": false,
|
|
3232
|
-
"type": "boolean"
|
|
3233
|
-
},
|
|
3234
|
-
"records": {
|
|
3235
|
-
"description": "Include records",
|
|
3236
|
-
"name": "records",
|
|
3305
|
+
"output": {
|
|
3306
|
+
"char": "o",
|
|
3307
|
+
"description": "Output format",
|
|
3308
|
+
"name": "output",
|
|
3237
3309
|
"required": false,
|
|
3238
|
-
"
|
|
3239
|
-
"type": "boolean"
|
|
3240
|
-
},
|
|
3241
|
-
"release": {
|
|
3242
|
-
"char": "r",
|
|
3243
|
-
"description": "Release name to pull from",
|
|
3244
|
-
"name": "release",
|
|
3245
|
-
"required": true,
|
|
3310
|
+
"default": "summary",
|
|
3246
3311
|
"hasDynamicHelp": false,
|
|
3247
3312
|
"multiple": false,
|
|
3313
|
+
"options": [
|
|
3314
|
+
"summary",
|
|
3315
|
+
"json"
|
|
3316
|
+
],
|
|
3248
3317
|
"type": "option"
|
|
3249
3318
|
},
|
|
3250
3319
|
"workspace": {
|
|
3251
3320
|
"char": "w",
|
|
3252
|
-
"description": "Workspace ID (
|
|
3321
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3253
3322
|
"name": "workspace",
|
|
3254
3323
|
"required": false,
|
|
3255
3324
|
"hasDynamicHelp": false,
|
|
@@ -3259,7 +3328,7 @@
|
|
|
3259
3328
|
},
|
|
3260
3329
|
"hasDynamicHelp": false,
|
|
3261
3330
|
"hiddenAliases": [],
|
|
3262
|
-
"id": "
|
|
3331
|
+
"id": "tenant:list",
|
|
3263
3332
|
"pluginAlias": "@xano/cli",
|
|
3264
3333
|
"pluginName": "@xano/cli",
|
|
3265
3334
|
"pluginType": "core",
|
|
@@ -3269,8 +3338,8 @@
|
|
|
3269
3338
|
"relativePath": [
|
|
3270
3339
|
"dist",
|
|
3271
3340
|
"commands",
|
|
3272
|
-
"
|
|
3273
|
-
"
|
|
3341
|
+
"tenant",
|
|
3342
|
+
"list",
|
|
3274
3343
|
"index.js"
|
|
3275
3344
|
]
|
|
3276
3345
|
},
|
|
@@ -3462,13 +3531,13 @@
|
|
|
3462
3531
|
"index.js"
|
|
3463
3532
|
]
|
|
3464
3533
|
},
|
|
3465
|
-
"
|
|
3534
|
+
"unit_test:run_all": {
|
|
3466
3535
|
"aliases": [],
|
|
3467
3536
|
"args": {},
|
|
3468
|
-
"description": "
|
|
3537
|
+
"description": "Run all unit tests in a workspace",
|
|
3469
3538
|
"examples": [
|
|
3470
|
-
"$ xano
|
|
3471
|
-
"$ xano
|
|
3539
|
+
"$ 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",
|
|
3540
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3472
3541
|
],
|
|
3473
3542
|
"flags": {
|
|
3474
3543
|
"profile": {
|
|
@@ -3490,6 +3559,28 @@
|
|
|
3490
3559
|
"allowNo": false,
|
|
3491
3560
|
"type": "boolean"
|
|
3492
3561
|
},
|
|
3562
|
+
"branch": {
|
|
3563
|
+
"char": "b",
|
|
3564
|
+
"description": "Filter by branch name",
|
|
3565
|
+
"name": "branch",
|
|
3566
|
+
"required": false,
|
|
3567
|
+
"hasDynamicHelp": false,
|
|
3568
|
+
"multiple": false,
|
|
3569
|
+
"type": "option"
|
|
3570
|
+
},
|
|
3571
|
+
"obj-type": {
|
|
3572
|
+
"description": "Filter by object type",
|
|
3573
|
+
"name": "obj-type",
|
|
3574
|
+
"required": false,
|
|
3575
|
+
"hasDynamicHelp": false,
|
|
3576
|
+
"multiple": false,
|
|
3577
|
+
"options": [
|
|
3578
|
+
"function",
|
|
3579
|
+
"query",
|
|
3580
|
+
"middleware"
|
|
3581
|
+
],
|
|
3582
|
+
"type": "option"
|
|
3583
|
+
},
|
|
3493
3584
|
"output": {
|
|
3494
3585
|
"char": "o",
|
|
3495
3586
|
"description": "Output format",
|
|
@@ -3516,7 +3607,7 @@
|
|
|
3516
3607
|
},
|
|
3517
3608
|
"hasDynamicHelp": false,
|
|
3518
3609
|
"hiddenAliases": [],
|
|
3519
|
-
"id": "
|
|
3610
|
+
"id": "unit_test:run_all",
|
|
3520
3611
|
"pluginAlias": "@xano/cli",
|
|
3521
3612
|
"pluginName": "@xano/cli",
|
|
3522
3613
|
"pluginType": "core",
|
|
@@ -3526,19 +3617,24 @@
|
|
|
3526
3617
|
"relativePath": [
|
|
3527
3618
|
"dist",
|
|
3528
3619
|
"commands",
|
|
3529
|
-
"
|
|
3530
|
-
"
|
|
3620
|
+
"unit_test",
|
|
3621
|
+
"run_all",
|
|
3531
3622
|
"index.js"
|
|
3532
3623
|
]
|
|
3533
3624
|
},
|
|
3534
|
-
"
|
|
3625
|
+
"workflow_test:delete": {
|
|
3535
3626
|
"aliases": [],
|
|
3536
|
-
"args": {
|
|
3537
|
-
|
|
3627
|
+
"args": {
|
|
3628
|
+
"workflow_test_id": {
|
|
3629
|
+
"description": "ID of the workflow test to delete",
|
|
3630
|
+
"name": "workflow_test_id",
|
|
3631
|
+
"required": true
|
|
3632
|
+
}
|
|
3633
|
+
},
|
|
3634
|
+
"description": "Delete a workflow test",
|
|
3538
3635
|
"examples": [
|
|
3539
|
-
"$ xano
|
|
3540
|
-
"$ xano
|
|
3541
|
-
"$ xano unit-test list --obj-type function"
|
|
3636
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3637
|
+
"$ xano workflow-test delete 1 --force"
|
|
3542
3638
|
],
|
|
3543
3639
|
"flags": {
|
|
3544
3640
|
"profile": {
|
|
@@ -3560,27 +3656,13 @@
|
|
|
3560
3656
|
"allowNo": false,
|
|
3561
3657
|
"type": "boolean"
|
|
3562
3658
|
},
|
|
3563
|
-
"
|
|
3564
|
-
"char": "
|
|
3565
|
-
"description": "
|
|
3566
|
-
"name": "
|
|
3567
|
-
"required": false,
|
|
3568
|
-
"hasDynamicHelp": false,
|
|
3569
|
-
"multiple": false,
|
|
3570
|
-
"type": "option"
|
|
3571
|
-
},
|
|
3572
|
-
"obj-type": {
|
|
3573
|
-
"description": "Filter by object type",
|
|
3574
|
-
"name": "obj-type",
|
|
3659
|
+
"force": {
|
|
3660
|
+
"char": "f",
|
|
3661
|
+
"description": "Skip confirmation prompt",
|
|
3662
|
+
"name": "force",
|
|
3575
3663
|
"required": false,
|
|
3576
|
-
"
|
|
3577
|
-
"
|
|
3578
|
-
"options": [
|
|
3579
|
-
"function",
|
|
3580
|
-
"query",
|
|
3581
|
-
"middleware"
|
|
3582
|
-
],
|
|
3583
|
-
"type": "option"
|
|
3664
|
+
"allowNo": false,
|
|
3665
|
+
"type": "boolean"
|
|
3584
3666
|
},
|
|
3585
3667
|
"output": {
|
|
3586
3668
|
"char": "o",
|
|
@@ -3608,7 +3690,7 @@
|
|
|
3608
3690
|
},
|
|
3609
3691
|
"hasDynamicHelp": false,
|
|
3610
3692
|
"hiddenAliases": [],
|
|
3611
|
-
"id": "
|
|
3693
|
+
"id": "workflow_test:delete",
|
|
3612
3694
|
"pluginAlias": "@xano/cli",
|
|
3613
3695
|
"pluginName": "@xano/cli",
|
|
3614
3696
|
"pluginType": "core",
|
|
@@ -3618,24 +3700,25 @@
|
|
|
3618
3700
|
"relativePath": [
|
|
3619
3701
|
"dist",
|
|
3620
3702
|
"commands",
|
|
3621
|
-
"
|
|
3622
|
-
"
|
|
3703
|
+
"workflow_test",
|
|
3704
|
+
"delete",
|
|
3623
3705
|
"index.js"
|
|
3624
3706
|
]
|
|
3625
3707
|
},
|
|
3626
|
-
"
|
|
3708
|
+
"workflow_test:get": {
|
|
3627
3709
|
"aliases": [],
|
|
3628
3710
|
"args": {
|
|
3629
|
-
"
|
|
3630
|
-
"description": "ID of the
|
|
3631
|
-
"name": "
|
|
3711
|
+
"workflow_test_id": {
|
|
3712
|
+
"description": "ID of the workflow test",
|
|
3713
|
+
"name": "workflow_test_id",
|
|
3632
3714
|
"required": true
|
|
3633
3715
|
}
|
|
3634
3716
|
},
|
|
3635
|
-
"description": "
|
|
3717
|
+
"description": "Get a specific workflow test",
|
|
3636
3718
|
"examples": [
|
|
3637
|
-
"$ xano
|
|
3638
|
-
"$ xano
|
|
3719
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3720
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3721
|
+
"$ xano workflow-test get 1 -o json"
|
|
3639
3722
|
],
|
|
3640
3723
|
"flags": {
|
|
3641
3724
|
"profile": {
|
|
@@ -3657,6 +3740,13 @@
|
|
|
3657
3740
|
"allowNo": false,
|
|
3658
3741
|
"type": "boolean"
|
|
3659
3742
|
},
|
|
3743
|
+
"include-draft": {
|
|
3744
|
+
"description": "Include draft version",
|
|
3745
|
+
"name": "include-draft",
|
|
3746
|
+
"required": false,
|
|
3747
|
+
"allowNo": false,
|
|
3748
|
+
"type": "boolean"
|
|
3749
|
+
},
|
|
3660
3750
|
"output": {
|
|
3661
3751
|
"char": "o",
|
|
3662
3752
|
"description": "Output format",
|
|
@@ -3667,7 +3757,8 @@
|
|
|
3667
3757
|
"multiple": false,
|
|
3668
3758
|
"options": [
|
|
3669
3759
|
"summary",
|
|
3670
|
-
"json"
|
|
3760
|
+
"json",
|
|
3761
|
+
"xs"
|
|
3671
3762
|
],
|
|
3672
3763
|
"type": "option"
|
|
3673
3764
|
},
|
|
@@ -3683,7 +3774,7 @@
|
|
|
3683
3774
|
},
|
|
3684
3775
|
"hasDynamicHelp": false,
|
|
3685
3776
|
"hiddenAliases": [],
|
|
3686
|
-
"id": "
|
|
3777
|
+
"id": "workflow_test:get",
|
|
3687
3778
|
"pluginAlias": "@xano/cli",
|
|
3688
3779
|
"pluginName": "@xano/cli",
|
|
3689
3780
|
"pluginType": "core",
|
|
@@ -3693,18 +3784,19 @@
|
|
|
3693
3784
|
"relativePath": [
|
|
3694
3785
|
"dist",
|
|
3695
3786
|
"commands",
|
|
3696
|
-
"
|
|
3697
|
-
"
|
|
3787
|
+
"workflow_test",
|
|
3788
|
+
"get",
|
|
3698
3789
|
"index.js"
|
|
3699
3790
|
]
|
|
3700
3791
|
},
|
|
3701
|
-
"unit_test:
|
|
3792
|
+
"unit_test:list": {
|
|
3702
3793
|
"aliases": [],
|
|
3703
3794
|
"args": {},
|
|
3704
|
-
"description": "
|
|
3795
|
+
"description": "List all unit tests in a workspace",
|
|
3705
3796
|
"examples": [
|
|
3706
|
-
"$ xano unit-test
|
|
3707
|
-
"$ xano unit-test
|
|
3797
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3798
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3799
|
+
"$ xano unit-test list --obj-type function"
|
|
3708
3800
|
],
|
|
3709
3801
|
"flags": {
|
|
3710
3802
|
"profile": {
|
|
@@ -3774,7 +3866,7 @@
|
|
|
3774
3866
|
},
|
|
3775
3867
|
"hasDynamicHelp": false,
|
|
3776
3868
|
"hiddenAliases": [],
|
|
3777
|
-
"id": "unit_test:
|
|
3869
|
+
"id": "unit_test:list",
|
|
3778
3870
|
"pluginAlias": "@xano/cli",
|
|
3779
3871
|
"pluginName": "@xano/cli",
|
|
3780
3872
|
"pluginType": "core",
|
|
@@ -3785,23 +3877,18 @@
|
|
|
3785
3877
|
"dist",
|
|
3786
3878
|
"commands",
|
|
3787
3879
|
"unit_test",
|
|
3788
|
-
"
|
|
3880
|
+
"list",
|
|
3789
3881
|
"index.js"
|
|
3790
3882
|
]
|
|
3791
3883
|
},
|
|
3792
|
-
"workflow_test:
|
|
3884
|
+
"workflow_test:list": {
|
|
3793
3885
|
"aliases": [],
|
|
3794
|
-
"args": {
|
|
3795
|
-
|
|
3796
|
-
"description": "ID of the workflow test to delete",
|
|
3797
|
-
"name": "workflow_test_id",
|
|
3798
|
-
"required": true
|
|
3799
|
-
}
|
|
3800
|
-
},
|
|
3801
|
-
"description": "Delete a workflow test",
|
|
3886
|
+
"args": {},
|
|
3887
|
+
"description": "List all workflow tests in a workspace",
|
|
3802
3888
|
"examples": [
|
|
3803
|
-
"$ xano workflow-test
|
|
3804
|
-
"$ xano workflow-test
|
|
3889
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3890
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3891
|
+
"$ xano workflow-test list --branch main"
|
|
3805
3892
|
],
|
|
3806
3893
|
"flags": {
|
|
3807
3894
|
"profile": {
|
|
@@ -3823,13 +3910,14 @@
|
|
|
3823
3910
|
"allowNo": false,
|
|
3824
3911
|
"type": "boolean"
|
|
3825
3912
|
},
|
|
3826
|
-
"
|
|
3827
|
-
"char": "
|
|
3828
|
-
"description": "
|
|
3829
|
-
"name": "
|
|
3913
|
+
"branch": {
|
|
3914
|
+
"char": "b",
|
|
3915
|
+
"description": "Filter by branch name",
|
|
3916
|
+
"name": "branch",
|
|
3830
3917
|
"required": false,
|
|
3831
|
-
"
|
|
3832
|
-
"
|
|
3918
|
+
"hasDynamicHelp": false,
|
|
3919
|
+
"multiple": false,
|
|
3920
|
+
"type": "option"
|
|
3833
3921
|
},
|
|
3834
3922
|
"output": {
|
|
3835
3923
|
"char": "o",
|
|
@@ -3857,7 +3945,7 @@
|
|
|
3857
3945
|
},
|
|
3858
3946
|
"hasDynamicHelp": false,
|
|
3859
3947
|
"hiddenAliases": [],
|
|
3860
|
-
"id": "workflow_test:
|
|
3948
|
+
"id": "workflow_test:list",
|
|
3861
3949
|
"pluginAlias": "@xano/cli",
|
|
3862
3950
|
"pluginName": "@xano/cli",
|
|
3863
3951
|
"pluginType": "core",
|
|
@@ -3868,24 +3956,23 @@
|
|
|
3868
3956
|
"dist",
|
|
3869
3957
|
"commands",
|
|
3870
3958
|
"workflow_test",
|
|
3871
|
-
"
|
|
3959
|
+
"list",
|
|
3872
3960
|
"index.js"
|
|
3873
3961
|
]
|
|
3874
3962
|
},
|
|
3875
|
-
"workflow_test:
|
|
3963
|
+
"workflow_test:run": {
|
|
3876
3964
|
"aliases": [],
|
|
3877
3965
|
"args": {
|
|
3878
3966
|
"workflow_test_id": {
|
|
3879
|
-
"description": "ID of the workflow test",
|
|
3967
|
+
"description": "ID of the workflow test to run",
|
|
3880
3968
|
"name": "workflow_test_id",
|
|
3881
3969
|
"required": true
|
|
3882
3970
|
}
|
|
3883
3971
|
},
|
|
3884
|
-
"description": "
|
|
3972
|
+
"description": "Run a workflow test",
|
|
3885
3973
|
"examples": [
|
|
3886
|
-
"$ xano workflow-test
|
|
3887
|
-
"$ xano workflow-test
|
|
3888
|
-
"$ xano workflow-test get 1 -o json"
|
|
3974
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
3975
|
+
"$ xano workflow-test run 1 -o json"
|
|
3889
3976
|
],
|
|
3890
3977
|
"flags": {
|
|
3891
3978
|
"profile": {
|
|
@@ -3907,13 +3994,6 @@
|
|
|
3907
3994
|
"allowNo": false,
|
|
3908
3995
|
"type": "boolean"
|
|
3909
3996
|
},
|
|
3910
|
-
"include-draft": {
|
|
3911
|
-
"description": "Include draft version",
|
|
3912
|
-
"name": "include-draft",
|
|
3913
|
-
"required": false,
|
|
3914
|
-
"allowNo": false,
|
|
3915
|
-
"type": "boolean"
|
|
3916
|
-
},
|
|
3917
3997
|
"output": {
|
|
3918
3998
|
"char": "o",
|
|
3919
3999
|
"description": "Output format",
|
|
@@ -3924,8 +4004,7 @@
|
|
|
3924
4004
|
"multiple": false,
|
|
3925
4005
|
"options": [
|
|
3926
4006
|
"summary",
|
|
3927
|
-
"json"
|
|
3928
|
-
"xs"
|
|
4007
|
+
"json"
|
|
3929
4008
|
],
|
|
3930
4009
|
"type": "option"
|
|
3931
4010
|
},
|
|
@@ -3941,7 +4020,7 @@
|
|
|
3941
4020
|
},
|
|
3942
4021
|
"hasDynamicHelp": false,
|
|
3943
4022
|
"hiddenAliases": [],
|
|
3944
|
-
"id": "workflow_test:
|
|
4023
|
+
"id": "workflow_test:run",
|
|
3945
4024
|
"pluginAlias": "@xano/cli",
|
|
3946
4025
|
"pluginName": "@xano/cli",
|
|
3947
4026
|
"pluginType": "core",
|
|
@@ -3952,18 +4031,17 @@
|
|
|
3952
4031
|
"dist",
|
|
3953
4032
|
"commands",
|
|
3954
4033
|
"workflow_test",
|
|
3955
|
-
"
|
|
4034
|
+
"run",
|
|
3956
4035
|
"index.js"
|
|
3957
4036
|
]
|
|
3958
4037
|
},
|
|
3959
|
-
"workflow_test:
|
|
4038
|
+
"workflow_test:run_all": {
|
|
3960
4039
|
"aliases": [],
|
|
3961
4040
|
"args": {},
|
|
3962
|
-
"description": "
|
|
4041
|
+
"description": "Run all workflow tests in a workspace",
|
|
3963
4042
|
"examples": [
|
|
3964
|
-
"$ xano workflow-test
|
|
3965
|
-
"$ xano workflow-test
|
|
3966
|
-
"$ xano workflow-test list --branch main"
|
|
4043
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
4044
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
3967
4045
|
],
|
|
3968
4046
|
"flags": {
|
|
3969
4047
|
"profile": {
|
|
@@ -4020,7 +4098,7 @@
|
|
|
4020
4098
|
},
|
|
4021
4099
|
"hasDynamicHelp": false,
|
|
4022
4100
|
"hiddenAliases": [],
|
|
4023
|
-
"id": "workflow_test:
|
|
4101
|
+
"id": "workflow_test:run_all",
|
|
4024
4102
|
"pluginAlias": "@xano/cli",
|
|
4025
4103
|
"pluginName": "@xano/cli",
|
|
4026
4104
|
"pluginType": "core",
|
|
@@ -4031,17 +4109,23 @@
|
|
|
4031
4109
|
"dist",
|
|
4032
4110
|
"commands",
|
|
4033
4111
|
"workflow_test",
|
|
4034
|
-
"
|
|
4112
|
+
"run_all",
|
|
4035
4113
|
"index.js"
|
|
4036
4114
|
]
|
|
4037
4115
|
},
|
|
4038
|
-
"
|
|
4116
|
+
"unit_test:run": {
|
|
4039
4117
|
"aliases": [],
|
|
4040
|
-
"args": {
|
|
4041
|
-
|
|
4118
|
+
"args": {
|
|
4119
|
+
"unit_test_id": {
|
|
4120
|
+
"description": "ID of the unit test to run",
|
|
4121
|
+
"name": "unit_test_id",
|
|
4122
|
+
"required": true
|
|
4123
|
+
}
|
|
4124
|
+
},
|
|
4125
|
+
"description": "Run a unit test",
|
|
4042
4126
|
"examples": [
|
|
4043
|
-
"$ xano
|
|
4044
|
-
"$ xano
|
|
4127
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
4128
|
+
"$ xano unit-test run abc-123 -o json"
|
|
4045
4129
|
],
|
|
4046
4130
|
"flags": {
|
|
4047
4131
|
"profile": {
|
|
@@ -4063,15 +4147,6 @@
|
|
|
4063
4147
|
"allowNo": false,
|
|
4064
4148
|
"type": "boolean"
|
|
4065
4149
|
},
|
|
4066
|
-
"branch": {
|
|
4067
|
-
"char": "b",
|
|
4068
|
-
"description": "Filter by branch name",
|
|
4069
|
-
"name": "branch",
|
|
4070
|
-
"required": false,
|
|
4071
|
-
"hasDynamicHelp": false,
|
|
4072
|
-
"multiple": false,
|
|
4073
|
-
"type": "option"
|
|
4074
|
-
},
|
|
4075
4150
|
"output": {
|
|
4076
4151
|
"char": "o",
|
|
4077
4152
|
"description": "Output format",
|
|
@@ -4098,7 +4173,7 @@
|
|
|
4098
4173
|
},
|
|
4099
4174
|
"hasDynamicHelp": false,
|
|
4100
4175
|
"hiddenAliases": [],
|
|
4101
|
-
"id": "
|
|
4176
|
+
"id": "unit_test:run",
|
|
4102
4177
|
"pluginAlias": "@xano/cli",
|
|
4103
4178
|
"pluginName": "@xano/cli",
|
|
4104
4179
|
"pluginType": "core",
|
|
@@ -4108,8 +4183,8 @@
|
|
|
4108
4183
|
"relativePath": [
|
|
4109
4184
|
"dist",
|
|
4110
4185
|
"commands",
|
|
4111
|
-
"
|
|
4112
|
-
"
|
|
4186
|
+
"unit_test",
|
|
4187
|
+
"run",
|
|
4113
4188
|
"index.js"
|
|
4114
4189
|
]
|
|
4115
4190
|
},
|
|
@@ -4493,22 +4568,28 @@
|
|
|
4493
4568
|
"index.js"
|
|
4494
4569
|
]
|
|
4495
4570
|
},
|
|
4496
|
-
"workspace:
|
|
4571
|
+
"workspace:push": {
|
|
4497
4572
|
"aliases": [],
|
|
4498
4573
|
"args": {
|
|
4499
4574
|
"directory": {
|
|
4500
|
-
"description": "
|
|
4575
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4501
4576
|
"name": "directory",
|
|
4502
4577
|
"required": true
|
|
4503
4578
|
}
|
|
4504
4579
|
},
|
|
4505
|
-
"description": "
|
|
4580
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4506
4581
|
"examples": [
|
|
4507
|
-
"$ xano workspace
|
|
4508
|
-
"$ xano workspace
|
|
4509
|
-
"$ xano workspace
|
|
4510
|
-
"$ xano workspace
|
|
4511
|
-
"$ xano workspace
|
|
4582
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4583
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4584
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4585
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4586
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4587
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4588
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4589
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4590
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4591
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4592
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4512
4593
|
],
|
|
4513
4594
|
"flags": {
|
|
4514
4595
|
"profile": {
|
|
@@ -4539,24 +4620,45 @@
|
|
|
4539
4620
|
"multiple": false,
|
|
4540
4621
|
"type": "option"
|
|
4541
4622
|
},
|
|
4623
|
+
"delete": {
|
|
4624
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4625
|
+
"name": "delete",
|
|
4626
|
+
"required": false,
|
|
4627
|
+
"allowNo": true,
|
|
4628
|
+
"type": "boolean"
|
|
4629
|
+
},
|
|
4542
4630
|
"env": {
|
|
4543
|
-
"description": "Include environment variables",
|
|
4631
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4544
4632
|
"name": "env",
|
|
4545
4633
|
"required": false,
|
|
4546
|
-
"allowNo":
|
|
4634
|
+
"allowNo": true,
|
|
4547
4635
|
"type": "boolean"
|
|
4548
4636
|
},
|
|
4549
|
-
"
|
|
4550
|
-
"description": "
|
|
4551
|
-
"name": "
|
|
4637
|
+
"partial": {
|
|
4638
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4639
|
+
"name": "partial",
|
|
4552
4640
|
"required": false,
|
|
4553
4641
|
"allowNo": false,
|
|
4554
4642
|
"type": "boolean"
|
|
4555
4643
|
},
|
|
4556
4644
|
"records": {
|
|
4557
|
-
"description": "Include records",
|
|
4645
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4558
4646
|
"name": "records",
|
|
4559
4647
|
"required": false,
|
|
4648
|
+
"allowNo": true,
|
|
4649
|
+
"type": "boolean"
|
|
4650
|
+
},
|
|
4651
|
+
"sync-guids": {
|
|
4652
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4653
|
+
"name": "sync-guids",
|
|
4654
|
+
"required": false,
|
|
4655
|
+
"allowNo": true,
|
|
4656
|
+
"type": "boolean"
|
|
4657
|
+
},
|
|
4658
|
+
"truncate": {
|
|
4659
|
+
"description": "Truncate all table records before importing",
|
|
4660
|
+
"name": "truncate",
|
|
4661
|
+
"required": false,
|
|
4560
4662
|
"allowNo": false,
|
|
4561
4663
|
"type": "boolean"
|
|
4562
4664
|
},
|
|
@@ -4572,7 +4674,7 @@
|
|
|
4572
4674
|
},
|
|
4573
4675
|
"hasDynamicHelp": false,
|
|
4574
4676
|
"hiddenAliases": [],
|
|
4575
|
-
"id": "workspace:
|
|
4677
|
+
"id": "workspace:push",
|
|
4576
4678
|
"pluginAlias": "@xano/cli",
|
|
4577
4679
|
"pluginName": "@xano/cli",
|
|
4578
4680
|
"pluginType": "core",
|
|
@@ -4583,32 +4685,26 @@
|
|
|
4583
4685
|
"dist",
|
|
4584
4686
|
"commands",
|
|
4585
4687
|
"workspace",
|
|
4586
|
-
"
|
|
4688
|
+
"push",
|
|
4587
4689
|
"index.js"
|
|
4588
4690
|
]
|
|
4589
4691
|
},
|
|
4590
|
-
"workspace:
|
|
4692
|
+
"workspace:pull": {
|
|
4591
4693
|
"aliases": [],
|
|
4592
4694
|
"args": {
|
|
4593
4695
|
"directory": {
|
|
4594
|
-
"description": "
|
|
4696
|
+
"description": "Output directory for pulled documents",
|
|
4595
4697
|
"name": "directory",
|
|
4596
4698
|
"required": true
|
|
4597
4699
|
}
|
|
4598
4700
|
},
|
|
4599
|
-
"description": "
|
|
4701
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4600
4702
|
"examples": [
|
|
4601
|
-
"$ xano workspace
|
|
4602
|
-
"$ xano workspace
|
|
4603
|
-
"$ xano workspace
|
|
4604
|
-
"$ xano workspace
|
|
4605
|
-
"$ xano workspace
|
|
4606
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4607
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4608
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4609
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4610
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4611
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4703
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4704
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4705
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4706
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4707
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4612
4708
|
],
|
|
4613
4709
|
"flags": {
|
|
4614
4710
|
"profile": {
|
|
@@ -4637,47 +4733,26 @@
|
|
|
4637
4733
|
"required": false,
|
|
4638
4734
|
"hasDynamicHelp": false,
|
|
4639
4735
|
"multiple": false,
|
|
4640
|
-
"type": "option"
|
|
4641
|
-
},
|
|
4642
|
-
"delete": {
|
|
4643
|
-
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4644
|
-
"name": "delete",
|
|
4645
|
-
"required": false,
|
|
4646
|
-
"allowNo": true,
|
|
4647
|
-
"type": "boolean"
|
|
4736
|
+
"type": "option"
|
|
4648
4737
|
},
|
|
4649
4738
|
"env": {
|
|
4650
|
-
"description": "Include environment variables
|
|
4739
|
+
"description": "Include environment variables",
|
|
4651
4740
|
"name": "env",
|
|
4652
4741
|
"required": false,
|
|
4653
|
-
"allowNo":
|
|
4742
|
+
"allowNo": false,
|
|
4654
4743
|
"type": "boolean"
|
|
4655
4744
|
},
|
|
4656
|
-
"
|
|
4657
|
-
"description": "
|
|
4658
|
-
"name": "
|
|
4745
|
+
"draft": {
|
|
4746
|
+
"description": "Include draft versions",
|
|
4747
|
+
"name": "draft",
|
|
4659
4748
|
"required": false,
|
|
4660
4749
|
"allowNo": false,
|
|
4661
4750
|
"type": "boolean"
|
|
4662
4751
|
},
|
|
4663
4752
|
"records": {
|
|
4664
|
-
"description": "Include records
|
|
4753
|
+
"description": "Include records",
|
|
4665
4754
|
"name": "records",
|
|
4666
4755
|
"required": false,
|
|
4667
|
-
"allowNo": true,
|
|
4668
|
-
"type": "boolean"
|
|
4669
|
-
},
|
|
4670
|
-
"sync-guids": {
|
|
4671
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4672
|
-
"name": "sync-guids",
|
|
4673
|
-
"required": false,
|
|
4674
|
-
"allowNo": true,
|
|
4675
|
-
"type": "boolean"
|
|
4676
|
-
},
|
|
4677
|
-
"truncate": {
|
|
4678
|
-
"description": "Truncate all table records before importing",
|
|
4679
|
-
"name": "truncate",
|
|
4680
|
-
"required": false,
|
|
4681
4756
|
"allowNo": false,
|
|
4682
4757
|
"type": "boolean"
|
|
4683
4758
|
},
|
|
@@ -4693,7 +4768,7 @@
|
|
|
4693
4768
|
},
|
|
4694
4769
|
"hasDynamicHelp": false,
|
|
4695
4770
|
"hiddenAliases": [],
|
|
4696
|
-
"id": "workspace:
|
|
4771
|
+
"id": "workspace:pull",
|
|
4697
4772
|
"pluginAlias": "@xano/cli",
|
|
4698
4773
|
"pluginName": "@xano/cli",
|
|
4699
4774
|
"pluginType": "core",
|
|
@@ -4704,24 +4779,17 @@
|
|
|
4704
4779
|
"dist",
|
|
4705
4780
|
"commands",
|
|
4706
4781
|
"workspace",
|
|
4707
|
-
"
|
|
4782
|
+
"pull",
|
|
4708
4783
|
"index.js"
|
|
4709
4784
|
]
|
|
4710
4785
|
},
|
|
4711
|
-
"
|
|
4786
|
+
"profile:workspace:set": {
|
|
4712
4787
|
"aliases": [],
|
|
4713
|
-
"args": {
|
|
4714
|
-
|
|
4715
|
-
"description": "Static Host name",
|
|
4716
|
-
"name": "static_host",
|
|
4717
|
-
"required": true
|
|
4718
|
-
}
|
|
4719
|
-
},
|
|
4720
|
-
"description": "Create a new build for a static host",
|
|
4788
|
+
"args": {},
|
|
4789
|
+
"description": "Interactively select a workspace for a profile",
|
|
4721
4790
|
"examples": [
|
|
4722
|
-
"$ xano
|
|
4723
|
-
"$ xano
|
|
4724
|
-
"$ 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"
|
|
4791
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
4792
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
4725
4793
|
],
|
|
4726
4794
|
"flags": {
|
|
4727
4795
|
"profile": {
|
|
@@ -4742,61 +4810,11 @@
|
|
|
4742
4810
|
"required": false,
|
|
4743
4811
|
"allowNo": false,
|
|
4744
4812
|
"type": "boolean"
|
|
4745
|
-
},
|
|
4746
|
-
"description": {
|
|
4747
|
-
"char": "d",
|
|
4748
|
-
"description": "Build description",
|
|
4749
|
-
"name": "description",
|
|
4750
|
-
"required": false,
|
|
4751
|
-
"hasDynamicHelp": false,
|
|
4752
|
-
"multiple": false,
|
|
4753
|
-
"type": "option"
|
|
4754
|
-
},
|
|
4755
|
-
"file": {
|
|
4756
|
-
"char": "f",
|
|
4757
|
-
"description": "Path to zip file to upload",
|
|
4758
|
-
"name": "file",
|
|
4759
|
-
"required": true,
|
|
4760
|
-
"hasDynamicHelp": false,
|
|
4761
|
-
"multiple": false,
|
|
4762
|
-
"type": "option"
|
|
4763
|
-
},
|
|
4764
|
-
"name": {
|
|
4765
|
-
"char": "n",
|
|
4766
|
-
"description": "Build name",
|
|
4767
|
-
"name": "name",
|
|
4768
|
-
"required": true,
|
|
4769
|
-
"hasDynamicHelp": false,
|
|
4770
|
-
"multiple": false,
|
|
4771
|
-
"type": "option"
|
|
4772
|
-
},
|
|
4773
|
-
"output": {
|
|
4774
|
-
"char": "o",
|
|
4775
|
-
"description": "Output format",
|
|
4776
|
-
"name": "output",
|
|
4777
|
-
"required": false,
|
|
4778
|
-
"default": "summary",
|
|
4779
|
-
"hasDynamicHelp": false,
|
|
4780
|
-
"multiple": false,
|
|
4781
|
-
"options": [
|
|
4782
|
-
"summary",
|
|
4783
|
-
"json"
|
|
4784
|
-
],
|
|
4785
|
-
"type": "option"
|
|
4786
|
-
},
|
|
4787
|
-
"workspace": {
|
|
4788
|
-
"char": "w",
|
|
4789
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4790
|
-
"name": "workspace",
|
|
4791
|
-
"required": false,
|
|
4792
|
-
"hasDynamicHelp": false,
|
|
4793
|
-
"multiple": false,
|
|
4794
|
-
"type": "option"
|
|
4795
4813
|
}
|
|
4796
4814
|
},
|
|
4797
4815
|
"hasDynamicHelp": false,
|
|
4798
4816
|
"hiddenAliases": [],
|
|
4799
|
-
"id": "
|
|
4817
|
+
"id": "profile:workspace:set",
|
|
4800
4818
|
"pluginAlias": "@xano/cli",
|
|
4801
4819
|
"pluginName": "@xano/cli",
|
|
4802
4820
|
"pluginType": "core",
|
|
@@ -4806,9 +4824,9 @@
|
|
|
4806
4824
|
"relativePath": [
|
|
4807
4825
|
"dist",
|
|
4808
4826
|
"commands",
|
|
4809
|
-
"
|
|
4810
|
-
"
|
|
4811
|
-
"
|
|
4827
|
+
"profile",
|
|
4828
|
+
"workspace",
|
|
4829
|
+
"set",
|
|
4812
4830
|
"index.js"
|
|
4813
4831
|
]
|
|
4814
4832
|
},
|
|
@@ -4895,7 +4913,7 @@
|
|
|
4895
4913
|
"index.js"
|
|
4896
4914
|
]
|
|
4897
4915
|
},
|
|
4898
|
-
"static_host:build:
|
|
4916
|
+
"static_host:build:create": {
|
|
4899
4917
|
"aliases": [],
|
|
4900
4918
|
"args": {
|
|
4901
4919
|
"static_host": {
|
|
@@ -4904,12 +4922,11 @@
|
|
|
4904
4922
|
"required": true
|
|
4905
4923
|
}
|
|
4906
4924
|
},
|
|
4907
|
-
"description": "
|
|
4925
|
+
"description": "Create a new build for a static host",
|
|
4908
4926
|
"examples": [
|
|
4909
|
-
"$ xano static_host:build:
|
|
4910
|
-
"$ xano static_host:build:
|
|
4911
|
-
"$ xano static_host:build:
|
|
4912
|
-
"$ 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"
|
|
4927
|
+
"$ 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",
|
|
4928
|
+
"$ 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",
|
|
4929
|
+
"$ 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"
|
|
4913
4930
|
],
|
|
4914
4931
|
"flags": {
|
|
4915
4932
|
"profile": {
|
|
@@ -4931,36 +4948,45 @@
|
|
|
4931
4948
|
"allowNo": false,
|
|
4932
4949
|
"type": "boolean"
|
|
4933
4950
|
},
|
|
4934
|
-
"
|
|
4935
|
-
"char": "
|
|
4936
|
-
"description": "
|
|
4937
|
-
"name": "
|
|
4951
|
+
"description": {
|
|
4952
|
+
"char": "d",
|
|
4953
|
+
"description": "Build description",
|
|
4954
|
+
"name": "description",
|
|
4938
4955
|
"required": false,
|
|
4939
|
-
"default": "summary",
|
|
4940
4956
|
"hasDynamicHelp": false,
|
|
4941
4957
|
"multiple": false,
|
|
4942
|
-
"options": [
|
|
4943
|
-
"summary",
|
|
4944
|
-
"json"
|
|
4945
|
-
],
|
|
4946
4958
|
"type": "option"
|
|
4947
4959
|
},
|
|
4948
|
-
"
|
|
4949
|
-
"
|
|
4950
|
-
"
|
|
4951
|
-
"
|
|
4952
|
-
"
|
|
4960
|
+
"file": {
|
|
4961
|
+
"char": "f",
|
|
4962
|
+
"description": "Path to zip file to upload",
|
|
4963
|
+
"name": "file",
|
|
4964
|
+
"required": true,
|
|
4953
4965
|
"hasDynamicHelp": false,
|
|
4954
4966
|
"multiple": false,
|
|
4955
4967
|
"type": "option"
|
|
4956
4968
|
},
|
|
4957
|
-
"
|
|
4958
|
-
"
|
|
4959
|
-
"
|
|
4969
|
+
"name": {
|
|
4970
|
+
"char": "n",
|
|
4971
|
+
"description": "Build name",
|
|
4972
|
+
"name": "name",
|
|
4973
|
+
"required": true,
|
|
4974
|
+
"hasDynamicHelp": false,
|
|
4975
|
+
"multiple": false,
|
|
4976
|
+
"type": "option"
|
|
4977
|
+
},
|
|
4978
|
+
"output": {
|
|
4979
|
+
"char": "o",
|
|
4980
|
+
"description": "Output format",
|
|
4981
|
+
"name": "output",
|
|
4960
4982
|
"required": false,
|
|
4961
|
-
"default":
|
|
4983
|
+
"default": "summary",
|
|
4962
4984
|
"hasDynamicHelp": false,
|
|
4963
4985
|
"multiple": false,
|
|
4986
|
+
"options": [
|
|
4987
|
+
"summary",
|
|
4988
|
+
"json"
|
|
4989
|
+
],
|
|
4964
4990
|
"type": "option"
|
|
4965
4991
|
},
|
|
4966
4992
|
"workspace": {
|
|
@@ -4975,7 +5001,7 @@
|
|
|
4975
5001
|
},
|
|
4976
5002
|
"hasDynamicHelp": false,
|
|
4977
5003
|
"hiddenAliases": [],
|
|
4978
|
-
"id": "static_host:build:
|
|
5004
|
+
"id": "static_host:build:create",
|
|
4979
5005
|
"pluginAlias": "@xano/cli",
|
|
4980
5006
|
"pluginName": "@xano/cli",
|
|
4981
5007
|
"pluginType": "core",
|
|
@@ -4987,23 +5013,25 @@
|
|
|
4987
5013
|
"commands",
|
|
4988
5014
|
"static_host",
|
|
4989
5015
|
"build",
|
|
4990
|
-
"
|
|
5016
|
+
"create",
|
|
4991
5017
|
"index.js"
|
|
4992
5018
|
]
|
|
4993
5019
|
},
|
|
4994
|
-
"
|
|
5020
|
+
"static_host:build:list": {
|
|
4995
5021
|
"aliases": [],
|
|
4996
5022
|
"args": {
|
|
4997
|
-
"
|
|
4998
|
-
"description": "
|
|
4999
|
-
"name": "
|
|
5023
|
+
"static_host": {
|
|
5024
|
+
"description": "Static Host name",
|
|
5025
|
+
"name": "static_host",
|
|
5000
5026
|
"required": true
|
|
5001
5027
|
}
|
|
5002
5028
|
},
|
|
5003
|
-
"description": "
|
|
5029
|
+
"description": "List all builds for a static host",
|
|
5004
5030
|
"examples": [
|
|
5005
|
-
"$ xano
|
|
5006
|
-
"$ xano
|
|
5031
|
+
"$ 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",
|
|
5032
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
5033
|
+
"$ 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",
|
|
5034
|
+
"$ 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"
|
|
5007
5035
|
],
|
|
5008
5036
|
"flags": {
|
|
5009
5037
|
"profile": {
|
|
@@ -5039,9 +5067,27 @@
|
|
|
5039
5067
|
],
|
|
5040
5068
|
"type": "option"
|
|
5041
5069
|
},
|
|
5070
|
+
"page": {
|
|
5071
|
+
"description": "Page number for pagination",
|
|
5072
|
+
"name": "page",
|
|
5073
|
+
"required": false,
|
|
5074
|
+
"default": 1,
|
|
5075
|
+
"hasDynamicHelp": false,
|
|
5076
|
+
"multiple": false,
|
|
5077
|
+
"type": "option"
|
|
5078
|
+
},
|
|
5079
|
+
"per_page": {
|
|
5080
|
+
"description": "Number of results per page",
|
|
5081
|
+
"name": "per_page",
|
|
5082
|
+
"required": false,
|
|
5083
|
+
"default": 50,
|
|
5084
|
+
"hasDynamicHelp": false,
|
|
5085
|
+
"multiple": false,
|
|
5086
|
+
"type": "option"
|
|
5087
|
+
},
|
|
5042
5088
|
"workspace": {
|
|
5043
5089
|
"char": "w",
|
|
5044
|
-
"description": "Workspace ID (
|
|
5090
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5045
5091
|
"name": "workspace",
|
|
5046
5092
|
"required": false,
|
|
5047
5093
|
"hasDynamicHelp": false,
|
|
@@ -5051,7 +5097,7 @@
|
|
|
5051
5097
|
},
|
|
5052
5098
|
"hasDynamicHelp": false,
|
|
5053
5099
|
"hiddenAliases": [],
|
|
5054
|
-
"id": "
|
|
5100
|
+
"id": "static_host:build:list",
|
|
5055
5101
|
"pluginAlias": "@xano/cli",
|
|
5056
5102
|
"pluginName": "@xano/cli",
|
|
5057
5103
|
"pluginType": "core",
|
|
@@ -5061,8 +5107,9 @@
|
|
|
5061
5107
|
"relativePath": [
|
|
5062
5108
|
"dist",
|
|
5063
5109
|
"commands",
|
|
5064
|
-
"
|
|
5065
|
-
"
|
|
5110
|
+
"static_host",
|
|
5111
|
+
"build",
|
|
5112
|
+
"list",
|
|
5066
5113
|
"index.js"
|
|
5067
5114
|
]
|
|
5068
5115
|
},
|
|
@@ -5152,20 +5199,19 @@
|
|
|
5152
5199
|
"index.js"
|
|
5153
5200
|
]
|
|
5154
5201
|
},
|
|
5155
|
-
"tenant:backup:
|
|
5202
|
+
"tenant:backup:list": {
|
|
5156
5203
|
"aliases": [],
|
|
5157
5204
|
"args": {
|
|
5158
5205
|
"tenant_name": {
|
|
5159
|
-
"description": "Tenant name
|
|
5206
|
+
"description": "Tenant name to list backups for",
|
|
5160
5207
|
"name": "tenant_name",
|
|
5161
5208
|
"required": true
|
|
5162
5209
|
}
|
|
5163
5210
|
},
|
|
5164
|
-
"description": "
|
|
5211
|
+
"description": "List backups for a tenant",
|
|
5165
5212
|
"examples": [
|
|
5166
|
-
"$ xano tenant backup
|
|
5167
|
-
"$ xano tenant backup
|
|
5168
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5213
|
+
"$ 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",
|
|
5214
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5169
5215
|
],
|
|
5170
5216
|
"flags": {
|
|
5171
5217
|
"profile": {
|
|
@@ -5187,22 +5233,6 @@
|
|
|
5187
5233
|
"allowNo": false,
|
|
5188
5234
|
"type": "boolean"
|
|
5189
5235
|
},
|
|
5190
|
-
"backup_id": {
|
|
5191
|
-
"description": "Backup ID to delete",
|
|
5192
|
-
"name": "backup_id",
|
|
5193
|
-
"required": true,
|
|
5194
|
-
"hasDynamicHelp": false,
|
|
5195
|
-
"multiple": false,
|
|
5196
|
-
"type": "option"
|
|
5197
|
-
},
|
|
5198
|
-
"force": {
|
|
5199
|
-
"char": "f",
|
|
5200
|
-
"description": "Skip confirmation prompt",
|
|
5201
|
-
"name": "force",
|
|
5202
|
-
"required": false,
|
|
5203
|
-
"allowNo": false,
|
|
5204
|
-
"type": "boolean"
|
|
5205
|
-
},
|
|
5206
5236
|
"output": {
|
|
5207
5237
|
"char": "o",
|
|
5208
5238
|
"description": "Output format",
|
|
@@ -5217,6 +5247,15 @@
|
|
|
5217
5247
|
],
|
|
5218
5248
|
"type": "option"
|
|
5219
5249
|
},
|
|
5250
|
+
"page": {
|
|
5251
|
+
"description": "Page number for pagination",
|
|
5252
|
+
"name": "page",
|
|
5253
|
+
"required": false,
|
|
5254
|
+
"default": 1,
|
|
5255
|
+
"hasDynamicHelp": false,
|
|
5256
|
+
"multiple": false,
|
|
5257
|
+
"type": "option"
|
|
5258
|
+
},
|
|
5220
5259
|
"workspace": {
|
|
5221
5260
|
"char": "w",
|
|
5222
5261
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5229,7 +5268,7 @@
|
|
|
5229
5268
|
},
|
|
5230
5269
|
"hasDynamicHelp": false,
|
|
5231
5270
|
"hiddenAliases": [],
|
|
5232
|
-
"id": "tenant:backup:
|
|
5271
|
+
"id": "tenant:backup:list",
|
|
5233
5272
|
"pluginAlias": "@xano/cli",
|
|
5234
5273
|
"pluginName": "@xano/cli",
|
|
5235
5274
|
"pluginType": "core",
|
|
@@ -5241,24 +5280,23 @@
|
|
|
5241
5280
|
"commands",
|
|
5242
5281
|
"tenant",
|
|
5243
5282
|
"backup",
|
|
5244
|
-
"
|
|
5283
|
+
"list",
|
|
5245
5284
|
"index.js"
|
|
5246
5285
|
]
|
|
5247
5286
|
},
|
|
5248
|
-
"tenant:backup:
|
|
5287
|
+
"tenant:backup:restore": {
|
|
5249
5288
|
"aliases": [],
|
|
5250
5289
|
"args": {
|
|
5251
5290
|
"tenant_name": {
|
|
5252
|
-
"description": "Tenant name to
|
|
5291
|
+
"description": "Tenant name to restore",
|
|
5253
5292
|
"name": "tenant_name",
|
|
5254
5293
|
"required": true
|
|
5255
5294
|
}
|
|
5256
5295
|
},
|
|
5257
|
-
"description": "
|
|
5296
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5258
5297
|
"examples": [
|
|
5259
|
-
"$ xano tenant backup
|
|
5260
|
-
"$ xano tenant backup
|
|
5261
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5298
|
+
"$ 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",
|
|
5299
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5262
5300
|
],
|
|
5263
5301
|
"flags": {
|
|
5264
5302
|
"profile": {
|
|
@@ -5281,17 +5319,25 @@
|
|
|
5281
5319
|
"type": "boolean"
|
|
5282
5320
|
},
|
|
5283
5321
|
"backup_id": {
|
|
5284
|
-
"description": "Backup ID to
|
|
5322
|
+
"description": "Backup ID to restore from",
|
|
5285
5323
|
"name": "backup_id",
|
|
5286
5324
|
"required": true,
|
|
5287
5325
|
"hasDynamicHelp": false,
|
|
5288
5326
|
"multiple": false,
|
|
5289
5327
|
"type": "option"
|
|
5290
5328
|
},
|
|
5291
|
-
"
|
|
5329
|
+
"force": {
|
|
5330
|
+
"char": "f",
|
|
5331
|
+
"description": "Skip confirmation prompt",
|
|
5332
|
+
"name": "force",
|
|
5333
|
+
"required": false,
|
|
5334
|
+
"allowNo": false,
|
|
5335
|
+
"type": "boolean"
|
|
5336
|
+
},
|
|
5337
|
+
"output": {
|
|
5292
5338
|
"char": "o",
|
|
5293
5339
|
"description": "Output format",
|
|
5294
|
-
"name": "
|
|
5340
|
+
"name": "output",
|
|
5295
5341
|
"required": false,
|
|
5296
5342
|
"default": "summary",
|
|
5297
5343
|
"hasDynamicHelp": false,
|
|
@@ -5302,14 +5348,6 @@
|
|
|
5302
5348
|
],
|
|
5303
5349
|
"type": "option"
|
|
5304
5350
|
},
|
|
5305
|
-
"output": {
|
|
5306
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5307
|
-
"name": "output",
|
|
5308
|
-
"required": false,
|
|
5309
|
-
"hasDynamicHelp": false,
|
|
5310
|
-
"multiple": false,
|
|
5311
|
-
"type": "option"
|
|
5312
|
-
},
|
|
5313
5351
|
"workspace": {
|
|
5314
5352
|
"char": "w",
|
|
5315
5353
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5322,7 +5360,7 @@
|
|
|
5322
5360
|
},
|
|
5323
5361
|
"hasDynamicHelp": false,
|
|
5324
5362
|
"hiddenAliases": [],
|
|
5325
|
-
"id": "tenant:backup:
|
|
5363
|
+
"id": "tenant:backup:restore",
|
|
5326
5364
|
"pluginAlias": "@xano/cli",
|
|
5327
5365
|
"pluginName": "@xano/cli",
|
|
5328
5366
|
"pluginType": "core",
|
|
@@ -5334,7 +5372,7 @@
|
|
|
5334
5372
|
"commands",
|
|
5335
5373
|
"tenant",
|
|
5336
5374
|
"backup",
|
|
5337
|
-
"
|
|
5375
|
+
"restore",
|
|
5338
5376
|
"index.js"
|
|
5339
5377
|
]
|
|
5340
5378
|
},
|
|
@@ -5433,19 +5471,13 @@
|
|
|
5433
5471
|
"index.js"
|
|
5434
5472
|
]
|
|
5435
5473
|
},
|
|
5436
|
-
"tenant:
|
|
5474
|
+
"tenant:cluster:create": {
|
|
5437
5475
|
"aliases": [],
|
|
5438
|
-
"args": {
|
|
5439
|
-
|
|
5440
|
-
"description": "Tenant name to list backups for",
|
|
5441
|
-
"name": "tenant_name",
|
|
5442
|
-
"required": true
|
|
5443
|
-
}
|
|
5444
|
-
},
|
|
5445
|
-
"description": "List backups for a tenant",
|
|
5476
|
+
"args": {},
|
|
5477
|
+
"description": "Create a new tenant cluster",
|
|
5446
5478
|
"examples": [
|
|
5447
|
-
"$ xano tenant
|
|
5448
|
-
"$ xano tenant
|
|
5479
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5480
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5449
5481
|
],
|
|
5450
5482
|
"flags": {
|
|
5451
5483
|
"profile": {
|
|
@@ -5467,6 +5499,54 @@
|
|
|
5467
5499
|
"allowNo": false,
|
|
5468
5500
|
"type": "boolean"
|
|
5469
5501
|
},
|
|
5502
|
+
"credentials": {
|
|
5503
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5504
|
+
"exclusive": [
|
|
5505
|
+
"credentials_file"
|
|
5506
|
+
],
|
|
5507
|
+
"name": "credentials",
|
|
5508
|
+
"required": false,
|
|
5509
|
+
"hasDynamicHelp": false,
|
|
5510
|
+
"multiple": false,
|
|
5511
|
+
"type": "option"
|
|
5512
|
+
},
|
|
5513
|
+
"credentials_file": {
|
|
5514
|
+
"description": "Path to kubeconfig credentials file",
|
|
5515
|
+
"exclusive": [
|
|
5516
|
+
"credentials"
|
|
5517
|
+
],
|
|
5518
|
+
"name": "credentials_file",
|
|
5519
|
+
"required": false,
|
|
5520
|
+
"hasDynamicHelp": false,
|
|
5521
|
+
"multiple": false,
|
|
5522
|
+
"type": "option"
|
|
5523
|
+
},
|
|
5524
|
+
"description": {
|
|
5525
|
+
"char": "d",
|
|
5526
|
+
"description": "Cluster description",
|
|
5527
|
+
"name": "description",
|
|
5528
|
+
"required": false,
|
|
5529
|
+
"hasDynamicHelp": false,
|
|
5530
|
+
"multiple": false,
|
|
5531
|
+
"type": "option"
|
|
5532
|
+
},
|
|
5533
|
+
"domain": {
|
|
5534
|
+
"description": "Custom domain for the cluster",
|
|
5535
|
+
"name": "domain",
|
|
5536
|
+
"required": false,
|
|
5537
|
+
"hasDynamicHelp": false,
|
|
5538
|
+
"multiple": false,
|
|
5539
|
+
"type": "option"
|
|
5540
|
+
},
|
|
5541
|
+
"name": {
|
|
5542
|
+
"char": "n",
|
|
5543
|
+
"description": "Cluster name",
|
|
5544
|
+
"name": "name",
|
|
5545
|
+
"required": true,
|
|
5546
|
+
"hasDynamicHelp": false,
|
|
5547
|
+
"multiple": false,
|
|
5548
|
+
"type": "option"
|
|
5549
|
+
},
|
|
5470
5550
|
"output": {
|
|
5471
5551
|
"char": "o",
|
|
5472
5552
|
"description": "Output format",
|
|
@@ -5481,28 +5561,23 @@
|
|
|
5481
5561
|
],
|
|
5482
5562
|
"type": "option"
|
|
5483
5563
|
},
|
|
5484
|
-
"
|
|
5485
|
-
"description": "
|
|
5486
|
-
"name": "
|
|
5487
|
-
"required": false,
|
|
5488
|
-
"default": 1,
|
|
5489
|
-
"hasDynamicHelp": false,
|
|
5490
|
-
"multiple": false,
|
|
5491
|
-
"type": "option"
|
|
5492
|
-
},
|
|
5493
|
-
"workspace": {
|
|
5494
|
-
"char": "w",
|
|
5495
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5496
|
-
"name": "workspace",
|
|
5564
|
+
"type": {
|
|
5565
|
+
"description": "Cluster type",
|
|
5566
|
+
"name": "type",
|
|
5497
5567
|
"required": false,
|
|
5568
|
+
"default": "standard",
|
|
5498
5569
|
"hasDynamicHelp": false,
|
|
5499
5570
|
"multiple": false,
|
|
5571
|
+
"options": [
|
|
5572
|
+
"standard",
|
|
5573
|
+
"run"
|
|
5574
|
+
],
|
|
5500
5575
|
"type": "option"
|
|
5501
5576
|
}
|
|
5502
5577
|
},
|
|
5503
5578
|
"hasDynamicHelp": false,
|
|
5504
5579
|
"hiddenAliases": [],
|
|
5505
|
-
"id": "tenant:
|
|
5580
|
+
"id": "tenant:cluster:create",
|
|
5506
5581
|
"pluginAlias": "@xano/cli",
|
|
5507
5582
|
"pluginName": "@xano/cli",
|
|
5508
5583
|
"pluginType": "core",
|
|
@@ -5513,24 +5588,24 @@
|
|
|
5513
5588
|
"dist",
|
|
5514
5589
|
"commands",
|
|
5515
5590
|
"tenant",
|
|
5516
|
-
"
|
|
5517
|
-
"
|
|
5591
|
+
"cluster",
|
|
5592
|
+
"create",
|
|
5518
5593
|
"index.js"
|
|
5519
5594
|
]
|
|
5520
5595
|
},
|
|
5521
|
-
"tenant:
|
|
5596
|
+
"tenant:cluster:edit": {
|
|
5522
5597
|
"aliases": [],
|
|
5523
5598
|
"args": {
|
|
5524
|
-
"
|
|
5525
|
-
"description": "
|
|
5526
|
-
"name": "
|
|
5599
|
+
"cluster_id": {
|
|
5600
|
+
"description": "Cluster ID to edit",
|
|
5601
|
+
"name": "cluster_id",
|
|
5527
5602
|
"required": true
|
|
5528
5603
|
}
|
|
5529
5604
|
},
|
|
5530
|
-
"description": "
|
|
5605
|
+
"description": "Update an existing tenant cluster",
|
|
5531
5606
|
"examples": [
|
|
5532
|
-
"$ xano tenant
|
|
5533
|
-
"$ xano tenant
|
|
5607
|
+
"$ 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",
|
|
5608
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5534
5609
|
],
|
|
5535
5610
|
"flags": {
|
|
5536
5611
|
"profile": {
|
|
@@ -5552,21 +5627,31 @@
|
|
|
5552
5627
|
"allowNo": false,
|
|
5553
5628
|
"type": "boolean"
|
|
5554
5629
|
},
|
|
5555
|
-
"
|
|
5556
|
-
"
|
|
5557
|
-
"
|
|
5630
|
+
"description": {
|
|
5631
|
+
"char": "d",
|
|
5632
|
+
"description": "Cluster description",
|
|
5633
|
+
"name": "description",
|
|
5558
5634
|
"required": true,
|
|
5559
5635
|
"hasDynamicHelp": false,
|
|
5560
5636
|
"multiple": false,
|
|
5561
5637
|
"type": "option"
|
|
5562
5638
|
},
|
|
5563
|
-
"
|
|
5564
|
-
"
|
|
5565
|
-
"
|
|
5566
|
-
"
|
|
5567
|
-
"
|
|
5568
|
-
"
|
|
5569
|
-
"type": "
|
|
5639
|
+
"domain": {
|
|
5640
|
+
"description": "Custom domain for the cluster",
|
|
5641
|
+
"name": "domain",
|
|
5642
|
+
"required": true,
|
|
5643
|
+
"hasDynamicHelp": false,
|
|
5644
|
+
"multiple": false,
|
|
5645
|
+
"type": "option"
|
|
5646
|
+
},
|
|
5647
|
+
"name": {
|
|
5648
|
+
"char": "n",
|
|
5649
|
+
"description": "Cluster name",
|
|
5650
|
+
"name": "name",
|
|
5651
|
+
"required": true,
|
|
5652
|
+
"hasDynamicHelp": false,
|
|
5653
|
+
"multiple": false,
|
|
5654
|
+
"type": "option"
|
|
5570
5655
|
},
|
|
5571
5656
|
"output": {
|
|
5572
5657
|
"char": "o",
|
|
@@ -5582,19 +5667,22 @@
|
|
|
5582
5667
|
],
|
|
5583
5668
|
"type": "option"
|
|
5584
5669
|
},
|
|
5585
|
-
"
|
|
5586
|
-
"
|
|
5587
|
-
"
|
|
5588
|
-
"
|
|
5589
|
-
"required": false,
|
|
5670
|
+
"type": {
|
|
5671
|
+
"description": "Cluster type",
|
|
5672
|
+
"name": "type",
|
|
5673
|
+
"required": true,
|
|
5590
5674
|
"hasDynamicHelp": false,
|
|
5591
5675
|
"multiple": false,
|
|
5676
|
+
"options": [
|
|
5677
|
+
"standard",
|
|
5678
|
+
"run"
|
|
5679
|
+
],
|
|
5592
5680
|
"type": "option"
|
|
5593
5681
|
}
|
|
5594
5682
|
},
|
|
5595
5683
|
"hasDynamicHelp": false,
|
|
5596
5684
|
"hiddenAliases": [],
|
|
5597
|
-
"id": "tenant:
|
|
5685
|
+
"id": "tenant:cluster:edit",
|
|
5598
5686
|
"pluginAlias": "@xano/cli",
|
|
5599
5687
|
"pluginName": "@xano/cli",
|
|
5600
5688
|
"pluginType": "core",
|
|
@@ -5605,18 +5693,24 @@
|
|
|
5605
5693
|
"dist",
|
|
5606
5694
|
"commands",
|
|
5607
5695
|
"tenant",
|
|
5608
|
-
"
|
|
5609
|
-
"
|
|
5696
|
+
"cluster",
|
|
5697
|
+
"edit",
|
|
5610
5698
|
"index.js"
|
|
5611
5699
|
]
|
|
5612
5700
|
},
|
|
5613
|
-
"tenant:cluster:
|
|
5701
|
+
"tenant:cluster:get": {
|
|
5614
5702
|
"aliases": [],
|
|
5615
|
-
"args": {
|
|
5616
|
-
|
|
5703
|
+
"args": {
|
|
5704
|
+
"cluster_id": {
|
|
5705
|
+
"description": "Cluster ID to retrieve",
|
|
5706
|
+
"name": "cluster_id",
|
|
5707
|
+
"required": true
|
|
5708
|
+
}
|
|
5709
|
+
},
|
|
5710
|
+
"description": "Get details of a specific tenant cluster",
|
|
5617
5711
|
"examples": [
|
|
5618
|
-
"$ xano tenant cluster
|
|
5619
|
-
"$ xano tenant cluster
|
|
5712
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5713
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5620
5714
|
],
|
|
5621
5715
|
"flags": {
|
|
5622
5716
|
"profile": {
|
|
@@ -5638,85 +5732,24 @@
|
|
|
5638
5732
|
"allowNo": false,
|
|
5639
5733
|
"type": "boolean"
|
|
5640
5734
|
},
|
|
5641
|
-
"credentials": {
|
|
5642
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
5643
|
-
"exclusive": [
|
|
5644
|
-
"credentials_file"
|
|
5645
|
-
],
|
|
5646
|
-
"name": "credentials",
|
|
5647
|
-
"required": false,
|
|
5648
|
-
"hasDynamicHelp": false,
|
|
5649
|
-
"multiple": false,
|
|
5650
|
-
"type": "option"
|
|
5651
|
-
},
|
|
5652
|
-
"credentials_file": {
|
|
5653
|
-
"description": "Path to kubeconfig credentials file",
|
|
5654
|
-
"exclusive": [
|
|
5655
|
-
"credentials"
|
|
5656
|
-
],
|
|
5657
|
-
"name": "credentials_file",
|
|
5658
|
-
"required": false,
|
|
5659
|
-
"hasDynamicHelp": false,
|
|
5660
|
-
"multiple": false,
|
|
5661
|
-
"type": "option"
|
|
5662
|
-
},
|
|
5663
|
-
"description": {
|
|
5664
|
-
"char": "d",
|
|
5665
|
-
"description": "Cluster description",
|
|
5666
|
-
"name": "description",
|
|
5667
|
-
"required": false,
|
|
5668
|
-
"hasDynamicHelp": false,
|
|
5669
|
-
"multiple": false,
|
|
5670
|
-
"type": "option"
|
|
5671
|
-
},
|
|
5672
|
-
"domain": {
|
|
5673
|
-
"description": "Custom domain for the cluster",
|
|
5674
|
-
"name": "domain",
|
|
5675
|
-
"required": false,
|
|
5676
|
-
"hasDynamicHelp": false,
|
|
5677
|
-
"multiple": false,
|
|
5678
|
-
"type": "option"
|
|
5679
|
-
},
|
|
5680
|
-
"name": {
|
|
5681
|
-
"char": "n",
|
|
5682
|
-
"description": "Cluster name",
|
|
5683
|
-
"name": "name",
|
|
5684
|
-
"required": true,
|
|
5685
|
-
"hasDynamicHelp": false,
|
|
5686
|
-
"multiple": false,
|
|
5687
|
-
"type": "option"
|
|
5688
|
-
},
|
|
5689
5735
|
"output": {
|
|
5690
5736
|
"char": "o",
|
|
5691
5737
|
"description": "Output format",
|
|
5692
5738
|
"name": "output",
|
|
5693
5739
|
"required": false,
|
|
5694
|
-
"default": "summary",
|
|
5695
|
-
"hasDynamicHelp": false,
|
|
5696
|
-
"multiple": false,
|
|
5697
|
-
"options": [
|
|
5698
|
-
"summary",
|
|
5699
|
-
"json"
|
|
5700
|
-
],
|
|
5701
|
-
"type": "option"
|
|
5702
|
-
},
|
|
5703
|
-
"type": {
|
|
5704
|
-
"description": "Cluster type",
|
|
5705
|
-
"name": "type",
|
|
5706
|
-
"required": false,
|
|
5707
|
-
"default": "standard",
|
|
5740
|
+
"default": "summary",
|
|
5708
5741
|
"hasDynamicHelp": false,
|
|
5709
5742
|
"multiple": false,
|
|
5710
5743
|
"options": [
|
|
5711
|
-
"
|
|
5712
|
-
"
|
|
5744
|
+
"summary",
|
|
5745
|
+
"json"
|
|
5713
5746
|
],
|
|
5714
5747
|
"type": "option"
|
|
5715
5748
|
}
|
|
5716
5749
|
},
|
|
5717
5750
|
"hasDynamicHelp": false,
|
|
5718
5751
|
"hiddenAliases": [],
|
|
5719
|
-
"id": "tenant:cluster:
|
|
5752
|
+
"id": "tenant:cluster:get",
|
|
5720
5753
|
"pluginAlias": "@xano/cli",
|
|
5721
5754
|
"pluginName": "@xano/cli",
|
|
5722
5755
|
"pluginType": "core",
|
|
@@ -5728,7 +5761,7 @@
|
|
|
5728
5761
|
"commands",
|
|
5729
5762
|
"tenant",
|
|
5730
5763
|
"cluster",
|
|
5731
|
-
"
|
|
5764
|
+
"get",
|
|
5732
5765
|
"index.js"
|
|
5733
5766
|
]
|
|
5734
5767
|
},
|
|
@@ -5808,19 +5841,20 @@
|
|
|
5808
5841
|
"index.js"
|
|
5809
5842
|
]
|
|
5810
5843
|
},
|
|
5811
|
-
"tenant:
|
|
5844
|
+
"tenant:backup:export": {
|
|
5812
5845
|
"aliases": [],
|
|
5813
5846
|
"args": {
|
|
5814
|
-
"
|
|
5815
|
-
"description": "
|
|
5816
|
-
"name": "
|
|
5847
|
+
"tenant_name": {
|
|
5848
|
+
"description": "Tenant name to export backup from",
|
|
5849
|
+
"name": "tenant_name",
|
|
5817
5850
|
"required": true
|
|
5818
5851
|
}
|
|
5819
5852
|
},
|
|
5820
|
-
"description": "
|
|
5853
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5821
5854
|
"examples": [
|
|
5822
|
-
"$ xano tenant
|
|
5823
|
-
"$ xano tenant
|
|
5855
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5856
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5857
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5824
5858
|
],
|
|
5825
5859
|
"flags": {
|
|
5826
5860
|
"profile": {
|
|
@@ -5842,36 +5876,18 @@
|
|
|
5842
5876
|
"allowNo": false,
|
|
5843
5877
|
"type": "boolean"
|
|
5844
5878
|
},
|
|
5845
|
-
"
|
|
5846
|
-
"
|
|
5847
|
-
"
|
|
5848
|
-
"name": "description",
|
|
5849
|
-
"required": true,
|
|
5850
|
-
"hasDynamicHelp": false,
|
|
5851
|
-
"multiple": false,
|
|
5852
|
-
"type": "option"
|
|
5853
|
-
},
|
|
5854
|
-
"domain": {
|
|
5855
|
-
"description": "Custom domain for the cluster",
|
|
5856
|
-
"name": "domain",
|
|
5857
|
-
"required": true,
|
|
5858
|
-
"hasDynamicHelp": false,
|
|
5859
|
-
"multiple": false,
|
|
5860
|
-
"type": "option"
|
|
5861
|
-
},
|
|
5862
|
-
"name": {
|
|
5863
|
-
"char": "n",
|
|
5864
|
-
"description": "Cluster name",
|
|
5865
|
-
"name": "name",
|
|
5879
|
+
"backup_id": {
|
|
5880
|
+
"description": "Backup ID to export",
|
|
5881
|
+
"name": "backup_id",
|
|
5866
5882
|
"required": true,
|
|
5867
5883
|
"hasDynamicHelp": false,
|
|
5868
5884
|
"multiple": false,
|
|
5869
5885
|
"type": "option"
|
|
5870
5886
|
},
|
|
5871
|
-
"
|
|
5887
|
+
"format": {
|
|
5872
5888
|
"char": "o",
|
|
5873
5889
|
"description": "Output format",
|
|
5874
|
-
"name": "
|
|
5890
|
+
"name": "format",
|
|
5875
5891
|
"required": false,
|
|
5876
5892
|
"default": "summary",
|
|
5877
5893
|
"hasDynamicHelp": false,
|
|
@@ -5882,22 +5898,27 @@
|
|
|
5882
5898
|
],
|
|
5883
5899
|
"type": "option"
|
|
5884
5900
|
},
|
|
5885
|
-
"
|
|
5886
|
-
"description": "
|
|
5887
|
-
"name": "
|
|
5888
|
-
"required":
|
|
5901
|
+
"output": {
|
|
5902
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5903
|
+
"name": "output",
|
|
5904
|
+
"required": false,
|
|
5905
|
+
"hasDynamicHelp": false,
|
|
5906
|
+
"multiple": false,
|
|
5907
|
+
"type": "option"
|
|
5908
|
+
},
|
|
5909
|
+
"workspace": {
|
|
5910
|
+
"char": "w",
|
|
5911
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5912
|
+
"name": "workspace",
|
|
5913
|
+
"required": false,
|
|
5889
5914
|
"hasDynamicHelp": false,
|
|
5890
5915
|
"multiple": false,
|
|
5891
|
-
"options": [
|
|
5892
|
-
"standard",
|
|
5893
|
-
"run"
|
|
5894
|
-
],
|
|
5895
5916
|
"type": "option"
|
|
5896
5917
|
}
|
|
5897
5918
|
},
|
|
5898
5919
|
"hasDynamicHelp": false,
|
|
5899
5920
|
"hiddenAliases": [],
|
|
5900
|
-
"id": "tenant:
|
|
5921
|
+
"id": "tenant:backup:export",
|
|
5901
5922
|
"pluginAlias": "@xano/cli",
|
|
5902
5923
|
"pluginName": "@xano/cli",
|
|
5903
5924
|
"pluginType": "core",
|
|
@@ -5908,24 +5929,18 @@
|
|
|
5908
5929
|
"dist",
|
|
5909
5930
|
"commands",
|
|
5910
5931
|
"tenant",
|
|
5911
|
-
"
|
|
5912
|
-
"
|
|
5932
|
+
"backup",
|
|
5933
|
+
"export",
|
|
5913
5934
|
"index.js"
|
|
5914
5935
|
]
|
|
5915
5936
|
},
|
|
5916
|
-
"tenant:cluster:
|
|
5937
|
+
"tenant:cluster:list": {
|
|
5917
5938
|
"aliases": [],
|
|
5918
|
-
"args": {
|
|
5919
|
-
|
|
5920
|
-
"description": "Cluster ID to retrieve",
|
|
5921
|
-
"name": "cluster_id",
|
|
5922
|
-
"required": true
|
|
5923
|
-
}
|
|
5924
|
-
},
|
|
5925
|
-
"description": "Get details of a specific tenant cluster",
|
|
5939
|
+
"args": {},
|
|
5940
|
+
"description": "List all tenant clusters",
|
|
5926
5941
|
"examples": [
|
|
5927
|
-
"$ xano tenant cluster
|
|
5928
|
-
"$ xano tenant cluster
|
|
5942
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5943
|
+
"$ xano tenant cluster list --output json"
|
|
5929
5944
|
],
|
|
5930
5945
|
"flags": {
|
|
5931
5946
|
"profile": {
|
|
@@ -5964,7 +5979,7 @@
|
|
|
5964
5979
|
},
|
|
5965
5980
|
"hasDynamicHelp": false,
|
|
5966
5981
|
"hiddenAliases": [],
|
|
5967
|
-
"id": "tenant:cluster:
|
|
5982
|
+
"id": "tenant:cluster:list",
|
|
5968
5983
|
"pluginAlias": "@xano/cli",
|
|
5969
5984
|
"pluginName": "@xano/cli",
|
|
5970
5985
|
"pluginType": "core",
|
|
@@ -5976,17 +5991,24 @@
|
|
|
5976
5991
|
"commands",
|
|
5977
5992
|
"tenant",
|
|
5978
5993
|
"cluster",
|
|
5979
|
-
"
|
|
5994
|
+
"list",
|
|
5980
5995
|
"index.js"
|
|
5981
5996
|
]
|
|
5982
5997
|
},
|
|
5983
|
-
"tenant:
|
|
5998
|
+
"tenant:backup:delete": {
|
|
5984
5999
|
"aliases": [],
|
|
5985
|
-
"args": {
|
|
5986
|
-
|
|
6000
|
+
"args": {
|
|
6001
|
+
"tenant_name": {
|
|
6002
|
+
"description": "Tenant name that owns the backup",
|
|
6003
|
+
"name": "tenant_name",
|
|
6004
|
+
"required": true
|
|
6005
|
+
}
|
|
6006
|
+
},
|
|
6007
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5987
6008
|
"examples": [
|
|
5988
|
-
"$ xano tenant
|
|
5989
|
-
"$ xano tenant
|
|
6009
|
+
"$ 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",
|
|
6010
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
6011
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5990
6012
|
],
|
|
5991
6013
|
"flags": {
|
|
5992
6014
|
"profile": {
|
|
@@ -6008,6 +6030,22 @@
|
|
|
6008
6030
|
"allowNo": false,
|
|
6009
6031
|
"type": "boolean"
|
|
6010
6032
|
},
|
|
6033
|
+
"backup_id": {
|
|
6034
|
+
"description": "Backup ID to delete",
|
|
6035
|
+
"name": "backup_id",
|
|
6036
|
+
"required": true,
|
|
6037
|
+
"hasDynamicHelp": false,
|
|
6038
|
+
"multiple": false,
|
|
6039
|
+
"type": "option"
|
|
6040
|
+
},
|
|
6041
|
+
"force": {
|
|
6042
|
+
"char": "f",
|
|
6043
|
+
"description": "Skip confirmation prompt",
|
|
6044
|
+
"name": "force",
|
|
6045
|
+
"required": false,
|
|
6046
|
+
"allowNo": false,
|
|
6047
|
+
"type": "boolean"
|
|
6048
|
+
},
|
|
6011
6049
|
"output": {
|
|
6012
6050
|
"char": "o",
|
|
6013
6051
|
"description": "Output format",
|
|
@@ -6021,11 +6059,20 @@
|
|
|
6021
6059
|
"json"
|
|
6022
6060
|
],
|
|
6023
6061
|
"type": "option"
|
|
6062
|
+
},
|
|
6063
|
+
"workspace": {
|
|
6064
|
+
"char": "w",
|
|
6065
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6066
|
+
"name": "workspace",
|
|
6067
|
+
"required": false,
|
|
6068
|
+
"hasDynamicHelp": false,
|
|
6069
|
+
"multiple": false,
|
|
6070
|
+
"type": "option"
|
|
6024
6071
|
}
|
|
6025
6072
|
},
|
|
6026
6073
|
"hasDynamicHelp": false,
|
|
6027
6074
|
"hiddenAliases": [],
|
|
6028
|
-
"id": "tenant:
|
|
6075
|
+
"id": "tenant:backup:delete",
|
|
6029
6076
|
"pluginAlias": "@xano/cli",
|
|
6030
6077
|
"pluginName": "@xano/cli",
|
|
6031
6078
|
"pluginType": "core",
|
|
@@ -6036,8 +6083,8 @@
|
|
|
6036
6083
|
"dist",
|
|
6037
6084
|
"commands",
|
|
6038
6085
|
"tenant",
|
|
6039
|
-
"
|
|
6040
|
-
"
|
|
6086
|
+
"backup",
|
|
6087
|
+
"delete",
|
|
6041
6088
|
"index.js"
|
|
6042
6089
|
]
|
|
6043
6090
|
},
|
|
@@ -6135,7 +6182,7 @@
|
|
|
6135
6182
|
"index.js"
|
|
6136
6183
|
]
|
|
6137
6184
|
},
|
|
6138
|
-
"tenant:env:
|
|
6185
|
+
"tenant:env:get_all": {
|
|
6139
6186
|
"aliases": [],
|
|
6140
6187
|
"args": {
|
|
6141
6188
|
"tenant_name": {
|
|
@@ -6144,10 +6191,12 @@
|
|
|
6144
6191
|
"required": true
|
|
6145
6192
|
}
|
|
6146
6193
|
},
|
|
6147
|
-
"description": "Get
|
|
6194
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6148
6195
|
"examples": [
|
|
6149
|
-
"$ xano tenant env
|
|
6150
|
-
"$ xano tenant env
|
|
6196
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6197
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6198
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6199
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6151
6200
|
],
|
|
6152
6201
|
"flags": {
|
|
6153
6202
|
"profile": {
|
|
@@ -6169,11 +6218,11 @@
|
|
|
6169
6218
|
"allowNo": false,
|
|
6170
6219
|
"type": "boolean"
|
|
6171
6220
|
},
|
|
6172
|
-
"
|
|
6173
|
-
"char": "
|
|
6174
|
-
"description": "
|
|
6175
|
-
"name": "
|
|
6176
|
-
"required":
|
|
6221
|
+
"file": {
|
|
6222
|
+
"char": "f",
|
|
6223
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6224
|
+
"name": "file",
|
|
6225
|
+
"required": false,
|
|
6177
6226
|
"hasDynamicHelp": false,
|
|
6178
6227
|
"multiple": false,
|
|
6179
6228
|
"type": "option"
|
|
@@ -6192,6 +6241,13 @@
|
|
|
6192
6241
|
],
|
|
6193
6242
|
"type": "option"
|
|
6194
6243
|
},
|
|
6244
|
+
"view": {
|
|
6245
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6246
|
+
"name": "view",
|
|
6247
|
+
"required": false,
|
|
6248
|
+
"allowNo": false,
|
|
6249
|
+
"type": "boolean"
|
|
6250
|
+
},
|
|
6195
6251
|
"workspace": {
|
|
6196
6252
|
"char": "w",
|
|
6197
6253
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6204,7 +6260,7 @@
|
|
|
6204
6260
|
},
|
|
6205
6261
|
"hasDynamicHelp": false,
|
|
6206
6262
|
"hiddenAliases": [],
|
|
6207
|
-
"id": "tenant:env:
|
|
6263
|
+
"id": "tenant:env:get_all",
|
|
6208
6264
|
"pluginAlias": "@xano/cli",
|
|
6209
6265
|
"pluginName": "@xano/cli",
|
|
6210
6266
|
"pluginType": "core",
|
|
@@ -6216,11 +6272,87 @@
|
|
|
6216
6272
|
"commands",
|
|
6217
6273
|
"tenant",
|
|
6218
6274
|
"env",
|
|
6219
|
-
"
|
|
6275
|
+
"get_all",
|
|
6220
6276
|
"index.js"
|
|
6221
6277
|
]
|
|
6222
6278
|
},
|
|
6223
|
-
"tenant:env:
|
|
6279
|
+
"tenant:env:list": {
|
|
6280
|
+
"aliases": [],
|
|
6281
|
+
"args": {
|
|
6282
|
+
"tenant_name": {
|
|
6283
|
+
"description": "Tenant name",
|
|
6284
|
+
"name": "tenant_name",
|
|
6285
|
+
"required": true
|
|
6286
|
+
}
|
|
6287
|
+
},
|
|
6288
|
+
"description": "List environment variable keys for a tenant",
|
|
6289
|
+
"examples": [
|
|
6290
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6291
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6292
|
+
],
|
|
6293
|
+
"flags": {
|
|
6294
|
+
"profile": {
|
|
6295
|
+
"char": "p",
|
|
6296
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6297
|
+
"env": "XANO_PROFILE",
|
|
6298
|
+
"name": "profile",
|
|
6299
|
+
"required": false,
|
|
6300
|
+
"hasDynamicHelp": false,
|
|
6301
|
+
"multiple": false,
|
|
6302
|
+
"type": "option"
|
|
6303
|
+
},
|
|
6304
|
+
"verbose": {
|
|
6305
|
+
"char": "v",
|
|
6306
|
+
"description": "Show detailed request/response information",
|
|
6307
|
+
"env": "XANO_VERBOSE",
|
|
6308
|
+
"name": "verbose",
|
|
6309
|
+
"required": false,
|
|
6310
|
+
"allowNo": false,
|
|
6311
|
+
"type": "boolean"
|
|
6312
|
+
},
|
|
6313
|
+
"output": {
|
|
6314
|
+
"char": "o",
|
|
6315
|
+
"description": "Output format",
|
|
6316
|
+
"name": "output",
|
|
6317
|
+
"required": false,
|
|
6318
|
+
"default": "summary",
|
|
6319
|
+
"hasDynamicHelp": false,
|
|
6320
|
+
"multiple": false,
|
|
6321
|
+
"options": [
|
|
6322
|
+
"summary",
|
|
6323
|
+
"json"
|
|
6324
|
+
],
|
|
6325
|
+
"type": "option"
|
|
6326
|
+
},
|
|
6327
|
+
"workspace": {
|
|
6328
|
+
"char": "w",
|
|
6329
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6330
|
+
"name": "workspace",
|
|
6331
|
+
"required": false,
|
|
6332
|
+
"hasDynamicHelp": false,
|
|
6333
|
+
"multiple": false,
|
|
6334
|
+
"type": "option"
|
|
6335
|
+
}
|
|
6336
|
+
},
|
|
6337
|
+
"hasDynamicHelp": false,
|
|
6338
|
+
"hiddenAliases": [],
|
|
6339
|
+
"id": "tenant:env:list",
|
|
6340
|
+
"pluginAlias": "@xano/cli",
|
|
6341
|
+
"pluginName": "@xano/cli",
|
|
6342
|
+
"pluginType": "core",
|
|
6343
|
+
"strict": true,
|
|
6344
|
+
"enableJsonFlag": false,
|
|
6345
|
+
"isESM": true,
|
|
6346
|
+
"relativePath": [
|
|
6347
|
+
"dist",
|
|
6348
|
+
"commands",
|
|
6349
|
+
"tenant",
|
|
6350
|
+
"env",
|
|
6351
|
+
"list",
|
|
6352
|
+
"index.js"
|
|
6353
|
+
]
|
|
6354
|
+
},
|
|
6355
|
+
"tenant:env:get": {
|
|
6224
6356
|
"aliases": [],
|
|
6225
6357
|
"args": {
|
|
6226
6358
|
"tenant_name": {
|
|
@@ -6229,12 +6361,10 @@
|
|
|
6229
6361
|
"required": true
|
|
6230
6362
|
}
|
|
6231
6363
|
},
|
|
6232
|
-
"description": "Get
|
|
6364
|
+
"description": "Get a single environment variable for a tenant",
|
|
6233
6365
|
"examples": [
|
|
6234
|
-
"$ xano tenant env
|
|
6235
|
-
"$ xano tenant env
|
|
6236
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6237
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6366
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6367
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6238
6368
|
],
|
|
6239
6369
|
"flags": {
|
|
6240
6370
|
"profile": {
|
|
@@ -6256,11 +6386,11 @@
|
|
|
6256
6386
|
"allowNo": false,
|
|
6257
6387
|
"type": "boolean"
|
|
6258
6388
|
},
|
|
6259
|
-
"
|
|
6260
|
-
"char": "
|
|
6261
|
-
"description": "
|
|
6262
|
-
"name": "
|
|
6263
|
-
"required":
|
|
6389
|
+
"name": {
|
|
6390
|
+
"char": "n",
|
|
6391
|
+
"description": "Environment variable name",
|
|
6392
|
+
"name": "name",
|
|
6393
|
+
"required": true,
|
|
6264
6394
|
"hasDynamicHelp": false,
|
|
6265
6395
|
"multiple": false,
|
|
6266
6396
|
"type": "option"
|
|
@@ -6279,13 +6409,6 @@
|
|
|
6279
6409
|
],
|
|
6280
6410
|
"type": "option"
|
|
6281
6411
|
},
|
|
6282
|
-
"view": {
|
|
6283
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6284
|
-
"name": "view",
|
|
6285
|
-
"required": false,
|
|
6286
|
-
"allowNo": false,
|
|
6287
|
-
"type": "boolean"
|
|
6288
|
-
},
|
|
6289
6412
|
"workspace": {
|
|
6290
6413
|
"char": "w",
|
|
6291
6414
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6298,7 +6421,7 @@
|
|
|
6298
6421
|
},
|
|
6299
6422
|
"hasDynamicHelp": false,
|
|
6300
6423
|
"hiddenAliases": [],
|
|
6301
|
-
"id": "tenant:env:
|
|
6424
|
+
"id": "tenant:env:get",
|
|
6302
6425
|
"pluginAlias": "@xano/cli",
|
|
6303
6426
|
"pluginName": "@xano/cli",
|
|
6304
6427
|
"pluginType": "core",
|
|
@@ -6310,11 +6433,11 @@
|
|
|
6310
6433
|
"commands",
|
|
6311
6434
|
"tenant",
|
|
6312
6435
|
"env",
|
|
6313
|
-
"
|
|
6436
|
+
"get",
|
|
6314
6437
|
"index.js"
|
|
6315
6438
|
]
|
|
6316
6439
|
},
|
|
6317
|
-
"tenant:
|
|
6440
|
+
"tenant:license:get": {
|
|
6318
6441
|
"aliases": [],
|
|
6319
6442
|
"args": {
|
|
6320
6443
|
"tenant_name": {
|
|
@@ -6323,10 +6446,12 @@
|
|
|
6323
6446
|
"required": true
|
|
6324
6447
|
}
|
|
6325
6448
|
},
|
|
6326
|
-
"description": "
|
|
6449
|
+
"description": "Get the license for a tenant",
|
|
6327
6450
|
"examples": [
|
|
6328
|
-
"$ xano tenant
|
|
6329
|
-
"$ xano tenant
|
|
6451
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6452
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6453
|
+
"$ xano tenant license get my-tenant --view",
|
|
6454
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6330
6455
|
],
|
|
6331
6456
|
"flags": {
|
|
6332
6457
|
"profile": {
|
|
@@ -6348,6 +6473,15 @@
|
|
|
6348
6473
|
"allowNo": false,
|
|
6349
6474
|
"type": "boolean"
|
|
6350
6475
|
},
|
|
6476
|
+
"file": {
|
|
6477
|
+
"char": "f",
|
|
6478
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6479
|
+
"name": "file",
|
|
6480
|
+
"required": false,
|
|
6481
|
+
"hasDynamicHelp": false,
|
|
6482
|
+
"multiple": false,
|
|
6483
|
+
"type": "option"
|
|
6484
|
+
},
|
|
6351
6485
|
"output": {
|
|
6352
6486
|
"char": "o",
|
|
6353
6487
|
"description": "Output format",
|
|
@@ -6362,6 +6496,13 @@
|
|
|
6362
6496
|
],
|
|
6363
6497
|
"type": "option"
|
|
6364
6498
|
},
|
|
6499
|
+
"view": {
|
|
6500
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6501
|
+
"name": "view",
|
|
6502
|
+
"required": false,
|
|
6503
|
+
"allowNo": false,
|
|
6504
|
+
"type": "boolean"
|
|
6505
|
+
},
|
|
6365
6506
|
"workspace": {
|
|
6366
6507
|
"char": "w",
|
|
6367
6508
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6374,7 +6515,7 @@
|
|
|
6374
6515
|
},
|
|
6375
6516
|
"hasDynamicHelp": false,
|
|
6376
6517
|
"hiddenAliases": [],
|
|
6377
|
-
"id": "tenant:
|
|
6518
|
+
"id": "tenant:license:get",
|
|
6378
6519
|
"pluginAlias": "@xano/cli",
|
|
6379
6520
|
"pluginName": "@xano/cli",
|
|
6380
6521
|
"pluginType": "core",
|
|
@@ -6385,12 +6526,12 @@
|
|
|
6385
6526
|
"dist",
|
|
6386
6527
|
"commands",
|
|
6387
6528
|
"tenant",
|
|
6388
|
-
"
|
|
6389
|
-
"
|
|
6529
|
+
"license",
|
|
6530
|
+
"get",
|
|
6390
6531
|
"index.js"
|
|
6391
6532
|
]
|
|
6392
6533
|
},
|
|
6393
|
-
"tenant:env:
|
|
6534
|
+
"tenant:env:set_all": {
|
|
6394
6535
|
"aliases": [],
|
|
6395
6536
|
"args": {
|
|
6396
6537
|
"tenant_name": {
|
|
@@ -6399,10 +6540,11 @@
|
|
|
6399
6540
|
"required": true
|
|
6400
6541
|
}
|
|
6401
6542
|
},
|
|
6402
|
-
"description": "Set
|
|
6543
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6403
6544
|
"examples": [
|
|
6404
|
-
"$ xano tenant env
|
|
6405
|
-
"$ xano tenant env
|
|
6545
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6546
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6547
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6406
6548
|
],
|
|
6407
6549
|
"flags": {
|
|
6408
6550
|
"profile": {
|
|
@@ -6424,11 +6566,18 @@
|
|
|
6424
6566
|
"allowNo": false,
|
|
6425
6567
|
"type": "boolean"
|
|
6426
6568
|
},
|
|
6427
|
-
"
|
|
6428
|
-
"
|
|
6429
|
-
"
|
|
6430
|
-
"
|
|
6431
|
-
"
|
|
6569
|
+
"clean": {
|
|
6570
|
+
"description": "Remove the source file after successful upload",
|
|
6571
|
+
"name": "clean",
|
|
6572
|
+
"required": false,
|
|
6573
|
+
"allowNo": false,
|
|
6574
|
+
"type": "boolean"
|
|
6575
|
+
},
|
|
6576
|
+
"file": {
|
|
6577
|
+
"char": "f",
|
|
6578
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6579
|
+
"name": "file",
|
|
6580
|
+
"required": false,
|
|
6432
6581
|
"hasDynamicHelp": false,
|
|
6433
6582
|
"multiple": false,
|
|
6434
6583
|
"type": "option"
|
|
@@ -6447,14 +6596,6 @@
|
|
|
6447
6596
|
],
|
|
6448
6597
|
"type": "option"
|
|
6449
6598
|
},
|
|
6450
|
-
"value": {
|
|
6451
|
-
"description": "Environment variable value",
|
|
6452
|
-
"name": "value",
|
|
6453
|
-
"required": true,
|
|
6454
|
-
"hasDynamicHelp": false,
|
|
6455
|
-
"multiple": false,
|
|
6456
|
-
"type": "option"
|
|
6457
|
-
},
|
|
6458
6599
|
"workspace": {
|
|
6459
6600
|
"char": "w",
|
|
6460
6601
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6467,7 +6608,7 @@
|
|
|
6467
6608
|
},
|
|
6468
6609
|
"hasDynamicHelp": false,
|
|
6469
6610
|
"hiddenAliases": [],
|
|
6470
|
-
"id": "tenant:env:
|
|
6611
|
+
"id": "tenant:env:set_all",
|
|
6471
6612
|
"pluginAlias": "@xano/cli",
|
|
6472
6613
|
"pluginName": "@xano/cli",
|
|
6473
6614
|
"pluginType": "core",
|
|
@@ -6479,11 +6620,11 @@
|
|
|
6479
6620
|
"commands",
|
|
6480
6621
|
"tenant",
|
|
6481
6622
|
"env",
|
|
6482
|
-
"
|
|
6623
|
+
"set_all",
|
|
6483
6624
|
"index.js"
|
|
6484
6625
|
]
|
|
6485
6626
|
},
|
|
6486
|
-
"tenant:env:
|
|
6627
|
+
"tenant:env:set": {
|
|
6487
6628
|
"aliases": [],
|
|
6488
6629
|
"args": {
|
|
6489
6630
|
"tenant_name": {
|
|
@@ -6492,11 +6633,10 @@
|
|
|
6492
6633
|
"required": true
|
|
6493
6634
|
}
|
|
6494
6635
|
},
|
|
6495
|
-
"description": "Set
|
|
6636
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6496
6637
|
"examples": [
|
|
6497
|
-
"$ xano tenant env
|
|
6498
|
-
"$ xano tenant env
|
|
6499
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6638
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6639
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6500
6640
|
],
|
|
6501
6641
|
"flags": {
|
|
6502
6642
|
"profile": {
|
|
@@ -6518,18 +6658,11 @@
|
|
|
6518
6658
|
"allowNo": false,
|
|
6519
6659
|
"type": "boolean"
|
|
6520
6660
|
},
|
|
6521
|
-
"
|
|
6522
|
-
"
|
|
6523
|
-
"
|
|
6524
|
-
"
|
|
6525
|
-
"
|
|
6526
|
-
"type": "boolean"
|
|
6527
|
-
},
|
|
6528
|
-
"file": {
|
|
6529
|
-
"char": "f",
|
|
6530
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6531
|
-
"name": "file",
|
|
6532
|
-
"required": false,
|
|
6661
|
+
"name": {
|
|
6662
|
+
"char": "n",
|
|
6663
|
+
"description": "Environment variable name",
|
|
6664
|
+
"name": "name",
|
|
6665
|
+
"required": true,
|
|
6533
6666
|
"hasDynamicHelp": false,
|
|
6534
6667
|
"multiple": false,
|
|
6535
6668
|
"type": "option"
|
|
@@ -6548,6 +6681,14 @@
|
|
|
6548
6681
|
],
|
|
6549
6682
|
"type": "option"
|
|
6550
6683
|
},
|
|
6684
|
+
"value": {
|
|
6685
|
+
"description": "Environment variable value",
|
|
6686
|
+
"name": "value",
|
|
6687
|
+
"required": true,
|
|
6688
|
+
"hasDynamicHelp": false,
|
|
6689
|
+
"multiple": false,
|
|
6690
|
+
"type": "option"
|
|
6691
|
+
},
|
|
6551
6692
|
"workspace": {
|
|
6552
6693
|
"char": "w",
|
|
6553
6694
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6560,7 +6701,7 @@
|
|
|
6560
6701
|
},
|
|
6561
6702
|
"hasDynamicHelp": false,
|
|
6562
6703
|
"hiddenAliases": [],
|
|
6563
|
-
"id": "tenant:env:
|
|
6704
|
+
"id": "tenant:env:set",
|
|
6564
6705
|
"pluginAlias": "@xano/cli",
|
|
6565
6706
|
"pluginName": "@xano/cli",
|
|
6566
6707
|
"pluginType": "core",
|
|
@@ -6572,25 +6713,25 @@
|
|
|
6572
6713
|
"commands",
|
|
6573
6714
|
"tenant",
|
|
6574
6715
|
"env",
|
|
6575
|
-
"
|
|
6716
|
+
"set",
|
|
6576
6717
|
"index.js"
|
|
6577
6718
|
]
|
|
6578
6719
|
},
|
|
6579
|
-
"tenant:license:get": {
|
|
6720
|
+
"tenant:cluster:license:get": {
|
|
6580
6721
|
"aliases": [],
|
|
6581
6722
|
"args": {
|
|
6582
|
-
"
|
|
6583
|
-
"description": "Tenant
|
|
6584
|
-
"name": "
|
|
6723
|
+
"cluster_id": {
|
|
6724
|
+
"description": "Tenant cluster ID",
|
|
6725
|
+
"name": "cluster_id",
|
|
6585
6726
|
"required": true
|
|
6586
6727
|
}
|
|
6587
6728
|
},
|
|
6588
|
-
"description": "Get the license for a tenant",
|
|
6729
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6589
6730
|
"examples": [
|
|
6590
|
-
"$ xano tenant license get
|
|
6591
|
-
"$ xano tenant license get
|
|
6592
|
-
"$ xano tenant license get
|
|
6593
|
-
"$ xano tenant license get
|
|
6731
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6732
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6733
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6734
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6594
6735
|
],
|
|
6595
6736
|
"flags": {
|
|
6596
6737
|
"profile": {
|
|
@@ -6614,7 +6755,7 @@
|
|
|
6614
6755
|
},
|
|
6615
6756
|
"file": {
|
|
6616
6757
|
"char": "f",
|
|
6617
|
-
"description": "Output file path (default:
|
|
6758
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6618
6759
|
"name": "file",
|
|
6619
6760
|
"required": false,
|
|
6620
6761
|
"hasDynamicHelp": false,
|
|
@@ -6641,20 +6782,11 @@
|
|
|
6641
6782
|
"required": false,
|
|
6642
6783
|
"allowNo": false,
|
|
6643
6784
|
"type": "boolean"
|
|
6644
|
-
},
|
|
6645
|
-
"workspace": {
|
|
6646
|
-
"char": "w",
|
|
6647
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6648
|
-
"name": "workspace",
|
|
6649
|
-
"required": false,
|
|
6650
|
-
"hasDynamicHelp": false,
|
|
6651
|
-
"multiple": false,
|
|
6652
|
-
"type": "option"
|
|
6653
6785
|
}
|
|
6654
6786
|
},
|
|
6655
6787
|
"hasDynamicHelp": false,
|
|
6656
6788
|
"hiddenAliases": [],
|
|
6657
|
-
"id": "tenant:license:get",
|
|
6789
|
+
"id": "tenant:cluster:license:get",
|
|
6658
6790
|
"pluginAlias": "@xano/cli",
|
|
6659
6791
|
"pluginName": "@xano/cli",
|
|
6660
6792
|
"pluginType": "core",
|
|
@@ -6665,6 +6797,7 @@
|
|
|
6665
6797
|
"dist",
|
|
6666
6798
|
"commands",
|
|
6667
6799
|
"tenant",
|
|
6800
|
+
"cluster",
|
|
6668
6801
|
"license",
|
|
6669
6802
|
"get",
|
|
6670
6803
|
"index.js"
|
|
@@ -6876,92 +7009,6 @@
|
|
|
6876
7009
|
"index.js"
|
|
6877
7010
|
]
|
|
6878
7011
|
},
|
|
6879
|
-
"tenant:cluster:license:get": {
|
|
6880
|
-
"aliases": [],
|
|
6881
|
-
"args": {
|
|
6882
|
-
"cluster_id": {
|
|
6883
|
-
"description": "Tenant cluster ID",
|
|
6884
|
-
"name": "cluster_id",
|
|
6885
|
-
"required": true
|
|
6886
|
-
}
|
|
6887
|
-
},
|
|
6888
|
-
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6889
|
-
"examples": [
|
|
6890
|
-
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6891
|
-
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6892
|
-
"$ xano tenant cluster license get 1 --view",
|
|
6893
|
-
"$ xano tenant cluster license get 1 -o json"
|
|
6894
|
-
],
|
|
6895
|
-
"flags": {
|
|
6896
|
-
"profile": {
|
|
6897
|
-
"char": "p",
|
|
6898
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6899
|
-
"env": "XANO_PROFILE",
|
|
6900
|
-
"name": "profile",
|
|
6901
|
-
"required": false,
|
|
6902
|
-
"hasDynamicHelp": false,
|
|
6903
|
-
"multiple": false,
|
|
6904
|
-
"type": "option"
|
|
6905
|
-
},
|
|
6906
|
-
"verbose": {
|
|
6907
|
-
"char": "v",
|
|
6908
|
-
"description": "Show detailed request/response information",
|
|
6909
|
-
"env": "XANO_VERBOSE",
|
|
6910
|
-
"name": "verbose",
|
|
6911
|
-
"required": false,
|
|
6912
|
-
"allowNo": false,
|
|
6913
|
-
"type": "boolean"
|
|
6914
|
-
},
|
|
6915
|
-
"file": {
|
|
6916
|
-
"char": "f",
|
|
6917
|
-
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6918
|
-
"name": "file",
|
|
6919
|
-
"required": false,
|
|
6920
|
-
"hasDynamicHelp": false,
|
|
6921
|
-
"multiple": false,
|
|
6922
|
-
"type": "option"
|
|
6923
|
-
},
|
|
6924
|
-
"output": {
|
|
6925
|
-
"char": "o",
|
|
6926
|
-
"description": "Output format",
|
|
6927
|
-
"name": "output",
|
|
6928
|
-
"required": false,
|
|
6929
|
-
"default": "summary",
|
|
6930
|
-
"hasDynamicHelp": false,
|
|
6931
|
-
"multiple": false,
|
|
6932
|
-
"options": [
|
|
6933
|
-
"summary",
|
|
6934
|
-
"json"
|
|
6935
|
-
],
|
|
6936
|
-
"type": "option"
|
|
6937
|
-
},
|
|
6938
|
-
"view": {
|
|
6939
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6940
|
-
"name": "view",
|
|
6941
|
-
"required": false,
|
|
6942
|
-
"allowNo": false,
|
|
6943
|
-
"type": "boolean"
|
|
6944
|
-
}
|
|
6945
|
-
},
|
|
6946
|
-
"hasDynamicHelp": false,
|
|
6947
|
-
"hiddenAliases": [],
|
|
6948
|
-
"id": "tenant:cluster:license:get",
|
|
6949
|
-
"pluginAlias": "@xano/cli",
|
|
6950
|
-
"pluginName": "@xano/cli",
|
|
6951
|
-
"pluginType": "core",
|
|
6952
|
-
"strict": true,
|
|
6953
|
-
"enableJsonFlag": false,
|
|
6954
|
-
"isESM": true,
|
|
6955
|
-
"relativePath": [
|
|
6956
|
-
"dist",
|
|
6957
|
-
"commands",
|
|
6958
|
-
"tenant",
|
|
6959
|
-
"cluster",
|
|
6960
|
-
"license",
|
|
6961
|
-
"get",
|
|
6962
|
-
"index.js"
|
|
6963
|
-
]
|
|
6964
|
-
},
|
|
6965
7012
|
"tenant:cluster:license:set": {
|
|
6966
7013
|
"aliases": [],
|
|
6967
7014
|
"args": {
|
|
@@ -7067,5 +7114,5 @@
|
|
|
7067
7114
|
]
|
|
7068
7115
|
}
|
|
7069
7116
|
},
|
|
7070
|
-
"version": "0.0.
|
|
7117
|
+
"version": "0.0.67"
|
|
7071
7118
|
}
|