@xano/cli 0.0.51 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +1546 -1546
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -86,14 +86,20 @@
|
|
|
86
86
|
"index.js"
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
|
-
"branch:
|
|
89
|
+
"branch:edit": {
|
|
90
90
|
"aliases": [],
|
|
91
|
-
"args": {
|
|
92
|
-
|
|
91
|
+
"args": {
|
|
92
|
+
"branch_label": {
|
|
93
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
94
|
+
"name": "branch_label",
|
|
95
|
+
"required": true
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
93
99
|
"examples": [
|
|
94
|
-
"$ xano branch
|
|
95
|
-
"$ xano branch
|
|
96
|
-
"$ xano branch
|
|
100
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
101
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
102
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
97
103
|
],
|
|
98
104
|
"flags": {
|
|
99
105
|
"profile": {
|
|
@@ -117,7 +123,7 @@
|
|
|
117
123
|
},
|
|
118
124
|
"color": {
|
|
119
125
|
"char": "c",
|
|
120
|
-
"description": "
|
|
126
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
121
127
|
"name": "color",
|
|
122
128
|
"required": false,
|
|
123
129
|
"hasDynamicHelp": false,
|
|
@@ -126,7 +132,7 @@
|
|
|
126
132
|
},
|
|
127
133
|
"description": {
|
|
128
134
|
"char": "d",
|
|
129
|
-
"description": "
|
|
135
|
+
"description": "New description for the branch",
|
|
130
136
|
"name": "description",
|
|
131
137
|
"required": false,
|
|
132
138
|
"hasDynamicHelp": false,
|
|
@@ -135,9 +141,9 @@
|
|
|
135
141
|
},
|
|
136
142
|
"label": {
|
|
137
143
|
"char": "l",
|
|
138
|
-
"description": "
|
|
144
|
+
"description": "New label for the branch",
|
|
139
145
|
"name": "label",
|
|
140
|
-
"required":
|
|
146
|
+
"required": false,
|
|
141
147
|
"hasDynamicHelp": false,
|
|
142
148
|
"multiple": false,
|
|
143
149
|
"type": "option"
|
|
@@ -156,16 +162,6 @@
|
|
|
156
162
|
],
|
|
157
163
|
"type": "option"
|
|
158
164
|
},
|
|
159
|
-
"source": {
|
|
160
|
-
"char": "s",
|
|
161
|
-
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
162
|
-
"name": "source",
|
|
163
|
-
"required": false,
|
|
164
|
-
"default": "v1",
|
|
165
|
-
"hasDynamicHelp": false,
|
|
166
|
-
"multiple": false,
|
|
167
|
-
"type": "option"
|
|
168
|
-
},
|
|
169
165
|
"workspace": {
|
|
170
166
|
"char": "w",
|
|
171
167
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -178,7 +174,7 @@
|
|
|
178
174
|
},
|
|
179
175
|
"hasDynamicHelp": false,
|
|
180
176
|
"hiddenAliases": [],
|
|
181
|
-
"id": "branch:
|
|
177
|
+
"id": "branch:edit",
|
|
182
178
|
"pluginAlias": "@xano/cli",
|
|
183
179
|
"pluginName": "@xano/cli",
|
|
184
180
|
"pluginType": "core",
|
|
@@ -189,7 +185,7 @@
|
|
|
189
185
|
"dist",
|
|
190
186
|
"commands",
|
|
191
187
|
"branch",
|
|
192
|
-
"
|
|
188
|
+
"edit",
|
|
193
189
|
"index.js"
|
|
194
190
|
]
|
|
195
191
|
},
|
|
@@ -353,20 +349,14 @@
|
|
|
353
349
|
"index.js"
|
|
354
350
|
]
|
|
355
351
|
},
|
|
356
|
-
"branch:
|
|
352
|
+
"branch:create": {
|
|
357
353
|
"aliases": [],
|
|
358
|
-
"args": {
|
|
359
|
-
|
|
360
|
-
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
361
|
-
"name": "branch_label",
|
|
362
|
-
"required": true
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
354
|
+
"args": {},
|
|
355
|
+
"description": "Create a new branch by cloning from an existing branch",
|
|
366
356
|
"examples": [
|
|
367
|
-
"$ xano branch
|
|
368
|
-
"$ xano branch
|
|
369
|
-
"$ xano branch
|
|
357
|
+
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
358
|
+
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
359
|
+
"$ xano branch create --label staging --color \"#ebc346\" --output json\n{\n \"created_at\": \"2024-02-11T10:00:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
370
360
|
],
|
|
371
361
|
"flags": {
|
|
372
362
|
"profile": {
|
|
@@ -390,7 +380,7 @@
|
|
|
390
380
|
},
|
|
391
381
|
"color": {
|
|
392
382
|
"char": "c",
|
|
393
|
-
"description": "
|
|
383
|
+
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
394
384
|
"name": "color",
|
|
395
385
|
"required": false,
|
|
396
386
|
"hasDynamicHelp": false,
|
|
@@ -399,7 +389,7 @@
|
|
|
399
389
|
},
|
|
400
390
|
"description": {
|
|
401
391
|
"char": "d",
|
|
402
|
-
"description": "
|
|
392
|
+
"description": "Description for the new branch",
|
|
403
393
|
"name": "description",
|
|
404
394
|
"required": false,
|
|
405
395
|
"hasDynamicHelp": false,
|
|
@@ -408,9 +398,9 @@
|
|
|
408
398
|
},
|
|
409
399
|
"label": {
|
|
410
400
|
"char": "l",
|
|
411
|
-
"description": "
|
|
401
|
+
"description": "Label for the new branch",
|
|
412
402
|
"name": "label",
|
|
413
|
-
"required":
|
|
403
|
+
"required": true,
|
|
414
404
|
"hasDynamicHelp": false,
|
|
415
405
|
"multiple": false,
|
|
416
406
|
"type": "option"
|
|
@@ -429,6 +419,16 @@
|
|
|
429
419
|
],
|
|
430
420
|
"type": "option"
|
|
431
421
|
},
|
|
422
|
+
"source": {
|
|
423
|
+
"char": "s",
|
|
424
|
+
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
425
|
+
"name": "source",
|
|
426
|
+
"required": false,
|
|
427
|
+
"default": "v1",
|
|
428
|
+
"hasDynamicHelp": false,
|
|
429
|
+
"multiple": false,
|
|
430
|
+
"type": "option"
|
|
431
|
+
},
|
|
432
432
|
"workspace": {
|
|
433
433
|
"char": "w",
|
|
434
434
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
},
|
|
442
442
|
"hasDynamicHelp": false,
|
|
443
443
|
"hiddenAliases": [],
|
|
444
|
-
"id": "branch:
|
|
444
|
+
"id": "branch:create",
|
|
445
445
|
"pluginAlias": "@xano/cli",
|
|
446
446
|
"pluginName": "@xano/cli",
|
|
447
447
|
"pluginType": "core",
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
"dist",
|
|
453
453
|
"commands",
|
|
454
454
|
"branch",
|
|
455
|
-
"
|
|
455
|
+
"create",
|
|
456
456
|
"index.js"
|
|
457
457
|
]
|
|
458
458
|
},
|
|
@@ -523,25 +523,20 @@
|
|
|
523
523
|
"index.js"
|
|
524
524
|
]
|
|
525
525
|
},
|
|
526
|
-
"
|
|
526
|
+
"branch:set_live": {
|
|
527
527
|
"aliases": [],
|
|
528
528
|
"args": {
|
|
529
|
-
"
|
|
530
|
-
"description": "
|
|
531
|
-
"name": "
|
|
532
|
-
"required":
|
|
529
|
+
"branch_label": {
|
|
530
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
531
|
+
"name": "branch_label",
|
|
532
|
+
"required": true
|
|
533
533
|
}
|
|
534
534
|
},
|
|
535
|
-
"description": "
|
|
535
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
536
536
|
"examples": [
|
|
537
|
-
"$ xano
|
|
538
|
-
"$ xano
|
|
539
|
-
"$ xano
|
|
540
|
-
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
541
|
-
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
542
|
-
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
543
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
544
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
537
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
538
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
539
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
545
540
|
],
|
|
546
541
|
"flags": {
|
|
547
542
|
"profile": {
|
|
@@ -563,26 +558,14 @@
|
|
|
563
558
|
"allowNo": false,
|
|
564
559
|
"type": "boolean"
|
|
565
560
|
},
|
|
566
|
-
"
|
|
567
|
-
"char": "
|
|
568
|
-
"description": "
|
|
569
|
-
"name": "
|
|
561
|
+
"force": {
|
|
562
|
+
"char": "f",
|
|
563
|
+
"description": "Skip confirmation prompt",
|
|
564
|
+
"name": "force",
|
|
570
565
|
"required": false,
|
|
571
566
|
"allowNo": false,
|
|
572
567
|
"type": "boolean"
|
|
573
568
|
},
|
|
574
|
-
"file": {
|
|
575
|
-
"char": "f",
|
|
576
|
-
"description": "Path to file containing XanoScript code",
|
|
577
|
-
"exclusive": [
|
|
578
|
-
"stdin"
|
|
579
|
-
],
|
|
580
|
-
"name": "file",
|
|
581
|
-
"required": false,
|
|
582
|
-
"hasDynamicHelp": false,
|
|
583
|
-
"multiple": false,
|
|
584
|
-
"type": "option"
|
|
585
|
-
},
|
|
586
569
|
"output": {
|
|
587
570
|
"char": "o",
|
|
588
571
|
"description": "Output format",
|
|
@@ -597,27 +580,9 @@
|
|
|
597
580
|
],
|
|
598
581
|
"type": "option"
|
|
599
582
|
},
|
|
600
|
-
"publish": {
|
|
601
|
-
"description": "Publish the function after editing",
|
|
602
|
-
"name": "publish",
|
|
603
|
-
"required": false,
|
|
604
|
-
"allowNo": false,
|
|
605
|
-
"type": "boolean"
|
|
606
|
-
},
|
|
607
|
-
"stdin": {
|
|
608
|
-
"char": "s",
|
|
609
|
-
"description": "Read XanoScript code from stdin",
|
|
610
|
-
"exclusive": [
|
|
611
|
-
"file"
|
|
612
|
-
],
|
|
613
|
-
"name": "stdin",
|
|
614
|
-
"required": false,
|
|
615
|
-
"allowNo": false,
|
|
616
|
-
"type": "boolean"
|
|
617
|
-
},
|
|
618
583
|
"workspace": {
|
|
619
584
|
"char": "w",
|
|
620
|
-
"description": "Workspace ID (
|
|
585
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
621
586
|
"name": "workspace",
|
|
622
587
|
"required": false,
|
|
623
588
|
"hasDynamicHelp": false,
|
|
@@ -627,7 +592,7 @@
|
|
|
627
592
|
},
|
|
628
593
|
"hasDynamicHelp": false,
|
|
629
594
|
"hiddenAliases": [],
|
|
630
|
-
"id": "
|
|
595
|
+
"id": "branch:set_live",
|
|
631
596
|
"pluginAlias": "@xano/cli",
|
|
632
597
|
"pluginName": "@xano/cli",
|
|
633
598
|
"pluginType": "core",
|
|
@@ -637,21 +602,24 @@
|
|
|
637
602
|
"relativePath": [
|
|
638
603
|
"dist",
|
|
639
604
|
"commands",
|
|
640
|
-
"
|
|
641
|
-
"
|
|
605
|
+
"branch",
|
|
606
|
+
"set_live",
|
|
642
607
|
"index.js"
|
|
643
608
|
]
|
|
644
609
|
},
|
|
645
|
-
"
|
|
610
|
+
"platform:get": {
|
|
646
611
|
"aliases": [],
|
|
647
|
-
"args": {
|
|
648
|
-
|
|
612
|
+
"args": {
|
|
613
|
+
"platform_id": {
|
|
614
|
+
"description": "Platform ID to retrieve",
|
|
615
|
+
"name": "platform_id",
|
|
616
|
+
"required": true
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"description": "Get details of a specific platform",
|
|
649
620
|
"examples": [
|
|
650
|
-
"$ xano
|
|
651
|
-
"$ xano
|
|
652
|
-
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
653
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
654
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
621
|
+
"$ 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",
|
|
622
|
+
"$ xano platform get 23629 -o json"
|
|
655
623
|
],
|
|
656
624
|
"flags": {
|
|
657
625
|
"profile": {
|
|
@@ -673,29 +641,6 @@
|
|
|
673
641
|
"allowNo": false,
|
|
674
642
|
"type": "boolean"
|
|
675
643
|
},
|
|
676
|
-
"edit": {
|
|
677
|
-
"char": "e",
|
|
678
|
-
"dependsOn": [
|
|
679
|
-
"file"
|
|
680
|
-
],
|
|
681
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
682
|
-
"name": "edit",
|
|
683
|
-
"required": false,
|
|
684
|
-
"allowNo": false,
|
|
685
|
-
"type": "boolean"
|
|
686
|
-
},
|
|
687
|
-
"file": {
|
|
688
|
-
"char": "f",
|
|
689
|
-
"description": "Path to file containing XanoScript code",
|
|
690
|
-
"exclusive": [
|
|
691
|
-
"stdin"
|
|
692
|
-
],
|
|
693
|
-
"name": "file",
|
|
694
|
-
"required": false,
|
|
695
|
-
"hasDynamicHelp": false,
|
|
696
|
-
"multiple": false,
|
|
697
|
-
"type": "option"
|
|
698
|
-
},
|
|
699
644
|
"output": {
|
|
700
645
|
"char": "o",
|
|
701
646
|
"description": "Output format",
|
|
@@ -709,31 +654,11 @@
|
|
|
709
654
|
"json"
|
|
710
655
|
],
|
|
711
656
|
"type": "option"
|
|
712
|
-
},
|
|
713
|
-
"stdin": {
|
|
714
|
-
"char": "s",
|
|
715
|
-
"description": "Read XanoScript code from stdin",
|
|
716
|
-
"exclusive": [
|
|
717
|
-
"file"
|
|
718
|
-
],
|
|
719
|
-
"name": "stdin",
|
|
720
|
-
"required": false,
|
|
721
|
-
"allowNo": false,
|
|
722
|
-
"type": "boolean"
|
|
723
|
-
},
|
|
724
|
-
"workspace": {
|
|
725
|
-
"char": "w",
|
|
726
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
727
|
-
"name": "workspace",
|
|
728
|
-
"required": false,
|
|
729
|
-
"hasDynamicHelp": false,
|
|
730
|
-
"multiple": false,
|
|
731
|
-
"type": "option"
|
|
732
657
|
}
|
|
733
658
|
},
|
|
734
659
|
"hasDynamicHelp": false,
|
|
735
660
|
"hiddenAliases": [],
|
|
736
|
-
"id": "
|
|
661
|
+
"id": "platform:get",
|
|
737
662
|
"pluginAlias": "@xano/cli",
|
|
738
663
|
"pluginName": "@xano/cli",
|
|
739
664
|
"pluginType": "core",
|
|
@@ -743,25 +668,18 @@
|
|
|
743
668
|
"relativePath": [
|
|
744
669
|
"dist",
|
|
745
670
|
"commands",
|
|
746
|
-
"
|
|
747
|
-
"
|
|
671
|
+
"platform",
|
|
672
|
+
"get",
|
|
748
673
|
"index.js"
|
|
749
674
|
]
|
|
750
675
|
},
|
|
751
|
-
"
|
|
676
|
+
"platform:list": {
|
|
752
677
|
"aliases": [],
|
|
753
|
-
"args": {
|
|
754
|
-
|
|
755
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
756
|
-
"name": "branch_label",
|
|
757
|
-
"required": true
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
678
|
+
"args": {},
|
|
679
|
+
"description": "List all platforms",
|
|
761
680
|
"examples": [
|
|
762
|
-
"$ xano
|
|
763
|
-
"$ xano
|
|
764
|
-
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
681
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
682
|
+
"$ xano platform list --output json"
|
|
765
683
|
],
|
|
766
684
|
"flags": {
|
|
767
685
|
"profile": {
|
|
@@ -783,14 +701,6 @@
|
|
|
783
701
|
"allowNo": false,
|
|
784
702
|
"type": "boolean"
|
|
785
703
|
},
|
|
786
|
-
"force": {
|
|
787
|
-
"char": "f",
|
|
788
|
-
"description": "Skip confirmation prompt",
|
|
789
|
-
"name": "force",
|
|
790
|
-
"required": false,
|
|
791
|
-
"allowNo": false,
|
|
792
|
-
"type": "boolean"
|
|
793
|
-
},
|
|
794
704
|
"output": {
|
|
795
705
|
"char": "o",
|
|
796
706
|
"description": "Output format",
|
|
@@ -804,20 +714,11 @@
|
|
|
804
714
|
"json"
|
|
805
715
|
],
|
|
806
716
|
"type": "option"
|
|
807
|
-
},
|
|
808
|
-
"workspace": {
|
|
809
|
-
"char": "w",
|
|
810
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
811
|
-
"name": "workspace",
|
|
812
|
-
"required": false,
|
|
813
|
-
"hasDynamicHelp": false,
|
|
814
|
-
"multiple": false,
|
|
815
|
-
"type": "option"
|
|
816
717
|
}
|
|
817
718
|
},
|
|
818
719
|
"hasDynamicHelp": false,
|
|
819
720
|
"hiddenAliases": [],
|
|
820
|
-
"id": "
|
|
721
|
+
"id": "platform:list",
|
|
821
722
|
"pluginAlias": "@xano/cli",
|
|
822
723
|
"pluginName": "@xano/cli",
|
|
823
724
|
"pluginType": "core",
|
|
@@ -827,9 +728,234 @@
|
|
|
827
728
|
"relativePath": [
|
|
828
729
|
"dist",
|
|
829
730
|
"commands",
|
|
830
|
-
"
|
|
831
|
-
"
|
|
832
|
-
"index.js"
|
|
731
|
+
"platform",
|
|
732
|
+
"list",
|
|
733
|
+
"index.js"
|
|
734
|
+
]
|
|
735
|
+
},
|
|
736
|
+
"function:create": {
|
|
737
|
+
"aliases": [],
|
|
738
|
+
"args": {},
|
|
739
|
+
"description": "Create a new function in a workspace",
|
|
740
|
+
"examples": [
|
|
741
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
742
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
743
|
+
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
744
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
745
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
746
|
+
],
|
|
747
|
+
"flags": {
|
|
748
|
+
"profile": {
|
|
749
|
+
"char": "p",
|
|
750
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
751
|
+
"env": "XANO_PROFILE",
|
|
752
|
+
"name": "profile",
|
|
753
|
+
"required": false,
|
|
754
|
+
"hasDynamicHelp": false,
|
|
755
|
+
"multiple": false,
|
|
756
|
+
"type": "option"
|
|
757
|
+
},
|
|
758
|
+
"verbose": {
|
|
759
|
+
"char": "v",
|
|
760
|
+
"description": "Show detailed request/response information",
|
|
761
|
+
"env": "XANO_VERBOSE",
|
|
762
|
+
"name": "verbose",
|
|
763
|
+
"required": false,
|
|
764
|
+
"allowNo": false,
|
|
765
|
+
"type": "boolean"
|
|
766
|
+
},
|
|
767
|
+
"edit": {
|
|
768
|
+
"char": "e",
|
|
769
|
+
"dependsOn": [
|
|
770
|
+
"file"
|
|
771
|
+
],
|
|
772
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
773
|
+
"name": "edit",
|
|
774
|
+
"required": false,
|
|
775
|
+
"allowNo": false,
|
|
776
|
+
"type": "boolean"
|
|
777
|
+
},
|
|
778
|
+
"file": {
|
|
779
|
+
"char": "f",
|
|
780
|
+
"description": "Path to file containing XanoScript code",
|
|
781
|
+
"exclusive": [
|
|
782
|
+
"stdin"
|
|
783
|
+
],
|
|
784
|
+
"name": "file",
|
|
785
|
+
"required": false,
|
|
786
|
+
"hasDynamicHelp": false,
|
|
787
|
+
"multiple": false,
|
|
788
|
+
"type": "option"
|
|
789
|
+
},
|
|
790
|
+
"output": {
|
|
791
|
+
"char": "o",
|
|
792
|
+
"description": "Output format",
|
|
793
|
+
"name": "output",
|
|
794
|
+
"required": false,
|
|
795
|
+
"default": "summary",
|
|
796
|
+
"hasDynamicHelp": false,
|
|
797
|
+
"multiple": false,
|
|
798
|
+
"options": [
|
|
799
|
+
"summary",
|
|
800
|
+
"json"
|
|
801
|
+
],
|
|
802
|
+
"type": "option"
|
|
803
|
+
},
|
|
804
|
+
"stdin": {
|
|
805
|
+
"char": "s",
|
|
806
|
+
"description": "Read XanoScript code from stdin",
|
|
807
|
+
"exclusive": [
|
|
808
|
+
"file"
|
|
809
|
+
],
|
|
810
|
+
"name": "stdin",
|
|
811
|
+
"required": false,
|
|
812
|
+
"allowNo": false,
|
|
813
|
+
"type": "boolean"
|
|
814
|
+
},
|
|
815
|
+
"workspace": {
|
|
816
|
+
"char": "w",
|
|
817
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
818
|
+
"name": "workspace",
|
|
819
|
+
"required": false,
|
|
820
|
+
"hasDynamicHelp": false,
|
|
821
|
+
"multiple": false,
|
|
822
|
+
"type": "option"
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"hasDynamicHelp": false,
|
|
826
|
+
"hiddenAliases": [],
|
|
827
|
+
"id": "function:create",
|
|
828
|
+
"pluginAlias": "@xano/cli",
|
|
829
|
+
"pluginName": "@xano/cli",
|
|
830
|
+
"pluginType": "core",
|
|
831
|
+
"strict": true,
|
|
832
|
+
"enableJsonFlag": false,
|
|
833
|
+
"isESM": true,
|
|
834
|
+
"relativePath": [
|
|
835
|
+
"dist",
|
|
836
|
+
"commands",
|
|
837
|
+
"function",
|
|
838
|
+
"create",
|
|
839
|
+
"index.js"
|
|
840
|
+
]
|
|
841
|
+
},
|
|
842
|
+
"function:edit": {
|
|
843
|
+
"aliases": [],
|
|
844
|
+
"args": {
|
|
845
|
+
"function_id": {
|
|
846
|
+
"description": "Function ID to edit",
|
|
847
|
+
"name": "function_id",
|
|
848
|
+
"required": false
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
"description": "Edit a function in a workspace",
|
|
852
|
+
"examples": [
|
|
853
|
+
"$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
854
|
+
"$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
855
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
856
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
857
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
858
|
+
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
859
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
860
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
861
|
+
],
|
|
862
|
+
"flags": {
|
|
863
|
+
"profile": {
|
|
864
|
+
"char": "p",
|
|
865
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
866
|
+
"env": "XANO_PROFILE",
|
|
867
|
+
"name": "profile",
|
|
868
|
+
"required": false,
|
|
869
|
+
"hasDynamicHelp": false,
|
|
870
|
+
"multiple": false,
|
|
871
|
+
"type": "option"
|
|
872
|
+
},
|
|
873
|
+
"verbose": {
|
|
874
|
+
"char": "v",
|
|
875
|
+
"description": "Show detailed request/response information",
|
|
876
|
+
"env": "XANO_VERBOSE",
|
|
877
|
+
"name": "verbose",
|
|
878
|
+
"required": false,
|
|
879
|
+
"allowNo": false,
|
|
880
|
+
"type": "boolean"
|
|
881
|
+
},
|
|
882
|
+
"edit": {
|
|
883
|
+
"char": "e",
|
|
884
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
885
|
+
"name": "edit",
|
|
886
|
+
"required": false,
|
|
887
|
+
"allowNo": false,
|
|
888
|
+
"type": "boolean"
|
|
889
|
+
},
|
|
890
|
+
"file": {
|
|
891
|
+
"char": "f",
|
|
892
|
+
"description": "Path to file containing XanoScript code",
|
|
893
|
+
"exclusive": [
|
|
894
|
+
"stdin"
|
|
895
|
+
],
|
|
896
|
+
"name": "file",
|
|
897
|
+
"required": false,
|
|
898
|
+
"hasDynamicHelp": false,
|
|
899
|
+
"multiple": false,
|
|
900
|
+
"type": "option"
|
|
901
|
+
},
|
|
902
|
+
"output": {
|
|
903
|
+
"char": "o",
|
|
904
|
+
"description": "Output format",
|
|
905
|
+
"name": "output",
|
|
906
|
+
"required": false,
|
|
907
|
+
"default": "summary",
|
|
908
|
+
"hasDynamicHelp": false,
|
|
909
|
+
"multiple": false,
|
|
910
|
+
"options": [
|
|
911
|
+
"summary",
|
|
912
|
+
"json"
|
|
913
|
+
],
|
|
914
|
+
"type": "option"
|
|
915
|
+
},
|
|
916
|
+
"publish": {
|
|
917
|
+
"description": "Publish the function after editing",
|
|
918
|
+
"name": "publish",
|
|
919
|
+
"required": false,
|
|
920
|
+
"allowNo": false,
|
|
921
|
+
"type": "boolean"
|
|
922
|
+
},
|
|
923
|
+
"stdin": {
|
|
924
|
+
"char": "s",
|
|
925
|
+
"description": "Read XanoScript code from stdin",
|
|
926
|
+
"exclusive": [
|
|
927
|
+
"file"
|
|
928
|
+
],
|
|
929
|
+
"name": "stdin",
|
|
930
|
+
"required": false,
|
|
931
|
+
"allowNo": false,
|
|
932
|
+
"type": "boolean"
|
|
933
|
+
},
|
|
934
|
+
"workspace": {
|
|
935
|
+
"char": "w",
|
|
936
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
937
|
+
"name": "workspace",
|
|
938
|
+
"required": false,
|
|
939
|
+
"hasDynamicHelp": false,
|
|
940
|
+
"multiple": false,
|
|
941
|
+
"type": "option"
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"hasDynamicHelp": false,
|
|
945
|
+
"hiddenAliases": [],
|
|
946
|
+
"id": "function:edit",
|
|
947
|
+
"pluginAlias": "@xano/cli",
|
|
948
|
+
"pluginName": "@xano/cli",
|
|
949
|
+
"pluginType": "core",
|
|
950
|
+
"strict": true,
|
|
951
|
+
"enableJsonFlag": false,
|
|
952
|
+
"isESM": true,
|
|
953
|
+
"relativePath": [
|
|
954
|
+
"dist",
|
|
955
|
+
"commands",
|
|
956
|
+
"function",
|
|
957
|
+
"edit",
|
|
958
|
+
"index.js"
|
|
833
959
|
]
|
|
834
960
|
},
|
|
835
961
|
"function:get": {
|
|
@@ -926,52 +1052,79 @@
|
|
|
926
1052
|
"index.js"
|
|
927
1053
|
]
|
|
928
1054
|
},
|
|
929
|
-
"
|
|
1055
|
+
"profile:create": {
|
|
930
1056
|
"aliases": [],
|
|
931
|
-
"args": {
|
|
932
|
-
|
|
1057
|
+
"args": {
|
|
1058
|
+
"name": {
|
|
1059
|
+
"description": "Profile name",
|
|
1060
|
+
"name": "name",
|
|
1061
|
+
"required": true
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"description": "Create a new profile configuration",
|
|
933
1065
|
"examples": [
|
|
934
|
-
"$ xano
|
|
935
|
-
"$ xano
|
|
1066
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1067
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1068
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1069
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
936
1070
|
],
|
|
937
1071
|
"flags": {
|
|
938
|
-
"
|
|
939
|
-
"char": "
|
|
940
|
-
"description": "
|
|
941
|
-
"
|
|
942
|
-
"
|
|
1072
|
+
"access_token": {
|
|
1073
|
+
"char": "t",
|
|
1074
|
+
"description": "Access token for the Xano Metadata API",
|
|
1075
|
+
"name": "access_token",
|
|
1076
|
+
"required": true,
|
|
1077
|
+
"hasDynamicHelp": false,
|
|
1078
|
+
"multiple": false,
|
|
1079
|
+
"type": "option"
|
|
1080
|
+
},
|
|
1081
|
+
"account_origin": {
|
|
1082
|
+
"char": "a",
|
|
1083
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1084
|
+
"name": "account_origin",
|
|
943
1085
|
"required": false,
|
|
944
1086
|
"hasDynamicHelp": false,
|
|
945
1087
|
"multiple": false,
|
|
946
1088
|
"type": "option"
|
|
947
1089
|
},
|
|
948
|
-
"
|
|
949
|
-
"char": "
|
|
950
|
-
"description": "
|
|
951
|
-
"
|
|
952
|
-
"
|
|
1090
|
+
"branch": {
|
|
1091
|
+
"char": "b",
|
|
1092
|
+
"description": "Branch name",
|
|
1093
|
+
"name": "branch",
|
|
1094
|
+
"required": false,
|
|
1095
|
+
"hasDynamicHelp": false,
|
|
1096
|
+
"multiple": false,
|
|
1097
|
+
"type": "option"
|
|
1098
|
+
},
|
|
1099
|
+
"default": {
|
|
1100
|
+
"description": "Set this profile as the default",
|
|
1101
|
+
"name": "default",
|
|
953
1102
|
"required": false,
|
|
954
1103
|
"allowNo": false,
|
|
955
1104
|
"type": "boolean"
|
|
956
1105
|
},
|
|
957
|
-
"
|
|
958
|
-
"char": "
|
|
959
|
-
"description": "
|
|
960
|
-
"name": "
|
|
1106
|
+
"instance_origin": {
|
|
1107
|
+
"char": "i",
|
|
1108
|
+
"description": "Instance origin URL",
|
|
1109
|
+
"name": "instance_origin",
|
|
1110
|
+
"required": true,
|
|
1111
|
+
"hasDynamicHelp": false,
|
|
1112
|
+
"multiple": false,
|
|
1113
|
+
"type": "option"
|
|
1114
|
+
},
|
|
1115
|
+
"workspace": {
|
|
1116
|
+
"char": "w",
|
|
1117
|
+
"description": "Workspace name",
|
|
1118
|
+
"name": "workspace",
|
|
961
1119
|
"required": false,
|
|
962
|
-
"default": "summary",
|
|
963
1120
|
"hasDynamicHelp": false,
|
|
964
1121
|
"multiple": false,
|
|
965
|
-
"options": [
|
|
966
|
-
"summary",
|
|
967
|
-
"json"
|
|
968
|
-
],
|
|
969
1122
|
"type": "option"
|
|
970
1123
|
}
|
|
971
1124
|
},
|
|
972
1125
|
"hasDynamicHelp": false,
|
|
973
1126
|
"hiddenAliases": [],
|
|
974
|
-
"id": "
|
|
1127
|
+
"id": "profile:create",
|
|
975
1128
|
"pluginAlias": "@xano/cli",
|
|
976
1129
|
"pluginName": "@xano/cli",
|
|
977
1130
|
"pluginType": "core",
|
|
@@ -981,8 +1134,8 @@
|
|
|
981
1134
|
"relativePath": [
|
|
982
1135
|
"dist",
|
|
983
1136
|
"commands",
|
|
984
|
-
"
|
|
985
|
-
"
|
|
1137
|
+
"profile",
|
|
1138
|
+
"create",
|
|
986
1139
|
"index.js"
|
|
987
1140
|
]
|
|
988
1141
|
},
|
|
@@ -1111,58 +1264,34 @@
|
|
|
1111
1264
|
"index.js"
|
|
1112
1265
|
]
|
|
1113
1266
|
},
|
|
1114
|
-
"
|
|
1267
|
+
"profile:delete": {
|
|
1115
1268
|
"aliases": [],
|
|
1116
1269
|
"args": {
|
|
1117
|
-
"
|
|
1118
|
-
"description": "
|
|
1119
|
-
"name": "
|
|
1270
|
+
"name": {
|
|
1271
|
+
"description": "Profile name to delete",
|
|
1272
|
+
"name": "name",
|
|
1120
1273
|
"required": true
|
|
1121
1274
|
}
|
|
1122
1275
|
},
|
|
1123
|
-
"description": "
|
|
1276
|
+
"description": "Delete a profile configuration",
|
|
1124
1277
|
"examples": [
|
|
1125
|
-
"$ xano
|
|
1126
|
-
"$ xano
|
|
1278
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1279
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1280
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1127
1281
|
],
|
|
1128
1282
|
"flags": {
|
|
1129
|
-
"
|
|
1130
|
-
"char": "
|
|
1131
|
-
"description": "
|
|
1132
|
-
"
|
|
1133
|
-
"name": "profile",
|
|
1134
|
-
"required": false,
|
|
1135
|
-
"hasDynamicHelp": false,
|
|
1136
|
-
"multiple": false,
|
|
1137
|
-
"type": "option"
|
|
1138
|
-
},
|
|
1139
|
-
"verbose": {
|
|
1140
|
-
"char": "v",
|
|
1141
|
-
"description": "Show detailed request/response information",
|
|
1142
|
-
"env": "XANO_VERBOSE",
|
|
1143
|
-
"name": "verbose",
|
|
1283
|
+
"force": {
|
|
1284
|
+
"char": "f",
|
|
1285
|
+
"description": "Skip confirmation prompt",
|
|
1286
|
+
"name": "force",
|
|
1144
1287
|
"required": false,
|
|
1145
1288
|
"allowNo": false,
|
|
1146
1289
|
"type": "boolean"
|
|
1147
|
-
},
|
|
1148
|
-
"output": {
|
|
1149
|
-
"char": "o",
|
|
1150
|
-
"description": "Output format",
|
|
1151
|
-
"name": "output",
|
|
1152
|
-
"required": false,
|
|
1153
|
-
"default": "summary",
|
|
1154
|
-
"hasDynamicHelp": false,
|
|
1155
|
-
"multiple": false,
|
|
1156
|
-
"options": [
|
|
1157
|
-
"summary",
|
|
1158
|
-
"json"
|
|
1159
|
-
],
|
|
1160
|
-
"type": "option"
|
|
1161
1290
|
}
|
|
1162
1291
|
},
|
|
1163
1292
|
"hasDynamicHelp": false,
|
|
1164
1293
|
"hiddenAliases": [],
|
|
1165
|
-
"id": "
|
|
1294
|
+
"id": "profile:delete",
|
|
1166
1295
|
"pluginAlias": "@xano/cli",
|
|
1167
1296
|
"pluginName": "@xano/cli",
|
|
1168
1297
|
"pluginType": "core",
|
|
@@ -1172,84 +1301,22 @@
|
|
|
1172
1301
|
"relativePath": [
|
|
1173
1302
|
"dist",
|
|
1174
1303
|
"commands",
|
|
1175
|
-
"
|
|
1176
|
-
"
|
|
1304
|
+
"profile",
|
|
1305
|
+
"delete",
|
|
1177
1306
|
"index.js"
|
|
1178
1307
|
]
|
|
1179
1308
|
},
|
|
1180
|
-
"profile:
|
|
1309
|
+
"profile:get": {
|
|
1181
1310
|
"aliases": [],
|
|
1182
|
-
"args": {
|
|
1183
|
-
|
|
1184
|
-
"description": "Profile name",
|
|
1185
|
-
"name": "name",
|
|
1186
|
-
"required": true
|
|
1187
|
-
}
|
|
1188
|
-
},
|
|
1189
|
-
"description": "Create a new profile configuration",
|
|
1311
|
+
"args": {},
|
|
1312
|
+
"description": "Get the current default profile name",
|
|
1190
1313
|
"examples": [
|
|
1191
|
-
"$ xano profile
|
|
1192
|
-
"$ 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",
|
|
1193
|
-
"$ 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",
|
|
1194
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1314
|
+
"$ xano profile get\nproduction\n"
|
|
1195
1315
|
],
|
|
1196
|
-
"flags": {
|
|
1197
|
-
"access_token": {
|
|
1198
|
-
"char": "t",
|
|
1199
|
-
"description": "Access token for the Xano Metadata API",
|
|
1200
|
-
"name": "access_token",
|
|
1201
|
-
"required": true,
|
|
1202
|
-
"hasDynamicHelp": false,
|
|
1203
|
-
"multiple": false,
|
|
1204
|
-
"type": "option"
|
|
1205
|
-
},
|
|
1206
|
-
"account_origin": {
|
|
1207
|
-
"char": "a",
|
|
1208
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1209
|
-
"name": "account_origin",
|
|
1210
|
-
"required": false,
|
|
1211
|
-
"hasDynamicHelp": false,
|
|
1212
|
-
"multiple": false,
|
|
1213
|
-
"type": "option"
|
|
1214
|
-
},
|
|
1215
|
-
"branch": {
|
|
1216
|
-
"char": "b",
|
|
1217
|
-
"description": "Branch name",
|
|
1218
|
-
"name": "branch",
|
|
1219
|
-
"required": false,
|
|
1220
|
-
"hasDynamicHelp": false,
|
|
1221
|
-
"multiple": false,
|
|
1222
|
-
"type": "option"
|
|
1223
|
-
},
|
|
1224
|
-
"default": {
|
|
1225
|
-
"description": "Set this profile as the default",
|
|
1226
|
-
"name": "default",
|
|
1227
|
-
"required": false,
|
|
1228
|
-
"allowNo": false,
|
|
1229
|
-
"type": "boolean"
|
|
1230
|
-
},
|
|
1231
|
-
"instance_origin": {
|
|
1232
|
-
"char": "i",
|
|
1233
|
-
"description": "Instance origin URL",
|
|
1234
|
-
"name": "instance_origin",
|
|
1235
|
-
"required": true,
|
|
1236
|
-
"hasDynamicHelp": false,
|
|
1237
|
-
"multiple": false,
|
|
1238
|
-
"type": "option"
|
|
1239
|
-
},
|
|
1240
|
-
"workspace": {
|
|
1241
|
-
"char": "w",
|
|
1242
|
-
"description": "Workspace name",
|
|
1243
|
-
"name": "workspace",
|
|
1244
|
-
"required": false,
|
|
1245
|
-
"hasDynamicHelp": false,
|
|
1246
|
-
"multiple": false,
|
|
1247
|
-
"type": "option"
|
|
1248
|
-
}
|
|
1249
|
-
},
|
|
1316
|
+
"flags": {},
|
|
1250
1317
|
"hasDynamicHelp": false,
|
|
1251
1318
|
"hiddenAliases": [],
|
|
1252
|
-
"id": "profile:
|
|
1319
|
+
"id": "profile:get",
|
|
1253
1320
|
"pluginAlias": "@xano/cli",
|
|
1254
1321
|
"pluginName": "@xano/cli",
|
|
1255
1322
|
"pluginType": "core",
|
|
@@ -1260,30 +1327,24 @@
|
|
|
1260
1327
|
"dist",
|
|
1261
1328
|
"commands",
|
|
1262
1329
|
"profile",
|
|
1263
|
-
"
|
|
1330
|
+
"get",
|
|
1264
1331
|
"index.js"
|
|
1265
1332
|
]
|
|
1266
1333
|
},
|
|
1267
|
-
"profile:
|
|
1334
|
+
"profile:list": {
|
|
1268
1335
|
"aliases": [],
|
|
1269
|
-
"args": {
|
|
1270
|
-
|
|
1271
|
-
"description": "Profile name to delete",
|
|
1272
|
-
"name": "name",
|
|
1273
|
-
"required": true
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
"description": "Delete a profile configuration",
|
|
1336
|
+
"args": {},
|
|
1337
|
+
"description": "List all available profile configurations",
|
|
1277
1338
|
"examples": [
|
|
1278
|
-
"$ xano profile:
|
|
1279
|
-
"$ xano profile:
|
|
1280
|
-
"$ xano profile:
|
|
1339
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1340
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1341
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1281
1342
|
],
|
|
1282
1343
|
"flags": {
|
|
1283
|
-
"
|
|
1284
|
-
"char": "
|
|
1285
|
-
"description": "
|
|
1286
|
-
"name": "
|
|
1344
|
+
"details": {
|
|
1345
|
+
"char": "d",
|
|
1346
|
+
"description": "Show detailed information for each profile",
|
|
1347
|
+
"name": "details",
|
|
1287
1348
|
"required": false,
|
|
1288
1349
|
"allowNo": false,
|
|
1289
1350
|
"type": "boolean"
|
|
@@ -1291,7 +1352,7 @@
|
|
|
1291
1352
|
},
|
|
1292
1353
|
"hasDynamicHelp": false,
|
|
1293
1354
|
"hiddenAliases": [],
|
|
1294
|
-
"id": "profile:
|
|
1355
|
+
"id": "profile:list",
|
|
1295
1356
|
"pluginAlias": "@xano/cli",
|
|
1296
1357
|
"pluginName": "@xano/cli",
|
|
1297
1358
|
"pluginType": "core",
|
|
@@ -1302,7 +1363,7 @@
|
|
|
1302
1363
|
"dist",
|
|
1303
1364
|
"commands",
|
|
1304
1365
|
"profile",
|
|
1305
|
-
"
|
|
1366
|
+
"list",
|
|
1306
1367
|
"index.js"
|
|
1307
1368
|
]
|
|
1308
1369
|
},
|
|
@@ -1416,68 +1477,7 @@
|
|
|
1416
1477
|
"dist",
|
|
1417
1478
|
"commands",
|
|
1418
1479
|
"profile",
|
|
1419
|
-
"edit",
|
|
1420
|
-
"index.js"
|
|
1421
|
-
]
|
|
1422
|
-
},
|
|
1423
|
-
"profile:list": {
|
|
1424
|
-
"aliases": [],
|
|
1425
|
-
"args": {},
|
|
1426
|
-
"description": "List all available profile configurations",
|
|
1427
|
-
"examples": [
|
|
1428
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1429
|
-
"$ 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",
|
|
1430
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1431
|
-
],
|
|
1432
|
-
"flags": {
|
|
1433
|
-
"details": {
|
|
1434
|
-
"char": "d",
|
|
1435
|
-
"description": "Show detailed information for each profile",
|
|
1436
|
-
"name": "details",
|
|
1437
|
-
"required": false,
|
|
1438
|
-
"allowNo": false,
|
|
1439
|
-
"type": "boolean"
|
|
1440
|
-
}
|
|
1441
|
-
},
|
|
1442
|
-
"hasDynamicHelp": false,
|
|
1443
|
-
"hiddenAliases": [],
|
|
1444
|
-
"id": "profile:list",
|
|
1445
|
-
"pluginAlias": "@xano/cli",
|
|
1446
|
-
"pluginName": "@xano/cli",
|
|
1447
|
-
"pluginType": "core",
|
|
1448
|
-
"strict": true,
|
|
1449
|
-
"enableJsonFlag": false,
|
|
1450
|
-
"isESM": true,
|
|
1451
|
-
"relativePath": [
|
|
1452
|
-
"dist",
|
|
1453
|
-
"commands",
|
|
1454
|
-
"profile",
|
|
1455
|
-
"list",
|
|
1456
|
-
"index.js"
|
|
1457
|
-
]
|
|
1458
|
-
},
|
|
1459
|
-
"profile:get": {
|
|
1460
|
-
"aliases": [],
|
|
1461
|
-
"args": {},
|
|
1462
|
-
"description": "Get the current default profile name",
|
|
1463
|
-
"examples": [
|
|
1464
|
-
"$ xano profile get\nproduction\n"
|
|
1465
|
-
],
|
|
1466
|
-
"flags": {},
|
|
1467
|
-
"hasDynamicHelp": false,
|
|
1468
|
-
"hiddenAliases": [],
|
|
1469
|
-
"id": "profile:get",
|
|
1470
|
-
"pluginAlias": "@xano/cli",
|
|
1471
|
-
"pluginName": "@xano/cli",
|
|
1472
|
-
"pluginType": "core",
|
|
1473
|
-
"strict": true,
|
|
1474
|
-
"enableJsonFlag": false,
|
|
1475
|
-
"isESM": true,
|
|
1476
|
-
"relativePath": [
|
|
1477
|
-
"dist",
|
|
1478
|
-
"commands",
|
|
1479
|
-
"profile",
|
|
1480
|
-
"get",
|
|
1480
|
+
"edit",
|
|
1481
1481
|
"index.js"
|
|
1482
1482
|
]
|
|
1483
1483
|
},
|
|
@@ -1542,6 +1542,37 @@
|
|
|
1542
1542
|
"index.js"
|
|
1543
1543
|
]
|
|
1544
1544
|
},
|
|
1545
|
+
"profile:set": {
|
|
1546
|
+
"aliases": [],
|
|
1547
|
+
"args": {
|
|
1548
|
+
"name": {
|
|
1549
|
+
"description": "Profile name to set as default",
|
|
1550
|
+
"name": "name",
|
|
1551
|
+
"required": true
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"description": "Set the default profile",
|
|
1555
|
+
"examples": [
|
|
1556
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1557
|
+
],
|
|
1558
|
+
"flags": {},
|
|
1559
|
+
"hasDynamicHelp": false,
|
|
1560
|
+
"hiddenAliases": [],
|
|
1561
|
+
"id": "profile:set",
|
|
1562
|
+
"pluginAlias": "@xano/cli",
|
|
1563
|
+
"pluginName": "@xano/cli",
|
|
1564
|
+
"pluginType": "core",
|
|
1565
|
+
"strict": true,
|
|
1566
|
+
"enableJsonFlag": false,
|
|
1567
|
+
"isESM": true,
|
|
1568
|
+
"relativePath": [
|
|
1569
|
+
"dist",
|
|
1570
|
+
"commands",
|
|
1571
|
+
"profile",
|
|
1572
|
+
"set",
|
|
1573
|
+
"index.js"
|
|
1574
|
+
]
|
|
1575
|
+
},
|
|
1545
1576
|
"profile:token": {
|
|
1546
1577
|
"aliases": [],
|
|
1547
1578
|
"args": {},
|
|
@@ -1568,37 +1599,18 @@
|
|
|
1568
1599
|
"index.js"
|
|
1569
1600
|
]
|
|
1570
1601
|
},
|
|
1571
|
-
"profile:
|
|
1602
|
+
"profile:workspace": {
|
|
1572
1603
|
"aliases": [],
|
|
1573
1604
|
"args": {},
|
|
1574
|
-
"description": "
|
|
1605
|
+
"description": "Print the workspace ID for the default profile",
|
|
1575
1606
|
"examples": [
|
|
1576
|
-
"$ xano profile:
|
|
1607
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1608
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1577
1609
|
],
|
|
1578
|
-
"flags": {
|
|
1579
|
-
"name": {
|
|
1580
|
-
"char": "n",
|
|
1581
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1582
|
-
"name": "name",
|
|
1583
|
-
"required": false,
|
|
1584
|
-
"hasDynamicHelp": false,
|
|
1585
|
-
"multiple": false,
|
|
1586
|
-
"type": "option"
|
|
1587
|
-
},
|
|
1588
|
-
"origin": {
|
|
1589
|
-
"char": "o",
|
|
1590
|
-
"description": "Xano instance origin URL",
|
|
1591
|
-
"name": "origin",
|
|
1592
|
-
"required": false,
|
|
1593
|
-
"default": "https://app.xano.com",
|
|
1594
|
-
"hasDynamicHelp": false,
|
|
1595
|
-
"multiple": false,
|
|
1596
|
-
"type": "option"
|
|
1597
|
-
}
|
|
1598
|
-
},
|
|
1610
|
+
"flags": {},
|
|
1599
1611
|
"hasDynamicHelp": false,
|
|
1600
1612
|
"hiddenAliases": [],
|
|
1601
|
-
"id": "profile:
|
|
1613
|
+
"id": "profile:workspace",
|
|
1602
1614
|
"pluginAlias": "@xano/cli",
|
|
1603
1615
|
"pluginName": "@xano/cli",
|
|
1604
1616
|
"pluginType": "core",
|
|
@@ -1609,27 +1621,85 @@
|
|
|
1609
1621
|
"dist",
|
|
1610
1622
|
"commands",
|
|
1611
1623
|
"profile",
|
|
1612
|
-
"
|
|
1624
|
+
"workspace",
|
|
1613
1625
|
"index.js"
|
|
1614
1626
|
]
|
|
1615
1627
|
},
|
|
1616
|
-
"
|
|
1628
|
+
"static_host:list": {
|
|
1617
1629
|
"aliases": [],
|
|
1618
|
-
"args": {
|
|
1619
|
-
|
|
1620
|
-
"description": "Profile name to set as default",
|
|
1621
|
-
"name": "name",
|
|
1622
|
-
"required": true
|
|
1623
|
-
}
|
|
1624
|
-
},
|
|
1625
|
-
"description": "Set the default profile",
|
|
1630
|
+
"args": {},
|
|
1631
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1626
1632
|
"examples": [
|
|
1627
|
-
"$ xano
|
|
1633
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1634
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1635
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
1636
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1628
1637
|
],
|
|
1629
|
-
"flags": {
|
|
1638
|
+
"flags": {
|
|
1639
|
+
"profile": {
|
|
1640
|
+
"char": "p",
|
|
1641
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1642
|
+
"env": "XANO_PROFILE",
|
|
1643
|
+
"name": "profile",
|
|
1644
|
+
"required": false,
|
|
1645
|
+
"hasDynamicHelp": false,
|
|
1646
|
+
"multiple": false,
|
|
1647
|
+
"type": "option"
|
|
1648
|
+
},
|
|
1649
|
+
"verbose": {
|
|
1650
|
+
"char": "v",
|
|
1651
|
+
"description": "Show detailed request/response information",
|
|
1652
|
+
"env": "XANO_VERBOSE",
|
|
1653
|
+
"name": "verbose",
|
|
1654
|
+
"required": false,
|
|
1655
|
+
"allowNo": false,
|
|
1656
|
+
"type": "boolean"
|
|
1657
|
+
},
|
|
1658
|
+
"output": {
|
|
1659
|
+
"char": "o",
|
|
1660
|
+
"description": "Output format",
|
|
1661
|
+
"name": "output",
|
|
1662
|
+
"required": false,
|
|
1663
|
+
"default": "summary",
|
|
1664
|
+
"hasDynamicHelp": false,
|
|
1665
|
+
"multiple": false,
|
|
1666
|
+
"options": [
|
|
1667
|
+
"summary",
|
|
1668
|
+
"json"
|
|
1669
|
+
],
|
|
1670
|
+
"type": "option"
|
|
1671
|
+
},
|
|
1672
|
+
"page": {
|
|
1673
|
+
"description": "Page number for pagination",
|
|
1674
|
+
"name": "page",
|
|
1675
|
+
"required": false,
|
|
1676
|
+
"default": 1,
|
|
1677
|
+
"hasDynamicHelp": false,
|
|
1678
|
+
"multiple": false,
|
|
1679
|
+
"type": "option"
|
|
1680
|
+
},
|
|
1681
|
+
"per_page": {
|
|
1682
|
+
"description": "Number of results per page",
|
|
1683
|
+
"name": "per_page",
|
|
1684
|
+
"required": false,
|
|
1685
|
+
"default": 50,
|
|
1686
|
+
"hasDynamicHelp": false,
|
|
1687
|
+
"multiple": false,
|
|
1688
|
+
"type": "option"
|
|
1689
|
+
},
|
|
1690
|
+
"workspace": {
|
|
1691
|
+
"char": "w",
|
|
1692
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1693
|
+
"name": "workspace",
|
|
1694
|
+
"required": false,
|
|
1695
|
+
"hasDynamicHelp": false,
|
|
1696
|
+
"multiple": false,
|
|
1697
|
+
"type": "option"
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1630
1700
|
"hasDynamicHelp": false,
|
|
1631
1701
|
"hiddenAliases": [],
|
|
1632
|
-
"id": "
|
|
1702
|
+
"id": "static_host:list",
|
|
1633
1703
|
"pluginAlias": "@xano/cli",
|
|
1634
1704
|
"pluginName": "@xano/cli",
|
|
1635
1705
|
"pluginType": "core",
|
|
@@ -1639,23 +1709,42 @@
|
|
|
1639
1709
|
"relativePath": [
|
|
1640
1710
|
"dist",
|
|
1641
1711
|
"commands",
|
|
1642
|
-
"
|
|
1643
|
-
"
|
|
1712
|
+
"static_host",
|
|
1713
|
+
"list",
|
|
1644
1714
|
"index.js"
|
|
1645
1715
|
]
|
|
1646
1716
|
},
|
|
1647
|
-
"profile:
|
|
1717
|
+
"profile:wizard": {
|
|
1648
1718
|
"aliases": [],
|
|
1649
1719
|
"args": {},
|
|
1650
|
-
"description": "
|
|
1720
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1651
1721
|
"examples": [
|
|
1652
|
-
"$ xano profile:
|
|
1653
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1722
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1654
1723
|
],
|
|
1655
|
-
"flags": {
|
|
1724
|
+
"flags": {
|
|
1725
|
+
"name": {
|
|
1726
|
+
"char": "n",
|
|
1727
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1728
|
+
"name": "name",
|
|
1729
|
+
"required": false,
|
|
1730
|
+
"hasDynamicHelp": false,
|
|
1731
|
+
"multiple": false,
|
|
1732
|
+
"type": "option"
|
|
1733
|
+
},
|
|
1734
|
+
"origin": {
|
|
1735
|
+
"char": "o",
|
|
1736
|
+
"description": "Xano instance origin URL",
|
|
1737
|
+
"name": "origin",
|
|
1738
|
+
"required": false,
|
|
1739
|
+
"default": "https://app.xano.com",
|
|
1740
|
+
"hasDynamicHelp": false,
|
|
1741
|
+
"multiple": false,
|
|
1742
|
+
"type": "option"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1656
1745
|
"hasDynamicHelp": false,
|
|
1657
1746
|
"hiddenAliases": [],
|
|
1658
|
-
"id": "profile:
|
|
1747
|
+
"id": "profile:wizard",
|
|
1659
1748
|
"pluginAlias": "@xano/cli",
|
|
1660
1749
|
"pluginName": "@xano/cli",
|
|
1661
1750
|
"pluginType": "core",
|
|
@@ -1666,7 +1755,7 @@
|
|
|
1666
1755
|
"dist",
|
|
1667
1756
|
"commands",
|
|
1668
1757
|
"profile",
|
|
1669
|
-
"
|
|
1758
|
+
"wizard",
|
|
1670
1759
|
"index.js"
|
|
1671
1760
|
]
|
|
1672
1761
|
},
|
|
@@ -1781,19 +1870,20 @@
|
|
|
1781
1870
|
"index.js"
|
|
1782
1871
|
]
|
|
1783
1872
|
},
|
|
1784
|
-
"release:
|
|
1873
|
+
"release:delete": {
|
|
1785
1874
|
"aliases": [],
|
|
1786
1875
|
"args": {
|
|
1787
1876
|
"release_name": {
|
|
1788
|
-
"description": "Release name to
|
|
1877
|
+
"description": "Release name to delete",
|
|
1789
1878
|
"name": "release_name",
|
|
1790
1879
|
"required": true
|
|
1791
1880
|
}
|
|
1792
1881
|
},
|
|
1793
|
-
"description": "
|
|
1882
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1794
1883
|
"examples": [
|
|
1795
|
-
"$ xano release
|
|
1796
|
-
"$ xano release
|
|
1884
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1885
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1886
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1797
1887
|
],
|
|
1798
1888
|
"flags": {
|
|
1799
1889
|
"profile": {
|
|
@@ -1815,23 +1905,13 @@
|
|
|
1815
1905
|
"allowNo": false,
|
|
1816
1906
|
"type": "boolean"
|
|
1817
1907
|
},
|
|
1818
|
-
"
|
|
1819
|
-
"char": "
|
|
1820
|
-
"description": "
|
|
1821
|
-
"name": "
|
|
1822
|
-
"required": false,
|
|
1823
|
-
"hasDynamicHelp": false,
|
|
1824
|
-
"multiple": false,
|
|
1825
|
-
"type": "option"
|
|
1826
|
-
},
|
|
1827
|
-
"name": {
|
|
1828
|
-
"char": "n",
|
|
1829
|
-
"description": "New name for the release",
|
|
1830
|
-
"name": "name",
|
|
1908
|
+
"force": {
|
|
1909
|
+
"char": "f",
|
|
1910
|
+
"description": "Skip confirmation prompt",
|
|
1911
|
+
"name": "force",
|
|
1831
1912
|
"required": false,
|
|
1832
|
-
"
|
|
1833
|
-
"
|
|
1834
|
-
"type": "option"
|
|
1913
|
+
"allowNo": false,
|
|
1914
|
+
"type": "boolean"
|
|
1835
1915
|
},
|
|
1836
1916
|
"output": {
|
|
1837
1917
|
"char": "o",
|
|
@@ -1859,7 +1939,7 @@
|
|
|
1859
1939
|
},
|
|
1860
1940
|
"hasDynamicHelp": false,
|
|
1861
1941
|
"hiddenAliases": [],
|
|
1862
|
-
"id": "release:
|
|
1942
|
+
"id": "release:delete",
|
|
1863
1943
|
"pluginAlias": "@xano/cli",
|
|
1864
1944
|
"pluginName": "@xano/cli",
|
|
1865
1945
|
"pluginType": "core",
|
|
@@ -1870,24 +1950,23 @@
|
|
|
1870
1950
|
"dist",
|
|
1871
1951
|
"commands",
|
|
1872
1952
|
"release",
|
|
1873
|
-
"
|
|
1953
|
+
"delete",
|
|
1874
1954
|
"index.js"
|
|
1875
1955
|
]
|
|
1876
1956
|
},
|
|
1877
|
-
"release:
|
|
1957
|
+
"release:edit": {
|
|
1878
1958
|
"aliases": [],
|
|
1879
1959
|
"args": {
|
|
1880
1960
|
"release_name": {
|
|
1881
|
-
"description": "Release name to
|
|
1961
|
+
"description": "Release name to edit",
|
|
1882
1962
|
"name": "release_name",
|
|
1883
1963
|
"required": true
|
|
1884
1964
|
}
|
|
1885
1965
|
},
|
|
1886
|
-
"description": "
|
|
1966
|
+
"description": "Edit an existing release",
|
|
1887
1967
|
"examples": [
|
|
1888
|
-
"$ xano release
|
|
1889
|
-
"$ xano release
|
|
1890
|
-
"$ xano release delete v1.0 -f -o json"
|
|
1968
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1969
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1891
1970
|
],
|
|
1892
1971
|
"flags": {
|
|
1893
1972
|
"profile": {
|
|
@@ -1909,13 +1988,23 @@
|
|
|
1909
1988
|
"allowNo": false,
|
|
1910
1989
|
"type": "boolean"
|
|
1911
1990
|
},
|
|
1912
|
-
"
|
|
1913
|
-
"char": "
|
|
1914
|
-
"description": "
|
|
1915
|
-
"name": "
|
|
1991
|
+
"description": {
|
|
1992
|
+
"char": "d",
|
|
1993
|
+
"description": "New description",
|
|
1994
|
+
"name": "description",
|
|
1916
1995
|
"required": false,
|
|
1917
|
-
"
|
|
1918
|
-
"
|
|
1996
|
+
"hasDynamicHelp": false,
|
|
1997
|
+
"multiple": false,
|
|
1998
|
+
"type": "option"
|
|
1999
|
+
},
|
|
2000
|
+
"name": {
|
|
2001
|
+
"char": "n",
|
|
2002
|
+
"description": "New name for the release",
|
|
2003
|
+
"name": "name",
|
|
2004
|
+
"required": false,
|
|
2005
|
+
"hasDynamicHelp": false,
|
|
2006
|
+
"multiple": false,
|
|
2007
|
+
"type": "option"
|
|
1919
2008
|
},
|
|
1920
2009
|
"output": {
|
|
1921
2010
|
"char": "o",
|
|
@@ -1943,7 +2032,7 @@
|
|
|
1943
2032
|
},
|
|
1944
2033
|
"hasDynamicHelp": false,
|
|
1945
2034
|
"hiddenAliases": [],
|
|
1946
|
-
"id": "release:
|
|
2035
|
+
"id": "release:edit",
|
|
1947
2036
|
"pluginAlias": "@xano/cli",
|
|
1948
2037
|
"pluginName": "@xano/cli",
|
|
1949
2038
|
"pluginType": "core",
|
|
@@ -1954,7 +2043,7 @@
|
|
|
1954
2043
|
"dist",
|
|
1955
2044
|
"commands",
|
|
1956
2045
|
"release",
|
|
1957
|
-
"
|
|
2046
|
+
"edit",
|
|
1958
2047
|
"index.js"
|
|
1959
2048
|
]
|
|
1960
2049
|
},
|
|
@@ -2042,19 +2131,13 @@
|
|
|
2042
2131
|
"index.js"
|
|
2043
2132
|
]
|
|
2044
2133
|
},
|
|
2045
|
-
"release:
|
|
2134
|
+
"release:list": {
|
|
2046
2135
|
"aliases": [],
|
|
2047
|
-
"args": {
|
|
2048
|
-
|
|
2049
|
-
"description": "Release name to retrieve",
|
|
2050
|
-
"name": "release_name",
|
|
2051
|
-
"required": true
|
|
2052
|
-
}
|
|
2053
|
-
},
|
|
2054
|
-
"description": "Get details of a specific release",
|
|
2136
|
+
"args": {},
|
|
2137
|
+
"description": "List all releases in a workspace",
|
|
2055
2138
|
"examples": [
|
|
2056
|
-
"$ xano release
|
|
2057
|
-
"$ xano release
|
|
2139
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2140
|
+
"$ xano release list -w 5 --output json"
|
|
2058
2141
|
],
|
|
2059
2142
|
"flags": {
|
|
2060
2143
|
"profile": {
|
|
@@ -2102,7 +2185,7 @@
|
|
|
2102
2185
|
},
|
|
2103
2186
|
"hasDynamicHelp": false,
|
|
2104
2187
|
"hiddenAliases": [],
|
|
2105
|
-
"id": "release:
|
|
2188
|
+
"id": "release:list",
|
|
2106
2189
|
"pluginAlias": "@xano/cli",
|
|
2107
2190
|
"pluginName": "@xano/cli",
|
|
2108
2191
|
"pluginType": "core",
|
|
@@ -2113,7 +2196,7 @@
|
|
|
2113
2196
|
"dist",
|
|
2114
2197
|
"commands",
|
|
2115
2198
|
"release",
|
|
2116
|
-
"
|
|
2199
|
+
"list",
|
|
2117
2200
|
"index.js"
|
|
2118
2201
|
]
|
|
2119
2202
|
},
|
|
@@ -2195,13 +2278,20 @@
|
|
|
2195
2278
|
"index.js"
|
|
2196
2279
|
]
|
|
2197
2280
|
},
|
|
2198
|
-
"release:
|
|
2281
|
+
"release:pull": {
|
|
2199
2282
|
"aliases": [],
|
|
2200
|
-
"args": {
|
|
2201
|
-
|
|
2283
|
+
"args": {
|
|
2284
|
+
"directory": {
|
|
2285
|
+
"description": "Output directory for pulled documents",
|
|
2286
|
+
"name": "directory",
|
|
2287
|
+
"required": true
|
|
2288
|
+
}
|
|
2289
|
+
},
|
|
2290
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2202
2291
|
"examples": [
|
|
2203
|
-
"$ xano release
|
|
2204
|
-
"$ xano release
|
|
2292
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2293
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2294
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2205
2295
|
],
|
|
2206
2296
|
"flags": {
|
|
2207
2297
|
"profile": {
|
|
@@ -2223,23 +2313,32 @@
|
|
|
2223
2313
|
"allowNo": false,
|
|
2224
2314
|
"type": "boolean"
|
|
2225
2315
|
},
|
|
2226
|
-
"
|
|
2227
|
-
"
|
|
2228
|
-
"
|
|
2229
|
-
"name": "output",
|
|
2316
|
+
"env": {
|
|
2317
|
+
"description": "Include environment variables",
|
|
2318
|
+
"name": "env",
|
|
2230
2319
|
"required": false,
|
|
2231
|
-
"
|
|
2320
|
+
"allowNo": false,
|
|
2321
|
+
"type": "boolean"
|
|
2322
|
+
},
|
|
2323
|
+
"records": {
|
|
2324
|
+
"description": "Include records",
|
|
2325
|
+
"name": "records",
|
|
2326
|
+
"required": false,
|
|
2327
|
+
"allowNo": false,
|
|
2328
|
+
"type": "boolean"
|
|
2329
|
+
},
|
|
2330
|
+
"release": {
|
|
2331
|
+
"char": "r",
|
|
2332
|
+
"description": "Release name to pull from",
|
|
2333
|
+
"name": "release",
|
|
2334
|
+
"required": true,
|
|
2232
2335
|
"hasDynamicHelp": false,
|
|
2233
2336
|
"multiple": false,
|
|
2234
|
-
"options": [
|
|
2235
|
-
"summary",
|
|
2236
|
-
"json"
|
|
2237
|
-
],
|
|
2238
2337
|
"type": "option"
|
|
2239
2338
|
},
|
|
2240
2339
|
"workspace": {
|
|
2241
2340
|
"char": "w",
|
|
2242
|
-
"description": "Workspace ID (
|
|
2341
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2243
2342
|
"name": "workspace",
|
|
2244
2343
|
"required": false,
|
|
2245
2344
|
"hasDynamicHelp": false,
|
|
@@ -2249,7 +2348,7 @@
|
|
|
2249
2348
|
},
|
|
2250
2349
|
"hasDynamicHelp": false,
|
|
2251
2350
|
"hiddenAliases": [],
|
|
2252
|
-
"id": "release:
|
|
2351
|
+
"id": "release:pull",
|
|
2253
2352
|
"pluginAlias": "@xano/cli",
|
|
2254
2353
|
"pluginName": "@xano/cli",
|
|
2255
2354
|
"pluginType": "core",
|
|
@@ -2260,24 +2359,23 @@
|
|
|
2260
2359
|
"dist",
|
|
2261
2360
|
"commands",
|
|
2262
2361
|
"release",
|
|
2263
|
-
"
|
|
2362
|
+
"pull",
|
|
2264
2363
|
"index.js"
|
|
2265
2364
|
]
|
|
2266
2365
|
},
|
|
2267
|
-
"release:
|
|
2366
|
+
"release:get": {
|
|
2268
2367
|
"aliases": [],
|
|
2269
2368
|
"args": {
|
|
2270
|
-
"
|
|
2271
|
-
"description": "
|
|
2272
|
-
"name": "
|
|
2369
|
+
"release_name": {
|
|
2370
|
+
"description": "Release name to retrieve",
|
|
2371
|
+
"name": "release_name",
|
|
2273
2372
|
"required": true
|
|
2274
2373
|
}
|
|
2275
2374
|
},
|
|
2276
|
-
"description": "
|
|
2375
|
+
"description": "Get details of a specific release",
|
|
2277
2376
|
"examples": [
|
|
2278
|
-
"$ xano release
|
|
2279
|
-
"$ xano release
|
|
2280
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2377
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2378
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2281
2379
|
],
|
|
2282
2380
|
"flags": {
|
|
2283
2381
|
"profile": {
|
|
@@ -2299,32 +2397,23 @@
|
|
|
2299
2397
|
"allowNo": false,
|
|
2300
2398
|
"type": "boolean"
|
|
2301
2399
|
},
|
|
2302
|
-
"
|
|
2303
|
-
"
|
|
2304
|
-
"
|
|
2305
|
-
"
|
|
2306
|
-
"allowNo": false,
|
|
2307
|
-
"type": "boolean"
|
|
2308
|
-
},
|
|
2309
|
-
"records": {
|
|
2310
|
-
"description": "Include records",
|
|
2311
|
-
"name": "records",
|
|
2400
|
+
"output": {
|
|
2401
|
+
"char": "o",
|
|
2402
|
+
"description": "Output format",
|
|
2403
|
+
"name": "output",
|
|
2312
2404
|
"required": false,
|
|
2313
|
-
"
|
|
2314
|
-
"type": "boolean"
|
|
2315
|
-
},
|
|
2316
|
-
"release": {
|
|
2317
|
-
"char": "r",
|
|
2318
|
-
"description": "Release name to pull from",
|
|
2319
|
-
"name": "release",
|
|
2320
|
-
"required": true,
|
|
2405
|
+
"default": "summary",
|
|
2321
2406
|
"hasDynamicHelp": false,
|
|
2322
2407
|
"multiple": false,
|
|
2408
|
+
"options": [
|
|
2409
|
+
"summary",
|
|
2410
|
+
"json"
|
|
2411
|
+
],
|
|
2323
2412
|
"type": "option"
|
|
2324
2413
|
},
|
|
2325
2414
|
"workspace": {
|
|
2326
2415
|
"char": "w",
|
|
2327
|
-
"description": "Workspace ID (
|
|
2416
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2328
2417
|
"name": "workspace",
|
|
2329
2418
|
"required": false,
|
|
2330
2419
|
"hasDynamicHelp": false,
|
|
@@ -2334,7 +2423,7 @@
|
|
|
2334
2423
|
},
|
|
2335
2424
|
"hasDynamicHelp": false,
|
|
2336
2425
|
"hiddenAliases": [],
|
|
2337
|
-
"id": "release:
|
|
2426
|
+
"id": "release:get",
|
|
2338
2427
|
"pluginAlias": "@xano/cli",
|
|
2339
2428
|
"pluginName": "@xano/cli",
|
|
2340
2429
|
"pluginType": "core",
|
|
@@ -2345,7 +2434,7 @@
|
|
|
2345
2434
|
"dist",
|
|
2346
2435
|
"commands",
|
|
2347
2436
|
"release",
|
|
2348
|
-
"
|
|
2437
|
+
"get",
|
|
2349
2438
|
"index.js"
|
|
2350
2439
|
]
|
|
2351
2440
|
},
|
|
@@ -2442,7 +2531,147 @@
|
|
|
2442
2531
|
},
|
|
2443
2532
|
"workspace": {
|
|
2444
2533
|
"char": "w",
|
|
2445
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
2534
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2535
|
+
"name": "workspace",
|
|
2536
|
+
"required": false,
|
|
2537
|
+
"hasDynamicHelp": false,
|
|
2538
|
+
"multiple": false,
|
|
2539
|
+
"type": "option"
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
"hasDynamicHelp": false,
|
|
2543
|
+
"hiddenAliases": [],
|
|
2544
|
+
"id": "release:push",
|
|
2545
|
+
"pluginAlias": "@xano/cli",
|
|
2546
|
+
"pluginName": "@xano/cli",
|
|
2547
|
+
"pluginType": "core",
|
|
2548
|
+
"strict": true,
|
|
2549
|
+
"enableJsonFlag": false,
|
|
2550
|
+
"isESM": true,
|
|
2551
|
+
"relativePath": [
|
|
2552
|
+
"dist",
|
|
2553
|
+
"commands",
|
|
2554
|
+
"release",
|
|
2555
|
+
"push",
|
|
2556
|
+
"index.js"
|
|
2557
|
+
]
|
|
2558
|
+
},
|
|
2559
|
+
"tenant:create": {
|
|
2560
|
+
"aliases": [],
|
|
2561
|
+
"args": {
|
|
2562
|
+
"display": {
|
|
2563
|
+
"description": "Display name for the tenant",
|
|
2564
|
+
"name": "display",
|
|
2565
|
+
"required": true
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2568
|
+
"description": "Create a new tenant in a workspace",
|
|
2569
|
+
"examples": [
|
|
2570
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2571
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2572
|
+
],
|
|
2573
|
+
"flags": {
|
|
2574
|
+
"profile": {
|
|
2575
|
+
"char": "p",
|
|
2576
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2577
|
+
"env": "XANO_PROFILE",
|
|
2578
|
+
"name": "profile",
|
|
2579
|
+
"required": false,
|
|
2580
|
+
"hasDynamicHelp": false,
|
|
2581
|
+
"multiple": false,
|
|
2582
|
+
"type": "option"
|
|
2583
|
+
},
|
|
2584
|
+
"verbose": {
|
|
2585
|
+
"char": "v",
|
|
2586
|
+
"description": "Show detailed request/response information",
|
|
2587
|
+
"env": "XANO_VERBOSE",
|
|
2588
|
+
"name": "verbose",
|
|
2589
|
+
"required": false,
|
|
2590
|
+
"allowNo": false,
|
|
2591
|
+
"type": "boolean"
|
|
2592
|
+
},
|
|
2593
|
+
"cluster_id": {
|
|
2594
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2595
|
+
"name": "cluster_id",
|
|
2596
|
+
"required": false,
|
|
2597
|
+
"hasDynamicHelp": false,
|
|
2598
|
+
"multiple": false,
|
|
2599
|
+
"type": "option"
|
|
2600
|
+
},
|
|
2601
|
+
"description": {
|
|
2602
|
+
"char": "d",
|
|
2603
|
+
"description": "Tenant description",
|
|
2604
|
+
"name": "description",
|
|
2605
|
+
"required": false,
|
|
2606
|
+
"hasDynamicHelp": false,
|
|
2607
|
+
"multiple": false,
|
|
2608
|
+
"type": "option"
|
|
2609
|
+
},
|
|
2610
|
+
"domain": {
|
|
2611
|
+
"description": "Custom domain for the tenant",
|
|
2612
|
+
"name": "domain",
|
|
2613
|
+
"required": false,
|
|
2614
|
+
"hasDynamicHelp": false,
|
|
2615
|
+
"multiple": false,
|
|
2616
|
+
"type": "option"
|
|
2617
|
+
},
|
|
2618
|
+
"ephemeral": {
|
|
2619
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2620
|
+
"name": "ephemeral",
|
|
2621
|
+
"allowNo": false,
|
|
2622
|
+
"type": "boolean"
|
|
2623
|
+
},
|
|
2624
|
+
"ingress": {
|
|
2625
|
+
"description": "Enable ingress",
|
|
2626
|
+
"name": "ingress",
|
|
2627
|
+
"allowNo": true,
|
|
2628
|
+
"type": "boolean"
|
|
2629
|
+
},
|
|
2630
|
+
"license": {
|
|
2631
|
+
"description": "License tier",
|
|
2632
|
+
"name": "license",
|
|
2633
|
+
"required": false,
|
|
2634
|
+
"default": "tier1",
|
|
2635
|
+
"hasDynamicHelp": false,
|
|
2636
|
+
"multiple": false,
|
|
2637
|
+
"options": [
|
|
2638
|
+
"tier1",
|
|
2639
|
+
"tier2",
|
|
2640
|
+
"tier3"
|
|
2641
|
+
],
|
|
2642
|
+
"type": "option"
|
|
2643
|
+
},
|
|
2644
|
+
"output": {
|
|
2645
|
+
"char": "o",
|
|
2646
|
+
"description": "Output format",
|
|
2647
|
+
"name": "output",
|
|
2648
|
+
"required": false,
|
|
2649
|
+
"default": "summary",
|
|
2650
|
+
"hasDynamicHelp": false,
|
|
2651
|
+
"multiple": false,
|
|
2652
|
+
"options": [
|
|
2653
|
+
"summary",
|
|
2654
|
+
"json"
|
|
2655
|
+
],
|
|
2656
|
+
"type": "option"
|
|
2657
|
+
},
|
|
2658
|
+
"platform_id": {
|
|
2659
|
+
"description": "Platform ID to use",
|
|
2660
|
+
"name": "platform_id",
|
|
2661
|
+
"required": false,
|
|
2662
|
+
"hasDynamicHelp": false,
|
|
2663
|
+
"multiple": false,
|
|
2664
|
+
"type": "option"
|
|
2665
|
+
},
|
|
2666
|
+
"tasks": {
|
|
2667
|
+
"description": "Enable background tasks",
|
|
2668
|
+
"name": "tasks",
|
|
2669
|
+
"allowNo": true,
|
|
2670
|
+
"type": "boolean"
|
|
2671
|
+
},
|
|
2672
|
+
"workspace": {
|
|
2673
|
+
"char": "w",
|
|
2674
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2446
2675
|
"name": "workspace",
|
|
2447
2676
|
"required": false,
|
|
2448
2677
|
"hasDynamicHelp": false,
|
|
@@ -2452,7 +2681,7 @@
|
|
|
2452
2681
|
},
|
|
2453
2682
|
"hasDynamicHelp": false,
|
|
2454
2683
|
"hiddenAliases": [],
|
|
2455
|
-
"id": "
|
|
2684
|
+
"id": "tenant:create",
|
|
2456
2685
|
"pluginAlias": "@xano/cli",
|
|
2457
2686
|
"pluginName": "@xano/cli",
|
|
2458
2687
|
"pluginType": "core",
|
|
@@ -2462,25 +2691,24 @@
|
|
|
2462
2691
|
"relativePath": [
|
|
2463
2692
|
"dist",
|
|
2464
2693
|
"commands",
|
|
2465
|
-
"
|
|
2466
|
-
"
|
|
2694
|
+
"tenant",
|
|
2695
|
+
"create",
|
|
2467
2696
|
"index.js"
|
|
2468
2697
|
]
|
|
2469
2698
|
},
|
|
2470
|
-
"tenant:
|
|
2699
|
+
"tenant:deploy_platform": {
|
|
2471
2700
|
"aliases": [],
|
|
2472
2701
|
"args": {
|
|
2473
2702
|
"tenant_name": {
|
|
2474
|
-
"description": "Tenant name to
|
|
2703
|
+
"description": "Tenant name to deploy to",
|
|
2475
2704
|
"name": "tenant_name",
|
|
2476
2705
|
"required": true
|
|
2477
2706
|
}
|
|
2478
2707
|
},
|
|
2479
|
-
"description": "
|
|
2708
|
+
"description": "Deploy a platform version to a tenant",
|
|
2480
2709
|
"examples": [
|
|
2481
|
-
"$ xano tenant
|
|
2482
|
-
"$ xano tenant
|
|
2483
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2710
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2711
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2484
2712
|
],
|
|
2485
2713
|
"flags": {
|
|
2486
2714
|
"profile": {
|
|
@@ -2502,14 +2730,6 @@
|
|
|
2502
2730
|
"allowNo": false,
|
|
2503
2731
|
"type": "boolean"
|
|
2504
2732
|
},
|
|
2505
|
-
"force": {
|
|
2506
|
-
"char": "f",
|
|
2507
|
-
"description": "Skip confirmation prompt",
|
|
2508
|
-
"name": "force",
|
|
2509
|
-
"required": false,
|
|
2510
|
-
"allowNo": false,
|
|
2511
|
-
"type": "boolean"
|
|
2512
|
-
},
|
|
2513
2733
|
"output": {
|
|
2514
2734
|
"char": "o",
|
|
2515
2735
|
"description": "Output format",
|
|
@@ -2524,6 +2744,14 @@
|
|
|
2524
2744
|
],
|
|
2525
2745
|
"type": "option"
|
|
2526
2746
|
},
|
|
2747
|
+
"platform_id": {
|
|
2748
|
+
"description": "Platform ID to deploy",
|
|
2749
|
+
"name": "platform_id",
|
|
2750
|
+
"required": true,
|
|
2751
|
+
"hasDynamicHelp": false,
|
|
2752
|
+
"multiple": false,
|
|
2753
|
+
"type": "option"
|
|
2754
|
+
},
|
|
2527
2755
|
"workspace": {
|
|
2528
2756
|
"char": "w",
|
|
2529
2757
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2536,7 +2764,7 @@
|
|
|
2536
2764
|
},
|
|
2537
2765
|
"hasDynamicHelp": false,
|
|
2538
2766
|
"hiddenAliases": [],
|
|
2539
|
-
"id": "tenant:
|
|
2767
|
+
"id": "tenant:deploy_platform",
|
|
2540
2768
|
"pluginAlias": "@xano/cli",
|
|
2541
2769
|
"pluginName": "@xano/cli",
|
|
2542
2770
|
"pluginType": "core",
|
|
@@ -2547,23 +2775,24 @@
|
|
|
2547
2775
|
"dist",
|
|
2548
2776
|
"commands",
|
|
2549
2777
|
"tenant",
|
|
2550
|
-
"
|
|
2778
|
+
"deploy_platform",
|
|
2551
2779
|
"index.js"
|
|
2552
2780
|
]
|
|
2553
2781
|
},
|
|
2554
|
-
"tenant:
|
|
2782
|
+
"tenant:delete": {
|
|
2555
2783
|
"aliases": [],
|
|
2556
2784
|
"args": {
|
|
2557
2785
|
"tenant_name": {
|
|
2558
|
-
"description": "Tenant name to
|
|
2786
|
+
"description": "Tenant name to delete",
|
|
2559
2787
|
"name": "tenant_name",
|
|
2560
2788
|
"required": true
|
|
2561
2789
|
}
|
|
2562
2790
|
},
|
|
2563
|
-
"description": "
|
|
2791
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2564
2792
|
"examples": [
|
|
2565
|
-
"$ xano tenant
|
|
2566
|
-
"$ xano tenant
|
|
2793
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2794
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2795
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2567
2796
|
],
|
|
2568
2797
|
"flags": {
|
|
2569
2798
|
"profile": {
|
|
@@ -2585,6 +2814,14 @@
|
|
|
2585
2814
|
"allowNo": false,
|
|
2586
2815
|
"type": "boolean"
|
|
2587
2816
|
},
|
|
2817
|
+
"force": {
|
|
2818
|
+
"char": "f",
|
|
2819
|
+
"description": "Skip confirmation prompt",
|
|
2820
|
+
"name": "force",
|
|
2821
|
+
"required": false,
|
|
2822
|
+
"allowNo": false,
|
|
2823
|
+
"type": "boolean"
|
|
2824
|
+
},
|
|
2588
2825
|
"output": {
|
|
2589
2826
|
"char": "o",
|
|
2590
2827
|
"description": "Output format",
|
|
@@ -2599,14 +2836,6 @@
|
|
|
2599
2836
|
],
|
|
2600
2837
|
"type": "option"
|
|
2601
2838
|
},
|
|
2602
|
-
"platform_id": {
|
|
2603
|
-
"description": "Platform ID to deploy",
|
|
2604
|
-
"name": "platform_id",
|
|
2605
|
-
"required": true,
|
|
2606
|
-
"hasDynamicHelp": false,
|
|
2607
|
-
"multiple": false,
|
|
2608
|
-
"type": "option"
|
|
2609
|
-
},
|
|
2610
2839
|
"workspace": {
|
|
2611
2840
|
"char": "w",
|
|
2612
2841
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2619,7 +2848,7 @@
|
|
|
2619
2848
|
},
|
|
2620
2849
|
"hasDynamicHelp": false,
|
|
2621
2850
|
"hiddenAliases": [],
|
|
2622
|
-
"id": "tenant:
|
|
2851
|
+
"id": "tenant:delete",
|
|
2623
2852
|
"pluginAlias": "@xano/cli",
|
|
2624
2853
|
"pluginName": "@xano/cli",
|
|
2625
2854
|
"pluginType": "core",
|
|
@@ -2630,23 +2859,23 @@
|
|
|
2630
2859
|
"dist",
|
|
2631
2860
|
"commands",
|
|
2632
2861
|
"tenant",
|
|
2633
|
-
"
|
|
2862
|
+
"delete",
|
|
2634
2863
|
"index.js"
|
|
2635
2864
|
]
|
|
2636
2865
|
},
|
|
2637
|
-
"tenant:
|
|
2866
|
+
"tenant:deploy_release": {
|
|
2638
2867
|
"aliases": [],
|
|
2639
2868
|
"args": {
|
|
2640
|
-
"
|
|
2641
|
-
"description": "
|
|
2642
|
-
"name": "
|
|
2869
|
+
"tenant_name": {
|
|
2870
|
+
"description": "Tenant name to deploy to",
|
|
2871
|
+
"name": "tenant_name",
|
|
2643
2872
|
"required": true
|
|
2644
2873
|
}
|
|
2645
2874
|
},
|
|
2646
|
-
"description": "
|
|
2875
|
+
"description": "Deploy a release to a tenant",
|
|
2647
2876
|
"examples": [
|
|
2648
|
-
"$ xano tenant
|
|
2649
|
-
"$ xano tenant
|
|
2877
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2878
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2650
2879
|
],
|
|
2651
2880
|
"flags": {
|
|
2652
2881
|
"profile": {
|
|
@@ -2668,57 +2897,6 @@
|
|
|
2668
2897
|
"allowNo": false,
|
|
2669
2898
|
"type": "boolean"
|
|
2670
2899
|
},
|
|
2671
|
-
"cluster_id": {
|
|
2672
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2673
|
-
"name": "cluster_id",
|
|
2674
|
-
"required": false,
|
|
2675
|
-
"hasDynamicHelp": false,
|
|
2676
|
-
"multiple": false,
|
|
2677
|
-
"type": "option"
|
|
2678
|
-
},
|
|
2679
|
-
"description": {
|
|
2680
|
-
"char": "d",
|
|
2681
|
-
"description": "Tenant description",
|
|
2682
|
-
"name": "description",
|
|
2683
|
-
"required": false,
|
|
2684
|
-
"hasDynamicHelp": false,
|
|
2685
|
-
"multiple": false,
|
|
2686
|
-
"type": "option"
|
|
2687
|
-
},
|
|
2688
|
-
"domain": {
|
|
2689
|
-
"description": "Custom domain for the tenant",
|
|
2690
|
-
"name": "domain",
|
|
2691
|
-
"required": false,
|
|
2692
|
-
"hasDynamicHelp": false,
|
|
2693
|
-
"multiple": false,
|
|
2694
|
-
"type": "option"
|
|
2695
|
-
},
|
|
2696
|
-
"ephemeral": {
|
|
2697
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2698
|
-
"name": "ephemeral",
|
|
2699
|
-
"allowNo": false,
|
|
2700
|
-
"type": "boolean"
|
|
2701
|
-
},
|
|
2702
|
-
"ingress": {
|
|
2703
|
-
"description": "Enable ingress",
|
|
2704
|
-
"name": "ingress",
|
|
2705
|
-
"allowNo": true,
|
|
2706
|
-
"type": "boolean"
|
|
2707
|
-
},
|
|
2708
|
-
"license": {
|
|
2709
|
-
"description": "License tier",
|
|
2710
|
-
"name": "license",
|
|
2711
|
-
"required": false,
|
|
2712
|
-
"default": "tier1",
|
|
2713
|
-
"hasDynamicHelp": false,
|
|
2714
|
-
"multiple": false,
|
|
2715
|
-
"options": [
|
|
2716
|
-
"tier1",
|
|
2717
|
-
"tier2",
|
|
2718
|
-
"tier3"
|
|
2719
|
-
],
|
|
2720
|
-
"type": "option"
|
|
2721
|
-
},
|
|
2722
2900
|
"output": {
|
|
2723
2901
|
"char": "o",
|
|
2724
2902
|
"description": "Output format",
|
|
@@ -2733,20 +2911,15 @@
|
|
|
2733
2911
|
],
|
|
2734
2912
|
"type": "option"
|
|
2735
2913
|
},
|
|
2736
|
-
"
|
|
2737
|
-
"
|
|
2738
|
-
"
|
|
2739
|
-
"
|
|
2914
|
+
"release": {
|
|
2915
|
+
"char": "r",
|
|
2916
|
+
"description": "Release name to deploy",
|
|
2917
|
+
"name": "release",
|
|
2918
|
+
"required": true,
|
|
2740
2919
|
"hasDynamicHelp": false,
|
|
2741
2920
|
"multiple": false,
|
|
2742
2921
|
"type": "option"
|
|
2743
2922
|
},
|
|
2744
|
-
"tasks": {
|
|
2745
|
-
"description": "Enable background tasks",
|
|
2746
|
-
"name": "tasks",
|
|
2747
|
-
"allowNo": true,
|
|
2748
|
-
"type": "boolean"
|
|
2749
|
-
},
|
|
2750
2923
|
"workspace": {
|
|
2751
2924
|
"char": "w",
|
|
2752
2925
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2759,7 +2932,7 @@
|
|
|
2759
2932
|
},
|
|
2760
2933
|
"hasDynamicHelp": false,
|
|
2761
2934
|
"hiddenAliases": [],
|
|
2762
|
-
"id": "tenant:
|
|
2935
|
+
"id": "tenant:deploy_release",
|
|
2763
2936
|
"pluginAlias": "@xano/cli",
|
|
2764
2937
|
"pluginName": "@xano/cli",
|
|
2765
2938
|
"pluginType": "core",
|
|
@@ -2770,7 +2943,7 @@
|
|
|
2770
2943
|
"dist",
|
|
2771
2944
|
"commands",
|
|
2772
2945
|
"tenant",
|
|
2773
|
-
"
|
|
2946
|
+
"deploy_release",
|
|
2774
2947
|
"index.js"
|
|
2775
2948
|
]
|
|
2776
2949
|
},
|
|
@@ -2937,103 +3110,19 @@
|
|
|
2937
3110
|
"multiple": false,
|
|
2938
3111
|
"type": "option"
|
|
2939
3112
|
},
|
|
2940
|
-
"rbac": {
|
|
2941
|
-
"description": "Enable/disable RBAC",
|
|
2942
|
-
"name": "rbac",
|
|
2943
|
-
"required": false,
|
|
2944
|
-
"allowNo": true,
|
|
2945
|
-
"type": "boolean"
|
|
2946
|
-
},
|
|
2947
|
-
"tasks": {
|
|
2948
|
-
"description": "Enable/disable background tasks",
|
|
2949
|
-
"name": "tasks",
|
|
2950
|
-
"required": false,
|
|
2951
|
-
"allowNo": true,
|
|
2952
|
-
"type": "boolean"
|
|
2953
|
-
},
|
|
2954
|
-
"workspace": {
|
|
2955
|
-
"char": "w",
|
|
2956
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2957
|
-
"name": "workspace",
|
|
2958
|
-
"required": false,
|
|
2959
|
-
"hasDynamicHelp": false,
|
|
2960
|
-
"multiple": false,
|
|
2961
|
-
"type": "option"
|
|
2962
|
-
}
|
|
2963
|
-
},
|
|
2964
|
-
"hasDynamicHelp": false,
|
|
2965
|
-
"hiddenAliases": [],
|
|
2966
|
-
"id": "tenant:edit",
|
|
2967
|
-
"pluginAlias": "@xano/cli",
|
|
2968
|
-
"pluginName": "@xano/cli",
|
|
2969
|
-
"pluginType": "core",
|
|
2970
|
-
"strict": true,
|
|
2971
|
-
"enableJsonFlag": false,
|
|
2972
|
-
"isESM": true,
|
|
2973
|
-
"relativePath": [
|
|
2974
|
-
"dist",
|
|
2975
|
-
"commands",
|
|
2976
|
-
"tenant",
|
|
2977
|
-
"edit",
|
|
2978
|
-
"index.js"
|
|
2979
|
-
]
|
|
2980
|
-
},
|
|
2981
|
-
"tenant:deploy_release": {
|
|
2982
|
-
"aliases": [],
|
|
2983
|
-
"args": {
|
|
2984
|
-
"tenant_name": {
|
|
2985
|
-
"description": "Tenant name to deploy to",
|
|
2986
|
-
"name": "tenant_name",
|
|
2987
|
-
"required": true
|
|
2988
|
-
}
|
|
2989
|
-
},
|
|
2990
|
-
"description": "Deploy a release to a tenant",
|
|
2991
|
-
"examples": [
|
|
2992
|
-
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2993
|
-
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2994
|
-
],
|
|
2995
|
-
"flags": {
|
|
2996
|
-
"profile": {
|
|
2997
|
-
"char": "p",
|
|
2998
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2999
|
-
"env": "XANO_PROFILE",
|
|
3000
|
-
"name": "profile",
|
|
3001
|
-
"required": false,
|
|
3002
|
-
"hasDynamicHelp": false,
|
|
3003
|
-
"multiple": false,
|
|
3004
|
-
"type": "option"
|
|
3005
|
-
},
|
|
3006
|
-
"verbose": {
|
|
3007
|
-
"char": "v",
|
|
3008
|
-
"description": "Show detailed request/response information",
|
|
3009
|
-
"env": "XANO_VERBOSE",
|
|
3010
|
-
"name": "verbose",
|
|
3011
|
-
"required": false,
|
|
3012
|
-
"allowNo": false,
|
|
3013
|
-
"type": "boolean"
|
|
3014
|
-
},
|
|
3015
|
-
"output": {
|
|
3016
|
-
"char": "o",
|
|
3017
|
-
"description": "Output format",
|
|
3018
|
-
"name": "output",
|
|
3019
|
-
"required": false,
|
|
3020
|
-
"default": "summary",
|
|
3021
|
-
"hasDynamicHelp": false,
|
|
3022
|
-
"multiple": false,
|
|
3023
|
-
"options": [
|
|
3024
|
-
"summary",
|
|
3025
|
-
"json"
|
|
3026
|
-
],
|
|
3027
|
-
"type": "option"
|
|
3028
|
-
},
|
|
3029
|
-
"release": {
|
|
3030
|
-
"char": "r",
|
|
3031
|
-
"description": "Release name to deploy",
|
|
3032
|
-
"name": "release",
|
|
3033
|
-
"required": true,
|
|
3034
|
-
"hasDynamicHelp": false,
|
|
3035
|
-
"multiple": false,
|
|
3036
|
-
"type": "option"
|
|
3113
|
+
"rbac": {
|
|
3114
|
+
"description": "Enable/disable RBAC",
|
|
3115
|
+
"name": "rbac",
|
|
3116
|
+
"required": false,
|
|
3117
|
+
"allowNo": true,
|
|
3118
|
+
"type": "boolean"
|
|
3119
|
+
},
|
|
3120
|
+
"tasks": {
|
|
3121
|
+
"description": "Enable/disable background tasks",
|
|
3122
|
+
"name": "tasks",
|
|
3123
|
+
"required": false,
|
|
3124
|
+
"allowNo": true,
|
|
3125
|
+
"type": "boolean"
|
|
3037
3126
|
},
|
|
3038
3127
|
"workspace": {
|
|
3039
3128
|
"char": "w",
|
|
@@ -3047,7 +3136,7 @@
|
|
|
3047
3136
|
},
|
|
3048
3137
|
"hasDynamicHelp": false,
|
|
3049
3138
|
"hiddenAliases": [],
|
|
3050
|
-
"id": "tenant:
|
|
3139
|
+
"id": "tenant:edit",
|
|
3051
3140
|
"pluginAlias": "@xano/cli",
|
|
3052
3141
|
"pluginName": "@xano/cli",
|
|
3053
3142
|
"pluginType": "core",
|
|
@@ -3058,7 +3147,7 @@
|
|
|
3058
3147
|
"dist",
|
|
3059
3148
|
"commands",
|
|
3060
3149
|
"tenant",
|
|
3061
|
-
"
|
|
3150
|
+
"edit",
|
|
3062
3151
|
"index.js"
|
|
3063
3152
|
]
|
|
3064
3153
|
},
|
|
@@ -3402,15 +3491,14 @@
|
|
|
3402
3491
|
"index.js"
|
|
3403
3492
|
]
|
|
3404
3493
|
},
|
|
3405
|
-
"
|
|
3494
|
+
"unit_test:list": {
|
|
3406
3495
|
"aliases": [],
|
|
3407
3496
|
"args": {},
|
|
3408
|
-
"description": "List all
|
|
3497
|
+
"description": "List all unit tests in a workspace",
|
|
3409
3498
|
"examples": [
|
|
3410
|
-
"$ xano
|
|
3411
|
-
"$ xano
|
|
3412
|
-
"$ xano
|
|
3413
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
3499
|
+
"$ 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",
|
|
3500
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3501
|
+
"$ xano unit-test list --obj-type function"
|
|
3414
3502
|
],
|
|
3415
3503
|
"flags": {
|
|
3416
3504
|
"profile": {
|
|
@@ -3432,41 +3520,45 @@
|
|
|
3432
3520
|
"allowNo": false,
|
|
3433
3521
|
"type": "boolean"
|
|
3434
3522
|
},
|
|
3435
|
-
"
|
|
3436
|
-
"char": "
|
|
3437
|
-
"description": "
|
|
3438
|
-
"name": "
|
|
3523
|
+
"branch": {
|
|
3524
|
+
"char": "b",
|
|
3525
|
+
"description": "Filter by branch name",
|
|
3526
|
+
"name": "branch",
|
|
3439
3527
|
"required": false,
|
|
3440
|
-
"default": "summary",
|
|
3441
3528
|
"hasDynamicHelp": false,
|
|
3442
3529
|
"multiple": false,
|
|
3443
|
-
"options": [
|
|
3444
|
-
"summary",
|
|
3445
|
-
"json"
|
|
3446
|
-
],
|
|
3447
3530
|
"type": "option"
|
|
3448
3531
|
},
|
|
3449
|
-
"
|
|
3450
|
-
"description": "
|
|
3451
|
-
"name": "
|
|
3532
|
+
"obj-type": {
|
|
3533
|
+
"description": "Filter by object type",
|
|
3534
|
+
"name": "obj-type",
|
|
3452
3535
|
"required": false,
|
|
3453
|
-
"default": 1,
|
|
3454
3536
|
"hasDynamicHelp": false,
|
|
3455
3537
|
"multiple": false,
|
|
3538
|
+
"options": [
|
|
3539
|
+
"function",
|
|
3540
|
+
"query",
|
|
3541
|
+
"middleware"
|
|
3542
|
+
],
|
|
3456
3543
|
"type": "option"
|
|
3457
3544
|
},
|
|
3458
|
-
"
|
|
3459
|
-
"
|
|
3460
|
-
"
|
|
3545
|
+
"output": {
|
|
3546
|
+
"char": "o",
|
|
3547
|
+
"description": "Output format",
|
|
3548
|
+
"name": "output",
|
|
3461
3549
|
"required": false,
|
|
3462
|
-
"default":
|
|
3550
|
+
"default": "summary",
|
|
3463
3551
|
"hasDynamicHelp": false,
|
|
3464
3552
|
"multiple": false,
|
|
3553
|
+
"options": [
|
|
3554
|
+
"summary",
|
|
3555
|
+
"json"
|
|
3556
|
+
],
|
|
3465
3557
|
"type": "option"
|
|
3466
3558
|
},
|
|
3467
3559
|
"workspace": {
|
|
3468
3560
|
"char": "w",
|
|
3469
|
-
"description": "Workspace ID (
|
|
3561
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3470
3562
|
"name": "workspace",
|
|
3471
3563
|
"required": false,
|
|
3472
3564
|
"hasDynamicHelp": false,
|
|
@@ -3476,7 +3568,7 @@
|
|
|
3476
3568
|
},
|
|
3477
3569
|
"hasDynamicHelp": false,
|
|
3478
3570
|
"hiddenAliases": [],
|
|
3479
|
-
"id": "
|
|
3571
|
+
"id": "unit_test:list",
|
|
3480
3572
|
"pluginAlias": "@xano/cli",
|
|
3481
3573
|
"pluginName": "@xano/cli",
|
|
3482
3574
|
"pluginType": "core",
|
|
@@ -3486,18 +3578,24 @@
|
|
|
3486
3578
|
"relativePath": [
|
|
3487
3579
|
"dist",
|
|
3488
3580
|
"commands",
|
|
3489
|
-
"
|
|
3581
|
+
"unit_test",
|
|
3490
3582
|
"list",
|
|
3491
3583
|
"index.js"
|
|
3492
3584
|
]
|
|
3493
3585
|
},
|
|
3494
|
-
"unit_test:
|
|
3586
|
+
"unit_test:run": {
|
|
3495
3587
|
"aliases": [],
|
|
3496
|
-
"args": {
|
|
3497
|
-
|
|
3588
|
+
"args": {
|
|
3589
|
+
"unit_test_id": {
|
|
3590
|
+
"description": "ID of the unit test to run",
|
|
3591
|
+
"name": "unit_test_id",
|
|
3592
|
+
"required": true
|
|
3593
|
+
}
|
|
3594
|
+
},
|
|
3595
|
+
"description": "Run a unit test",
|
|
3498
3596
|
"examples": [
|
|
3499
|
-
"$ xano unit-test run-
|
|
3500
|
-
"$ xano unit-test run
|
|
3597
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3598
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3501
3599
|
],
|
|
3502
3600
|
"flags": {
|
|
3503
3601
|
"profile": {
|
|
@@ -3519,28 +3617,6 @@
|
|
|
3519
3617
|
"allowNo": false,
|
|
3520
3618
|
"type": "boolean"
|
|
3521
3619
|
},
|
|
3522
|
-
"branch": {
|
|
3523
|
-
"char": "b",
|
|
3524
|
-
"description": "Filter by branch name",
|
|
3525
|
-
"name": "branch",
|
|
3526
|
-
"required": false,
|
|
3527
|
-
"hasDynamicHelp": false,
|
|
3528
|
-
"multiple": false,
|
|
3529
|
-
"type": "option"
|
|
3530
|
-
},
|
|
3531
|
-
"obj-type": {
|
|
3532
|
-
"description": "Filter by object type",
|
|
3533
|
-
"name": "obj-type",
|
|
3534
|
-
"required": false,
|
|
3535
|
-
"hasDynamicHelp": false,
|
|
3536
|
-
"multiple": false,
|
|
3537
|
-
"options": [
|
|
3538
|
-
"function",
|
|
3539
|
-
"query",
|
|
3540
|
-
"middleware"
|
|
3541
|
-
],
|
|
3542
|
-
"type": "option"
|
|
3543
|
-
},
|
|
3544
3620
|
"output": {
|
|
3545
3621
|
"char": "o",
|
|
3546
3622
|
"description": "Output format",
|
|
@@ -3567,7 +3643,7 @@
|
|
|
3567
3643
|
},
|
|
3568
3644
|
"hasDynamicHelp": false,
|
|
3569
3645
|
"hiddenAliases": [],
|
|
3570
|
-
"id": "unit_test:
|
|
3646
|
+
"id": "unit_test:run",
|
|
3571
3647
|
"pluginAlias": "@xano/cli",
|
|
3572
3648
|
"pluginName": "@xano/cli",
|
|
3573
3649
|
"pluginType": "core",
|
|
@@ -3578,7 +3654,7 @@
|
|
|
3578
3654
|
"dist",
|
|
3579
3655
|
"commands",
|
|
3580
3656
|
"unit_test",
|
|
3581
|
-
"
|
|
3657
|
+
"run",
|
|
3582
3658
|
"index.js"
|
|
3583
3659
|
]
|
|
3584
3660
|
},
|
|
@@ -3658,89 +3734,13 @@
|
|
|
3658
3734
|
"index.js"
|
|
3659
3735
|
]
|
|
3660
3736
|
},
|
|
3661
|
-
"unit_test:
|
|
3662
|
-
"aliases": [],
|
|
3663
|
-
"args": {
|
|
3664
|
-
"unit_test_id": {
|
|
3665
|
-
"description": "ID of the unit test to run",
|
|
3666
|
-
"name": "unit_test_id",
|
|
3667
|
-
"required": true
|
|
3668
|
-
}
|
|
3669
|
-
},
|
|
3670
|
-
"description": "Run a unit test",
|
|
3671
|
-
"examples": [
|
|
3672
|
-
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3673
|
-
"$ xano unit-test run abc-123 -o json"
|
|
3674
|
-
],
|
|
3675
|
-
"flags": {
|
|
3676
|
-
"profile": {
|
|
3677
|
-
"char": "p",
|
|
3678
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3679
|
-
"env": "XANO_PROFILE",
|
|
3680
|
-
"name": "profile",
|
|
3681
|
-
"required": false,
|
|
3682
|
-
"hasDynamicHelp": false,
|
|
3683
|
-
"multiple": false,
|
|
3684
|
-
"type": "option"
|
|
3685
|
-
},
|
|
3686
|
-
"verbose": {
|
|
3687
|
-
"char": "v",
|
|
3688
|
-
"description": "Show detailed request/response information",
|
|
3689
|
-
"env": "XANO_VERBOSE",
|
|
3690
|
-
"name": "verbose",
|
|
3691
|
-
"required": false,
|
|
3692
|
-
"allowNo": false,
|
|
3693
|
-
"type": "boolean"
|
|
3694
|
-
},
|
|
3695
|
-
"output": {
|
|
3696
|
-
"char": "o",
|
|
3697
|
-
"description": "Output format",
|
|
3698
|
-
"name": "output",
|
|
3699
|
-
"required": false,
|
|
3700
|
-
"default": "summary",
|
|
3701
|
-
"hasDynamicHelp": false,
|
|
3702
|
-
"multiple": false,
|
|
3703
|
-
"options": [
|
|
3704
|
-
"summary",
|
|
3705
|
-
"json"
|
|
3706
|
-
],
|
|
3707
|
-
"type": "option"
|
|
3708
|
-
},
|
|
3709
|
-
"workspace": {
|
|
3710
|
-
"char": "w",
|
|
3711
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3712
|
-
"name": "workspace",
|
|
3713
|
-
"required": false,
|
|
3714
|
-
"hasDynamicHelp": false,
|
|
3715
|
-
"multiple": false,
|
|
3716
|
-
"type": "option"
|
|
3717
|
-
}
|
|
3718
|
-
},
|
|
3719
|
-
"hasDynamicHelp": false,
|
|
3720
|
-
"hiddenAliases": [],
|
|
3721
|
-
"id": "unit_test:run",
|
|
3722
|
-
"pluginAlias": "@xano/cli",
|
|
3723
|
-
"pluginName": "@xano/cli",
|
|
3724
|
-
"pluginType": "core",
|
|
3725
|
-
"strict": true,
|
|
3726
|
-
"enableJsonFlag": false,
|
|
3727
|
-
"isESM": true,
|
|
3728
|
-
"relativePath": [
|
|
3729
|
-
"dist",
|
|
3730
|
-
"commands",
|
|
3731
|
-
"unit_test",
|
|
3732
|
-
"run",
|
|
3733
|
-
"index.js"
|
|
3734
|
-
]
|
|
3735
|
-
},
|
|
3736
|
-
"unit_test:list": {
|
|
3737
|
+
"unit_test:run_all": {
|
|
3737
3738
|
"aliases": [],
|
|
3738
3739
|
"args": {},
|
|
3739
|
-
"description": "
|
|
3740
|
+
"description": "Run all unit tests in a workspace",
|
|
3740
3741
|
"examples": [
|
|
3741
|
-
"$ xano unit-test
|
|
3742
|
-
"$ xano unit-test
|
|
3743
|
-
"$ xano unit-test list --obj-type function"
|
|
3742
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
3743
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3744
3744
|
],
|
|
3745
3745
|
"flags": {
|
|
3746
3746
|
"profile": {
|
|
@@ -3810,7 +3810,7 @@
|
|
|
3810
3810
|
},
|
|
3811
3811
|
"hasDynamicHelp": false,
|
|
3812
3812
|
"hiddenAliases": [],
|
|
3813
|
-
"id": "unit_test:
|
|
3813
|
+
"id": "unit_test:run_all",
|
|
3814
3814
|
"pluginAlias": "@xano/cli",
|
|
3815
3815
|
"pluginName": "@xano/cli",
|
|
3816
3816
|
"pluginType": "core",
|
|
@@ -3821,7 +3821,7 @@
|
|
|
3821
3821
|
"dist",
|
|
3822
3822
|
"commands",
|
|
3823
3823
|
"unit_test",
|
|
3824
|
-
"
|
|
3824
|
+
"run_all",
|
|
3825
3825
|
"index.js"
|
|
3826
3826
|
]
|
|
3827
3827
|
},
|
|
@@ -4219,7 +4219,69 @@
|
|
|
4219
4219
|
},
|
|
4220
4220
|
"hasDynamicHelp": false,
|
|
4221
4221
|
"hiddenAliases": [],
|
|
4222
|
-
"id": "workflow_test:get",
|
|
4222
|
+
"id": "workflow_test:get",
|
|
4223
|
+
"pluginAlias": "@xano/cli",
|
|
4224
|
+
"pluginName": "@xano/cli",
|
|
4225
|
+
"pluginType": "core",
|
|
4226
|
+
"strict": true,
|
|
4227
|
+
"enableJsonFlag": false,
|
|
4228
|
+
"isESM": true,
|
|
4229
|
+
"relativePath": [
|
|
4230
|
+
"dist",
|
|
4231
|
+
"commands",
|
|
4232
|
+
"workflow_test",
|
|
4233
|
+
"get",
|
|
4234
|
+
"index.js"
|
|
4235
|
+
]
|
|
4236
|
+
},
|
|
4237
|
+
"workspace:list": {
|
|
4238
|
+
"aliases": [],
|
|
4239
|
+
"args": {},
|
|
4240
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4241
|
+
"examples": [
|
|
4242
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4243
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4244
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4245
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4246
|
+
],
|
|
4247
|
+
"flags": {
|
|
4248
|
+
"profile": {
|
|
4249
|
+
"char": "p",
|
|
4250
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4251
|
+
"env": "XANO_PROFILE",
|
|
4252
|
+
"name": "profile",
|
|
4253
|
+
"required": false,
|
|
4254
|
+
"hasDynamicHelp": false,
|
|
4255
|
+
"multiple": false,
|
|
4256
|
+
"type": "option"
|
|
4257
|
+
},
|
|
4258
|
+
"verbose": {
|
|
4259
|
+
"char": "v",
|
|
4260
|
+
"description": "Show detailed request/response information",
|
|
4261
|
+
"env": "XANO_VERBOSE",
|
|
4262
|
+
"name": "verbose",
|
|
4263
|
+
"required": false,
|
|
4264
|
+
"allowNo": false,
|
|
4265
|
+
"type": "boolean"
|
|
4266
|
+
},
|
|
4267
|
+
"output": {
|
|
4268
|
+
"char": "o",
|
|
4269
|
+
"description": "Output format",
|
|
4270
|
+
"name": "output",
|
|
4271
|
+
"required": false,
|
|
4272
|
+
"default": "summary",
|
|
4273
|
+
"hasDynamicHelp": false,
|
|
4274
|
+
"multiple": false,
|
|
4275
|
+
"options": [
|
|
4276
|
+
"summary",
|
|
4277
|
+
"json"
|
|
4278
|
+
],
|
|
4279
|
+
"type": "option"
|
|
4280
|
+
}
|
|
4281
|
+
},
|
|
4282
|
+
"hasDynamicHelp": false,
|
|
4283
|
+
"hiddenAliases": [],
|
|
4284
|
+
"id": "workspace:list",
|
|
4223
4285
|
"pluginAlias": "@xano/cli",
|
|
4224
4286
|
"pluginName": "@xano/cli",
|
|
4225
4287
|
"pluginType": "core",
|
|
@@ -4229,19 +4291,33 @@
|
|
|
4229
4291
|
"relativePath": [
|
|
4230
4292
|
"dist",
|
|
4231
4293
|
"commands",
|
|
4232
|
-
"
|
|
4233
|
-
"
|
|
4294
|
+
"workspace",
|
|
4295
|
+
"list",
|
|
4234
4296
|
"index.js"
|
|
4235
4297
|
]
|
|
4236
4298
|
},
|
|
4237
|
-
"
|
|
4299
|
+
"workspace:push": {
|
|
4238
4300
|
"aliases": [],
|
|
4239
|
-
"args": {
|
|
4240
|
-
|
|
4301
|
+
"args": {
|
|
4302
|
+
"directory": {
|
|
4303
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4304
|
+
"name": "directory",
|
|
4305
|
+
"required": true
|
|
4306
|
+
}
|
|
4307
|
+
},
|
|
4308
|
+
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4241
4309
|
"examples": [
|
|
4242
|
-
"$ xano
|
|
4243
|
-
"$ xano
|
|
4244
|
-
"$ xano
|
|
4310
|
+
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
4311
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4312
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4313
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4314
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4315
|
+
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4316
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4317
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4318
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4319
|
+
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4320
|
+
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4245
4321
|
],
|
|
4246
4322
|
"flags": {
|
|
4247
4323
|
"profile": {
|
|
@@ -4265,30 +4341,58 @@
|
|
|
4265
4341
|
},
|
|
4266
4342
|
"branch": {
|
|
4267
4343
|
"char": "b",
|
|
4268
|
-
"description": "
|
|
4344
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4269
4345
|
"name": "branch",
|
|
4270
4346
|
"required": false,
|
|
4271
4347
|
"hasDynamicHelp": false,
|
|
4272
4348
|
"multiple": false,
|
|
4273
4349
|
"type": "option"
|
|
4274
4350
|
},
|
|
4275
|
-
"
|
|
4276
|
-
"
|
|
4277
|
-
"
|
|
4278
|
-
"name": "output",
|
|
4351
|
+
"delete": {
|
|
4352
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4353
|
+
"name": "delete",
|
|
4279
4354
|
"required": false,
|
|
4280
|
-
"
|
|
4281
|
-
"
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
"
|
|
4355
|
+
"allowNo": true,
|
|
4356
|
+
"type": "boolean"
|
|
4357
|
+
},
|
|
4358
|
+
"env": {
|
|
4359
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4360
|
+
"name": "env",
|
|
4361
|
+
"required": false,
|
|
4362
|
+
"allowNo": true,
|
|
4363
|
+
"type": "boolean"
|
|
4364
|
+
},
|
|
4365
|
+
"partial": {
|
|
4366
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4367
|
+
"name": "partial",
|
|
4368
|
+
"required": false,
|
|
4369
|
+
"allowNo": false,
|
|
4370
|
+
"type": "boolean"
|
|
4371
|
+
},
|
|
4372
|
+
"records": {
|
|
4373
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4374
|
+
"name": "records",
|
|
4375
|
+
"required": false,
|
|
4376
|
+
"allowNo": true,
|
|
4377
|
+
"type": "boolean"
|
|
4378
|
+
},
|
|
4379
|
+
"sync-guids": {
|
|
4380
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4381
|
+
"name": "sync-guids",
|
|
4382
|
+
"required": false,
|
|
4383
|
+
"allowNo": true,
|
|
4384
|
+
"type": "boolean"
|
|
4385
|
+
},
|
|
4386
|
+
"truncate": {
|
|
4387
|
+
"description": "Truncate all table records before importing",
|
|
4388
|
+
"name": "truncate",
|
|
4389
|
+
"required": false,
|
|
4390
|
+
"allowNo": false,
|
|
4391
|
+
"type": "boolean"
|
|
4288
4392
|
},
|
|
4289
4393
|
"workspace": {
|
|
4290
4394
|
"char": "w",
|
|
4291
|
-
"description": "Workspace ID (
|
|
4395
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4292
4396
|
"name": "workspace",
|
|
4293
4397
|
"required": false,
|
|
4294
4398
|
"hasDynamicHelp": false,
|
|
@@ -4298,7 +4402,7 @@
|
|
|
4298
4402
|
},
|
|
4299
4403
|
"hasDynamicHelp": false,
|
|
4300
4404
|
"hiddenAliases": [],
|
|
4301
|
-
"id": "
|
|
4405
|
+
"id": "workspace:push",
|
|
4302
4406
|
"pluginAlias": "@xano/cli",
|
|
4303
4407
|
"pluginName": "@xano/cli",
|
|
4304
4408
|
"pluginType": "core",
|
|
@@ -4308,8 +4412,8 @@
|
|
|
4308
4412
|
"relativePath": [
|
|
4309
4413
|
"dist",
|
|
4310
4414
|
"commands",
|
|
4311
|
-
"
|
|
4312
|
-
"
|
|
4415
|
+
"workspace",
|
|
4416
|
+
"push",
|
|
4313
4417
|
"index.js"
|
|
4314
4418
|
]
|
|
4315
4419
|
},
|
|
@@ -4407,15 +4511,19 @@
|
|
|
4407
4511
|
"index.js"
|
|
4408
4512
|
]
|
|
4409
4513
|
},
|
|
4410
|
-
"
|
|
4514
|
+
"workflow_test:run": {
|
|
4411
4515
|
"aliases": [],
|
|
4412
|
-
"args": {
|
|
4413
|
-
|
|
4516
|
+
"args": {
|
|
4517
|
+
"workflow_test_id": {
|
|
4518
|
+
"description": "ID of the workflow test to run",
|
|
4519
|
+
"name": "workflow_test_id",
|
|
4520
|
+
"required": true
|
|
4521
|
+
}
|
|
4522
|
+
},
|
|
4523
|
+
"description": "Run a workflow test",
|
|
4414
4524
|
"examples": [
|
|
4415
|
-
"$ xano
|
|
4416
|
-
"$ xano
|
|
4417
|
-
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4418
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4525
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4526
|
+
"$ xano workflow-test run 1 -o json"
|
|
4419
4527
|
],
|
|
4420
4528
|
"flags": {
|
|
4421
4529
|
"profile": {
|
|
@@ -4450,11 +4558,20 @@
|
|
|
4450
4558
|
"json"
|
|
4451
4559
|
],
|
|
4452
4560
|
"type": "option"
|
|
4561
|
+
},
|
|
4562
|
+
"workspace": {
|
|
4563
|
+
"char": "w",
|
|
4564
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4565
|
+
"name": "workspace",
|
|
4566
|
+
"required": false,
|
|
4567
|
+
"hasDynamicHelp": false,
|
|
4568
|
+
"multiple": false,
|
|
4569
|
+
"type": "option"
|
|
4453
4570
|
}
|
|
4454
4571
|
},
|
|
4455
4572
|
"hasDynamicHelp": false,
|
|
4456
4573
|
"hiddenAliases": [],
|
|
4457
|
-
"id": "
|
|
4574
|
+
"id": "workflow_test:run",
|
|
4458
4575
|
"pluginAlias": "@xano/cli",
|
|
4459
4576
|
"pluginName": "@xano/cli",
|
|
4460
4577
|
"pluginType": "core",
|
|
@@ -4464,33 +4581,18 @@
|
|
|
4464
4581
|
"relativePath": [
|
|
4465
4582
|
"dist",
|
|
4466
4583
|
"commands",
|
|
4467
|
-
"
|
|
4468
|
-
"
|
|
4584
|
+
"workflow_test",
|
|
4585
|
+
"run",
|
|
4469
4586
|
"index.js"
|
|
4470
4587
|
]
|
|
4471
4588
|
},
|
|
4472
|
-
"
|
|
4589
|
+
"workflow_test:run_all": {
|
|
4473
4590
|
"aliases": [],
|
|
4474
|
-
"args": {
|
|
4475
|
-
|
|
4476
|
-
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4477
|
-
"name": "directory",
|
|
4478
|
-
"required": true
|
|
4479
|
-
}
|
|
4480
|
-
},
|
|
4481
|
-
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
4591
|
+
"args": {},
|
|
4592
|
+
"description": "Run all workflow tests in a workspace",
|
|
4482
4593
|
"examples": [
|
|
4483
|
-
"$ xano
|
|
4484
|
-
"$ xano
|
|
4485
|
-
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4486
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4487
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4488
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
4489
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4490
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4491
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
4492
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
4493
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
4594
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
4595
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4494
4596
|
],
|
|
4495
4597
|
"flags": {
|
|
4496
4598
|
"profile": {
|
|
@@ -4514,58 +4616,109 @@
|
|
|
4514
4616
|
},
|
|
4515
4617
|
"branch": {
|
|
4516
4618
|
"char": "b",
|
|
4517
|
-
"description": "
|
|
4619
|
+
"description": "Filter by branch name",
|
|
4518
4620
|
"name": "branch",
|
|
4519
4621
|
"required": false,
|
|
4520
4622
|
"hasDynamicHelp": false,
|
|
4521
4623
|
"multiple": false,
|
|
4522
4624
|
"type": "option"
|
|
4523
4625
|
},
|
|
4524
|
-
"
|
|
4525
|
-
"
|
|
4526
|
-
"
|
|
4626
|
+
"output": {
|
|
4627
|
+
"char": "o",
|
|
4628
|
+
"description": "Output format",
|
|
4629
|
+
"name": "output",
|
|
4527
4630
|
"required": false,
|
|
4528
|
-
"
|
|
4529
|
-
"
|
|
4631
|
+
"default": "summary",
|
|
4632
|
+
"hasDynamicHelp": false,
|
|
4633
|
+
"multiple": false,
|
|
4634
|
+
"options": [
|
|
4635
|
+
"summary",
|
|
4636
|
+
"json"
|
|
4637
|
+
],
|
|
4638
|
+
"type": "option"
|
|
4530
4639
|
},
|
|
4531
|
-
"
|
|
4532
|
-
"
|
|
4533
|
-
"
|
|
4640
|
+
"workspace": {
|
|
4641
|
+
"char": "w",
|
|
4642
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4643
|
+
"name": "workspace",
|
|
4534
4644
|
"required": false,
|
|
4535
|
-
"
|
|
4536
|
-
"
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4645
|
+
"hasDynamicHelp": false,
|
|
4646
|
+
"multiple": false,
|
|
4647
|
+
"type": "option"
|
|
4648
|
+
}
|
|
4649
|
+
},
|
|
4650
|
+
"hasDynamicHelp": false,
|
|
4651
|
+
"hiddenAliases": [],
|
|
4652
|
+
"id": "workflow_test:run_all",
|
|
4653
|
+
"pluginAlias": "@xano/cli",
|
|
4654
|
+
"pluginName": "@xano/cli",
|
|
4655
|
+
"pluginType": "core",
|
|
4656
|
+
"strict": true,
|
|
4657
|
+
"enableJsonFlag": false,
|
|
4658
|
+
"isESM": true,
|
|
4659
|
+
"relativePath": [
|
|
4660
|
+
"dist",
|
|
4661
|
+
"commands",
|
|
4662
|
+
"workflow_test",
|
|
4663
|
+
"run_all",
|
|
4664
|
+
"index.js"
|
|
4665
|
+
]
|
|
4666
|
+
},
|
|
4667
|
+
"workflow_test:list": {
|
|
4668
|
+
"aliases": [],
|
|
4669
|
+
"args": {},
|
|
4670
|
+
"description": "List all workflow tests in a workspace",
|
|
4671
|
+
"examples": [
|
|
4672
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4673
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4674
|
+
"$ xano workflow-test list --branch main"
|
|
4675
|
+
],
|
|
4676
|
+
"flags": {
|
|
4677
|
+
"profile": {
|
|
4678
|
+
"char": "p",
|
|
4679
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4680
|
+
"env": "XANO_PROFILE",
|
|
4681
|
+
"name": "profile",
|
|
4541
4682
|
"required": false,
|
|
4542
|
-
"
|
|
4543
|
-
"
|
|
4683
|
+
"hasDynamicHelp": false,
|
|
4684
|
+
"multiple": false,
|
|
4685
|
+
"type": "option"
|
|
4544
4686
|
},
|
|
4545
|
-
"
|
|
4546
|
-
"
|
|
4547
|
-
"
|
|
4687
|
+
"verbose": {
|
|
4688
|
+
"char": "v",
|
|
4689
|
+
"description": "Show detailed request/response information",
|
|
4690
|
+
"env": "XANO_VERBOSE",
|
|
4691
|
+
"name": "verbose",
|
|
4548
4692
|
"required": false,
|
|
4549
|
-
"allowNo":
|
|
4693
|
+
"allowNo": false,
|
|
4550
4694
|
"type": "boolean"
|
|
4551
4695
|
},
|
|
4552
|
-
"
|
|
4553
|
-
"
|
|
4554
|
-
"
|
|
4696
|
+
"branch": {
|
|
4697
|
+
"char": "b",
|
|
4698
|
+
"description": "Filter by branch name",
|
|
4699
|
+
"name": "branch",
|
|
4555
4700
|
"required": false,
|
|
4556
|
-
"
|
|
4557
|
-
"
|
|
4701
|
+
"hasDynamicHelp": false,
|
|
4702
|
+
"multiple": false,
|
|
4703
|
+
"type": "option"
|
|
4558
4704
|
},
|
|
4559
|
-
"
|
|
4560
|
-
"
|
|
4561
|
-
"
|
|
4705
|
+
"output": {
|
|
4706
|
+
"char": "o",
|
|
4707
|
+
"description": "Output format",
|
|
4708
|
+
"name": "output",
|
|
4562
4709
|
"required": false,
|
|
4563
|
-
"
|
|
4564
|
-
"
|
|
4710
|
+
"default": "summary",
|
|
4711
|
+
"hasDynamicHelp": false,
|
|
4712
|
+
"multiple": false,
|
|
4713
|
+
"options": [
|
|
4714
|
+
"summary",
|
|
4715
|
+
"json"
|
|
4716
|
+
],
|
|
4717
|
+
"type": "option"
|
|
4565
4718
|
},
|
|
4566
4719
|
"workspace": {
|
|
4567
4720
|
"char": "w",
|
|
4568
|
-
"description": "Workspace ID (
|
|
4721
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4569
4722
|
"name": "workspace",
|
|
4570
4723
|
"required": false,
|
|
4571
4724
|
"hasDynamicHelp": false,
|
|
@@ -4575,7 +4728,7 @@
|
|
|
4575
4728
|
},
|
|
4576
4729
|
"hasDynamicHelp": false,
|
|
4577
4730
|
"hiddenAliases": [],
|
|
4578
|
-
"id": "
|
|
4731
|
+
"id": "workflow_test:list",
|
|
4579
4732
|
"pluginAlias": "@xano/cli",
|
|
4580
4733
|
"pluginName": "@xano/cli",
|
|
4581
4734
|
"pluginType": "core",
|
|
@@ -4585,24 +4738,25 @@
|
|
|
4585
4738
|
"relativePath": [
|
|
4586
4739
|
"dist",
|
|
4587
4740
|
"commands",
|
|
4588
|
-
"
|
|
4589
|
-
"
|
|
4741
|
+
"workflow_test",
|
|
4742
|
+
"list",
|
|
4590
4743
|
"index.js"
|
|
4591
4744
|
]
|
|
4592
4745
|
},
|
|
4593
|
-
"
|
|
4746
|
+
"static_host:build:create": {
|
|
4594
4747
|
"aliases": [],
|
|
4595
4748
|
"args": {
|
|
4596
|
-
"
|
|
4597
|
-
"description": "
|
|
4598
|
-
"name": "
|
|
4749
|
+
"static_host": {
|
|
4750
|
+
"description": "Static Host name",
|
|
4751
|
+
"name": "static_host",
|
|
4599
4752
|
"required": true
|
|
4600
4753
|
}
|
|
4601
4754
|
},
|
|
4602
|
-
"description": "
|
|
4755
|
+
"description": "Create a new build for a static host",
|
|
4603
4756
|
"examples": [
|
|
4604
|
-
"$ xano
|
|
4605
|
-
"$ xano
|
|
4757
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
4758
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
4759
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4606
4760
|
],
|
|
4607
4761
|
"flags": {
|
|
4608
4762
|
"profile": {
|
|
@@ -4624,6 +4778,33 @@
|
|
|
4624
4778
|
"allowNo": false,
|
|
4625
4779
|
"type": "boolean"
|
|
4626
4780
|
},
|
|
4781
|
+
"description": {
|
|
4782
|
+
"char": "d",
|
|
4783
|
+
"description": "Build description",
|
|
4784
|
+
"name": "description",
|
|
4785
|
+
"required": false,
|
|
4786
|
+
"hasDynamicHelp": false,
|
|
4787
|
+
"multiple": false,
|
|
4788
|
+
"type": "option"
|
|
4789
|
+
},
|
|
4790
|
+
"file": {
|
|
4791
|
+
"char": "f",
|
|
4792
|
+
"description": "Path to zip file to upload",
|
|
4793
|
+
"name": "file",
|
|
4794
|
+
"required": true,
|
|
4795
|
+
"hasDynamicHelp": false,
|
|
4796
|
+
"multiple": false,
|
|
4797
|
+
"type": "option"
|
|
4798
|
+
},
|
|
4799
|
+
"name": {
|
|
4800
|
+
"char": "n",
|
|
4801
|
+
"description": "Build name",
|
|
4802
|
+
"name": "name",
|
|
4803
|
+
"required": true,
|
|
4804
|
+
"hasDynamicHelp": false,
|
|
4805
|
+
"multiple": false,
|
|
4806
|
+
"type": "option"
|
|
4807
|
+
},
|
|
4627
4808
|
"output": {
|
|
4628
4809
|
"char": "o",
|
|
4629
4810
|
"description": "Output format",
|
|
@@ -4640,7 +4821,7 @@
|
|
|
4640
4821
|
},
|
|
4641
4822
|
"workspace": {
|
|
4642
4823
|
"char": "w",
|
|
4643
|
-
"description": "Workspace ID (
|
|
4824
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4644
4825
|
"name": "workspace",
|
|
4645
4826
|
"required": false,
|
|
4646
4827
|
"hasDynamicHelp": false,
|
|
@@ -4650,7 +4831,7 @@
|
|
|
4650
4831
|
},
|
|
4651
4832
|
"hasDynamicHelp": false,
|
|
4652
4833
|
"hiddenAliases": [],
|
|
4653
|
-
"id": "
|
|
4834
|
+
"id": "static_host:build:create",
|
|
4654
4835
|
"pluginAlias": "@xano/cli",
|
|
4655
4836
|
"pluginName": "@xano/cli",
|
|
4656
4837
|
"pluginType": "core",
|
|
@@ -4660,18 +4841,32 @@
|
|
|
4660
4841
|
"relativePath": [
|
|
4661
4842
|
"dist",
|
|
4662
4843
|
"commands",
|
|
4663
|
-
"
|
|
4664
|
-
"
|
|
4844
|
+
"static_host",
|
|
4845
|
+
"build",
|
|
4846
|
+
"create",
|
|
4665
4847
|
"index.js"
|
|
4666
4848
|
]
|
|
4667
4849
|
},
|
|
4668
|
-
"
|
|
4850
|
+
"static_host:build:get": {
|
|
4669
4851
|
"aliases": [],
|
|
4670
|
-
"args": {
|
|
4671
|
-
|
|
4852
|
+
"args": {
|
|
4853
|
+
"build_id": {
|
|
4854
|
+
"description": "Build ID",
|
|
4855
|
+
"name": "build_id",
|
|
4856
|
+
"required": true
|
|
4857
|
+
},
|
|
4858
|
+
"static_host": {
|
|
4859
|
+
"description": "Static Host name",
|
|
4860
|
+
"name": "static_host",
|
|
4861
|
+
"required": true
|
|
4862
|
+
}
|
|
4863
|
+
},
|
|
4864
|
+
"description": "Get details of a specific build for a static host",
|
|
4672
4865
|
"examples": [
|
|
4673
|
-
"$ xano
|
|
4674
|
-
"$ xano
|
|
4866
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4867
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4868
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4869
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4675
4870
|
],
|
|
4676
4871
|
"flags": {
|
|
4677
4872
|
"profile": {
|
|
@@ -4693,15 +4888,6 @@
|
|
|
4693
4888
|
"allowNo": false,
|
|
4694
4889
|
"type": "boolean"
|
|
4695
4890
|
},
|
|
4696
|
-
"branch": {
|
|
4697
|
-
"char": "b",
|
|
4698
|
-
"description": "Filter by branch name",
|
|
4699
|
-
"name": "branch",
|
|
4700
|
-
"required": false,
|
|
4701
|
-
"hasDynamicHelp": false,
|
|
4702
|
-
"multiple": false,
|
|
4703
|
-
"type": "option"
|
|
4704
|
-
},
|
|
4705
4891
|
"output": {
|
|
4706
4892
|
"char": "o",
|
|
4707
4893
|
"description": "Output format",
|
|
@@ -4718,7 +4904,7 @@
|
|
|
4718
4904
|
},
|
|
4719
4905
|
"workspace": {
|
|
4720
4906
|
"char": "w",
|
|
4721
|
-
"description": "Workspace ID (
|
|
4907
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4722
4908
|
"name": "workspace",
|
|
4723
4909
|
"required": false,
|
|
4724
4910
|
"hasDynamicHelp": false,
|
|
@@ -4728,7 +4914,7 @@
|
|
|
4728
4914
|
},
|
|
4729
4915
|
"hasDynamicHelp": false,
|
|
4730
4916
|
"hiddenAliases": [],
|
|
4731
|
-
"id": "
|
|
4917
|
+
"id": "static_host:build:get",
|
|
4732
4918
|
"pluginAlias": "@xano/cli",
|
|
4733
4919
|
"pluginName": "@xano/cli",
|
|
4734
4920
|
"pluginType": "core",
|
|
@@ -4738,24 +4924,27 @@
|
|
|
4738
4924
|
"relativePath": [
|
|
4739
4925
|
"dist",
|
|
4740
4926
|
"commands",
|
|
4741
|
-
"
|
|
4742
|
-
"
|
|
4927
|
+
"static_host",
|
|
4928
|
+
"build",
|
|
4929
|
+
"get",
|
|
4743
4930
|
"index.js"
|
|
4744
4931
|
]
|
|
4745
4932
|
},
|
|
4746
|
-
"
|
|
4933
|
+
"static_host:build:list": {
|
|
4747
4934
|
"aliases": [],
|
|
4748
4935
|
"args": {
|
|
4749
|
-
"
|
|
4750
|
-
"description": "
|
|
4751
|
-
"name": "
|
|
4936
|
+
"static_host": {
|
|
4937
|
+
"description": "Static Host name",
|
|
4938
|
+
"name": "static_host",
|
|
4752
4939
|
"required": true
|
|
4753
4940
|
}
|
|
4754
4941
|
},
|
|
4755
|
-
"description": "
|
|
4942
|
+
"description": "List all builds for a static host",
|
|
4756
4943
|
"examples": [
|
|
4757
|
-
"$ xano
|
|
4758
|
-
"$ xano
|
|
4944
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4945
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4946
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4947
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4759
4948
|
],
|
|
4760
4949
|
"flags": {
|
|
4761
4950
|
"profile": {
|
|
@@ -4777,16 +4966,6 @@
|
|
|
4777
4966
|
"allowNo": false,
|
|
4778
4967
|
"type": "boolean"
|
|
4779
4968
|
},
|
|
4780
|
-
"description": {
|
|
4781
|
-
"char": "d",
|
|
4782
|
-
"description": "Backup description",
|
|
4783
|
-
"name": "description",
|
|
4784
|
-
"required": false,
|
|
4785
|
-
"default": "",
|
|
4786
|
-
"hasDynamicHelp": false,
|
|
4787
|
-
"multiple": false,
|
|
4788
|
-
"type": "option"
|
|
4789
|
-
},
|
|
4790
4969
|
"output": {
|
|
4791
4970
|
"char": "o",
|
|
4792
4971
|
"description": "Output format",
|
|
@@ -4801,9 +4980,27 @@
|
|
|
4801
4980
|
],
|
|
4802
4981
|
"type": "option"
|
|
4803
4982
|
},
|
|
4983
|
+
"page": {
|
|
4984
|
+
"description": "Page number for pagination",
|
|
4985
|
+
"name": "page",
|
|
4986
|
+
"required": false,
|
|
4987
|
+
"default": 1,
|
|
4988
|
+
"hasDynamicHelp": false,
|
|
4989
|
+
"multiple": false,
|
|
4990
|
+
"type": "option"
|
|
4991
|
+
},
|
|
4992
|
+
"per_page": {
|
|
4993
|
+
"description": "Number of results per page",
|
|
4994
|
+
"name": "per_page",
|
|
4995
|
+
"required": false,
|
|
4996
|
+
"default": 50,
|
|
4997
|
+
"hasDynamicHelp": false,
|
|
4998
|
+
"multiple": false,
|
|
4999
|
+
"type": "option"
|
|
5000
|
+
},
|
|
4804
5001
|
"workspace": {
|
|
4805
5002
|
"char": "w",
|
|
4806
|
-
"description": "Workspace ID (
|
|
5003
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4807
5004
|
"name": "workspace",
|
|
4808
5005
|
"required": false,
|
|
4809
5006
|
"hasDynamicHelp": false,
|
|
@@ -4813,7 +5010,7 @@
|
|
|
4813
5010
|
},
|
|
4814
5011
|
"hasDynamicHelp": false,
|
|
4815
5012
|
"hiddenAliases": [],
|
|
4816
|
-
"id": "
|
|
5013
|
+
"id": "static_host:build:list",
|
|
4817
5014
|
"pluginAlias": "@xano/cli",
|
|
4818
5015
|
"pluginName": "@xano/cli",
|
|
4819
5016
|
"pluginType": "core",
|
|
@@ -4823,9 +5020,9 @@
|
|
|
4823
5020
|
"relativePath": [
|
|
4824
5021
|
"dist",
|
|
4825
5022
|
"commands",
|
|
4826
|
-
"
|
|
4827
|
-
"
|
|
4828
|
-
"
|
|
5023
|
+
"static_host",
|
|
5024
|
+
"build",
|
|
5025
|
+
"list",
|
|
4829
5026
|
"index.js"
|
|
4830
5027
|
]
|
|
4831
5028
|
},
|
|
@@ -4922,19 +5119,20 @@
|
|
|
4922
5119
|
"index.js"
|
|
4923
5120
|
]
|
|
4924
5121
|
},
|
|
4925
|
-
"tenant:backup:
|
|
5122
|
+
"tenant:backup:export": {
|
|
4926
5123
|
"aliases": [],
|
|
4927
5124
|
"args": {
|
|
4928
5125
|
"tenant_name": {
|
|
4929
|
-
"description": "Tenant name to
|
|
5126
|
+
"description": "Tenant name to export backup from",
|
|
4930
5127
|
"name": "tenant_name",
|
|
4931
5128
|
"required": true
|
|
4932
5129
|
}
|
|
4933
5130
|
},
|
|
4934
|
-
"description": "
|
|
5131
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
4935
5132
|
"examples": [
|
|
4936
|
-
"$ xano tenant backup
|
|
4937
|
-
"$ xano tenant backup
|
|
5133
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5134
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5135
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
4938
5136
|
],
|
|
4939
5137
|
"flags": {
|
|
4940
5138
|
"profile": {
|
|
@@ -4956,10 +5154,18 @@
|
|
|
4956
5154
|
"allowNo": false,
|
|
4957
5155
|
"type": "boolean"
|
|
4958
5156
|
},
|
|
4959
|
-
"
|
|
5157
|
+
"backup_id": {
|
|
5158
|
+
"description": "Backup ID to export",
|
|
5159
|
+
"name": "backup_id",
|
|
5160
|
+
"required": true,
|
|
5161
|
+
"hasDynamicHelp": false,
|
|
5162
|
+
"multiple": false,
|
|
5163
|
+
"type": "option"
|
|
5164
|
+
},
|
|
5165
|
+
"format": {
|
|
4960
5166
|
"char": "o",
|
|
4961
5167
|
"description": "Output format",
|
|
4962
|
-
"name": "
|
|
5168
|
+
"name": "format",
|
|
4963
5169
|
"required": false,
|
|
4964
5170
|
"default": "summary",
|
|
4965
5171
|
"hasDynamicHelp": false,
|
|
@@ -4970,11 +5176,10 @@
|
|
|
4970
5176
|
],
|
|
4971
5177
|
"type": "option"
|
|
4972
5178
|
},
|
|
4973
|
-
"
|
|
4974
|
-
"description": "
|
|
4975
|
-
"name": "
|
|
5179
|
+
"output": {
|
|
5180
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5181
|
+
"name": "output",
|
|
4976
5182
|
"required": false,
|
|
4977
|
-
"default": 1,
|
|
4978
5183
|
"hasDynamicHelp": false,
|
|
4979
5184
|
"multiple": false,
|
|
4980
5185
|
"type": "option"
|
|
@@ -4991,7 +5196,7 @@
|
|
|
4991
5196
|
},
|
|
4992
5197
|
"hasDynamicHelp": false,
|
|
4993
5198
|
"hiddenAliases": [],
|
|
4994
|
-
"id": "tenant:backup:
|
|
5199
|
+
"id": "tenant:backup:export",
|
|
4995
5200
|
"pluginAlias": "@xano/cli",
|
|
4996
5201
|
"pluginName": "@xano/cli",
|
|
4997
5202
|
"pluginType": "core",
|
|
@@ -5003,23 +5208,23 @@
|
|
|
5003
5208
|
"commands",
|
|
5004
5209
|
"tenant",
|
|
5005
5210
|
"backup",
|
|
5006
|
-
"
|
|
5211
|
+
"export",
|
|
5007
5212
|
"index.js"
|
|
5008
5213
|
]
|
|
5009
5214
|
},
|
|
5010
|
-
"tenant:backup:
|
|
5215
|
+
"tenant:backup:list": {
|
|
5011
5216
|
"aliases": [],
|
|
5012
5217
|
"args": {
|
|
5013
5218
|
"tenant_name": {
|
|
5014
|
-
"description": "Tenant name to
|
|
5219
|
+
"description": "Tenant name to list backups for",
|
|
5015
5220
|
"name": "tenant_name",
|
|
5016
5221
|
"required": true
|
|
5017
5222
|
}
|
|
5018
5223
|
},
|
|
5019
|
-
"description": "
|
|
5224
|
+
"description": "List backups for a tenant",
|
|
5020
5225
|
"examples": [
|
|
5021
|
-
"$ xano tenant backup
|
|
5022
|
-
"$ xano tenant backup
|
|
5226
|
+
"$ 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",
|
|
5227
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5023
5228
|
],
|
|
5024
5229
|
"flags": {
|
|
5025
5230
|
"profile": {
|
|
@@ -5041,22 +5246,6 @@
|
|
|
5041
5246
|
"allowNo": false,
|
|
5042
5247
|
"type": "boolean"
|
|
5043
5248
|
},
|
|
5044
|
-
"backup_id": {
|
|
5045
|
-
"description": "Backup ID to restore from",
|
|
5046
|
-
"name": "backup_id",
|
|
5047
|
-
"required": true,
|
|
5048
|
-
"hasDynamicHelp": false,
|
|
5049
|
-
"multiple": false,
|
|
5050
|
-
"type": "option"
|
|
5051
|
-
},
|
|
5052
|
-
"force": {
|
|
5053
|
-
"char": "f",
|
|
5054
|
-
"description": "Skip confirmation prompt",
|
|
5055
|
-
"name": "force",
|
|
5056
|
-
"required": false,
|
|
5057
|
-
"allowNo": false,
|
|
5058
|
-
"type": "boolean"
|
|
5059
|
-
},
|
|
5060
5249
|
"output": {
|
|
5061
5250
|
"char": "o",
|
|
5062
5251
|
"description": "Output format",
|
|
@@ -5071,6 +5260,15 @@
|
|
|
5071
5260
|
],
|
|
5072
5261
|
"type": "option"
|
|
5073
5262
|
},
|
|
5263
|
+
"page": {
|
|
5264
|
+
"description": "Page number for pagination",
|
|
5265
|
+
"name": "page",
|
|
5266
|
+
"required": false,
|
|
5267
|
+
"default": 1,
|
|
5268
|
+
"hasDynamicHelp": false,
|
|
5269
|
+
"multiple": false,
|
|
5270
|
+
"type": "option"
|
|
5271
|
+
},
|
|
5074
5272
|
"workspace": {
|
|
5075
5273
|
"char": "w",
|
|
5076
5274
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5083,7 +5281,7 @@
|
|
|
5083
5281
|
},
|
|
5084
5282
|
"hasDynamicHelp": false,
|
|
5085
5283
|
"hiddenAliases": [],
|
|
5086
|
-
"id": "tenant:backup:
|
|
5284
|
+
"id": "tenant:backup:list",
|
|
5087
5285
|
"pluginAlias": "@xano/cli",
|
|
5088
5286
|
"pluginName": "@xano/cli",
|
|
5089
5287
|
"pluginType": "core",
|
|
@@ -5095,17 +5293,23 @@
|
|
|
5095
5293
|
"commands",
|
|
5096
5294
|
"tenant",
|
|
5097
5295
|
"backup",
|
|
5098
|
-
"
|
|
5296
|
+
"list",
|
|
5099
5297
|
"index.js"
|
|
5100
5298
|
]
|
|
5101
5299
|
},
|
|
5102
|
-
"tenant:
|
|
5300
|
+
"tenant:backup:restore": {
|
|
5103
5301
|
"aliases": [],
|
|
5104
|
-
"args": {
|
|
5105
|
-
|
|
5302
|
+
"args": {
|
|
5303
|
+
"tenant_name": {
|
|
5304
|
+
"description": "Tenant name to restore",
|
|
5305
|
+
"name": "tenant_name",
|
|
5306
|
+
"required": true
|
|
5307
|
+
}
|
|
5308
|
+
},
|
|
5309
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5106
5310
|
"examples": [
|
|
5107
|
-
"$ xano tenant
|
|
5108
|
-
"$ xano tenant
|
|
5311
|
+
"$ 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",
|
|
5312
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5109
5313
|
],
|
|
5110
5314
|
"flags": {
|
|
5111
5315
|
"profile": {
|
|
@@ -5127,53 +5331,21 @@
|
|
|
5127
5331
|
"allowNo": false,
|
|
5128
5332
|
"type": "boolean"
|
|
5129
5333
|
},
|
|
5130
|
-
"
|
|
5131
|
-
"description": "
|
|
5132
|
-
"
|
|
5133
|
-
|
|
5134
|
-
],
|
|
5135
|
-
"name": "credentials",
|
|
5136
|
-
"required": false,
|
|
5137
|
-
"hasDynamicHelp": false,
|
|
5138
|
-
"multiple": false,
|
|
5139
|
-
"type": "option"
|
|
5140
|
-
},
|
|
5141
|
-
"credentials_file": {
|
|
5142
|
-
"description": "Path to kubeconfig credentials file",
|
|
5143
|
-
"exclusive": [
|
|
5144
|
-
"credentials"
|
|
5145
|
-
],
|
|
5146
|
-
"name": "credentials_file",
|
|
5147
|
-
"required": false,
|
|
5148
|
-
"hasDynamicHelp": false,
|
|
5149
|
-
"multiple": false,
|
|
5150
|
-
"type": "option"
|
|
5151
|
-
},
|
|
5152
|
-
"description": {
|
|
5153
|
-
"char": "d",
|
|
5154
|
-
"description": "Cluster description",
|
|
5155
|
-
"name": "description",
|
|
5156
|
-
"required": false,
|
|
5334
|
+
"backup_id": {
|
|
5335
|
+
"description": "Backup ID to restore from",
|
|
5336
|
+
"name": "backup_id",
|
|
5337
|
+
"required": true,
|
|
5157
5338
|
"hasDynamicHelp": false,
|
|
5158
5339
|
"multiple": false,
|
|
5159
5340
|
"type": "option"
|
|
5160
5341
|
},
|
|
5161
|
-
"
|
|
5162
|
-
"
|
|
5163
|
-
"
|
|
5342
|
+
"force": {
|
|
5343
|
+
"char": "f",
|
|
5344
|
+
"description": "Skip confirmation prompt",
|
|
5345
|
+
"name": "force",
|
|
5164
5346
|
"required": false,
|
|
5165
|
-
"
|
|
5166
|
-
"
|
|
5167
|
-
"type": "option"
|
|
5168
|
-
},
|
|
5169
|
-
"name": {
|
|
5170
|
-
"char": "n",
|
|
5171
|
-
"description": "Cluster name",
|
|
5172
|
-
"name": "name",
|
|
5173
|
-
"required": true,
|
|
5174
|
-
"hasDynamicHelp": false,
|
|
5175
|
-
"multiple": false,
|
|
5176
|
-
"type": "option"
|
|
5347
|
+
"allowNo": false,
|
|
5348
|
+
"type": "boolean"
|
|
5177
5349
|
},
|
|
5178
5350
|
"output": {
|
|
5179
5351
|
"char": "o",
|
|
@@ -5189,23 +5361,19 @@
|
|
|
5189
5361
|
],
|
|
5190
5362
|
"type": "option"
|
|
5191
5363
|
},
|
|
5192
|
-
"
|
|
5193
|
-
"
|
|
5194
|
-
"
|
|
5364
|
+
"workspace": {
|
|
5365
|
+
"char": "w",
|
|
5366
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5367
|
+
"name": "workspace",
|
|
5195
5368
|
"required": false,
|
|
5196
|
-
"default": "standard",
|
|
5197
5369
|
"hasDynamicHelp": false,
|
|
5198
5370
|
"multiple": false,
|
|
5199
|
-
"options": [
|
|
5200
|
-
"standard",
|
|
5201
|
-
"run"
|
|
5202
|
-
],
|
|
5203
5371
|
"type": "option"
|
|
5204
5372
|
}
|
|
5205
5373
|
},
|
|
5206
5374
|
"hasDynamicHelp": false,
|
|
5207
5375
|
"hiddenAliases": [],
|
|
5208
|
-
"id": "tenant:
|
|
5376
|
+
"id": "tenant:backup:restore",
|
|
5209
5377
|
"pluginAlias": "@xano/cli",
|
|
5210
5378
|
"pluginName": "@xano/cli",
|
|
5211
5379
|
"pluginType": "core",
|
|
@@ -5216,25 +5384,24 @@
|
|
|
5216
5384
|
"dist",
|
|
5217
5385
|
"commands",
|
|
5218
5386
|
"tenant",
|
|
5219
|
-
"
|
|
5220
|
-
"
|
|
5387
|
+
"backup",
|
|
5388
|
+
"restore",
|
|
5221
5389
|
"index.js"
|
|
5222
5390
|
]
|
|
5223
5391
|
},
|
|
5224
|
-
"tenant:backup:
|
|
5392
|
+
"tenant:backup:create": {
|
|
5225
5393
|
"aliases": [],
|
|
5226
5394
|
"args": {
|
|
5227
5395
|
"tenant_name": {
|
|
5228
|
-
"description": "Tenant name to
|
|
5396
|
+
"description": "Tenant name to back up",
|
|
5229
5397
|
"name": "tenant_name",
|
|
5230
5398
|
"required": true
|
|
5231
5399
|
}
|
|
5232
5400
|
},
|
|
5233
|
-
"description": "
|
|
5401
|
+
"description": "Create a backup for a tenant",
|
|
5234
5402
|
"examples": [
|
|
5235
|
-
"$ xano tenant backup
|
|
5236
|
-
"$ xano tenant backup
|
|
5237
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5403
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5404
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5238
5405
|
],
|
|
5239
5406
|
"flags": {
|
|
5240
5407
|
"profile": {
|
|
@@ -5256,18 +5423,20 @@
|
|
|
5256
5423
|
"allowNo": false,
|
|
5257
5424
|
"type": "boolean"
|
|
5258
5425
|
},
|
|
5259
|
-
"
|
|
5260
|
-
"
|
|
5261
|
-
"
|
|
5262
|
-
"
|
|
5426
|
+
"description": {
|
|
5427
|
+
"char": "d",
|
|
5428
|
+
"description": "Backup description",
|
|
5429
|
+
"name": "description",
|
|
5430
|
+
"required": false,
|
|
5431
|
+
"default": "",
|
|
5263
5432
|
"hasDynamicHelp": false,
|
|
5264
5433
|
"multiple": false,
|
|
5265
5434
|
"type": "option"
|
|
5266
5435
|
},
|
|
5267
|
-
"
|
|
5436
|
+
"output": {
|
|
5268
5437
|
"char": "o",
|
|
5269
5438
|
"description": "Output format",
|
|
5270
|
-
"name": "
|
|
5439
|
+
"name": "output",
|
|
5271
5440
|
"required": false,
|
|
5272
5441
|
"default": "summary",
|
|
5273
5442
|
"hasDynamicHelp": false,
|
|
@@ -5278,14 +5447,6 @@
|
|
|
5278
5447
|
],
|
|
5279
5448
|
"type": "option"
|
|
5280
5449
|
},
|
|
5281
|
-
"output": {
|
|
5282
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5283
|
-
"name": "output",
|
|
5284
|
-
"required": false,
|
|
5285
|
-
"hasDynamicHelp": false,
|
|
5286
|
-
"multiple": false,
|
|
5287
|
-
"type": "option"
|
|
5288
|
-
},
|
|
5289
5450
|
"workspace": {
|
|
5290
5451
|
"char": "w",
|
|
5291
5452
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5298,7 +5459,7 @@
|
|
|
5298
5459
|
},
|
|
5299
5460
|
"hasDynamicHelp": false,
|
|
5300
5461
|
"hiddenAliases": [],
|
|
5301
|
-
"id": "tenant:backup:
|
|
5462
|
+
"id": "tenant:backup:create",
|
|
5302
5463
|
"pluginAlias": "@xano/cli",
|
|
5303
5464
|
"pluginName": "@xano/cli",
|
|
5304
5465
|
"pluginType": "core",
|
|
@@ -5310,23 +5471,17 @@
|
|
|
5310
5471
|
"commands",
|
|
5311
5472
|
"tenant",
|
|
5312
5473
|
"backup",
|
|
5313
|
-
"
|
|
5474
|
+
"create",
|
|
5314
5475
|
"index.js"
|
|
5315
5476
|
]
|
|
5316
5477
|
},
|
|
5317
|
-
"tenant:cluster:
|
|
5478
|
+
"tenant:cluster:create": {
|
|
5318
5479
|
"aliases": [],
|
|
5319
|
-
"args": {
|
|
5320
|
-
|
|
5321
|
-
"description": "Cluster ID to edit",
|
|
5322
|
-
"name": "cluster_id",
|
|
5323
|
-
"required": true
|
|
5324
|
-
}
|
|
5325
|
-
},
|
|
5326
|
-
"description": "Update an existing tenant cluster",
|
|
5480
|
+
"args": {},
|
|
5481
|
+
"description": "Create a new tenant cluster",
|
|
5327
5482
|
"examples": [
|
|
5328
|
-
"$ xano tenant cluster
|
|
5329
|
-
"$ xano tenant cluster
|
|
5483
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5484
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5330
5485
|
],
|
|
5331
5486
|
"flags": {
|
|
5332
5487
|
"profile": {
|
|
@@ -5348,11 +5503,33 @@
|
|
|
5348
5503
|
"allowNo": false,
|
|
5349
5504
|
"type": "boolean"
|
|
5350
5505
|
},
|
|
5506
|
+
"credentials": {
|
|
5507
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5508
|
+
"exclusive": [
|
|
5509
|
+
"credentials_file"
|
|
5510
|
+
],
|
|
5511
|
+
"name": "credentials",
|
|
5512
|
+
"required": false,
|
|
5513
|
+
"hasDynamicHelp": false,
|
|
5514
|
+
"multiple": false,
|
|
5515
|
+
"type": "option"
|
|
5516
|
+
},
|
|
5517
|
+
"credentials_file": {
|
|
5518
|
+
"description": "Path to kubeconfig credentials file",
|
|
5519
|
+
"exclusive": [
|
|
5520
|
+
"credentials"
|
|
5521
|
+
],
|
|
5522
|
+
"name": "credentials_file",
|
|
5523
|
+
"required": false,
|
|
5524
|
+
"hasDynamicHelp": false,
|
|
5525
|
+
"multiple": false,
|
|
5526
|
+
"type": "option"
|
|
5527
|
+
},
|
|
5351
5528
|
"description": {
|
|
5352
5529
|
"char": "d",
|
|
5353
5530
|
"description": "Cluster description",
|
|
5354
5531
|
"name": "description",
|
|
5355
|
-
"required":
|
|
5532
|
+
"required": false,
|
|
5356
5533
|
"hasDynamicHelp": false,
|
|
5357
5534
|
"multiple": false,
|
|
5358
5535
|
"type": "option"
|
|
@@ -5360,7 +5537,7 @@
|
|
|
5360
5537
|
"domain": {
|
|
5361
5538
|
"description": "Custom domain for the cluster",
|
|
5362
5539
|
"name": "domain",
|
|
5363
|
-
"required":
|
|
5540
|
+
"required": false,
|
|
5364
5541
|
"hasDynamicHelp": false,
|
|
5365
5542
|
"multiple": false,
|
|
5366
5543
|
"type": "option"
|
|
@@ -5391,7 +5568,8 @@
|
|
|
5391
5568
|
"type": {
|
|
5392
5569
|
"description": "Cluster type",
|
|
5393
5570
|
"name": "type",
|
|
5394
|
-
"required":
|
|
5571
|
+
"required": false,
|
|
5572
|
+
"default": "standard",
|
|
5395
5573
|
"hasDynamicHelp": false,
|
|
5396
5574
|
"multiple": false,
|
|
5397
5575
|
"options": [
|
|
@@ -5403,7 +5581,7 @@
|
|
|
5403
5581
|
},
|
|
5404
5582
|
"hasDynamicHelp": false,
|
|
5405
5583
|
"hiddenAliases": [],
|
|
5406
|
-
"id": "tenant:cluster:
|
|
5584
|
+
"id": "tenant:cluster:create",
|
|
5407
5585
|
"pluginAlias": "@xano/cli",
|
|
5408
5586
|
"pluginName": "@xano/cli",
|
|
5409
5587
|
"pluginType": "core",
|
|
@@ -5415,7 +5593,7 @@
|
|
|
5415
5593
|
"commands",
|
|
5416
5594
|
"tenant",
|
|
5417
5595
|
"cluster",
|
|
5418
|
-
"
|
|
5596
|
+
"create",
|
|
5419
5597
|
"index.js"
|
|
5420
5598
|
]
|
|
5421
5599
|
},
|
|
@@ -5558,112 +5736,23 @@
|
|
|
5558
5736
|
"commands",
|
|
5559
5737
|
"tenant",
|
|
5560
5738
|
"cluster",
|
|
5561
|
-
"get",
|
|
5562
|
-
"index.js"
|
|
5563
|
-
]
|
|
5564
|
-
},
|
|
5565
|
-
"tenant:backup:import": {
|
|
5566
|
-
"aliases": [],
|
|
5567
|
-
"args": {
|
|
5568
|
-
"tenant_name": {
|
|
5569
|
-
"description": "Tenant name to import backup into",
|
|
5570
|
-
"name": "tenant_name",
|
|
5571
|
-
"required": true
|
|
5572
|
-
}
|
|
5573
|
-
},
|
|
5574
|
-
"description": "Import a backup file into a tenant",
|
|
5575
|
-
"examples": [
|
|
5576
|
-
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5577
|
-
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5578
|
-
],
|
|
5579
|
-
"flags": {
|
|
5580
|
-
"profile": {
|
|
5581
|
-
"char": "p",
|
|
5582
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5583
|
-
"env": "XANO_PROFILE",
|
|
5584
|
-
"name": "profile",
|
|
5585
|
-
"required": false,
|
|
5586
|
-
"hasDynamicHelp": false,
|
|
5587
|
-
"multiple": false,
|
|
5588
|
-
"type": "option"
|
|
5589
|
-
},
|
|
5590
|
-
"verbose": {
|
|
5591
|
-
"char": "v",
|
|
5592
|
-
"description": "Show detailed request/response information",
|
|
5593
|
-
"env": "XANO_VERBOSE",
|
|
5594
|
-
"name": "verbose",
|
|
5595
|
-
"required": false,
|
|
5596
|
-
"allowNo": false,
|
|
5597
|
-
"type": "boolean"
|
|
5598
|
-
},
|
|
5599
|
-
"description": {
|
|
5600
|
-
"char": "d",
|
|
5601
|
-
"description": "Backup description",
|
|
5602
|
-
"name": "description",
|
|
5603
|
-
"required": false,
|
|
5604
|
-
"default": "",
|
|
5605
|
-
"hasDynamicHelp": false,
|
|
5606
|
-
"multiple": false,
|
|
5607
|
-
"type": "option"
|
|
5608
|
-
},
|
|
5609
|
-
"file": {
|
|
5610
|
-
"char": "f",
|
|
5611
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5612
|
-
"name": "file",
|
|
5613
|
-
"required": true,
|
|
5614
|
-
"hasDynamicHelp": false,
|
|
5615
|
-
"multiple": false,
|
|
5616
|
-
"type": "option"
|
|
5617
|
-
},
|
|
5618
|
-
"output": {
|
|
5619
|
-
"char": "o",
|
|
5620
|
-
"description": "Output format",
|
|
5621
|
-
"name": "output",
|
|
5622
|
-
"required": false,
|
|
5623
|
-
"default": "summary",
|
|
5624
|
-
"hasDynamicHelp": false,
|
|
5625
|
-
"multiple": false,
|
|
5626
|
-
"options": [
|
|
5627
|
-
"summary",
|
|
5628
|
-
"json"
|
|
5629
|
-
],
|
|
5630
|
-
"type": "option"
|
|
5631
|
-
},
|
|
5632
|
-
"workspace": {
|
|
5633
|
-
"char": "w",
|
|
5634
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5635
|
-
"name": "workspace",
|
|
5636
|
-
"required": false,
|
|
5637
|
-
"hasDynamicHelp": false,
|
|
5638
|
-
"multiple": false,
|
|
5639
|
-
"type": "option"
|
|
5640
|
-
}
|
|
5641
|
-
},
|
|
5642
|
-
"hasDynamicHelp": false,
|
|
5643
|
-
"hiddenAliases": [],
|
|
5644
|
-
"id": "tenant:backup:import",
|
|
5645
|
-
"pluginAlias": "@xano/cli",
|
|
5646
|
-
"pluginName": "@xano/cli",
|
|
5647
|
-
"pluginType": "core",
|
|
5648
|
-
"strict": true,
|
|
5649
|
-
"enableJsonFlag": false,
|
|
5650
|
-
"isESM": true,
|
|
5651
|
-
"relativePath": [
|
|
5652
|
-
"dist",
|
|
5653
|
-
"commands",
|
|
5654
|
-
"tenant",
|
|
5655
|
-
"backup",
|
|
5656
|
-
"import",
|
|
5739
|
+
"get",
|
|
5657
5740
|
"index.js"
|
|
5658
5741
|
]
|
|
5659
5742
|
},
|
|
5660
|
-
"tenant:
|
|
5743
|
+
"tenant:backup:import": {
|
|
5661
5744
|
"aliases": [],
|
|
5662
|
-
"args": {
|
|
5663
|
-
|
|
5745
|
+
"args": {
|
|
5746
|
+
"tenant_name": {
|
|
5747
|
+
"description": "Tenant name to import backup into",
|
|
5748
|
+
"name": "tenant_name",
|
|
5749
|
+
"required": true
|
|
5750
|
+
}
|
|
5751
|
+
},
|
|
5752
|
+
"description": "Import a backup file into a tenant",
|
|
5664
5753
|
"examples": [
|
|
5665
|
-
"$ xano tenant
|
|
5666
|
-
"$ xano tenant
|
|
5754
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5755
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5667
5756
|
],
|
|
5668
5757
|
"flags": {
|
|
5669
5758
|
"profile": {
|
|
@@ -5685,6 +5774,25 @@
|
|
|
5685
5774
|
"allowNo": false,
|
|
5686
5775
|
"type": "boolean"
|
|
5687
5776
|
},
|
|
5777
|
+
"description": {
|
|
5778
|
+
"char": "d",
|
|
5779
|
+
"description": "Backup description",
|
|
5780
|
+
"name": "description",
|
|
5781
|
+
"required": false,
|
|
5782
|
+
"default": "",
|
|
5783
|
+
"hasDynamicHelp": false,
|
|
5784
|
+
"multiple": false,
|
|
5785
|
+
"type": "option"
|
|
5786
|
+
},
|
|
5787
|
+
"file": {
|
|
5788
|
+
"char": "f",
|
|
5789
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5790
|
+
"name": "file",
|
|
5791
|
+
"required": true,
|
|
5792
|
+
"hasDynamicHelp": false,
|
|
5793
|
+
"multiple": false,
|
|
5794
|
+
"type": "option"
|
|
5795
|
+
},
|
|
5688
5796
|
"output": {
|
|
5689
5797
|
"char": "o",
|
|
5690
5798
|
"description": "Output format",
|
|
@@ -5698,11 +5806,20 @@
|
|
|
5698
5806
|
"json"
|
|
5699
5807
|
],
|
|
5700
5808
|
"type": "option"
|
|
5809
|
+
},
|
|
5810
|
+
"workspace": {
|
|
5811
|
+
"char": "w",
|
|
5812
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5813
|
+
"name": "workspace",
|
|
5814
|
+
"required": false,
|
|
5815
|
+
"hasDynamicHelp": false,
|
|
5816
|
+
"multiple": false,
|
|
5817
|
+
"type": "option"
|
|
5701
5818
|
}
|
|
5702
5819
|
},
|
|
5703
5820
|
"hasDynamicHelp": false,
|
|
5704
5821
|
"hiddenAliases": [],
|
|
5705
|
-
"id": "tenant:
|
|
5822
|
+
"id": "tenant:backup:import",
|
|
5706
5823
|
"pluginAlias": "@xano/cli",
|
|
5707
5824
|
"pluginName": "@xano/cli",
|
|
5708
5825
|
"pluginType": "core",
|
|
@@ -5713,24 +5830,24 @@
|
|
|
5713
5830
|
"dist",
|
|
5714
5831
|
"commands",
|
|
5715
5832
|
"tenant",
|
|
5716
|
-
"
|
|
5717
|
-
"
|
|
5833
|
+
"backup",
|
|
5834
|
+
"import",
|
|
5718
5835
|
"index.js"
|
|
5719
5836
|
]
|
|
5720
5837
|
},
|
|
5721
|
-
"tenant:
|
|
5838
|
+
"tenant:cluster:edit": {
|
|
5722
5839
|
"aliases": [],
|
|
5723
5840
|
"args": {
|
|
5724
|
-
"
|
|
5725
|
-
"description": "
|
|
5726
|
-
"name": "
|
|
5841
|
+
"cluster_id": {
|
|
5842
|
+
"description": "Cluster ID to edit",
|
|
5843
|
+
"name": "cluster_id",
|
|
5727
5844
|
"required": true
|
|
5728
5845
|
}
|
|
5729
5846
|
},
|
|
5730
|
-
"description": "
|
|
5847
|
+
"description": "Update an existing tenant cluster",
|
|
5731
5848
|
"examples": [
|
|
5732
|
-
"$ xano tenant
|
|
5733
|
-
"$ xano tenant
|
|
5849
|
+
"$ 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",
|
|
5850
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5734
5851
|
],
|
|
5735
5852
|
"flags": {
|
|
5736
5853
|
"profile": {
|
|
@@ -5752,9 +5869,26 @@
|
|
|
5752
5869
|
"allowNo": false,
|
|
5753
5870
|
"type": "boolean"
|
|
5754
5871
|
},
|
|
5872
|
+
"description": {
|
|
5873
|
+
"char": "d",
|
|
5874
|
+
"description": "Cluster description",
|
|
5875
|
+
"name": "description",
|
|
5876
|
+
"required": true,
|
|
5877
|
+
"hasDynamicHelp": false,
|
|
5878
|
+
"multiple": false,
|
|
5879
|
+
"type": "option"
|
|
5880
|
+
},
|
|
5881
|
+
"domain": {
|
|
5882
|
+
"description": "Custom domain for the cluster",
|
|
5883
|
+
"name": "domain",
|
|
5884
|
+
"required": true,
|
|
5885
|
+
"hasDynamicHelp": false,
|
|
5886
|
+
"multiple": false,
|
|
5887
|
+
"type": "option"
|
|
5888
|
+
},
|
|
5755
5889
|
"name": {
|
|
5756
5890
|
"char": "n",
|
|
5757
|
-
"description": "
|
|
5891
|
+
"description": "Cluster name",
|
|
5758
5892
|
"name": "name",
|
|
5759
5893
|
"required": true,
|
|
5760
5894
|
"hasDynamicHelp": false,
|
|
@@ -5775,19 +5909,22 @@
|
|
|
5775
5909
|
],
|
|
5776
5910
|
"type": "option"
|
|
5777
5911
|
},
|
|
5778
|
-
"
|
|
5779
|
-
"
|
|
5780
|
-
"
|
|
5781
|
-
"
|
|
5782
|
-
"required": false,
|
|
5912
|
+
"type": {
|
|
5913
|
+
"description": "Cluster type",
|
|
5914
|
+
"name": "type",
|
|
5915
|
+
"required": true,
|
|
5783
5916
|
"hasDynamicHelp": false,
|
|
5784
5917
|
"multiple": false,
|
|
5918
|
+
"options": [
|
|
5919
|
+
"standard",
|
|
5920
|
+
"run"
|
|
5921
|
+
],
|
|
5785
5922
|
"type": "option"
|
|
5786
5923
|
}
|
|
5787
5924
|
},
|
|
5788
5925
|
"hasDynamicHelp": false,
|
|
5789
5926
|
"hiddenAliases": [],
|
|
5790
|
-
"id": "tenant:
|
|
5927
|
+
"id": "tenant:cluster:edit",
|
|
5791
5928
|
"pluginAlias": "@xano/cli",
|
|
5792
5929
|
"pluginName": "@xano/cli",
|
|
5793
5930
|
"pluginType": "core",
|
|
@@ -5798,26 +5935,18 @@
|
|
|
5798
5935
|
"dist",
|
|
5799
5936
|
"commands",
|
|
5800
5937
|
"tenant",
|
|
5801
|
-
"
|
|
5802
|
-
"
|
|
5938
|
+
"cluster",
|
|
5939
|
+
"edit",
|
|
5803
5940
|
"index.js"
|
|
5804
5941
|
]
|
|
5805
5942
|
},
|
|
5806
|
-
"tenant:
|
|
5943
|
+
"tenant:cluster:list": {
|
|
5807
5944
|
"aliases": [],
|
|
5808
|
-
"args": {
|
|
5809
|
-
|
|
5810
|
-
"description": "Tenant name",
|
|
5811
|
-
"name": "tenant_name",
|
|
5812
|
-
"required": true
|
|
5813
|
-
}
|
|
5814
|
-
},
|
|
5815
|
-
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
5945
|
+
"args": {},
|
|
5946
|
+
"description": "List all tenant clusters",
|
|
5816
5947
|
"examples": [
|
|
5817
|
-
"$ xano tenant
|
|
5818
|
-
"$ xano tenant
|
|
5819
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
5820
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
5948
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5949
|
+
"$ xano tenant cluster list --output json"
|
|
5821
5950
|
],
|
|
5822
5951
|
"flags": {
|
|
5823
5952
|
"profile": {
|
|
@@ -5839,15 +5968,6 @@
|
|
|
5839
5968
|
"allowNo": false,
|
|
5840
5969
|
"type": "boolean"
|
|
5841
5970
|
},
|
|
5842
|
-
"file": {
|
|
5843
|
-
"char": "f",
|
|
5844
|
-
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
5845
|
-
"name": "file",
|
|
5846
|
-
"required": false,
|
|
5847
|
-
"hasDynamicHelp": false,
|
|
5848
|
-
"multiple": false,
|
|
5849
|
-
"type": "option"
|
|
5850
|
-
},
|
|
5851
5971
|
"output": {
|
|
5852
5972
|
"char": "o",
|
|
5853
5973
|
"description": "Output format",
|
|
@@ -5861,27 +5981,11 @@
|
|
|
5861
5981
|
"json"
|
|
5862
5982
|
],
|
|
5863
5983
|
"type": "option"
|
|
5864
|
-
},
|
|
5865
|
-
"view": {
|
|
5866
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
5867
|
-
"name": "view",
|
|
5868
|
-
"required": false,
|
|
5869
|
-
"allowNo": false,
|
|
5870
|
-
"type": "boolean"
|
|
5871
|
-
},
|
|
5872
|
-
"workspace": {
|
|
5873
|
-
"char": "w",
|
|
5874
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5875
|
-
"name": "workspace",
|
|
5876
|
-
"required": false,
|
|
5877
|
-
"hasDynamicHelp": false,
|
|
5878
|
-
"multiple": false,
|
|
5879
|
-
"type": "option"
|
|
5880
5984
|
}
|
|
5881
5985
|
},
|
|
5882
5986
|
"hasDynamicHelp": false,
|
|
5883
5987
|
"hiddenAliases": [],
|
|
5884
|
-
"id": "tenant:
|
|
5988
|
+
"id": "tenant:cluster:list",
|
|
5885
5989
|
"pluginAlias": "@xano/cli",
|
|
5886
5990
|
"pluginName": "@xano/cli",
|
|
5887
5991
|
"pluginType": "core",
|
|
@@ -5892,8 +5996,8 @@
|
|
|
5892
5996
|
"dist",
|
|
5893
5997
|
"commands",
|
|
5894
5998
|
"tenant",
|
|
5895
|
-
"
|
|
5896
|
-
"
|
|
5999
|
+
"cluster",
|
|
6000
|
+
"list",
|
|
5897
6001
|
"index.js"
|
|
5898
6002
|
]
|
|
5899
6003
|
},
|
|
@@ -5991,7 +6095,7 @@
|
|
|
5991
6095
|
"index.js"
|
|
5992
6096
|
]
|
|
5993
6097
|
},
|
|
5994
|
-
"tenant:env:
|
|
6098
|
+
"tenant:env:get_all": {
|
|
5995
6099
|
"aliases": [],
|
|
5996
6100
|
"args": {
|
|
5997
6101
|
"tenant_name": {
|
|
@@ -6000,10 +6104,12 @@
|
|
|
6000
6104
|
"required": true
|
|
6001
6105
|
}
|
|
6002
6106
|
},
|
|
6003
|
-
"description": "
|
|
6107
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6004
6108
|
"examples": [
|
|
6005
|
-
"$ xano tenant env
|
|
6006
|
-
"$ xano tenant env
|
|
6109
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6110
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6111
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6112
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6007
6113
|
],
|
|
6008
6114
|
"flags": {
|
|
6009
6115
|
"profile": {
|
|
@@ -6025,6 +6131,15 @@
|
|
|
6025
6131
|
"allowNo": false,
|
|
6026
6132
|
"type": "boolean"
|
|
6027
6133
|
},
|
|
6134
|
+
"file": {
|
|
6135
|
+
"char": "f",
|
|
6136
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6137
|
+
"name": "file",
|
|
6138
|
+
"required": false,
|
|
6139
|
+
"hasDynamicHelp": false,
|
|
6140
|
+
"multiple": false,
|
|
6141
|
+
"type": "option"
|
|
6142
|
+
},
|
|
6028
6143
|
"output": {
|
|
6029
6144
|
"char": "o",
|
|
6030
6145
|
"description": "Output format",
|
|
@@ -6039,6 +6154,13 @@
|
|
|
6039
6154
|
],
|
|
6040
6155
|
"type": "option"
|
|
6041
6156
|
},
|
|
6157
|
+
"view": {
|
|
6158
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6159
|
+
"name": "view",
|
|
6160
|
+
"required": false,
|
|
6161
|
+
"allowNo": false,
|
|
6162
|
+
"type": "boolean"
|
|
6163
|
+
},
|
|
6042
6164
|
"workspace": {
|
|
6043
6165
|
"char": "w",
|
|
6044
6166
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6051,7 +6173,7 @@
|
|
|
6051
6173
|
},
|
|
6052
6174
|
"hasDynamicHelp": false,
|
|
6053
6175
|
"hiddenAliases": [],
|
|
6054
|
-
"id": "tenant:env:
|
|
6176
|
+
"id": "tenant:env:get_all",
|
|
6055
6177
|
"pluginAlias": "@xano/cli",
|
|
6056
6178
|
"pluginName": "@xano/cli",
|
|
6057
6179
|
"pluginType": "core",
|
|
@@ -6063,11 +6185,11 @@
|
|
|
6063
6185
|
"commands",
|
|
6064
6186
|
"tenant",
|
|
6065
6187
|
"env",
|
|
6066
|
-
"
|
|
6188
|
+
"get_all",
|
|
6067
6189
|
"index.js"
|
|
6068
6190
|
]
|
|
6069
6191
|
},
|
|
6070
|
-
"tenant:env:
|
|
6192
|
+
"tenant:env:get": {
|
|
6071
6193
|
"aliases": [],
|
|
6072
6194
|
"args": {
|
|
6073
6195
|
"tenant_name": {
|
|
@@ -6076,11 +6198,10 @@
|
|
|
6076
6198
|
"required": true
|
|
6077
6199
|
}
|
|
6078
6200
|
},
|
|
6079
|
-
"description": "
|
|
6201
|
+
"description": "Get a single environment variable for a tenant",
|
|
6080
6202
|
"examples": [
|
|
6081
|
-
"$ xano tenant env
|
|
6082
|
-
"$ xano tenant env
|
|
6083
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6203
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6204
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6084
6205
|
],
|
|
6085
6206
|
"flags": {
|
|
6086
6207
|
"profile": {
|
|
@@ -6102,18 +6223,11 @@
|
|
|
6102
6223
|
"allowNo": false,
|
|
6103
6224
|
"type": "boolean"
|
|
6104
6225
|
},
|
|
6105
|
-
"
|
|
6106
|
-
"
|
|
6107
|
-
"
|
|
6108
|
-
"
|
|
6109
|
-
"
|
|
6110
|
-
"type": "boolean"
|
|
6111
|
-
},
|
|
6112
|
-
"file": {
|
|
6113
|
-
"char": "f",
|
|
6114
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6115
|
-
"name": "file",
|
|
6116
|
-
"required": false,
|
|
6226
|
+
"name": {
|
|
6227
|
+
"char": "n",
|
|
6228
|
+
"description": "Environment variable name",
|
|
6229
|
+
"name": "name",
|
|
6230
|
+
"required": true,
|
|
6117
6231
|
"hasDynamicHelp": false,
|
|
6118
6232
|
"multiple": false,
|
|
6119
6233
|
"type": "option"
|
|
@@ -6144,7 +6258,7 @@
|
|
|
6144
6258
|
},
|
|
6145
6259
|
"hasDynamicHelp": false,
|
|
6146
6260
|
"hiddenAliases": [],
|
|
6147
|
-
"id": "tenant:env:
|
|
6261
|
+
"id": "tenant:env:get",
|
|
6148
6262
|
"pluginAlias": "@xano/cli",
|
|
6149
6263
|
"pluginName": "@xano/cli",
|
|
6150
6264
|
"pluginType": "core",
|
|
@@ -6156,11 +6270,11 @@
|
|
|
6156
6270
|
"commands",
|
|
6157
6271
|
"tenant",
|
|
6158
6272
|
"env",
|
|
6159
|
-
"
|
|
6273
|
+
"get",
|
|
6160
6274
|
"index.js"
|
|
6161
6275
|
]
|
|
6162
6276
|
},
|
|
6163
|
-
"tenant:env:
|
|
6277
|
+
"tenant:env:list": {
|
|
6164
6278
|
"aliases": [],
|
|
6165
6279
|
"args": {
|
|
6166
6280
|
"tenant_name": {
|
|
@@ -6169,10 +6283,10 @@
|
|
|
6169
6283
|
"required": true
|
|
6170
6284
|
}
|
|
6171
6285
|
},
|
|
6172
|
-
"description": "
|
|
6286
|
+
"description": "List environment variable keys for a tenant",
|
|
6173
6287
|
"examples": [
|
|
6174
|
-
"$ xano tenant env
|
|
6175
|
-
"$ xano tenant env
|
|
6288
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6289
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6176
6290
|
],
|
|
6177
6291
|
"flags": {
|
|
6178
6292
|
"profile": {
|
|
@@ -6194,15 +6308,6 @@
|
|
|
6194
6308
|
"allowNo": false,
|
|
6195
6309
|
"type": "boolean"
|
|
6196
6310
|
},
|
|
6197
|
-
"name": {
|
|
6198
|
-
"char": "n",
|
|
6199
|
-
"description": "Environment variable name",
|
|
6200
|
-
"name": "name",
|
|
6201
|
-
"required": true,
|
|
6202
|
-
"hasDynamicHelp": false,
|
|
6203
|
-
"multiple": false,
|
|
6204
|
-
"type": "option"
|
|
6205
|
-
},
|
|
6206
6311
|
"output": {
|
|
6207
6312
|
"char": "o",
|
|
6208
6313
|
"description": "Output format",
|
|
@@ -6217,14 +6322,6 @@
|
|
|
6217
6322
|
],
|
|
6218
6323
|
"type": "option"
|
|
6219
6324
|
},
|
|
6220
|
-
"value": {
|
|
6221
|
-
"description": "Environment variable value",
|
|
6222
|
-
"name": "value",
|
|
6223
|
-
"required": true,
|
|
6224
|
-
"hasDynamicHelp": false,
|
|
6225
|
-
"multiple": false,
|
|
6226
|
-
"type": "option"
|
|
6227
|
-
},
|
|
6228
6325
|
"workspace": {
|
|
6229
6326
|
"char": "w",
|
|
6230
6327
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6237,7 +6334,7 @@
|
|
|
6237
6334
|
},
|
|
6238
6335
|
"hasDynamicHelp": false,
|
|
6239
6336
|
"hiddenAliases": [],
|
|
6240
|
-
"id": "tenant:env:
|
|
6337
|
+
"id": "tenant:env:list",
|
|
6241
6338
|
"pluginAlias": "@xano/cli",
|
|
6242
6339
|
"pluginName": "@xano/cli",
|
|
6243
6340
|
"pluginType": "core",
|
|
@@ -6249,11 +6346,11 @@
|
|
|
6249
6346
|
"commands",
|
|
6250
6347
|
"tenant",
|
|
6251
6348
|
"env",
|
|
6252
|
-
"
|
|
6349
|
+
"list",
|
|
6253
6350
|
"index.js"
|
|
6254
6351
|
]
|
|
6255
6352
|
},
|
|
6256
|
-
"tenant:
|
|
6353
|
+
"tenant:env:set": {
|
|
6257
6354
|
"aliases": [],
|
|
6258
6355
|
"args": {
|
|
6259
6356
|
"tenant_name": {
|
|
@@ -6262,12 +6359,10 @@
|
|
|
6262
6359
|
"required": true
|
|
6263
6360
|
}
|
|
6264
6361
|
},
|
|
6265
|
-
"description": "
|
|
6362
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6266
6363
|
"examples": [
|
|
6267
|
-
"$ xano tenant
|
|
6268
|
-
"$ xano tenant
|
|
6269
|
-
"$ xano tenant license get my-tenant --view",
|
|
6270
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6364
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6365
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6271
6366
|
],
|
|
6272
6367
|
"flags": {
|
|
6273
6368
|
"profile": {
|
|
@@ -6289,11 +6384,11 @@
|
|
|
6289
6384
|
"allowNo": false,
|
|
6290
6385
|
"type": "boolean"
|
|
6291
6386
|
},
|
|
6292
|
-
"
|
|
6293
|
-
"char": "
|
|
6294
|
-
"description": "
|
|
6295
|
-
"name": "
|
|
6296
|
-
"required":
|
|
6387
|
+
"name": {
|
|
6388
|
+
"char": "n",
|
|
6389
|
+
"description": "Environment variable name",
|
|
6390
|
+
"name": "name",
|
|
6391
|
+
"required": true,
|
|
6297
6392
|
"hasDynamicHelp": false,
|
|
6298
6393
|
"multiple": false,
|
|
6299
6394
|
"type": "option"
|
|
@@ -6312,12 +6407,13 @@
|
|
|
6312
6407
|
],
|
|
6313
6408
|
"type": "option"
|
|
6314
6409
|
},
|
|
6315
|
-
"
|
|
6316
|
-
"description": "
|
|
6317
|
-
"name": "
|
|
6318
|
-
"required":
|
|
6319
|
-
"
|
|
6320
|
-
"
|
|
6410
|
+
"value": {
|
|
6411
|
+
"description": "Environment variable value",
|
|
6412
|
+
"name": "value",
|
|
6413
|
+
"required": true,
|
|
6414
|
+
"hasDynamicHelp": false,
|
|
6415
|
+
"multiple": false,
|
|
6416
|
+
"type": "option"
|
|
6321
6417
|
},
|
|
6322
6418
|
"workspace": {
|
|
6323
6419
|
"char": "w",
|
|
@@ -6331,7 +6427,7 @@
|
|
|
6331
6427
|
},
|
|
6332
6428
|
"hasDynamicHelp": false,
|
|
6333
6429
|
"hiddenAliases": [],
|
|
6334
|
-
"id": "tenant:
|
|
6430
|
+
"id": "tenant:env:set",
|
|
6335
6431
|
"pluginAlias": "@xano/cli",
|
|
6336
6432
|
"pluginName": "@xano/cli",
|
|
6337
6433
|
"pluginType": "core",
|
|
@@ -6342,12 +6438,12 @@
|
|
|
6342
6438
|
"dist",
|
|
6343
6439
|
"commands",
|
|
6344
6440
|
"tenant",
|
|
6345
|
-
"
|
|
6346
|
-
"
|
|
6441
|
+
"env",
|
|
6442
|
+
"set",
|
|
6347
6443
|
"index.js"
|
|
6348
6444
|
]
|
|
6349
6445
|
},
|
|
6350
|
-
"tenant:
|
|
6446
|
+
"tenant:env:set_all": {
|
|
6351
6447
|
"aliases": [],
|
|
6352
6448
|
"args": {
|
|
6353
6449
|
"tenant_name": {
|
|
@@ -6356,12 +6452,11 @@
|
|
|
6356
6452
|
"required": true
|
|
6357
6453
|
}
|
|
6358
6454
|
},
|
|
6359
|
-
"description": "Set
|
|
6455
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6360
6456
|
"examples": [
|
|
6361
|
-
"$ xano tenant
|
|
6362
|
-
"$ xano tenant
|
|
6363
|
-
"$ xano tenant
|
|
6364
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6457
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6458
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6459
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6365
6460
|
],
|
|
6366
6461
|
"flags": {
|
|
6367
6462
|
"profile": {
|
|
@@ -6385,9 +6480,6 @@
|
|
|
6385
6480
|
},
|
|
6386
6481
|
"clean": {
|
|
6387
6482
|
"description": "Remove the source file after successful upload",
|
|
6388
|
-
"exclusive": [
|
|
6389
|
-
"value"
|
|
6390
|
-
],
|
|
6391
6483
|
"name": "clean",
|
|
6392
6484
|
"required": false,
|
|
6393
6485
|
"allowNo": false,
|
|
@@ -6395,10 +6487,7 @@
|
|
|
6395
6487
|
},
|
|
6396
6488
|
"file": {
|
|
6397
6489
|
"char": "f",
|
|
6398
|
-
"description": "Path to
|
|
6399
|
-
"exclusive": [
|
|
6400
|
-
"value"
|
|
6401
|
-
],
|
|
6490
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6402
6491
|
"name": "file",
|
|
6403
6492
|
"required": false,
|
|
6404
6493
|
"hasDynamicHelp": false,
|
|
@@ -6419,18 +6508,6 @@
|
|
|
6419
6508
|
],
|
|
6420
6509
|
"type": "option"
|
|
6421
6510
|
},
|
|
6422
|
-
"value": {
|
|
6423
|
-
"description": "Inline license value",
|
|
6424
|
-
"exclusive": [
|
|
6425
|
-
"file",
|
|
6426
|
-
"clean"
|
|
6427
|
-
],
|
|
6428
|
-
"name": "value",
|
|
6429
|
-
"required": false,
|
|
6430
|
-
"hasDynamicHelp": false,
|
|
6431
|
-
"multiple": false,
|
|
6432
|
-
"type": "option"
|
|
6433
|
-
},
|
|
6434
6511
|
"workspace": {
|
|
6435
6512
|
"char": "w",
|
|
6436
6513
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6443,7 +6520,7 @@
|
|
|
6443
6520
|
},
|
|
6444
6521
|
"hasDynamicHelp": false,
|
|
6445
6522
|
"hiddenAliases": [],
|
|
6446
|
-
"id": "tenant:
|
|
6523
|
+
"id": "tenant:env:set_all",
|
|
6447
6524
|
"pluginAlias": "@xano/cli",
|
|
6448
6525
|
"pluginName": "@xano/cli",
|
|
6449
6526
|
"pluginType": "core",
|
|
@@ -6454,25 +6531,26 @@
|
|
|
6454
6531
|
"dist",
|
|
6455
6532
|
"commands",
|
|
6456
6533
|
"tenant",
|
|
6457
|
-
"
|
|
6458
|
-
"
|
|
6534
|
+
"env",
|
|
6535
|
+
"set_all",
|
|
6459
6536
|
"index.js"
|
|
6460
6537
|
]
|
|
6461
6538
|
},
|
|
6462
|
-
"
|
|
6539
|
+
"tenant:license:get": {
|
|
6463
6540
|
"aliases": [],
|
|
6464
6541
|
"args": {
|
|
6465
|
-
"
|
|
6466
|
-
"description": "
|
|
6467
|
-
"name": "
|
|
6542
|
+
"tenant_name": {
|
|
6543
|
+
"description": "Tenant name",
|
|
6544
|
+
"name": "tenant_name",
|
|
6468
6545
|
"required": true
|
|
6469
6546
|
}
|
|
6470
6547
|
},
|
|
6471
|
-
"description": "
|
|
6548
|
+
"description": "Get the license for a tenant",
|
|
6472
6549
|
"examples": [
|
|
6473
|
-
"$ xano
|
|
6474
|
-
"$ xano
|
|
6475
|
-
"$ xano
|
|
6550
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6551
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6552
|
+
"$ xano tenant license get my-tenant --view",
|
|
6553
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6476
6554
|
],
|
|
6477
6555
|
"flags": {
|
|
6478
6556
|
"profile": {
|
|
@@ -6494,29 +6572,11 @@
|
|
|
6494
6572
|
"allowNo": false,
|
|
6495
6573
|
"type": "boolean"
|
|
6496
6574
|
},
|
|
6497
|
-
"description": {
|
|
6498
|
-
"char": "d",
|
|
6499
|
-
"description": "Build description",
|
|
6500
|
-
"name": "description",
|
|
6501
|
-
"required": false,
|
|
6502
|
-
"hasDynamicHelp": false,
|
|
6503
|
-
"multiple": false,
|
|
6504
|
-
"type": "option"
|
|
6505
|
-
},
|
|
6506
6575
|
"file": {
|
|
6507
6576
|
"char": "f",
|
|
6508
|
-
"description": "
|
|
6577
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6509
6578
|
"name": "file",
|
|
6510
|
-
"required":
|
|
6511
|
-
"hasDynamicHelp": false,
|
|
6512
|
-
"multiple": false,
|
|
6513
|
-
"type": "option"
|
|
6514
|
-
},
|
|
6515
|
-
"name": {
|
|
6516
|
-
"char": "n",
|
|
6517
|
-
"description": "Build name",
|
|
6518
|
-
"name": "name",
|
|
6519
|
-
"required": true,
|
|
6579
|
+
"required": false,
|
|
6520
6580
|
"hasDynamicHelp": false,
|
|
6521
6581
|
"multiple": false,
|
|
6522
6582
|
"type": "option"
|
|
@@ -6535,9 +6595,16 @@
|
|
|
6535
6595
|
],
|
|
6536
6596
|
"type": "option"
|
|
6537
6597
|
},
|
|
6598
|
+
"view": {
|
|
6599
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6600
|
+
"name": "view",
|
|
6601
|
+
"required": false,
|
|
6602
|
+
"allowNo": false,
|
|
6603
|
+
"type": "boolean"
|
|
6604
|
+
},
|
|
6538
6605
|
"workspace": {
|
|
6539
6606
|
"char": "w",
|
|
6540
|
-
"description": "Workspace ID (
|
|
6607
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6541
6608
|
"name": "workspace",
|
|
6542
6609
|
"required": false,
|
|
6543
6610
|
"hasDynamicHelp": false,
|
|
@@ -6547,7 +6614,7 @@
|
|
|
6547
6614
|
},
|
|
6548
6615
|
"hasDynamicHelp": false,
|
|
6549
6616
|
"hiddenAliases": [],
|
|
6550
|
-
"id": "
|
|
6617
|
+
"id": "tenant:license:get",
|
|
6551
6618
|
"pluginAlias": "@xano/cli",
|
|
6552
6619
|
"pluginName": "@xano/cli",
|
|
6553
6620
|
"pluginType": "core",
|
|
@@ -6557,9 +6624,9 @@
|
|
|
6557
6624
|
"relativePath": [
|
|
6558
6625
|
"dist",
|
|
6559
6626
|
"commands",
|
|
6560
|
-
"
|
|
6561
|
-
"
|
|
6562
|
-
"
|
|
6627
|
+
"tenant",
|
|
6628
|
+
"license",
|
|
6629
|
+
"get",
|
|
6563
6630
|
"index.js"
|
|
6564
6631
|
]
|
|
6565
6632
|
},
|
|
@@ -6657,26 +6724,21 @@
|
|
|
6657
6724
|
"index.js"
|
|
6658
6725
|
]
|
|
6659
6726
|
},
|
|
6660
|
-
"
|
|
6727
|
+
"tenant:license:set": {
|
|
6661
6728
|
"aliases": [],
|
|
6662
6729
|
"args": {
|
|
6663
|
-
"
|
|
6664
|
-
"description": "
|
|
6665
|
-
"name": "
|
|
6666
|
-
"required": true
|
|
6667
|
-
},
|
|
6668
|
-
"static_host": {
|
|
6669
|
-
"description": "Static Host name",
|
|
6670
|
-
"name": "static_host",
|
|
6730
|
+
"tenant_name": {
|
|
6731
|
+
"description": "Tenant name",
|
|
6732
|
+
"name": "tenant_name",
|
|
6671
6733
|
"required": true
|
|
6672
6734
|
}
|
|
6673
6735
|
},
|
|
6674
|
-
"description": "
|
|
6736
|
+
"description": "Set/update the license for a tenant",
|
|
6675
6737
|
"examples": [
|
|
6676
|
-
"$ xano
|
|
6677
|
-
"$ xano
|
|
6678
|
-
"$ xano
|
|
6679
|
-
"$ xano
|
|
6738
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6739
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6740
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6741
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6680
6742
|
],
|
|
6681
6743
|
"flags": {
|
|
6682
6744
|
"profile": {
|
|
@@ -6698,84 +6760,28 @@
|
|
|
6698
6760
|
"allowNo": false,
|
|
6699
6761
|
"type": "boolean"
|
|
6700
6762
|
},
|
|
6701
|
-
"
|
|
6702
|
-
"
|
|
6703
|
-
"
|
|
6704
|
-
|
|
6705
|
-
"required": false,
|
|
6706
|
-
"default": "summary",
|
|
6707
|
-
"hasDynamicHelp": false,
|
|
6708
|
-
"multiple": false,
|
|
6709
|
-
"options": [
|
|
6710
|
-
"summary",
|
|
6711
|
-
"json"
|
|
6763
|
+
"clean": {
|
|
6764
|
+
"description": "Remove the source file after successful upload",
|
|
6765
|
+
"exclusive": [
|
|
6766
|
+
"value"
|
|
6712
6767
|
],
|
|
6713
|
-
"
|
|
6714
|
-
},
|
|
6715
|
-
"workspace": {
|
|
6716
|
-
"char": "w",
|
|
6717
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
6718
|
-
"name": "workspace",
|
|
6768
|
+
"name": "clean",
|
|
6719
6769
|
"required": false,
|
|
6720
|
-
"
|
|
6721
|
-
"
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
"pluginType": "core",
|
|
6731
|
-
"strict": true,
|
|
6732
|
-
"enableJsonFlag": false,
|
|
6733
|
-
"isESM": true,
|
|
6734
|
-
"relativePath": [
|
|
6735
|
-
"dist",
|
|
6736
|
-
"commands",
|
|
6737
|
-
"static_host",
|
|
6738
|
-
"build",
|
|
6739
|
-
"get",
|
|
6740
|
-
"index.js"
|
|
6741
|
-
]
|
|
6742
|
-
},
|
|
6743
|
-
"static_host:build:list": {
|
|
6744
|
-
"aliases": [],
|
|
6745
|
-
"args": {
|
|
6746
|
-
"static_host": {
|
|
6747
|
-
"description": "Static Host name",
|
|
6748
|
-
"name": "static_host",
|
|
6749
|
-
"required": true
|
|
6750
|
-
}
|
|
6751
|
-
},
|
|
6752
|
-
"description": "List all builds for a static host",
|
|
6753
|
-
"examples": [
|
|
6754
|
-
"$ 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",
|
|
6755
|
-
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
6756
|
-
"$ 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",
|
|
6757
|
-
"$ 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"
|
|
6758
|
-
],
|
|
6759
|
-
"flags": {
|
|
6760
|
-
"profile": {
|
|
6761
|
-
"char": "p",
|
|
6762
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6763
|
-
"env": "XANO_PROFILE",
|
|
6764
|
-
"name": "profile",
|
|
6770
|
+
"allowNo": false,
|
|
6771
|
+
"type": "boolean"
|
|
6772
|
+
},
|
|
6773
|
+
"file": {
|
|
6774
|
+
"char": "f",
|
|
6775
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6776
|
+
"exclusive": [
|
|
6777
|
+
"value"
|
|
6778
|
+
],
|
|
6779
|
+
"name": "file",
|
|
6765
6780
|
"required": false,
|
|
6766
6781
|
"hasDynamicHelp": false,
|
|
6767
6782
|
"multiple": false,
|
|
6768
6783
|
"type": "option"
|
|
6769
6784
|
},
|
|
6770
|
-
"verbose": {
|
|
6771
|
-
"char": "v",
|
|
6772
|
-
"description": "Show detailed request/response information",
|
|
6773
|
-
"env": "XANO_VERBOSE",
|
|
6774
|
-
"name": "verbose",
|
|
6775
|
-
"required": false,
|
|
6776
|
-
"allowNo": false,
|
|
6777
|
-
"type": "boolean"
|
|
6778
|
-
},
|
|
6779
6785
|
"output": {
|
|
6780
6786
|
"char": "o",
|
|
6781
6787
|
"description": "Output format",
|
|
@@ -6790,27 +6796,21 @@
|
|
|
6790
6796
|
],
|
|
6791
6797
|
"type": "option"
|
|
6792
6798
|
},
|
|
6793
|
-
"
|
|
6794
|
-
"description": "
|
|
6795
|
-
"
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
"
|
|
6800
|
-
"type": "option"
|
|
6801
|
-
},
|
|
6802
|
-
"per_page": {
|
|
6803
|
-
"description": "Number of results per page",
|
|
6804
|
-
"name": "per_page",
|
|
6799
|
+
"value": {
|
|
6800
|
+
"description": "Inline license value",
|
|
6801
|
+
"exclusive": [
|
|
6802
|
+
"file",
|
|
6803
|
+
"clean"
|
|
6804
|
+
],
|
|
6805
|
+
"name": "value",
|
|
6805
6806
|
"required": false,
|
|
6806
|
-
"default": 50,
|
|
6807
6807
|
"hasDynamicHelp": false,
|
|
6808
6808
|
"multiple": false,
|
|
6809
6809
|
"type": "option"
|
|
6810
6810
|
},
|
|
6811
6811
|
"workspace": {
|
|
6812
6812
|
"char": "w",
|
|
6813
|
-
"description": "Workspace ID (
|
|
6813
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6814
6814
|
"name": "workspace",
|
|
6815
6815
|
"required": false,
|
|
6816
6816
|
"hasDynamicHelp": false,
|
|
@@ -6820,7 +6820,7 @@
|
|
|
6820
6820
|
},
|
|
6821
6821
|
"hasDynamicHelp": false,
|
|
6822
6822
|
"hiddenAliases": [],
|
|
6823
|
-
"id": "
|
|
6823
|
+
"id": "tenant:license:set",
|
|
6824
6824
|
"pluginAlias": "@xano/cli",
|
|
6825
6825
|
"pluginName": "@xano/cli",
|
|
6826
6826
|
"pluginType": "core",
|
|
@@ -6830,9 +6830,9 @@
|
|
|
6830
6830
|
"relativePath": [
|
|
6831
6831
|
"dist",
|
|
6832
6832
|
"commands",
|
|
6833
|
-
"
|
|
6834
|
-
"
|
|
6835
|
-
"
|
|
6833
|
+
"tenant",
|
|
6834
|
+
"license",
|
|
6835
|
+
"set",
|
|
6836
6836
|
"index.js"
|
|
6837
6837
|
]
|
|
6838
6838
|
},
|
|
@@ -7027,5 +7027,5 @@
|
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.53"
|
|
7031
7031
|
}
|