@xano/cli 0.0.58 → 0.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +1531 -1531
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -193,6 +193,109 @@
|
|
|
193
193
|
"index.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
|
+
"branch:edit": {
|
|
197
|
+
"aliases": [],
|
|
198
|
+
"args": {
|
|
199
|
+
"branch_label": {
|
|
200
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
201
|
+
"name": "branch_label",
|
|
202
|
+
"required": true
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
206
|
+
"examples": [
|
|
207
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
208
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
209
|
+
"$ 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"
|
|
210
|
+
],
|
|
211
|
+
"flags": {
|
|
212
|
+
"profile": {
|
|
213
|
+
"char": "p",
|
|
214
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
215
|
+
"env": "XANO_PROFILE",
|
|
216
|
+
"name": "profile",
|
|
217
|
+
"required": false,
|
|
218
|
+
"hasDynamicHelp": false,
|
|
219
|
+
"multiple": false,
|
|
220
|
+
"type": "option"
|
|
221
|
+
},
|
|
222
|
+
"verbose": {
|
|
223
|
+
"char": "v",
|
|
224
|
+
"description": "Show detailed request/response information",
|
|
225
|
+
"env": "XANO_VERBOSE",
|
|
226
|
+
"name": "verbose",
|
|
227
|
+
"required": false,
|
|
228
|
+
"allowNo": false,
|
|
229
|
+
"type": "boolean"
|
|
230
|
+
},
|
|
231
|
+
"color": {
|
|
232
|
+
"char": "c",
|
|
233
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
234
|
+
"name": "color",
|
|
235
|
+
"required": false,
|
|
236
|
+
"hasDynamicHelp": false,
|
|
237
|
+
"multiple": false,
|
|
238
|
+
"type": "option"
|
|
239
|
+
},
|
|
240
|
+
"description": {
|
|
241
|
+
"char": "d",
|
|
242
|
+
"description": "New description for the branch",
|
|
243
|
+
"name": "description",
|
|
244
|
+
"required": false,
|
|
245
|
+
"hasDynamicHelp": false,
|
|
246
|
+
"multiple": false,
|
|
247
|
+
"type": "option"
|
|
248
|
+
},
|
|
249
|
+
"label": {
|
|
250
|
+
"char": "l",
|
|
251
|
+
"description": "New label for the branch",
|
|
252
|
+
"name": "label",
|
|
253
|
+
"required": false,
|
|
254
|
+
"hasDynamicHelp": false,
|
|
255
|
+
"multiple": false,
|
|
256
|
+
"type": "option"
|
|
257
|
+
},
|
|
258
|
+
"output": {
|
|
259
|
+
"char": "o",
|
|
260
|
+
"description": "Output format",
|
|
261
|
+
"name": "output",
|
|
262
|
+
"required": false,
|
|
263
|
+
"default": "summary",
|
|
264
|
+
"hasDynamicHelp": false,
|
|
265
|
+
"multiple": false,
|
|
266
|
+
"options": [
|
|
267
|
+
"summary",
|
|
268
|
+
"json"
|
|
269
|
+
],
|
|
270
|
+
"type": "option"
|
|
271
|
+
},
|
|
272
|
+
"workspace": {
|
|
273
|
+
"char": "w",
|
|
274
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
275
|
+
"name": "workspace",
|
|
276
|
+
"required": false,
|
|
277
|
+
"hasDynamicHelp": false,
|
|
278
|
+
"multiple": false,
|
|
279
|
+
"type": "option"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"hasDynamicHelp": false,
|
|
283
|
+
"hiddenAliases": [],
|
|
284
|
+
"id": "branch:edit",
|
|
285
|
+
"pluginAlias": "@xano/cli",
|
|
286
|
+
"pluginName": "@xano/cli",
|
|
287
|
+
"pluginType": "core",
|
|
288
|
+
"strict": true,
|
|
289
|
+
"enableJsonFlag": false,
|
|
290
|
+
"isESM": true,
|
|
291
|
+
"relativePath": [
|
|
292
|
+
"dist",
|
|
293
|
+
"commands",
|
|
294
|
+
"branch",
|
|
295
|
+
"edit",
|
|
296
|
+
"index.js"
|
|
297
|
+
]
|
|
298
|
+
},
|
|
196
299
|
"branch:delete": {
|
|
197
300
|
"aliases": [],
|
|
198
301
|
"args": {
|
|
@@ -353,20 +456,20 @@
|
|
|
353
456
|
"index.js"
|
|
354
457
|
]
|
|
355
458
|
},
|
|
356
|
-
"branch:
|
|
459
|
+
"branch:set_live": {
|
|
357
460
|
"aliases": [],
|
|
358
461
|
"args": {
|
|
359
462
|
"branch_label": {
|
|
360
|
-
"description": "Branch label to
|
|
463
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
361
464
|
"name": "branch_label",
|
|
362
465
|
"required": true
|
|
363
466
|
}
|
|
364
467
|
},
|
|
365
|
-
"description": "
|
|
468
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
366
469
|
"examples": [
|
|
367
|
-
"$ xano branch
|
|
368
|
-
"$ xano branch
|
|
369
|
-
"$ xano branch
|
|
470
|
+
"$ 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",
|
|
471
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
472
|
+
"$ 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"
|
|
370
473
|
],
|
|
371
474
|
"flags": {
|
|
372
475
|
"profile": {
|
|
@@ -388,32 +491,13 @@
|
|
|
388
491
|
"allowNo": false,
|
|
389
492
|
"type": "boolean"
|
|
390
493
|
},
|
|
391
|
-
"
|
|
392
|
-
"char": "
|
|
393
|
-
"description": "
|
|
394
|
-
"name": "
|
|
395
|
-
"required": false,
|
|
396
|
-
"hasDynamicHelp": false,
|
|
397
|
-
"multiple": false,
|
|
398
|
-
"type": "option"
|
|
399
|
-
},
|
|
400
|
-
"description": {
|
|
401
|
-
"char": "d",
|
|
402
|
-
"description": "New description for the branch",
|
|
403
|
-
"name": "description",
|
|
404
|
-
"required": false,
|
|
405
|
-
"hasDynamicHelp": false,
|
|
406
|
-
"multiple": false,
|
|
407
|
-
"type": "option"
|
|
408
|
-
},
|
|
409
|
-
"label": {
|
|
410
|
-
"char": "l",
|
|
411
|
-
"description": "New label for the branch",
|
|
412
|
-
"name": "label",
|
|
494
|
+
"force": {
|
|
495
|
+
"char": "f",
|
|
496
|
+
"description": "Skip confirmation prompt",
|
|
497
|
+
"name": "force",
|
|
413
498
|
"required": false,
|
|
414
|
-
"
|
|
415
|
-
"
|
|
416
|
-
"type": "option"
|
|
499
|
+
"allowNo": false,
|
|
500
|
+
"type": "boolean"
|
|
417
501
|
},
|
|
418
502
|
"output": {
|
|
419
503
|
"char": "o",
|
|
@@ -441,7 +525,7 @@
|
|
|
441
525
|
},
|
|
442
526
|
"hasDynamicHelp": false,
|
|
443
527
|
"hiddenAliases": [],
|
|
444
|
-
"id": "branch:
|
|
528
|
+
"id": "branch:set_live",
|
|
445
529
|
"pluginAlias": "@xano/cli",
|
|
446
530
|
"pluginName": "@xano/cli",
|
|
447
531
|
"pluginType": "core",
|
|
@@ -452,7 +536,7 @@
|
|
|
452
536
|
"dist",
|
|
453
537
|
"commands",
|
|
454
538
|
"branch",
|
|
455
|
-
"
|
|
539
|
+
"set_live",
|
|
456
540
|
"index.js"
|
|
457
541
|
]
|
|
458
542
|
},
|
|
@@ -523,20 +607,16 @@
|
|
|
523
607
|
"index.js"
|
|
524
608
|
]
|
|
525
609
|
},
|
|
526
|
-
"
|
|
610
|
+
"function:create": {
|
|
527
611
|
"aliases": [],
|
|
528
|
-
"args": {
|
|
529
|
-
|
|
530
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
531
|
-
"name": "branch_label",
|
|
532
|
-
"required": true
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
612
|
+
"args": {},
|
|
613
|
+
"description": "Create a new function in a workspace",
|
|
536
614
|
"examples": [
|
|
537
|
-
"$ xano
|
|
538
|
-
"$ xano
|
|
539
|
-
"$ xano
|
|
615
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
616
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
617
|
+
"$ 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",
|
|
618
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
619
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
540
620
|
],
|
|
541
621
|
"flags": {
|
|
542
622
|
"profile": {
|
|
@@ -558,14 +638,29 @@
|
|
|
558
638
|
"allowNo": false,
|
|
559
639
|
"type": "boolean"
|
|
560
640
|
},
|
|
561
|
-
"
|
|
562
|
-
"char": "
|
|
563
|
-
"
|
|
564
|
-
|
|
641
|
+
"edit": {
|
|
642
|
+
"char": "e",
|
|
643
|
+
"dependsOn": [
|
|
644
|
+
"file"
|
|
645
|
+
],
|
|
646
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
647
|
+
"name": "edit",
|
|
565
648
|
"required": false,
|
|
566
649
|
"allowNo": false,
|
|
567
650
|
"type": "boolean"
|
|
568
651
|
},
|
|
652
|
+
"file": {
|
|
653
|
+
"char": "f",
|
|
654
|
+
"description": "Path to file containing XanoScript code",
|
|
655
|
+
"exclusive": [
|
|
656
|
+
"stdin"
|
|
657
|
+
],
|
|
658
|
+
"name": "file",
|
|
659
|
+
"required": false,
|
|
660
|
+
"hasDynamicHelp": false,
|
|
661
|
+
"multiple": false,
|
|
662
|
+
"type": "option"
|
|
663
|
+
},
|
|
569
664
|
"output": {
|
|
570
665
|
"char": "o",
|
|
571
666
|
"description": "Output format",
|
|
@@ -580,9 +675,20 @@
|
|
|
580
675
|
],
|
|
581
676
|
"type": "option"
|
|
582
677
|
},
|
|
678
|
+
"stdin": {
|
|
679
|
+
"char": "s",
|
|
680
|
+
"description": "Read XanoScript code from stdin",
|
|
681
|
+
"exclusive": [
|
|
682
|
+
"file"
|
|
683
|
+
],
|
|
684
|
+
"name": "stdin",
|
|
685
|
+
"required": false,
|
|
686
|
+
"allowNo": false,
|
|
687
|
+
"type": "boolean"
|
|
688
|
+
},
|
|
583
689
|
"workspace": {
|
|
584
690
|
"char": "w",
|
|
585
|
-
"description": "Workspace ID (
|
|
691
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
586
692
|
"name": "workspace",
|
|
587
693
|
"required": false,
|
|
588
694
|
"hasDynamicHelp": false,
|
|
@@ -592,7 +698,7 @@
|
|
|
592
698
|
},
|
|
593
699
|
"hasDynamicHelp": false,
|
|
594
700
|
"hiddenAliases": [],
|
|
595
|
-
"id": "
|
|
701
|
+
"id": "function:create",
|
|
596
702
|
"pluginAlias": "@xano/cli",
|
|
597
703
|
"pluginName": "@xano/cli",
|
|
598
704
|
"pluginType": "core",
|
|
@@ -602,24 +708,30 @@
|
|
|
602
708
|
"relativePath": [
|
|
603
709
|
"dist",
|
|
604
710
|
"commands",
|
|
605
|
-
"
|
|
606
|
-
"
|
|
711
|
+
"function",
|
|
712
|
+
"create",
|
|
607
713
|
"index.js"
|
|
608
714
|
]
|
|
609
715
|
},
|
|
610
|
-
"
|
|
716
|
+
"function:edit": {
|
|
611
717
|
"aliases": [],
|
|
612
718
|
"args": {
|
|
613
|
-
"
|
|
614
|
-
"description": "
|
|
615
|
-
"name": "
|
|
616
|
-
"required":
|
|
719
|
+
"function_id": {
|
|
720
|
+
"description": "Function ID to edit",
|
|
721
|
+
"name": "function_id",
|
|
722
|
+
"required": false
|
|
617
723
|
}
|
|
618
724
|
},
|
|
619
|
-
"description": "
|
|
725
|
+
"description": "Edit a function in a workspace",
|
|
620
726
|
"examples": [
|
|
621
|
-
"$ xano
|
|
622
|
-
"$ xano
|
|
727
|
+
"$ 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",
|
|
728
|
+
"$ 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",
|
|
729
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
730
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
731
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
732
|
+
"$ 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",
|
|
733
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
734
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
623
735
|
],
|
|
624
736
|
"flags": {
|
|
625
737
|
"profile": {
|
|
@@ -640,264 +752,26 @@
|
|
|
640
752
|
"required": false,
|
|
641
753
|
"allowNo": false,
|
|
642
754
|
"type": "boolean"
|
|
643
|
-
},
|
|
644
|
-
"
|
|
645
|
-
"char": "
|
|
646
|
-
"description": "
|
|
647
|
-
"name": "
|
|
648
|
-
"required": false,
|
|
649
|
-
"
|
|
650
|
-
"
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
"pluginName": "@xano/cli",
|
|
664
|
-
"pluginType": "core",
|
|
665
|
-
"strict": true,
|
|
666
|
-
"enableJsonFlag": false,
|
|
667
|
-
"isESM": true,
|
|
668
|
-
"relativePath": [
|
|
669
|
-
"dist",
|
|
670
|
-
"commands",
|
|
671
|
-
"platform",
|
|
672
|
-
"get",
|
|
673
|
-
"index.js"
|
|
674
|
-
]
|
|
675
|
-
},
|
|
676
|
-
"platform:list": {
|
|
677
|
-
"aliases": [],
|
|
678
|
-
"args": {},
|
|
679
|
-
"description": "List all platforms",
|
|
680
|
-
"examples": [
|
|
681
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
682
|
-
"$ xano platform list --output json"
|
|
683
|
-
],
|
|
684
|
-
"flags": {
|
|
685
|
-
"profile": {
|
|
686
|
-
"char": "p",
|
|
687
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
688
|
-
"env": "XANO_PROFILE",
|
|
689
|
-
"name": "profile",
|
|
690
|
-
"required": false,
|
|
691
|
-
"hasDynamicHelp": false,
|
|
692
|
-
"multiple": false,
|
|
693
|
-
"type": "option"
|
|
694
|
-
},
|
|
695
|
-
"verbose": {
|
|
696
|
-
"char": "v",
|
|
697
|
-
"description": "Show detailed request/response information",
|
|
698
|
-
"env": "XANO_VERBOSE",
|
|
699
|
-
"name": "verbose",
|
|
700
|
-
"required": false,
|
|
701
|
-
"allowNo": false,
|
|
702
|
-
"type": "boolean"
|
|
703
|
-
},
|
|
704
|
-
"output": {
|
|
705
|
-
"char": "o",
|
|
706
|
-
"description": "Output format",
|
|
707
|
-
"name": "output",
|
|
708
|
-
"required": false,
|
|
709
|
-
"default": "summary",
|
|
710
|
-
"hasDynamicHelp": false,
|
|
711
|
-
"multiple": false,
|
|
712
|
-
"options": [
|
|
713
|
-
"summary",
|
|
714
|
-
"json"
|
|
715
|
-
],
|
|
716
|
-
"type": "option"
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
"hasDynamicHelp": false,
|
|
720
|
-
"hiddenAliases": [],
|
|
721
|
-
"id": "platform:list",
|
|
722
|
-
"pluginAlias": "@xano/cli",
|
|
723
|
-
"pluginName": "@xano/cli",
|
|
724
|
-
"pluginType": "core",
|
|
725
|
-
"strict": true,
|
|
726
|
-
"enableJsonFlag": false,
|
|
727
|
-
"isESM": true,
|
|
728
|
-
"relativePath": [
|
|
729
|
-
"dist",
|
|
730
|
-
"commands",
|
|
731
|
-
"platform",
|
|
732
|
-
"list",
|
|
733
|
-
"index.js"
|
|
734
|
-
]
|
|
735
|
-
},
|
|
736
|
-
"function:create": {
|
|
737
|
-
"aliases": [],
|
|
738
|
-
"args": {},
|
|
739
|
-
"description": "Create a new function in a workspace",
|
|
740
|
-
"examples": [
|
|
741
|
-
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
742
|
-
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
743
|
-
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
744
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
745
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
746
|
-
],
|
|
747
|
-
"flags": {
|
|
748
|
-
"profile": {
|
|
749
|
-
"char": "p",
|
|
750
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
751
|
-
"env": "XANO_PROFILE",
|
|
752
|
-
"name": "profile",
|
|
753
|
-
"required": false,
|
|
754
|
-
"hasDynamicHelp": false,
|
|
755
|
-
"multiple": false,
|
|
756
|
-
"type": "option"
|
|
757
|
-
},
|
|
758
|
-
"verbose": {
|
|
759
|
-
"char": "v",
|
|
760
|
-
"description": "Show detailed request/response information",
|
|
761
|
-
"env": "XANO_VERBOSE",
|
|
762
|
-
"name": "verbose",
|
|
763
|
-
"required": false,
|
|
764
|
-
"allowNo": false,
|
|
765
|
-
"type": "boolean"
|
|
766
|
-
},
|
|
767
|
-
"edit": {
|
|
768
|
-
"char": "e",
|
|
769
|
-
"dependsOn": [
|
|
770
|
-
"file"
|
|
771
|
-
],
|
|
772
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
773
|
-
"name": "edit",
|
|
774
|
-
"required": false,
|
|
775
|
-
"allowNo": false,
|
|
776
|
-
"type": "boolean"
|
|
777
|
-
},
|
|
778
|
-
"file": {
|
|
779
|
-
"char": "f",
|
|
780
|
-
"description": "Path to file containing XanoScript code",
|
|
781
|
-
"exclusive": [
|
|
782
|
-
"stdin"
|
|
783
|
-
],
|
|
784
|
-
"name": "file",
|
|
785
|
-
"required": false,
|
|
786
|
-
"hasDynamicHelp": false,
|
|
787
|
-
"multiple": false,
|
|
788
|
-
"type": "option"
|
|
789
|
-
},
|
|
790
|
-
"output": {
|
|
791
|
-
"char": "o",
|
|
792
|
-
"description": "Output format",
|
|
793
|
-
"name": "output",
|
|
794
|
-
"required": false,
|
|
795
|
-
"default": "summary",
|
|
796
|
-
"hasDynamicHelp": false,
|
|
797
|
-
"multiple": false,
|
|
798
|
-
"options": [
|
|
799
|
-
"summary",
|
|
800
|
-
"json"
|
|
801
|
-
],
|
|
802
|
-
"type": "option"
|
|
803
|
-
},
|
|
804
|
-
"stdin": {
|
|
805
|
-
"char": "s",
|
|
806
|
-
"description": "Read XanoScript code from stdin",
|
|
807
|
-
"exclusive": [
|
|
808
|
-
"file"
|
|
809
|
-
],
|
|
810
|
-
"name": "stdin",
|
|
811
|
-
"required": false,
|
|
812
|
-
"allowNo": false,
|
|
813
|
-
"type": "boolean"
|
|
814
|
-
},
|
|
815
|
-
"workspace": {
|
|
816
|
-
"char": "w",
|
|
817
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
818
|
-
"name": "workspace",
|
|
819
|
-
"required": false,
|
|
820
|
-
"hasDynamicHelp": false,
|
|
821
|
-
"multiple": false,
|
|
822
|
-
"type": "option"
|
|
823
|
-
}
|
|
824
|
-
},
|
|
825
|
-
"hasDynamicHelp": false,
|
|
826
|
-
"hiddenAliases": [],
|
|
827
|
-
"id": "function:create",
|
|
828
|
-
"pluginAlias": "@xano/cli",
|
|
829
|
-
"pluginName": "@xano/cli",
|
|
830
|
-
"pluginType": "core",
|
|
831
|
-
"strict": true,
|
|
832
|
-
"enableJsonFlag": false,
|
|
833
|
-
"isESM": true,
|
|
834
|
-
"relativePath": [
|
|
835
|
-
"dist",
|
|
836
|
-
"commands",
|
|
837
|
-
"function",
|
|
838
|
-
"create",
|
|
839
|
-
"index.js"
|
|
840
|
-
]
|
|
841
|
-
},
|
|
842
|
-
"function:edit": {
|
|
843
|
-
"aliases": [],
|
|
844
|
-
"args": {
|
|
845
|
-
"function_id": {
|
|
846
|
-
"description": "Function ID to edit",
|
|
847
|
-
"name": "function_id",
|
|
848
|
-
"required": false
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
"description": "Edit a function in a workspace",
|
|
852
|
-
"examples": [
|
|
853
|
-
"$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
854
|
-
"$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
855
|
-
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
856
|
-
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
857
|
-
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
858
|
-
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
859
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
860
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
861
|
-
],
|
|
862
|
-
"flags": {
|
|
863
|
-
"profile": {
|
|
864
|
-
"char": "p",
|
|
865
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
866
|
-
"env": "XANO_PROFILE",
|
|
867
|
-
"name": "profile",
|
|
868
|
-
"required": false,
|
|
869
|
-
"hasDynamicHelp": false,
|
|
870
|
-
"multiple": false,
|
|
871
|
-
"type": "option"
|
|
872
|
-
},
|
|
873
|
-
"verbose": {
|
|
874
|
-
"char": "v",
|
|
875
|
-
"description": "Show detailed request/response information",
|
|
876
|
-
"env": "XANO_VERBOSE",
|
|
877
|
-
"name": "verbose",
|
|
878
|
-
"required": false,
|
|
879
|
-
"allowNo": false,
|
|
880
|
-
"type": "boolean"
|
|
881
|
-
},
|
|
882
|
-
"edit": {
|
|
883
|
-
"char": "e",
|
|
884
|
-
"description": "Open file in editor before updating function (requires --file)",
|
|
885
|
-
"name": "edit",
|
|
886
|
-
"required": false,
|
|
887
|
-
"allowNo": false,
|
|
888
|
-
"type": "boolean"
|
|
889
|
-
},
|
|
890
|
-
"file": {
|
|
891
|
-
"char": "f",
|
|
892
|
-
"description": "Path to file containing XanoScript code",
|
|
893
|
-
"exclusive": [
|
|
894
|
-
"stdin"
|
|
895
|
-
],
|
|
896
|
-
"name": "file",
|
|
897
|
-
"required": false,
|
|
898
|
-
"hasDynamicHelp": false,
|
|
899
|
-
"multiple": false,
|
|
900
|
-
"type": "option"
|
|
755
|
+
},
|
|
756
|
+
"edit": {
|
|
757
|
+
"char": "e",
|
|
758
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
759
|
+
"name": "edit",
|
|
760
|
+
"required": false,
|
|
761
|
+
"allowNo": false,
|
|
762
|
+
"type": "boolean"
|
|
763
|
+
},
|
|
764
|
+
"file": {
|
|
765
|
+
"char": "f",
|
|
766
|
+
"description": "Path to file containing XanoScript code",
|
|
767
|
+
"exclusive": [
|
|
768
|
+
"stdin"
|
|
769
|
+
],
|
|
770
|
+
"name": "file",
|
|
771
|
+
"required": false,
|
|
772
|
+
"hasDynamicHelp": false,
|
|
773
|
+
"multiple": false,
|
|
774
|
+
"type": "option"
|
|
901
775
|
},
|
|
902
776
|
"output": {
|
|
903
777
|
"char": "o",
|
|
@@ -1177,6 +1051,132 @@
|
|
|
1177
1051
|
"index.js"
|
|
1178
1052
|
]
|
|
1179
1053
|
},
|
|
1054
|
+
"platform:list": {
|
|
1055
|
+
"aliases": [],
|
|
1056
|
+
"args": {},
|
|
1057
|
+
"description": "List all platforms",
|
|
1058
|
+
"examples": [
|
|
1059
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1060
|
+
"$ xano platform list --output json"
|
|
1061
|
+
],
|
|
1062
|
+
"flags": {
|
|
1063
|
+
"profile": {
|
|
1064
|
+
"char": "p",
|
|
1065
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1066
|
+
"env": "XANO_PROFILE",
|
|
1067
|
+
"name": "profile",
|
|
1068
|
+
"required": false,
|
|
1069
|
+
"hasDynamicHelp": false,
|
|
1070
|
+
"multiple": false,
|
|
1071
|
+
"type": "option"
|
|
1072
|
+
},
|
|
1073
|
+
"verbose": {
|
|
1074
|
+
"char": "v",
|
|
1075
|
+
"description": "Show detailed request/response information",
|
|
1076
|
+
"env": "XANO_VERBOSE",
|
|
1077
|
+
"name": "verbose",
|
|
1078
|
+
"required": false,
|
|
1079
|
+
"allowNo": false,
|
|
1080
|
+
"type": "boolean"
|
|
1081
|
+
},
|
|
1082
|
+
"output": {
|
|
1083
|
+
"char": "o",
|
|
1084
|
+
"description": "Output format",
|
|
1085
|
+
"name": "output",
|
|
1086
|
+
"required": false,
|
|
1087
|
+
"default": "summary",
|
|
1088
|
+
"hasDynamicHelp": false,
|
|
1089
|
+
"multiple": false,
|
|
1090
|
+
"options": [
|
|
1091
|
+
"summary",
|
|
1092
|
+
"json"
|
|
1093
|
+
],
|
|
1094
|
+
"type": "option"
|
|
1095
|
+
}
|
|
1096
|
+
},
|
|
1097
|
+
"hasDynamicHelp": false,
|
|
1098
|
+
"hiddenAliases": [],
|
|
1099
|
+
"id": "platform:list",
|
|
1100
|
+
"pluginAlias": "@xano/cli",
|
|
1101
|
+
"pluginName": "@xano/cli",
|
|
1102
|
+
"pluginType": "core",
|
|
1103
|
+
"strict": true,
|
|
1104
|
+
"enableJsonFlag": false,
|
|
1105
|
+
"isESM": true,
|
|
1106
|
+
"relativePath": [
|
|
1107
|
+
"dist",
|
|
1108
|
+
"commands",
|
|
1109
|
+
"platform",
|
|
1110
|
+
"list",
|
|
1111
|
+
"index.js"
|
|
1112
|
+
]
|
|
1113
|
+
},
|
|
1114
|
+
"platform:get": {
|
|
1115
|
+
"aliases": [],
|
|
1116
|
+
"args": {
|
|
1117
|
+
"platform_id": {
|
|
1118
|
+
"description": "Platform ID to retrieve",
|
|
1119
|
+
"name": "platform_id",
|
|
1120
|
+
"required": true
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"description": "Get details of a specific platform",
|
|
1124
|
+
"examples": [
|
|
1125
|
+
"$ 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",
|
|
1126
|
+
"$ xano platform get 23629 -o json"
|
|
1127
|
+
],
|
|
1128
|
+
"flags": {
|
|
1129
|
+
"profile": {
|
|
1130
|
+
"char": "p",
|
|
1131
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1132
|
+
"env": "XANO_PROFILE",
|
|
1133
|
+
"name": "profile",
|
|
1134
|
+
"required": false,
|
|
1135
|
+
"hasDynamicHelp": false,
|
|
1136
|
+
"multiple": false,
|
|
1137
|
+
"type": "option"
|
|
1138
|
+
},
|
|
1139
|
+
"verbose": {
|
|
1140
|
+
"char": "v",
|
|
1141
|
+
"description": "Show detailed request/response information",
|
|
1142
|
+
"env": "XANO_VERBOSE",
|
|
1143
|
+
"name": "verbose",
|
|
1144
|
+
"required": false,
|
|
1145
|
+
"allowNo": false,
|
|
1146
|
+
"type": "boolean"
|
|
1147
|
+
},
|
|
1148
|
+
"output": {
|
|
1149
|
+
"char": "o",
|
|
1150
|
+
"description": "Output format",
|
|
1151
|
+
"name": "output",
|
|
1152
|
+
"required": false,
|
|
1153
|
+
"default": "summary",
|
|
1154
|
+
"hasDynamicHelp": false,
|
|
1155
|
+
"multiple": false,
|
|
1156
|
+
"options": [
|
|
1157
|
+
"summary",
|
|
1158
|
+
"json"
|
|
1159
|
+
],
|
|
1160
|
+
"type": "option"
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
"hasDynamicHelp": false,
|
|
1164
|
+
"hiddenAliases": [],
|
|
1165
|
+
"id": "platform:get",
|
|
1166
|
+
"pluginAlias": "@xano/cli",
|
|
1167
|
+
"pluginName": "@xano/cli",
|
|
1168
|
+
"pluginType": "core",
|
|
1169
|
+
"strict": true,
|
|
1170
|
+
"enableJsonFlag": false,
|
|
1171
|
+
"isESM": true,
|
|
1172
|
+
"relativePath": [
|
|
1173
|
+
"dist",
|
|
1174
|
+
"commands",
|
|
1175
|
+
"platform",
|
|
1176
|
+
"get",
|
|
1177
|
+
"index.js"
|
|
1178
|
+
]
|
|
1179
|
+
},
|
|
1180
1180
|
"profile:create": {
|
|
1181
1181
|
"aliases": [],
|
|
1182
1182
|
"args": {
|
|
@@ -1306,6 +1306,31 @@
|
|
|
1306
1306
|
"index.js"
|
|
1307
1307
|
]
|
|
1308
1308
|
},
|
|
1309
|
+
"profile:get": {
|
|
1310
|
+
"aliases": [],
|
|
1311
|
+
"args": {},
|
|
1312
|
+
"description": "Get the current default profile name",
|
|
1313
|
+
"examples": [
|
|
1314
|
+
"$ xano profile get\nproduction\n"
|
|
1315
|
+
],
|
|
1316
|
+
"flags": {},
|
|
1317
|
+
"hasDynamicHelp": false,
|
|
1318
|
+
"hiddenAliases": [],
|
|
1319
|
+
"id": "profile:get",
|
|
1320
|
+
"pluginAlias": "@xano/cli",
|
|
1321
|
+
"pluginName": "@xano/cli",
|
|
1322
|
+
"pluginType": "core",
|
|
1323
|
+
"strict": true,
|
|
1324
|
+
"enableJsonFlag": false,
|
|
1325
|
+
"isESM": true,
|
|
1326
|
+
"relativePath": [
|
|
1327
|
+
"dist",
|
|
1328
|
+
"commands",
|
|
1329
|
+
"profile",
|
|
1330
|
+
"get",
|
|
1331
|
+
"index.js"
|
|
1332
|
+
]
|
|
1333
|
+
},
|
|
1309
1334
|
"profile:edit": {
|
|
1310
1335
|
"aliases": [],
|
|
1311
1336
|
"args": {
|
|
@@ -1420,31 +1445,6 @@
|
|
|
1420
1445
|
"index.js"
|
|
1421
1446
|
]
|
|
1422
1447
|
},
|
|
1423
|
-
"profile:get": {
|
|
1424
|
-
"aliases": [],
|
|
1425
|
-
"args": {},
|
|
1426
|
-
"description": "Get the current default profile name",
|
|
1427
|
-
"examples": [
|
|
1428
|
-
"$ xano profile get\nproduction\n"
|
|
1429
|
-
],
|
|
1430
|
-
"flags": {},
|
|
1431
|
-
"hasDynamicHelp": false,
|
|
1432
|
-
"hiddenAliases": [],
|
|
1433
|
-
"id": "profile:get",
|
|
1434
|
-
"pluginAlias": "@xano/cli",
|
|
1435
|
-
"pluginName": "@xano/cli",
|
|
1436
|
-
"pluginType": "core",
|
|
1437
|
-
"strict": true,
|
|
1438
|
-
"enableJsonFlag": false,
|
|
1439
|
-
"isESM": true,
|
|
1440
|
-
"relativePath": [
|
|
1441
|
-
"dist",
|
|
1442
|
-
"commands",
|
|
1443
|
-
"profile",
|
|
1444
|
-
"get",
|
|
1445
|
-
"index.js"
|
|
1446
|
-
]
|
|
1447
|
-
},
|
|
1448
1448
|
"profile:list": {
|
|
1449
1449
|
"aliases": [],
|
|
1450
1450
|
"args": {},
|
|
@@ -1542,23 +1542,18 @@
|
|
|
1542
1542
|
"index.js"
|
|
1543
1543
|
]
|
|
1544
1544
|
},
|
|
1545
|
-
"profile:
|
|
1545
|
+
"profile:token": {
|
|
1546
1546
|
"aliases": [],
|
|
1547
|
-
"args": {
|
|
1548
|
-
|
|
1549
|
-
"description": "Profile name to set as default",
|
|
1550
|
-
"name": "name",
|
|
1551
|
-
"required": true
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
"description": "Set the default profile",
|
|
1547
|
+
"args": {},
|
|
1548
|
+
"description": "Print the access token for the default profile",
|
|
1555
1549
|
"examples": [
|
|
1556
|
-
"$ xano profile
|
|
1550
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1551
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1557
1552
|
],
|
|
1558
1553
|
"flags": {},
|
|
1559
1554
|
"hasDynamicHelp": false,
|
|
1560
1555
|
"hiddenAliases": [],
|
|
1561
|
-
"id": "profile:
|
|
1556
|
+
"id": "profile:token",
|
|
1562
1557
|
"pluginAlias": "@xano/cli",
|
|
1563
1558
|
"pluginName": "@xano/cli",
|
|
1564
1559
|
"pluginType": "core",
|
|
@@ -1569,22 +1564,27 @@
|
|
|
1569
1564
|
"dist",
|
|
1570
1565
|
"commands",
|
|
1571
1566
|
"profile",
|
|
1572
|
-
"
|
|
1567
|
+
"token",
|
|
1573
1568
|
"index.js"
|
|
1574
1569
|
]
|
|
1575
1570
|
},
|
|
1576
|
-
"profile:
|
|
1571
|
+
"profile:set": {
|
|
1577
1572
|
"aliases": [],
|
|
1578
|
-
"args": {
|
|
1579
|
-
|
|
1573
|
+
"args": {
|
|
1574
|
+
"name": {
|
|
1575
|
+
"description": "Profile name to set as default",
|
|
1576
|
+
"name": "name",
|
|
1577
|
+
"required": true
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
"description": "Set the default profile",
|
|
1580
1581
|
"examples": [
|
|
1581
|
-
"$ xano profile
|
|
1582
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1582
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1583
1583
|
],
|
|
1584
1584
|
"flags": {},
|
|
1585
1585
|
"hasDynamicHelp": false,
|
|
1586
1586
|
"hiddenAliases": [],
|
|
1587
|
-
"id": "profile:
|
|
1587
|
+
"id": "profile:set",
|
|
1588
1588
|
"pluginAlias": "@xano/cli",
|
|
1589
1589
|
"pluginName": "@xano/cli",
|
|
1590
1590
|
"pluginType": "core",
|
|
@@ -1595,7 +1595,7 @@
|
|
|
1595
1595
|
"dist",
|
|
1596
1596
|
"commands",
|
|
1597
1597
|
"profile",
|
|
1598
|
-
"
|
|
1598
|
+
"set",
|
|
1599
1599
|
"index.js"
|
|
1600
1600
|
]
|
|
1601
1601
|
},
|
|
@@ -1670,13 +1670,15 @@
|
|
|
1670
1670
|
"index.js"
|
|
1671
1671
|
]
|
|
1672
1672
|
},
|
|
1673
|
-
"
|
|
1673
|
+
"static_host:list": {
|
|
1674
1674
|
"aliases": [],
|
|
1675
1675
|
"args": {},
|
|
1676
|
-
"description": "
|
|
1676
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1677
1677
|
"examples": [
|
|
1678
|
-
"$ xano
|
|
1679
|
-
"$ xano
|
|
1678
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1679
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1680
|
+
"$ 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",
|
|
1681
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1680
1682
|
],
|
|
1681
1683
|
"flags": {
|
|
1682
1684
|
"profile": {
|
|
@@ -1698,31 +1700,118 @@
|
|
|
1698
1700
|
"allowNo": false,
|
|
1699
1701
|
"type": "boolean"
|
|
1700
1702
|
},
|
|
1701
|
-
"
|
|
1702
|
-
"char": "
|
|
1703
|
-
"description": "
|
|
1704
|
-
"name": "
|
|
1705
|
-
"required":
|
|
1703
|
+
"output": {
|
|
1704
|
+
"char": "o",
|
|
1705
|
+
"description": "Output format",
|
|
1706
|
+
"name": "output",
|
|
1707
|
+
"required": false,
|
|
1708
|
+
"default": "summary",
|
|
1706
1709
|
"hasDynamicHelp": false,
|
|
1707
1710
|
"multiple": false,
|
|
1711
|
+
"options": [
|
|
1712
|
+
"summary",
|
|
1713
|
+
"json"
|
|
1714
|
+
],
|
|
1708
1715
|
"type": "option"
|
|
1709
1716
|
},
|
|
1710
|
-
"
|
|
1711
|
-
"
|
|
1712
|
-
"
|
|
1713
|
-
"name": "description",
|
|
1717
|
+
"page": {
|
|
1718
|
+
"description": "Page number for pagination",
|
|
1719
|
+
"name": "page",
|
|
1714
1720
|
"required": false,
|
|
1721
|
+
"default": 1,
|
|
1715
1722
|
"hasDynamicHelp": false,
|
|
1716
1723
|
"multiple": false,
|
|
1717
1724
|
"type": "option"
|
|
1718
1725
|
},
|
|
1719
|
-
"
|
|
1720
|
-
"description": "
|
|
1721
|
-
"name": "
|
|
1726
|
+
"per_page": {
|
|
1727
|
+
"description": "Number of results per page",
|
|
1728
|
+
"name": "per_page",
|
|
1722
1729
|
"required": false,
|
|
1723
|
-
"
|
|
1724
|
-
"
|
|
1725
|
-
|
|
1730
|
+
"default": 50,
|
|
1731
|
+
"hasDynamicHelp": false,
|
|
1732
|
+
"multiple": false,
|
|
1733
|
+
"type": "option"
|
|
1734
|
+
},
|
|
1735
|
+
"workspace": {
|
|
1736
|
+
"char": "w",
|
|
1737
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1738
|
+
"name": "workspace",
|
|
1739
|
+
"required": false,
|
|
1740
|
+
"hasDynamicHelp": false,
|
|
1741
|
+
"multiple": false,
|
|
1742
|
+
"type": "option"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
"hasDynamicHelp": false,
|
|
1746
|
+
"hiddenAliases": [],
|
|
1747
|
+
"id": "static_host:list",
|
|
1748
|
+
"pluginAlias": "@xano/cli",
|
|
1749
|
+
"pluginName": "@xano/cli",
|
|
1750
|
+
"pluginType": "core",
|
|
1751
|
+
"strict": true,
|
|
1752
|
+
"enableJsonFlag": false,
|
|
1753
|
+
"isESM": true,
|
|
1754
|
+
"relativePath": [
|
|
1755
|
+
"dist",
|
|
1756
|
+
"commands",
|
|
1757
|
+
"static_host",
|
|
1758
|
+
"list",
|
|
1759
|
+
"index.js"
|
|
1760
|
+
]
|
|
1761
|
+
},
|
|
1762
|
+
"release:create": {
|
|
1763
|
+
"aliases": [],
|
|
1764
|
+
"args": {},
|
|
1765
|
+
"description": "Create a new release in a workspace",
|
|
1766
|
+
"examples": [
|
|
1767
|
+
"$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
|
|
1768
|
+
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
1769
|
+
],
|
|
1770
|
+
"flags": {
|
|
1771
|
+
"profile": {
|
|
1772
|
+
"char": "p",
|
|
1773
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1774
|
+
"env": "XANO_PROFILE",
|
|
1775
|
+
"name": "profile",
|
|
1776
|
+
"required": false,
|
|
1777
|
+
"hasDynamicHelp": false,
|
|
1778
|
+
"multiple": false,
|
|
1779
|
+
"type": "option"
|
|
1780
|
+
},
|
|
1781
|
+
"verbose": {
|
|
1782
|
+
"char": "v",
|
|
1783
|
+
"description": "Show detailed request/response information",
|
|
1784
|
+
"env": "XANO_VERBOSE",
|
|
1785
|
+
"name": "verbose",
|
|
1786
|
+
"required": false,
|
|
1787
|
+
"allowNo": false,
|
|
1788
|
+
"type": "boolean"
|
|
1789
|
+
},
|
|
1790
|
+
"branch": {
|
|
1791
|
+
"char": "b",
|
|
1792
|
+
"description": "Branch to create the release from",
|
|
1793
|
+
"name": "branch",
|
|
1794
|
+
"required": true,
|
|
1795
|
+
"hasDynamicHelp": false,
|
|
1796
|
+
"multiple": false,
|
|
1797
|
+
"type": "option"
|
|
1798
|
+
},
|
|
1799
|
+
"description": {
|
|
1800
|
+
"char": "d",
|
|
1801
|
+
"description": "Release description",
|
|
1802
|
+
"name": "description",
|
|
1803
|
+
"required": false,
|
|
1804
|
+
"hasDynamicHelp": false,
|
|
1805
|
+
"multiple": false,
|
|
1806
|
+
"type": "option"
|
|
1807
|
+
},
|
|
1808
|
+
"hotfix": {
|
|
1809
|
+
"description": "Mark as a hotfix release",
|
|
1810
|
+
"name": "hotfix",
|
|
1811
|
+
"required": false,
|
|
1812
|
+
"allowNo": false,
|
|
1813
|
+
"type": "boolean"
|
|
1814
|
+
},
|
|
1726
1815
|
"name": {
|
|
1727
1816
|
"char": "n",
|
|
1728
1817
|
"description": "Name for the release",
|
|
@@ -2117,153 +2206,6 @@
|
|
|
2117
2206
|
"index.js"
|
|
2118
2207
|
]
|
|
2119
2208
|
},
|
|
2120
|
-
"release:import": {
|
|
2121
|
-
"aliases": [],
|
|
2122
|
-
"args": {},
|
|
2123
|
-
"description": "Import a release file into a workspace",
|
|
2124
|
-
"examples": [
|
|
2125
|
-
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2126
|
-
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2127
|
-
],
|
|
2128
|
-
"flags": {
|
|
2129
|
-
"profile": {
|
|
2130
|
-
"char": "p",
|
|
2131
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2132
|
-
"env": "XANO_PROFILE",
|
|
2133
|
-
"name": "profile",
|
|
2134
|
-
"required": false,
|
|
2135
|
-
"hasDynamicHelp": false,
|
|
2136
|
-
"multiple": false,
|
|
2137
|
-
"type": "option"
|
|
2138
|
-
},
|
|
2139
|
-
"verbose": {
|
|
2140
|
-
"char": "v",
|
|
2141
|
-
"description": "Show detailed request/response information",
|
|
2142
|
-
"env": "XANO_VERBOSE",
|
|
2143
|
-
"name": "verbose",
|
|
2144
|
-
"required": false,
|
|
2145
|
-
"allowNo": false,
|
|
2146
|
-
"type": "boolean"
|
|
2147
|
-
},
|
|
2148
|
-
"file": {
|
|
2149
|
-
"char": "f",
|
|
2150
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2151
|
-
"name": "file",
|
|
2152
|
-
"required": true,
|
|
2153
|
-
"hasDynamicHelp": false,
|
|
2154
|
-
"multiple": false,
|
|
2155
|
-
"type": "option"
|
|
2156
|
-
},
|
|
2157
|
-
"output": {
|
|
2158
|
-
"char": "o",
|
|
2159
|
-
"description": "Output format",
|
|
2160
|
-
"name": "output",
|
|
2161
|
-
"required": false,
|
|
2162
|
-
"default": "summary",
|
|
2163
|
-
"hasDynamicHelp": false,
|
|
2164
|
-
"multiple": false,
|
|
2165
|
-
"options": [
|
|
2166
|
-
"summary",
|
|
2167
|
-
"json"
|
|
2168
|
-
],
|
|
2169
|
-
"type": "option"
|
|
2170
|
-
},
|
|
2171
|
-
"workspace": {
|
|
2172
|
-
"char": "w",
|
|
2173
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2174
|
-
"name": "workspace",
|
|
2175
|
-
"required": false,
|
|
2176
|
-
"hasDynamicHelp": false,
|
|
2177
|
-
"multiple": false,
|
|
2178
|
-
"type": "option"
|
|
2179
|
-
}
|
|
2180
|
-
},
|
|
2181
|
-
"hasDynamicHelp": false,
|
|
2182
|
-
"hiddenAliases": [],
|
|
2183
|
-
"id": "release:import",
|
|
2184
|
-
"pluginAlias": "@xano/cli",
|
|
2185
|
-
"pluginName": "@xano/cli",
|
|
2186
|
-
"pluginType": "core",
|
|
2187
|
-
"strict": true,
|
|
2188
|
-
"enableJsonFlag": false,
|
|
2189
|
-
"isESM": true,
|
|
2190
|
-
"relativePath": [
|
|
2191
|
-
"dist",
|
|
2192
|
-
"commands",
|
|
2193
|
-
"release",
|
|
2194
|
-
"import",
|
|
2195
|
-
"index.js"
|
|
2196
|
-
]
|
|
2197
|
-
},
|
|
2198
|
-
"release:list": {
|
|
2199
|
-
"aliases": [],
|
|
2200
|
-
"args": {},
|
|
2201
|
-
"description": "List all releases in a workspace",
|
|
2202
|
-
"examples": [
|
|
2203
|
-
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2204
|
-
"$ xano release list -w 5 --output json"
|
|
2205
|
-
],
|
|
2206
|
-
"flags": {
|
|
2207
|
-
"profile": {
|
|
2208
|
-
"char": "p",
|
|
2209
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2210
|
-
"env": "XANO_PROFILE",
|
|
2211
|
-
"name": "profile",
|
|
2212
|
-
"required": false,
|
|
2213
|
-
"hasDynamicHelp": false,
|
|
2214
|
-
"multiple": false,
|
|
2215
|
-
"type": "option"
|
|
2216
|
-
},
|
|
2217
|
-
"verbose": {
|
|
2218
|
-
"char": "v",
|
|
2219
|
-
"description": "Show detailed request/response information",
|
|
2220
|
-
"env": "XANO_VERBOSE",
|
|
2221
|
-
"name": "verbose",
|
|
2222
|
-
"required": false,
|
|
2223
|
-
"allowNo": false,
|
|
2224
|
-
"type": "boolean"
|
|
2225
|
-
},
|
|
2226
|
-
"output": {
|
|
2227
|
-
"char": "o",
|
|
2228
|
-
"description": "Output format",
|
|
2229
|
-
"name": "output",
|
|
2230
|
-
"required": false,
|
|
2231
|
-
"default": "summary",
|
|
2232
|
-
"hasDynamicHelp": false,
|
|
2233
|
-
"multiple": false,
|
|
2234
|
-
"options": [
|
|
2235
|
-
"summary",
|
|
2236
|
-
"json"
|
|
2237
|
-
],
|
|
2238
|
-
"type": "option"
|
|
2239
|
-
},
|
|
2240
|
-
"workspace": {
|
|
2241
|
-
"char": "w",
|
|
2242
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2243
|
-
"name": "workspace",
|
|
2244
|
-
"required": false,
|
|
2245
|
-
"hasDynamicHelp": false,
|
|
2246
|
-
"multiple": false,
|
|
2247
|
-
"type": "option"
|
|
2248
|
-
}
|
|
2249
|
-
},
|
|
2250
|
-
"hasDynamicHelp": false,
|
|
2251
|
-
"hiddenAliases": [],
|
|
2252
|
-
"id": "release:list",
|
|
2253
|
-
"pluginAlias": "@xano/cli",
|
|
2254
|
-
"pluginName": "@xano/cli",
|
|
2255
|
-
"pluginType": "core",
|
|
2256
|
-
"strict": true,
|
|
2257
|
-
"enableJsonFlag": false,
|
|
2258
|
-
"isESM": true,
|
|
2259
|
-
"relativePath": [
|
|
2260
|
-
"dist",
|
|
2261
|
-
"commands",
|
|
2262
|
-
"release",
|
|
2263
|
-
"list",
|
|
2264
|
-
"index.js"
|
|
2265
|
-
]
|
|
2266
|
-
},
|
|
2267
2209
|
"release:pull": {
|
|
2268
2210
|
"aliases": [],
|
|
2269
2211
|
"args": {
|
|
@@ -2349,22 +2291,13 @@
|
|
|
2349
2291
|
"index.js"
|
|
2350
2292
|
]
|
|
2351
2293
|
},
|
|
2352
|
-
"release:
|
|
2294
|
+
"release:list": {
|
|
2353
2295
|
"aliases": [],
|
|
2354
|
-
"args": {
|
|
2355
|
-
|
|
2356
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2357
|
-
"name": "directory",
|
|
2358
|
-
"required": true
|
|
2359
|
-
}
|
|
2360
|
-
},
|
|
2361
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2296
|
+
"args": {},
|
|
2297
|
+
"description": "List all releases in a workspace",
|
|
2362
2298
|
"examples": [
|
|
2363
|
-
"$ xano release
|
|
2364
|
-
"$ xano release
|
|
2365
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2366
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2367
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2299
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2300
|
+
"$ xano release list -w 5 --output json"
|
|
2368
2301
|
],
|
|
2369
2302
|
"flags": {
|
|
2370
2303
|
"profile": {
|
|
@@ -2386,39 +2319,6 @@
|
|
|
2386
2319
|
"allowNo": false,
|
|
2387
2320
|
"type": "boolean"
|
|
2388
2321
|
},
|
|
2389
|
-
"description": {
|
|
2390
|
-
"char": "d",
|
|
2391
|
-
"description": "Release description",
|
|
2392
|
-
"name": "description",
|
|
2393
|
-
"required": false,
|
|
2394
|
-
"default": "",
|
|
2395
|
-
"hasDynamicHelp": false,
|
|
2396
|
-
"multiple": false,
|
|
2397
|
-
"type": "option"
|
|
2398
|
-
},
|
|
2399
|
-
"env": {
|
|
2400
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2401
|
-
"name": "env",
|
|
2402
|
-
"required": false,
|
|
2403
|
-
"allowNo": true,
|
|
2404
|
-
"type": "boolean"
|
|
2405
|
-
},
|
|
2406
|
-
"hotfix": {
|
|
2407
|
-
"description": "Mark as a hotfix release",
|
|
2408
|
-
"name": "hotfix",
|
|
2409
|
-
"required": false,
|
|
2410
|
-
"allowNo": false,
|
|
2411
|
-
"type": "boolean"
|
|
2412
|
-
},
|
|
2413
|
-
"name": {
|
|
2414
|
-
"char": "n",
|
|
2415
|
-
"description": "Name for the release",
|
|
2416
|
-
"name": "name",
|
|
2417
|
-
"required": true,
|
|
2418
|
-
"hasDynamicHelp": false,
|
|
2419
|
-
"multiple": false,
|
|
2420
|
-
"type": "option"
|
|
2421
|
-
},
|
|
2422
2322
|
"output": {
|
|
2423
2323
|
"char": "o",
|
|
2424
2324
|
"description": "Output format",
|
|
@@ -2433,16 +2333,9 @@
|
|
|
2433
2333
|
],
|
|
2434
2334
|
"type": "option"
|
|
2435
2335
|
},
|
|
2436
|
-
"records": {
|
|
2437
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2438
|
-
"name": "records",
|
|
2439
|
-
"required": false,
|
|
2440
|
-
"allowNo": true,
|
|
2441
|
-
"type": "boolean"
|
|
2442
|
-
},
|
|
2443
2336
|
"workspace": {
|
|
2444
2337
|
"char": "w",
|
|
2445
|
-
"description": "Workspace ID (
|
|
2338
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2446
2339
|
"name": "workspace",
|
|
2447
2340
|
"required": false,
|
|
2448
2341
|
"hasDynamicHelp": false,
|
|
@@ -2452,7 +2345,7 @@
|
|
|
2452
2345
|
},
|
|
2453
2346
|
"hasDynamicHelp": false,
|
|
2454
2347
|
"hiddenAliases": [],
|
|
2455
|
-
"id": "release:
|
|
2348
|
+
"id": "release:list",
|
|
2456
2349
|
"pluginAlias": "@xano/cli",
|
|
2457
2350
|
"pluginName": "@xano/cli",
|
|
2458
2351
|
"pluginType": "core",
|
|
@@ -2463,19 +2356,17 @@
|
|
|
2463
2356
|
"dist",
|
|
2464
2357
|
"commands",
|
|
2465
2358
|
"release",
|
|
2466
|
-
"
|
|
2359
|
+
"list",
|
|
2467
2360
|
"index.js"
|
|
2468
2361
|
]
|
|
2469
2362
|
},
|
|
2470
|
-
"
|
|
2363
|
+
"release:import": {
|
|
2471
2364
|
"aliases": [],
|
|
2472
2365
|
"args": {},
|
|
2473
|
-
"description": "
|
|
2366
|
+
"description": "Import a release file into a workspace",
|
|
2474
2367
|
"examples": [
|
|
2475
|
-
"$ xano
|
|
2476
|
-
"$ xano
|
|
2477
|
-
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
2478
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2368
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2369
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2479
2370
|
],
|
|
2480
2371
|
"flags": {
|
|
2481
2372
|
"profile": {
|
|
@@ -2497,6 +2388,15 @@
|
|
|
2497
2388
|
"allowNo": false,
|
|
2498
2389
|
"type": "boolean"
|
|
2499
2390
|
},
|
|
2391
|
+
"file": {
|
|
2392
|
+
"char": "f",
|
|
2393
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2394
|
+
"name": "file",
|
|
2395
|
+
"required": true,
|
|
2396
|
+
"hasDynamicHelp": false,
|
|
2397
|
+
"multiple": false,
|
|
2398
|
+
"type": "option"
|
|
2399
|
+
},
|
|
2500
2400
|
"output": {
|
|
2501
2401
|
"char": "o",
|
|
2502
2402
|
"description": "Output format",
|
|
@@ -2511,27 +2411,9 @@
|
|
|
2511
2411
|
],
|
|
2512
2412
|
"type": "option"
|
|
2513
2413
|
},
|
|
2514
|
-
"page": {
|
|
2515
|
-
"description": "Page number for pagination",
|
|
2516
|
-
"name": "page",
|
|
2517
|
-
"required": false,
|
|
2518
|
-
"default": 1,
|
|
2519
|
-
"hasDynamicHelp": false,
|
|
2520
|
-
"multiple": false,
|
|
2521
|
-
"type": "option"
|
|
2522
|
-
},
|
|
2523
|
-
"per_page": {
|
|
2524
|
-
"description": "Number of results per page",
|
|
2525
|
-
"name": "per_page",
|
|
2526
|
-
"required": false,
|
|
2527
|
-
"default": 50,
|
|
2528
|
-
"hasDynamicHelp": false,
|
|
2529
|
-
"multiple": false,
|
|
2530
|
-
"type": "option"
|
|
2531
|
-
},
|
|
2532
2414
|
"workspace": {
|
|
2533
2415
|
"char": "w",
|
|
2534
|
-
"description": "Workspace ID (
|
|
2416
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2535
2417
|
"name": "workspace",
|
|
2536
2418
|
"required": false,
|
|
2537
2419
|
"hasDynamicHelp": false,
|
|
@@ -2541,7 +2423,7 @@
|
|
|
2541
2423
|
},
|
|
2542
2424
|
"hasDynamicHelp": false,
|
|
2543
2425
|
"hiddenAliases": [],
|
|
2544
|
-
"id": "
|
|
2426
|
+
"id": "release:import",
|
|
2545
2427
|
"pluginAlias": "@xano/cli",
|
|
2546
2428
|
"pluginName": "@xano/cli",
|
|
2547
2429
|
"pluginType": "core",
|
|
@@ -2551,24 +2433,27 @@
|
|
|
2551
2433
|
"relativePath": [
|
|
2552
2434
|
"dist",
|
|
2553
2435
|
"commands",
|
|
2554
|
-
"
|
|
2555
|
-
"
|
|
2436
|
+
"release",
|
|
2437
|
+
"import",
|
|
2556
2438
|
"index.js"
|
|
2557
2439
|
]
|
|
2558
2440
|
},
|
|
2559
|
-
"
|
|
2441
|
+
"release:push": {
|
|
2560
2442
|
"aliases": [],
|
|
2561
2443
|
"args": {
|
|
2562
|
-
"
|
|
2563
|
-
"description": "
|
|
2564
|
-
"name": "
|
|
2444
|
+
"directory": {
|
|
2445
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2446
|
+
"name": "directory",
|
|
2565
2447
|
"required": true
|
|
2566
2448
|
}
|
|
2567
2449
|
},
|
|
2568
|
-
"description": "Create a new
|
|
2450
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2569
2451
|
"examples": [
|
|
2570
|
-
"$ xano
|
|
2571
|
-
"$ xano
|
|
2452
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2453
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2454
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2455
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2456
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2572
2457
|
],
|
|
2573
2458
|
"flags": {
|
|
2574
2459
|
"profile": {
|
|
@@ -2590,154 +2475,38 @@
|
|
|
2590
2475
|
"allowNo": false,
|
|
2591
2476
|
"type": "boolean"
|
|
2592
2477
|
},
|
|
2593
|
-
"cluster_id": {
|
|
2594
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2595
|
-
"name": "cluster_id",
|
|
2596
|
-
"required": false,
|
|
2597
|
-
"hasDynamicHelp": false,
|
|
2598
|
-
"multiple": false,
|
|
2599
|
-
"type": "option"
|
|
2600
|
-
},
|
|
2601
2478
|
"description": {
|
|
2602
2479
|
"char": "d",
|
|
2603
|
-
"description": "
|
|
2480
|
+
"description": "Release description",
|
|
2604
2481
|
"name": "description",
|
|
2605
2482
|
"required": false,
|
|
2483
|
+
"default": "",
|
|
2606
2484
|
"hasDynamicHelp": false,
|
|
2607
2485
|
"multiple": false,
|
|
2608
2486
|
"type": "option"
|
|
2609
2487
|
},
|
|
2610
|
-
"
|
|
2611
|
-
"description": "
|
|
2612
|
-
"name": "
|
|
2613
|
-
"required": false,
|
|
2614
|
-
"hasDynamicHelp": false,
|
|
2615
|
-
"multiple": false,
|
|
2616
|
-
"type": "option"
|
|
2617
|
-
},
|
|
2618
|
-
"ephemeral": {
|
|
2619
|
-
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2620
|
-
"name": "ephemeral",
|
|
2621
|
-
"allowNo": false,
|
|
2622
|
-
"type": "boolean"
|
|
2623
|
-
},
|
|
2624
|
-
"ingress": {
|
|
2625
|
-
"description": "Enable ingress",
|
|
2626
|
-
"name": "ingress",
|
|
2627
|
-
"allowNo": true,
|
|
2628
|
-
"type": "boolean"
|
|
2629
|
-
},
|
|
2630
|
-
"license": {
|
|
2631
|
-
"description": "License tier",
|
|
2632
|
-
"name": "license",
|
|
2633
|
-
"required": false,
|
|
2634
|
-
"default": "tier1",
|
|
2635
|
-
"hasDynamicHelp": false,
|
|
2636
|
-
"multiple": false,
|
|
2637
|
-
"options": [
|
|
2638
|
-
"tier1",
|
|
2639
|
-
"tier2",
|
|
2640
|
-
"tier3"
|
|
2641
|
-
],
|
|
2642
|
-
"type": "option"
|
|
2643
|
-
},
|
|
2644
|
-
"output": {
|
|
2645
|
-
"char": "o",
|
|
2646
|
-
"description": "Output format",
|
|
2647
|
-
"name": "output",
|
|
2648
|
-
"required": false,
|
|
2649
|
-
"default": "summary",
|
|
2650
|
-
"hasDynamicHelp": false,
|
|
2651
|
-
"multiple": false,
|
|
2652
|
-
"options": [
|
|
2653
|
-
"summary",
|
|
2654
|
-
"json"
|
|
2655
|
-
],
|
|
2656
|
-
"type": "option"
|
|
2657
|
-
},
|
|
2658
|
-
"platform_id": {
|
|
2659
|
-
"description": "Platform ID to use",
|
|
2660
|
-
"name": "platform_id",
|
|
2488
|
+
"env": {
|
|
2489
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2490
|
+
"name": "env",
|
|
2661
2491
|
"required": false,
|
|
2662
|
-
"hasDynamicHelp": false,
|
|
2663
|
-
"multiple": false,
|
|
2664
|
-
"type": "option"
|
|
2665
|
-
},
|
|
2666
|
-
"tasks": {
|
|
2667
|
-
"description": "Enable background tasks",
|
|
2668
|
-
"name": "tasks",
|
|
2669
2492
|
"allowNo": true,
|
|
2670
2493
|
"type": "boolean"
|
|
2671
2494
|
},
|
|
2672
|
-
"
|
|
2673
|
-
"
|
|
2674
|
-
"
|
|
2675
|
-
"name": "workspace",
|
|
2676
|
-
"required": false,
|
|
2677
|
-
"hasDynamicHelp": false,
|
|
2678
|
-
"multiple": false,
|
|
2679
|
-
"type": "option"
|
|
2680
|
-
}
|
|
2681
|
-
},
|
|
2682
|
-
"hasDynamicHelp": false,
|
|
2683
|
-
"hiddenAliases": [],
|
|
2684
|
-
"id": "tenant:create",
|
|
2685
|
-
"pluginAlias": "@xano/cli",
|
|
2686
|
-
"pluginName": "@xano/cli",
|
|
2687
|
-
"pluginType": "core",
|
|
2688
|
-
"strict": true,
|
|
2689
|
-
"enableJsonFlag": false,
|
|
2690
|
-
"isESM": true,
|
|
2691
|
-
"relativePath": [
|
|
2692
|
-
"dist",
|
|
2693
|
-
"commands",
|
|
2694
|
-
"tenant",
|
|
2695
|
-
"create",
|
|
2696
|
-
"index.js"
|
|
2697
|
-
]
|
|
2698
|
-
},
|
|
2699
|
-
"tenant:delete": {
|
|
2700
|
-
"aliases": [],
|
|
2701
|
-
"args": {
|
|
2702
|
-
"tenant_name": {
|
|
2703
|
-
"description": "Tenant name to delete",
|
|
2704
|
-
"name": "tenant_name",
|
|
2705
|
-
"required": true
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2709
|
-
"examples": [
|
|
2710
|
-
"$ 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",
|
|
2711
|
-
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2712
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2713
|
-
],
|
|
2714
|
-
"flags": {
|
|
2715
|
-
"profile": {
|
|
2716
|
-
"char": "p",
|
|
2717
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2718
|
-
"env": "XANO_PROFILE",
|
|
2719
|
-
"name": "profile",
|
|
2720
|
-
"required": false,
|
|
2721
|
-
"hasDynamicHelp": false,
|
|
2722
|
-
"multiple": false,
|
|
2723
|
-
"type": "option"
|
|
2724
|
-
},
|
|
2725
|
-
"verbose": {
|
|
2726
|
-
"char": "v",
|
|
2727
|
-
"description": "Show detailed request/response information",
|
|
2728
|
-
"env": "XANO_VERBOSE",
|
|
2729
|
-
"name": "verbose",
|
|
2495
|
+
"hotfix": {
|
|
2496
|
+
"description": "Mark as a hotfix release",
|
|
2497
|
+
"name": "hotfix",
|
|
2730
2498
|
"required": false,
|
|
2731
2499
|
"allowNo": false,
|
|
2732
2500
|
"type": "boolean"
|
|
2733
2501
|
},
|
|
2734
|
-
"
|
|
2735
|
-
"char": "
|
|
2736
|
-
"description": "
|
|
2737
|
-
"name": "
|
|
2738
|
-
"required":
|
|
2739
|
-
"
|
|
2740
|
-
"
|
|
2502
|
+
"name": {
|
|
2503
|
+
"char": "n",
|
|
2504
|
+
"description": "Name for the release",
|
|
2505
|
+
"name": "name",
|
|
2506
|
+
"required": true,
|
|
2507
|
+
"hasDynamicHelp": false,
|
|
2508
|
+
"multiple": false,
|
|
2509
|
+
"type": "option"
|
|
2741
2510
|
},
|
|
2742
2511
|
"output": {
|
|
2743
2512
|
"char": "o",
|
|
@@ -2753,9 +2522,16 @@
|
|
|
2753
2522
|
],
|
|
2754
2523
|
"type": "option"
|
|
2755
2524
|
},
|
|
2525
|
+
"records": {
|
|
2526
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2527
|
+
"name": "records",
|
|
2528
|
+
"required": false,
|
|
2529
|
+
"allowNo": true,
|
|
2530
|
+
"type": "boolean"
|
|
2531
|
+
},
|
|
2756
2532
|
"workspace": {
|
|
2757
2533
|
"char": "w",
|
|
2758
|
-
"description": "Workspace ID (
|
|
2534
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2759
2535
|
"name": "workspace",
|
|
2760
2536
|
"required": false,
|
|
2761
2537
|
"hasDynamicHelp": false,
|
|
@@ -2765,7 +2541,7 @@
|
|
|
2765
2541
|
},
|
|
2766
2542
|
"hasDynamicHelp": false,
|
|
2767
2543
|
"hiddenAliases": [],
|
|
2768
|
-
"id": "
|
|
2544
|
+
"id": "release:push",
|
|
2769
2545
|
"pluginAlias": "@xano/cli",
|
|
2770
2546
|
"pluginName": "@xano/cli",
|
|
2771
2547
|
"pluginType": "core",
|
|
@@ -2775,24 +2551,25 @@
|
|
|
2775
2551
|
"relativePath": [
|
|
2776
2552
|
"dist",
|
|
2777
2553
|
"commands",
|
|
2778
|
-
"
|
|
2779
|
-
"
|
|
2554
|
+
"release",
|
|
2555
|
+
"push",
|
|
2780
2556
|
"index.js"
|
|
2781
2557
|
]
|
|
2782
2558
|
},
|
|
2783
|
-
"tenant:
|
|
2559
|
+
"tenant:delete": {
|
|
2784
2560
|
"aliases": [],
|
|
2785
2561
|
"args": {
|
|
2786
2562
|
"tenant_name": {
|
|
2787
|
-
"description": "Tenant name to
|
|
2563
|
+
"description": "Tenant name to delete",
|
|
2788
2564
|
"name": "tenant_name",
|
|
2789
2565
|
"required": true
|
|
2790
2566
|
}
|
|
2791
2567
|
},
|
|
2792
|
-
"description": "
|
|
2568
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2793
2569
|
"examples": [
|
|
2794
|
-
"$ xano tenant
|
|
2795
|
-
"$ xano tenant
|
|
2570
|
+
"$ 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",
|
|
2571
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2572
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2796
2573
|
],
|
|
2797
2574
|
"flags": {
|
|
2798
2575
|
"profile": {
|
|
@@ -2814,6 +2591,14 @@
|
|
|
2814
2591
|
"allowNo": false,
|
|
2815
2592
|
"type": "boolean"
|
|
2816
2593
|
},
|
|
2594
|
+
"force": {
|
|
2595
|
+
"char": "f",
|
|
2596
|
+
"description": "Skip confirmation prompt",
|
|
2597
|
+
"name": "force",
|
|
2598
|
+
"required": false,
|
|
2599
|
+
"allowNo": false,
|
|
2600
|
+
"type": "boolean"
|
|
2601
|
+
},
|
|
2817
2602
|
"output": {
|
|
2818
2603
|
"char": "o",
|
|
2819
2604
|
"description": "Output format",
|
|
@@ -2828,14 +2613,6 @@
|
|
|
2828
2613
|
],
|
|
2829
2614
|
"type": "option"
|
|
2830
2615
|
},
|
|
2831
|
-
"platform_id": {
|
|
2832
|
-
"description": "Platform ID to deploy",
|
|
2833
|
-
"name": "platform_id",
|
|
2834
|
-
"required": true,
|
|
2835
|
-
"hasDynamicHelp": false,
|
|
2836
|
-
"multiple": false,
|
|
2837
|
-
"type": "option"
|
|
2838
|
-
},
|
|
2839
2616
|
"workspace": {
|
|
2840
2617
|
"char": "w",
|
|
2841
2618
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2848,7 +2625,7 @@
|
|
|
2848
2625
|
},
|
|
2849
2626
|
"hasDynamicHelp": false,
|
|
2850
2627
|
"hiddenAliases": [],
|
|
2851
|
-
"id": "tenant:
|
|
2628
|
+
"id": "tenant:delete",
|
|
2852
2629
|
"pluginAlias": "@xano/cli",
|
|
2853
2630
|
"pluginName": "@xano/cli",
|
|
2854
2631
|
"pluginType": "core",
|
|
@@ -2859,11 +2636,11 @@
|
|
|
2859
2636
|
"dist",
|
|
2860
2637
|
"commands",
|
|
2861
2638
|
"tenant",
|
|
2862
|
-
"
|
|
2639
|
+
"delete",
|
|
2863
2640
|
"index.js"
|
|
2864
2641
|
]
|
|
2865
2642
|
},
|
|
2866
|
-
"tenant:
|
|
2643
|
+
"tenant:deploy_platform": {
|
|
2867
2644
|
"aliases": [],
|
|
2868
2645
|
"args": {
|
|
2869
2646
|
"tenant_name": {
|
|
@@ -2872,10 +2649,10 @@
|
|
|
2872
2649
|
"required": true
|
|
2873
2650
|
}
|
|
2874
2651
|
},
|
|
2875
|
-
"description": "Deploy a
|
|
2652
|
+
"description": "Deploy a platform version to a tenant",
|
|
2876
2653
|
"examples": [
|
|
2877
|
-
"$ xano tenant
|
|
2878
|
-
"$ xano tenant
|
|
2654
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2655
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2879
2656
|
],
|
|
2880
2657
|
"flags": {
|
|
2881
2658
|
"profile": {
|
|
@@ -2911,10 +2688,9 @@
|
|
|
2911
2688
|
],
|
|
2912
2689
|
"type": "option"
|
|
2913
2690
|
},
|
|
2914
|
-
"
|
|
2915
|
-
"
|
|
2916
|
-
"
|
|
2917
|
-
"name": "release",
|
|
2691
|
+
"platform_id": {
|
|
2692
|
+
"description": "Platform ID to deploy",
|
|
2693
|
+
"name": "platform_id",
|
|
2918
2694
|
"required": true,
|
|
2919
2695
|
"hasDynamicHelp": false,
|
|
2920
2696
|
"multiple": false,
|
|
@@ -2932,7 +2708,7 @@
|
|
|
2932
2708
|
},
|
|
2933
2709
|
"hasDynamicHelp": false,
|
|
2934
2710
|
"hiddenAliases": [],
|
|
2935
|
-
"id": "tenant:
|
|
2711
|
+
"id": "tenant:deploy_platform",
|
|
2936
2712
|
"pluginAlias": "@xano/cli",
|
|
2937
2713
|
"pluginName": "@xano/cli",
|
|
2938
2714
|
"pluginType": "core",
|
|
@@ -2943,23 +2719,23 @@
|
|
|
2943
2719
|
"dist",
|
|
2944
2720
|
"commands",
|
|
2945
2721
|
"tenant",
|
|
2946
|
-
"
|
|
2722
|
+
"deploy_platform",
|
|
2947
2723
|
"index.js"
|
|
2948
2724
|
]
|
|
2949
2725
|
},
|
|
2950
|
-
"tenant:
|
|
2726
|
+
"tenant:create": {
|
|
2951
2727
|
"aliases": [],
|
|
2952
2728
|
"args": {
|
|
2953
|
-
"
|
|
2954
|
-
"description": "
|
|
2955
|
-
"name": "
|
|
2729
|
+
"display": {
|
|
2730
|
+
"description": "Display name for the tenant",
|
|
2731
|
+
"name": "display",
|
|
2956
2732
|
"required": true
|
|
2957
2733
|
}
|
|
2958
2734
|
},
|
|
2959
|
-
"description": "
|
|
2735
|
+
"description": "Create a new tenant in a workspace",
|
|
2960
2736
|
"examples": [
|
|
2961
|
-
"$ xano tenant
|
|
2962
|
-
"$ xano tenant
|
|
2737
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2738
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2963
2739
|
],
|
|
2964
2740
|
"flags": {
|
|
2965
2741
|
"profile": {
|
|
@@ -2981,38 +2757,57 @@
|
|
|
2981
2757
|
"allowNo": false,
|
|
2982
2758
|
"type": "boolean"
|
|
2983
2759
|
},
|
|
2984
|
-
"
|
|
2985
|
-
"
|
|
2986
|
-
"
|
|
2987
|
-
"name": "description",
|
|
2760
|
+
"cluster_id": {
|
|
2761
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2762
|
+
"name": "cluster_id",
|
|
2988
2763
|
"required": false,
|
|
2989
2764
|
"hasDynamicHelp": false,
|
|
2990
2765
|
"multiple": false,
|
|
2991
2766
|
"type": "option"
|
|
2992
2767
|
},
|
|
2993
|
-
"
|
|
2994
|
-
"
|
|
2995
|
-
"
|
|
2768
|
+
"description": {
|
|
2769
|
+
"char": "d",
|
|
2770
|
+
"description": "Tenant description",
|
|
2771
|
+
"name": "description",
|
|
2996
2772
|
"required": false,
|
|
2997
2773
|
"hasDynamicHelp": false,
|
|
2998
2774
|
"multiple": false,
|
|
2999
2775
|
"type": "option"
|
|
3000
2776
|
},
|
|
3001
2777
|
"domain": {
|
|
3002
|
-
"description": "Custom domain",
|
|
2778
|
+
"description": "Custom domain for the tenant",
|
|
3003
2779
|
"name": "domain",
|
|
3004
2780
|
"required": false,
|
|
3005
2781
|
"hasDynamicHelp": false,
|
|
3006
2782
|
"multiple": false,
|
|
3007
2783
|
"type": "option"
|
|
3008
2784
|
},
|
|
2785
|
+
"ephemeral": {
|
|
2786
|
+
"description": "Mark tenant as ephemeral (allows push operations)",
|
|
2787
|
+
"name": "ephemeral",
|
|
2788
|
+
"allowNo": false,
|
|
2789
|
+
"type": "boolean"
|
|
2790
|
+
},
|
|
3009
2791
|
"ingress": {
|
|
3010
|
-
"description": "Enable
|
|
2792
|
+
"description": "Enable ingress",
|
|
3011
2793
|
"name": "ingress",
|
|
3012
|
-
"required": false,
|
|
3013
2794
|
"allowNo": true,
|
|
3014
2795
|
"type": "boolean"
|
|
3015
2796
|
},
|
|
2797
|
+
"license": {
|
|
2798
|
+
"description": "License tier",
|
|
2799
|
+
"name": "license",
|
|
2800
|
+
"required": false,
|
|
2801
|
+
"default": "tier1",
|
|
2802
|
+
"hasDynamicHelp": false,
|
|
2803
|
+
"multiple": false,
|
|
2804
|
+
"options": [
|
|
2805
|
+
"tier1",
|
|
2806
|
+
"tier2",
|
|
2807
|
+
"tier3"
|
|
2808
|
+
],
|
|
2809
|
+
"type": "option"
|
|
2810
|
+
},
|
|
3016
2811
|
"output": {
|
|
3017
2812
|
"char": "o",
|
|
3018
2813
|
"description": "Output format",
|
|
@@ -3027,25 +2822,17 @@
|
|
|
3027
2822
|
],
|
|
3028
2823
|
"type": "option"
|
|
3029
2824
|
},
|
|
3030
|
-
"
|
|
3031
|
-
"description": "
|
|
3032
|
-
"name": "
|
|
2825
|
+
"platform_id": {
|
|
2826
|
+
"description": "Platform ID to use",
|
|
2827
|
+
"name": "platform_id",
|
|
3033
2828
|
"required": false,
|
|
3034
2829
|
"hasDynamicHelp": false,
|
|
3035
2830
|
"multiple": false,
|
|
3036
2831
|
"type": "option"
|
|
3037
2832
|
},
|
|
3038
|
-
"rbac": {
|
|
3039
|
-
"description": "Enable/disable RBAC",
|
|
3040
|
-
"name": "rbac",
|
|
3041
|
-
"required": false,
|
|
3042
|
-
"allowNo": true,
|
|
3043
|
-
"type": "boolean"
|
|
3044
|
-
},
|
|
3045
2833
|
"tasks": {
|
|
3046
|
-
"description": "Enable
|
|
2834
|
+
"description": "Enable background tasks",
|
|
3047
2835
|
"name": "tasks",
|
|
3048
|
-
"required": false,
|
|
3049
2836
|
"allowNo": true,
|
|
3050
2837
|
"type": "boolean"
|
|
3051
2838
|
},
|
|
@@ -3061,7 +2848,7 @@
|
|
|
3061
2848
|
},
|
|
3062
2849
|
"hasDynamicHelp": false,
|
|
3063
2850
|
"hiddenAliases": [],
|
|
3064
|
-
"id": "tenant:
|
|
2851
|
+
"id": "tenant:create",
|
|
3065
2852
|
"pluginAlias": "@xano/cli",
|
|
3066
2853
|
"pluginName": "@xano/cli",
|
|
3067
2854
|
"pluginType": "core",
|
|
@@ -3072,7 +2859,7 @@
|
|
|
3072
2859
|
"dist",
|
|
3073
2860
|
"commands",
|
|
3074
2861
|
"tenant",
|
|
3075
|
-
"
|
|
2862
|
+
"create",
|
|
3076
2863
|
"index.js"
|
|
3077
2864
|
]
|
|
3078
2865
|
},
|
|
@@ -3151,19 +2938,19 @@
|
|
|
3151
2938
|
"index.js"
|
|
3152
2939
|
]
|
|
3153
2940
|
},
|
|
3154
|
-
"tenant:
|
|
2941
|
+
"tenant:edit": {
|
|
3155
2942
|
"aliases": [],
|
|
3156
2943
|
"args": {
|
|
3157
2944
|
"tenant_name": {
|
|
3158
|
-
"description": "Tenant name to
|
|
2945
|
+
"description": "Tenant name to edit",
|
|
3159
2946
|
"name": "tenant_name",
|
|
3160
2947
|
"required": true
|
|
3161
2948
|
}
|
|
3162
2949
|
},
|
|
3163
|
-
"description": "
|
|
2950
|
+
"description": "Edit an existing tenant",
|
|
3164
2951
|
"examples": [
|
|
3165
|
-
"$ xano tenant
|
|
3166
|
-
"$ xano tenant
|
|
2952
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
2953
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3167
2954
|
],
|
|
3168
2955
|
"flags": {
|
|
3169
2956
|
"profile": {
|
|
@@ -3185,6 +2972,38 @@
|
|
|
3185
2972
|
"allowNo": false,
|
|
3186
2973
|
"type": "boolean"
|
|
3187
2974
|
},
|
|
2975
|
+
"description": {
|
|
2976
|
+
"char": "d",
|
|
2977
|
+
"description": "New description",
|
|
2978
|
+
"name": "description",
|
|
2979
|
+
"required": false,
|
|
2980
|
+
"hasDynamicHelp": false,
|
|
2981
|
+
"multiple": false,
|
|
2982
|
+
"type": "option"
|
|
2983
|
+
},
|
|
2984
|
+
"display": {
|
|
2985
|
+
"description": "New display name",
|
|
2986
|
+
"name": "display",
|
|
2987
|
+
"required": false,
|
|
2988
|
+
"hasDynamicHelp": false,
|
|
2989
|
+
"multiple": false,
|
|
2990
|
+
"type": "option"
|
|
2991
|
+
},
|
|
2992
|
+
"domain": {
|
|
2993
|
+
"description": "Custom domain",
|
|
2994
|
+
"name": "domain",
|
|
2995
|
+
"required": false,
|
|
2996
|
+
"hasDynamicHelp": false,
|
|
2997
|
+
"multiple": false,
|
|
2998
|
+
"type": "option"
|
|
2999
|
+
},
|
|
3000
|
+
"ingress": {
|
|
3001
|
+
"description": "Enable/disable ingress",
|
|
3002
|
+
"name": "ingress",
|
|
3003
|
+
"required": false,
|
|
3004
|
+
"allowNo": true,
|
|
3005
|
+
"type": "boolean"
|
|
3006
|
+
},
|
|
3188
3007
|
"output": {
|
|
3189
3008
|
"char": "o",
|
|
3190
3009
|
"description": "Output format",
|
|
@@ -3199,12 +3018,26 @@
|
|
|
3199
3018
|
],
|
|
3200
3019
|
"type": "option"
|
|
3201
3020
|
},
|
|
3202
|
-
"
|
|
3203
|
-
"
|
|
3204
|
-
"
|
|
3205
|
-
"name": "url-only",
|
|
3021
|
+
"proxy": {
|
|
3022
|
+
"description": "Proxy URL",
|
|
3023
|
+
"name": "proxy",
|
|
3206
3024
|
"required": false,
|
|
3207
|
-
"
|
|
3025
|
+
"hasDynamicHelp": false,
|
|
3026
|
+
"multiple": false,
|
|
3027
|
+
"type": "option"
|
|
3028
|
+
},
|
|
3029
|
+
"rbac": {
|
|
3030
|
+
"description": "Enable/disable RBAC",
|
|
3031
|
+
"name": "rbac",
|
|
3032
|
+
"required": false,
|
|
3033
|
+
"allowNo": true,
|
|
3034
|
+
"type": "boolean"
|
|
3035
|
+
},
|
|
3036
|
+
"tasks": {
|
|
3037
|
+
"description": "Enable/disable background tasks",
|
|
3038
|
+
"name": "tasks",
|
|
3039
|
+
"required": false,
|
|
3040
|
+
"allowNo": true,
|
|
3208
3041
|
"type": "boolean"
|
|
3209
3042
|
},
|
|
3210
3043
|
"workspace": {
|
|
@@ -3219,7 +3052,7 @@
|
|
|
3219
3052
|
},
|
|
3220
3053
|
"hasDynamicHelp": false,
|
|
3221
3054
|
"hiddenAliases": [],
|
|
3222
|
-
"id": "tenant:
|
|
3055
|
+
"id": "tenant:edit",
|
|
3223
3056
|
"pluginAlias": "@xano/cli",
|
|
3224
3057
|
"pluginName": "@xano/cli",
|
|
3225
3058
|
"pluginType": "core",
|
|
@@ -3230,17 +3063,23 @@
|
|
|
3230
3063
|
"dist",
|
|
3231
3064
|
"commands",
|
|
3232
3065
|
"tenant",
|
|
3233
|
-
"
|
|
3066
|
+
"edit",
|
|
3234
3067
|
"index.js"
|
|
3235
3068
|
]
|
|
3236
3069
|
},
|
|
3237
|
-
"tenant:
|
|
3070
|
+
"tenant:deploy_release": {
|
|
3238
3071
|
"aliases": [],
|
|
3239
|
-
"args": {
|
|
3240
|
-
|
|
3072
|
+
"args": {
|
|
3073
|
+
"tenant_name": {
|
|
3074
|
+
"description": "Tenant name to deploy to",
|
|
3075
|
+
"name": "tenant_name",
|
|
3076
|
+
"required": true
|
|
3077
|
+
}
|
|
3078
|
+
},
|
|
3079
|
+
"description": "Deploy a release to a tenant",
|
|
3241
3080
|
"examples": [
|
|
3242
|
-
"$ xano tenant
|
|
3243
|
-
"$ xano tenant
|
|
3081
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
3082
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3244
3083
|
],
|
|
3245
3084
|
"flags": {
|
|
3246
3085
|
"profile": {
|
|
@@ -3276,6 +3115,15 @@
|
|
|
3276
3115
|
],
|
|
3277
3116
|
"type": "option"
|
|
3278
3117
|
},
|
|
3118
|
+
"release": {
|
|
3119
|
+
"char": "r",
|
|
3120
|
+
"description": "Release name to deploy",
|
|
3121
|
+
"name": "release",
|
|
3122
|
+
"required": true,
|
|
3123
|
+
"hasDynamicHelp": false,
|
|
3124
|
+
"multiple": false,
|
|
3125
|
+
"type": "option"
|
|
3126
|
+
},
|
|
3279
3127
|
"workspace": {
|
|
3280
3128
|
"char": "w",
|
|
3281
3129
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3288,7 +3136,7 @@
|
|
|
3288
3136
|
},
|
|
3289
3137
|
"hasDynamicHelp": false,
|
|
3290
3138
|
"hiddenAliases": [],
|
|
3291
|
-
"id": "tenant:
|
|
3139
|
+
"id": "tenant:deploy_release",
|
|
3292
3140
|
"pluginAlias": "@xano/cli",
|
|
3293
3141
|
"pluginName": "@xano/cli",
|
|
3294
3142
|
"pluginType": "core",
|
|
@@ -3299,7 +3147,7 @@
|
|
|
3299
3147
|
"dist",
|
|
3300
3148
|
"commands",
|
|
3301
3149
|
"tenant",
|
|
3302
|
-
"
|
|
3150
|
+
"deploy_release",
|
|
3303
3151
|
"index.js"
|
|
3304
3152
|
]
|
|
3305
3153
|
},
|
|
@@ -3396,14 +3244,19 @@
|
|
|
3396
3244
|
"index.js"
|
|
3397
3245
|
]
|
|
3398
3246
|
},
|
|
3399
|
-
"
|
|
3247
|
+
"tenant:impersonate": {
|
|
3400
3248
|
"aliases": [],
|
|
3401
|
-
"args": {
|
|
3402
|
-
|
|
3249
|
+
"args": {
|
|
3250
|
+
"tenant_name": {
|
|
3251
|
+
"description": "Tenant name to impersonate",
|
|
3252
|
+
"name": "tenant_name",
|
|
3253
|
+
"required": true
|
|
3254
|
+
}
|
|
3255
|
+
},
|
|
3256
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3403
3257
|
"examples": [
|
|
3404
|
-
"$ xano
|
|
3405
|
-
"$ xano
|
|
3406
|
-
"$ xano unit-test list --obj-type function"
|
|
3258
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3259
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3407
3260
|
],
|
|
3408
3261
|
"flags": {
|
|
3409
3262
|
"profile": {
|
|
@@ -3425,28 +3278,6 @@
|
|
|
3425
3278
|
"allowNo": false,
|
|
3426
3279
|
"type": "boolean"
|
|
3427
3280
|
},
|
|
3428
|
-
"branch": {
|
|
3429
|
-
"char": "b",
|
|
3430
|
-
"description": "Filter by branch name",
|
|
3431
|
-
"name": "branch",
|
|
3432
|
-
"required": false,
|
|
3433
|
-
"hasDynamicHelp": false,
|
|
3434
|
-
"multiple": false,
|
|
3435
|
-
"type": "option"
|
|
3436
|
-
},
|
|
3437
|
-
"obj-type": {
|
|
3438
|
-
"description": "Filter by object type",
|
|
3439
|
-
"name": "obj-type",
|
|
3440
|
-
"required": false,
|
|
3441
|
-
"hasDynamicHelp": false,
|
|
3442
|
-
"multiple": false,
|
|
3443
|
-
"options": [
|
|
3444
|
-
"function",
|
|
3445
|
-
"query",
|
|
3446
|
-
"middleware"
|
|
3447
|
-
],
|
|
3448
|
-
"type": "option"
|
|
3449
|
-
},
|
|
3450
3281
|
"output": {
|
|
3451
3282
|
"char": "o",
|
|
3452
3283
|
"description": "Output format",
|
|
@@ -3461,6 +3292,14 @@
|
|
|
3461
3292
|
],
|
|
3462
3293
|
"type": "option"
|
|
3463
3294
|
},
|
|
3295
|
+
"url-only": {
|
|
3296
|
+
"char": "u",
|
|
3297
|
+
"description": "Print the URL without opening the browser",
|
|
3298
|
+
"name": "url-only",
|
|
3299
|
+
"required": false,
|
|
3300
|
+
"allowNo": false,
|
|
3301
|
+
"type": "boolean"
|
|
3302
|
+
},
|
|
3464
3303
|
"workspace": {
|
|
3465
3304
|
"char": "w",
|
|
3466
3305
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3473,7 +3312,7 @@
|
|
|
3473
3312
|
},
|
|
3474
3313
|
"hasDynamicHelp": false,
|
|
3475
3314
|
"hiddenAliases": [],
|
|
3476
|
-
"id": "
|
|
3315
|
+
"id": "tenant:impersonate",
|
|
3477
3316
|
"pluginAlias": "@xano/cli",
|
|
3478
3317
|
"pluginName": "@xano/cli",
|
|
3479
3318
|
"pluginType": "core",
|
|
@@ -3483,8 +3322,8 @@
|
|
|
3483
3322
|
"relativePath": [
|
|
3484
3323
|
"dist",
|
|
3485
3324
|
"commands",
|
|
3486
|
-
"
|
|
3487
|
-
"
|
|
3325
|
+
"tenant",
|
|
3326
|
+
"impersonate",
|
|
3488
3327
|
"index.js"
|
|
3489
3328
|
]
|
|
3490
3329
|
},
|
|
@@ -3583,13 +3422,19 @@
|
|
|
3583
3422
|
"index.js"
|
|
3584
3423
|
]
|
|
3585
3424
|
},
|
|
3586
|
-
"unit_test:
|
|
3425
|
+
"unit_test:run": {
|
|
3587
3426
|
"aliases": [],
|
|
3588
|
-
"args": {
|
|
3589
|
-
|
|
3427
|
+
"args": {
|
|
3428
|
+
"unit_test_id": {
|
|
3429
|
+
"description": "ID of the unit test to run",
|
|
3430
|
+
"name": "unit_test_id",
|
|
3431
|
+
"required": true
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
"description": "Run a unit test",
|
|
3590
3435
|
"examples": [
|
|
3591
|
-
"$ xano unit-test run-
|
|
3592
|
-
"$ xano unit-test run
|
|
3436
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3437
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3593
3438
|
],
|
|
3594
3439
|
"flags": {
|
|
3595
3440
|
"profile": {
|
|
@@ -3611,28 +3456,6 @@
|
|
|
3611
3456
|
"allowNo": false,
|
|
3612
3457
|
"type": "boolean"
|
|
3613
3458
|
},
|
|
3614
|
-
"branch": {
|
|
3615
|
-
"char": "b",
|
|
3616
|
-
"description": "Filter by branch name",
|
|
3617
|
-
"name": "branch",
|
|
3618
|
-
"required": false,
|
|
3619
|
-
"hasDynamicHelp": false,
|
|
3620
|
-
"multiple": false,
|
|
3621
|
-
"type": "option"
|
|
3622
|
-
},
|
|
3623
|
-
"obj-type": {
|
|
3624
|
-
"description": "Filter by object type",
|
|
3625
|
-
"name": "obj-type",
|
|
3626
|
-
"required": false,
|
|
3627
|
-
"hasDynamicHelp": false,
|
|
3628
|
-
"multiple": false,
|
|
3629
|
-
"options": [
|
|
3630
|
-
"function",
|
|
3631
|
-
"query",
|
|
3632
|
-
"middleware"
|
|
3633
|
-
],
|
|
3634
|
-
"type": "option"
|
|
3635
|
-
},
|
|
3636
3459
|
"output": {
|
|
3637
3460
|
"char": "o",
|
|
3638
3461
|
"description": "Output format",
|
|
@@ -3659,7 +3482,7 @@
|
|
|
3659
3482
|
},
|
|
3660
3483
|
"hasDynamicHelp": false,
|
|
3661
3484
|
"hiddenAliases": [],
|
|
3662
|
-
"id": "unit_test:
|
|
3485
|
+
"id": "unit_test:run",
|
|
3663
3486
|
"pluginAlias": "@xano/cli",
|
|
3664
3487
|
"pluginName": "@xano/cli",
|
|
3665
3488
|
"pluginType": "core",
|
|
@@ -3670,23 +3493,17 @@
|
|
|
3670
3493
|
"dist",
|
|
3671
3494
|
"commands",
|
|
3672
3495
|
"unit_test",
|
|
3673
|
-
"
|
|
3496
|
+
"run",
|
|
3674
3497
|
"index.js"
|
|
3675
3498
|
]
|
|
3676
3499
|
},
|
|
3677
|
-
"unit_test:
|
|
3500
|
+
"unit_test:run_all": {
|
|
3678
3501
|
"aliases": [],
|
|
3679
|
-
"args": {
|
|
3680
|
-
|
|
3681
|
-
"description": "ID of the unit test to run",
|
|
3682
|
-
"name": "unit_test_id",
|
|
3683
|
-
"required": true
|
|
3684
|
-
}
|
|
3685
|
-
},
|
|
3686
|
-
"description": "Run a unit test",
|
|
3502
|
+
"args": {},
|
|
3503
|
+
"description": "Run all unit tests in a workspace",
|
|
3687
3504
|
"examples": [
|
|
3688
|
-
"$ xano unit-test run
|
|
3689
|
-
"$ xano unit-test run
|
|
3505
|
+
"$ 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",
|
|
3506
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3690
3507
|
],
|
|
3691
3508
|
"flags": {
|
|
3692
3509
|
"profile": {
|
|
@@ -3708,6 +3525,28 @@
|
|
|
3708
3525
|
"allowNo": false,
|
|
3709
3526
|
"type": "boolean"
|
|
3710
3527
|
},
|
|
3528
|
+
"branch": {
|
|
3529
|
+
"char": "b",
|
|
3530
|
+
"description": "Filter by branch name",
|
|
3531
|
+
"name": "branch",
|
|
3532
|
+
"required": false,
|
|
3533
|
+
"hasDynamicHelp": false,
|
|
3534
|
+
"multiple": false,
|
|
3535
|
+
"type": "option"
|
|
3536
|
+
},
|
|
3537
|
+
"obj-type": {
|
|
3538
|
+
"description": "Filter by object type",
|
|
3539
|
+
"name": "obj-type",
|
|
3540
|
+
"required": false,
|
|
3541
|
+
"hasDynamicHelp": false,
|
|
3542
|
+
"multiple": false,
|
|
3543
|
+
"options": [
|
|
3544
|
+
"function",
|
|
3545
|
+
"query",
|
|
3546
|
+
"middleware"
|
|
3547
|
+
],
|
|
3548
|
+
"type": "option"
|
|
3549
|
+
},
|
|
3711
3550
|
"output": {
|
|
3712
3551
|
"char": "o",
|
|
3713
3552
|
"description": "Output format",
|
|
@@ -3734,7 +3573,7 @@
|
|
|
3734
3573
|
},
|
|
3735
3574
|
"hasDynamicHelp": false,
|
|
3736
3575
|
"hiddenAliases": [],
|
|
3737
|
-
"id": "unit_test:
|
|
3576
|
+
"id": "unit_test:run_all",
|
|
3738
3577
|
"pluginAlias": "@xano/cli",
|
|
3739
3578
|
"pluginName": "@xano/cli",
|
|
3740
3579
|
"pluginType": "core",
|
|
@@ -3745,24 +3584,24 @@
|
|
|
3745
3584
|
"dist",
|
|
3746
3585
|
"commands",
|
|
3747
3586
|
"unit_test",
|
|
3748
|
-
"
|
|
3587
|
+
"run_all",
|
|
3749
3588
|
"index.js"
|
|
3750
3589
|
]
|
|
3751
3590
|
},
|
|
3752
|
-
"
|
|
3591
|
+
"workspace:create": {
|
|
3753
3592
|
"aliases": [],
|
|
3754
3593
|
"args": {
|
|
3755
|
-
"
|
|
3756
|
-
"description": "
|
|
3757
|
-
"name": "
|
|
3594
|
+
"name": {
|
|
3595
|
+
"description": "Name of the workspace",
|
|
3596
|
+
"name": "name",
|
|
3758
3597
|
"required": true
|
|
3759
3598
|
}
|
|
3760
3599
|
},
|
|
3761
|
-
"description": "
|
|
3600
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
3762
3601
|
"examples": [
|
|
3763
|
-
"$ xano
|
|
3764
|
-
"$ xano
|
|
3765
|
-
"$ xano
|
|
3602
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
3603
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
3604
|
+
"$ 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"
|
|
3766
3605
|
],
|
|
3767
3606
|
"flags": {
|
|
3768
3607
|
"profile": {
|
|
@@ -3784,12 +3623,14 @@
|
|
|
3784
3623
|
"allowNo": false,
|
|
3785
3624
|
"type": "boolean"
|
|
3786
3625
|
},
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3789
|
-
"
|
|
3626
|
+
"description": {
|
|
3627
|
+
"char": "d",
|
|
3628
|
+
"description": "Description for the workspace",
|
|
3629
|
+
"name": "description",
|
|
3790
3630
|
"required": false,
|
|
3791
|
-
"
|
|
3792
|
-
"
|
|
3631
|
+
"hasDynamicHelp": false,
|
|
3632
|
+
"multiple": false,
|
|
3633
|
+
"type": "option"
|
|
3793
3634
|
},
|
|
3794
3635
|
"output": {
|
|
3795
3636
|
"char": "o",
|
|
@@ -3801,24 +3642,14 @@
|
|
|
3801
3642
|
"multiple": false,
|
|
3802
3643
|
"options": [
|
|
3803
3644
|
"summary",
|
|
3804
|
-
"json"
|
|
3805
|
-
"xs"
|
|
3645
|
+
"json"
|
|
3806
3646
|
],
|
|
3807
3647
|
"type": "option"
|
|
3808
|
-
},
|
|
3809
|
-
"workspace": {
|
|
3810
|
-
"char": "w",
|
|
3811
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3812
|
-
"name": "workspace",
|
|
3813
|
-
"required": false,
|
|
3814
|
-
"hasDynamicHelp": false,
|
|
3815
|
-
"multiple": false,
|
|
3816
|
-
"type": "option"
|
|
3817
3648
|
}
|
|
3818
3649
|
},
|
|
3819
3650
|
"hasDynamicHelp": false,
|
|
3820
3651
|
"hiddenAliases": [],
|
|
3821
|
-
"id": "
|
|
3652
|
+
"id": "workspace:create",
|
|
3822
3653
|
"pluginAlias": "@xano/cli",
|
|
3823
3654
|
"pluginName": "@xano/cli",
|
|
3824
3655
|
"pluginType": "core",
|
|
@@ -3828,24 +3659,19 @@
|
|
|
3828
3659
|
"relativePath": [
|
|
3829
3660
|
"dist",
|
|
3830
3661
|
"commands",
|
|
3831
|
-
"
|
|
3832
|
-
"
|
|
3662
|
+
"workspace",
|
|
3663
|
+
"create",
|
|
3833
3664
|
"index.js"
|
|
3834
3665
|
]
|
|
3835
3666
|
},
|
|
3836
|
-
"
|
|
3667
|
+
"unit_test:list": {
|
|
3837
3668
|
"aliases": [],
|
|
3838
|
-
"args": {
|
|
3839
|
-
|
|
3840
|
-
"description": "ID of the workflow test to delete",
|
|
3841
|
-
"name": "workflow_test_id",
|
|
3842
|
-
"required": true
|
|
3843
|
-
}
|
|
3844
|
-
},
|
|
3845
|
-
"description": "Delete a workflow test",
|
|
3669
|
+
"args": {},
|
|
3670
|
+
"description": "List all unit tests in a workspace",
|
|
3846
3671
|
"examples": [
|
|
3847
|
-
"$ xano
|
|
3848
|
-
"$ xano
|
|
3672
|
+
"$ 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",
|
|
3673
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3674
|
+
"$ xano unit-test list --obj-type function"
|
|
3849
3675
|
],
|
|
3850
3676
|
"flags": {
|
|
3851
3677
|
"profile": {
|
|
@@ -3867,13 +3693,27 @@
|
|
|
3867
3693
|
"allowNo": false,
|
|
3868
3694
|
"type": "boolean"
|
|
3869
3695
|
},
|
|
3870
|
-
"
|
|
3871
|
-
"char": "
|
|
3872
|
-
"description": "
|
|
3873
|
-
"name": "
|
|
3696
|
+
"branch": {
|
|
3697
|
+
"char": "b",
|
|
3698
|
+
"description": "Filter by branch name",
|
|
3699
|
+
"name": "branch",
|
|
3874
3700
|
"required": false,
|
|
3875
|
-
"
|
|
3876
|
-
"
|
|
3701
|
+
"hasDynamicHelp": false,
|
|
3702
|
+
"multiple": false,
|
|
3703
|
+
"type": "option"
|
|
3704
|
+
},
|
|
3705
|
+
"obj-type": {
|
|
3706
|
+
"description": "Filter by object type",
|
|
3707
|
+
"name": "obj-type",
|
|
3708
|
+
"required": false,
|
|
3709
|
+
"hasDynamicHelp": false,
|
|
3710
|
+
"multiple": false,
|
|
3711
|
+
"options": [
|
|
3712
|
+
"function",
|
|
3713
|
+
"query",
|
|
3714
|
+
"middleware"
|
|
3715
|
+
],
|
|
3716
|
+
"type": "option"
|
|
3877
3717
|
},
|
|
3878
3718
|
"output": {
|
|
3879
3719
|
"char": "o",
|
|
@@ -3901,7 +3741,7 @@
|
|
|
3901
3741
|
},
|
|
3902
3742
|
"hasDynamicHelp": false,
|
|
3903
3743
|
"hiddenAliases": [],
|
|
3904
|
-
"id": "
|
|
3744
|
+
"id": "unit_test:list",
|
|
3905
3745
|
"pluginAlias": "@xano/cli",
|
|
3906
3746
|
"pluginName": "@xano/cli",
|
|
3907
3747
|
"pluginType": "core",
|
|
@@ -3911,19 +3751,18 @@
|
|
|
3911
3751
|
"relativePath": [
|
|
3912
3752
|
"dist",
|
|
3913
3753
|
"commands",
|
|
3914
|
-
"
|
|
3915
|
-
"
|
|
3754
|
+
"unit_test",
|
|
3755
|
+
"list",
|
|
3916
3756
|
"index.js"
|
|
3917
3757
|
]
|
|
3918
3758
|
},
|
|
3919
|
-
"
|
|
3759
|
+
"tenant:list": {
|
|
3920
3760
|
"aliases": [],
|
|
3921
3761
|
"args": {},
|
|
3922
|
-
"description": "List all
|
|
3762
|
+
"description": "List all tenants in a workspace",
|
|
3923
3763
|
"examples": [
|
|
3924
|
-
"$ xano
|
|
3925
|
-
"$ xano
|
|
3926
|
-
"$ xano workflow-test list --branch main"
|
|
3764
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3765
|
+
"$ xano tenant list -w 5 --output json"
|
|
3927
3766
|
],
|
|
3928
3767
|
"flags": {
|
|
3929
3768
|
"profile": {
|
|
@@ -3945,15 +3784,6 @@
|
|
|
3945
3784
|
"allowNo": false,
|
|
3946
3785
|
"type": "boolean"
|
|
3947
3786
|
},
|
|
3948
|
-
"branch": {
|
|
3949
|
-
"char": "b",
|
|
3950
|
-
"description": "Filter by branch name",
|
|
3951
|
-
"name": "branch",
|
|
3952
|
-
"required": false,
|
|
3953
|
-
"hasDynamicHelp": false,
|
|
3954
|
-
"multiple": false,
|
|
3955
|
-
"type": "option"
|
|
3956
|
-
},
|
|
3957
3787
|
"output": {
|
|
3958
3788
|
"char": "o",
|
|
3959
3789
|
"description": "Output format",
|
|
@@ -3980,7 +3810,7 @@
|
|
|
3980
3810
|
},
|
|
3981
3811
|
"hasDynamicHelp": false,
|
|
3982
3812
|
"hiddenAliases": [],
|
|
3983
|
-
"id": "
|
|
3813
|
+
"id": "tenant:list",
|
|
3984
3814
|
"pluginAlias": "@xano/cli",
|
|
3985
3815
|
"pluginName": "@xano/cli",
|
|
3986
3816
|
"pluginType": "core",
|
|
@@ -3990,24 +3820,26 @@
|
|
|
3990
3820
|
"relativePath": [
|
|
3991
3821
|
"dist",
|
|
3992
3822
|
"commands",
|
|
3993
|
-
"
|
|
3823
|
+
"tenant",
|
|
3994
3824
|
"list",
|
|
3995
3825
|
"index.js"
|
|
3996
3826
|
]
|
|
3997
3827
|
},
|
|
3998
|
-
"
|
|
3828
|
+
"workspace:edit": {
|
|
3999
3829
|
"aliases": [],
|
|
4000
3830
|
"args": {
|
|
4001
|
-
"
|
|
4002
|
-
"description": "ID
|
|
4003
|
-
"name": "
|
|
4004
|
-
"required":
|
|
3831
|
+
"workspace_id": {
|
|
3832
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3833
|
+
"name": "workspace_id",
|
|
3834
|
+
"required": false
|
|
4005
3835
|
}
|
|
4006
3836
|
},
|
|
4007
|
-
"description": "
|
|
3837
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4008
3838
|
"examples": [
|
|
4009
|
-
"$ xano
|
|
4010
|
-
"$ xano
|
|
3839
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
3840
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
3841
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
3842
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4011
3843
|
],
|
|
4012
3844
|
"flags": {
|
|
4013
3845
|
"profile": {
|
|
@@ -4029,6 +3861,24 @@
|
|
|
4029
3861
|
"allowNo": false,
|
|
4030
3862
|
"type": "boolean"
|
|
4031
3863
|
},
|
|
3864
|
+
"description": {
|
|
3865
|
+
"char": "d",
|
|
3866
|
+
"description": "New description for the workspace",
|
|
3867
|
+
"name": "description",
|
|
3868
|
+
"required": false,
|
|
3869
|
+
"hasDynamicHelp": false,
|
|
3870
|
+
"multiple": false,
|
|
3871
|
+
"type": "option"
|
|
3872
|
+
},
|
|
3873
|
+
"name": {
|
|
3874
|
+
"char": "n",
|
|
3875
|
+
"description": "New name for the workspace",
|
|
3876
|
+
"name": "name",
|
|
3877
|
+
"required": false,
|
|
3878
|
+
"hasDynamicHelp": false,
|
|
3879
|
+
"multiple": false,
|
|
3880
|
+
"type": "option"
|
|
3881
|
+
},
|
|
4032
3882
|
"output": {
|
|
4033
3883
|
"char": "o",
|
|
4034
3884
|
"description": "Output format",
|
|
@@ -4043,19 +3893,24 @@
|
|
|
4043
3893
|
],
|
|
4044
3894
|
"type": "option"
|
|
4045
3895
|
},
|
|
4046
|
-
"
|
|
4047
|
-
"
|
|
4048
|
-
"
|
|
4049
|
-
"name": "workspace",
|
|
3896
|
+
"require-token": {
|
|
3897
|
+
"description": "Whether to require a token for documentation access",
|
|
3898
|
+
"name": "require-token",
|
|
4050
3899
|
"required": false,
|
|
4051
|
-
"
|
|
4052
|
-
"
|
|
4053
|
-
|
|
3900
|
+
"allowNo": true,
|
|
3901
|
+
"type": "boolean"
|
|
3902
|
+
},
|
|
3903
|
+
"swagger": {
|
|
3904
|
+
"description": "Enable or disable swagger documentation",
|
|
3905
|
+
"name": "swagger",
|
|
3906
|
+
"required": false,
|
|
3907
|
+
"allowNo": true,
|
|
3908
|
+
"type": "boolean"
|
|
4054
3909
|
}
|
|
4055
3910
|
},
|
|
4056
3911
|
"hasDynamicHelp": false,
|
|
4057
3912
|
"hiddenAliases": [],
|
|
4058
|
-
"id": "
|
|
3913
|
+
"id": "workspace:edit",
|
|
4059
3914
|
"pluginAlias": "@xano/cli",
|
|
4060
3915
|
"pluginName": "@xano/cli",
|
|
4061
3916
|
"pluginType": "core",
|
|
@@ -4065,18 +3920,25 @@
|
|
|
4065
3920
|
"relativePath": [
|
|
4066
3921
|
"dist",
|
|
4067
3922
|
"commands",
|
|
4068
|
-
"
|
|
4069
|
-
"
|
|
3923
|
+
"workspace",
|
|
3924
|
+
"edit",
|
|
4070
3925
|
"index.js"
|
|
4071
3926
|
]
|
|
4072
3927
|
},
|
|
4073
|
-
"
|
|
3928
|
+
"workspace:delete": {
|
|
4074
3929
|
"aliases": [],
|
|
4075
|
-
"args": {
|
|
4076
|
-
|
|
3930
|
+
"args": {
|
|
3931
|
+
"workspace_id": {
|
|
3932
|
+
"description": "Workspace ID to delete",
|
|
3933
|
+
"name": "workspace_id",
|
|
3934
|
+
"required": true
|
|
3935
|
+
}
|
|
3936
|
+
},
|
|
3937
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4077
3938
|
"examples": [
|
|
4078
|
-
"$ xano
|
|
4079
|
-
"$ xano
|
|
3939
|
+
"$ 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",
|
|
3940
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
3941
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4080
3942
|
],
|
|
4081
3943
|
"flags": {
|
|
4082
3944
|
"profile": {
|
|
@@ -4098,14 +3960,13 @@
|
|
|
4098
3960
|
"allowNo": false,
|
|
4099
3961
|
"type": "boolean"
|
|
4100
3962
|
},
|
|
4101
|
-
"
|
|
4102
|
-
"char": "
|
|
4103
|
-
"description": "
|
|
4104
|
-
"name": "
|
|
3963
|
+
"force": {
|
|
3964
|
+
"char": "f",
|
|
3965
|
+
"description": "Skip confirmation prompt",
|
|
3966
|
+
"name": "force",
|
|
4105
3967
|
"required": false,
|
|
4106
|
-
"
|
|
4107
|
-
"
|
|
4108
|
-
"type": "option"
|
|
3968
|
+
"allowNo": false,
|
|
3969
|
+
"type": "boolean"
|
|
4109
3970
|
},
|
|
4110
3971
|
"output": {
|
|
4111
3972
|
"char": "o",
|
|
@@ -4120,20 +3981,11 @@
|
|
|
4120
3981
|
"json"
|
|
4121
3982
|
],
|
|
4122
3983
|
"type": "option"
|
|
4123
|
-
},
|
|
4124
|
-
"workspace": {
|
|
4125
|
-
"char": "w",
|
|
4126
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4127
|
-
"name": "workspace",
|
|
4128
|
-
"required": false,
|
|
4129
|
-
"hasDynamicHelp": false,
|
|
4130
|
-
"multiple": false,
|
|
4131
|
-
"type": "option"
|
|
4132
3984
|
}
|
|
4133
3985
|
},
|
|
4134
3986
|
"hasDynamicHelp": false,
|
|
4135
3987
|
"hiddenAliases": [],
|
|
4136
|
-
"id": "
|
|
3988
|
+
"id": "workspace:delete",
|
|
4137
3989
|
"pluginAlias": "@xano/cli",
|
|
4138
3990
|
"pluginName": "@xano/cli",
|
|
4139
3991
|
"pluginType": "core",
|
|
@@ -4143,25 +3995,25 @@
|
|
|
4143
3995
|
"relativePath": [
|
|
4144
3996
|
"dist",
|
|
4145
3997
|
"commands",
|
|
4146
|
-
"
|
|
4147
|
-
"
|
|
3998
|
+
"workspace",
|
|
3999
|
+
"delete",
|
|
4148
4000
|
"index.js"
|
|
4149
4001
|
]
|
|
4150
4002
|
},
|
|
4151
|
-
"workspace:
|
|
4003
|
+
"workspace:get": {
|
|
4152
4004
|
"aliases": [],
|
|
4153
4005
|
"args": {
|
|
4154
|
-
"
|
|
4155
|
-
"description": "
|
|
4156
|
-
"name": "
|
|
4157
|
-
"required":
|
|
4006
|
+
"workspace_id": {
|
|
4007
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4008
|
+
"name": "workspace_id",
|
|
4009
|
+
"required": false
|
|
4158
4010
|
}
|
|
4159
4011
|
},
|
|
4160
|
-
"description": "
|
|
4012
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4161
4013
|
"examples": [
|
|
4162
|
-
"$ xano workspace
|
|
4163
|
-
"$ xano workspace
|
|
4164
|
-
"$ xano workspace
|
|
4014
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4015
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4016
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4165
4017
|
],
|
|
4166
4018
|
"flags": {
|
|
4167
4019
|
"profile": {
|
|
@@ -4183,15 +4035,6 @@
|
|
|
4183
4035
|
"allowNo": false,
|
|
4184
4036
|
"type": "boolean"
|
|
4185
4037
|
},
|
|
4186
|
-
"description": {
|
|
4187
|
-
"char": "d",
|
|
4188
|
-
"description": "Description for the workspace",
|
|
4189
|
-
"name": "description",
|
|
4190
|
-
"required": false,
|
|
4191
|
-
"hasDynamicHelp": false,
|
|
4192
|
-
"multiple": false,
|
|
4193
|
-
"type": "option"
|
|
4194
|
-
},
|
|
4195
4038
|
"output": {
|
|
4196
4039
|
"char": "o",
|
|
4197
4040
|
"description": "Output format",
|
|
@@ -4209,7 +4052,7 @@
|
|
|
4209
4052
|
},
|
|
4210
4053
|
"hasDynamicHelp": false,
|
|
4211
4054
|
"hiddenAliases": [],
|
|
4212
|
-
"id": "workspace:
|
|
4055
|
+
"id": "workspace:get",
|
|
4213
4056
|
"pluginAlias": "@xano/cli",
|
|
4214
4057
|
"pluginName": "@xano/cli",
|
|
4215
4058
|
"pluginType": "core",
|
|
@@ -4220,24 +4063,23 @@
|
|
|
4220
4063
|
"dist",
|
|
4221
4064
|
"commands",
|
|
4222
4065
|
"workspace",
|
|
4223
|
-
"
|
|
4066
|
+
"get",
|
|
4224
4067
|
"index.js"
|
|
4225
4068
|
]
|
|
4226
4069
|
},
|
|
4227
|
-
"
|
|
4070
|
+
"workflow_test:delete": {
|
|
4228
4071
|
"aliases": [],
|
|
4229
4072
|
"args": {
|
|
4230
|
-
"
|
|
4231
|
-
"description": "
|
|
4232
|
-
"name": "
|
|
4073
|
+
"workflow_test_id": {
|
|
4074
|
+
"description": "ID of the workflow test to delete",
|
|
4075
|
+
"name": "workflow_test_id",
|
|
4233
4076
|
"required": true
|
|
4234
4077
|
}
|
|
4235
4078
|
},
|
|
4236
|
-
"description": "Delete a
|
|
4079
|
+
"description": "Delete a workflow test",
|
|
4237
4080
|
"examples": [
|
|
4238
|
-
"$ xano
|
|
4239
|
-
"$ xano
|
|
4240
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4081
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
4082
|
+
"$ xano workflow-test delete 1 --force"
|
|
4241
4083
|
],
|
|
4242
4084
|
"flags": {
|
|
4243
4085
|
"profile": {
|
|
@@ -4280,11 +4122,20 @@
|
|
|
4280
4122
|
"json"
|
|
4281
4123
|
],
|
|
4282
4124
|
"type": "option"
|
|
4125
|
+
},
|
|
4126
|
+
"workspace": {
|
|
4127
|
+
"char": "w",
|
|
4128
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4129
|
+
"name": "workspace",
|
|
4130
|
+
"required": false,
|
|
4131
|
+
"hasDynamicHelp": false,
|
|
4132
|
+
"multiple": false,
|
|
4133
|
+
"type": "option"
|
|
4283
4134
|
}
|
|
4284
4135
|
},
|
|
4285
4136
|
"hasDynamicHelp": false,
|
|
4286
4137
|
"hiddenAliases": [],
|
|
4287
|
-
"id": "
|
|
4138
|
+
"id": "workflow_test:delete",
|
|
4288
4139
|
"pluginAlias": "@xano/cli",
|
|
4289
4140
|
"pluginName": "@xano/cli",
|
|
4290
4141
|
"pluginType": "core",
|
|
@@ -4294,26 +4145,25 @@
|
|
|
4294
4145
|
"relativePath": [
|
|
4295
4146
|
"dist",
|
|
4296
4147
|
"commands",
|
|
4297
|
-
"
|
|
4148
|
+
"workflow_test",
|
|
4298
4149
|
"delete",
|
|
4299
4150
|
"index.js"
|
|
4300
4151
|
]
|
|
4301
4152
|
},
|
|
4302
|
-
"
|
|
4153
|
+
"workflow_test:get": {
|
|
4303
4154
|
"aliases": [],
|
|
4304
4155
|
"args": {
|
|
4305
|
-
"
|
|
4306
|
-
"description": "
|
|
4307
|
-
"name": "
|
|
4308
|
-
"required":
|
|
4156
|
+
"workflow_test_id": {
|
|
4157
|
+
"description": "ID of the workflow test",
|
|
4158
|
+
"name": "workflow_test_id",
|
|
4159
|
+
"required": true
|
|
4309
4160
|
}
|
|
4310
4161
|
},
|
|
4311
|
-
"description": "
|
|
4162
|
+
"description": "Get a specific workflow test",
|
|
4312
4163
|
"examples": [
|
|
4313
|
-
"$ xano
|
|
4314
|
-
"$ xano
|
|
4315
|
-
"$ xano
|
|
4316
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4164
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
4165
|
+
"$ xano workflow-test get 1 -o xs",
|
|
4166
|
+
"$ xano workflow-test get 1 -o json"
|
|
4317
4167
|
],
|
|
4318
4168
|
"flags": {
|
|
4319
4169
|
"profile": {
|
|
@@ -4335,23 +4185,12 @@
|
|
|
4335
4185
|
"allowNo": false,
|
|
4336
4186
|
"type": "boolean"
|
|
4337
4187
|
},
|
|
4338
|
-
"
|
|
4339
|
-
"
|
|
4340
|
-
"
|
|
4341
|
-
"name": "description",
|
|
4342
|
-
"required": false,
|
|
4343
|
-
"hasDynamicHelp": false,
|
|
4344
|
-
"multiple": false,
|
|
4345
|
-
"type": "option"
|
|
4346
|
-
},
|
|
4347
|
-
"name": {
|
|
4348
|
-
"char": "n",
|
|
4349
|
-
"description": "New name for the workspace",
|
|
4350
|
-
"name": "name",
|
|
4188
|
+
"include-draft": {
|
|
4189
|
+
"description": "Include draft version",
|
|
4190
|
+
"name": "include-draft",
|
|
4351
4191
|
"required": false,
|
|
4352
|
-
"
|
|
4353
|
-
"
|
|
4354
|
-
"type": "option"
|
|
4192
|
+
"allowNo": false,
|
|
4193
|
+
"type": "boolean"
|
|
4355
4194
|
},
|
|
4356
4195
|
"output": {
|
|
4357
4196
|
"char": "o",
|
|
@@ -4363,28 +4202,24 @@
|
|
|
4363
4202
|
"multiple": false,
|
|
4364
4203
|
"options": [
|
|
4365
4204
|
"summary",
|
|
4366
|
-
"json"
|
|
4205
|
+
"json",
|
|
4206
|
+
"xs"
|
|
4367
4207
|
],
|
|
4368
4208
|
"type": "option"
|
|
4369
4209
|
},
|
|
4370
|
-
"
|
|
4371
|
-
"
|
|
4372
|
-
"
|
|
4373
|
-
"
|
|
4374
|
-
"allowNo": true,
|
|
4375
|
-
"type": "boolean"
|
|
4376
|
-
},
|
|
4377
|
-
"swagger": {
|
|
4378
|
-
"description": "Enable or disable swagger documentation",
|
|
4379
|
-
"name": "swagger",
|
|
4210
|
+
"workspace": {
|
|
4211
|
+
"char": "w",
|
|
4212
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4213
|
+
"name": "workspace",
|
|
4380
4214
|
"required": false,
|
|
4381
|
-
"
|
|
4382
|
-
"
|
|
4215
|
+
"hasDynamicHelp": false,
|
|
4216
|
+
"multiple": false,
|
|
4217
|
+
"type": "option"
|
|
4383
4218
|
}
|
|
4384
4219
|
},
|
|
4385
4220
|
"hasDynamicHelp": false,
|
|
4386
4221
|
"hiddenAliases": [],
|
|
4387
|
-
"id": "
|
|
4222
|
+
"id": "workflow_test:get",
|
|
4388
4223
|
"pluginAlias": "@xano/cli",
|
|
4389
4224
|
"pluginName": "@xano/cli",
|
|
4390
4225
|
"pluginType": "core",
|
|
@@ -4394,27 +4229,19 @@
|
|
|
4394
4229
|
"relativePath": [
|
|
4395
4230
|
"dist",
|
|
4396
4231
|
"commands",
|
|
4397
|
-
"
|
|
4398
|
-
"
|
|
4232
|
+
"workflow_test",
|
|
4233
|
+
"get",
|
|
4399
4234
|
"index.js"
|
|
4400
4235
|
]
|
|
4401
4236
|
},
|
|
4402
|
-
"
|
|
4237
|
+
"workflow_test:list": {
|
|
4403
4238
|
"aliases": [],
|
|
4404
|
-
"args": {
|
|
4405
|
-
|
|
4406
|
-
"description": "Output directory for pulled documents",
|
|
4407
|
-
"name": "directory",
|
|
4408
|
-
"required": true
|
|
4409
|
-
}
|
|
4410
|
-
},
|
|
4411
|
-
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4239
|
+
"args": {},
|
|
4240
|
+
"description": "List all workflow tests in a workspace",
|
|
4412
4241
|
"examples": [
|
|
4413
|
-
"$ xano workspace
|
|
4414
|
-
"$ xano
|
|
4415
|
-
"$ xano
|
|
4416
|
-
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4417
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4242
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4243
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4244
|
+
"$ xano workflow-test list --branch main"
|
|
4418
4245
|
],
|
|
4419
4246
|
"flags": {
|
|
4420
4247
|
"profile": {
|
|
@@ -4438,37 +4265,30 @@
|
|
|
4438
4265
|
},
|
|
4439
4266
|
"branch": {
|
|
4440
4267
|
"char": "b",
|
|
4441
|
-
"description": "
|
|
4268
|
+
"description": "Filter by branch name",
|
|
4442
4269
|
"name": "branch",
|
|
4443
4270
|
"required": false,
|
|
4444
|
-
"hasDynamicHelp": false,
|
|
4445
|
-
"multiple": false,
|
|
4446
|
-
"type": "option"
|
|
4447
|
-
},
|
|
4448
|
-
"env": {
|
|
4449
|
-
"description": "Include environment variables",
|
|
4450
|
-
"name": "env",
|
|
4451
|
-
"required": false,
|
|
4452
|
-
"allowNo": false,
|
|
4453
|
-
"type": "boolean"
|
|
4454
|
-
},
|
|
4455
|
-
"draft": {
|
|
4456
|
-
"description": "Include draft versions",
|
|
4457
|
-
"name": "draft",
|
|
4458
|
-
"required": false,
|
|
4459
|
-
"allowNo": false,
|
|
4460
|
-
"type": "boolean"
|
|
4271
|
+
"hasDynamicHelp": false,
|
|
4272
|
+
"multiple": false,
|
|
4273
|
+
"type": "option"
|
|
4461
4274
|
},
|
|
4462
|
-
"
|
|
4463
|
-
"
|
|
4464
|
-
"
|
|
4275
|
+
"output": {
|
|
4276
|
+
"char": "o",
|
|
4277
|
+
"description": "Output format",
|
|
4278
|
+
"name": "output",
|
|
4465
4279
|
"required": false,
|
|
4466
|
-
"
|
|
4467
|
-
"
|
|
4280
|
+
"default": "summary",
|
|
4281
|
+
"hasDynamicHelp": false,
|
|
4282
|
+
"multiple": false,
|
|
4283
|
+
"options": [
|
|
4284
|
+
"summary",
|
|
4285
|
+
"json"
|
|
4286
|
+
],
|
|
4287
|
+
"type": "option"
|
|
4468
4288
|
},
|
|
4469
4289
|
"workspace": {
|
|
4470
4290
|
"char": "w",
|
|
4471
|
-
"description": "Workspace ID (
|
|
4291
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4472
4292
|
"name": "workspace",
|
|
4473
4293
|
"required": false,
|
|
4474
4294
|
"hasDynamicHelp": false,
|
|
@@ -4478,7 +4298,7 @@
|
|
|
4478
4298
|
},
|
|
4479
4299
|
"hasDynamicHelp": false,
|
|
4480
4300
|
"hiddenAliases": [],
|
|
4481
|
-
"id": "
|
|
4301
|
+
"id": "workflow_test:list",
|
|
4482
4302
|
"pluginAlias": "@xano/cli",
|
|
4483
4303
|
"pluginName": "@xano/cli",
|
|
4484
4304
|
"pluginType": "core",
|
|
@@ -4488,25 +4308,24 @@
|
|
|
4488
4308
|
"relativePath": [
|
|
4489
4309
|
"dist",
|
|
4490
4310
|
"commands",
|
|
4491
|
-
"
|
|
4492
|
-
"
|
|
4311
|
+
"workflow_test",
|
|
4312
|
+
"list",
|
|
4493
4313
|
"index.js"
|
|
4494
4314
|
]
|
|
4495
4315
|
},
|
|
4496
|
-
"
|
|
4316
|
+
"workflow_test:run": {
|
|
4497
4317
|
"aliases": [],
|
|
4498
4318
|
"args": {
|
|
4499
|
-
"
|
|
4500
|
-
"description": "
|
|
4501
|
-
"name": "
|
|
4502
|
-
"required":
|
|
4319
|
+
"workflow_test_id": {
|
|
4320
|
+
"description": "ID of the workflow test to run",
|
|
4321
|
+
"name": "workflow_test_id",
|
|
4322
|
+
"required": true
|
|
4503
4323
|
}
|
|
4504
4324
|
},
|
|
4505
|
-
"description": "
|
|
4325
|
+
"description": "Run a workflow test",
|
|
4506
4326
|
"examples": [
|
|
4507
|
-
"$ xano
|
|
4508
|
-
"$ xano
|
|
4509
|
-
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4327
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4328
|
+
"$ xano workflow-test run 1 -o json"
|
|
4510
4329
|
],
|
|
4511
4330
|
"flags": {
|
|
4512
4331
|
"profile": {
|
|
@@ -4541,11 +4360,20 @@
|
|
|
4541
4360
|
"json"
|
|
4542
4361
|
],
|
|
4543
4362
|
"type": "option"
|
|
4363
|
+
},
|
|
4364
|
+
"workspace": {
|
|
4365
|
+
"char": "w",
|
|
4366
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4367
|
+
"name": "workspace",
|
|
4368
|
+
"required": false,
|
|
4369
|
+
"hasDynamicHelp": false,
|
|
4370
|
+
"multiple": false,
|
|
4371
|
+
"type": "option"
|
|
4544
4372
|
}
|
|
4545
4373
|
},
|
|
4546
4374
|
"hasDynamicHelp": false,
|
|
4547
4375
|
"hiddenAliases": [],
|
|
4548
|
-
"id": "
|
|
4376
|
+
"id": "workflow_test:run",
|
|
4549
4377
|
"pluginAlias": "@xano/cli",
|
|
4550
4378
|
"pluginName": "@xano/cli",
|
|
4551
4379
|
"pluginType": "core",
|
|
@@ -4555,8 +4383,8 @@
|
|
|
4555
4383
|
"relativePath": [
|
|
4556
4384
|
"dist",
|
|
4557
4385
|
"commands",
|
|
4558
|
-
"
|
|
4559
|
-
"
|
|
4386
|
+
"workflow_test",
|
|
4387
|
+
"run",
|
|
4560
4388
|
"index.js"
|
|
4561
4389
|
]
|
|
4562
4390
|
},
|
|
@@ -4622,20 +4450,22 @@
|
|
|
4622
4450
|
"index.js"
|
|
4623
4451
|
]
|
|
4624
4452
|
},
|
|
4625
|
-
"
|
|
4453
|
+
"workspace:pull": {
|
|
4626
4454
|
"aliases": [],
|
|
4627
4455
|
"args": {
|
|
4628
|
-
"
|
|
4629
|
-
"description": "
|
|
4630
|
-
"name": "
|
|
4456
|
+
"directory": {
|
|
4457
|
+
"description": "Output directory for pulled documents",
|
|
4458
|
+
"name": "directory",
|
|
4631
4459
|
"required": true
|
|
4632
4460
|
}
|
|
4633
4461
|
},
|
|
4634
|
-
"description": "
|
|
4462
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4635
4463
|
"examples": [
|
|
4636
|
-
"$ xano
|
|
4637
|
-
"$ xano
|
|
4638
|
-
"$ xano
|
|
4464
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4465
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4466
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4467
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4468
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4639
4469
|
],
|
|
4640
4470
|
"flags": {
|
|
4641
4471
|
"profile": {
|
|
@@ -4657,46 +4487,35 @@
|
|
|
4657
4487
|
"allowNo": false,
|
|
4658
4488
|
"type": "boolean"
|
|
4659
4489
|
},
|
|
4660
|
-
"
|
|
4661
|
-
"char": "
|
|
4662
|
-
"description": "
|
|
4663
|
-
"name": "
|
|
4490
|
+
"branch": {
|
|
4491
|
+
"char": "b",
|
|
4492
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4493
|
+
"name": "branch",
|
|
4664
4494
|
"required": false,
|
|
4665
4495
|
"hasDynamicHelp": false,
|
|
4666
4496
|
"multiple": false,
|
|
4667
4497
|
"type": "option"
|
|
4668
4498
|
},
|
|
4669
|
-
"
|
|
4670
|
-
"
|
|
4671
|
-
"
|
|
4672
|
-
"
|
|
4673
|
-
"
|
|
4674
|
-
"
|
|
4675
|
-
"multiple": false,
|
|
4676
|
-
"type": "option"
|
|
4499
|
+
"env": {
|
|
4500
|
+
"description": "Include environment variables",
|
|
4501
|
+
"name": "env",
|
|
4502
|
+
"required": false,
|
|
4503
|
+
"allowNo": false,
|
|
4504
|
+
"type": "boolean"
|
|
4677
4505
|
},
|
|
4678
|
-
"
|
|
4679
|
-
"
|
|
4680
|
-
"
|
|
4681
|
-
"
|
|
4682
|
-
"
|
|
4683
|
-
"
|
|
4684
|
-
"multiple": false,
|
|
4685
|
-
"type": "option"
|
|
4506
|
+
"draft": {
|
|
4507
|
+
"description": "Include draft versions",
|
|
4508
|
+
"name": "draft",
|
|
4509
|
+
"required": false,
|
|
4510
|
+
"allowNo": false,
|
|
4511
|
+
"type": "boolean"
|
|
4686
4512
|
},
|
|
4687
|
-
"
|
|
4688
|
-
"
|
|
4689
|
-
"
|
|
4690
|
-
"name": "output",
|
|
4513
|
+
"records": {
|
|
4514
|
+
"description": "Include records",
|
|
4515
|
+
"name": "records",
|
|
4691
4516
|
"required": false,
|
|
4692
|
-
"
|
|
4693
|
-
"
|
|
4694
|
-
"multiple": false,
|
|
4695
|
-
"options": [
|
|
4696
|
-
"summary",
|
|
4697
|
-
"json"
|
|
4698
|
-
],
|
|
4699
|
-
"type": "option"
|
|
4517
|
+
"allowNo": false,
|
|
4518
|
+
"type": "boolean"
|
|
4700
4519
|
},
|
|
4701
4520
|
"workspace": {
|
|
4702
4521
|
"char": "w",
|
|
@@ -4710,7 +4529,7 @@
|
|
|
4710
4529
|
},
|
|
4711
4530
|
"hasDynamicHelp": false,
|
|
4712
4531
|
"hiddenAliases": [],
|
|
4713
|
-
"id": "
|
|
4532
|
+
"id": "workspace:pull",
|
|
4714
4533
|
"pluginAlias": "@xano/cli",
|
|
4715
4534
|
"pluginName": "@xano/cli",
|
|
4716
4535
|
"pluginType": "core",
|
|
@@ -4720,9 +4539,8 @@
|
|
|
4720
4539
|
"relativePath": [
|
|
4721
4540
|
"dist",
|
|
4722
4541
|
"commands",
|
|
4723
|
-
"
|
|
4724
|
-
"
|
|
4725
|
-
"create",
|
|
4542
|
+
"workspace",
|
|
4543
|
+
"pull",
|
|
4726
4544
|
"index.js"
|
|
4727
4545
|
]
|
|
4728
4546
|
},
|
|
@@ -4847,26 +4665,98 @@
|
|
|
4847
4665
|
"index.js"
|
|
4848
4666
|
]
|
|
4849
4667
|
},
|
|
4850
|
-
"
|
|
4668
|
+
"workflow_test:run_all": {
|
|
4851
4669
|
"aliases": [],
|
|
4852
|
-
"args": {
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4670
|
+
"args": {},
|
|
4671
|
+
"description": "Run all workflow tests in a workspace",
|
|
4672
|
+
"examples": [
|
|
4673
|
+
"$ 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",
|
|
4674
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4675
|
+
],
|
|
4676
|
+
"flags": {
|
|
4677
|
+
"profile": {
|
|
4678
|
+
"char": "p",
|
|
4679
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4680
|
+
"env": "XANO_PROFILE",
|
|
4681
|
+
"name": "profile",
|
|
4682
|
+
"required": false,
|
|
4683
|
+
"hasDynamicHelp": false,
|
|
4684
|
+
"multiple": false,
|
|
4685
|
+
"type": "option"
|
|
4686
|
+
},
|
|
4687
|
+
"verbose": {
|
|
4688
|
+
"char": "v",
|
|
4689
|
+
"description": "Show detailed request/response information",
|
|
4690
|
+
"env": "XANO_VERBOSE",
|
|
4691
|
+
"name": "verbose",
|
|
4692
|
+
"required": false,
|
|
4693
|
+
"allowNo": false,
|
|
4694
|
+
"type": "boolean"
|
|
4695
|
+
},
|
|
4696
|
+
"branch": {
|
|
4697
|
+
"char": "b",
|
|
4698
|
+
"description": "Filter by branch name",
|
|
4699
|
+
"name": "branch",
|
|
4700
|
+
"required": false,
|
|
4701
|
+
"hasDynamicHelp": false,
|
|
4702
|
+
"multiple": false,
|
|
4703
|
+
"type": "option"
|
|
4704
|
+
},
|
|
4705
|
+
"output": {
|
|
4706
|
+
"char": "o",
|
|
4707
|
+
"description": "Output format",
|
|
4708
|
+
"name": "output",
|
|
4709
|
+
"required": false,
|
|
4710
|
+
"default": "summary",
|
|
4711
|
+
"hasDynamicHelp": false,
|
|
4712
|
+
"multiple": false,
|
|
4713
|
+
"options": [
|
|
4714
|
+
"summary",
|
|
4715
|
+
"json"
|
|
4716
|
+
],
|
|
4717
|
+
"type": "option"
|
|
4857
4718
|
},
|
|
4719
|
+
"workspace": {
|
|
4720
|
+
"char": "w",
|
|
4721
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4722
|
+
"name": "workspace",
|
|
4723
|
+
"required": false,
|
|
4724
|
+
"hasDynamicHelp": false,
|
|
4725
|
+
"multiple": false,
|
|
4726
|
+
"type": "option"
|
|
4727
|
+
}
|
|
4728
|
+
},
|
|
4729
|
+
"hasDynamicHelp": false,
|
|
4730
|
+
"hiddenAliases": [],
|
|
4731
|
+
"id": "workflow_test:run_all",
|
|
4732
|
+
"pluginAlias": "@xano/cli",
|
|
4733
|
+
"pluginName": "@xano/cli",
|
|
4734
|
+
"pluginType": "core",
|
|
4735
|
+
"strict": true,
|
|
4736
|
+
"enableJsonFlag": false,
|
|
4737
|
+
"isESM": true,
|
|
4738
|
+
"relativePath": [
|
|
4739
|
+
"dist",
|
|
4740
|
+
"commands",
|
|
4741
|
+
"workflow_test",
|
|
4742
|
+
"run_all",
|
|
4743
|
+
"index.js"
|
|
4744
|
+
]
|
|
4745
|
+
},
|
|
4746
|
+
"static_host:build:create": {
|
|
4747
|
+
"aliases": [],
|
|
4748
|
+
"args": {
|
|
4858
4749
|
"static_host": {
|
|
4859
4750
|
"description": "Static Host name",
|
|
4860
4751
|
"name": "static_host",
|
|
4861
4752
|
"required": true
|
|
4862
4753
|
}
|
|
4863
4754
|
},
|
|
4864
|
-
"description": "
|
|
4755
|
+
"description": "Create a new build for a static host",
|
|
4865
4756
|
"examples": [
|
|
4866
|
-
"$ xano static_host:build:
|
|
4867
|
-
"$ xano static_host:build:
|
|
4868
|
-
"$ xano static_host:build:
|
|
4869
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4757
|
+
"$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
|
|
4758
|
+
"$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
|
|
4759
|
+
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
4870
4760
|
],
|
|
4871
4761
|
"flags": {
|
|
4872
4762
|
"profile": {
|
|
@@ -4888,6 +4778,33 @@
|
|
|
4888
4778
|
"allowNo": false,
|
|
4889
4779
|
"type": "boolean"
|
|
4890
4780
|
},
|
|
4781
|
+
"description": {
|
|
4782
|
+
"char": "d",
|
|
4783
|
+
"description": "Build description",
|
|
4784
|
+
"name": "description",
|
|
4785
|
+
"required": false,
|
|
4786
|
+
"hasDynamicHelp": false,
|
|
4787
|
+
"multiple": false,
|
|
4788
|
+
"type": "option"
|
|
4789
|
+
},
|
|
4790
|
+
"file": {
|
|
4791
|
+
"char": "f",
|
|
4792
|
+
"description": "Path to zip file to upload",
|
|
4793
|
+
"name": "file",
|
|
4794
|
+
"required": true,
|
|
4795
|
+
"hasDynamicHelp": false,
|
|
4796
|
+
"multiple": false,
|
|
4797
|
+
"type": "option"
|
|
4798
|
+
},
|
|
4799
|
+
"name": {
|
|
4800
|
+
"char": "n",
|
|
4801
|
+
"description": "Build name",
|
|
4802
|
+
"name": "name",
|
|
4803
|
+
"required": true,
|
|
4804
|
+
"hasDynamicHelp": false,
|
|
4805
|
+
"multiple": false,
|
|
4806
|
+
"type": "option"
|
|
4807
|
+
},
|
|
4891
4808
|
"output": {
|
|
4892
4809
|
"char": "o",
|
|
4893
4810
|
"description": "Output format",
|
|
@@ -4914,7 +4831,7 @@
|
|
|
4914
4831
|
},
|
|
4915
4832
|
"hasDynamicHelp": false,
|
|
4916
4833
|
"hiddenAliases": [],
|
|
4917
|
-
"id": "static_host:build:
|
|
4834
|
+
"id": "static_host:build:create",
|
|
4918
4835
|
"pluginAlias": "@xano/cli",
|
|
4919
4836
|
"pluginName": "@xano/cli",
|
|
4920
4837
|
"pluginType": "core",
|
|
@@ -4926,23 +4843,30 @@
|
|
|
4926
4843
|
"commands",
|
|
4927
4844
|
"static_host",
|
|
4928
4845
|
"build",
|
|
4929
|
-
"
|
|
4846
|
+
"create",
|
|
4930
4847
|
"index.js"
|
|
4931
4848
|
]
|
|
4932
4849
|
},
|
|
4933
|
-
"
|
|
4850
|
+
"static_host:build:get": {
|
|
4934
4851
|
"aliases": [],
|
|
4935
4852
|
"args": {
|
|
4936
|
-
"
|
|
4937
|
-
"description": "
|
|
4938
|
-
"name": "
|
|
4853
|
+
"build_id": {
|
|
4854
|
+
"description": "Build ID",
|
|
4855
|
+
"name": "build_id",
|
|
4856
|
+
"required": true
|
|
4857
|
+
},
|
|
4858
|
+
"static_host": {
|
|
4859
|
+
"description": "Static Host name",
|
|
4860
|
+
"name": "static_host",
|
|
4939
4861
|
"required": true
|
|
4940
4862
|
}
|
|
4941
4863
|
},
|
|
4942
|
-
"description": "
|
|
4864
|
+
"description": "Get details of a specific build for a static host",
|
|
4943
4865
|
"examples": [
|
|
4944
|
-
"$ xano
|
|
4945
|
-
"$ xano
|
|
4866
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4867
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4868
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4869
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4946
4870
|
],
|
|
4947
4871
|
"flags": {
|
|
4948
4872
|
"profile": {
|
|
@@ -4964,16 +4888,6 @@
|
|
|
4964
4888
|
"allowNo": false,
|
|
4965
4889
|
"type": "boolean"
|
|
4966
4890
|
},
|
|
4967
|
-
"description": {
|
|
4968
|
-
"char": "d",
|
|
4969
|
-
"description": "Backup description",
|
|
4970
|
-
"name": "description",
|
|
4971
|
-
"required": false,
|
|
4972
|
-
"default": "",
|
|
4973
|
-
"hasDynamicHelp": false,
|
|
4974
|
-
"multiple": false,
|
|
4975
|
-
"type": "option"
|
|
4976
|
-
},
|
|
4977
4891
|
"output": {
|
|
4978
4892
|
"char": "o",
|
|
4979
4893
|
"description": "Output format",
|
|
@@ -4990,7 +4904,7 @@
|
|
|
4990
4904
|
},
|
|
4991
4905
|
"workspace": {
|
|
4992
4906
|
"char": "w",
|
|
4993
|
-
"description": "Workspace ID (
|
|
4907
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4994
4908
|
"name": "workspace",
|
|
4995
4909
|
"required": false,
|
|
4996
4910
|
"hasDynamicHelp": false,
|
|
@@ -5000,7 +4914,7 @@
|
|
|
5000
4914
|
},
|
|
5001
4915
|
"hasDynamicHelp": false,
|
|
5002
4916
|
"hiddenAliases": [],
|
|
5003
|
-
"id": "
|
|
4917
|
+
"id": "static_host:build:get",
|
|
5004
4918
|
"pluginAlias": "@xano/cli",
|
|
5005
4919
|
"pluginName": "@xano/cli",
|
|
5006
4920
|
"pluginType": "core",
|
|
@@ -5010,9 +4924,9 @@
|
|
|
5010
4924
|
"relativePath": [
|
|
5011
4925
|
"dist",
|
|
5012
4926
|
"commands",
|
|
5013
|
-
"
|
|
5014
|
-
"
|
|
5015
|
-
"
|
|
4927
|
+
"static_host",
|
|
4928
|
+
"build",
|
|
4929
|
+
"get",
|
|
5016
4930
|
"index.js"
|
|
5017
4931
|
]
|
|
5018
4932
|
},
|
|
@@ -5112,20 +5026,19 @@
|
|
|
5112
5026
|
"index.js"
|
|
5113
5027
|
]
|
|
5114
5028
|
},
|
|
5115
|
-
"tenant:backup:
|
|
5029
|
+
"tenant:backup:create": {
|
|
5116
5030
|
"aliases": [],
|
|
5117
5031
|
"args": {
|
|
5118
5032
|
"tenant_name": {
|
|
5119
|
-
"description": "Tenant name
|
|
5033
|
+
"description": "Tenant name to back up",
|
|
5120
5034
|
"name": "tenant_name",
|
|
5121
5035
|
"required": true
|
|
5122
5036
|
}
|
|
5123
5037
|
},
|
|
5124
|
-
"description": "
|
|
5038
|
+
"description": "Create a backup for a tenant",
|
|
5125
5039
|
"examples": [
|
|
5126
|
-
"$ xano tenant backup
|
|
5127
|
-
"$ xano tenant backup
|
|
5128
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5040
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5041
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5129
5042
|
],
|
|
5130
5043
|
"flags": {
|
|
5131
5044
|
"profile": {
|
|
@@ -5147,22 +5060,16 @@
|
|
|
5147
5060
|
"allowNo": false,
|
|
5148
5061
|
"type": "boolean"
|
|
5149
5062
|
},
|
|
5150
|
-
"
|
|
5151
|
-
"
|
|
5152
|
-
"
|
|
5153
|
-
"
|
|
5063
|
+
"description": {
|
|
5064
|
+
"char": "d",
|
|
5065
|
+
"description": "Backup description",
|
|
5066
|
+
"name": "description",
|
|
5067
|
+
"required": false,
|
|
5068
|
+
"default": "",
|
|
5154
5069
|
"hasDynamicHelp": false,
|
|
5155
5070
|
"multiple": false,
|
|
5156
5071
|
"type": "option"
|
|
5157
5072
|
},
|
|
5158
|
-
"force": {
|
|
5159
|
-
"char": "f",
|
|
5160
|
-
"description": "Skip confirmation prompt",
|
|
5161
|
-
"name": "force",
|
|
5162
|
-
"required": false,
|
|
5163
|
-
"allowNo": false,
|
|
5164
|
-
"type": "boolean"
|
|
5165
|
-
},
|
|
5166
5073
|
"output": {
|
|
5167
5074
|
"char": "o",
|
|
5168
5075
|
"description": "Output format",
|
|
@@ -5189,7 +5096,7 @@
|
|
|
5189
5096
|
},
|
|
5190
5097
|
"hasDynamicHelp": false,
|
|
5191
5098
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "tenant:backup:
|
|
5099
|
+
"id": "tenant:backup:create",
|
|
5193
5100
|
"pluginAlias": "@xano/cli",
|
|
5194
5101
|
"pluginName": "@xano/cli",
|
|
5195
5102
|
"pluginType": "core",
|
|
@@ -5201,24 +5108,24 @@
|
|
|
5201
5108
|
"commands",
|
|
5202
5109
|
"tenant",
|
|
5203
5110
|
"backup",
|
|
5204
|
-
"
|
|
5111
|
+
"create",
|
|
5205
5112
|
"index.js"
|
|
5206
5113
|
]
|
|
5207
5114
|
},
|
|
5208
|
-
"tenant:backup:
|
|
5115
|
+
"tenant:backup:delete": {
|
|
5209
5116
|
"aliases": [],
|
|
5210
5117
|
"args": {
|
|
5211
5118
|
"tenant_name": {
|
|
5212
|
-
"description": "Tenant name
|
|
5119
|
+
"description": "Tenant name that owns the backup",
|
|
5213
5120
|
"name": "tenant_name",
|
|
5214
5121
|
"required": true
|
|
5215
5122
|
}
|
|
5216
5123
|
},
|
|
5217
|
-
"description": "
|
|
5124
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5218
5125
|
"examples": [
|
|
5219
|
-
"$ xano tenant backup
|
|
5220
|
-
"$ xano tenant backup
|
|
5221
|
-
"$ xano tenant backup
|
|
5126
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5127
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5128
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5222
5129
|
],
|
|
5223
5130
|
"flags": {
|
|
5224
5131
|
"profile": {
|
|
@@ -5241,17 +5148,25 @@
|
|
|
5241
5148
|
"type": "boolean"
|
|
5242
5149
|
},
|
|
5243
5150
|
"backup_id": {
|
|
5244
|
-
"description": "Backup ID to
|
|
5151
|
+
"description": "Backup ID to delete",
|
|
5245
5152
|
"name": "backup_id",
|
|
5246
5153
|
"required": true,
|
|
5247
5154
|
"hasDynamicHelp": false,
|
|
5248
5155
|
"multiple": false,
|
|
5249
5156
|
"type": "option"
|
|
5250
5157
|
},
|
|
5251
|
-
"
|
|
5158
|
+
"force": {
|
|
5159
|
+
"char": "f",
|
|
5160
|
+
"description": "Skip confirmation prompt",
|
|
5161
|
+
"name": "force",
|
|
5162
|
+
"required": false,
|
|
5163
|
+
"allowNo": false,
|
|
5164
|
+
"type": "boolean"
|
|
5165
|
+
},
|
|
5166
|
+
"output": {
|
|
5252
5167
|
"char": "o",
|
|
5253
5168
|
"description": "Output format",
|
|
5254
|
-
"name": "
|
|
5169
|
+
"name": "output",
|
|
5255
5170
|
"required": false,
|
|
5256
5171
|
"default": "summary",
|
|
5257
5172
|
"hasDynamicHelp": false,
|
|
@@ -5262,14 +5177,6 @@
|
|
|
5262
5177
|
],
|
|
5263
5178
|
"type": "option"
|
|
5264
5179
|
},
|
|
5265
|
-
"output": {
|
|
5266
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5267
|
-
"name": "output",
|
|
5268
|
-
"required": false,
|
|
5269
|
-
"hasDynamicHelp": false,
|
|
5270
|
-
"multiple": false,
|
|
5271
|
-
"type": "option"
|
|
5272
|
-
},
|
|
5273
5180
|
"workspace": {
|
|
5274
5181
|
"char": "w",
|
|
5275
5182
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5282,7 +5189,7 @@
|
|
|
5282
5189
|
},
|
|
5283
5190
|
"hasDynamicHelp": false,
|
|
5284
5191
|
"hiddenAliases": [],
|
|
5285
|
-
"id": "tenant:backup:
|
|
5192
|
+
"id": "tenant:backup:delete",
|
|
5286
5193
|
"pluginAlias": "@xano/cli",
|
|
5287
5194
|
"pluginName": "@xano/cli",
|
|
5288
5195
|
"pluginType": "core",
|
|
@@ -5294,23 +5201,24 @@
|
|
|
5294
5201
|
"commands",
|
|
5295
5202
|
"tenant",
|
|
5296
5203
|
"backup",
|
|
5297
|
-
"
|
|
5204
|
+
"delete",
|
|
5298
5205
|
"index.js"
|
|
5299
5206
|
]
|
|
5300
5207
|
},
|
|
5301
|
-
"tenant:backup:
|
|
5208
|
+
"tenant:backup:export": {
|
|
5302
5209
|
"aliases": [],
|
|
5303
5210
|
"args": {
|
|
5304
5211
|
"tenant_name": {
|
|
5305
|
-
"description": "Tenant name to
|
|
5212
|
+
"description": "Tenant name to export backup from",
|
|
5306
5213
|
"name": "tenant_name",
|
|
5307
5214
|
"required": true
|
|
5308
5215
|
}
|
|
5309
5216
|
},
|
|
5310
|
-
"description": "
|
|
5217
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5311
5218
|
"examples": [
|
|
5312
|
-
"$ xano tenant backup
|
|
5313
|
-
"$ xano tenant backup
|
|
5219
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5220
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5221
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5314
5222
|
],
|
|
5315
5223
|
"flags": {
|
|
5316
5224
|
"profile": {
|
|
@@ -5332,29 +5240,18 @@
|
|
|
5332
5240
|
"allowNo": false,
|
|
5333
5241
|
"type": "boolean"
|
|
5334
5242
|
},
|
|
5335
|
-
"
|
|
5336
|
-
"
|
|
5337
|
-
"
|
|
5338
|
-
"name": "description",
|
|
5339
|
-
"required": false,
|
|
5340
|
-
"default": "",
|
|
5341
|
-
"hasDynamicHelp": false,
|
|
5342
|
-
"multiple": false,
|
|
5343
|
-
"type": "option"
|
|
5344
|
-
},
|
|
5345
|
-
"file": {
|
|
5346
|
-
"char": "f",
|
|
5347
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5348
|
-
"name": "file",
|
|
5243
|
+
"backup_id": {
|
|
5244
|
+
"description": "Backup ID to export",
|
|
5245
|
+
"name": "backup_id",
|
|
5349
5246
|
"required": true,
|
|
5350
5247
|
"hasDynamicHelp": false,
|
|
5351
5248
|
"multiple": false,
|
|
5352
5249
|
"type": "option"
|
|
5353
5250
|
},
|
|
5354
|
-
"
|
|
5251
|
+
"format": {
|
|
5355
5252
|
"char": "o",
|
|
5356
5253
|
"description": "Output format",
|
|
5357
|
-
"name": "
|
|
5254
|
+
"name": "format",
|
|
5358
5255
|
"required": false,
|
|
5359
5256
|
"default": "summary",
|
|
5360
5257
|
"hasDynamicHelp": false,
|
|
@@ -5365,6 +5262,14 @@
|
|
|
5365
5262
|
],
|
|
5366
5263
|
"type": "option"
|
|
5367
5264
|
},
|
|
5265
|
+
"output": {
|
|
5266
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5267
|
+
"name": "output",
|
|
5268
|
+
"required": false,
|
|
5269
|
+
"hasDynamicHelp": false,
|
|
5270
|
+
"multiple": false,
|
|
5271
|
+
"type": "option"
|
|
5272
|
+
},
|
|
5368
5273
|
"workspace": {
|
|
5369
5274
|
"char": "w",
|
|
5370
5275
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5377,7 +5282,7 @@
|
|
|
5377
5282
|
},
|
|
5378
5283
|
"hasDynamicHelp": false,
|
|
5379
5284
|
"hiddenAliases": [],
|
|
5380
|
-
"id": "tenant:backup:
|
|
5285
|
+
"id": "tenant:backup:export",
|
|
5381
5286
|
"pluginAlias": "@xano/cli",
|
|
5382
5287
|
"pluginName": "@xano/cli",
|
|
5383
5288
|
"pluginType": "core",
|
|
@@ -5389,7 +5294,7 @@
|
|
|
5389
5294
|
"commands",
|
|
5390
5295
|
"tenant",
|
|
5391
5296
|
"backup",
|
|
5392
|
-
"
|
|
5297
|
+
"export",
|
|
5393
5298
|
"index.js"
|
|
5394
5299
|
]
|
|
5395
5300
|
},
|
|
@@ -5622,118 +5527,29 @@
|
|
|
5622
5527
|
},
|
|
5623
5528
|
"description": {
|
|
5624
5529
|
"char": "d",
|
|
5625
|
-
"description": "Cluster description",
|
|
5626
|
-
"name": "description",
|
|
5627
|
-
"required": false,
|
|
5628
|
-
"hasDynamicHelp": false,
|
|
5629
|
-
"multiple": false,
|
|
5630
|
-
"type": "option"
|
|
5631
|
-
},
|
|
5632
|
-
"domain": {
|
|
5633
|
-
"description": "Custom domain for the cluster",
|
|
5634
|
-
"name": "domain",
|
|
5635
|
-
"required": false,
|
|
5636
|
-
"hasDynamicHelp": false,
|
|
5637
|
-
"multiple": false,
|
|
5638
|
-
"type": "option"
|
|
5639
|
-
},
|
|
5640
|
-
"name": {
|
|
5641
|
-
"char": "n",
|
|
5642
|
-
"description": "Cluster name",
|
|
5643
|
-
"name": "name",
|
|
5644
|
-
"required": true,
|
|
5645
|
-
"hasDynamicHelp": false,
|
|
5646
|
-
"multiple": false,
|
|
5647
|
-
"type": "option"
|
|
5648
|
-
},
|
|
5649
|
-
"output": {
|
|
5650
|
-
"char": "o",
|
|
5651
|
-
"description": "Output format",
|
|
5652
|
-
"name": "output",
|
|
5653
|
-
"required": false,
|
|
5654
|
-
"default": "summary",
|
|
5655
|
-
"hasDynamicHelp": false,
|
|
5656
|
-
"multiple": false,
|
|
5657
|
-
"options": [
|
|
5658
|
-
"summary",
|
|
5659
|
-
"json"
|
|
5660
|
-
],
|
|
5661
|
-
"type": "option"
|
|
5662
|
-
},
|
|
5663
|
-
"type": {
|
|
5664
|
-
"description": "Cluster type",
|
|
5665
|
-
"name": "type",
|
|
5666
|
-
"required": false,
|
|
5667
|
-
"default": "standard",
|
|
5668
|
-
"hasDynamicHelp": false,
|
|
5669
|
-
"multiple": false,
|
|
5670
|
-
"options": [
|
|
5671
|
-
"standard",
|
|
5672
|
-
"run"
|
|
5673
|
-
],
|
|
5674
|
-
"type": "option"
|
|
5675
|
-
}
|
|
5676
|
-
},
|
|
5677
|
-
"hasDynamicHelp": false,
|
|
5678
|
-
"hiddenAliases": [],
|
|
5679
|
-
"id": "tenant:cluster:create",
|
|
5680
|
-
"pluginAlias": "@xano/cli",
|
|
5681
|
-
"pluginName": "@xano/cli",
|
|
5682
|
-
"pluginType": "core",
|
|
5683
|
-
"strict": true,
|
|
5684
|
-
"enableJsonFlag": false,
|
|
5685
|
-
"isESM": true,
|
|
5686
|
-
"relativePath": [
|
|
5687
|
-
"dist",
|
|
5688
|
-
"commands",
|
|
5689
|
-
"tenant",
|
|
5690
|
-
"cluster",
|
|
5691
|
-
"create",
|
|
5692
|
-
"index.js"
|
|
5693
|
-
]
|
|
5694
|
-
},
|
|
5695
|
-
"tenant:cluster:delete": {
|
|
5696
|
-
"aliases": [],
|
|
5697
|
-
"args": {
|
|
5698
|
-
"cluster_id": {
|
|
5699
|
-
"description": "Cluster ID to delete",
|
|
5700
|
-
"name": "cluster_id",
|
|
5701
|
-
"required": true
|
|
5702
|
-
}
|
|
5703
|
-
},
|
|
5704
|
-
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5705
|
-
"examples": [
|
|
5706
|
-
"$ 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",
|
|
5707
|
-
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5708
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
5709
|
-
],
|
|
5710
|
-
"flags": {
|
|
5711
|
-
"profile": {
|
|
5712
|
-
"char": "p",
|
|
5713
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5714
|
-
"env": "XANO_PROFILE",
|
|
5715
|
-
"name": "profile",
|
|
5530
|
+
"description": "Cluster description",
|
|
5531
|
+
"name": "description",
|
|
5716
5532
|
"required": false,
|
|
5717
5533
|
"hasDynamicHelp": false,
|
|
5718
5534
|
"multiple": false,
|
|
5719
5535
|
"type": "option"
|
|
5720
5536
|
},
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5723
|
-
"
|
|
5724
|
-
"env": "XANO_VERBOSE",
|
|
5725
|
-
"name": "verbose",
|
|
5537
|
+
"domain": {
|
|
5538
|
+
"description": "Custom domain for the cluster",
|
|
5539
|
+
"name": "domain",
|
|
5726
5540
|
"required": false,
|
|
5727
|
-
"
|
|
5728
|
-
"
|
|
5541
|
+
"hasDynamicHelp": false,
|
|
5542
|
+
"multiple": false,
|
|
5543
|
+
"type": "option"
|
|
5729
5544
|
},
|
|
5730
|
-
"
|
|
5731
|
-
"char": "
|
|
5732
|
-
"description": "
|
|
5733
|
-
"name": "
|
|
5734
|
-
"required":
|
|
5735
|
-
"
|
|
5736
|
-
"
|
|
5545
|
+
"name": {
|
|
5546
|
+
"char": "n",
|
|
5547
|
+
"description": "Cluster name",
|
|
5548
|
+
"name": "name",
|
|
5549
|
+
"required": true,
|
|
5550
|
+
"hasDynamicHelp": false,
|
|
5551
|
+
"multiple": false,
|
|
5552
|
+
"type": "option"
|
|
5737
5553
|
},
|
|
5738
5554
|
"output": {
|
|
5739
5555
|
"char": "o",
|
|
@@ -5748,11 +5564,24 @@
|
|
|
5748
5564
|
"json"
|
|
5749
5565
|
],
|
|
5750
5566
|
"type": "option"
|
|
5567
|
+
},
|
|
5568
|
+
"type": {
|
|
5569
|
+
"description": "Cluster type",
|
|
5570
|
+
"name": "type",
|
|
5571
|
+
"required": false,
|
|
5572
|
+
"default": "standard",
|
|
5573
|
+
"hasDynamicHelp": false,
|
|
5574
|
+
"multiple": false,
|
|
5575
|
+
"options": [
|
|
5576
|
+
"standard",
|
|
5577
|
+
"run"
|
|
5578
|
+
],
|
|
5579
|
+
"type": "option"
|
|
5751
5580
|
}
|
|
5752
5581
|
},
|
|
5753
5582
|
"hasDynamicHelp": false,
|
|
5754
5583
|
"hiddenAliases": [],
|
|
5755
|
-
"id": "tenant:cluster:
|
|
5584
|
+
"id": "tenant:cluster:create",
|
|
5756
5585
|
"pluginAlias": "@xano/cli",
|
|
5757
5586
|
"pluginName": "@xano/cli",
|
|
5758
5587
|
"pluginType": "core",
|
|
@@ -5764,7 +5593,7 @@
|
|
|
5764
5593
|
"commands",
|
|
5765
5594
|
"tenant",
|
|
5766
5595
|
"cluster",
|
|
5767
|
-
"
|
|
5596
|
+
"create",
|
|
5768
5597
|
"index.js"
|
|
5769
5598
|
]
|
|
5770
5599
|
},
|
|
@@ -5940,6 +5769,82 @@
|
|
|
5940
5769
|
"index.js"
|
|
5941
5770
|
]
|
|
5942
5771
|
},
|
|
5772
|
+
"tenant:cluster:delete": {
|
|
5773
|
+
"aliases": [],
|
|
5774
|
+
"args": {
|
|
5775
|
+
"cluster_id": {
|
|
5776
|
+
"description": "Cluster ID to delete",
|
|
5777
|
+
"name": "cluster_id",
|
|
5778
|
+
"required": true
|
|
5779
|
+
}
|
|
5780
|
+
},
|
|
5781
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5782
|
+
"examples": [
|
|
5783
|
+
"$ 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",
|
|
5784
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5785
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5786
|
+
],
|
|
5787
|
+
"flags": {
|
|
5788
|
+
"profile": {
|
|
5789
|
+
"char": "p",
|
|
5790
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5791
|
+
"env": "XANO_PROFILE",
|
|
5792
|
+
"name": "profile",
|
|
5793
|
+
"required": false,
|
|
5794
|
+
"hasDynamicHelp": false,
|
|
5795
|
+
"multiple": false,
|
|
5796
|
+
"type": "option"
|
|
5797
|
+
},
|
|
5798
|
+
"verbose": {
|
|
5799
|
+
"char": "v",
|
|
5800
|
+
"description": "Show detailed request/response information",
|
|
5801
|
+
"env": "XANO_VERBOSE",
|
|
5802
|
+
"name": "verbose",
|
|
5803
|
+
"required": false,
|
|
5804
|
+
"allowNo": false,
|
|
5805
|
+
"type": "boolean"
|
|
5806
|
+
},
|
|
5807
|
+
"force": {
|
|
5808
|
+
"char": "f",
|
|
5809
|
+
"description": "Skip confirmation prompt",
|
|
5810
|
+
"name": "force",
|
|
5811
|
+
"required": false,
|
|
5812
|
+
"allowNo": false,
|
|
5813
|
+
"type": "boolean"
|
|
5814
|
+
},
|
|
5815
|
+
"output": {
|
|
5816
|
+
"char": "o",
|
|
5817
|
+
"description": "Output format",
|
|
5818
|
+
"name": "output",
|
|
5819
|
+
"required": false,
|
|
5820
|
+
"default": "summary",
|
|
5821
|
+
"hasDynamicHelp": false,
|
|
5822
|
+
"multiple": false,
|
|
5823
|
+
"options": [
|
|
5824
|
+
"summary",
|
|
5825
|
+
"json"
|
|
5826
|
+
],
|
|
5827
|
+
"type": "option"
|
|
5828
|
+
}
|
|
5829
|
+
},
|
|
5830
|
+
"hasDynamicHelp": false,
|
|
5831
|
+
"hiddenAliases": [],
|
|
5832
|
+
"id": "tenant:cluster:delete",
|
|
5833
|
+
"pluginAlias": "@xano/cli",
|
|
5834
|
+
"pluginName": "@xano/cli",
|
|
5835
|
+
"pluginType": "core",
|
|
5836
|
+
"strict": true,
|
|
5837
|
+
"enableJsonFlag": false,
|
|
5838
|
+
"isESM": true,
|
|
5839
|
+
"relativePath": [
|
|
5840
|
+
"dist",
|
|
5841
|
+
"commands",
|
|
5842
|
+
"tenant",
|
|
5843
|
+
"cluster",
|
|
5844
|
+
"delete",
|
|
5845
|
+
"index.js"
|
|
5846
|
+
]
|
|
5847
|
+
},
|
|
5943
5848
|
"tenant:cluster:list": {
|
|
5944
5849
|
"aliases": [],
|
|
5945
5850
|
"args": {},
|
|
@@ -6001,7 +5906,7 @@
|
|
|
6001
5906
|
"index.js"
|
|
6002
5907
|
]
|
|
6003
5908
|
},
|
|
6004
|
-
"tenant:env:
|
|
5909
|
+
"tenant:env:delete": {
|
|
6005
5910
|
"aliases": [],
|
|
6006
5911
|
"args": {
|
|
6007
5912
|
"tenant_name": {
|
|
@@ -6010,10 +5915,11 @@
|
|
|
6010
5915
|
"required": true
|
|
6011
5916
|
}
|
|
6012
5917
|
},
|
|
6013
|
-
"description": "
|
|
5918
|
+
"description": "Delete an environment variable from a tenant",
|
|
6014
5919
|
"examples": [
|
|
6015
|
-
"$ xano tenant env
|
|
6016
|
-
"$ xano tenant env
|
|
5920
|
+
"$ 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",
|
|
5921
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
5922
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6017
5923
|
],
|
|
6018
5924
|
"flags": {
|
|
6019
5925
|
"profile": {
|
|
@@ -6035,6 +5941,14 @@
|
|
|
6035
5941
|
"allowNo": false,
|
|
6036
5942
|
"type": "boolean"
|
|
6037
5943
|
},
|
|
5944
|
+
"force": {
|
|
5945
|
+
"char": "f",
|
|
5946
|
+
"description": "Skip confirmation prompt",
|
|
5947
|
+
"name": "force",
|
|
5948
|
+
"required": false,
|
|
5949
|
+
"allowNo": false,
|
|
5950
|
+
"type": "boolean"
|
|
5951
|
+
},
|
|
6038
5952
|
"name": {
|
|
6039
5953
|
"char": "n",
|
|
6040
5954
|
"description": "Environment variable name",
|
|
@@ -6070,7 +5984,7 @@
|
|
|
6070
5984
|
},
|
|
6071
5985
|
"hasDynamicHelp": false,
|
|
6072
5986
|
"hiddenAliases": [],
|
|
6073
|
-
"id": "tenant:env:
|
|
5987
|
+
"id": "tenant:env:delete",
|
|
6074
5988
|
"pluginAlias": "@xano/cli",
|
|
6075
5989
|
"pluginName": "@xano/cli",
|
|
6076
5990
|
"pluginType": "core",
|
|
@@ -6082,11 +5996,11 @@
|
|
|
6082
5996
|
"commands",
|
|
6083
5997
|
"tenant",
|
|
6084
5998
|
"env",
|
|
6085
|
-
"
|
|
5999
|
+
"delete",
|
|
6086
6000
|
"index.js"
|
|
6087
6001
|
]
|
|
6088
6002
|
},
|
|
6089
|
-
"tenant:env:
|
|
6003
|
+
"tenant:env:get": {
|
|
6090
6004
|
"aliases": [],
|
|
6091
6005
|
"args": {
|
|
6092
6006
|
"tenant_name": {
|
|
@@ -6095,12 +6009,10 @@
|
|
|
6095
6009
|
"required": true
|
|
6096
6010
|
}
|
|
6097
6011
|
},
|
|
6098
|
-
"description": "Get
|
|
6012
|
+
"description": "Get a single environment variable for a tenant",
|
|
6099
6013
|
"examples": [
|
|
6100
|
-
"$ xano tenant env
|
|
6101
|
-
"$ xano tenant env
|
|
6102
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6103
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6014
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6015
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6104
6016
|
],
|
|
6105
6017
|
"flags": {
|
|
6106
6018
|
"profile": {
|
|
@@ -6122,11 +6034,11 @@
|
|
|
6122
6034
|
"allowNo": false,
|
|
6123
6035
|
"type": "boolean"
|
|
6124
6036
|
},
|
|
6125
|
-
"
|
|
6126
|
-
"char": "
|
|
6127
|
-
"description": "
|
|
6128
|
-
"name": "
|
|
6129
|
-
"required":
|
|
6037
|
+
"name": {
|
|
6038
|
+
"char": "n",
|
|
6039
|
+
"description": "Environment variable name",
|
|
6040
|
+
"name": "name",
|
|
6041
|
+
"required": true,
|
|
6130
6042
|
"hasDynamicHelp": false,
|
|
6131
6043
|
"multiple": false,
|
|
6132
6044
|
"type": "option"
|
|
@@ -6145,13 +6057,6 @@
|
|
|
6145
6057
|
],
|
|
6146
6058
|
"type": "option"
|
|
6147
6059
|
},
|
|
6148
|
-
"view": {
|
|
6149
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
6150
|
-
"name": "view",
|
|
6151
|
-
"required": false,
|
|
6152
|
-
"allowNo": false,
|
|
6153
|
-
"type": "boolean"
|
|
6154
|
-
},
|
|
6155
6060
|
"workspace": {
|
|
6156
6061
|
"char": "w",
|
|
6157
6062
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6164,7 +6069,7 @@
|
|
|
6164
6069
|
},
|
|
6165
6070
|
"hasDynamicHelp": false,
|
|
6166
6071
|
"hiddenAliases": [],
|
|
6167
|
-
"id": "tenant:env:
|
|
6072
|
+
"id": "tenant:env:get",
|
|
6168
6073
|
"pluginAlias": "@xano/cli",
|
|
6169
6074
|
"pluginName": "@xano/cli",
|
|
6170
6075
|
"pluginType": "core",
|
|
@@ -6176,23 +6081,23 @@
|
|
|
6176
6081
|
"commands",
|
|
6177
6082
|
"tenant",
|
|
6178
6083
|
"env",
|
|
6179
|
-
"
|
|
6084
|
+
"get",
|
|
6180
6085
|
"index.js"
|
|
6181
6086
|
]
|
|
6182
6087
|
},
|
|
6183
|
-
"tenant:
|
|
6088
|
+
"tenant:backup:import": {
|
|
6184
6089
|
"aliases": [],
|
|
6185
6090
|
"args": {
|
|
6186
6091
|
"tenant_name": {
|
|
6187
|
-
"description": "Tenant name",
|
|
6092
|
+
"description": "Tenant name to import backup into",
|
|
6188
6093
|
"name": "tenant_name",
|
|
6189
6094
|
"required": true
|
|
6190
6095
|
}
|
|
6191
6096
|
},
|
|
6192
|
-
"description": "
|
|
6097
|
+
"description": "Import a backup file into a tenant",
|
|
6193
6098
|
"examples": [
|
|
6194
|
-
"$ xano tenant
|
|
6195
|
-
"$ xano tenant
|
|
6099
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
6100
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
6196
6101
|
],
|
|
6197
6102
|
"flags": {
|
|
6198
6103
|
"profile": {
|
|
@@ -6214,6 +6119,25 @@
|
|
|
6214
6119
|
"allowNo": false,
|
|
6215
6120
|
"type": "boolean"
|
|
6216
6121
|
},
|
|
6122
|
+
"description": {
|
|
6123
|
+
"char": "d",
|
|
6124
|
+
"description": "Backup description",
|
|
6125
|
+
"name": "description",
|
|
6126
|
+
"required": false,
|
|
6127
|
+
"default": "",
|
|
6128
|
+
"hasDynamicHelp": false,
|
|
6129
|
+
"multiple": false,
|
|
6130
|
+
"type": "option"
|
|
6131
|
+
},
|
|
6132
|
+
"file": {
|
|
6133
|
+
"char": "f",
|
|
6134
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
6135
|
+
"name": "file",
|
|
6136
|
+
"required": true,
|
|
6137
|
+
"hasDynamicHelp": false,
|
|
6138
|
+
"multiple": false,
|
|
6139
|
+
"type": "option"
|
|
6140
|
+
},
|
|
6217
6141
|
"output": {
|
|
6218
6142
|
"char": "o",
|
|
6219
6143
|
"description": "Output format",
|
|
@@ -6240,7 +6164,7 @@
|
|
|
6240
6164
|
},
|
|
6241
6165
|
"hasDynamicHelp": false,
|
|
6242
6166
|
"hiddenAliases": [],
|
|
6243
|
-
"id": "tenant:
|
|
6167
|
+
"id": "tenant:backup:import",
|
|
6244
6168
|
"pluginAlias": "@xano/cli",
|
|
6245
6169
|
"pluginName": "@xano/cli",
|
|
6246
6170
|
"pluginType": "core",
|
|
@@ -6251,12 +6175,12 @@
|
|
|
6251
6175
|
"dist",
|
|
6252
6176
|
"commands",
|
|
6253
6177
|
"tenant",
|
|
6254
|
-
"
|
|
6255
|
-
"
|
|
6178
|
+
"backup",
|
|
6179
|
+
"import",
|
|
6256
6180
|
"index.js"
|
|
6257
6181
|
]
|
|
6258
6182
|
},
|
|
6259
|
-
"tenant:env:
|
|
6183
|
+
"tenant:env:list": {
|
|
6260
6184
|
"aliases": [],
|
|
6261
6185
|
"args": {
|
|
6262
6186
|
"tenant_name": {
|
|
@@ -6265,11 +6189,10 @@
|
|
|
6265
6189
|
"required": true
|
|
6266
6190
|
}
|
|
6267
6191
|
},
|
|
6268
|
-
"description": "
|
|
6192
|
+
"description": "List environment variable keys for a tenant",
|
|
6269
6193
|
"examples": [
|
|
6270
|
-
"$ xano tenant env
|
|
6271
|
-
"$ xano tenant env
|
|
6272
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6194
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6195
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6273
6196
|
],
|
|
6274
6197
|
"flags": {
|
|
6275
6198
|
"profile": {
|
|
@@ -6291,23 +6214,6 @@
|
|
|
6291
6214
|
"allowNo": false,
|
|
6292
6215
|
"type": "boolean"
|
|
6293
6216
|
},
|
|
6294
|
-
"force": {
|
|
6295
|
-
"char": "f",
|
|
6296
|
-
"description": "Skip confirmation prompt",
|
|
6297
|
-
"name": "force",
|
|
6298
|
-
"required": false,
|
|
6299
|
-
"allowNo": false,
|
|
6300
|
-
"type": "boolean"
|
|
6301
|
-
},
|
|
6302
|
-
"name": {
|
|
6303
|
-
"char": "n",
|
|
6304
|
-
"description": "Environment variable name",
|
|
6305
|
-
"name": "name",
|
|
6306
|
-
"required": true,
|
|
6307
|
-
"hasDynamicHelp": false,
|
|
6308
|
-
"multiple": false,
|
|
6309
|
-
"type": "option"
|
|
6310
|
-
},
|
|
6311
6217
|
"output": {
|
|
6312
6218
|
"char": "o",
|
|
6313
6219
|
"description": "Output format",
|
|
@@ -6334,7 +6240,7 @@
|
|
|
6334
6240
|
},
|
|
6335
6241
|
"hasDynamicHelp": false,
|
|
6336
6242
|
"hiddenAliases": [],
|
|
6337
|
-
"id": "tenant:env:
|
|
6243
|
+
"id": "tenant:env:list",
|
|
6338
6244
|
"pluginAlias": "@xano/cli",
|
|
6339
6245
|
"pluginName": "@xano/cli",
|
|
6340
6246
|
"pluginType": "core",
|
|
@@ -6346,11 +6252,11 @@
|
|
|
6346
6252
|
"commands",
|
|
6347
6253
|
"tenant",
|
|
6348
6254
|
"env",
|
|
6349
|
-
"
|
|
6255
|
+
"list",
|
|
6350
6256
|
"index.js"
|
|
6351
6257
|
]
|
|
6352
6258
|
},
|
|
6353
|
-
"tenant:env:
|
|
6259
|
+
"tenant:env:set": {
|
|
6354
6260
|
"aliases": [],
|
|
6355
6261
|
"args": {
|
|
6356
6262
|
"tenant_name": {
|
|
@@ -6359,11 +6265,10 @@
|
|
|
6359
6265
|
"required": true
|
|
6360
6266
|
}
|
|
6361
6267
|
},
|
|
6362
|
-
"description": "Set
|
|
6268
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6363
6269
|
"examples": [
|
|
6364
|
-
"$ xano tenant env
|
|
6365
|
-
"$ xano tenant env
|
|
6366
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6270
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6271
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6367
6272
|
],
|
|
6368
6273
|
"flags": {
|
|
6369
6274
|
"profile": {
|
|
@@ -6385,18 +6290,11 @@
|
|
|
6385
6290
|
"allowNo": false,
|
|
6386
6291
|
"type": "boolean"
|
|
6387
6292
|
},
|
|
6388
|
-
"
|
|
6389
|
-
"
|
|
6390
|
-
"
|
|
6391
|
-
"
|
|
6392
|
-
"
|
|
6393
|
-
"type": "boolean"
|
|
6394
|
-
},
|
|
6395
|
-
"file": {
|
|
6396
|
-
"char": "f",
|
|
6397
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6398
|
-
"name": "file",
|
|
6399
|
-
"required": false,
|
|
6293
|
+
"name": {
|
|
6294
|
+
"char": "n",
|
|
6295
|
+
"description": "Environment variable name",
|
|
6296
|
+
"name": "name",
|
|
6297
|
+
"required": true,
|
|
6400
6298
|
"hasDynamicHelp": false,
|
|
6401
6299
|
"multiple": false,
|
|
6402
6300
|
"type": "option"
|
|
@@ -6415,6 +6313,14 @@
|
|
|
6415
6313
|
],
|
|
6416
6314
|
"type": "option"
|
|
6417
6315
|
},
|
|
6316
|
+
"value": {
|
|
6317
|
+
"description": "Environment variable value",
|
|
6318
|
+
"name": "value",
|
|
6319
|
+
"required": true,
|
|
6320
|
+
"hasDynamicHelp": false,
|
|
6321
|
+
"multiple": false,
|
|
6322
|
+
"type": "option"
|
|
6323
|
+
},
|
|
6418
6324
|
"workspace": {
|
|
6419
6325
|
"char": "w",
|
|
6420
6326
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6427,7 +6333,7 @@
|
|
|
6427
6333
|
},
|
|
6428
6334
|
"hasDynamicHelp": false,
|
|
6429
6335
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:env:
|
|
6336
|
+
"id": "tenant:env:set",
|
|
6431
6337
|
"pluginAlias": "@xano/cli",
|
|
6432
6338
|
"pluginName": "@xano/cli",
|
|
6433
6339
|
"pluginType": "core",
|
|
@@ -6439,11 +6345,11 @@
|
|
|
6439
6345
|
"commands",
|
|
6440
6346
|
"tenant",
|
|
6441
6347
|
"env",
|
|
6442
|
-
"
|
|
6348
|
+
"set",
|
|
6443
6349
|
"index.js"
|
|
6444
6350
|
]
|
|
6445
6351
|
},
|
|
6446
|
-
"tenant:
|
|
6352
|
+
"tenant:env:set_all": {
|
|
6447
6353
|
"aliases": [],
|
|
6448
6354
|
"args": {
|
|
6449
6355
|
"tenant_name": {
|
|
@@ -6452,12 +6358,11 @@
|
|
|
6452
6358
|
"required": true
|
|
6453
6359
|
}
|
|
6454
6360
|
},
|
|
6455
|
-
"description": "
|
|
6361
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6456
6362
|
"examples": [
|
|
6457
|
-
"$ xano tenant
|
|
6458
|
-
"$ xano tenant
|
|
6459
|
-
"$ xano tenant
|
|
6460
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6363
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6364
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6365
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6461
6366
|
],
|
|
6462
6367
|
"flags": {
|
|
6463
6368
|
"profile": {
|
|
@@ -6479,9 +6384,16 @@
|
|
|
6479
6384
|
"allowNo": false,
|
|
6480
6385
|
"type": "boolean"
|
|
6481
6386
|
},
|
|
6387
|
+
"clean": {
|
|
6388
|
+
"description": "Remove the source file after successful upload",
|
|
6389
|
+
"name": "clean",
|
|
6390
|
+
"required": false,
|
|
6391
|
+
"allowNo": false,
|
|
6392
|
+
"type": "boolean"
|
|
6393
|
+
},
|
|
6482
6394
|
"file": {
|
|
6483
6395
|
"char": "f",
|
|
6484
|
-
"description": "
|
|
6396
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6485
6397
|
"name": "file",
|
|
6486
6398
|
"required": false,
|
|
6487
6399
|
"hasDynamicHelp": false,
|
|
@@ -6502,13 +6414,6 @@
|
|
|
6502
6414
|
],
|
|
6503
6415
|
"type": "option"
|
|
6504
6416
|
},
|
|
6505
|
-
"view": {
|
|
6506
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6507
|
-
"name": "view",
|
|
6508
|
-
"required": false,
|
|
6509
|
-
"allowNo": false,
|
|
6510
|
-
"type": "boolean"
|
|
6511
|
-
},
|
|
6512
6417
|
"workspace": {
|
|
6513
6418
|
"char": "w",
|
|
6514
6419
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6521,7 +6426,7 @@
|
|
|
6521
6426
|
},
|
|
6522
6427
|
"hasDynamicHelp": false,
|
|
6523
6428
|
"hiddenAliases": [],
|
|
6524
|
-
"id": "tenant:
|
|
6429
|
+
"id": "tenant:env:set_all",
|
|
6525
6430
|
"pluginAlias": "@xano/cli",
|
|
6526
6431
|
"pluginName": "@xano/cli",
|
|
6527
6432
|
"pluginType": "core",
|
|
@@ -6532,12 +6437,12 @@
|
|
|
6532
6437
|
"dist",
|
|
6533
6438
|
"commands",
|
|
6534
6439
|
"tenant",
|
|
6535
|
-
"
|
|
6536
|
-
"
|
|
6440
|
+
"env",
|
|
6441
|
+
"set_all",
|
|
6537
6442
|
"index.js"
|
|
6538
6443
|
]
|
|
6539
6444
|
},
|
|
6540
|
-
"tenant:
|
|
6445
|
+
"tenant:license:get": {
|
|
6541
6446
|
"aliases": [],
|
|
6542
6447
|
"args": {
|
|
6543
6448
|
"tenant_name": {
|
|
@@ -6546,10 +6451,12 @@
|
|
|
6546
6451
|
"required": true
|
|
6547
6452
|
}
|
|
6548
6453
|
},
|
|
6549
|
-
"description": "
|
|
6454
|
+
"description": "Get the license for a tenant",
|
|
6550
6455
|
"examples": [
|
|
6551
|
-
"$ xano tenant
|
|
6552
|
-
"$ xano tenant
|
|
6456
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6457
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6458
|
+
"$ xano tenant license get my-tenant --view",
|
|
6459
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6553
6460
|
],
|
|
6554
6461
|
"flags": {
|
|
6555
6462
|
"profile": {
|
|
@@ -6571,11 +6478,11 @@
|
|
|
6571
6478
|
"allowNo": false,
|
|
6572
6479
|
"type": "boolean"
|
|
6573
6480
|
},
|
|
6574
|
-
"
|
|
6575
|
-
"char": "
|
|
6576
|
-
"description": "
|
|
6577
|
-
"name": "
|
|
6578
|
-
"required":
|
|
6481
|
+
"file": {
|
|
6482
|
+
"char": "f",
|
|
6483
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6484
|
+
"name": "file",
|
|
6485
|
+
"required": false,
|
|
6579
6486
|
"hasDynamicHelp": false,
|
|
6580
6487
|
"multiple": false,
|
|
6581
6488
|
"type": "option"
|
|
@@ -6594,13 +6501,12 @@
|
|
|
6594
6501
|
],
|
|
6595
6502
|
"type": "option"
|
|
6596
6503
|
},
|
|
6597
|
-
"
|
|
6598
|
-
"description": "
|
|
6599
|
-
"name": "
|
|
6600
|
-
"required":
|
|
6601
|
-
"
|
|
6602
|
-
"
|
|
6603
|
-
"type": "option"
|
|
6504
|
+
"view": {
|
|
6505
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6506
|
+
"name": "view",
|
|
6507
|
+
"required": false,
|
|
6508
|
+
"allowNo": false,
|
|
6509
|
+
"type": "boolean"
|
|
6604
6510
|
},
|
|
6605
6511
|
"workspace": {
|
|
6606
6512
|
"char": "w",
|
|
@@ -6614,7 +6520,7 @@
|
|
|
6614
6520
|
},
|
|
6615
6521
|
"hasDynamicHelp": false,
|
|
6616
6522
|
"hiddenAliases": [],
|
|
6617
|
-
"id": "tenant:
|
|
6523
|
+
"id": "tenant:license:get",
|
|
6618
6524
|
"pluginAlias": "@xano/cli",
|
|
6619
6525
|
"pluginName": "@xano/cli",
|
|
6620
6526
|
"pluginType": "core",
|
|
@@ -6625,8 +6531,8 @@
|
|
|
6625
6531
|
"dist",
|
|
6626
6532
|
"commands",
|
|
6627
6533
|
"tenant",
|
|
6628
|
-
"
|
|
6629
|
-
"
|
|
6534
|
+
"license",
|
|
6535
|
+
"get",
|
|
6630
6536
|
"index.js"
|
|
6631
6537
|
]
|
|
6632
6538
|
},
|
|
@@ -6836,21 +6742,21 @@
|
|
|
6836
6742
|
"index.js"
|
|
6837
6743
|
]
|
|
6838
6744
|
},
|
|
6839
|
-
"tenant:
|
|
6745
|
+
"tenant:env:get_all": {
|
|
6840
6746
|
"aliases": [],
|
|
6841
6747
|
"args": {
|
|
6842
|
-
"
|
|
6843
|
-
"description": "Tenant
|
|
6844
|
-
"name": "
|
|
6748
|
+
"tenant_name": {
|
|
6749
|
+
"description": "Tenant name",
|
|
6750
|
+
"name": "tenant_name",
|
|
6845
6751
|
"required": true
|
|
6846
6752
|
}
|
|
6847
6753
|
},
|
|
6848
|
-
"description": "
|
|
6754
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6849
6755
|
"examples": [
|
|
6850
|
-
"$ xano tenant
|
|
6851
|
-
"$ xano tenant
|
|
6852
|
-
"$ xano tenant
|
|
6853
|
-
"$ xano tenant
|
|
6756
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6757
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6758
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6759
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6854
6760
|
],
|
|
6855
6761
|
"flags": {
|
|
6856
6762
|
"profile": {
|
|
@@ -6872,22 +6778,9 @@
|
|
|
6872
6778
|
"allowNo": false,
|
|
6873
6779
|
"type": "boolean"
|
|
6874
6780
|
},
|
|
6875
|
-
"clean": {
|
|
6876
|
-
"description": "Remove the source file after successful upload",
|
|
6877
|
-
"exclusive": [
|
|
6878
|
-
"value"
|
|
6879
|
-
],
|
|
6880
|
-
"name": "clean",
|
|
6881
|
-
"required": false,
|
|
6882
|
-
"allowNo": false,
|
|
6883
|
-
"type": "boolean"
|
|
6884
|
-
},
|
|
6885
6781
|
"file": {
|
|
6886
6782
|
"char": "f",
|
|
6887
|
-
"description": "
|
|
6888
|
-
"exclusive": [
|
|
6889
|
-
"value"
|
|
6890
|
-
],
|
|
6783
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6891
6784
|
"name": "file",
|
|
6892
6785
|
"required": false,
|
|
6893
6786
|
"hasDynamicHelp": false,
|
|
@@ -6908,13 +6801,17 @@
|
|
|
6908
6801
|
],
|
|
6909
6802
|
"type": "option"
|
|
6910
6803
|
},
|
|
6911
|
-
"
|
|
6912
|
-
"description": "
|
|
6913
|
-
"
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6804
|
+
"view": {
|
|
6805
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6806
|
+
"name": "view",
|
|
6807
|
+
"required": false,
|
|
6808
|
+
"allowNo": false,
|
|
6809
|
+
"type": "boolean"
|
|
6810
|
+
},
|
|
6811
|
+
"workspace": {
|
|
6812
|
+
"char": "w",
|
|
6813
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6814
|
+
"name": "workspace",
|
|
6918
6815
|
"required": false,
|
|
6919
6816
|
"hasDynamicHelp": false,
|
|
6920
6817
|
"multiple": false,
|
|
@@ -6923,7 +6820,7 @@
|
|
|
6923
6820
|
},
|
|
6924
6821
|
"hasDynamicHelp": false,
|
|
6925
6822
|
"hiddenAliases": [],
|
|
6926
|
-
"id": "tenant:
|
|
6823
|
+
"id": "tenant:env:get_all",
|
|
6927
6824
|
"pluginAlias": "@xano/cli",
|
|
6928
6825
|
"pluginName": "@xano/cli",
|
|
6929
6826
|
"pluginType": "core",
|
|
@@ -6934,9 +6831,8 @@
|
|
|
6934
6831
|
"dist",
|
|
6935
6832
|
"commands",
|
|
6936
6833
|
"tenant",
|
|
6937
|
-
"
|
|
6938
|
-
"
|
|
6939
|
-
"set",
|
|
6834
|
+
"env",
|
|
6835
|
+
"get_all",
|
|
6940
6836
|
"index.js"
|
|
6941
6837
|
]
|
|
6942
6838
|
},
|
|
@@ -7025,7 +6921,111 @@
|
|
|
7025
6921
|
"get",
|
|
7026
6922
|
"index.js"
|
|
7027
6923
|
]
|
|
6924
|
+
},
|
|
6925
|
+
"tenant:cluster:license:set": {
|
|
6926
|
+
"aliases": [],
|
|
6927
|
+
"args": {
|
|
6928
|
+
"cluster_id": {
|
|
6929
|
+
"description": "Tenant cluster ID",
|
|
6930
|
+
"name": "cluster_id",
|
|
6931
|
+
"required": true
|
|
6932
|
+
}
|
|
6933
|
+
},
|
|
6934
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
6935
|
+
"examples": [
|
|
6936
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
6937
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
6938
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
6939
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
6940
|
+
],
|
|
6941
|
+
"flags": {
|
|
6942
|
+
"profile": {
|
|
6943
|
+
"char": "p",
|
|
6944
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
6945
|
+
"env": "XANO_PROFILE",
|
|
6946
|
+
"name": "profile",
|
|
6947
|
+
"required": false,
|
|
6948
|
+
"hasDynamicHelp": false,
|
|
6949
|
+
"multiple": false,
|
|
6950
|
+
"type": "option"
|
|
6951
|
+
},
|
|
6952
|
+
"verbose": {
|
|
6953
|
+
"char": "v",
|
|
6954
|
+
"description": "Show detailed request/response information",
|
|
6955
|
+
"env": "XANO_VERBOSE",
|
|
6956
|
+
"name": "verbose",
|
|
6957
|
+
"required": false,
|
|
6958
|
+
"allowNo": false,
|
|
6959
|
+
"type": "boolean"
|
|
6960
|
+
},
|
|
6961
|
+
"clean": {
|
|
6962
|
+
"description": "Remove the source file after successful upload",
|
|
6963
|
+
"exclusive": [
|
|
6964
|
+
"value"
|
|
6965
|
+
],
|
|
6966
|
+
"name": "clean",
|
|
6967
|
+
"required": false,
|
|
6968
|
+
"allowNo": false,
|
|
6969
|
+
"type": "boolean"
|
|
6970
|
+
},
|
|
6971
|
+
"file": {
|
|
6972
|
+
"char": "f",
|
|
6973
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
6974
|
+
"exclusive": [
|
|
6975
|
+
"value"
|
|
6976
|
+
],
|
|
6977
|
+
"name": "file",
|
|
6978
|
+
"required": false,
|
|
6979
|
+
"hasDynamicHelp": false,
|
|
6980
|
+
"multiple": false,
|
|
6981
|
+
"type": "option"
|
|
6982
|
+
},
|
|
6983
|
+
"output": {
|
|
6984
|
+
"char": "o",
|
|
6985
|
+
"description": "Output format",
|
|
6986
|
+
"name": "output",
|
|
6987
|
+
"required": false,
|
|
6988
|
+
"default": "summary",
|
|
6989
|
+
"hasDynamicHelp": false,
|
|
6990
|
+
"multiple": false,
|
|
6991
|
+
"options": [
|
|
6992
|
+
"summary",
|
|
6993
|
+
"json"
|
|
6994
|
+
],
|
|
6995
|
+
"type": "option"
|
|
6996
|
+
},
|
|
6997
|
+
"value": {
|
|
6998
|
+
"description": "Inline kubeconfig YAML value",
|
|
6999
|
+
"exclusive": [
|
|
7000
|
+
"file",
|
|
7001
|
+
"clean"
|
|
7002
|
+
],
|
|
7003
|
+
"name": "value",
|
|
7004
|
+
"required": false,
|
|
7005
|
+
"hasDynamicHelp": false,
|
|
7006
|
+
"multiple": false,
|
|
7007
|
+
"type": "option"
|
|
7008
|
+
}
|
|
7009
|
+
},
|
|
7010
|
+
"hasDynamicHelp": false,
|
|
7011
|
+
"hiddenAliases": [],
|
|
7012
|
+
"id": "tenant:cluster:license:set",
|
|
7013
|
+
"pluginAlias": "@xano/cli",
|
|
7014
|
+
"pluginName": "@xano/cli",
|
|
7015
|
+
"pluginType": "core",
|
|
7016
|
+
"strict": true,
|
|
7017
|
+
"enableJsonFlag": false,
|
|
7018
|
+
"isESM": true,
|
|
7019
|
+
"relativePath": [
|
|
7020
|
+
"dist",
|
|
7021
|
+
"commands",
|
|
7022
|
+
"tenant",
|
|
7023
|
+
"cluster",
|
|
7024
|
+
"license",
|
|
7025
|
+
"set",
|
|
7026
|
+
"index.js"
|
|
7027
|
+
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.59"
|
|
7031
7031
|
}
|