@xano/cli 0.0.68 → 0.0.69-beta.1
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/dist/commands/workspace/push/index.d.ts +3 -0
- package/dist/commands/workspace/push/index.js +242 -13
- package/oclif.manifest.json +1287 -1281
- package/package.json +2 -1
package/oclif.manifest.json
CHANGED
|
@@ -93,14 +93,20 @@
|
|
|
93
93
|
"index.js"
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
|
-
"branch:
|
|
96
|
+
"branch:edit": {
|
|
97
97
|
"aliases": [],
|
|
98
|
-
"args": {
|
|
99
|
-
|
|
98
|
+
"args": {
|
|
99
|
+
"branch_label": {
|
|
100
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
101
|
+
"name": "branch_label",
|
|
102
|
+
"required": true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
100
106
|
"examples": [
|
|
101
|
-
"$ xano branch
|
|
102
|
-
"$ xano branch
|
|
103
|
-
"$ xano branch
|
|
107
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
108
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
109
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
104
110
|
],
|
|
105
111
|
"flags": {
|
|
106
112
|
"profile": {
|
|
@@ -124,7 +130,7 @@
|
|
|
124
130
|
},
|
|
125
131
|
"color": {
|
|
126
132
|
"char": "c",
|
|
127
|
-
"description": "
|
|
133
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
128
134
|
"name": "color",
|
|
129
135
|
"required": false,
|
|
130
136
|
"hasDynamicHelp": false,
|
|
@@ -133,7 +139,7 @@
|
|
|
133
139
|
},
|
|
134
140
|
"description": {
|
|
135
141
|
"char": "d",
|
|
136
|
-
"description": "
|
|
142
|
+
"description": "New description for the branch",
|
|
137
143
|
"name": "description",
|
|
138
144
|
"required": false,
|
|
139
145
|
"hasDynamicHelp": false,
|
|
@@ -142,9 +148,9 @@
|
|
|
142
148
|
},
|
|
143
149
|
"label": {
|
|
144
150
|
"char": "l",
|
|
145
|
-
"description": "
|
|
151
|
+
"description": "New label for the branch",
|
|
146
152
|
"name": "label",
|
|
147
|
-
"required":
|
|
153
|
+
"required": false,
|
|
148
154
|
"hasDynamicHelp": false,
|
|
149
155
|
"multiple": false,
|
|
150
156
|
"type": "option"
|
|
@@ -163,16 +169,6 @@
|
|
|
163
169
|
],
|
|
164
170
|
"type": "option"
|
|
165
171
|
},
|
|
166
|
-
"source": {
|
|
167
|
-
"char": "s",
|
|
168
|
-
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
169
|
-
"name": "source",
|
|
170
|
-
"required": false,
|
|
171
|
-
"default": "v1",
|
|
172
|
-
"hasDynamicHelp": false,
|
|
173
|
-
"multiple": false,
|
|
174
|
-
"type": "option"
|
|
175
|
-
},
|
|
176
172
|
"workspace": {
|
|
177
173
|
"char": "w",
|
|
178
174
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -185,7 +181,7 @@
|
|
|
185
181
|
},
|
|
186
182
|
"hasDynamicHelp": false,
|
|
187
183
|
"hiddenAliases": [],
|
|
188
|
-
"id": "branch:
|
|
184
|
+
"id": "branch:edit",
|
|
189
185
|
"pluginAlias": "@xano/cli",
|
|
190
186
|
"pluginName": "@xano/cli",
|
|
191
187
|
"pluginType": "core",
|
|
@@ -196,7 +192,7 @@
|
|
|
196
192
|
"dist",
|
|
197
193
|
"commands",
|
|
198
194
|
"branch",
|
|
199
|
-
"
|
|
195
|
+
"edit",
|
|
200
196
|
"index.js"
|
|
201
197
|
]
|
|
202
198
|
},
|
|
@@ -284,20 +280,14 @@
|
|
|
284
280
|
"index.js"
|
|
285
281
|
]
|
|
286
282
|
},
|
|
287
|
-
"branch:
|
|
283
|
+
"branch:create": {
|
|
288
284
|
"aliases": [],
|
|
289
|
-
"args": {
|
|
290
|
-
|
|
291
|
-
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
292
|
-
"name": "branch_label",
|
|
293
|
-
"required": true
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
285
|
+
"args": {},
|
|
286
|
+
"description": "Create a new branch by cloning from an existing branch",
|
|
297
287
|
"examples": [
|
|
298
|
-
"$ xano branch
|
|
299
|
-
"$ xano branch
|
|
300
|
-
"$ xano branch
|
|
288
|
+
"$ xano branch create --label dev\nCreated branch: dev\n Cloned from: v1\n",
|
|
289
|
+
"$ xano branch create -l feature-auth -s dev -d \"Authentication feature\"\nCreated branch: feature-auth\n Cloned from: dev\n Description: Authentication feature\n",
|
|
290
|
+
"$ xano branch create --label staging --color \"#ebc346\" --output json\n{\n \"created_at\": \"2024-02-11T10:00:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
301
291
|
],
|
|
302
292
|
"flags": {
|
|
303
293
|
"profile": {
|
|
@@ -321,7 +311,7 @@
|
|
|
321
311
|
},
|
|
322
312
|
"color": {
|
|
323
313
|
"char": "c",
|
|
324
|
-
"description": "
|
|
314
|
+
"description": "Color hex code for the branch (e.g., \"#ebc346\")",
|
|
325
315
|
"name": "color",
|
|
326
316
|
"required": false,
|
|
327
317
|
"hasDynamicHelp": false,
|
|
@@ -330,7 +320,7 @@
|
|
|
330
320
|
},
|
|
331
321
|
"description": {
|
|
332
322
|
"char": "d",
|
|
333
|
-
"description": "
|
|
323
|
+
"description": "Description for the new branch",
|
|
334
324
|
"name": "description",
|
|
335
325
|
"required": false,
|
|
336
326
|
"hasDynamicHelp": false,
|
|
@@ -339,9 +329,9 @@
|
|
|
339
329
|
},
|
|
340
330
|
"label": {
|
|
341
331
|
"char": "l",
|
|
342
|
-
"description": "
|
|
332
|
+
"description": "Label for the new branch",
|
|
343
333
|
"name": "label",
|
|
344
|
-
"required":
|
|
334
|
+
"required": true,
|
|
345
335
|
"hasDynamicHelp": false,
|
|
346
336
|
"multiple": false,
|
|
347
337
|
"type": "option"
|
|
@@ -360,6 +350,16 @@
|
|
|
360
350
|
],
|
|
361
351
|
"type": "option"
|
|
362
352
|
},
|
|
353
|
+
"source": {
|
|
354
|
+
"char": "s",
|
|
355
|
+
"description": "Source branch to clone from (defaults to \"v1\")",
|
|
356
|
+
"name": "source",
|
|
357
|
+
"required": false,
|
|
358
|
+
"default": "v1",
|
|
359
|
+
"hasDynamicHelp": false,
|
|
360
|
+
"multiple": false,
|
|
361
|
+
"type": "option"
|
|
362
|
+
},
|
|
363
363
|
"workspace": {
|
|
364
364
|
"char": "w",
|
|
365
365
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
},
|
|
373
373
|
"hasDynamicHelp": false,
|
|
374
374
|
"hiddenAliases": [],
|
|
375
|
-
"id": "branch:
|
|
375
|
+
"id": "branch:create",
|
|
376
376
|
"pluginAlias": "@xano/cli",
|
|
377
377
|
"pluginName": "@xano/cli",
|
|
378
378
|
"pluginType": "core",
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
"dist",
|
|
384
384
|
"commands",
|
|
385
385
|
"branch",
|
|
386
|
-
"
|
|
386
|
+
"create",
|
|
387
387
|
"index.js"
|
|
388
388
|
]
|
|
389
389
|
},
|
|
@@ -463,20 +463,20 @@
|
|
|
463
463
|
"index.js"
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
|
-
"branch:
|
|
466
|
+
"branch:set_live": {
|
|
467
467
|
"aliases": [],
|
|
468
468
|
"args": {
|
|
469
|
-
"
|
|
470
|
-
"description": "
|
|
471
|
-
"name": "
|
|
472
|
-
"required":
|
|
469
|
+
"branch_label": {
|
|
470
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
471
|
+
"name": "branch_label",
|
|
472
|
+
"required": true
|
|
473
473
|
}
|
|
474
474
|
},
|
|
475
|
-
"description": "
|
|
475
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
476
476
|
"examples": [
|
|
477
|
-
"$ xano branch
|
|
478
|
-
"$ xano branch
|
|
479
|
-
"$ xano branch
|
|
477
|
+
"$ 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",
|
|
478
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
479
|
+
"$ 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"
|
|
480
480
|
],
|
|
481
481
|
"flags": {
|
|
482
482
|
"profile": {
|
|
@@ -498,6 +498,14 @@
|
|
|
498
498
|
"allowNo": false,
|
|
499
499
|
"type": "boolean"
|
|
500
500
|
},
|
|
501
|
+
"force": {
|
|
502
|
+
"char": "f",
|
|
503
|
+
"description": "Skip confirmation prompt",
|
|
504
|
+
"name": "force",
|
|
505
|
+
"required": false,
|
|
506
|
+
"allowNo": false,
|
|
507
|
+
"type": "boolean"
|
|
508
|
+
},
|
|
501
509
|
"output": {
|
|
502
510
|
"char": "o",
|
|
503
511
|
"description": "Output format",
|
|
@@ -511,77 +519,20 @@
|
|
|
511
519
|
"json"
|
|
512
520
|
],
|
|
513
521
|
"type": "option"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
"hasDynamicHelp": false,
|
|
517
|
-
"hiddenAliases": [],
|
|
518
|
-
"id": "branch:list",
|
|
519
|
-
"pluginAlias": "@xano/cli",
|
|
520
|
-
"pluginName": "@xano/cli",
|
|
521
|
-
"pluginType": "core",
|
|
522
|
-
"strict": true,
|
|
523
|
-
"enableJsonFlag": false,
|
|
524
|
-
"isESM": true,
|
|
525
|
-
"relativePath": [
|
|
526
|
-
"dist",
|
|
527
|
-
"commands",
|
|
528
|
-
"branch",
|
|
529
|
-
"list",
|
|
530
|
-
"index.js"
|
|
531
|
-
]
|
|
532
|
-
},
|
|
533
|
-
"platform:get": {
|
|
534
|
-
"aliases": [],
|
|
535
|
-
"args": {
|
|
536
|
-
"platform_id": {
|
|
537
|
-
"description": "Platform ID to retrieve",
|
|
538
|
-
"name": "platform_id",
|
|
539
|
-
"required": true
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
"description": "Get details of a specific platform",
|
|
543
|
-
"examples": [
|
|
544
|
-
"$ 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",
|
|
545
|
-
"$ xano platform get 23629 -o json"
|
|
546
|
-
],
|
|
547
|
-
"flags": {
|
|
548
|
-
"profile": {
|
|
549
|
-
"char": "p",
|
|
550
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
551
|
-
"env": "XANO_PROFILE",
|
|
552
|
-
"name": "profile",
|
|
553
|
-
"required": false,
|
|
554
|
-
"hasDynamicHelp": false,
|
|
555
|
-
"multiple": false,
|
|
556
|
-
"type": "option"
|
|
557
|
-
},
|
|
558
|
-
"verbose": {
|
|
559
|
-
"char": "v",
|
|
560
|
-
"description": "Show detailed request/response information",
|
|
561
|
-
"env": "XANO_VERBOSE",
|
|
562
|
-
"name": "verbose",
|
|
563
|
-
"required": false,
|
|
564
|
-
"allowNo": false,
|
|
565
|
-
"type": "boolean"
|
|
566
522
|
},
|
|
567
|
-
"
|
|
568
|
-
"char": "
|
|
569
|
-
"description": "
|
|
570
|
-
"name": "
|
|
523
|
+
"workspace": {
|
|
524
|
+
"char": "w",
|
|
525
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
526
|
+
"name": "workspace",
|
|
571
527
|
"required": false,
|
|
572
|
-
"default": "summary",
|
|
573
528
|
"hasDynamicHelp": false,
|
|
574
529
|
"multiple": false,
|
|
575
|
-
"options": [
|
|
576
|
-
"summary",
|
|
577
|
-
"json"
|
|
578
|
-
],
|
|
579
530
|
"type": "option"
|
|
580
531
|
}
|
|
581
532
|
},
|
|
582
533
|
"hasDynamicHelp": false,
|
|
583
534
|
"hiddenAliases": [],
|
|
584
|
-
"id": "
|
|
535
|
+
"id": "branch:set_live",
|
|
585
536
|
"pluginAlias": "@xano/cli",
|
|
586
537
|
"pluginName": "@xano/cli",
|
|
587
538
|
"pluginType": "core",
|
|
@@ -591,18 +542,25 @@
|
|
|
591
542
|
"relativePath": [
|
|
592
543
|
"dist",
|
|
593
544
|
"commands",
|
|
594
|
-
"
|
|
595
|
-
"
|
|
545
|
+
"branch",
|
|
546
|
+
"set_live",
|
|
596
547
|
"index.js"
|
|
597
548
|
]
|
|
598
549
|
},
|
|
599
|
-
"
|
|
550
|
+
"branch:list": {
|
|
600
551
|
"aliases": [],
|
|
601
|
-
"args": {
|
|
602
|
-
|
|
552
|
+
"args": {
|
|
553
|
+
"workspace_id": {
|
|
554
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
555
|
+
"name": "workspace_id",
|
|
556
|
+
"required": false
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"description": "List all branches in a workspace",
|
|
603
560
|
"examples": [
|
|
604
|
-
"$ xano
|
|
605
|
-
"$ xano
|
|
561
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
562
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
563
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
606
564
|
],
|
|
607
565
|
"flags": {
|
|
608
566
|
"profile": {
|
|
@@ -641,7 +599,7 @@
|
|
|
641
599
|
},
|
|
642
600
|
"hasDynamicHelp": false,
|
|
643
601
|
"hiddenAliases": [],
|
|
644
|
-
"id": "
|
|
602
|
+
"id": "branch:list",
|
|
645
603
|
"pluginAlias": "@xano/cli",
|
|
646
604
|
"pluginName": "@xano/cli",
|
|
647
605
|
"pluginType": "core",
|
|
@@ -651,21 +609,30 @@
|
|
|
651
609
|
"relativePath": [
|
|
652
610
|
"dist",
|
|
653
611
|
"commands",
|
|
654
|
-
"
|
|
612
|
+
"branch",
|
|
655
613
|
"list",
|
|
656
614
|
"index.js"
|
|
657
615
|
]
|
|
658
616
|
},
|
|
659
|
-
"function:
|
|
617
|
+
"function:edit": {
|
|
660
618
|
"aliases": [],
|
|
661
|
-
"args": {
|
|
662
|
-
|
|
619
|
+
"args": {
|
|
620
|
+
"function_id": {
|
|
621
|
+
"description": "Function ID to edit",
|
|
622
|
+
"name": "function_id",
|
|
623
|
+
"required": false
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"description": "Edit a function in a workspace",
|
|
663
627
|
"examples": [
|
|
664
|
-
"$ xano function:
|
|
665
|
-
"$ xano function:
|
|
666
|
-
"$ xano function:
|
|
667
|
-
"$
|
|
668
|
-
"$ xano function:
|
|
628
|
+
"$ 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",
|
|
629
|
+
"$ 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",
|
|
630
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
631
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
632
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
633
|
+
"$ 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",
|
|
634
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
635
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
669
636
|
],
|
|
670
637
|
"flags": {
|
|
671
638
|
"profile": {
|
|
@@ -689,10 +656,7 @@
|
|
|
689
656
|
},
|
|
690
657
|
"edit": {
|
|
691
658
|
"char": "e",
|
|
692
|
-
"
|
|
693
|
-
"file"
|
|
694
|
-
],
|
|
695
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
659
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
696
660
|
"name": "edit",
|
|
697
661
|
"required": false,
|
|
698
662
|
"allowNo": false,
|
|
@@ -724,6 +688,13 @@
|
|
|
724
688
|
],
|
|
725
689
|
"type": "option"
|
|
726
690
|
},
|
|
691
|
+
"publish": {
|
|
692
|
+
"description": "Publish the function after editing",
|
|
693
|
+
"name": "publish",
|
|
694
|
+
"required": false,
|
|
695
|
+
"allowNo": false,
|
|
696
|
+
"type": "boolean"
|
|
697
|
+
},
|
|
727
698
|
"stdin": {
|
|
728
699
|
"char": "s",
|
|
729
700
|
"description": "Read XanoScript code from stdin",
|
|
@@ -747,7 +718,7 @@
|
|
|
747
718
|
},
|
|
748
719
|
"hasDynamicHelp": false,
|
|
749
720
|
"hiddenAliases": [],
|
|
750
|
-
"id": "function:
|
|
721
|
+
"id": "function:edit",
|
|
751
722
|
"pluginAlias": "@xano/cli",
|
|
752
723
|
"pluginName": "@xano/cli",
|
|
753
724
|
"pluginType": "core",
|
|
@@ -758,32 +729,30 @@
|
|
|
758
729
|
"dist",
|
|
759
730
|
"commands",
|
|
760
731
|
"function",
|
|
761
|
-
"
|
|
732
|
+
"edit",
|
|
762
733
|
"index.js"
|
|
763
734
|
]
|
|
764
735
|
},
|
|
765
|
-
"function:
|
|
736
|
+
"function:get": {
|
|
766
737
|
"aliases": [],
|
|
767
738
|
"args": {
|
|
768
739
|
"function_id": {
|
|
769
|
-
"description": "Function ID
|
|
740
|
+
"description": "Function ID",
|
|
770
741
|
"name": "function_id",
|
|
771
742
|
"required": false
|
|
772
743
|
}
|
|
773
744
|
},
|
|
774
|
-
"description": "
|
|
745
|
+
"description": "Get a specific function from a workspace",
|
|
775
746
|
"examples": [
|
|
776
|
-
"$ xano function:
|
|
777
|
-
"$ xano function:
|
|
778
|
-
"$ xano function:
|
|
779
|
-
"$ xano function:
|
|
780
|
-
"$ xano function:
|
|
781
|
-
"$ xano function:
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
"flags": {
|
|
786
|
-
"profile": {
|
|
747
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
748
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
749
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
750
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
751
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
752
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
753
|
+
],
|
|
754
|
+
"flags": {
|
|
755
|
+
"profile": {
|
|
787
756
|
"char": "p",
|
|
788
757
|
"description": "Profile to use (uses default profile if not specified)",
|
|
789
758
|
"env": "XANO_PROFILE",
|
|
@@ -802,25 +771,19 @@
|
|
|
802
771
|
"allowNo": false,
|
|
803
772
|
"type": "boolean"
|
|
804
773
|
},
|
|
805
|
-
"
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
"name": "edit",
|
|
774
|
+
"include_draft": {
|
|
775
|
+
"description": "Include draft version",
|
|
776
|
+
"name": "include_draft",
|
|
809
777
|
"required": false,
|
|
810
778
|
"allowNo": false,
|
|
811
779
|
"type": "boolean"
|
|
812
780
|
},
|
|
813
|
-
"
|
|
814
|
-
"
|
|
815
|
-
"
|
|
816
|
-
"exclusive": [
|
|
817
|
-
"stdin"
|
|
818
|
-
],
|
|
819
|
-
"name": "file",
|
|
781
|
+
"include_xanoscript": {
|
|
782
|
+
"description": "Include XanoScript in response",
|
|
783
|
+
"name": "include_xanoscript",
|
|
820
784
|
"required": false,
|
|
821
|
-
"
|
|
822
|
-
"
|
|
823
|
-
"type": "option"
|
|
785
|
+
"allowNo": false,
|
|
786
|
+
"type": "boolean"
|
|
824
787
|
},
|
|
825
788
|
"output": {
|
|
826
789
|
"char": "o",
|
|
@@ -832,28 +795,11 @@
|
|
|
832
795
|
"multiple": false,
|
|
833
796
|
"options": [
|
|
834
797
|
"summary",
|
|
835
|
-
"json"
|
|
798
|
+
"json",
|
|
799
|
+
"xs"
|
|
836
800
|
],
|
|
837
801
|
"type": "option"
|
|
838
802
|
},
|
|
839
|
-
"publish": {
|
|
840
|
-
"description": "Publish the function after editing",
|
|
841
|
-
"name": "publish",
|
|
842
|
-
"required": false,
|
|
843
|
-
"allowNo": false,
|
|
844
|
-
"type": "boolean"
|
|
845
|
-
},
|
|
846
|
-
"stdin": {
|
|
847
|
-
"char": "s",
|
|
848
|
-
"description": "Read XanoScript code from stdin",
|
|
849
|
-
"exclusive": [
|
|
850
|
-
"file"
|
|
851
|
-
],
|
|
852
|
-
"name": "stdin",
|
|
853
|
-
"required": false,
|
|
854
|
-
"allowNo": false,
|
|
855
|
-
"type": "boolean"
|
|
856
|
-
},
|
|
857
803
|
"workspace": {
|
|
858
804
|
"char": "w",
|
|
859
805
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -866,7 +812,7 @@
|
|
|
866
812
|
},
|
|
867
813
|
"hasDynamicHelp": false,
|
|
868
814
|
"hiddenAliases": [],
|
|
869
|
-
"id": "function:
|
|
815
|
+
"id": "function:get",
|
|
870
816
|
"pluginAlias": "@xano/cli",
|
|
871
817
|
"pluginName": "@xano/cli",
|
|
872
818
|
"pluginType": "core",
|
|
@@ -877,7 +823,7 @@
|
|
|
877
823
|
"dist",
|
|
878
824
|
"commands",
|
|
879
825
|
"function",
|
|
880
|
-
"
|
|
826
|
+
"get",
|
|
881
827
|
"index.js"
|
|
882
828
|
]
|
|
883
829
|
},
|
|
@@ -1006,23 +952,19 @@
|
|
|
1006
952
|
"index.js"
|
|
1007
953
|
]
|
|
1008
954
|
},
|
|
1009
|
-
"
|
|
955
|
+
"platform:get": {
|
|
1010
956
|
"aliases": [],
|
|
1011
957
|
"args": {
|
|
1012
|
-
"
|
|
1013
|
-
"description": "
|
|
1014
|
-
"name": "
|
|
1015
|
-
"required":
|
|
958
|
+
"platform_id": {
|
|
959
|
+
"description": "Platform ID to retrieve",
|
|
960
|
+
"name": "platform_id",
|
|
961
|
+
"required": true
|
|
1016
962
|
}
|
|
1017
963
|
},
|
|
1018
|
-
"description": "Get a specific
|
|
964
|
+
"description": "Get details of a specific platform",
|
|
1019
965
|
"examples": [
|
|
1020
|
-
"$ xano
|
|
1021
|
-
"$ xano
|
|
1022
|
-
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1023
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1024
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1025
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
966
|
+
"$ 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",
|
|
967
|
+
"$ xano platform get 23629 -o json"
|
|
1026
968
|
],
|
|
1027
969
|
"flags": {
|
|
1028
970
|
"profile": {
|
|
@@ -1044,16 +986,62 @@
|
|
|
1044
986
|
"allowNo": false,
|
|
1045
987
|
"type": "boolean"
|
|
1046
988
|
},
|
|
1047
|
-
"
|
|
1048
|
-
"
|
|
1049
|
-
"
|
|
989
|
+
"output": {
|
|
990
|
+
"char": "o",
|
|
991
|
+
"description": "Output format",
|
|
992
|
+
"name": "output",
|
|
1050
993
|
"required": false,
|
|
1051
|
-
"
|
|
1052
|
-
"
|
|
994
|
+
"default": "summary",
|
|
995
|
+
"hasDynamicHelp": false,
|
|
996
|
+
"multiple": false,
|
|
997
|
+
"options": [
|
|
998
|
+
"summary",
|
|
999
|
+
"json"
|
|
1000
|
+
],
|
|
1001
|
+
"type": "option"
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"hasDynamicHelp": false,
|
|
1005
|
+
"hiddenAliases": [],
|
|
1006
|
+
"id": "platform:get",
|
|
1007
|
+
"pluginAlias": "@xano/cli",
|
|
1008
|
+
"pluginName": "@xano/cli",
|
|
1009
|
+
"pluginType": "core",
|
|
1010
|
+
"strict": true,
|
|
1011
|
+
"enableJsonFlag": false,
|
|
1012
|
+
"isESM": true,
|
|
1013
|
+
"relativePath": [
|
|
1014
|
+
"dist",
|
|
1015
|
+
"commands",
|
|
1016
|
+
"platform",
|
|
1017
|
+
"get",
|
|
1018
|
+
"index.js"
|
|
1019
|
+
]
|
|
1020
|
+
},
|
|
1021
|
+
"platform:list": {
|
|
1022
|
+
"aliases": [],
|
|
1023
|
+
"args": {},
|
|
1024
|
+
"description": "List all platforms",
|
|
1025
|
+
"examples": [
|
|
1026
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1027
|
+
"$ xano platform list --output json"
|
|
1028
|
+
],
|
|
1029
|
+
"flags": {
|
|
1030
|
+
"profile": {
|
|
1031
|
+
"char": "p",
|
|
1032
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1033
|
+
"env": "XANO_PROFILE",
|
|
1034
|
+
"name": "profile",
|
|
1035
|
+
"required": false,
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"multiple": false,
|
|
1038
|
+
"type": "option"
|
|
1053
1039
|
},
|
|
1054
|
-
"
|
|
1055
|
-
"
|
|
1056
|
-
"
|
|
1040
|
+
"verbose": {
|
|
1041
|
+
"char": "v",
|
|
1042
|
+
"description": "Show detailed request/response information",
|
|
1043
|
+
"env": "XANO_VERBOSE",
|
|
1044
|
+
"name": "verbose",
|
|
1057
1045
|
"required": false,
|
|
1058
1046
|
"allowNo": false,
|
|
1059
1047
|
"type": "boolean"
|
|
@@ -1068,24 +1056,14 @@
|
|
|
1068
1056
|
"multiple": false,
|
|
1069
1057
|
"options": [
|
|
1070
1058
|
"summary",
|
|
1071
|
-
"json"
|
|
1072
|
-
"xs"
|
|
1059
|
+
"json"
|
|
1073
1060
|
],
|
|
1074
1061
|
"type": "option"
|
|
1075
|
-
},
|
|
1076
|
-
"workspace": {
|
|
1077
|
-
"char": "w",
|
|
1078
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1079
|
-
"name": "workspace",
|
|
1080
|
-
"required": false,
|
|
1081
|
-
"hasDynamicHelp": false,
|
|
1082
|
-
"multiple": false,
|
|
1083
|
-
"type": "option"
|
|
1084
1062
|
}
|
|
1085
1063
|
},
|
|
1086
1064
|
"hasDynamicHelp": false,
|
|
1087
1065
|
"hiddenAliases": [],
|
|
1088
|
-
"id": "
|
|
1066
|
+
"id": "platform:list",
|
|
1089
1067
|
"pluginAlias": "@xano/cli",
|
|
1090
1068
|
"pluginName": "@xano/cli",
|
|
1091
1069
|
"pluginType": "core",
|
|
@@ -1095,8 +1073,8 @@
|
|
|
1095
1073
|
"relativePath": [
|
|
1096
1074
|
"dist",
|
|
1097
1075
|
"commands",
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1076
|
+
"platform",
|
|
1077
|
+
"list",
|
|
1100
1078
|
"index.js"
|
|
1101
1079
|
]
|
|
1102
1080
|
},
|
|
@@ -1196,6 +1174,48 @@
|
|
|
1196
1174
|
"index.js"
|
|
1197
1175
|
]
|
|
1198
1176
|
},
|
|
1177
|
+
"profile:delete": {
|
|
1178
|
+
"aliases": [],
|
|
1179
|
+
"args": {
|
|
1180
|
+
"name": {
|
|
1181
|
+
"description": "Profile name to delete",
|
|
1182
|
+
"name": "name",
|
|
1183
|
+
"required": true
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
"description": "Delete a profile configuration",
|
|
1187
|
+
"examples": [
|
|
1188
|
+
"$ 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",
|
|
1189
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1190
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1191
|
+
],
|
|
1192
|
+
"flags": {
|
|
1193
|
+
"force": {
|
|
1194
|
+
"char": "f",
|
|
1195
|
+
"description": "Skip confirmation prompt",
|
|
1196
|
+
"name": "force",
|
|
1197
|
+
"required": false,
|
|
1198
|
+
"allowNo": false,
|
|
1199
|
+
"type": "boolean"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
"hasDynamicHelp": false,
|
|
1203
|
+
"hiddenAliases": [],
|
|
1204
|
+
"id": "profile:delete",
|
|
1205
|
+
"pluginAlias": "@xano/cli",
|
|
1206
|
+
"pluginName": "@xano/cli",
|
|
1207
|
+
"pluginType": "core",
|
|
1208
|
+
"strict": true,
|
|
1209
|
+
"enableJsonFlag": false,
|
|
1210
|
+
"isESM": true,
|
|
1211
|
+
"relativePath": [
|
|
1212
|
+
"dist",
|
|
1213
|
+
"commands",
|
|
1214
|
+
"profile",
|
|
1215
|
+
"delete",
|
|
1216
|
+
"index.js"
|
|
1217
|
+
]
|
|
1218
|
+
},
|
|
1199
1219
|
"profile:edit": {
|
|
1200
1220
|
"aliases": [],
|
|
1201
1221
|
"args": {
|
|
@@ -1326,48 +1346,6 @@
|
|
|
1326
1346
|
"index.js"
|
|
1327
1347
|
]
|
|
1328
1348
|
},
|
|
1329
|
-
"profile:delete": {
|
|
1330
|
-
"aliases": [],
|
|
1331
|
-
"args": {
|
|
1332
|
-
"name": {
|
|
1333
|
-
"description": "Profile name to delete",
|
|
1334
|
-
"name": "name",
|
|
1335
|
-
"required": true
|
|
1336
|
-
}
|
|
1337
|
-
},
|
|
1338
|
-
"description": "Delete a profile configuration",
|
|
1339
|
-
"examples": [
|
|
1340
|
-
"$ 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",
|
|
1341
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1342
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1343
|
-
],
|
|
1344
|
-
"flags": {
|
|
1345
|
-
"force": {
|
|
1346
|
-
"char": "f",
|
|
1347
|
-
"description": "Skip confirmation prompt",
|
|
1348
|
-
"name": "force",
|
|
1349
|
-
"required": false,
|
|
1350
|
-
"allowNo": false,
|
|
1351
|
-
"type": "boolean"
|
|
1352
|
-
}
|
|
1353
|
-
},
|
|
1354
|
-
"hasDynamicHelp": false,
|
|
1355
|
-
"hiddenAliases": [],
|
|
1356
|
-
"id": "profile:delete",
|
|
1357
|
-
"pluginAlias": "@xano/cli",
|
|
1358
|
-
"pluginName": "@xano/cli",
|
|
1359
|
-
"pluginType": "core",
|
|
1360
|
-
"strict": true,
|
|
1361
|
-
"enableJsonFlag": false,
|
|
1362
|
-
"isESM": true,
|
|
1363
|
-
"relativePath": [
|
|
1364
|
-
"dist",
|
|
1365
|
-
"commands",
|
|
1366
|
-
"profile",
|
|
1367
|
-
"delete",
|
|
1368
|
-
"index.js"
|
|
1369
|
-
]
|
|
1370
|
-
},
|
|
1371
1349
|
"profile:get": {
|
|
1372
1350
|
"aliases": [],
|
|
1373
1351
|
"args": {},
|
|
@@ -1429,14 +1407,45 @@
|
|
|
1429
1407
|
"index.js"
|
|
1430
1408
|
]
|
|
1431
1409
|
},
|
|
1432
|
-
"profile:
|
|
1410
|
+
"profile:set": {
|
|
1433
1411
|
"aliases": [],
|
|
1434
|
-
"args": {
|
|
1435
|
-
|
|
1412
|
+
"args": {
|
|
1413
|
+
"name": {
|
|
1414
|
+
"description": "Profile name to set as default",
|
|
1415
|
+
"name": "name",
|
|
1416
|
+
"required": true
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
"description": "Set the default profile",
|
|
1436
1420
|
"examples": [
|
|
1437
|
-
"$ xano profile
|
|
1438
|
-
|
|
1439
|
-
|
|
1421
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1422
|
+
],
|
|
1423
|
+
"flags": {},
|
|
1424
|
+
"hasDynamicHelp": false,
|
|
1425
|
+
"hiddenAliases": [],
|
|
1426
|
+
"id": "profile:set",
|
|
1427
|
+
"pluginAlias": "@xano/cli",
|
|
1428
|
+
"pluginName": "@xano/cli",
|
|
1429
|
+
"pluginType": "core",
|
|
1430
|
+
"strict": true,
|
|
1431
|
+
"enableJsonFlag": false,
|
|
1432
|
+
"isESM": true,
|
|
1433
|
+
"relativePath": [
|
|
1434
|
+
"dist",
|
|
1435
|
+
"commands",
|
|
1436
|
+
"profile",
|
|
1437
|
+
"set",
|
|
1438
|
+
"index.js"
|
|
1439
|
+
]
|
|
1440
|
+
},
|
|
1441
|
+
"profile:me": {
|
|
1442
|
+
"aliases": [],
|
|
1443
|
+
"args": {},
|
|
1444
|
+
"description": "Get information about the currently authenticated user",
|
|
1445
|
+
"examples": [
|
|
1446
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1447
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1448
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1440
1449
|
],
|
|
1441
1450
|
"flags": {
|
|
1442
1451
|
"profile": {
|
|
@@ -1490,37 +1499,6 @@
|
|
|
1490
1499
|
"index.js"
|
|
1491
1500
|
]
|
|
1492
1501
|
},
|
|
1493
|
-
"profile:set": {
|
|
1494
|
-
"aliases": [],
|
|
1495
|
-
"args": {
|
|
1496
|
-
"name": {
|
|
1497
|
-
"description": "Profile name to set as default",
|
|
1498
|
-
"name": "name",
|
|
1499
|
-
"required": true
|
|
1500
|
-
}
|
|
1501
|
-
},
|
|
1502
|
-
"description": "Set the default profile",
|
|
1503
|
-
"examples": [
|
|
1504
|
-
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1505
|
-
],
|
|
1506
|
-
"flags": {},
|
|
1507
|
-
"hasDynamicHelp": false,
|
|
1508
|
-
"hiddenAliases": [],
|
|
1509
|
-
"id": "profile:set",
|
|
1510
|
-
"pluginAlias": "@xano/cli",
|
|
1511
|
-
"pluginName": "@xano/cli",
|
|
1512
|
-
"pluginType": "core",
|
|
1513
|
-
"strict": true,
|
|
1514
|
-
"enableJsonFlag": false,
|
|
1515
|
-
"isESM": true,
|
|
1516
|
-
"relativePath": [
|
|
1517
|
-
"dist",
|
|
1518
|
-
"commands",
|
|
1519
|
-
"profile",
|
|
1520
|
-
"set",
|
|
1521
|
-
"index.js"
|
|
1522
|
-
]
|
|
1523
|
-
},
|
|
1524
1502
|
"profile:token": {
|
|
1525
1503
|
"aliases": [],
|
|
1526
1504
|
"args": {},
|
|
@@ -1626,90 +1604,6 @@
|
|
|
1626
1604
|
"index.js"
|
|
1627
1605
|
]
|
|
1628
1606
|
},
|
|
1629
|
-
"branch:set_live": {
|
|
1630
|
-
"aliases": [],
|
|
1631
|
-
"args": {
|
|
1632
|
-
"branch_label": {
|
|
1633
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
1634
|
-
"name": "branch_label",
|
|
1635
|
-
"required": true
|
|
1636
|
-
}
|
|
1637
|
-
},
|
|
1638
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
1639
|
-
"examples": [
|
|
1640
|
-
"$ 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",
|
|
1641
|
-
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
1642
|
-
"$ 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"
|
|
1643
|
-
],
|
|
1644
|
-
"flags": {
|
|
1645
|
-
"profile": {
|
|
1646
|
-
"char": "p",
|
|
1647
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1648
|
-
"env": "XANO_PROFILE",
|
|
1649
|
-
"name": "profile",
|
|
1650
|
-
"required": false,
|
|
1651
|
-
"hasDynamicHelp": false,
|
|
1652
|
-
"multiple": false,
|
|
1653
|
-
"type": "option"
|
|
1654
|
-
},
|
|
1655
|
-
"verbose": {
|
|
1656
|
-
"char": "v",
|
|
1657
|
-
"description": "Show detailed request/response information",
|
|
1658
|
-
"env": "XANO_VERBOSE",
|
|
1659
|
-
"name": "verbose",
|
|
1660
|
-
"required": false,
|
|
1661
|
-
"allowNo": false,
|
|
1662
|
-
"type": "boolean"
|
|
1663
|
-
},
|
|
1664
|
-
"force": {
|
|
1665
|
-
"char": "f",
|
|
1666
|
-
"description": "Skip confirmation prompt",
|
|
1667
|
-
"name": "force",
|
|
1668
|
-
"required": false,
|
|
1669
|
-
"allowNo": false,
|
|
1670
|
-
"type": "boolean"
|
|
1671
|
-
},
|
|
1672
|
-
"output": {
|
|
1673
|
-
"char": "o",
|
|
1674
|
-
"description": "Output format",
|
|
1675
|
-
"name": "output",
|
|
1676
|
-
"required": false,
|
|
1677
|
-
"default": "summary",
|
|
1678
|
-
"hasDynamicHelp": false,
|
|
1679
|
-
"multiple": false,
|
|
1680
|
-
"options": [
|
|
1681
|
-
"summary",
|
|
1682
|
-
"json"
|
|
1683
|
-
],
|
|
1684
|
-
"type": "option"
|
|
1685
|
-
},
|
|
1686
|
-
"workspace": {
|
|
1687
|
-
"char": "w",
|
|
1688
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1689
|
-
"name": "workspace",
|
|
1690
|
-
"required": false,
|
|
1691
|
-
"hasDynamicHelp": false,
|
|
1692
|
-
"multiple": false,
|
|
1693
|
-
"type": "option"
|
|
1694
|
-
}
|
|
1695
|
-
},
|
|
1696
|
-
"hasDynamicHelp": false,
|
|
1697
|
-
"hiddenAliases": [],
|
|
1698
|
-
"id": "branch:set_live",
|
|
1699
|
-
"pluginAlias": "@xano/cli",
|
|
1700
|
-
"pluginName": "@xano/cli",
|
|
1701
|
-
"pluginType": "core",
|
|
1702
|
-
"strict": true,
|
|
1703
|
-
"enableJsonFlag": false,
|
|
1704
|
-
"isESM": true,
|
|
1705
|
-
"relativePath": [
|
|
1706
|
-
"dist",
|
|
1707
|
-
"commands",
|
|
1708
|
-
"branch",
|
|
1709
|
-
"set_live",
|
|
1710
|
-
"index.js"
|
|
1711
|
-
]
|
|
1712
|
-
},
|
|
1713
1607
|
"release:create": {
|
|
1714
1608
|
"aliases": [],
|
|
1715
1609
|
"args": {},
|
|
@@ -1998,19 +1892,20 @@
|
|
|
1998
1892
|
"index.js"
|
|
1999
1893
|
]
|
|
2000
1894
|
},
|
|
2001
|
-
"release:
|
|
1895
|
+
"release:export": {
|
|
2002
1896
|
"aliases": [],
|
|
2003
1897
|
"args": {
|
|
2004
1898
|
"release_name": {
|
|
2005
|
-
"description": "Release name to
|
|
1899
|
+
"description": "Release name to export",
|
|
2006
1900
|
"name": "release_name",
|
|
2007
1901
|
"required": true
|
|
2008
1902
|
}
|
|
2009
1903
|
},
|
|
2010
|
-
"description": "
|
|
1904
|
+
"description": "Export (download) a release to a local file",
|
|
2011
1905
|
"examples": [
|
|
2012
|
-
"$ xano release
|
|
2013
|
-
"$ xano release
|
|
1906
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
1907
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
1908
|
+
"$ xano release export v1.0 -o json"
|
|
2014
1909
|
],
|
|
2015
1910
|
"flags": {
|
|
2016
1911
|
"profile": {
|
|
@@ -2032,10 +1927,10 @@
|
|
|
2032
1927
|
"allowNo": false,
|
|
2033
1928
|
"type": "boolean"
|
|
2034
1929
|
},
|
|
2035
|
-
"
|
|
1930
|
+
"format": {
|
|
2036
1931
|
"char": "o",
|
|
2037
1932
|
"description": "Output format",
|
|
2038
|
-
"name": "
|
|
1933
|
+
"name": "format",
|
|
2039
1934
|
"required": false,
|
|
2040
1935
|
"default": "summary",
|
|
2041
1936
|
"hasDynamicHelp": false,
|
|
@@ -2046,6 +1941,14 @@
|
|
|
2046
1941
|
],
|
|
2047
1942
|
"type": "option"
|
|
2048
1943
|
},
|
|
1944
|
+
"output": {
|
|
1945
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1946
|
+
"name": "output",
|
|
1947
|
+
"required": false,
|
|
1948
|
+
"hasDynamicHelp": false,
|
|
1949
|
+
"multiple": false,
|
|
1950
|
+
"type": "option"
|
|
1951
|
+
},
|
|
2049
1952
|
"workspace": {
|
|
2050
1953
|
"char": "w",
|
|
2051
1954
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2058,7 +1961,7 @@
|
|
|
2058
1961
|
},
|
|
2059
1962
|
"hasDynamicHelp": false,
|
|
2060
1963
|
"hiddenAliases": [],
|
|
2061
|
-
"id": "release:
|
|
1964
|
+
"id": "release:export",
|
|
2062
1965
|
"pluginAlias": "@xano/cli",
|
|
2063
1966
|
"pluginName": "@xano/cli",
|
|
2064
1967
|
"pluginType": "core",
|
|
@@ -2069,17 +1972,23 @@
|
|
|
2069
1972
|
"dist",
|
|
2070
1973
|
"commands",
|
|
2071
1974
|
"release",
|
|
2072
|
-
"
|
|
1975
|
+
"export",
|
|
2073
1976
|
"index.js"
|
|
2074
1977
|
]
|
|
2075
1978
|
},
|
|
2076
|
-
"release:
|
|
1979
|
+
"release:get": {
|
|
2077
1980
|
"aliases": [],
|
|
2078
|
-
"args": {
|
|
2079
|
-
|
|
1981
|
+
"args": {
|
|
1982
|
+
"release_name": {
|
|
1983
|
+
"description": "Release name to retrieve",
|
|
1984
|
+
"name": "release_name",
|
|
1985
|
+
"required": true
|
|
1986
|
+
}
|
|
1987
|
+
},
|
|
1988
|
+
"description": "Get details of a specific release",
|
|
2080
1989
|
"examples": [
|
|
2081
|
-
"$ xano release
|
|
2082
|
-
"$ xano release
|
|
1990
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
1991
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2083
1992
|
],
|
|
2084
1993
|
"flags": {
|
|
2085
1994
|
"profile": {
|
|
@@ -2101,15 +2010,6 @@
|
|
|
2101
2010
|
"allowNo": false,
|
|
2102
2011
|
"type": "boolean"
|
|
2103
2012
|
},
|
|
2104
|
-
"file": {
|
|
2105
|
-
"char": "f",
|
|
2106
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2107
|
-
"name": "file",
|
|
2108
|
-
"required": true,
|
|
2109
|
-
"hasDynamicHelp": false,
|
|
2110
|
-
"multiple": false,
|
|
2111
|
-
"type": "option"
|
|
2112
|
-
},
|
|
2113
2013
|
"output": {
|
|
2114
2014
|
"char": "o",
|
|
2115
2015
|
"description": "Output format",
|
|
@@ -2136,7 +2036,7 @@
|
|
|
2136
2036
|
},
|
|
2137
2037
|
"hasDynamicHelp": false,
|
|
2138
2038
|
"hiddenAliases": [],
|
|
2139
|
-
"id": "release:
|
|
2039
|
+
"id": "release:get",
|
|
2140
2040
|
"pluginAlias": "@xano/cli",
|
|
2141
2041
|
"pluginName": "@xano/cli",
|
|
2142
2042
|
"pluginType": "core",
|
|
@@ -2147,17 +2047,17 @@
|
|
|
2147
2047
|
"dist",
|
|
2148
2048
|
"commands",
|
|
2149
2049
|
"release",
|
|
2150
|
-
"
|
|
2050
|
+
"get",
|
|
2151
2051
|
"index.js"
|
|
2152
2052
|
]
|
|
2153
2053
|
},
|
|
2154
|
-
"release:
|
|
2054
|
+
"release:import": {
|
|
2155
2055
|
"aliases": [],
|
|
2156
2056
|
"args": {},
|
|
2157
|
-
"description": "
|
|
2057
|
+
"description": "Import a release file into a workspace",
|
|
2158
2058
|
"examples": [
|
|
2159
|
-
"$ xano release
|
|
2160
|
-
"$ xano release
|
|
2059
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2060
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2161
2061
|
],
|
|
2162
2062
|
"flags": {
|
|
2163
2063
|
"profile": {
|
|
@@ -2179,6 +2079,15 @@
|
|
|
2179
2079
|
"allowNo": false,
|
|
2180
2080
|
"type": "boolean"
|
|
2181
2081
|
},
|
|
2082
|
+
"file": {
|
|
2083
|
+
"char": "f",
|
|
2084
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2085
|
+
"name": "file",
|
|
2086
|
+
"required": true,
|
|
2087
|
+
"hasDynamicHelp": false,
|
|
2088
|
+
"multiple": false,
|
|
2089
|
+
"type": "option"
|
|
2090
|
+
},
|
|
2182
2091
|
"output": {
|
|
2183
2092
|
"char": "o",
|
|
2184
2093
|
"description": "Output format",
|
|
@@ -2205,7 +2114,7 @@
|
|
|
2205
2114
|
},
|
|
2206
2115
|
"hasDynamicHelp": false,
|
|
2207
2116
|
"hiddenAliases": [],
|
|
2208
|
-
"id": "release:
|
|
2117
|
+
"id": "release:import",
|
|
2209
2118
|
"pluginAlias": "@xano/cli",
|
|
2210
2119
|
"pluginName": "@xano/cli",
|
|
2211
2120
|
"pluginType": "core",
|
|
@@ -2216,7 +2125,7 @@
|
|
|
2216
2125
|
"dist",
|
|
2217
2126
|
"commands",
|
|
2218
2127
|
"release",
|
|
2219
|
-
"
|
|
2128
|
+
"import",
|
|
2220
2129
|
"index.js"
|
|
2221
2130
|
]
|
|
2222
2131
|
},
|
|
@@ -2305,22 +2214,13 @@
|
|
|
2305
2214
|
"index.js"
|
|
2306
2215
|
]
|
|
2307
2216
|
},
|
|
2308
|
-
"release:
|
|
2217
|
+
"release:list": {
|
|
2309
2218
|
"aliases": [],
|
|
2310
|
-
"args": {
|
|
2311
|
-
|
|
2312
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2313
|
-
"name": "directory",
|
|
2314
|
-
"required": true
|
|
2315
|
-
}
|
|
2316
|
-
},
|
|
2317
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2219
|
+
"args": {},
|
|
2220
|
+
"description": "List all releases in a workspace",
|
|
2318
2221
|
"examples": [
|
|
2319
|
-
"$ xano release
|
|
2320
|
-
"$ xano release
|
|
2321
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2322
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2323
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2222
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2223
|
+
"$ xano release list -w 5 --output json"
|
|
2324
2224
|
],
|
|
2325
2225
|
"flags": {
|
|
2326
2226
|
"profile": {
|
|
@@ -2342,63 +2242,23 @@
|
|
|
2342
2242
|
"allowNo": false,
|
|
2343
2243
|
"type": "boolean"
|
|
2344
2244
|
},
|
|
2345
|
-
"
|
|
2346
|
-
"char": "
|
|
2347
|
-
"description": "
|
|
2348
|
-
"name": "
|
|
2245
|
+
"output": {
|
|
2246
|
+
"char": "o",
|
|
2247
|
+
"description": "Output format",
|
|
2248
|
+
"name": "output",
|
|
2349
2249
|
"required": false,
|
|
2350
|
-
"default": "",
|
|
2250
|
+
"default": "summary",
|
|
2351
2251
|
"hasDynamicHelp": false,
|
|
2352
2252
|
"multiple": false,
|
|
2253
|
+
"options": [
|
|
2254
|
+
"summary",
|
|
2255
|
+
"json"
|
|
2256
|
+
],
|
|
2353
2257
|
"type": "option"
|
|
2354
2258
|
},
|
|
2355
|
-
"env": {
|
|
2356
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2357
|
-
"name": "env",
|
|
2358
|
-
"required": false,
|
|
2359
|
-
"allowNo": true,
|
|
2360
|
-
"type": "boolean"
|
|
2361
|
-
},
|
|
2362
|
-
"hotfix": {
|
|
2363
|
-
"description": "Mark as a hotfix release",
|
|
2364
|
-
"name": "hotfix",
|
|
2365
|
-
"required": false,
|
|
2366
|
-
"allowNo": false,
|
|
2367
|
-
"type": "boolean"
|
|
2368
|
-
},
|
|
2369
|
-
"name": {
|
|
2370
|
-
"char": "n",
|
|
2371
|
-
"description": "Name for the release",
|
|
2372
|
-
"name": "name",
|
|
2373
|
-
"required": true,
|
|
2374
|
-
"hasDynamicHelp": false,
|
|
2375
|
-
"multiple": false,
|
|
2376
|
-
"type": "option"
|
|
2377
|
-
},
|
|
2378
|
-
"output": {
|
|
2379
|
-
"char": "o",
|
|
2380
|
-
"description": "Output format",
|
|
2381
|
-
"name": "output",
|
|
2382
|
-
"required": false,
|
|
2383
|
-
"default": "summary",
|
|
2384
|
-
"hasDynamicHelp": false,
|
|
2385
|
-
"multiple": false,
|
|
2386
|
-
"options": [
|
|
2387
|
-
"summary",
|
|
2388
|
-
"json"
|
|
2389
|
-
],
|
|
2390
|
-
"type": "option"
|
|
2391
|
-
},
|
|
2392
|
-
"records": {
|
|
2393
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2394
|
-
"name": "records",
|
|
2395
|
-
"required": false,
|
|
2396
|
-
"allowNo": true,
|
|
2397
|
-
"type": "boolean"
|
|
2398
|
-
},
|
|
2399
2259
|
"workspace": {
|
|
2400
2260
|
"char": "w",
|
|
2401
|
-
"description": "Workspace ID (
|
|
2261
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2402
2262
|
"name": "workspace",
|
|
2403
2263
|
"required": false,
|
|
2404
2264
|
"hasDynamicHelp": false,
|
|
@@ -2408,7 +2268,7 @@
|
|
|
2408
2268
|
},
|
|
2409
2269
|
"hasDynamicHelp": false,
|
|
2410
2270
|
"hiddenAliases": [],
|
|
2411
|
-
"id": "release:
|
|
2271
|
+
"id": "release:list",
|
|
2412
2272
|
"pluginAlias": "@xano/cli",
|
|
2413
2273
|
"pluginName": "@xano/cli",
|
|
2414
2274
|
"pluginType": "core",
|
|
@@ -2419,19 +2279,26 @@
|
|
|
2419
2279
|
"dist",
|
|
2420
2280
|
"commands",
|
|
2421
2281
|
"release",
|
|
2422
|
-
"
|
|
2282
|
+
"list",
|
|
2423
2283
|
"index.js"
|
|
2424
2284
|
]
|
|
2425
2285
|
},
|
|
2426
|
-
"
|
|
2286
|
+
"release:push": {
|
|
2427
2287
|
"aliases": [],
|
|
2428
|
-
"args": {
|
|
2429
|
-
|
|
2288
|
+
"args": {
|
|
2289
|
+
"directory": {
|
|
2290
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2291
|
+
"name": "directory",
|
|
2292
|
+
"required": true
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2430
2296
|
"examples": [
|
|
2431
|
-
"$ xano
|
|
2432
|
-
"$ xano
|
|
2433
|
-
"$ xano
|
|
2434
|
-
"$ xano
|
|
2297
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2298
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2299
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2300
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2301
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2435
2302
|
],
|
|
2436
2303
|
"flags": {
|
|
2437
2304
|
"profile": {
|
|
@@ -2453,104 +2320,43 @@
|
|
|
2453
2320
|
"allowNo": false,
|
|
2454
2321
|
"type": "boolean"
|
|
2455
2322
|
},
|
|
2456
|
-
"
|
|
2457
|
-
"char": "
|
|
2458
|
-
"description": "
|
|
2459
|
-
"name": "
|
|
2323
|
+
"description": {
|
|
2324
|
+
"char": "d",
|
|
2325
|
+
"description": "Release description",
|
|
2326
|
+
"name": "description",
|
|
2460
2327
|
"required": false,
|
|
2461
|
-
"default": "
|
|
2328
|
+
"default": "",
|
|
2462
2329
|
"hasDynamicHelp": false,
|
|
2463
2330
|
"multiple": false,
|
|
2464
|
-
"options": [
|
|
2465
|
-
"summary",
|
|
2466
|
-
"json"
|
|
2467
|
-
],
|
|
2468
2331
|
"type": "option"
|
|
2469
2332
|
},
|
|
2470
|
-
"
|
|
2471
|
-
"description": "
|
|
2472
|
-
"name": "
|
|
2333
|
+
"env": {
|
|
2334
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2335
|
+
"name": "env",
|
|
2473
2336
|
"required": false,
|
|
2474
|
-
"
|
|
2475
|
-
"
|
|
2476
|
-
"multiple": false,
|
|
2477
|
-
"type": "option"
|
|
2337
|
+
"allowNo": true,
|
|
2338
|
+
"type": "boolean"
|
|
2478
2339
|
},
|
|
2479
|
-
"
|
|
2480
|
-
"description": "
|
|
2481
|
-
"name": "
|
|
2340
|
+
"hotfix": {
|
|
2341
|
+
"description": "Mark as a hotfix release",
|
|
2342
|
+
"name": "hotfix",
|
|
2482
2343
|
"required": false,
|
|
2483
|
-
"
|
|
2484
|
-
"
|
|
2485
|
-
"multiple": false,
|
|
2486
|
-
"type": "option"
|
|
2344
|
+
"allowNo": false,
|
|
2345
|
+
"type": "boolean"
|
|
2487
2346
|
},
|
|
2488
|
-
"
|
|
2489
|
-
"char": "
|
|
2490
|
-
"description": "
|
|
2491
|
-
"name": "
|
|
2492
|
-
"required":
|
|
2493
|
-
"hasDynamicHelp": false,
|
|
2494
|
-
"multiple": false,
|
|
2495
|
-
"type": "option"
|
|
2496
|
-
}
|
|
2497
|
-
},
|
|
2498
|
-
"hasDynamicHelp": false,
|
|
2499
|
-
"hiddenAliases": [],
|
|
2500
|
-
"id": "static_host:list",
|
|
2501
|
-
"pluginAlias": "@xano/cli",
|
|
2502
|
-
"pluginName": "@xano/cli",
|
|
2503
|
-
"pluginType": "core",
|
|
2504
|
-
"strict": true,
|
|
2505
|
-
"enableJsonFlag": false,
|
|
2506
|
-
"isESM": true,
|
|
2507
|
-
"relativePath": [
|
|
2508
|
-
"dist",
|
|
2509
|
-
"commands",
|
|
2510
|
-
"static_host",
|
|
2511
|
-
"list",
|
|
2512
|
-
"index.js"
|
|
2513
|
-
]
|
|
2514
|
-
},
|
|
2515
|
-
"release:export": {
|
|
2516
|
-
"aliases": [],
|
|
2517
|
-
"args": {
|
|
2518
|
-
"release_name": {
|
|
2519
|
-
"description": "Release name to export",
|
|
2520
|
-
"name": "release_name",
|
|
2521
|
-
"required": true
|
|
2522
|
-
}
|
|
2523
|
-
},
|
|
2524
|
-
"description": "Export (download) a release to a local file",
|
|
2525
|
-
"examples": [
|
|
2526
|
-
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
2527
|
-
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
2528
|
-
"$ xano release export v1.0 -o json"
|
|
2529
|
-
],
|
|
2530
|
-
"flags": {
|
|
2531
|
-
"profile": {
|
|
2532
|
-
"char": "p",
|
|
2533
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2534
|
-
"env": "XANO_PROFILE",
|
|
2535
|
-
"name": "profile",
|
|
2536
|
-
"required": false,
|
|
2347
|
+
"name": {
|
|
2348
|
+
"char": "n",
|
|
2349
|
+
"description": "Name for the release",
|
|
2350
|
+
"name": "name",
|
|
2351
|
+
"required": true,
|
|
2537
2352
|
"hasDynamicHelp": false,
|
|
2538
2353
|
"multiple": false,
|
|
2539
2354
|
"type": "option"
|
|
2540
2355
|
},
|
|
2541
|
-
"
|
|
2542
|
-
"char": "v",
|
|
2543
|
-
"description": "Show detailed request/response information",
|
|
2544
|
-
"env": "XANO_VERBOSE",
|
|
2545
|
-
"name": "verbose",
|
|
2546
|
-
"required": false,
|
|
2547
|
-
"allowNo": false,
|
|
2548
|
-
"type": "boolean"
|
|
2549
|
-
},
|
|
2550
|
-
"format": {
|
|
2356
|
+
"output": {
|
|
2551
2357
|
"char": "o",
|
|
2552
2358
|
"description": "Output format",
|
|
2553
|
-
"name": "
|
|
2359
|
+
"name": "output",
|
|
2554
2360
|
"required": false,
|
|
2555
2361
|
"default": "summary",
|
|
2556
2362
|
"hasDynamicHelp": false,
|
|
@@ -2561,17 +2367,16 @@
|
|
|
2561
2367
|
],
|
|
2562
2368
|
"type": "option"
|
|
2563
2369
|
},
|
|
2564
|
-
"
|
|
2565
|
-
"description": "
|
|
2566
|
-
"name": "
|
|
2370
|
+
"records": {
|
|
2371
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2372
|
+
"name": "records",
|
|
2567
2373
|
"required": false,
|
|
2568
|
-
"
|
|
2569
|
-
"
|
|
2570
|
-
"type": "option"
|
|
2374
|
+
"allowNo": true,
|
|
2375
|
+
"type": "boolean"
|
|
2571
2376
|
},
|
|
2572
2377
|
"workspace": {
|
|
2573
2378
|
"char": "w",
|
|
2574
|
-
"description": "Workspace ID (
|
|
2379
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2575
2380
|
"name": "workspace",
|
|
2576
2381
|
"required": false,
|
|
2577
2382
|
"hasDynamicHelp": false,
|
|
@@ -2581,7 +2386,7 @@
|
|
|
2581
2386
|
},
|
|
2582
2387
|
"hasDynamicHelp": false,
|
|
2583
2388
|
"hiddenAliases": [],
|
|
2584
|
-
"id": "release:
|
|
2389
|
+
"id": "release:push",
|
|
2585
2390
|
"pluginAlias": "@xano/cli",
|
|
2586
2391
|
"pluginName": "@xano/cli",
|
|
2587
2392
|
"pluginType": "core",
|
|
@@ -2592,24 +2397,19 @@
|
|
|
2592
2397
|
"dist",
|
|
2593
2398
|
"commands",
|
|
2594
2399
|
"release",
|
|
2595
|
-
"
|
|
2400
|
+
"push",
|
|
2596
2401
|
"index.js"
|
|
2597
2402
|
]
|
|
2598
2403
|
},
|
|
2599
|
-
"
|
|
2404
|
+
"static_host:list": {
|
|
2600
2405
|
"aliases": [],
|
|
2601
|
-
"args": {
|
|
2602
|
-
|
|
2603
|
-
"description": "Tenant name to delete",
|
|
2604
|
-
"name": "tenant_name",
|
|
2605
|
-
"required": true
|
|
2606
|
-
}
|
|
2607
|
-
},
|
|
2608
|
-
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2406
|
+
"args": {},
|
|
2407
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2609
2408
|
"examples": [
|
|
2610
|
-
"$ xano
|
|
2611
|
-
"$ xano
|
|
2612
|
-
"$ xano
|
|
2409
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2410
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2411
|
+
"$ 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",
|
|
2412
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2613
2413
|
],
|
|
2614
2414
|
"flags": {
|
|
2615
2415
|
"profile": {
|
|
@@ -2631,14 +2431,6 @@
|
|
|
2631
2431
|
"allowNo": false,
|
|
2632
2432
|
"type": "boolean"
|
|
2633
2433
|
},
|
|
2634
|
-
"force": {
|
|
2635
|
-
"char": "f",
|
|
2636
|
-
"description": "Skip confirmation prompt",
|
|
2637
|
-
"name": "force",
|
|
2638
|
-
"required": false,
|
|
2639
|
-
"allowNo": false,
|
|
2640
|
-
"type": "boolean"
|
|
2641
|
-
},
|
|
2642
2434
|
"output": {
|
|
2643
2435
|
"char": "o",
|
|
2644
2436
|
"description": "Output format",
|
|
@@ -2653,9 +2445,27 @@
|
|
|
2653
2445
|
],
|
|
2654
2446
|
"type": "option"
|
|
2655
2447
|
},
|
|
2448
|
+
"page": {
|
|
2449
|
+
"description": "Page number for pagination",
|
|
2450
|
+
"name": "page",
|
|
2451
|
+
"required": false,
|
|
2452
|
+
"default": 1,
|
|
2453
|
+
"hasDynamicHelp": false,
|
|
2454
|
+
"multiple": false,
|
|
2455
|
+
"type": "option"
|
|
2456
|
+
},
|
|
2457
|
+
"per_page": {
|
|
2458
|
+
"description": "Number of results per page",
|
|
2459
|
+
"name": "per_page",
|
|
2460
|
+
"required": false,
|
|
2461
|
+
"default": 50,
|
|
2462
|
+
"hasDynamicHelp": false,
|
|
2463
|
+
"multiple": false,
|
|
2464
|
+
"type": "option"
|
|
2465
|
+
},
|
|
2656
2466
|
"workspace": {
|
|
2657
2467
|
"char": "w",
|
|
2658
|
-
"description": "Workspace ID (
|
|
2468
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2659
2469
|
"name": "workspace",
|
|
2660
2470
|
"required": false,
|
|
2661
2471
|
"hasDynamicHelp": false,
|
|
@@ -2665,7 +2475,7 @@
|
|
|
2665
2475
|
},
|
|
2666
2476
|
"hasDynamicHelp": false,
|
|
2667
2477
|
"hiddenAliases": [],
|
|
2668
|
-
"id": "
|
|
2478
|
+
"id": "static_host:list",
|
|
2669
2479
|
"pluginAlias": "@xano/cli",
|
|
2670
2480
|
"pluginName": "@xano/cli",
|
|
2671
2481
|
"pluginType": "core",
|
|
@@ -2675,8 +2485,8 @@
|
|
|
2675
2485
|
"relativePath": [
|
|
2676
2486
|
"dist",
|
|
2677
2487
|
"commands",
|
|
2678
|
-
"
|
|
2679
|
-
"
|
|
2488
|
+
"static_host",
|
|
2489
|
+
"list",
|
|
2680
2490
|
"index.js"
|
|
2681
2491
|
]
|
|
2682
2492
|
},
|
|
@@ -2904,19 +2714,19 @@
|
|
|
2904
2714
|
"index.js"
|
|
2905
2715
|
]
|
|
2906
2716
|
},
|
|
2907
|
-
"tenant:
|
|
2717
|
+
"tenant:deploy_platform": {
|
|
2908
2718
|
"aliases": [],
|
|
2909
2719
|
"args": {
|
|
2910
2720
|
"tenant_name": {
|
|
2911
|
-
"description": "Tenant name to
|
|
2721
|
+
"description": "Tenant name to deploy to",
|
|
2912
2722
|
"name": "tenant_name",
|
|
2913
2723
|
"required": true
|
|
2914
2724
|
}
|
|
2915
2725
|
},
|
|
2916
|
-
"description": "
|
|
2726
|
+
"description": "Deploy a platform version to a tenant",
|
|
2917
2727
|
"examples": [
|
|
2918
|
-
"$ xano tenant
|
|
2919
|
-
"$ xano tenant
|
|
2728
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2729
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2920
2730
|
],
|
|
2921
2731
|
"flags": {
|
|
2922
2732
|
"profile": {
|
|
@@ -2938,38 +2748,6 @@
|
|
|
2938
2748
|
"allowNo": false,
|
|
2939
2749
|
"type": "boolean"
|
|
2940
2750
|
},
|
|
2941
|
-
"description": {
|
|
2942
|
-
"char": "d",
|
|
2943
|
-
"description": "New description",
|
|
2944
|
-
"name": "description",
|
|
2945
|
-
"required": false,
|
|
2946
|
-
"hasDynamicHelp": false,
|
|
2947
|
-
"multiple": false,
|
|
2948
|
-
"type": "option"
|
|
2949
|
-
},
|
|
2950
|
-
"display": {
|
|
2951
|
-
"description": "New display name",
|
|
2952
|
-
"name": "display",
|
|
2953
|
-
"required": false,
|
|
2954
|
-
"hasDynamicHelp": false,
|
|
2955
|
-
"multiple": false,
|
|
2956
|
-
"type": "option"
|
|
2957
|
-
},
|
|
2958
|
-
"domain": {
|
|
2959
|
-
"description": "Custom domain",
|
|
2960
|
-
"name": "domain",
|
|
2961
|
-
"required": false,
|
|
2962
|
-
"hasDynamicHelp": false,
|
|
2963
|
-
"multiple": false,
|
|
2964
|
-
"type": "option"
|
|
2965
|
-
},
|
|
2966
|
-
"ingress": {
|
|
2967
|
-
"description": "Enable/disable ingress",
|
|
2968
|
-
"name": "ingress",
|
|
2969
|
-
"required": false,
|
|
2970
|
-
"allowNo": true,
|
|
2971
|
-
"type": "boolean"
|
|
2972
|
-
},
|
|
2973
2751
|
"output": {
|
|
2974
2752
|
"char": "o",
|
|
2975
2753
|
"description": "Output format",
|
|
@@ -2984,28 +2762,14 @@
|
|
|
2984
2762
|
],
|
|
2985
2763
|
"type": "option"
|
|
2986
2764
|
},
|
|
2987
|
-
"
|
|
2988
|
-
"description": "
|
|
2989
|
-
"name": "
|
|
2990
|
-
"required":
|
|
2765
|
+
"platform_id": {
|
|
2766
|
+
"description": "Platform ID to deploy",
|
|
2767
|
+
"name": "platform_id",
|
|
2768
|
+
"required": true,
|
|
2991
2769
|
"hasDynamicHelp": false,
|
|
2992
2770
|
"multiple": false,
|
|
2993
2771
|
"type": "option"
|
|
2994
2772
|
},
|
|
2995
|
-
"rbac": {
|
|
2996
|
-
"description": "Enable/disable RBAC",
|
|
2997
|
-
"name": "rbac",
|
|
2998
|
-
"required": false,
|
|
2999
|
-
"allowNo": true,
|
|
3000
|
-
"type": "boolean"
|
|
3001
|
-
},
|
|
3002
|
-
"tasks": {
|
|
3003
|
-
"description": "Enable/disable background tasks",
|
|
3004
|
-
"name": "tasks",
|
|
3005
|
-
"required": false,
|
|
3006
|
-
"allowNo": true,
|
|
3007
|
-
"type": "boolean"
|
|
3008
|
-
},
|
|
3009
2773
|
"workspace": {
|
|
3010
2774
|
"char": "w",
|
|
3011
2775
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3018,7 +2782,7 @@
|
|
|
3018
2782
|
},
|
|
3019
2783
|
"hasDynamicHelp": false,
|
|
3020
2784
|
"hiddenAliases": [],
|
|
3021
|
-
"id": "tenant:
|
|
2785
|
+
"id": "tenant:deploy_platform",
|
|
3022
2786
|
"pluginAlias": "@xano/cli",
|
|
3023
2787
|
"pluginName": "@xano/cli",
|
|
3024
2788
|
"pluginType": "core",
|
|
@@ -3029,23 +2793,24 @@
|
|
|
3029
2793
|
"dist",
|
|
3030
2794
|
"commands",
|
|
3031
2795
|
"tenant",
|
|
3032
|
-
"
|
|
2796
|
+
"deploy_platform",
|
|
3033
2797
|
"index.js"
|
|
3034
2798
|
]
|
|
3035
2799
|
},
|
|
3036
|
-
"tenant:
|
|
2800
|
+
"tenant:delete": {
|
|
3037
2801
|
"aliases": [],
|
|
3038
2802
|
"args": {
|
|
3039
2803
|
"tenant_name": {
|
|
3040
|
-
"description": "Tenant name to
|
|
2804
|
+
"description": "Tenant name to delete",
|
|
3041
2805
|
"name": "tenant_name",
|
|
3042
2806
|
"required": true
|
|
3043
2807
|
}
|
|
3044
2808
|
},
|
|
3045
|
-
"description": "
|
|
2809
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
3046
2810
|
"examples": [
|
|
3047
|
-
"$ xano tenant
|
|
3048
|
-
"$ xano tenant
|
|
2811
|
+
"$ 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",
|
|
2812
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2813
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
3049
2814
|
],
|
|
3050
2815
|
"flags": {
|
|
3051
2816
|
"profile": {
|
|
@@ -3067,6 +2832,14 @@
|
|
|
3067
2832
|
"allowNo": false,
|
|
3068
2833
|
"type": "boolean"
|
|
3069
2834
|
},
|
|
2835
|
+
"force": {
|
|
2836
|
+
"char": "f",
|
|
2837
|
+
"description": "Skip confirmation prompt",
|
|
2838
|
+
"name": "force",
|
|
2839
|
+
"required": false,
|
|
2840
|
+
"allowNo": false,
|
|
2841
|
+
"type": "boolean"
|
|
2842
|
+
},
|
|
3070
2843
|
"output": {
|
|
3071
2844
|
"char": "o",
|
|
3072
2845
|
"description": "Output format",
|
|
@@ -3093,7 +2866,7 @@
|
|
|
3093
2866
|
},
|
|
3094
2867
|
"hasDynamicHelp": false,
|
|
3095
2868
|
"hiddenAliases": [],
|
|
3096
|
-
"id": "tenant:
|
|
2869
|
+
"id": "tenant:delete",
|
|
3097
2870
|
"pluginAlias": "@xano/cli",
|
|
3098
2871
|
"pluginName": "@xano/cli",
|
|
3099
2872
|
"pluginType": "core",
|
|
@@ -3104,23 +2877,20 @@
|
|
|
3104
2877
|
"dist",
|
|
3105
2878
|
"commands",
|
|
3106
2879
|
"tenant",
|
|
3107
|
-
"
|
|
2880
|
+
"delete",
|
|
3108
2881
|
"index.js"
|
|
3109
2882
|
]
|
|
3110
2883
|
},
|
|
3111
|
-
"
|
|
2884
|
+
"function:create": {
|
|
3112
2885
|
"aliases": [],
|
|
3113
|
-
"args": {
|
|
3114
|
-
|
|
3115
|
-
"description": "Tenant name to deploy to",
|
|
3116
|
-
"name": "tenant_name",
|
|
3117
|
-
"required": true
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
"description": "Deploy a platform version to a tenant",
|
|
2886
|
+
"args": {},
|
|
2887
|
+
"description": "Create a new function in a workspace",
|
|
3121
2888
|
"examples": [
|
|
3122
|
-
"$ xano
|
|
3123
|
-
"$ xano
|
|
2889
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
2890
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
2891
|
+
"$ 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",
|
|
2892
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
2893
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
3124
2894
|
],
|
|
3125
2895
|
"flags": {
|
|
3126
2896
|
"profile": {
|
|
@@ -3142,6 +2912,29 @@
|
|
|
3142
2912
|
"allowNo": false,
|
|
3143
2913
|
"type": "boolean"
|
|
3144
2914
|
},
|
|
2915
|
+
"edit": {
|
|
2916
|
+
"char": "e",
|
|
2917
|
+
"dependsOn": [
|
|
2918
|
+
"file"
|
|
2919
|
+
],
|
|
2920
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
2921
|
+
"name": "edit",
|
|
2922
|
+
"required": false,
|
|
2923
|
+
"allowNo": false,
|
|
2924
|
+
"type": "boolean"
|
|
2925
|
+
},
|
|
2926
|
+
"file": {
|
|
2927
|
+
"char": "f",
|
|
2928
|
+
"description": "Path to file containing XanoScript code",
|
|
2929
|
+
"exclusive": [
|
|
2930
|
+
"stdin"
|
|
2931
|
+
],
|
|
2932
|
+
"name": "file",
|
|
2933
|
+
"required": false,
|
|
2934
|
+
"hasDynamicHelp": false,
|
|
2935
|
+
"multiple": false,
|
|
2936
|
+
"type": "option"
|
|
2937
|
+
},
|
|
3145
2938
|
"output": {
|
|
3146
2939
|
"char": "o",
|
|
3147
2940
|
"description": "Output format",
|
|
@@ -3156,17 +2949,20 @@
|
|
|
3156
2949
|
],
|
|
3157
2950
|
"type": "option"
|
|
3158
2951
|
},
|
|
3159
|
-
"
|
|
3160
|
-
"
|
|
3161
|
-
"
|
|
3162
|
-
"
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
"
|
|
2952
|
+
"stdin": {
|
|
2953
|
+
"char": "s",
|
|
2954
|
+
"description": "Read XanoScript code from stdin",
|
|
2955
|
+
"exclusive": [
|
|
2956
|
+
"file"
|
|
2957
|
+
],
|
|
2958
|
+
"name": "stdin",
|
|
2959
|
+
"required": false,
|
|
2960
|
+
"allowNo": false,
|
|
2961
|
+
"type": "boolean"
|
|
3166
2962
|
},
|
|
3167
2963
|
"workspace": {
|
|
3168
2964
|
"char": "w",
|
|
3169
|
-
"description": "Workspace ID (
|
|
2965
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3170
2966
|
"name": "workspace",
|
|
3171
2967
|
"required": false,
|
|
3172
2968
|
"hasDynamicHelp": false,
|
|
@@ -3176,7 +2972,7 @@
|
|
|
3176
2972
|
},
|
|
3177
2973
|
"hasDynamicHelp": false,
|
|
3178
2974
|
"hiddenAliases": [],
|
|
3179
|
-
"id": "
|
|
2975
|
+
"id": "function:create",
|
|
3180
2976
|
"pluginAlias": "@xano/cli",
|
|
3181
2977
|
"pluginName": "@xano/cli",
|
|
3182
2978
|
"pluginType": "core",
|
|
@@ -3186,24 +2982,24 @@
|
|
|
3186
2982
|
"relativePath": [
|
|
3187
2983
|
"dist",
|
|
3188
2984
|
"commands",
|
|
3189
|
-
"
|
|
3190
|
-
"
|
|
2985
|
+
"function",
|
|
2986
|
+
"create",
|
|
3191
2987
|
"index.js"
|
|
3192
2988
|
]
|
|
3193
2989
|
},
|
|
3194
|
-
"tenant:
|
|
2990
|
+
"tenant:edit": {
|
|
3195
2991
|
"aliases": [],
|
|
3196
2992
|
"args": {
|
|
3197
2993
|
"tenant_name": {
|
|
3198
|
-
"description": "Tenant name to
|
|
2994
|
+
"description": "Tenant name to edit",
|
|
3199
2995
|
"name": "tenant_name",
|
|
3200
2996
|
"required": true
|
|
3201
2997
|
}
|
|
3202
2998
|
},
|
|
3203
|
-
"description": "
|
|
2999
|
+
"description": "Edit an existing tenant",
|
|
3204
3000
|
"examples": [
|
|
3205
|
-
"$ xano tenant
|
|
3206
|
-
"$ xano tenant
|
|
3001
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3002
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3207
3003
|
],
|
|
3208
3004
|
"flags": {
|
|
3209
3005
|
"profile": {
|
|
@@ -3225,6 +3021,38 @@
|
|
|
3225
3021
|
"allowNo": false,
|
|
3226
3022
|
"type": "boolean"
|
|
3227
3023
|
},
|
|
3024
|
+
"description": {
|
|
3025
|
+
"char": "d",
|
|
3026
|
+
"description": "New description",
|
|
3027
|
+
"name": "description",
|
|
3028
|
+
"required": false,
|
|
3029
|
+
"hasDynamicHelp": false,
|
|
3030
|
+
"multiple": false,
|
|
3031
|
+
"type": "option"
|
|
3032
|
+
},
|
|
3033
|
+
"display": {
|
|
3034
|
+
"description": "New display name",
|
|
3035
|
+
"name": "display",
|
|
3036
|
+
"required": false,
|
|
3037
|
+
"hasDynamicHelp": false,
|
|
3038
|
+
"multiple": false,
|
|
3039
|
+
"type": "option"
|
|
3040
|
+
},
|
|
3041
|
+
"domain": {
|
|
3042
|
+
"description": "Custom domain",
|
|
3043
|
+
"name": "domain",
|
|
3044
|
+
"required": false,
|
|
3045
|
+
"hasDynamicHelp": false,
|
|
3046
|
+
"multiple": false,
|
|
3047
|
+
"type": "option"
|
|
3048
|
+
},
|
|
3049
|
+
"ingress": {
|
|
3050
|
+
"description": "Enable/disable ingress",
|
|
3051
|
+
"name": "ingress",
|
|
3052
|
+
"required": false,
|
|
3053
|
+
"allowNo": true,
|
|
3054
|
+
"type": "boolean"
|
|
3055
|
+
},
|
|
3228
3056
|
"output": {
|
|
3229
3057
|
"char": "o",
|
|
3230
3058
|
"description": "Output format",
|
|
@@ -3239,12 +3067,26 @@
|
|
|
3239
3067
|
],
|
|
3240
3068
|
"type": "option"
|
|
3241
3069
|
},
|
|
3242
|
-
"
|
|
3243
|
-
"
|
|
3244
|
-
"
|
|
3245
|
-
"name": "url-only",
|
|
3070
|
+
"proxy": {
|
|
3071
|
+
"description": "Proxy URL",
|
|
3072
|
+
"name": "proxy",
|
|
3246
3073
|
"required": false,
|
|
3247
|
-
"
|
|
3074
|
+
"hasDynamicHelp": false,
|
|
3075
|
+
"multiple": false,
|
|
3076
|
+
"type": "option"
|
|
3077
|
+
},
|
|
3078
|
+
"rbac": {
|
|
3079
|
+
"description": "Enable/disable RBAC",
|
|
3080
|
+
"name": "rbac",
|
|
3081
|
+
"required": false,
|
|
3082
|
+
"allowNo": true,
|
|
3083
|
+
"type": "boolean"
|
|
3084
|
+
},
|
|
3085
|
+
"tasks": {
|
|
3086
|
+
"description": "Enable/disable background tasks",
|
|
3087
|
+
"name": "tasks",
|
|
3088
|
+
"required": false,
|
|
3089
|
+
"allowNo": true,
|
|
3248
3090
|
"type": "boolean"
|
|
3249
3091
|
},
|
|
3250
3092
|
"workspace": {
|
|
@@ -3259,7 +3101,7 @@
|
|
|
3259
3101
|
},
|
|
3260
3102
|
"hasDynamicHelp": false,
|
|
3261
3103
|
"hiddenAliases": [],
|
|
3262
|
-
"id": "tenant:
|
|
3104
|
+
"id": "tenant:edit",
|
|
3263
3105
|
"pluginAlias": "@xano/cli",
|
|
3264
3106
|
"pluginName": "@xano/cli",
|
|
3265
3107
|
"pluginType": "core",
|
|
@@ -3270,17 +3112,23 @@
|
|
|
3270
3112
|
"dist",
|
|
3271
3113
|
"commands",
|
|
3272
3114
|
"tenant",
|
|
3273
|
-
"
|
|
3115
|
+
"edit",
|
|
3274
3116
|
"index.js"
|
|
3275
3117
|
]
|
|
3276
3118
|
},
|
|
3277
|
-
"tenant:
|
|
3119
|
+
"tenant:get": {
|
|
3278
3120
|
"aliases": [],
|
|
3279
|
-
"args": {
|
|
3280
|
-
|
|
3121
|
+
"args": {
|
|
3122
|
+
"tenant_name": {
|
|
3123
|
+
"description": "Tenant name to retrieve",
|
|
3124
|
+
"name": "tenant_name",
|
|
3125
|
+
"required": true
|
|
3126
|
+
}
|
|
3127
|
+
},
|
|
3128
|
+
"description": "Get details of a specific tenant",
|
|
3281
3129
|
"examples": [
|
|
3282
|
-
"$ xano tenant
|
|
3283
|
-
"$ xano tenant
|
|
3130
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3131
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3284
3132
|
],
|
|
3285
3133
|
"flags": {
|
|
3286
3134
|
"profile": {
|
|
@@ -3328,7 +3176,7 @@
|
|
|
3328
3176
|
},
|
|
3329
3177
|
"hasDynamicHelp": false,
|
|
3330
3178
|
"hiddenAliases": [],
|
|
3331
|
-
"id": "tenant:
|
|
3179
|
+
"id": "tenant:get",
|
|
3332
3180
|
"pluginAlias": "@xano/cli",
|
|
3333
3181
|
"pluginName": "@xano/cli",
|
|
3334
3182
|
"pluginType": "core",
|
|
@@ -3339,18 +3187,17 @@
|
|
|
3339
3187
|
"dist",
|
|
3340
3188
|
"commands",
|
|
3341
3189
|
"tenant",
|
|
3342
|
-
"
|
|
3190
|
+
"get",
|
|
3343
3191
|
"index.js"
|
|
3344
3192
|
]
|
|
3345
3193
|
},
|
|
3346
|
-
"
|
|
3194
|
+
"tenant:list": {
|
|
3347
3195
|
"aliases": [],
|
|
3348
3196
|
"args": {},
|
|
3349
|
-
"description": "List all
|
|
3197
|
+
"description": "List all tenants in a workspace",
|
|
3350
3198
|
"examples": [
|
|
3351
|
-
"$ xano
|
|
3352
|
-
"$ xano
|
|
3353
|
-
"$ xano unit-test list --obj-type function"
|
|
3199
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3200
|
+
"$ xano tenant list -w 5 --output json"
|
|
3354
3201
|
],
|
|
3355
3202
|
"flags": {
|
|
3356
3203
|
"profile": {
|
|
@@ -3372,28 +3219,6 @@
|
|
|
3372
3219
|
"allowNo": false,
|
|
3373
3220
|
"type": "boolean"
|
|
3374
3221
|
},
|
|
3375
|
-
"branch": {
|
|
3376
|
-
"char": "b",
|
|
3377
|
-
"description": "Filter by branch name",
|
|
3378
|
-
"name": "branch",
|
|
3379
|
-
"required": false,
|
|
3380
|
-
"hasDynamicHelp": false,
|
|
3381
|
-
"multiple": false,
|
|
3382
|
-
"type": "option"
|
|
3383
|
-
},
|
|
3384
|
-
"obj-type": {
|
|
3385
|
-
"description": "Filter by object type",
|
|
3386
|
-
"name": "obj-type",
|
|
3387
|
-
"required": false,
|
|
3388
|
-
"hasDynamicHelp": false,
|
|
3389
|
-
"multiple": false,
|
|
3390
|
-
"options": [
|
|
3391
|
-
"function",
|
|
3392
|
-
"query",
|
|
3393
|
-
"middleware"
|
|
3394
|
-
],
|
|
3395
|
-
"type": "option"
|
|
3396
|
-
},
|
|
3397
3222
|
"output": {
|
|
3398
3223
|
"char": "o",
|
|
3399
3224
|
"description": "Output format",
|
|
@@ -3420,7 +3245,7 @@
|
|
|
3420
3245
|
},
|
|
3421
3246
|
"hasDynamicHelp": false,
|
|
3422
3247
|
"hiddenAliases": [],
|
|
3423
|
-
"id": "
|
|
3248
|
+
"id": "tenant:list",
|
|
3424
3249
|
"pluginAlias": "@xano/cli",
|
|
3425
3250
|
"pluginName": "@xano/cli",
|
|
3426
3251
|
"pluginType": "core",
|
|
@@ -3430,28 +3255,26 @@
|
|
|
3430
3255
|
"relativePath": [
|
|
3431
3256
|
"dist",
|
|
3432
3257
|
"commands",
|
|
3433
|
-
"
|
|
3258
|
+
"tenant",
|
|
3434
3259
|
"list",
|
|
3435
3260
|
"index.js"
|
|
3436
3261
|
]
|
|
3437
3262
|
},
|
|
3438
|
-
"tenant:
|
|
3263
|
+
"tenant:pull": {
|
|
3439
3264
|
"aliases": [],
|
|
3440
3265
|
"args": {
|
|
3441
3266
|
"directory": {
|
|
3442
|
-
"description": "
|
|
3267
|
+
"description": "Output directory for pulled documents",
|
|
3443
3268
|
"name": "directory",
|
|
3444
3269
|
"required": true
|
|
3445
3270
|
}
|
|
3446
3271
|
},
|
|
3447
|
-
"description": "
|
|
3272
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3448
3273
|
"examples": [
|
|
3449
|
-
"$ xano tenant
|
|
3450
|
-
"$ xano tenant
|
|
3451
|
-
"$ xano tenant
|
|
3452
|
-
"$ xano tenant
|
|
3453
|
-
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3454
|
-
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3274
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3275
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3276
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3277
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3455
3278
|
],
|
|
3456
3279
|
"flags": {
|
|
3457
3280
|
"profile": {
|
|
@@ -3473,36 +3296,36 @@
|
|
|
3473
3296
|
"allowNo": false,
|
|
3474
3297
|
"type": "boolean"
|
|
3475
3298
|
},
|
|
3299
|
+
"draft": {
|
|
3300
|
+
"description": "Include draft versions",
|
|
3301
|
+
"name": "draft",
|
|
3302
|
+
"required": false,
|
|
3303
|
+
"allowNo": false,
|
|
3304
|
+
"type": "boolean"
|
|
3305
|
+
},
|
|
3476
3306
|
"env": {
|
|
3477
|
-
"description": "Include environment variables
|
|
3307
|
+
"description": "Include environment variables",
|
|
3478
3308
|
"name": "env",
|
|
3479
3309
|
"required": false,
|
|
3480
|
-
"allowNo":
|
|
3310
|
+
"allowNo": false,
|
|
3481
3311
|
"type": "boolean"
|
|
3482
3312
|
},
|
|
3483
3313
|
"records": {
|
|
3484
|
-
"description": "Include records
|
|
3314
|
+
"description": "Include records",
|
|
3485
3315
|
"name": "records",
|
|
3486
3316
|
"required": false,
|
|
3487
|
-
"allowNo":
|
|
3317
|
+
"allowNo": false,
|
|
3488
3318
|
"type": "boolean"
|
|
3489
3319
|
},
|
|
3490
3320
|
"tenant": {
|
|
3491
3321
|
"char": "t",
|
|
3492
|
-
"description": "Tenant name to
|
|
3322
|
+
"description": "Tenant name to pull from",
|
|
3493
3323
|
"name": "tenant",
|
|
3494
3324
|
"required": true,
|
|
3495
3325
|
"hasDynamicHelp": false,
|
|
3496
3326
|
"multiple": false,
|
|
3497
3327
|
"type": "option"
|
|
3498
3328
|
},
|
|
3499
|
-
"truncate": {
|
|
3500
|
-
"description": "Truncate all table records before importing",
|
|
3501
|
-
"name": "truncate",
|
|
3502
|
-
"required": false,
|
|
3503
|
-
"allowNo": false,
|
|
3504
|
-
"type": "boolean"
|
|
3505
|
-
},
|
|
3506
3329
|
"workspace": {
|
|
3507
3330
|
"char": "w",
|
|
3508
3331
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -3515,7 +3338,7 @@
|
|
|
3515
3338
|
},
|
|
3516
3339
|
"hasDynamicHelp": false,
|
|
3517
3340
|
"hiddenAliases": [],
|
|
3518
|
-
"id": "tenant:
|
|
3341
|
+
"id": "tenant:pull",
|
|
3519
3342
|
"pluginAlias": "@xano/cli",
|
|
3520
3343
|
"pluginName": "@xano/cli",
|
|
3521
3344
|
"pluginType": "core",
|
|
@@ -3526,7 +3349,7 @@
|
|
|
3526
3349
|
"dist",
|
|
3527
3350
|
"commands",
|
|
3528
3351
|
"tenant",
|
|
3529
|
-
"
|
|
3352
|
+
"pull",
|
|
3530
3353
|
"index.js"
|
|
3531
3354
|
]
|
|
3532
3355
|
},
|
|
@@ -3605,13 +3428,14 @@
|
|
|
3605
3428
|
"index.js"
|
|
3606
3429
|
]
|
|
3607
3430
|
},
|
|
3608
|
-
"unit_test:
|
|
3431
|
+
"unit_test:list": {
|
|
3609
3432
|
"aliases": [],
|
|
3610
3433
|
"args": {},
|
|
3611
|
-
"description": "
|
|
3434
|
+
"description": "List all unit tests in a workspace",
|
|
3612
3435
|
"examples": [
|
|
3613
|
-
"$ xano unit-test
|
|
3614
|
-
"$ xano unit-test
|
|
3436
|
+
"$ 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",
|
|
3437
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3438
|
+
"$ xano unit-test list --obj-type function"
|
|
3615
3439
|
],
|
|
3616
3440
|
"flags": {
|
|
3617
3441
|
"profile": {
|
|
@@ -3681,7 +3505,7 @@
|
|
|
3681
3505
|
},
|
|
3682
3506
|
"hasDynamicHelp": false,
|
|
3683
3507
|
"hiddenAliases": [],
|
|
3684
|
-
"id": "unit_test:
|
|
3508
|
+
"id": "unit_test:list",
|
|
3685
3509
|
"pluginAlias": "@xano/cli",
|
|
3686
3510
|
"pluginName": "@xano/cli",
|
|
3687
3511
|
"pluginType": "core",
|
|
@@ -3692,23 +3516,27 @@
|
|
|
3692
3516
|
"dist",
|
|
3693
3517
|
"commands",
|
|
3694
3518
|
"unit_test",
|
|
3695
|
-
"
|
|
3519
|
+
"list",
|
|
3696
3520
|
"index.js"
|
|
3697
3521
|
]
|
|
3698
3522
|
},
|
|
3699
|
-
"
|
|
3523
|
+
"tenant:push": {
|
|
3700
3524
|
"aliases": [],
|
|
3701
3525
|
"args": {
|
|
3702
|
-
"
|
|
3703
|
-
"description": "
|
|
3704
|
-
"name": "
|
|
3526
|
+
"directory": {
|
|
3527
|
+
"description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
|
|
3528
|
+
"name": "directory",
|
|
3705
3529
|
"required": true
|
|
3706
3530
|
}
|
|
3707
3531
|
},
|
|
3708
|
-
"description": "
|
|
3532
|
+
"description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
|
|
3709
3533
|
"examples": [
|
|
3710
|
-
"$ xano
|
|
3711
|
-
"$ xano
|
|
3534
|
+
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3535
|
+
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3536
|
+
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3537
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-records\nPush schema only, skip importing table records\n",
|
|
3538
|
+
"$ xano tenant push ./my-workspace -t my-tenant --no-env\nPush without overwriting environment variables\n",
|
|
3539
|
+
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3712
3540
|
],
|
|
3713
3541
|
"flags": {
|
|
3714
3542
|
"profile": {
|
|
@@ -3730,14 +3558,113 @@
|
|
|
3730
3558
|
"allowNo": false,
|
|
3731
3559
|
"type": "boolean"
|
|
3732
3560
|
},
|
|
3733
|
-
"
|
|
3734
|
-
"
|
|
3735
|
-
"
|
|
3736
|
-
"
|
|
3561
|
+
"env": {
|
|
3562
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
3563
|
+
"name": "env",
|
|
3564
|
+
"required": false,
|
|
3565
|
+
"allowNo": true,
|
|
3566
|
+
"type": "boolean"
|
|
3567
|
+
},
|
|
3568
|
+
"records": {
|
|
3569
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
3570
|
+
"name": "records",
|
|
3571
|
+
"required": false,
|
|
3572
|
+
"allowNo": true,
|
|
3573
|
+
"type": "boolean"
|
|
3574
|
+
},
|
|
3575
|
+
"tenant": {
|
|
3576
|
+
"char": "t",
|
|
3577
|
+
"description": "Tenant name to push to",
|
|
3578
|
+
"name": "tenant",
|
|
3579
|
+
"required": true,
|
|
3580
|
+
"hasDynamicHelp": false,
|
|
3581
|
+
"multiple": false,
|
|
3582
|
+
"type": "option"
|
|
3583
|
+
},
|
|
3584
|
+
"truncate": {
|
|
3585
|
+
"description": "Truncate all table records before importing",
|
|
3586
|
+
"name": "truncate",
|
|
3737
3587
|
"required": false,
|
|
3738
3588
|
"allowNo": false,
|
|
3739
3589
|
"type": "boolean"
|
|
3740
3590
|
},
|
|
3591
|
+
"workspace": {
|
|
3592
|
+
"char": "w",
|
|
3593
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3594
|
+
"name": "workspace",
|
|
3595
|
+
"required": false,
|
|
3596
|
+
"hasDynamicHelp": false,
|
|
3597
|
+
"multiple": false,
|
|
3598
|
+
"type": "option"
|
|
3599
|
+
}
|
|
3600
|
+
},
|
|
3601
|
+
"hasDynamicHelp": false,
|
|
3602
|
+
"hiddenAliases": [],
|
|
3603
|
+
"id": "tenant:push",
|
|
3604
|
+
"pluginAlias": "@xano/cli",
|
|
3605
|
+
"pluginName": "@xano/cli",
|
|
3606
|
+
"pluginType": "core",
|
|
3607
|
+
"strict": true,
|
|
3608
|
+
"enableJsonFlag": false,
|
|
3609
|
+
"isESM": true,
|
|
3610
|
+
"relativePath": [
|
|
3611
|
+
"dist",
|
|
3612
|
+
"commands",
|
|
3613
|
+
"tenant",
|
|
3614
|
+
"push",
|
|
3615
|
+
"index.js"
|
|
3616
|
+
]
|
|
3617
|
+
},
|
|
3618
|
+
"unit_test:run_all": {
|
|
3619
|
+
"aliases": [],
|
|
3620
|
+
"args": {},
|
|
3621
|
+
"description": "Run all unit tests in a workspace",
|
|
3622
|
+
"examples": [
|
|
3623
|
+
"$ 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",
|
|
3624
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3625
|
+
],
|
|
3626
|
+
"flags": {
|
|
3627
|
+
"profile": {
|
|
3628
|
+
"char": "p",
|
|
3629
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3630
|
+
"env": "XANO_PROFILE",
|
|
3631
|
+
"name": "profile",
|
|
3632
|
+
"required": false,
|
|
3633
|
+
"hasDynamicHelp": false,
|
|
3634
|
+
"multiple": false,
|
|
3635
|
+
"type": "option"
|
|
3636
|
+
},
|
|
3637
|
+
"verbose": {
|
|
3638
|
+
"char": "v",
|
|
3639
|
+
"description": "Show detailed request/response information",
|
|
3640
|
+
"env": "XANO_VERBOSE",
|
|
3641
|
+
"name": "verbose",
|
|
3642
|
+
"required": false,
|
|
3643
|
+
"allowNo": false,
|
|
3644
|
+
"type": "boolean"
|
|
3645
|
+
},
|
|
3646
|
+
"branch": {
|
|
3647
|
+
"char": "b",
|
|
3648
|
+
"description": "Filter by branch name",
|
|
3649
|
+
"name": "branch",
|
|
3650
|
+
"required": false,
|
|
3651
|
+
"hasDynamicHelp": false,
|
|
3652
|
+
"multiple": false,
|
|
3653
|
+
"type": "option"
|
|
3654
|
+
},
|
|
3655
|
+
"obj-type": {
|
|
3656
|
+
"description": "Filter by object type",
|
|
3657
|
+
"name": "obj-type",
|
|
3658
|
+
"required": false,
|
|
3659
|
+
"hasDynamicHelp": false,
|
|
3660
|
+
"multiple": false,
|
|
3661
|
+
"options": [
|
|
3662
|
+
"function",
|
|
3663
|
+
"query",
|
|
3664
|
+
"middleware"
|
|
3665
|
+
],
|
|
3666
|
+
"type": "option"
|
|
3667
|
+
},
|
|
3741
3668
|
"output": {
|
|
3742
3669
|
"char": "o",
|
|
3743
3670
|
"description": "Output format",
|
|
@@ -3764,7 +3691,7 @@
|
|
|
3764
3691
|
},
|
|
3765
3692
|
"hasDynamicHelp": false,
|
|
3766
3693
|
"hiddenAliases": [],
|
|
3767
|
-
"id": "
|
|
3694
|
+
"id": "unit_test:run_all",
|
|
3768
3695
|
"pluginAlias": "@xano/cli",
|
|
3769
3696
|
"pluginName": "@xano/cli",
|
|
3770
3697
|
"pluginType": "core",
|
|
@@ -3774,25 +3701,24 @@
|
|
|
3774
3701
|
"relativePath": [
|
|
3775
3702
|
"dist",
|
|
3776
3703
|
"commands",
|
|
3777
|
-
"
|
|
3778
|
-
"
|
|
3704
|
+
"unit_test",
|
|
3705
|
+
"run_all",
|
|
3779
3706
|
"index.js"
|
|
3780
3707
|
]
|
|
3781
3708
|
},
|
|
3782
|
-
"workflow_test:
|
|
3709
|
+
"workflow_test:delete": {
|
|
3783
3710
|
"aliases": [],
|
|
3784
3711
|
"args": {
|
|
3785
3712
|
"workflow_test_id": {
|
|
3786
|
-
"description": "ID of the workflow test",
|
|
3713
|
+
"description": "ID of the workflow test to delete",
|
|
3787
3714
|
"name": "workflow_test_id",
|
|
3788
3715
|
"required": true
|
|
3789
3716
|
}
|
|
3790
3717
|
},
|
|
3791
|
-
"description": "
|
|
3718
|
+
"description": "Delete a workflow test",
|
|
3792
3719
|
"examples": [
|
|
3793
|
-
"$ xano workflow-test
|
|
3794
|
-
"$ xano workflow-test
|
|
3795
|
-
"$ xano workflow-test get 1 -o json"
|
|
3720
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3721
|
+
"$ xano workflow-test delete 1 --force"
|
|
3796
3722
|
],
|
|
3797
3723
|
"flags": {
|
|
3798
3724
|
"profile": {
|
|
@@ -3814,9 +3740,10 @@
|
|
|
3814
3740
|
"allowNo": false,
|
|
3815
3741
|
"type": "boolean"
|
|
3816
3742
|
},
|
|
3817
|
-
"
|
|
3818
|
-
"
|
|
3819
|
-
"
|
|
3743
|
+
"force": {
|
|
3744
|
+
"char": "f",
|
|
3745
|
+
"description": "Skip confirmation prompt",
|
|
3746
|
+
"name": "force",
|
|
3820
3747
|
"required": false,
|
|
3821
3748
|
"allowNo": false,
|
|
3822
3749
|
"type": "boolean"
|
|
@@ -3831,8 +3758,7 @@
|
|
|
3831
3758
|
"multiple": false,
|
|
3832
3759
|
"options": [
|
|
3833
3760
|
"summary",
|
|
3834
|
-
"json"
|
|
3835
|
-
"xs"
|
|
3761
|
+
"json"
|
|
3836
3762
|
],
|
|
3837
3763
|
"type": "option"
|
|
3838
3764
|
},
|
|
@@ -3848,7 +3774,7 @@
|
|
|
3848
3774
|
},
|
|
3849
3775
|
"hasDynamicHelp": false,
|
|
3850
3776
|
"hiddenAliases": [],
|
|
3851
|
-
"id": "workflow_test:
|
|
3777
|
+
"id": "workflow_test:delete",
|
|
3852
3778
|
"pluginAlias": "@xano/cli",
|
|
3853
3779
|
"pluginName": "@xano/cli",
|
|
3854
3780
|
"pluginType": "core",
|
|
@@ -3859,25 +3785,24 @@
|
|
|
3859
3785
|
"dist",
|
|
3860
3786
|
"commands",
|
|
3861
3787
|
"workflow_test",
|
|
3862
|
-
"
|
|
3788
|
+
"delete",
|
|
3863
3789
|
"index.js"
|
|
3864
3790
|
]
|
|
3865
3791
|
},
|
|
3866
|
-
"
|
|
3792
|
+
"workflow_test:get": {
|
|
3867
3793
|
"aliases": [],
|
|
3868
3794
|
"args": {
|
|
3869
|
-
"
|
|
3870
|
-
"description": "
|
|
3871
|
-
"name": "
|
|
3795
|
+
"workflow_test_id": {
|
|
3796
|
+
"description": "ID of the workflow test",
|
|
3797
|
+
"name": "workflow_test_id",
|
|
3872
3798
|
"required": true
|
|
3873
3799
|
}
|
|
3874
3800
|
},
|
|
3875
|
-
"description": "
|
|
3801
|
+
"description": "Get a specific workflow test",
|
|
3876
3802
|
"examples": [
|
|
3877
|
-
"$ xano
|
|
3878
|
-
"$ xano
|
|
3879
|
-
"$ xano
|
|
3880
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3803
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3804
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3805
|
+
"$ xano workflow-test get 1 -o json"
|
|
3881
3806
|
],
|
|
3882
3807
|
"flags": {
|
|
3883
3808
|
"profile": {
|
|
@@ -3899,39 +3824,31 @@
|
|
|
3899
3824
|
"allowNo": false,
|
|
3900
3825
|
"type": "boolean"
|
|
3901
3826
|
},
|
|
3902
|
-
"draft": {
|
|
3903
|
-
"description": "Include draft
|
|
3904
|
-
"name": "draft",
|
|
3905
|
-
"required": false,
|
|
3906
|
-
"allowNo": false,
|
|
3907
|
-
"type": "boolean"
|
|
3908
|
-
},
|
|
3909
|
-
"env": {
|
|
3910
|
-
"description": "Include environment variables",
|
|
3911
|
-
"name": "env",
|
|
3827
|
+
"include-draft": {
|
|
3828
|
+
"description": "Include draft version",
|
|
3829
|
+
"name": "include-draft",
|
|
3912
3830
|
"required": false,
|
|
3913
3831
|
"allowNo": false,
|
|
3914
3832
|
"type": "boolean"
|
|
3915
3833
|
},
|
|
3916
|
-
"
|
|
3917
|
-
"
|
|
3918
|
-
"
|
|
3834
|
+
"output": {
|
|
3835
|
+
"char": "o",
|
|
3836
|
+
"description": "Output format",
|
|
3837
|
+
"name": "output",
|
|
3919
3838
|
"required": false,
|
|
3920
|
-
"
|
|
3921
|
-
"type": "boolean"
|
|
3922
|
-
},
|
|
3923
|
-
"tenant": {
|
|
3924
|
-
"char": "t",
|
|
3925
|
-
"description": "Tenant name to pull from",
|
|
3926
|
-
"name": "tenant",
|
|
3927
|
-
"required": true,
|
|
3839
|
+
"default": "summary",
|
|
3928
3840
|
"hasDynamicHelp": false,
|
|
3929
3841
|
"multiple": false,
|
|
3842
|
+
"options": [
|
|
3843
|
+
"summary",
|
|
3844
|
+
"json",
|
|
3845
|
+
"xs"
|
|
3846
|
+
],
|
|
3930
3847
|
"type": "option"
|
|
3931
3848
|
},
|
|
3932
3849
|
"workspace": {
|
|
3933
3850
|
"char": "w",
|
|
3934
|
-
"description": "Workspace ID (
|
|
3851
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3935
3852
|
"name": "workspace",
|
|
3936
3853
|
"required": false,
|
|
3937
3854
|
"hasDynamicHelp": false,
|
|
@@ -3941,7 +3858,7 @@
|
|
|
3941
3858
|
},
|
|
3942
3859
|
"hasDynamicHelp": false,
|
|
3943
3860
|
"hiddenAliases": [],
|
|
3944
|
-
"id": "
|
|
3861
|
+
"id": "workflow_test:get",
|
|
3945
3862
|
"pluginAlias": "@xano/cli",
|
|
3946
3863
|
"pluginName": "@xano/cli",
|
|
3947
3864
|
"pluginType": "core",
|
|
@@ -3951,19 +3868,24 @@
|
|
|
3951
3868
|
"relativePath": [
|
|
3952
3869
|
"dist",
|
|
3953
3870
|
"commands",
|
|
3954
|
-
"
|
|
3955
|
-
"
|
|
3871
|
+
"workflow_test",
|
|
3872
|
+
"get",
|
|
3956
3873
|
"index.js"
|
|
3957
3874
|
]
|
|
3958
3875
|
},
|
|
3959
|
-
"
|
|
3876
|
+
"tenant:impersonate": {
|
|
3960
3877
|
"aliases": [],
|
|
3961
|
-
"args": {
|
|
3962
|
-
|
|
3878
|
+
"args": {
|
|
3879
|
+
"tenant_name": {
|
|
3880
|
+
"description": "Tenant name to impersonate",
|
|
3881
|
+
"name": "tenant_name",
|
|
3882
|
+
"required": true
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3963
3886
|
"examples": [
|
|
3964
|
-
"$ xano
|
|
3965
|
-
"$ xano
|
|
3966
|
-
"$ xano workflow-test list --branch main"
|
|
3887
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3888
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3967
3889
|
],
|
|
3968
3890
|
"flags": {
|
|
3969
3891
|
"profile": {
|
|
@@ -3985,15 +3907,6 @@
|
|
|
3985
3907
|
"allowNo": false,
|
|
3986
3908
|
"type": "boolean"
|
|
3987
3909
|
},
|
|
3988
|
-
"branch": {
|
|
3989
|
-
"char": "b",
|
|
3990
|
-
"description": "Filter by branch name",
|
|
3991
|
-
"name": "branch",
|
|
3992
|
-
"required": false,
|
|
3993
|
-
"hasDynamicHelp": false,
|
|
3994
|
-
"multiple": false,
|
|
3995
|
-
"type": "option"
|
|
3996
|
-
},
|
|
3997
3910
|
"output": {
|
|
3998
3911
|
"char": "o",
|
|
3999
3912
|
"description": "Output format",
|
|
@@ -4008,6 +3921,14 @@
|
|
|
4008
3921
|
],
|
|
4009
3922
|
"type": "option"
|
|
4010
3923
|
},
|
|
3924
|
+
"url-only": {
|
|
3925
|
+
"char": "u",
|
|
3926
|
+
"description": "Print the URL without opening the browser",
|
|
3927
|
+
"name": "url-only",
|
|
3928
|
+
"required": false,
|
|
3929
|
+
"allowNo": false,
|
|
3930
|
+
"type": "boolean"
|
|
3931
|
+
},
|
|
4011
3932
|
"workspace": {
|
|
4012
3933
|
"char": "w",
|
|
4013
3934
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -4020,7 +3941,7 @@
|
|
|
4020
3941
|
},
|
|
4021
3942
|
"hasDynamicHelp": false,
|
|
4022
3943
|
"hiddenAliases": [],
|
|
4023
|
-
"id": "
|
|
3944
|
+
"id": "tenant:impersonate",
|
|
4024
3945
|
"pluginAlias": "@xano/cli",
|
|
4025
3946
|
"pluginName": "@xano/cli",
|
|
4026
3947
|
"pluginType": "core",
|
|
@@ -4030,18 +3951,19 @@
|
|
|
4030
3951
|
"relativePath": [
|
|
4031
3952
|
"dist",
|
|
4032
3953
|
"commands",
|
|
4033
|
-
"
|
|
4034
|
-
"
|
|
3954
|
+
"tenant",
|
|
3955
|
+
"impersonate",
|
|
4035
3956
|
"index.js"
|
|
4036
3957
|
]
|
|
4037
3958
|
},
|
|
4038
|
-
"workflow_test:
|
|
3959
|
+
"workflow_test:list": {
|
|
4039
3960
|
"aliases": [],
|
|
4040
3961
|
"args": {},
|
|
4041
|
-
"description": "
|
|
3962
|
+
"description": "List all workflow tests in a workspace",
|
|
4042
3963
|
"examples": [
|
|
4043
|
-
"$ xano workflow-test
|
|
4044
|
-
"$ xano workflow-test
|
|
3964
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3965
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3966
|
+
"$ xano workflow-test list --branch main"
|
|
4045
3967
|
],
|
|
4046
3968
|
"flags": {
|
|
4047
3969
|
"profile": {
|
|
@@ -4098,7 +4020,7 @@
|
|
|
4098
4020
|
},
|
|
4099
4021
|
"hasDynamicHelp": false,
|
|
4100
4022
|
"hiddenAliases": [],
|
|
4101
|
-
"id": "workflow_test:
|
|
4023
|
+
"id": "workflow_test:list",
|
|
4102
4024
|
"pluginAlias": "@xano/cli",
|
|
4103
4025
|
"pluginName": "@xano/cli",
|
|
4104
4026
|
"pluginType": "core",
|
|
@@ -4109,7 +4031,7 @@
|
|
|
4109
4031
|
"dist",
|
|
4110
4032
|
"commands",
|
|
4111
4033
|
"workflow_test",
|
|
4112
|
-
"
|
|
4034
|
+
"list",
|
|
4113
4035
|
"index.js"
|
|
4114
4036
|
]
|
|
4115
4037
|
},
|
|
@@ -4188,20 +4110,13 @@
|
|
|
4188
4110
|
"index.js"
|
|
4189
4111
|
]
|
|
4190
4112
|
},
|
|
4191
|
-
"
|
|
4113
|
+
"workflow_test:run_all": {
|
|
4192
4114
|
"aliases": [],
|
|
4193
|
-
"args": {
|
|
4194
|
-
|
|
4195
|
-
"description": "Workspace ID to delete",
|
|
4196
|
-
"name": "workspace_id",
|
|
4197
|
-
"required": true
|
|
4198
|
-
}
|
|
4199
|
-
},
|
|
4200
|
-
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4115
|
+
"args": {},
|
|
4116
|
+
"description": "Run all workflow tests in a workspace",
|
|
4201
4117
|
"examples": [
|
|
4202
|
-
"$ xano
|
|
4203
|
-
"$ xano
|
|
4204
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4118
|
+
"$ 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",
|
|
4119
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4205
4120
|
],
|
|
4206
4121
|
"flags": {
|
|
4207
4122
|
"profile": {
|
|
@@ -4223,13 +4138,14 @@
|
|
|
4223
4138
|
"allowNo": false,
|
|
4224
4139
|
"type": "boolean"
|
|
4225
4140
|
},
|
|
4226
|
-
"
|
|
4227
|
-
"char": "
|
|
4228
|
-
"description": "
|
|
4229
|
-
"name": "
|
|
4141
|
+
"branch": {
|
|
4142
|
+
"char": "b",
|
|
4143
|
+
"description": "Filter by branch name",
|
|
4144
|
+
"name": "branch",
|
|
4230
4145
|
"required": false,
|
|
4231
|
-
"
|
|
4232
|
-
"
|
|
4146
|
+
"hasDynamicHelp": false,
|
|
4147
|
+
"multiple": false,
|
|
4148
|
+
"type": "option"
|
|
4233
4149
|
},
|
|
4234
4150
|
"output": {
|
|
4235
4151
|
"char": "o",
|
|
@@ -4244,11 +4160,20 @@
|
|
|
4244
4160
|
"json"
|
|
4245
4161
|
],
|
|
4246
4162
|
"type": "option"
|
|
4163
|
+
},
|
|
4164
|
+
"workspace": {
|
|
4165
|
+
"char": "w",
|
|
4166
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4167
|
+
"name": "workspace",
|
|
4168
|
+
"required": false,
|
|
4169
|
+
"hasDynamicHelp": false,
|
|
4170
|
+
"multiple": false,
|
|
4171
|
+
"type": "option"
|
|
4247
4172
|
}
|
|
4248
4173
|
},
|
|
4249
4174
|
"hasDynamicHelp": false,
|
|
4250
4175
|
"hiddenAliases": [],
|
|
4251
|
-
"id": "
|
|
4176
|
+
"id": "workflow_test:run_all",
|
|
4252
4177
|
"pluginAlias": "@xano/cli",
|
|
4253
4178
|
"pluginName": "@xano/cli",
|
|
4254
4179
|
"pluginType": "core",
|
|
@@ -4258,25 +4183,25 @@
|
|
|
4258
4183
|
"relativePath": [
|
|
4259
4184
|
"dist",
|
|
4260
4185
|
"commands",
|
|
4261
|
-
"
|
|
4262
|
-
"
|
|
4186
|
+
"workflow_test",
|
|
4187
|
+
"run_all",
|
|
4263
4188
|
"index.js"
|
|
4264
4189
|
]
|
|
4265
4190
|
},
|
|
4266
|
-
"workspace:
|
|
4191
|
+
"workspace:delete": {
|
|
4267
4192
|
"aliases": [],
|
|
4268
4193
|
"args": {
|
|
4269
4194
|
"workspace_id": {
|
|
4270
|
-
"description": "Workspace ID to
|
|
4195
|
+
"description": "Workspace ID to delete",
|
|
4271
4196
|
"name": "workspace_id",
|
|
4272
|
-
"required":
|
|
4197
|
+
"required": true
|
|
4273
4198
|
}
|
|
4274
4199
|
},
|
|
4275
|
-
"description": "
|
|
4200
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4276
4201
|
"examples": [
|
|
4277
|
-
"$ xano workspace
|
|
4278
|
-
"$ xano workspace
|
|
4279
|
-
"$ xano workspace
|
|
4202
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4203
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4204
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4280
4205
|
],
|
|
4281
4206
|
"flags": {
|
|
4282
4207
|
"profile": {
|
|
@@ -4298,6 +4223,14 @@
|
|
|
4298
4223
|
"allowNo": false,
|
|
4299
4224
|
"type": "boolean"
|
|
4300
4225
|
},
|
|
4226
|
+
"force": {
|
|
4227
|
+
"char": "f",
|
|
4228
|
+
"description": "Skip confirmation prompt",
|
|
4229
|
+
"name": "force",
|
|
4230
|
+
"required": false,
|
|
4231
|
+
"allowNo": false,
|
|
4232
|
+
"type": "boolean"
|
|
4233
|
+
},
|
|
4301
4234
|
"output": {
|
|
4302
4235
|
"char": "o",
|
|
4303
4236
|
"description": "Output format",
|
|
@@ -4315,7 +4248,7 @@
|
|
|
4315
4248
|
},
|
|
4316
4249
|
"hasDynamicHelp": false,
|
|
4317
4250
|
"hiddenAliases": [],
|
|
4318
|
-
"id": "workspace:
|
|
4251
|
+
"id": "workspace:delete",
|
|
4319
4252
|
"pluginAlias": "@xano/cli",
|
|
4320
4253
|
"pluginName": "@xano/cli",
|
|
4321
4254
|
"pluginType": "core",
|
|
@@ -4326,24 +4259,25 @@
|
|
|
4326
4259
|
"dist",
|
|
4327
4260
|
"commands",
|
|
4328
4261
|
"workspace",
|
|
4329
|
-
"
|
|
4262
|
+
"delete",
|
|
4330
4263
|
"index.js"
|
|
4331
4264
|
]
|
|
4332
4265
|
},
|
|
4333
|
-
"workspace:
|
|
4266
|
+
"workspace:edit": {
|
|
4334
4267
|
"aliases": [],
|
|
4335
4268
|
"args": {
|
|
4336
|
-
"
|
|
4337
|
-
"description": "
|
|
4338
|
-
"name": "
|
|
4339
|
-
"required":
|
|
4269
|
+
"workspace_id": {
|
|
4270
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4271
|
+
"name": "workspace_id",
|
|
4272
|
+
"required": false
|
|
4340
4273
|
}
|
|
4341
4274
|
},
|
|
4342
|
-
"description": "
|
|
4275
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4343
4276
|
"examples": [
|
|
4344
|
-
"$ xano workspace
|
|
4345
|
-
"$ xano workspace
|
|
4346
|
-
"$ xano workspace
|
|
4277
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4278
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4279
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4280
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4347
4281
|
],
|
|
4348
4282
|
"flags": {
|
|
4349
4283
|
"profile": {
|
|
@@ -4367,13 +4301,22 @@
|
|
|
4367
4301
|
},
|
|
4368
4302
|
"description": {
|
|
4369
4303
|
"char": "d",
|
|
4370
|
-
"description": "
|
|
4304
|
+
"description": "New description for the workspace",
|
|
4371
4305
|
"name": "description",
|
|
4372
4306
|
"required": false,
|
|
4373
4307
|
"hasDynamicHelp": false,
|
|
4374
4308
|
"multiple": false,
|
|
4375
4309
|
"type": "option"
|
|
4376
4310
|
},
|
|
4311
|
+
"name": {
|
|
4312
|
+
"char": "n",
|
|
4313
|
+
"description": "New name for the workspace",
|
|
4314
|
+
"name": "name",
|
|
4315
|
+
"required": false,
|
|
4316
|
+
"hasDynamicHelp": false,
|
|
4317
|
+
"multiple": false,
|
|
4318
|
+
"type": "option"
|
|
4319
|
+
},
|
|
4377
4320
|
"output": {
|
|
4378
4321
|
"char": "o",
|
|
4379
4322
|
"description": "Output format",
|
|
@@ -4387,11 +4330,25 @@
|
|
|
4387
4330
|
"json"
|
|
4388
4331
|
],
|
|
4389
4332
|
"type": "option"
|
|
4333
|
+
},
|
|
4334
|
+
"require-token": {
|
|
4335
|
+
"description": "Whether to require a token for documentation access",
|
|
4336
|
+
"name": "require-token",
|
|
4337
|
+
"required": false,
|
|
4338
|
+
"allowNo": true,
|
|
4339
|
+
"type": "boolean"
|
|
4340
|
+
},
|
|
4341
|
+
"swagger": {
|
|
4342
|
+
"description": "Enable or disable swagger documentation",
|
|
4343
|
+
"name": "swagger",
|
|
4344
|
+
"required": false,
|
|
4345
|
+
"allowNo": true,
|
|
4346
|
+
"type": "boolean"
|
|
4390
4347
|
}
|
|
4391
4348
|
},
|
|
4392
4349
|
"hasDynamicHelp": false,
|
|
4393
4350
|
"hiddenAliases": [],
|
|
4394
|
-
"id": "workspace:
|
|
4351
|
+
"id": "workspace:edit",
|
|
4395
4352
|
"pluginAlias": "@xano/cli",
|
|
4396
4353
|
"pluginName": "@xano/cli",
|
|
4397
4354
|
"pluginType": "core",
|
|
@@ -4402,25 +4359,24 @@
|
|
|
4402
4359
|
"dist",
|
|
4403
4360
|
"commands",
|
|
4404
4361
|
"workspace",
|
|
4405
|
-
"
|
|
4362
|
+
"edit",
|
|
4406
4363
|
"index.js"
|
|
4407
4364
|
]
|
|
4408
4365
|
},
|
|
4409
|
-
"workspace:
|
|
4366
|
+
"workspace:get": {
|
|
4410
4367
|
"aliases": [],
|
|
4411
4368
|
"args": {
|
|
4412
4369
|
"workspace_id": {
|
|
4413
|
-
"description": "Workspace ID to
|
|
4370
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4414
4371
|
"name": "workspace_id",
|
|
4415
4372
|
"required": false
|
|
4416
4373
|
}
|
|
4417
4374
|
},
|
|
4418
|
-
"description": "
|
|
4375
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4419
4376
|
"examples": [
|
|
4420
|
-
"$ xano workspace
|
|
4421
|
-
"$ xano workspace
|
|
4422
|
-
"$ xano workspace
|
|
4423
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4377
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4378
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4379
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4424
4380
|
],
|
|
4425
4381
|
"flags": {
|
|
4426
4382
|
"profile": {
|
|
@@ -4442,24 +4398,6 @@
|
|
|
4442
4398
|
"allowNo": false,
|
|
4443
4399
|
"type": "boolean"
|
|
4444
4400
|
},
|
|
4445
|
-
"description": {
|
|
4446
|
-
"char": "d",
|
|
4447
|
-
"description": "New description for the workspace",
|
|
4448
|
-
"name": "description",
|
|
4449
|
-
"required": false,
|
|
4450
|
-
"hasDynamicHelp": false,
|
|
4451
|
-
"multiple": false,
|
|
4452
|
-
"type": "option"
|
|
4453
|
-
},
|
|
4454
|
-
"name": {
|
|
4455
|
-
"char": "n",
|
|
4456
|
-
"description": "New name for the workspace",
|
|
4457
|
-
"name": "name",
|
|
4458
|
-
"required": false,
|
|
4459
|
-
"hasDynamicHelp": false,
|
|
4460
|
-
"multiple": false,
|
|
4461
|
-
"type": "option"
|
|
4462
|
-
},
|
|
4463
4401
|
"output": {
|
|
4464
4402
|
"char": "o",
|
|
4465
4403
|
"description": "Output format",
|
|
@@ -4473,25 +4411,11 @@
|
|
|
4473
4411
|
"json"
|
|
4474
4412
|
],
|
|
4475
4413
|
"type": "option"
|
|
4476
|
-
},
|
|
4477
|
-
"require-token": {
|
|
4478
|
-
"description": "Whether to require a token for documentation access",
|
|
4479
|
-
"name": "require-token",
|
|
4480
|
-
"required": false,
|
|
4481
|
-
"allowNo": true,
|
|
4482
|
-
"type": "boolean"
|
|
4483
|
-
},
|
|
4484
|
-
"swagger": {
|
|
4485
|
-
"description": "Enable or disable swagger documentation",
|
|
4486
|
-
"name": "swagger",
|
|
4487
|
-
"required": false,
|
|
4488
|
-
"allowNo": true,
|
|
4489
|
-
"type": "boolean"
|
|
4490
4414
|
}
|
|
4491
4415
|
},
|
|
4492
4416
|
"hasDynamicHelp": false,
|
|
4493
4417
|
"hiddenAliases": [],
|
|
4494
|
-
"id": "workspace:
|
|
4418
|
+
"id": "workspace:get",
|
|
4495
4419
|
"pluginAlias": "@xano/cli",
|
|
4496
4420
|
"pluginName": "@xano/cli",
|
|
4497
4421
|
"pluginType": "core",
|
|
@@ -4502,7 +4426,7 @@
|
|
|
4502
4426
|
"dist",
|
|
4503
4427
|
"commands",
|
|
4504
4428
|
"workspace",
|
|
4505
|
-
"
|
|
4429
|
+
"get",
|
|
4506
4430
|
"index.js"
|
|
4507
4431
|
]
|
|
4508
4432
|
},
|
|
@@ -4662,6 +4586,82 @@
|
|
|
4662
4586
|
"index.js"
|
|
4663
4587
|
]
|
|
4664
4588
|
},
|
|
4589
|
+
"workspace:create": {
|
|
4590
|
+
"aliases": [],
|
|
4591
|
+
"args": {
|
|
4592
|
+
"name": {
|
|
4593
|
+
"description": "Name of the workspace",
|
|
4594
|
+
"name": "name",
|
|
4595
|
+
"required": true
|
|
4596
|
+
}
|
|
4597
|
+
},
|
|
4598
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4599
|
+
"examples": [
|
|
4600
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4601
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4602
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4603
|
+
],
|
|
4604
|
+
"flags": {
|
|
4605
|
+
"profile": {
|
|
4606
|
+
"char": "p",
|
|
4607
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4608
|
+
"env": "XANO_PROFILE",
|
|
4609
|
+
"name": "profile",
|
|
4610
|
+
"required": false,
|
|
4611
|
+
"hasDynamicHelp": false,
|
|
4612
|
+
"multiple": false,
|
|
4613
|
+
"type": "option"
|
|
4614
|
+
},
|
|
4615
|
+
"verbose": {
|
|
4616
|
+
"char": "v",
|
|
4617
|
+
"description": "Show detailed request/response information",
|
|
4618
|
+
"env": "XANO_VERBOSE",
|
|
4619
|
+
"name": "verbose",
|
|
4620
|
+
"required": false,
|
|
4621
|
+
"allowNo": false,
|
|
4622
|
+
"type": "boolean"
|
|
4623
|
+
},
|
|
4624
|
+
"description": {
|
|
4625
|
+
"char": "d",
|
|
4626
|
+
"description": "Description for the workspace",
|
|
4627
|
+
"name": "description",
|
|
4628
|
+
"required": false,
|
|
4629
|
+
"hasDynamicHelp": false,
|
|
4630
|
+
"multiple": false,
|
|
4631
|
+
"type": "option"
|
|
4632
|
+
},
|
|
4633
|
+
"output": {
|
|
4634
|
+
"char": "o",
|
|
4635
|
+
"description": "Output format",
|
|
4636
|
+
"name": "output",
|
|
4637
|
+
"required": false,
|
|
4638
|
+
"default": "summary",
|
|
4639
|
+
"hasDynamicHelp": false,
|
|
4640
|
+
"multiple": false,
|
|
4641
|
+
"options": [
|
|
4642
|
+
"summary",
|
|
4643
|
+
"json"
|
|
4644
|
+
],
|
|
4645
|
+
"type": "option"
|
|
4646
|
+
}
|
|
4647
|
+
},
|
|
4648
|
+
"hasDynamicHelp": false,
|
|
4649
|
+
"hiddenAliases": [],
|
|
4650
|
+
"id": "workspace:create",
|
|
4651
|
+
"pluginAlias": "@xano/cli",
|
|
4652
|
+
"pluginName": "@xano/cli",
|
|
4653
|
+
"pluginType": "core",
|
|
4654
|
+
"strict": true,
|
|
4655
|
+
"enableJsonFlag": false,
|
|
4656
|
+
"isESM": true,
|
|
4657
|
+
"relativePath": [
|
|
4658
|
+
"dist",
|
|
4659
|
+
"commands",
|
|
4660
|
+
"workspace",
|
|
4661
|
+
"create",
|
|
4662
|
+
"index.js"
|
|
4663
|
+
]
|
|
4664
|
+
},
|
|
4665
4665
|
"profile:workspace:set": {
|
|
4666
4666
|
"aliases": [],
|
|
4667
4667
|
"args": {},
|
|
@@ -4813,26 +4813,148 @@
|
|
|
4813
4813
|
"index.js"
|
|
4814
4814
|
]
|
|
4815
4815
|
},
|
|
4816
|
-
"
|
|
4816
|
+
"workspace:push": {
|
|
4817
4817
|
"aliases": [],
|
|
4818
4818
|
"args": {
|
|
4819
|
-
"
|
|
4820
|
-
"description": "
|
|
4821
|
-
"name": "
|
|
4819
|
+
"directory": {
|
|
4820
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4821
|
+
"name": "directory",
|
|
4822
4822
|
"required": true
|
|
4823
|
+
}
|
|
4824
|
+
},
|
|
4825
|
+
"description": "Push local documents to a workspace. Shows a preview of changes before pushing unless --yes is specified.",
|
|
4826
|
+
"examples": [
|
|
4827
|
+
"$ xano workspace push ./my-workspace\nShows preview of changes, requires confirmation\n",
|
|
4828
|
+
"$ xano workspace push ./my-workspace --force\nSkip preview and push immediately (for CI/CD)\n",
|
|
4829
|
+
"$ xano workspace push ./my-workspace --delete\nShows preview including deletions, requires confirmation\n",
|
|
4830
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4831
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4832
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4833
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4834
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4835
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4836
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4837
|
+
],
|
|
4838
|
+
"flags": {
|
|
4839
|
+
"profile": {
|
|
4840
|
+
"char": "p",
|
|
4841
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4842
|
+
"env": "XANO_PROFILE",
|
|
4843
|
+
"name": "profile",
|
|
4844
|
+
"required": false,
|
|
4845
|
+
"hasDynamicHelp": false,
|
|
4846
|
+
"multiple": false,
|
|
4847
|
+
"type": "option"
|
|
4848
|
+
},
|
|
4849
|
+
"verbose": {
|
|
4850
|
+
"char": "v",
|
|
4851
|
+
"description": "Show detailed request/response information",
|
|
4852
|
+
"env": "XANO_VERBOSE",
|
|
4853
|
+
"name": "verbose",
|
|
4854
|
+
"required": false,
|
|
4855
|
+
"allowNo": false,
|
|
4856
|
+
"type": "boolean"
|
|
4857
|
+
},
|
|
4858
|
+
"branch": {
|
|
4859
|
+
"char": "b",
|
|
4860
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4861
|
+
"name": "branch",
|
|
4862
|
+
"required": false,
|
|
4863
|
+
"hasDynamicHelp": false,
|
|
4864
|
+
"multiple": false,
|
|
4865
|
+
"type": "option"
|
|
4866
|
+
},
|
|
4867
|
+
"delete": {
|
|
4868
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4869
|
+
"name": "delete",
|
|
4870
|
+
"required": false,
|
|
4871
|
+
"allowNo": true,
|
|
4872
|
+
"type": "boolean"
|
|
4873
|
+
},
|
|
4874
|
+
"env": {
|
|
4875
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4876
|
+
"name": "env",
|
|
4877
|
+
"required": false,
|
|
4878
|
+
"allowNo": true,
|
|
4879
|
+
"type": "boolean"
|
|
4880
|
+
},
|
|
4881
|
+
"partial": {
|
|
4882
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4883
|
+
"name": "partial",
|
|
4884
|
+
"required": false,
|
|
4885
|
+
"allowNo": false,
|
|
4886
|
+
"type": "boolean"
|
|
4887
|
+
},
|
|
4888
|
+
"records": {
|
|
4889
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4890
|
+
"name": "records",
|
|
4891
|
+
"required": false,
|
|
4892
|
+
"allowNo": true,
|
|
4893
|
+
"type": "boolean"
|
|
4894
|
+
},
|
|
4895
|
+
"sync-guids": {
|
|
4896
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4897
|
+
"name": "sync-guids",
|
|
4898
|
+
"required": false,
|
|
4899
|
+
"allowNo": true,
|
|
4900
|
+
"type": "boolean"
|
|
4901
|
+
},
|
|
4902
|
+
"truncate": {
|
|
4903
|
+
"description": "Truncate all table records before importing",
|
|
4904
|
+
"name": "truncate",
|
|
4905
|
+
"required": false,
|
|
4906
|
+
"allowNo": false,
|
|
4907
|
+
"type": "boolean"
|
|
4908
|
+
},
|
|
4909
|
+
"workspace": {
|
|
4910
|
+
"char": "w",
|
|
4911
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4912
|
+
"name": "workspace",
|
|
4913
|
+
"required": false,
|
|
4914
|
+
"hasDynamicHelp": false,
|
|
4915
|
+
"multiple": false,
|
|
4916
|
+
"type": "option"
|
|
4823
4917
|
},
|
|
4918
|
+
"force": {
|
|
4919
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4920
|
+
"name": "force",
|
|
4921
|
+
"required": false,
|
|
4922
|
+
"allowNo": false,
|
|
4923
|
+
"type": "boolean"
|
|
4924
|
+
}
|
|
4925
|
+
},
|
|
4926
|
+
"hasDynamicHelp": false,
|
|
4927
|
+
"hiddenAliases": [],
|
|
4928
|
+
"id": "workspace:push",
|
|
4929
|
+
"pluginAlias": "@xano/cli",
|
|
4930
|
+
"pluginName": "@xano/cli",
|
|
4931
|
+
"pluginType": "core",
|
|
4932
|
+
"strict": true,
|
|
4933
|
+
"enableJsonFlag": false,
|
|
4934
|
+
"isESM": true,
|
|
4935
|
+
"relativePath": [
|
|
4936
|
+
"dist",
|
|
4937
|
+
"commands",
|
|
4938
|
+
"workspace",
|
|
4939
|
+
"push",
|
|
4940
|
+
"index.js"
|
|
4941
|
+
]
|
|
4942
|
+
},
|
|
4943
|
+
"static_host:build:list": {
|
|
4944
|
+
"aliases": [],
|
|
4945
|
+
"args": {
|
|
4824
4946
|
"static_host": {
|
|
4825
4947
|
"description": "Static Host name",
|
|
4826
4948
|
"name": "static_host",
|
|
4827
4949
|
"required": true
|
|
4828
4950
|
}
|
|
4829
4951
|
},
|
|
4830
|
-
"description": "
|
|
4952
|
+
"description": "List all builds for a static host",
|
|
4831
4953
|
"examples": [
|
|
4832
|
-
"$ xano static_host:build:
|
|
4833
|
-
"$ xano static_host:build:
|
|
4834
|
-
"$ xano static_host:build:
|
|
4835
|
-
"$ xano static_host:build:
|
|
4954
|
+
"$ 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",
|
|
4955
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4956
|
+
"$ 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",
|
|
4957
|
+
"$ 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"
|
|
4836
4958
|
],
|
|
4837
4959
|
"flags": {
|
|
4838
4960
|
"profile": {
|
|
@@ -4868,6 +4990,24 @@
|
|
|
4868
4990
|
],
|
|
4869
4991
|
"type": "option"
|
|
4870
4992
|
},
|
|
4993
|
+
"page": {
|
|
4994
|
+
"description": "Page number for pagination",
|
|
4995
|
+
"name": "page",
|
|
4996
|
+
"required": false,
|
|
4997
|
+
"default": 1,
|
|
4998
|
+
"hasDynamicHelp": false,
|
|
4999
|
+
"multiple": false,
|
|
5000
|
+
"type": "option"
|
|
5001
|
+
},
|
|
5002
|
+
"per_page": {
|
|
5003
|
+
"description": "Number of results per page",
|
|
5004
|
+
"name": "per_page",
|
|
5005
|
+
"required": false,
|
|
5006
|
+
"default": 50,
|
|
5007
|
+
"hasDynamicHelp": false,
|
|
5008
|
+
"multiple": false,
|
|
5009
|
+
"type": "option"
|
|
5010
|
+
},
|
|
4871
5011
|
"workspace": {
|
|
4872
5012
|
"char": "w",
|
|
4873
5013
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4880,7 +5020,7 @@
|
|
|
4880
5020
|
},
|
|
4881
5021
|
"hasDynamicHelp": false,
|
|
4882
5022
|
"hiddenAliases": [],
|
|
4883
|
-
"id": "static_host:build:
|
|
5023
|
+
"id": "static_host:build:list",
|
|
4884
5024
|
"pluginAlias": "@xano/cli",
|
|
4885
5025
|
"pluginName": "@xano/cli",
|
|
4886
5026
|
"pluginType": "core",
|
|
@@ -4892,25 +5032,23 @@
|
|
|
4892
5032
|
"commands",
|
|
4893
5033
|
"static_host",
|
|
4894
5034
|
"build",
|
|
4895
|
-
"
|
|
5035
|
+
"list",
|
|
4896
5036
|
"index.js"
|
|
4897
5037
|
]
|
|
4898
5038
|
},
|
|
4899
|
-
"
|
|
5039
|
+
"tenant:backup:create": {
|
|
4900
5040
|
"aliases": [],
|
|
4901
5041
|
"args": {
|
|
4902
|
-
"
|
|
4903
|
-
"description": "
|
|
4904
|
-
"name": "
|
|
5042
|
+
"tenant_name": {
|
|
5043
|
+
"description": "Tenant name to back up",
|
|
5044
|
+
"name": "tenant_name",
|
|
4905
5045
|
"required": true
|
|
4906
5046
|
}
|
|
4907
5047
|
},
|
|
4908
|
-
"description": "
|
|
5048
|
+
"description": "Create a backup for a tenant",
|
|
4909
5049
|
"examples": [
|
|
4910
|
-
"$ xano
|
|
4911
|
-
"$ xano
|
|
4912
|
-
"$ 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",
|
|
4913
|
-
"$ 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"
|
|
5050
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5051
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
4914
5052
|
],
|
|
4915
5053
|
"flags": {
|
|
4916
5054
|
"profile": {
|
|
@@ -4932,6 +5070,16 @@
|
|
|
4932
5070
|
"allowNo": false,
|
|
4933
5071
|
"type": "boolean"
|
|
4934
5072
|
},
|
|
5073
|
+
"description": {
|
|
5074
|
+
"char": "d",
|
|
5075
|
+
"description": "Backup description",
|
|
5076
|
+
"name": "description",
|
|
5077
|
+
"required": false,
|
|
5078
|
+
"default": "",
|
|
5079
|
+
"hasDynamicHelp": false,
|
|
5080
|
+
"multiple": false,
|
|
5081
|
+
"type": "option"
|
|
5082
|
+
},
|
|
4935
5083
|
"output": {
|
|
4936
5084
|
"char": "o",
|
|
4937
5085
|
"description": "Output format",
|
|
@@ -4946,27 +5094,9 @@
|
|
|
4946
5094
|
],
|
|
4947
5095
|
"type": "option"
|
|
4948
5096
|
},
|
|
4949
|
-
"page": {
|
|
4950
|
-
"description": "Page number for pagination",
|
|
4951
|
-
"name": "page",
|
|
4952
|
-
"required": false,
|
|
4953
|
-
"default": 1,
|
|
4954
|
-
"hasDynamicHelp": false,
|
|
4955
|
-
"multiple": false,
|
|
4956
|
-
"type": "option"
|
|
4957
|
-
},
|
|
4958
|
-
"per_page": {
|
|
4959
|
-
"description": "Number of results per page",
|
|
4960
|
-
"name": "per_page",
|
|
4961
|
-
"required": false,
|
|
4962
|
-
"default": 50,
|
|
4963
|
-
"hasDynamicHelp": false,
|
|
4964
|
-
"multiple": false,
|
|
4965
|
-
"type": "option"
|
|
4966
|
-
},
|
|
4967
5097
|
"workspace": {
|
|
4968
5098
|
"char": "w",
|
|
4969
|
-
"description": "Workspace ID (
|
|
5099
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4970
5100
|
"name": "workspace",
|
|
4971
5101
|
"required": false,
|
|
4972
5102
|
"hasDynamicHelp": false,
|
|
@@ -4976,7 +5106,7 @@
|
|
|
4976
5106
|
},
|
|
4977
5107
|
"hasDynamicHelp": false,
|
|
4978
5108
|
"hiddenAliases": [],
|
|
4979
|
-
"id": "
|
|
5109
|
+
"id": "tenant:backup:create",
|
|
4980
5110
|
"pluginAlias": "@xano/cli",
|
|
4981
5111
|
"pluginName": "@xano/cli",
|
|
4982
5112
|
"pluginType": "core",
|
|
@@ -4986,9 +5116,9 @@
|
|
|
4986
5116
|
"relativePath": [
|
|
4987
5117
|
"dist",
|
|
4988
5118
|
"commands",
|
|
4989
|
-
"
|
|
4990
|
-
"
|
|
4991
|
-
"
|
|
5119
|
+
"tenant",
|
|
5120
|
+
"backup",
|
|
5121
|
+
"create",
|
|
4992
5122
|
"index.js"
|
|
4993
5123
|
]
|
|
4994
5124
|
},
|
|
@@ -5085,19 +5215,26 @@
|
|
|
5085
5215
|
"index.js"
|
|
5086
5216
|
]
|
|
5087
5217
|
},
|
|
5088
|
-
"
|
|
5218
|
+
"static_host:build:get": {
|
|
5089
5219
|
"aliases": [],
|
|
5090
5220
|
"args": {
|
|
5091
|
-
"
|
|
5092
|
-
"description": "
|
|
5093
|
-
"name": "
|
|
5221
|
+
"build_id": {
|
|
5222
|
+
"description": "Build ID",
|
|
5223
|
+
"name": "build_id",
|
|
5224
|
+
"required": true
|
|
5225
|
+
},
|
|
5226
|
+
"static_host": {
|
|
5227
|
+
"description": "Static Host name",
|
|
5228
|
+
"name": "static_host",
|
|
5094
5229
|
"required": true
|
|
5095
5230
|
}
|
|
5096
5231
|
},
|
|
5097
|
-
"description": "
|
|
5232
|
+
"description": "Get details of a specific build for a static host",
|
|
5098
5233
|
"examples": [
|
|
5099
|
-
"$ xano
|
|
5100
|
-
"$ xano
|
|
5234
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5235
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5236
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5237
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5101
5238
|
],
|
|
5102
5239
|
"flags": {
|
|
5103
5240
|
"profile": {
|
|
@@ -5119,16 +5256,6 @@
|
|
|
5119
5256
|
"allowNo": false,
|
|
5120
5257
|
"type": "boolean"
|
|
5121
5258
|
},
|
|
5122
|
-
"description": {
|
|
5123
|
-
"char": "d",
|
|
5124
|
-
"description": "Backup description",
|
|
5125
|
-
"name": "description",
|
|
5126
|
-
"required": false,
|
|
5127
|
-
"default": "",
|
|
5128
|
-
"hasDynamicHelp": false,
|
|
5129
|
-
"multiple": false,
|
|
5130
|
-
"type": "option"
|
|
5131
|
-
},
|
|
5132
5259
|
"output": {
|
|
5133
5260
|
"char": "o",
|
|
5134
5261
|
"description": "Output format",
|
|
@@ -5145,7 +5272,7 @@
|
|
|
5145
5272
|
},
|
|
5146
5273
|
"workspace": {
|
|
5147
5274
|
"char": "w",
|
|
5148
|
-
"description": "Workspace ID (
|
|
5275
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5149
5276
|
"name": "workspace",
|
|
5150
5277
|
"required": false,
|
|
5151
5278
|
"hasDynamicHelp": false,
|
|
@@ -5155,7 +5282,7 @@
|
|
|
5155
5282
|
},
|
|
5156
5283
|
"hasDynamicHelp": false,
|
|
5157
5284
|
"hiddenAliases": [],
|
|
5158
|
-
"id": "
|
|
5285
|
+
"id": "static_host:build:get",
|
|
5159
5286
|
"pluginAlias": "@xano/cli",
|
|
5160
5287
|
"pluginName": "@xano/cli",
|
|
5161
5288
|
"pluginType": "core",
|
|
@@ -5165,9 +5292,9 @@
|
|
|
5165
5292
|
"relativePath": [
|
|
5166
5293
|
"dist",
|
|
5167
5294
|
"commands",
|
|
5168
|
-
"
|
|
5169
|
-
"
|
|
5170
|
-
"
|
|
5295
|
+
"static_host",
|
|
5296
|
+
"build",
|
|
5297
|
+
"get",
|
|
5171
5298
|
"index.js"
|
|
5172
5299
|
]
|
|
5173
5300
|
},
|
|
@@ -5359,127 +5486,6 @@
|
|
|
5359
5486
|
"index.js"
|
|
5360
5487
|
]
|
|
5361
5488
|
},
|
|
5362
|
-
"workspace:push": {
|
|
5363
|
-
"aliases": [],
|
|
5364
|
-
"args": {
|
|
5365
|
-
"directory": {
|
|
5366
|
-
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
5367
|
-
"name": "directory",
|
|
5368
|
-
"required": true
|
|
5369
|
-
}
|
|
5370
|
-
},
|
|
5371
|
-
"description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
|
|
5372
|
-
"examples": [
|
|
5373
|
-
"$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
|
|
5374
|
-
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
5375
|
-
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
5376
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
5377
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
5378
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
5379
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
5380
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
5381
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
5382
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
5383
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
5384
|
-
],
|
|
5385
|
-
"flags": {
|
|
5386
|
-
"profile": {
|
|
5387
|
-
"char": "p",
|
|
5388
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5389
|
-
"env": "XANO_PROFILE",
|
|
5390
|
-
"name": "profile",
|
|
5391
|
-
"required": false,
|
|
5392
|
-
"hasDynamicHelp": false,
|
|
5393
|
-
"multiple": false,
|
|
5394
|
-
"type": "option"
|
|
5395
|
-
},
|
|
5396
|
-
"verbose": {
|
|
5397
|
-
"char": "v",
|
|
5398
|
-
"description": "Show detailed request/response information",
|
|
5399
|
-
"env": "XANO_VERBOSE",
|
|
5400
|
-
"name": "verbose",
|
|
5401
|
-
"required": false,
|
|
5402
|
-
"allowNo": false,
|
|
5403
|
-
"type": "boolean"
|
|
5404
|
-
},
|
|
5405
|
-
"branch": {
|
|
5406
|
-
"char": "b",
|
|
5407
|
-
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
5408
|
-
"name": "branch",
|
|
5409
|
-
"required": false,
|
|
5410
|
-
"hasDynamicHelp": false,
|
|
5411
|
-
"multiple": false,
|
|
5412
|
-
"type": "option"
|
|
5413
|
-
},
|
|
5414
|
-
"delete": {
|
|
5415
|
-
"description": "Delete workspace objects not included in the push (default: false)",
|
|
5416
|
-
"name": "delete",
|
|
5417
|
-
"required": false,
|
|
5418
|
-
"allowNo": true,
|
|
5419
|
-
"type": "boolean"
|
|
5420
|
-
},
|
|
5421
|
-
"env": {
|
|
5422
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
5423
|
-
"name": "env",
|
|
5424
|
-
"required": false,
|
|
5425
|
-
"allowNo": true,
|
|
5426
|
-
"type": "boolean"
|
|
5427
|
-
},
|
|
5428
|
-
"partial": {
|
|
5429
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
5430
|
-
"name": "partial",
|
|
5431
|
-
"required": false,
|
|
5432
|
-
"allowNo": false,
|
|
5433
|
-
"type": "boolean"
|
|
5434
|
-
},
|
|
5435
|
-
"records": {
|
|
5436
|
-
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
5437
|
-
"name": "records",
|
|
5438
|
-
"required": false,
|
|
5439
|
-
"allowNo": true,
|
|
5440
|
-
"type": "boolean"
|
|
5441
|
-
},
|
|
5442
|
-
"sync-guids": {
|
|
5443
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
5444
|
-
"name": "sync-guids",
|
|
5445
|
-
"required": false,
|
|
5446
|
-
"allowNo": true,
|
|
5447
|
-
"type": "boolean"
|
|
5448
|
-
},
|
|
5449
|
-
"truncate": {
|
|
5450
|
-
"description": "Truncate all table records before importing",
|
|
5451
|
-
"name": "truncate",
|
|
5452
|
-
"required": false,
|
|
5453
|
-
"allowNo": false,
|
|
5454
|
-
"type": "boolean"
|
|
5455
|
-
},
|
|
5456
|
-
"workspace": {
|
|
5457
|
-
"char": "w",
|
|
5458
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
5459
|
-
"name": "workspace",
|
|
5460
|
-
"required": false,
|
|
5461
|
-
"hasDynamicHelp": false,
|
|
5462
|
-
"multiple": false,
|
|
5463
|
-
"type": "option"
|
|
5464
|
-
}
|
|
5465
|
-
},
|
|
5466
|
-
"hasDynamicHelp": false,
|
|
5467
|
-
"hiddenAliases": [],
|
|
5468
|
-
"id": "workspace:push",
|
|
5469
|
-
"pluginAlias": "@xano/cli",
|
|
5470
|
-
"pluginName": "@xano/cli",
|
|
5471
|
-
"pluginType": "core",
|
|
5472
|
-
"strict": true,
|
|
5473
|
-
"enableJsonFlag": false,
|
|
5474
|
-
"isESM": true,
|
|
5475
|
-
"relativePath": [
|
|
5476
|
-
"dist",
|
|
5477
|
-
"commands",
|
|
5478
|
-
"workspace",
|
|
5479
|
-
"push",
|
|
5480
|
-
"index.js"
|
|
5481
|
-
]
|
|
5482
|
-
},
|
|
5483
5489
|
"tenant:backup:list": {
|
|
5484
5490
|
"aliases": [],
|
|
5485
5491
|
"args": {
|
|
@@ -5779,19 +5785,20 @@
|
|
|
5779
5785
|
"index.js"
|
|
5780
5786
|
]
|
|
5781
5787
|
},
|
|
5782
|
-
"tenant:cluster:
|
|
5788
|
+
"tenant:cluster:delete": {
|
|
5783
5789
|
"aliases": [],
|
|
5784
5790
|
"args": {
|
|
5785
5791
|
"cluster_id": {
|
|
5786
|
-
"description": "Cluster ID to
|
|
5792
|
+
"description": "Cluster ID to delete",
|
|
5787
5793
|
"name": "cluster_id",
|
|
5788
5794
|
"required": true
|
|
5789
5795
|
}
|
|
5790
5796
|
},
|
|
5791
|
-
"description": "
|
|
5797
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5792
5798
|
"examples": [
|
|
5793
|
-
"$ xano tenant cluster
|
|
5794
|
-
"$ xano tenant cluster
|
|
5799
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5800
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5801
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5795
5802
|
],
|
|
5796
5803
|
"flags": {
|
|
5797
5804
|
"profile": {
|
|
@@ -5813,31 +5820,13 @@
|
|
|
5813
5820
|
"allowNo": false,
|
|
5814
5821
|
"type": "boolean"
|
|
5815
5822
|
},
|
|
5816
|
-
"
|
|
5817
|
-
"char": "
|
|
5818
|
-
"description": "
|
|
5819
|
-
"name": "
|
|
5820
|
-
"required":
|
|
5821
|
-
"
|
|
5822
|
-
"
|
|
5823
|
-
"type": "option"
|
|
5824
|
-
},
|
|
5825
|
-
"domain": {
|
|
5826
|
-
"description": "Custom domain for the cluster",
|
|
5827
|
-
"name": "domain",
|
|
5828
|
-
"required": true,
|
|
5829
|
-
"hasDynamicHelp": false,
|
|
5830
|
-
"multiple": false,
|
|
5831
|
-
"type": "option"
|
|
5832
|
-
},
|
|
5833
|
-
"name": {
|
|
5834
|
-
"char": "n",
|
|
5835
|
-
"description": "Cluster name",
|
|
5836
|
-
"name": "name",
|
|
5837
|
-
"required": true,
|
|
5838
|
-
"hasDynamicHelp": false,
|
|
5839
|
-
"multiple": false,
|
|
5840
|
-
"type": "option"
|
|
5823
|
+
"force": {
|
|
5824
|
+
"char": "f",
|
|
5825
|
+
"description": "Skip confirmation prompt",
|
|
5826
|
+
"name": "force",
|
|
5827
|
+
"required": false,
|
|
5828
|
+
"allowNo": false,
|
|
5829
|
+
"type": "boolean"
|
|
5841
5830
|
},
|
|
5842
5831
|
"output": {
|
|
5843
5832
|
"char": "o",
|
|
@@ -5852,23 +5841,11 @@
|
|
|
5852
5841
|
"json"
|
|
5853
5842
|
],
|
|
5854
5843
|
"type": "option"
|
|
5855
|
-
},
|
|
5856
|
-
"type": {
|
|
5857
|
-
"description": "Cluster type",
|
|
5858
|
-
"name": "type",
|
|
5859
|
-
"required": true,
|
|
5860
|
-
"hasDynamicHelp": false,
|
|
5861
|
-
"multiple": false,
|
|
5862
|
-
"options": [
|
|
5863
|
-
"standard",
|
|
5864
|
-
"run"
|
|
5865
|
-
],
|
|
5866
|
-
"type": "option"
|
|
5867
5844
|
}
|
|
5868
5845
|
},
|
|
5869
5846
|
"hasDynamicHelp": false,
|
|
5870
5847
|
"hiddenAliases": [],
|
|
5871
|
-
"id": "tenant:cluster:
|
|
5848
|
+
"id": "tenant:cluster:delete",
|
|
5872
5849
|
"pluginAlias": "@xano/cli",
|
|
5873
5850
|
"pluginName": "@xano/cli",
|
|
5874
5851
|
"pluginType": "core",
|
|
@@ -5880,24 +5857,23 @@
|
|
|
5880
5857
|
"commands",
|
|
5881
5858
|
"tenant",
|
|
5882
5859
|
"cluster",
|
|
5883
|
-
"
|
|
5860
|
+
"delete",
|
|
5884
5861
|
"index.js"
|
|
5885
5862
|
]
|
|
5886
5863
|
},
|
|
5887
|
-
"tenant:cluster:
|
|
5864
|
+
"tenant:cluster:edit": {
|
|
5888
5865
|
"aliases": [],
|
|
5889
5866
|
"args": {
|
|
5890
5867
|
"cluster_id": {
|
|
5891
|
-
"description": "Cluster ID to
|
|
5868
|
+
"description": "Cluster ID to edit",
|
|
5892
5869
|
"name": "cluster_id",
|
|
5893
5870
|
"required": true
|
|
5894
5871
|
}
|
|
5895
5872
|
},
|
|
5896
|
-
"description": "
|
|
5873
|
+
"description": "Update an existing tenant cluster",
|
|
5897
5874
|
"examples": [
|
|
5898
|
-
"$ xano tenant cluster
|
|
5899
|
-
"$ xano tenant cluster
|
|
5900
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5875
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5876
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5901
5877
|
],
|
|
5902
5878
|
"flags": {
|
|
5903
5879
|
"profile": {
|
|
@@ -5919,13 +5895,31 @@
|
|
|
5919
5895
|
"allowNo": false,
|
|
5920
5896
|
"type": "boolean"
|
|
5921
5897
|
},
|
|
5922
|
-
"
|
|
5923
|
-
"char": "
|
|
5924
|
-
"description": "
|
|
5925
|
-
"name": "
|
|
5926
|
-
"required":
|
|
5927
|
-
"
|
|
5928
|
-
"
|
|
5898
|
+
"description": {
|
|
5899
|
+
"char": "d",
|
|
5900
|
+
"description": "Cluster description",
|
|
5901
|
+
"name": "description",
|
|
5902
|
+
"required": true,
|
|
5903
|
+
"hasDynamicHelp": false,
|
|
5904
|
+
"multiple": false,
|
|
5905
|
+
"type": "option"
|
|
5906
|
+
},
|
|
5907
|
+
"domain": {
|
|
5908
|
+
"description": "Custom domain for the cluster",
|
|
5909
|
+
"name": "domain",
|
|
5910
|
+
"required": true,
|
|
5911
|
+
"hasDynamicHelp": false,
|
|
5912
|
+
"multiple": false,
|
|
5913
|
+
"type": "option"
|
|
5914
|
+
},
|
|
5915
|
+
"name": {
|
|
5916
|
+
"char": "n",
|
|
5917
|
+
"description": "Cluster name",
|
|
5918
|
+
"name": "name",
|
|
5919
|
+
"required": true,
|
|
5920
|
+
"hasDynamicHelp": false,
|
|
5921
|
+
"multiple": false,
|
|
5922
|
+
"type": "option"
|
|
5929
5923
|
},
|
|
5930
5924
|
"output": {
|
|
5931
5925
|
"char": "o",
|
|
@@ -5940,11 +5934,23 @@
|
|
|
5940
5934
|
"json"
|
|
5941
5935
|
],
|
|
5942
5936
|
"type": "option"
|
|
5937
|
+
},
|
|
5938
|
+
"type": {
|
|
5939
|
+
"description": "Cluster type",
|
|
5940
|
+
"name": "type",
|
|
5941
|
+
"required": true,
|
|
5942
|
+
"hasDynamicHelp": false,
|
|
5943
|
+
"multiple": false,
|
|
5944
|
+
"options": [
|
|
5945
|
+
"standard",
|
|
5946
|
+
"run"
|
|
5947
|
+
],
|
|
5948
|
+
"type": "option"
|
|
5943
5949
|
}
|
|
5944
5950
|
},
|
|
5945
5951
|
"hasDynamicHelp": false,
|
|
5946
5952
|
"hiddenAliases": [],
|
|
5947
|
-
"id": "tenant:cluster:
|
|
5953
|
+
"id": "tenant:cluster:edit",
|
|
5948
5954
|
"pluginAlias": "@xano/cli",
|
|
5949
5955
|
"pluginName": "@xano/cli",
|
|
5950
5956
|
"pluginType": "core",
|
|
@@ -5956,7 +5962,7 @@
|
|
|
5956
5962
|
"commands",
|
|
5957
5963
|
"tenant",
|
|
5958
5964
|
"cluster",
|
|
5959
|
-
"
|
|
5965
|
+
"edit",
|
|
5960
5966
|
"index.js"
|
|
5961
5967
|
]
|
|
5962
5968
|
},
|
|
@@ -6088,7 +6094,7 @@
|
|
|
6088
6094
|
"index.js"
|
|
6089
6095
|
]
|
|
6090
6096
|
},
|
|
6091
|
-
"tenant:env:
|
|
6097
|
+
"tenant:env:delete": {
|
|
6092
6098
|
"aliases": [],
|
|
6093
6099
|
"args": {
|
|
6094
6100
|
"tenant_name": {
|
|
@@ -6097,10 +6103,11 @@
|
|
|
6097
6103
|
"required": true
|
|
6098
6104
|
}
|
|
6099
6105
|
},
|
|
6100
|
-
"description": "
|
|
6106
|
+
"description": "Delete an environment variable from a tenant",
|
|
6101
6107
|
"examples": [
|
|
6102
|
-
"$ xano tenant env
|
|
6103
|
-
"$ xano tenant env
|
|
6108
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6109
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6110
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6104
6111
|
],
|
|
6105
6112
|
"flags": {
|
|
6106
6113
|
"profile": {
|
|
@@ -6122,6 +6129,14 @@
|
|
|
6122
6129
|
"allowNo": false,
|
|
6123
6130
|
"type": "boolean"
|
|
6124
6131
|
},
|
|
6132
|
+
"force": {
|
|
6133
|
+
"char": "f",
|
|
6134
|
+
"description": "Skip confirmation prompt",
|
|
6135
|
+
"name": "force",
|
|
6136
|
+
"required": false,
|
|
6137
|
+
"allowNo": false,
|
|
6138
|
+
"type": "boolean"
|
|
6139
|
+
},
|
|
6125
6140
|
"name": {
|
|
6126
6141
|
"char": "n",
|
|
6127
6142
|
"description": "Environment variable name",
|
|
@@ -6157,7 +6172,7 @@
|
|
|
6157
6172
|
},
|
|
6158
6173
|
"hasDynamicHelp": false,
|
|
6159
6174
|
"hiddenAliases": [],
|
|
6160
|
-
"id": "tenant:env:
|
|
6175
|
+
"id": "tenant:env:delete",
|
|
6161
6176
|
"pluginAlias": "@xano/cli",
|
|
6162
6177
|
"pluginName": "@xano/cli",
|
|
6163
6178
|
"pluginType": "core",
|
|
@@ -6169,11 +6184,11 @@
|
|
|
6169
6184
|
"commands",
|
|
6170
6185
|
"tenant",
|
|
6171
6186
|
"env",
|
|
6172
|
-
"
|
|
6187
|
+
"delete",
|
|
6173
6188
|
"index.js"
|
|
6174
6189
|
]
|
|
6175
6190
|
},
|
|
6176
|
-
"tenant:env:
|
|
6191
|
+
"tenant:env:get": {
|
|
6177
6192
|
"aliases": [],
|
|
6178
6193
|
"args": {
|
|
6179
6194
|
"tenant_name": {
|
|
@@ -6182,11 +6197,10 @@
|
|
|
6182
6197
|
"required": true
|
|
6183
6198
|
}
|
|
6184
6199
|
},
|
|
6185
|
-
"description": "
|
|
6200
|
+
"description": "Get a single environment variable for a tenant",
|
|
6186
6201
|
"examples": [
|
|
6187
|
-
"$ xano tenant env
|
|
6188
|
-
"$ xano tenant env
|
|
6189
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6202
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6203
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6190
6204
|
],
|
|
6191
6205
|
"flags": {
|
|
6192
6206
|
"profile": {
|
|
@@ -6208,14 +6222,6 @@
|
|
|
6208
6222
|
"allowNo": false,
|
|
6209
6223
|
"type": "boolean"
|
|
6210
6224
|
},
|
|
6211
|
-
"force": {
|
|
6212
|
-
"char": "f",
|
|
6213
|
-
"description": "Skip confirmation prompt",
|
|
6214
|
-
"name": "force",
|
|
6215
|
-
"required": false,
|
|
6216
|
-
"allowNo": false,
|
|
6217
|
-
"type": "boolean"
|
|
6218
|
-
},
|
|
6219
6225
|
"name": {
|
|
6220
6226
|
"char": "n",
|
|
6221
6227
|
"description": "Environment variable name",
|
|
@@ -6251,7 +6257,7 @@
|
|
|
6251
6257
|
},
|
|
6252
6258
|
"hasDynamicHelp": false,
|
|
6253
6259
|
"hiddenAliases": [],
|
|
6254
|
-
"id": "tenant:env:
|
|
6260
|
+
"id": "tenant:env:get",
|
|
6255
6261
|
"pluginAlias": "@xano/cli",
|
|
6256
6262
|
"pluginName": "@xano/cli",
|
|
6257
6263
|
"pluginType": "core",
|
|
@@ -6263,7 +6269,7 @@
|
|
|
6263
6269
|
"commands",
|
|
6264
6270
|
"tenant",
|
|
6265
6271
|
"env",
|
|
6266
|
-
"
|
|
6272
|
+
"get",
|
|
6267
6273
|
"index.js"
|
|
6268
6274
|
]
|
|
6269
6275
|
},
|
|
@@ -6530,7 +6536,7 @@
|
|
|
6530
6536
|
"index.js"
|
|
6531
6537
|
]
|
|
6532
6538
|
},
|
|
6533
|
-
"tenant:
|
|
6539
|
+
"tenant:license:set": {
|
|
6534
6540
|
"aliases": [],
|
|
6535
6541
|
"args": {
|
|
6536
6542
|
"tenant_name": {
|
|
@@ -6539,11 +6545,12 @@
|
|
|
6539
6545
|
"required": true
|
|
6540
6546
|
}
|
|
6541
6547
|
},
|
|
6542
|
-
"description": "Set
|
|
6548
|
+
"description": "Set/update the license for a tenant",
|
|
6543
6549
|
"examples": [
|
|
6544
|
-
"$ xano tenant
|
|
6545
|
-
"$ xano tenant
|
|
6546
|
-
"$ xano tenant
|
|
6550
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6551
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6552
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6553
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6547
6554
|
],
|
|
6548
6555
|
"flags": {
|
|
6549
6556
|
"profile": {
|
|
@@ -6567,6 +6574,9 @@
|
|
|
6567
6574
|
},
|
|
6568
6575
|
"clean": {
|
|
6569
6576
|
"description": "Remove the source file after successful upload",
|
|
6577
|
+
"exclusive": [
|
|
6578
|
+
"value"
|
|
6579
|
+
],
|
|
6570
6580
|
"name": "clean",
|
|
6571
6581
|
"required": false,
|
|
6572
6582
|
"allowNo": false,
|
|
@@ -6574,7 +6584,10 @@
|
|
|
6574
6584
|
},
|
|
6575
6585
|
"file": {
|
|
6576
6586
|
"char": "f",
|
|
6577
|
-
"description": "Path to
|
|
6587
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6588
|
+
"exclusive": [
|
|
6589
|
+
"value"
|
|
6590
|
+
],
|
|
6578
6591
|
"name": "file",
|
|
6579
6592
|
"required": false,
|
|
6580
6593
|
"hasDynamicHelp": false,
|
|
@@ -6595,6 +6608,18 @@
|
|
|
6595
6608
|
],
|
|
6596
6609
|
"type": "option"
|
|
6597
6610
|
},
|
|
6611
|
+
"value": {
|
|
6612
|
+
"description": "Inline license value",
|
|
6613
|
+
"exclusive": [
|
|
6614
|
+
"file",
|
|
6615
|
+
"clean"
|
|
6616
|
+
],
|
|
6617
|
+
"name": "value",
|
|
6618
|
+
"required": false,
|
|
6619
|
+
"hasDynamicHelp": false,
|
|
6620
|
+
"multiple": false,
|
|
6621
|
+
"type": "option"
|
|
6622
|
+
},
|
|
6598
6623
|
"workspace": {
|
|
6599
6624
|
"char": "w",
|
|
6600
6625
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6607,7 +6632,7 @@
|
|
|
6607
6632
|
},
|
|
6608
6633
|
"hasDynamicHelp": false,
|
|
6609
6634
|
"hiddenAliases": [],
|
|
6610
|
-
"id": "tenant:
|
|
6635
|
+
"id": "tenant:license:set",
|
|
6611
6636
|
"pluginAlias": "@xano/cli",
|
|
6612
6637
|
"pluginName": "@xano/cli",
|
|
6613
6638
|
"pluginType": "core",
|
|
@@ -6618,8 +6643,8 @@
|
|
|
6618
6643
|
"dist",
|
|
6619
6644
|
"commands",
|
|
6620
6645
|
"tenant",
|
|
6621
|
-
"
|
|
6622
|
-
"
|
|
6646
|
+
"license",
|
|
6647
|
+
"set",
|
|
6623
6648
|
"index.js"
|
|
6624
6649
|
]
|
|
6625
6650
|
},
|
|
@@ -6717,7 +6742,7 @@
|
|
|
6717
6742
|
"index.js"
|
|
6718
6743
|
]
|
|
6719
6744
|
},
|
|
6720
|
-
"tenant:
|
|
6745
|
+
"tenant:env:set_all": {
|
|
6721
6746
|
"aliases": [],
|
|
6722
6747
|
"args": {
|
|
6723
6748
|
"tenant_name": {
|
|
@@ -6726,12 +6751,11 @@
|
|
|
6726
6751
|
"required": true
|
|
6727
6752
|
}
|
|
6728
6753
|
},
|
|
6729
|
-
"description": "Set
|
|
6754
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6730
6755
|
"examples": [
|
|
6731
|
-
"$ xano tenant
|
|
6732
|
-
"$ xano tenant
|
|
6733
|
-
"$ xano tenant
|
|
6734
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6756
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6757
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6758
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6735
6759
|
],
|
|
6736
6760
|
"flags": {
|
|
6737
6761
|
"profile": {
|
|
@@ -6755,9 +6779,6 @@
|
|
|
6755
6779
|
},
|
|
6756
6780
|
"clean": {
|
|
6757
6781
|
"description": "Remove the source file after successful upload",
|
|
6758
|
-
"exclusive": [
|
|
6759
|
-
"value"
|
|
6760
|
-
],
|
|
6761
6782
|
"name": "clean",
|
|
6762
6783
|
"required": false,
|
|
6763
6784
|
"allowNo": false,
|
|
@@ -6765,10 +6786,7 @@
|
|
|
6765
6786
|
},
|
|
6766
6787
|
"file": {
|
|
6767
6788
|
"char": "f",
|
|
6768
|
-
"description": "Path to
|
|
6769
|
-
"exclusive": [
|
|
6770
|
-
"value"
|
|
6771
|
-
],
|
|
6789
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6772
6790
|
"name": "file",
|
|
6773
6791
|
"required": false,
|
|
6774
6792
|
"hasDynamicHelp": false,
|
|
@@ -6789,18 +6807,6 @@
|
|
|
6789
6807
|
],
|
|
6790
6808
|
"type": "option"
|
|
6791
6809
|
},
|
|
6792
|
-
"value": {
|
|
6793
|
-
"description": "Inline license value",
|
|
6794
|
-
"exclusive": [
|
|
6795
|
-
"file",
|
|
6796
|
-
"clean"
|
|
6797
|
-
],
|
|
6798
|
-
"name": "value",
|
|
6799
|
-
"required": false,
|
|
6800
|
-
"hasDynamicHelp": false,
|
|
6801
|
-
"multiple": false,
|
|
6802
|
-
"type": "option"
|
|
6803
|
-
},
|
|
6804
6810
|
"workspace": {
|
|
6805
6811
|
"char": "w",
|
|
6806
6812
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6813,7 +6819,7 @@
|
|
|
6813
6819
|
},
|
|
6814
6820
|
"hasDynamicHelp": false,
|
|
6815
6821
|
"hiddenAliases": [],
|
|
6816
|
-
"id": "tenant:
|
|
6822
|
+
"id": "tenant:env:set_all",
|
|
6817
6823
|
"pluginAlias": "@xano/cli",
|
|
6818
6824
|
"pluginName": "@xano/cli",
|
|
6819
6825
|
"pluginType": "core",
|
|
@@ -6824,8 +6830,8 @@
|
|
|
6824
6830
|
"dist",
|
|
6825
6831
|
"commands",
|
|
6826
6832
|
"tenant",
|
|
6827
|
-
"
|
|
6828
|
-
"
|
|
6833
|
+
"env",
|
|
6834
|
+
"set_all",
|
|
6829
6835
|
"index.js"
|
|
6830
6836
|
]
|
|
6831
6837
|
},
|
|
@@ -6923,7 +6929,7 @@
|
|
|
6923
6929
|
"index.js"
|
|
6924
6930
|
]
|
|
6925
6931
|
},
|
|
6926
|
-
"tenant:cluster:license:
|
|
6932
|
+
"tenant:cluster:license:get": {
|
|
6927
6933
|
"aliases": [],
|
|
6928
6934
|
"args": {
|
|
6929
6935
|
"cluster_id": {
|
|
@@ -6932,12 +6938,12 @@
|
|
|
6932
6938
|
"required": true
|
|
6933
6939
|
}
|
|
6934
6940
|
},
|
|
6935
|
-
"description": "
|
|
6941
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6936
6942
|
"examples": [
|
|
6937
|
-
"$ xano tenant cluster license
|
|
6938
|
-
"$ xano tenant cluster license
|
|
6939
|
-
"$ xano tenant cluster license
|
|
6940
|
-
"$ xano tenant cluster license
|
|
6943
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6944
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6945
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6946
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6941
6947
|
],
|
|
6942
6948
|
"flags": {
|
|
6943
6949
|
"profile": {
|
|
@@ -6959,22 +6965,9 @@
|
|
|
6959
6965
|
"allowNo": false,
|
|
6960
6966
|
"type": "boolean"
|
|
6961
6967
|
},
|
|
6962
|
-
"clean": {
|
|
6963
|
-
"description": "Remove the source file after successful upload",
|
|
6964
|
-
"exclusive": [
|
|
6965
|
-
"value"
|
|
6966
|
-
],
|
|
6967
|
-
"name": "clean",
|
|
6968
|
-
"required": false,
|
|
6969
|
-
"allowNo": false,
|
|
6970
|
-
"type": "boolean"
|
|
6971
|
-
},
|
|
6972
6968
|
"file": {
|
|
6973
6969
|
"char": "f",
|
|
6974
|
-
"description": "
|
|
6975
|
-
"exclusive": [
|
|
6976
|
-
"value"
|
|
6977
|
-
],
|
|
6970
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6978
6971
|
"name": "file",
|
|
6979
6972
|
"required": false,
|
|
6980
6973
|
"hasDynamicHelp": false,
|
|
@@ -6995,22 +6988,17 @@
|
|
|
6995
6988
|
],
|
|
6996
6989
|
"type": "option"
|
|
6997
6990
|
},
|
|
6998
|
-
"
|
|
6999
|
-
"description": "
|
|
7000
|
-
"
|
|
7001
|
-
"file",
|
|
7002
|
-
"clean"
|
|
7003
|
-
],
|
|
7004
|
-
"name": "value",
|
|
6991
|
+
"view": {
|
|
6992
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6993
|
+
"name": "view",
|
|
7005
6994
|
"required": false,
|
|
7006
|
-
"
|
|
7007
|
-
"
|
|
7008
|
-
"type": "option"
|
|
6995
|
+
"allowNo": false,
|
|
6996
|
+
"type": "boolean"
|
|
7009
6997
|
}
|
|
7010
6998
|
},
|
|
7011
6999
|
"hasDynamicHelp": false,
|
|
7012
7000
|
"hiddenAliases": [],
|
|
7013
|
-
"id": "tenant:cluster:license:
|
|
7001
|
+
"id": "tenant:cluster:license:get",
|
|
7014
7002
|
"pluginAlias": "@xano/cli",
|
|
7015
7003
|
"pluginName": "@xano/cli",
|
|
7016
7004
|
"pluginType": "core",
|
|
@@ -7023,11 +7011,11 @@
|
|
|
7023
7011
|
"tenant",
|
|
7024
7012
|
"cluster",
|
|
7025
7013
|
"license",
|
|
7026
|
-
"
|
|
7014
|
+
"get",
|
|
7027
7015
|
"index.js"
|
|
7028
7016
|
]
|
|
7029
7017
|
},
|
|
7030
|
-
"tenant:cluster:license:
|
|
7018
|
+
"tenant:cluster:license:set": {
|
|
7031
7019
|
"aliases": [],
|
|
7032
7020
|
"args": {
|
|
7033
7021
|
"cluster_id": {
|
|
@@ -7036,12 +7024,12 @@
|
|
|
7036
7024
|
"required": true
|
|
7037
7025
|
}
|
|
7038
7026
|
},
|
|
7039
|
-
"description": "
|
|
7027
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
7040
7028
|
"examples": [
|
|
7041
|
-
"$ xano tenant cluster license
|
|
7042
|
-
"$ xano tenant cluster license
|
|
7043
|
-
"$ xano tenant cluster license
|
|
7044
|
-
"$ xano tenant cluster license
|
|
7029
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
7030
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
7031
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
7032
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
7045
7033
|
],
|
|
7046
7034
|
"flags": {
|
|
7047
7035
|
"profile": {
|
|
@@ -7063,9 +7051,22 @@
|
|
|
7063
7051
|
"allowNo": false,
|
|
7064
7052
|
"type": "boolean"
|
|
7065
7053
|
},
|
|
7054
|
+
"clean": {
|
|
7055
|
+
"description": "Remove the source file after successful upload",
|
|
7056
|
+
"exclusive": [
|
|
7057
|
+
"value"
|
|
7058
|
+
],
|
|
7059
|
+
"name": "clean",
|
|
7060
|
+
"required": false,
|
|
7061
|
+
"allowNo": false,
|
|
7062
|
+
"type": "boolean"
|
|
7063
|
+
},
|
|
7066
7064
|
"file": {
|
|
7067
7065
|
"char": "f",
|
|
7068
|
-
"description": "
|
|
7066
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
7067
|
+
"exclusive": [
|
|
7068
|
+
"value"
|
|
7069
|
+
],
|
|
7069
7070
|
"name": "file",
|
|
7070
7071
|
"required": false,
|
|
7071
7072
|
"hasDynamicHelp": false,
|
|
@@ -7086,17 +7087,22 @@
|
|
|
7086
7087
|
],
|
|
7087
7088
|
"type": "option"
|
|
7088
7089
|
},
|
|
7089
|
-
"
|
|
7090
|
-
"description": "
|
|
7091
|
-
"
|
|
7090
|
+
"value": {
|
|
7091
|
+
"description": "Inline kubeconfig YAML value",
|
|
7092
|
+
"exclusive": [
|
|
7093
|
+
"file",
|
|
7094
|
+
"clean"
|
|
7095
|
+
],
|
|
7096
|
+
"name": "value",
|
|
7092
7097
|
"required": false,
|
|
7093
|
-
"
|
|
7094
|
-
"
|
|
7098
|
+
"hasDynamicHelp": false,
|
|
7099
|
+
"multiple": false,
|
|
7100
|
+
"type": "option"
|
|
7095
7101
|
}
|
|
7096
7102
|
},
|
|
7097
7103
|
"hasDynamicHelp": false,
|
|
7098
7104
|
"hiddenAliases": [],
|
|
7099
|
-
"id": "tenant:cluster:license:
|
|
7105
|
+
"id": "tenant:cluster:license:set",
|
|
7100
7106
|
"pluginAlias": "@xano/cli",
|
|
7101
7107
|
"pluginName": "@xano/cli",
|
|
7102
7108
|
"pluginType": "core",
|
|
@@ -7109,10 +7115,10 @@
|
|
|
7109
7115
|
"tenant",
|
|
7110
7116
|
"cluster",
|
|
7111
7117
|
"license",
|
|
7112
|
-
"
|
|
7118
|
+
"set",
|
|
7113
7119
|
"index.js"
|
|
7114
7120
|
]
|
|
7115
7121
|
}
|
|
7116
7122
|
},
|
|
7117
|
-
"version": "0.0.
|
|
7123
|
+
"version": "0.0.69-beta.1"
|
|
7118
7124
|
}
|