@xano/cli 0.0.68 → 0.0.69-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base-command.d.ts +3 -0
- package/dist/base-command.js +22 -0
- package/dist/commands/workspace/push/index.d.ts +3 -0
- package/dist/commands/workspace/push/index.js +242 -13
- package/dist/update-check.d.ts +7 -0
- package/dist/update-check.js +71 -0
- package/oclif.manifest.json +1493 -1487
- package/package.json +2 -1
package/oclif.manifest.json
CHANGED
|
@@ -463,20 +463,20 @@
|
|
|
463
463
|
"index.js"
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
|
-
"branch:
|
|
466
|
+
"branch:set_live": {
|
|
467
467
|
"aliases": [],
|
|
468
468
|
"args": {
|
|
469
|
-
"
|
|
470
|
-
"description": "
|
|
471
|
-
"name": "
|
|
472
|
-
"required":
|
|
469
|
+
"branch_label": {
|
|
470
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
471
|
+
"name": "branch_label",
|
|
472
|
+
"required": true
|
|
473
473
|
}
|
|
474
474
|
},
|
|
475
|
-
"description": "
|
|
475
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
476
476
|
"examples": [
|
|
477
|
-
"$ xano branch
|
|
478
|
-
"$ xano branch
|
|
479
|
-
"$ xano branch
|
|
477
|
+
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
478
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
479
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
480
480
|
],
|
|
481
481
|
"flags": {
|
|
482
482
|
"profile": {
|
|
@@ -498,6 +498,14 @@
|
|
|
498
498
|
"allowNo": false,
|
|
499
499
|
"type": "boolean"
|
|
500
500
|
},
|
|
501
|
+
"force": {
|
|
502
|
+
"char": "f",
|
|
503
|
+
"description": "Skip confirmation prompt",
|
|
504
|
+
"name": "force",
|
|
505
|
+
"required": false,
|
|
506
|
+
"allowNo": false,
|
|
507
|
+
"type": "boolean"
|
|
508
|
+
},
|
|
501
509
|
"output": {
|
|
502
510
|
"char": "o",
|
|
503
511
|
"description": "Output format",
|
|
@@ -511,11 +519,20 @@
|
|
|
511
519
|
"json"
|
|
512
520
|
],
|
|
513
521
|
"type": "option"
|
|
522
|
+
},
|
|
523
|
+
"workspace": {
|
|
524
|
+
"char": "w",
|
|
525
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
526
|
+
"name": "workspace",
|
|
527
|
+
"required": false,
|
|
528
|
+
"hasDynamicHelp": false,
|
|
529
|
+
"multiple": false,
|
|
530
|
+
"type": "option"
|
|
514
531
|
}
|
|
515
532
|
},
|
|
516
533
|
"hasDynamicHelp": false,
|
|
517
534
|
"hiddenAliases": [],
|
|
518
|
-
"id": "branch:
|
|
535
|
+
"id": "branch:set_live",
|
|
519
536
|
"pluginAlias": "@xano/cli",
|
|
520
537
|
"pluginName": "@xano/cli",
|
|
521
538
|
"pluginType": "core",
|
|
@@ -526,23 +543,20 @@
|
|
|
526
543
|
"dist",
|
|
527
544
|
"commands",
|
|
528
545
|
"branch",
|
|
529
|
-
"
|
|
546
|
+
"set_live",
|
|
530
547
|
"index.js"
|
|
531
548
|
]
|
|
532
549
|
},
|
|
533
|
-
"
|
|
550
|
+
"function:create": {
|
|
534
551
|
"aliases": [],
|
|
535
|
-
"args": {
|
|
536
|
-
|
|
537
|
-
"description": "Platform ID to retrieve",
|
|
538
|
-
"name": "platform_id",
|
|
539
|
-
"required": true
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
"description": "Get details of a specific platform",
|
|
552
|
+
"args": {},
|
|
553
|
+
"description": "Create a new function in a workspace",
|
|
543
554
|
"examples": [
|
|
544
|
-
"$ xano
|
|
545
|
-
"$ xano
|
|
555
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
556
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
557
|
+
"$ 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",
|
|
558
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
559
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
546
560
|
],
|
|
547
561
|
"flags": {
|
|
548
562
|
"profile": {
|
|
@@ -564,6 +578,29 @@
|
|
|
564
578
|
"allowNo": false,
|
|
565
579
|
"type": "boolean"
|
|
566
580
|
},
|
|
581
|
+
"edit": {
|
|
582
|
+
"char": "e",
|
|
583
|
+
"dependsOn": [
|
|
584
|
+
"file"
|
|
585
|
+
],
|
|
586
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
587
|
+
"name": "edit",
|
|
588
|
+
"required": false,
|
|
589
|
+
"allowNo": false,
|
|
590
|
+
"type": "boolean"
|
|
591
|
+
},
|
|
592
|
+
"file": {
|
|
593
|
+
"char": "f",
|
|
594
|
+
"description": "Path to file containing XanoScript code",
|
|
595
|
+
"exclusive": [
|
|
596
|
+
"stdin"
|
|
597
|
+
],
|
|
598
|
+
"name": "file",
|
|
599
|
+
"required": false,
|
|
600
|
+
"hasDynamicHelp": false,
|
|
601
|
+
"multiple": false,
|
|
602
|
+
"type": "option"
|
|
603
|
+
},
|
|
567
604
|
"output": {
|
|
568
605
|
"char": "o",
|
|
569
606
|
"description": "Output format",
|
|
@@ -577,71 +614,31 @@
|
|
|
577
614
|
"json"
|
|
578
615
|
],
|
|
579
616
|
"type": "option"
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
"hasDynamicHelp": false,
|
|
583
|
-
"hiddenAliases": [],
|
|
584
|
-
"id": "platform:get",
|
|
585
|
-
"pluginAlias": "@xano/cli",
|
|
586
|
-
"pluginName": "@xano/cli",
|
|
587
|
-
"pluginType": "core",
|
|
588
|
-
"strict": true,
|
|
589
|
-
"enableJsonFlag": false,
|
|
590
|
-
"isESM": true,
|
|
591
|
-
"relativePath": [
|
|
592
|
-
"dist",
|
|
593
|
-
"commands",
|
|
594
|
-
"platform",
|
|
595
|
-
"get",
|
|
596
|
-
"index.js"
|
|
597
|
-
]
|
|
598
|
-
},
|
|
599
|
-
"platform:list": {
|
|
600
|
-
"aliases": [],
|
|
601
|
-
"args": {},
|
|
602
|
-
"description": "List all platforms",
|
|
603
|
-
"examples": [
|
|
604
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
605
|
-
"$ xano platform list --output json"
|
|
606
|
-
],
|
|
607
|
-
"flags": {
|
|
608
|
-
"profile": {
|
|
609
|
-
"char": "p",
|
|
610
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
611
|
-
"env": "XANO_PROFILE",
|
|
612
|
-
"name": "profile",
|
|
613
|
-
"required": false,
|
|
614
|
-
"hasDynamicHelp": false,
|
|
615
|
-
"multiple": false,
|
|
616
|
-
"type": "option"
|
|
617
617
|
},
|
|
618
|
-
"
|
|
619
|
-
"char": "
|
|
620
|
-
"description": "
|
|
621
|
-
"
|
|
622
|
-
|
|
618
|
+
"stdin": {
|
|
619
|
+
"char": "s",
|
|
620
|
+
"description": "Read XanoScript code from stdin",
|
|
621
|
+
"exclusive": [
|
|
622
|
+
"file"
|
|
623
|
+
],
|
|
624
|
+
"name": "stdin",
|
|
623
625
|
"required": false,
|
|
624
626
|
"allowNo": false,
|
|
625
627
|
"type": "boolean"
|
|
626
628
|
},
|
|
627
|
-
"
|
|
628
|
-
"char": "
|
|
629
|
-
"description": "
|
|
630
|
-
"name": "
|
|
629
|
+
"workspace": {
|
|
630
|
+
"char": "w",
|
|
631
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
632
|
+
"name": "workspace",
|
|
631
633
|
"required": false,
|
|
632
|
-
"default": "summary",
|
|
633
634
|
"hasDynamicHelp": false,
|
|
634
635
|
"multiple": false,
|
|
635
|
-
"options": [
|
|
636
|
-
"summary",
|
|
637
|
-
"json"
|
|
638
|
-
],
|
|
639
636
|
"type": "option"
|
|
640
637
|
}
|
|
641
638
|
},
|
|
642
639
|
"hasDynamicHelp": false,
|
|
643
640
|
"hiddenAliases": [],
|
|
644
|
-
"id": "
|
|
641
|
+
"id": "function:create",
|
|
645
642
|
"pluginAlias": "@xano/cli",
|
|
646
643
|
"pluginName": "@xano/cli",
|
|
647
644
|
"pluginType": "core",
|
|
@@ -651,21 +648,28 @@
|
|
|
651
648
|
"relativePath": [
|
|
652
649
|
"dist",
|
|
653
650
|
"commands",
|
|
654
|
-
"
|
|
655
|
-
"
|
|
651
|
+
"function",
|
|
652
|
+
"create",
|
|
656
653
|
"index.js"
|
|
657
654
|
]
|
|
658
655
|
},
|
|
659
|
-
"function:
|
|
656
|
+
"function:get": {
|
|
660
657
|
"aliases": [],
|
|
661
|
-
"args": {
|
|
662
|
-
|
|
658
|
+
"args": {
|
|
659
|
+
"function_id": {
|
|
660
|
+
"description": "Function ID",
|
|
661
|
+
"name": "function_id",
|
|
662
|
+
"required": false
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"description": "Get a specific function from a workspace",
|
|
663
666
|
"examples": [
|
|
664
|
-
"$ xano function:
|
|
665
|
-
"$ xano function:
|
|
666
|
-
"$ xano function:
|
|
667
|
-
"$
|
|
668
|
-
"$ xano function:
|
|
667
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
668
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
669
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
670
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
671
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
672
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
669
673
|
],
|
|
670
674
|
"flags": {
|
|
671
675
|
"profile": {
|
|
@@ -687,28 +691,19 @@
|
|
|
687
691
|
"allowNo": false,
|
|
688
692
|
"type": "boolean"
|
|
689
693
|
},
|
|
690
|
-
"
|
|
691
|
-
"
|
|
692
|
-
"
|
|
693
|
-
"file"
|
|
694
|
-
],
|
|
695
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
696
|
-
"name": "edit",
|
|
694
|
+
"include_draft": {
|
|
695
|
+
"description": "Include draft version",
|
|
696
|
+
"name": "include_draft",
|
|
697
697
|
"required": false,
|
|
698
698
|
"allowNo": false,
|
|
699
699
|
"type": "boolean"
|
|
700
700
|
},
|
|
701
|
-
"
|
|
702
|
-
"
|
|
703
|
-
"
|
|
704
|
-
"exclusive": [
|
|
705
|
-
"stdin"
|
|
706
|
-
],
|
|
707
|
-
"name": "file",
|
|
701
|
+
"include_xanoscript": {
|
|
702
|
+
"description": "Include XanoScript in response",
|
|
703
|
+
"name": "include_xanoscript",
|
|
708
704
|
"required": false,
|
|
709
|
-
"
|
|
710
|
-
"
|
|
711
|
-
"type": "option"
|
|
705
|
+
"allowNo": false,
|
|
706
|
+
"type": "boolean"
|
|
712
707
|
},
|
|
713
708
|
"output": {
|
|
714
709
|
"char": "o",
|
|
@@ -720,21 +715,11 @@
|
|
|
720
715
|
"multiple": false,
|
|
721
716
|
"options": [
|
|
722
717
|
"summary",
|
|
723
|
-
"json"
|
|
718
|
+
"json",
|
|
719
|
+
"xs"
|
|
724
720
|
],
|
|
725
721
|
"type": "option"
|
|
726
722
|
},
|
|
727
|
-
"stdin": {
|
|
728
|
-
"char": "s",
|
|
729
|
-
"description": "Read XanoScript code from stdin",
|
|
730
|
-
"exclusive": [
|
|
731
|
-
"file"
|
|
732
|
-
],
|
|
733
|
-
"name": "stdin",
|
|
734
|
-
"required": false,
|
|
735
|
-
"allowNo": false,
|
|
736
|
-
"type": "boolean"
|
|
737
|
-
},
|
|
738
723
|
"workspace": {
|
|
739
724
|
"char": "w",
|
|
740
725
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -747,7 +732,7 @@
|
|
|
747
732
|
},
|
|
748
733
|
"hasDynamicHelp": false,
|
|
749
734
|
"hiddenAliases": [],
|
|
750
|
-
"id": "function:
|
|
735
|
+
"id": "function:get",
|
|
751
736
|
"pluginAlias": "@xano/cli",
|
|
752
737
|
"pluginName": "@xano/cli",
|
|
753
738
|
"pluginType": "core",
|
|
@@ -758,7 +743,7 @@
|
|
|
758
743
|
"dist",
|
|
759
744
|
"commands",
|
|
760
745
|
"function",
|
|
761
|
-
"
|
|
746
|
+
"get",
|
|
762
747
|
"index.js"
|
|
763
748
|
]
|
|
764
749
|
},
|
|
@@ -1006,23 +991,19 @@
|
|
|
1006
991
|
"index.js"
|
|
1007
992
|
]
|
|
1008
993
|
},
|
|
1009
|
-
"
|
|
994
|
+
"platform:get": {
|
|
1010
995
|
"aliases": [],
|
|
1011
996
|
"args": {
|
|
1012
|
-
"
|
|
1013
|
-
"description": "
|
|
1014
|
-
"name": "
|
|
1015
|
-
"required":
|
|
997
|
+
"platform_id": {
|
|
998
|
+
"description": "Platform ID to retrieve",
|
|
999
|
+
"name": "platform_id",
|
|
1000
|
+
"required": true
|
|
1016
1001
|
}
|
|
1017
1002
|
},
|
|
1018
|
-
"description": "Get a specific
|
|
1003
|
+
"description": "Get details of a specific platform",
|
|
1019
1004
|
"examples": [
|
|
1020
|
-
"$ xano
|
|
1021
|
-
"$ xano
|
|
1022
|
-
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
1023
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
1024
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
1025
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
1005
|
+
"$ 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",
|
|
1006
|
+
"$ xano platform get 23629 -o json"
|
|
1026
1007
|
],
|
|
1027
1008
|
"flags": {
|
|
1028
1009
|
"profile": {
|
|
@@ -1044,20 +1025,6 @@
|
|
|
1044
1025
|
"allowNo": false,
|
|
1045
1026
|
"type": "boolean"
|
|
1046
1027
|
},
|
|
1047
|
-
"include_draft": {
|
|
1048
|
-
"description": "Include draft version",
|
|
1049
|
-
"name": "include_draft",
|
|
1050
|
-
"required": false,
|
|
1051
|
-
"allowNo": false,
|
|
1052
|
-
"type": "boolean"
|
|
1053
|
-
},
|
|
1054
|
-
"include_xanoscript": {
|
|
1055
|
-
"description": "Include XanoScript in response",
|
|
1056
|
-
"name": "include_xanoscript",
|
|
1057
|
-
"required": false,
|
|
1058
|
-
"allowNo": false,
|
|
1059
|
-
"type": "boolean"
|
|
1060
|
-
},
|
|
1061
1028
|
"output": {
|
|
1062
1029
|
"char": "o",
|
|
1063
1030
|
"description": "Output format",
|
|
@@ -1068,24 +1035,74 @@
|
|
|
1068
1035
|
"multiple": false,
|
|
1069
1036
|
"options": [
|
|
1070
1037
|
"summary",
|
|
1071
|
-
"json"
|
|
1072
|
-
"xs"
|
|
1038
|
+
"json"
|
|
1073
1039
|
],
|
|
1074
1040
|
"type": "option"
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
"hasDynamicHelp": false,
|
|
1044
|
+
"hiddenAliases": [],
|
|
1045
|
+
"id": "platform:get",
|
|
1046
|
+
"pluginAlias": "@xano/cli",
|
|
1047
|
+
"pluginName": "@xano/cli",
|
|
1048
|
+
"pluginType": "core",
|
|
1049
|
+
"strict": true,
|
|
1050
|
+
"enableJsonFlag": false,
|
|
1051
|
+
"isESM": true,
|
|
1052
|
+
"relativePath": [
|
|
1053
|
+
"dist",
|
|
1054
|
+
"commands",
|
|
1055
|
+
"platform",
|
|
1056
|
+
"get",
|
|
1057
|
+
"index.js"
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
1060
|
+
"platform:list": {
|
|
1061
|
+
"aliases": [],
|
|
1062
|
+
"args": {},
|
|
1063
|
+
"description": "List all platforms",
|
|
1064
|
+
"examples": [
|
|
1065
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1066
|
+
"$ xano platform list --output json"
|
|
1067
|
+
],
|
|
1068
|
+
"flags": {
|
|
1069
|
+
"profile": {
|
|
1070
|
+
"char": "p",
|
|
1071
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1072
|
+
"env": "XANO_PROFILE",
|
|
1073
|
+
"name": "profile",
|
|
1074
|
+
"required": false,
|
|
1075
|
+
"hasDynamicHelp": false,
|
|
1076
|
+
"multiple": false,
|
|
1077
|
+
"type": "option"
|
|
1078
|
+
},
|
|
1079
|
+
"verbose": {
|
|
1080
|
+
"char": "v",
|
|
1081
|
+
"description": "Show detailed request/response information",
|
|
1082
|
+
"env": "XANO_VERBOSE",
|
|
1083
|
+
"name": "verbose",
|
|
1084
|
+
"required": false,
|
|
1085
|
+
"allowNo": false,
|
|
1086
|
+
"type": "boolean"
|
|
1087
|
+
},
|
|
1088
|
+
"output": {
|
|
1089
|
+
"char": "o",
|
|
1090
|
+
"description": "Output format",
|
|
1091
|
+
"name": "output",
|
|
1080
1092
|
"required": false,
|
|
1093
|
+
"default": "summary",
|
|
1081
1094
|
"hasDynamicHelp": false,
|
|
1082
1095
|
"multiple": false,
|
|
1096
|
+
"options": [
|
|
1097
|
+
"summary",
|
|
1098
|
+
"json"
|
|
1099
|
+
],
|
|
1083
1100
|
"type": "option"
|
|
1084
1101
|
}
|
|
1085
1102
|
},
|
|
1086
1103
|
"hasDynamicHelp": false,
|
|
1087
1104
|
"hiddenAliases": [],
|
|
1088
|
-
"id": "
|
|
1105
|
+
"id": "platform:list",
|
|
1089
1106
|
"pluginAlias": "@xano/cli",
|
|
1090
1107
|
"pluginName": "@xano/cli",
|
|
1091
1108
|
"pluginType": "core",
|
|
@@ -1095,8 +1112,8 @@
|
|
|
1095
1112
|
"relativePath": [
|
|
1096
1113
|
"dist",
|
|
1097
1114
|
"commands",
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1115
|
+
"platform",
|
|
1116
|
+
"list",
|
|
1100
1117
|
"index.js"
|
|
1101
1118
|
]
|
|
1102
1119
|
},
|
|
@@ -1196,6 +1213,48 @@
|
|
|
1196
1213
|
"index.js"
|
|
1197
1214
|
]
|
|
1198
1215
|
},
|
|
1216
|
+
"profile:delete": {
|
|
1217
|
+
"aliases": [],
|
|
1218
|
+
"args": {
|
|
1219
|
+
"name": {
|
|
1220
|
+
"description": "Profile name to delete",
|
|
1221
|
+
"name": "name",
|
|
1222
|
+
"required": true
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
"description": "Delete a profile configuration",
|
|
1226
|
+
"examples": [
|
|
1227
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1228
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1229
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1230
|
+
],
|
|
1231
|
+
"flags": {
|
|
1232
|
+
"force": {
|
|
1233
|
+
"char": "f",
|
|
1234
|
+
"description": "Skip confirmation prompt",
|
|
1235
|
+
"name": "force",
|
|
1236
|
+
"required": false,
|
|
1237
|
+
"allowNo": false,
|
|
1238
|
+
"type": "boolean"
|
|
1239
|
+
}
|
|
1240
|
+
},
|
|
1241
|
+
"hasDynamicHelp": false,
|
|
1242
|
+
"hiddenAliases": [],
|
|
1243
|
+
"id": "profile:delete",
|
|
1244
|
+
"pluginAlias": "@xano/cli",
|
|
1245
|
+
"pluginName": "@xano/cli",
|
|
1246
|
+
"pluginType": "core",
|
|
1247
|
+
"strict": true,
|
|
1248
|
+
"enableJsonFlag": false,
|
|
1249
|
+
"isESM": true,
|
|
1250
|
+
"relativePath": [
|
|
1251
|
+
"dist",
|
|
1252
|
+
"commands",
|
|
1253
|
+
"profile",
|
|
1254
|
+
"delete",
|
|
1255
|
+
"index.js"
|
|
1256
|
+
]
|
|
1257
|
+
},
|
|
1199
1258
|
"profile:edit": {
|
|
1200
1259
|
"aliases": [],
|
|
1201
1260
|
"args": {
|
|
@@ -1326,48 +1385,6 @@
|
|
|
1326
1385
|
"index.js"
|
|
1327
1386
|
]
|
|
1328
1387
|
},
|
|
1329
|
-
"profile:delete": {
|
|
1330
|
-
"aliases": [],
|
|
1331
|
-
"args": {
|
|
1332
|
-
"name": {
|
|
1333
|
-
"description": "Profile name to delete",
|
|
1334
|
-
"name": "name",
|
|
1335
|
-
"required": true
|
|
1336
|
-
}
|
|
1337
|
-
},
|
|
1338
|
-
"description": "Delete a profile configuration",
|
|
1339
|
-
"examples": [
|
|
1340
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1341
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1342
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1343
|
-
],
|
|
1344
|
-
"flags": {
|
|
1345
|
-
"force": {
|
|
1346
|
-
"char": "f",
|
|
1347
|
-
"description": "Skip confirmation prompt",
|
|
1348
|
-
"name": "force",
|
|
1349
|
-
"required": false,
|
|
1350
|
-
"allowNo": false,
|
|
1351
|
-
"type": "boolean"
|
|
1352
|
-
}
|
|
1353
|
-
},
|
|
1354
|
-
"hasDynamicHelp": false,
|
|
1355
|
-
"hiddenAliases": [],
|
|
1356
|
-
"id": "profile:delete",
|
|
1357
|
-
"pluginAlias": "@xano/cli",
|
|
1358
|
-
"pluginName": "@xano/cli",
|
|
1359
|
-
"pluginType": "core",
|
|
1360
|
-
"strict": true,
|
|
1361
|
-
"enableJsonFlag": false,
|
|
1362
|
-
"isESM": true,
|
|
1363
|
-
"relativePath": [
|
|
1364
|
-
"dist",
|
|
1365
|
-
"commands",
|
|
1366
|
-
"profile",
|
|
1367
|
-
"delete",
|
|
1368
|
-
"index.js"
|
|
1369
|
-
]
|
|
1370
|
-
},
|
|
1371
1388
|
"profile:get": {
|
|
1372
1389
|
"aliases": [],
|
|
1373
1390
|
"args": {},
|
|
@@ -1626,90 +1643,6 @@
|
|
|
1626
1643
|
"index.js"
|
|
1627
1644
|
]
|
|
1628
1645
|
},
|
|
1629
|
-
"branch:set_live": {
|
|
1630
|
-
"aliases": [],
|
|
1631
|
-
"args": {
|
|
1632
|
-
"branch_label": {
|
|
1633
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
1634
|
-
"name": "branch_label",
|
|
1635
|
-
"required": true
|
|
1636
|
-
}
|
|
1637
|
-
},
|
|
1638
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
1639
|
-
"examples": [
|
|
1640
|
-
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
1641
|
-
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
1642
|
-
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
1643
|
-
],
|
|
1644
|
-
"flags": {
|
|
1645
|
-
"profile": {
|
|
1646
|
-
"char": "p",
|
|
1647
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1648
|
-
"env": "XANO_PROFILE",
|
|
1649
|
-
"name": "profile",
|
|
1650
|
-
"required": false,
|
|
1651
|
-
"hasDynamicHelp": false,
|
|
1652
|
-
"multiple": false,
|
|
1653
|
-
"type": "option"
|
|
1654
|
-
},
|
|
1655
|
-
"verbose": {
|
|
1656
|
-
"char": "v",
|
|
1657
|
-
"description": "Show detailed request/response information",
|
|
1658
|
-
"env": "XANO_VERBOSE",
|
|
1659
|
-
"name": "verbose",
|
|
1660
|
-
"required": false,
|
|
1661
|
-
"allowNo": false,
|
|
1662
|
-
"type": "boolean"
|
|
1663
|
-
},
|
|
1664
|
-
"force": {
|
|
1665
|
-
"char": "f",
|
|
1666
|
-
"description": "Skip confirmation prompt",
|
|
1667
|
-
"name": "force",
|
|
1668
|
-
"required": false,
|
|
1669
|
-
"allowNo": false,
|
|
1670
|
-
"type": "boolean"
|
|
1671
|
-
},
|
|
1672
|
-
"output": {
|
|
1673
|
-
"char": "o",
|
|
1674
|
-
"description": "Output format",
|
|
1675
|
-
"name": "output",
|
|
1676
|
-
"required": false,
|
|
1677
|
-
"default": "summary",
|
|
1678
|
-
"hasDynamicHelp": false,
|
|
1679
|
-
"multiple": false,
|
|
1680
|
-
"options": [
|
|
1681
|
-
"summary",
|
|
1682
|
-
"json"
|
|
1683
|
-
],
|
|
1684
|
-
"type": "option"
|
|
1685
|
-
},
|
|
1686
|
-
"workspace": {
|
|
1687
|
-
"char": "w",
|
|
1688
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1689
|
-
"name": "workspace",
|
|
1690
|
-
"required": false,
|
|
1691
|
-
"hasDynamicHelp": false,
|
|
1692
|
-
"multiple": false,
|
|
1693
|
-
"type": "option"
|
|
1694
|
-
}
|
|
1695
|
-
},
|
|
1696
|
-
"hasDynamicHelp": false,
|
|
1697
|
-
"hiddenAliases": [],
|
|
1698
|
-
"id": "branch:set_live",
|
|
1699
|
-
"pluginAlias": "@xano/cli",
|
|
1700
|
-
"pluginName": "@xano/cli",
|
|
1701
|
-
"pluginType": "core",
|
|
1702
|
-
"strict": true,
|
|
1703
|
-
"enableJsonFlag": false,
|
|
1704
|
-
"isESM": true,
|
|
1705
|
-
"relativePath": [
|
|
1706
|
-
"dist",
|
|
1707
|
-
"commands",
|
|
1708
|
-
"branch",
|
|
1709
|
-
"set_live",
|
|
1710
|
-
"index.js"
|
|
1711
|
-
]
|
|
1712
|
-
},
|
|
1713
1646
|
"release:create": {
|
|
1714
1647
|
"aliases": [],
|
|
1715
1648
|
"args": {},
|
|
@@ -1998,19 +1931,20 @@
|
|
|
1998
1931
|
"index.js"
|
|
1999
1932
|
]
|
|
2000
1933
|
},
|
|
2001
|
-
"release:
|
|
1934
|
+
"release:export": {
|
|
2002
1935
|
"aliases": [],
|
|
2003
1936
|
"args": {
|
|
2004
1937
|
"release_name": {
|
|
2005
|
-
"description": "Release name to
|
|
1938
|
+
"description": "Release name to export",
|
|
2006
1939
|
"name": "release_name",
|
|
2007
1940
|
"required": true
|
|
2008
1941
|
}
|
|
2009
1942
|
},
|
|
2010
|
-
"description": "
|
|
1943
|
+
"description": "Export (download) a release to a local file",
|
|
2011
1944
|
"examples": [
|
|
2012
|
-
"$ xano release
|
|
2013
|
-
"$ xano release
|
|
1945
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
1946
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
1947
|
+
"$ xano release export v1.0 -o json"
|
|
2014
1948
|
],
|
|
2015
1949
|
"flags": {
|
|
2016
1950
|
"profile": {
|
|
@@ -2032,10 +1966,10 @@
|
|
|
2032
1966
|
"allowNo": false,
|
|
2033
1967
|
"type": "boolean"
|
|
2034
1968
|
},
|
|
2035
|
-
"
|
|
1969
|
+
"format": {
|
|
2036
1970
|
"char": "o",
|
|
2037
1971
|
"description": "Output format",
|
|
2038
|
-
"name": "
|
|
1972
|
+
"name": "format",
|
|
2039
1973
|
"required": false,
|
|
2040
1974
|
"default": "summary",
|
|
2041
1975
|
"hasDynamicHelp": false,
|
|
@@ -2046,6 +1980,14 @@
|
|
|
2046
1980
|
],
|
|
2047
1981
|
"type": "option"
|
|
2048
1982
|
},
|
|
1983
|
+
"output": {
|
|
1984
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
1985
|
+
"name": "output",
|
|
1986
|
+
"required": false,
|
|
1987
|
+
"hasDynamicHelp": false,
|
|
1988
|
+
"multiple": false,
|
|
1989
|
+
"type": "option"
|
|
1990
|
+
},
|
|
2049
1991
|
"workspace": {
|
|
2050
1992
|
"char": "w",
|
|
2051
1993
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2058,7 +2000,82 @@
|
|
|
2058
2000
|
},
|
|
2059
2001
|
"hasDynamicHelp": false,
|
|
2060
2002
|
"hiddenAliases": [],
|
|
2061
|
-
"id": "release:
|
|
2003
|
+
"id": "release:export",
|
|
2004
|
+
"pluginAlias": "@xano/cli",
|
|
2005
|
+
"pluginName": "@xano/cli",
|
|
2006
|
+
"pluginType": "core",
|
|
2007
|
+
"strict": true,
|
|
2008
|
+
"enableJsonFlag": false,
|
|
2009
|
+
"isESM": true,
|
|
2010
|
+
"relativePath": [
|
|
2011
|
+
"dist",
|
|
2012
|
+
"commands",
|
|
2013
|
+
"release",
|
|
2014
|
+
"export",
|
|
2015
|
+
"index.js"
|
|
2016
|
+
]
|
|
2017
|
+
},
|
|
2018
|
+
"release:get": {
|
|
2019
|
+
"aliases": [],
|
|
2020
|
+
"args": {
|
|
2021
|
+
"release_name": {
|
|
2022
|
+
"description": "Release name to retrieve",
|
|
2023
|
+
"name": "release_name",
|
|
2024
|
+
"required": true
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
"description": "Get details of a specific release",
|
|
2028
|
+
"examples": [
|
|
2029
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2030
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2031
|
+
],
|
|
2032
|
+
"flags": {
|
|
2033
|
+
"profile": {
|
|
2034
|
+
"char": "p",
|
|
2035
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2036
|
+
"env": "XANO_PROFILE",
|
|
2037
|
+
"name": "profile",
|
|
2038
|
+
"required": false,
|
|
2039
|
+
"hasDynamicHelp": false,
|
|
2040
|
+
"multiple": false,
|
|
2041
|
+
"type": "option"
|
|
2042
|
+
},
|
|
2043
|
+
"verbose": {
|
|
2044
|
+
"char": "v",
|
|
2045
|
+
"description": "Show detailed request/response information",
|
|
2046
|
+
"env": "XANO_VERBOSE",
|
|
2047
|
+
"name": "verbose",
|
|
2048
|
+
"required": false,
|
|
2049
|
+
"allowNo": false,
|
|
2050
|
+
"type": "boolean"
|
|
2051
|
+
},
|
|
2052
|
+
"output": {
|
|
2053
|
+
"char": "o",
|
|
2054
|
+
"description": "Output format",
|
|
2055
|
+
"name": "output",
|
|
2056
|
+
"required": false,
|
|
2057
|
+
"default": "summary",
|
|
2058
|
+
"hasDynamicHelp": false,
|
|
2059
|
+
"multiple": false,
|
|
2060
|
+
"options": [
|
|
2061
|
+
"summary",
|
|
2062
|
+
"json"
|
|
2063
|
+
],
|
|
2064
|
+
"type": "option"
|
|
2065
|
+
},
|
|
2066
|
+
"workspace": {
|
|
2067
|
+
"char": "w",
|
|
2068
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2069
|
+
"name": "workspace",
|
|
2070
|
+
"required": false,
|
|
2071
|
+
"hasDynamicHelp": false,
|
|
2072
|
+
"multiple": false,
|
|
2073
|
+
"type": "option"
|
|
2074
|
+
}
|
|
2075
|
+
},
|
|
2076
|
+
"hasDynamicHelp": false,
|
|
2077
|
+
"hiddenAliases": [],
|
|
2078
|
+
"id": "release:get",
|
|
2062
2079
|
"pluginAlias": "@xano/cli",
|
|
2063
2080
|
"pluginName": "@xano/cli",
|
|
2064
2081
|
"pluginType": "core",
|
|
@@ -2512,104 +2529,20 @@
|
|
|
2512
2529
|
"index.js"
|
|
2513
2530
|
]
|
|
2514
2531
|
},
|
|
2515
|
-
"
|
|
2532
|
+
"branch:list": {
|
|
2516
2533
|
"aliases": [],
|
|
2517
2534
|
"args": {
|
|
2518
|
-
"
|
|
2519
|
-
"description": "Release name to export",
|
|
2520
|
-
"name": "release_name",
|
|
2521
|
-
"required": true
|
|
2522
|
-
}
|
|
2523
|
-
},
|
|
2524
|
-
"description": "Export (download) a release to a local file",
|
|
2525
|
-
"examples": [
|
|
2526
|
-
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
2527
|
-
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
2528
|
-
"$ xano release export v1.0 -o json"
|
|
2529
|
-
],
|
|
2530
|
-
"flags": {
|
|
2531
|
-
"profile": {
|
|
2532
|
-
"char": "p",
|
|
2533
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2534
|
-
"env": "XANO_PROFILE",
|
|
2535
|
-
"name": "profile",
|
|
2536
|
-
"required": false,
|
|
2537
|
-
"hasDynamicHelp": false,
|
|
2538
|
-
"multiple": false,
|
|
2539
|
-
"type": "option"
|
|
2540
|
-
},
|
|
2541
|
-
"verbose": {
|
|
2542
|
-
"char": "v",
|
|
2543
|
-
"description": "Show detailed request/response information",
|
|
2544
|
-
"env": "XANO_VERBOSE",
|
|
2545
|
-
"name": "verbose",
|
|
2546
|
-
"required": false,
|
|
2547
|
-
"allowNo": false,
|
|
2548
|
-
"type": "boolean"
|
|
2549
|
-
},
|
|
2550
|
-
"format": {
|
|
2551
|
-
"char": "o",
|
|
2552
|
-
"description": "Output format",
|
|
2553
|
-
"name": "format",
|
|
2554
|
-
"required": false,
|
|
2555
|
-
"default": "summary",
|
|
2556
|
-
"hasDynamicHelp": false,
|
|
2557
|
-
"multiple": false,
|
|
2558
|
-
"options": [
|
|
2559
|
-
"summary",
|
|
2560
|
-
"json"
|
|
2561
|
-
],
|
|
2562
|
-
"type": "option"
|
|
2563
|
-
},
|
|
2564
|
-
"output": {
|
|
2565
|
-
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2566
|
-
"name": "output",
|
|
2567
|
-
"required": false,
|
|
2568
|
-
"hasDynamicHelp": false,
|
|
2569
|
-
"multiple": false,
|
|
2570
|
-
"type": "option"
|
|
2571
|
-
},
|
|
2572
|
-
"workspace": {
|
|
2573
|
-
"char": "w",
|
|
2535
|
+
"workspace_id": {
|
|
2574
2536
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2575
|
-
"name": "
|
|
2576
|
-
"required": false
|
|
2577
|
-
"hasDynamicHelp": false,
|
|
2578
|
-
"multiple": false,
|
|
2579
|
-
"type": "option"
|
|
2580
|
-
}
|
|
2581
|
-
},
|
|
2582
|
-
"hasDynamicHelp": false,
|
|
2583
|
-
"hiddenAliases": [],
|
|
2584
|
-
"id": "release:export",
|
|
2585
|
-
"pluginAlias": "@xano/cli",
|
|
2586
|
-
"pluginName": "@xano/cli",
|
|
2587
|
-
"pluginType": "core",
|
|
2588
|
-
"strict": true,
|
|
2589
|
-
"enableJsonFlag": false,
|
|
2590
|
-
"isESM": true,
|
|
2591
|
-
"relativePath": [
|
|
2592
|
-
"dist",
|
|
2593
|
-
"commands",
|
|
2594
|
-
"release",
|
|
2595
|
-
"export",
|
|
2596
|
-
"index.js"
|
|
2597
|
-
]
|
|
2598
|
-
},
|
|
2599
|
-
"tenant:delete": {
|
|
2600
|
-
"aliases": [],
|
|
2601
|
-
"args": {
|
|
2602
|
-
"tenant_name": {
|
|
2603
|
-
"description": "Tenant name to delete",
|
|
2604
|
-
"name": "tenant_name",
|
|
2605
|
-
"required": true
|
|
2537
|
+
"name": "workspace_id",
|
|
2538
|
+
"required": false
|
|
2606
2539
|
}
|
|
2607
2540
|
},
|
|
2608
|
-
"description": "
|
|
2541
|
+
"description": "List all branches in a workspace",
|
|
2609
2542
|
"examples": [
|
|
2610
|
-
"$ xano
|
|
2611
|
-
"$ xano
|
|
2612
|
-
"$ xano
|
|
2543
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
2544
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
2545
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
2613
2546
|
],
|
|
2614
2547
|
"flags": {
|
|
2615
2548
|
"profile": {
|
|
@@ -2631,14 +2564,6 @@
|
|
|
2631
2564
|
"allowNo": false,
|
|
2632
2565
|
"type": "boolean"
|
|
2633
2566
|
},
|
|
2634
|
-
"force": {
|
|
2635
|
-
"char": "f",
|
|
2636
|
-
"description": "Skip confirmation prompt",
|
|
2637
|
-
"name": "force",
|
|
2638
|
-
"required": false,
|
|
2639
|
-
"allowNo": false,
|
|
2640
|
-
"type": "boolean"
|
|
2641
|
-
},
|
|
2642
2567
|
"output": {
|
|
2643
2568
|
"char": "o",
|
|
2644
2569
|
"description": "Output format",
|
|
@@ -2652,20 +2577,11 @@
|
|
|
2652
2577
|
"json"
|
|
2653
2578
|
],
|
|
2654
2579
|
"type": "option"
|
|
2655
|
-
},
|
|
2656
|
-
"workspace": {
|
|
2657
|
-
"char": "w",
|
|
2658
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2659
|
-
"name": "workspace",
|
|
2660
|
-
"required": false,
|
|
2661
|
-
"hasDynamicHelp": false,
|
|
2662
|
-
"multiple": false,
|
|
2663
|
-
"type": "option"
|
|
2664
2580
|
}
|
|
2665
2581
|
},
|
|
2666
2582
|
"hasDynamicHelp": false,
|
|
2667
2583
|
"hiddenAliases": [],
|
|
2668
|
-
"id": "
|
|
2584
|
+
"id": "branch:list",
|
|
2669
2585
|
"pluginAlias": "@xano/cli",
|
|
2670
2586
|
"pluginName": "@xano/cli",
|
|
2671
2587
|
"pluginType": "core",
|
|
@@ -2675,8 +2591,8 @@
|
|
|
2675
2591
|
"relativePath": [
|
|
2676
2592
|
"dist",
|
|
2677
2593
|
"commands",
|
|
2678
|
-
"
|
|
2679
|
-
"
|
|
2594
|
+
"branch",
|
|
2595
|
+
"list",
|
|
2680
2596
|
"index.js"
|
|
2681
2597
|
]
|
|
2682
2598
|
},
|
|
@@ -2820,7 +2736,7 @@
|
|
|
2820
2736
|
"index.js"
|
|
2821
2737
|
]
|
|
2822
2738
|
},
|
|
2823
|
-
"tenant:
|
|
2739
|
+
"tenant:deploy_platform": {
|
|
2824
2740
|
"aliases": [],
|
|
2825
2741
|
"args": {
|
|
2826
2742
|
"tenant_name": {
|
|
@@ -2829,10 +2745,10 @@
|
|
|
2829
2745
|
"required": true
|
|
2830
2746
|
}
|
|
2831
2747
|
},
|
|
2832
|
-
"description": "Deploy a
|
|
2748
|
+
"description": "Deploy a platform version to a tenant",
|
|
2833
2749
|
"examples": [
|
|
2834
|
-
"$ xano tenant
|
|
2835
|
-
"$ xano tenant
|
|
2750
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2751
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2836
2752
|
],
|
|
2837
2753
|
"flags": {
|
|
2838
2754
|
"profile": {
|
|
@@ -2868,10 +2784,9 @@
|
|
|
2868
2784
|
],
|
|
2869
2785
|
"type": "option"
|
|
2870
2786
|
},
|
|
2871
|
-
"
|
|
2872
|
-
"
|
|
2873
|
-
"
|
|
2874
|
-
"name": "release",
|
|
2787
|
+
"platform_id": {
|
|
2788
|
+
"description": "Platform ID to deploy",
|
|
2789
|
+
"name": "platform_id",
|
|
2875
2790
|
"required": true,
|
|
2876
2791
|
"hasDynamicHelp": false,
|
|
2877
2792
|
"multiple": false,
|
|
@@ -2889,7 +2804,7 @@
|
|
|
2889
2804
|
},
|
|
2890
2805
|
"hasDynamicHelp": false,
|
|
2891
2806
|
"hiddenAliases": [],
|
|
2892
|
-
"id": "tenant:
|
|
2807
|
+
"id": "tenant:deploy_platform",
|
|
2893
2808
|
"pluginAlias": "@xano/cli",
|
|
2894
2809
|
"pluginName": "@xano/cli",
|
|
2895
2810
|
"pluginType": "core",
|
|
@@ -2900,23 +2815,24 @@
|
|
|
2900
2815
|
"dist",
|
|
2901
2816
|
"commands",
|
|
2902
2817
|
"tenant",
|
|
2903
|
-
"
|
|
2818
|
+
"deploy_platform",
|
|
2904
2819
|
"index.js"
|
|
2905
2820
|
]
|
|
2906
2821
|
},
|
|
2907
|
-
"tenant:
|
|
2822
|
+
"tenant:delete": {
|
|
2908
2823
|
"aliases": [],
|
|
2909
2824
|
"args": {
|
|
2910
2825
|
"tenant_name": {
|
|
2911
|
-
"description": "Tenant name to
|
|
2826
|
+
"description": "Tenant name to delete",
|
|
2912
2827
|
"name": "tenant_name",
|
|
2913
2828
|
"required": true
|
|
2914
2829
|
}
|
|
2915
2830
|
},
|
|
2916
|
-
"description": "
|
|
2831
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2917
2832
|
"examples": [
|
|
2918
|
-
"$ xano tenant
|
|
2919
|
-
"$ xano tenant
|
|
2833
|
+
"$ 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",
|
|
2834
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2835
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2920
2836
|
],
|
|
2921
2837
|
"flags": {
|
|
2922
2838
|
"profile": {
|
|
@@ -2938,36 +2854,87 @@
|
|
|
2938
2854
|
"allowNo": false,
|
|
2939
2855
|
"type": "boolean"
|
|
2940
2856
|
},
|
|
2941
|
-
"
|
|
2942
|
-
"char": "
|
|
2943
|
-
"description": "
|
|
2944
|
-
"name": "
|
|
2857
|
+
"force": {
|
|
2858
|
+
"char": "f",
|
|
2859
|
+
"description": "Skip confirmation prompt",
|
|
2860
|
+
"name": "force",
|
|
2861
|
+
"required": false,
|
|
2862
|
+
"allowNo": false,
|
|
2863
|
+
"type": "boolean"
|
|
2864
|
+
},
|
|
2865
|
+
"output": {
|
|
2866
|
+
"char": "o",
|
|
2867
|
+
"description": "Output format",
|
|
2868
|
+
"name": "output",
|
|
2945
2869
|
"required": false,
|
|
2870
|
+
"default": "summary",
|
|
2946
2871
|
"hasDynamicHelp": false,
|
|
2947
2872
|
"multiple": false,
|
|
2873
|
+
"options": [
|
|
2874
|
+
"summary",
|
|
2875
|
+
"json"
|
|
2876
|
+
],
|
|
2948
2877
|
"type": "option"
|
|
2949
2878
|
},
|
|
2950
|
-
"
|
|
2951
|
-
"
|
|
2952
|
-
"
|
|
2879
|
+
"workspace": {
|
|
2880
|
+
"char": "w",
|
|
2881
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2882
|
+
"name": "workspace",
|
|
2953
2883
|
"required": false,
|
|
2954
2884
|
"hasDynamicHelp": false,
|
|
2955
2885
|
"multiple": false,
|
|
2956
2886
|
"type": "option"
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
"hasDynamicHelp": false,
|
|
2890
|
+
"hiddenAliases": [],
|
|
2891
|
+
"id": "tenant:delete",
|
|
2892
|
+
"pluginAlias": "@xano/cli",
|
|
2893
|
+
"pluginName": "@xano/cli",
|
|
2894
|
+
"pluginType": "core",
|
|
2895
|
+
"strict": true,
|
|
2896
|
+
"enableJsonFlag": false,
|
|
2897
|
+
"isESM": true,
|
|
2898
|
+
"relativePath": [
|
|
2899
|
+
"dist",
|
|
2900
|
+
"commands",
|
|
2901
|
+
"tenant",
|
|
2902
|
+
"delete",
|
|
2903
|
+
"index.js"
|
|
2904
|
+
]
|
|
2905
|
+
},
|
|
2906
|
+
"tenant:deploy_release": {
|
|
2907
|
+
"aliases": [],
|
|
2908
|
+
"args": {
|
|
2909
|
+
"tenant_name": {
|
|
2910
|
+
"description": "Tenant name to deploy to",
|
|
2911
|
+
"name": "tenant_name",
|
|
2912
|
+
"required": true
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
"description": "Deploy a release to a tenant",
|
|
2916
|
+
"examples": [
|
|
2917
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2918
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2919
|
+
],
|
|
2920
|
+
"flags": {
|
|
2921
|
+
"profile": {
|
|
2922
|
+
"char": "p",
|
|
2923
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2924
|
+
"env": "XANO_PROFILE",
|
|
2925
|
+
"name": "profile",
|
|
2961
2926
|
"required": false,
|
|
2962
2927
|
"hasDynamicHelp": false,
|
|
2963
2928
|
"multiple": false,
|
|
2964
2929
|
"type": "option"
|
|
2965
2930
|
},
|
|
2966
|
-
"
|
|
2967
|
-
"
|
|
2968
|
-
"
|
|
2931
|
+
"verbose": {
|
|
2932
|
+
"char": "v",
|
|
2933
|
+
"description": "Show detailed request/response information",
|
|
2934
|
+
"env": "XANO_VERBOSE",
|
|
2935
|
+
"name": "verbose",
|
|
2969
2936
|
"required": false,
|
|
2970
|
-
"allowNo":
|
|
2937
|
+
"allowNo": false,
|
|
2971
2938
|
"type": "boolean"
|
|
2972
2939
|
},
|
|
2973
2940
|
"output": {
|
|
@@ -2984,28 +2951,15 @@
|
|
|
2984
2951
|
],
|
|
2985
2952
|
"type": "option"
|
|
2986
2953
|
},
|
|
2987
|
-
"
|
|
2988
|
-
"
|
|
2989
|
-
"
|
|
2990
|
-
"
|
|
2954
|
+
"release": {
|
|
2955
|
+
"char": "r",
|
|
2956
|
+
"description": "Release name to deploy",
|
|
2957
|
+
"name": "release",
|
|
2958
|
+
"required": true,
|
|
2991
2959
|
"hasDynamicHelp": false,
|
|
2992
2960
|
"multiple": false,
|
|
2993
2961
|
"type": "option"
|
|
2994
2962
|
},
|
|
2995
|
-
"rbac": {
|
|
2996
|
-
"description": "Enable/disable RBAC",
|
|
2997
|
-
"name": "rbac",
|
|
2998
|
-
"required": false,
|
|
2999
|
-
"allowNo": true,
|
|
3000
|
-
"type": "boolean"
|
|
3001
|
-
},
|
|
3002
|
-
"tasks": {
|
|
3003
|
-
"description": "Enable/disable background tasks",
|
|
3004
|
-
"name": "tasks",
|
|
3005
|
-
"required": false,
|
|
3006
|
-
"allowNo": true,
|
|
3007
|
-
"type": "boolean"
|
|
3008
|
-
},
|
|
3009
2963
|
"workspace": {
|
|
3010
2964
|
"char": "w",
|
|
3011
2965
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3018,7 +2972,7 @@
|
|
|
3018
2972
|
},
|
|
3019
2973
|
"hasDynamicHelp": false,
|
|
3020
2974
|
"hiddenAliases": [],
|
|
3021
|
-
"id": "tenant:
|
|
2975
|
+
"id": "tenant:deploy_release",
|
|
3022
2976
|
"pluginAlias": "@xano/cli",
|
|
3023
2977
|
"pluginName": "@xano/cli",
|
|
3024
2978
|
"pluginType": "core",
|
|
@@ -3029,23 +2983,23 @@
|
|
|
3029
2983
|
"dist",
|
|
3030
2984
|
"commands",
|
|
3031
2985
|
"tenant",
|
|
3032
|
-
"
|
|
2986
|
+
"deploy_release",
|
|
3033
2987
|
"index.js"
|
|
3034
2988
|
]
|
|
3035
2989
|
},
|
|
3036
|
-
"tenant:
|
|
2990
|
+
"tenant:edit": {
|
|
3037
2991
|
"aliases": [],
|
|
3038
2992
|
"args": {
|
|
3039
2993
|
"tenant_name": {
|
|
3040
|
-
"description": "Tenant name to
|
|
2994
|
+
"description": "Tenant name to edit",
|
|
3041
2995
|
"name": "tenant_name",
|
|
3042
2996
|
"required": true
|
|
3043
2997
|
}
|
|
3044
2998
|
},
|
|
3045
|
-
"description": "
|
|
2999
|
+
"description": "Edit an existing tenant",
|
|
3046
3000
|
"examples": [
|
|
3047
|
-
"$ xano tenant
|
|
3048
|
-
"$ xano tenant
|
|
3001
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
3002
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
3049
3003
|
],
|
|
3050
3004
|
"flags": {
|
|
3051
3005
|
"profile": {
|
|
@@ -3067,6 +3021,38 @@
|
|
|
3067
3021
|
"allowNo": false,
|
|
3068
3022
|
"type": "boolean"
|
|
3069
3023
|
},
|
|
3024
|
+
"description": {
|
|
3025
|
+
"char": "d",
|
|
3026
|
+
"description": "New description",
|
|
3027
|
+
"name": "description",
|
|
3028
|
+
"required": false,
|
|
3029
|
+
"hasDynamicHelp": false,
|
|
3030
|
+
"multiple": false,
|
|
3031
|
+
"type": "option"
|
|
3032
|
+
},
|
|
3033
|
+
"display": {
|
|
3034
|
+
"description": "New display name",
|
|
3035
|
+
"name": "display",
|
|
3036
|
+
"required": false,
|
|
3037
|
+
"hasDynamicHelp": false,
|
|
3038
|
+
"multiple": false,
|
|
3039
|
+
"type": "option"
|
|
3040
|
+
},
|
|
3041
|
+
"domain": {
|
|
3042
|
+
"description": "Custom domain",
|
|
3043
|
+
"name": "domain",
|
|
3044
|
+
"required": false,
|
|
3045
|
+
"hasDynamicHelp": false,
|
|
3046
|
+
"multiple": false,
|
|
3047
|
+
"type": "option"
|
|
3048
|
+
},
|
|
3049
|
+
"ingress": {
|
|
3050
|
+
"description": "Enable/disable ingress",
|
|
3051
|
+
"name": "ingress",
|
|
3052
|
+
"required": false,
|
|
3053
|
+
"allowNo": true,
|
|
3054
|
+
"type": "boolean"
|
|
3055
|
+
},
|
|
3070
3056
|
"output": {
|
|
3071
3057
|
"char": "o",
|
|
3072
3058
|
"description": "Output format",
|
|
@@ -3081,6 +3067,28 @@
|
|
|
3081
3067
|
],
|
|
3082
3068
|
"type": "option"
|
|
3083
3069
|
},
|
|
3070
|
+
"proxy": {
|
|
3071
|
+
"description": "Proxy URL",
|
|
3072
|
+
"name": "proxy",
|
|
3073
|
+
"required": false,
|
|
3074
|
+
"hasDynamicHelp": false,
|
|
3075
|
+
"multiple": false,
|
|
3076
|
+
"type": "option"
|
|
3077
|
+
},
|
|
3078
|
+
"rbac": {
|
|
3079
|
+
"description": "Enable/disable RBAC",
|
|
3080
|
+
"name": "rbac",
|
|
3081
|
+
"required": false,
|
|
3082
|
+
"allowNo": true,
|
|
3083
|
+
"type": "boolean"
|
|
3084
|
+
},
|
|
3085
|
+
"tasks": {
|
|
3086
|
+
"description": "Enable/disable background tasks",
|
|
3087
|
+
"name": "tasks",
|
|
3088
|
+
"required": false,
|
|
3089
|
+
"allowNo": true,
|
|
3090
|
+
"type": "boolean"
|
|
3091
|
+
},
|
|
3084
3092
|
"workspace": {
|
|
3085
3093
|
"char": "w",
|
|
3086
3094
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3093,7 +3101,7 @@
|
|
|
3093
3101
|
},
|
|
3094
3102
|
"hasDynamicHelp": false,
|
|
3095
3103
|
"hiddenAliases": [],
|
|
3096
|
-
"id": "tenant:
|
|
3104
|
+
"id": "tenant:edit",
|
|
3097
3105
|
"pluginAlias": "@xano/cli",
|
|
3098
3106
|
"pluginName": "@xano/cli",
|
|
3099
3107
|
"pluginType": "core",
|
|
@@ -3104,23 +3112,23 @@
|
|
|
3104
3112
|
"dist",
|
|
3105
3113
|
"commands",
|
|
3106
3114
|
"tenant",
|
|
3107
|
-
"
|
|
3115
|
+
"edit",
|
|
3108
3116
|
"index.js"
|
|
3109
3117
|
]
|
|
3110
3118
|
},
|
|
3111
|
-
"tenant:
|
|
3119
|
+
"tenant:get": {
|
|
3112
3120
|
"aliases": [],
|
|
3113
3121
|
"args": {
|
|
3114
3122
|
"tenant_name": {
|
|
3115
|
-
"description": "Tenant name to
|
|
3123
|
+
"description": "Tenant name to retrieve",
|
|
3116
3124
|
"name": "tenant_name",
|
|
3117
3125
|
"required": true
|
|
3118
3126
|
}
|
|
3119
3127
|
},
|
|
3120
|
-
"description": "
|
|
3128
|
+
"description": "Get details of a specific tenant",
|
|
3121
3129
|
"examples": [
|
|
3122
|
-
"$ xano tenant
|
|
3123
|
-
"$ xano tenant
|
|
3130
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3131
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3124
3132
|
],
|
|
3125
3133
|
"flags": {
|
|
3126
3134
|
"profile": {
|
|
@@ -3156,14 +3164,6 @@
|
|
|
3156
3164
|
],
|
|
3157
3165
|
"type": "option"
|
|
3158
3166
|
},
|
|
3159
|
-
"platform_id": {
|
|
3160
|
-
"description": "Platform ID to deploy",
|
|
3161
|
-
"name": "platform_id",
|
|
3162
|
-
"required": true,
|
|
3163
|
-
"hasDynamicHelp": false,
|
|
3164
|
-
"multiple": false,
|
|
3165
|
-
"type": "option"
|
|
3166
|
-
},
|
|
3167
3167
|
"workspace": {
|
|
3168
3168
|
"char": "w",
|
|
3169
3169
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3176,7 +3176,7 @@
|
|
|
3176
3176
|
},
|
|
3177
3177
|
"hasDynamicHelp": false,
|
|
3178
3178
|
"hiddenAliases": [],
|
|
3179
|
-
"id": "tenant:
|
|
3179
|
+
"id": "tenant:get",
|
|
3180
3180
|
"pluginAlias": "@xano/cli",
|
|
3181
3181
|
"pluginName": "@xano/cli",
|
|
3182
3182
|
"pluginType": "core",
|
|
@@ -3187,7 +3187,7 @@
|
|
|
3187
3187
|
"dist",
|
|
3188
3188
|
"commands",
|
|
3189
3189
|
"tenant",
|
|
3190
|
-
"
|
|
3190
|
+
"get",
|
|
3191
3191
|
"index.js"
|
|
3192
3192
|
]
|
|
3193
3193
|
},
|
|
@@ -3343,14 +3343,21 @@
|
|
|
3343
3343
|
"index.js"
|
|
3344
3344
|
]
|
|
3345
3345
|
},
|
|
3346
|
-
"
|
|
3346
|
+
"tenant:pull": {
|
|
3347
3347
|
"aliases": [],
|
|
3348
|
-
"args": {
|
|
3349
|
-
|
|
3348
|
+
"args": {
|
|
3349
|
+
"directory": {
|
|
3350
|
+
"description": "Output directory for pulled documents",
|
|
3351
|
+
"name": "directory",
|
|
3352
|
+
"required": true
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3350
3356
|
"examples": [
|
|
3351
|
-
"$ xano
|
|
3352
|
-
"$ xano
|
|
3353
|
-
"$ xano
|
|
3357
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3358
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3359
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3360
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3354
3361
|
],
|
|
3355
3362
|
"flags": {
|
|
3356
3363
|
"profile": {
|
|
@@ -3372,45 +3379,39 @@
|
|
|
3372
3379
|
"allowNo": false,
|
|
3373
3380
|
"type": "boolean"
|
|
3374
3381
|
},
|
|
3375
|
-
"
|
|
3376
|
-
"
|
|
3377
|
-
"
|
|
3378
|
-
"name": "branch",
|
|
3382
|
+
"draft": {
|
|
3383
|
+
"description": "Include draft versions",
|
|
3384
|
+
"name": "draft",
|
|
3379
3385
|
"required": false,
|
|
3380
|
-
"
|
|
3381
|
-
"
|
|
3382
|
-
"type": "option"
|
|
3386
|
+
"allowNo": false,
|
|
3387
|
+
"type": "boolean"
|
|
3383
3388
|
},
|
|
3384
|
-
"
|
|
3385
|
-
"description": "
|
|
3386
|
-
"name": "
|
|
3389
|
+
"env": {
|
|
3390
|
+
"description": "Include environment variables",
|
|
3391
|
+
"name": "env",
|
|
3387
3392
|
"required": false,
|
|
3388
|
-
"
|
|
3389
|
-
"
|
|
3390
|
-
"options": [
|
|
3391
|
-
"function",
|
|
3392
|
-
"query",
|
|
3393
|
-
"middleware"
|
|
3394
|
-
],
|
|
3395
|
-
"type": "option"
|
|
3393
|
+
"allowNo": false,
|
|
3394
|
+
"type": "boolean"
|
|
3396
3395
|
},
|
|
3397
|
-
"
|
|
3398
|
-
"
|
|
3399
|
-
"
|
|
3400
|
-
"name": "output",
|
|
3396
|
+
"records": {
|
|
3397
|
+
"description": "Include records",
|
|
3398
|
+
"name": "records",
|
|
3401
3399
|
"required": false,
|
|
3402
|
-
"
|
|
3400
|
+
"allowNo": false,
|
|
3401
|
+
"type": "boolean"
|
|
3402
|
+
},
|
|
3403
|
+
"tenant": {
|
|
3404
|
+
"char": "t",
|
|
3405
|
+
"description": "Tenant name to pull from",
|
|
3406
|
+
"name": "tenant",
|
|
3407
|
+
"required": true,
|
|
3403
3408
|
"hasDynamicHelp": false,
|
|
3404
3409
|
"multiple": false,
|
|
3405
|
-
"options": [
|
|
3406
|
-
"summary",
|
|
3407
|
-
"json"
|
|
3408
|
-
],
|
|
3409
3410
|
"type": "option"
|
|
3410
3411
|
},
|
|
3411
3412
|
"workspace": {
|
|
3412
3413
|
"char": "w",
|
|
3413
|
-
"description": "Workspace ID (
|
|
3414
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3414
3415
|
"name": "workspace",
|
|
3415
3416
|
"required": false,
|
|
3416
3417
|
"hasDynamicHelp": false,
|
|
@@ -3420,7 +3421,7 @@
|
|
|
3420
3421
|
},
|
|
3421
3422
|
"hasDynamicHelp": false,
|
|
3422
3423
|
"hiddenAliases": [],
|
|
3423
|
-
"id": "
|
|
3424
|
+
"id": "tenant:pull",
|
|
3424
3425
|
"pluginAlias": "@xano/cli",
|
|
3425
3426
|
"pluginName": "@xano/cli",
|
|
3426
3427
|
"pluginType": "core",
|
|
@@ -3430,8 +3431,8 @@
|
|
|
3430
3431
|
"relativePath": [
|
|
3431
3432
|
"dist",
|
|
3432
3433
|
"commands",
|
|
3433
|
-
"
|
|
3434
|
-
"
|
|
3434
|
+
"tenant",
|
|
3435
|
+
"pull",
|
|
3435
3436
|
"index.js"
|
|
3436
3437
|
]
|
|
3437
3438
|
},
|
|
@@ -3530,19 +3531,14 @@
|
|
|
3530
3531
|
"index.js"
|
|
3531
3532
|
]
|
|
3532
3533
|
},
|
|
3533
|
-
"unit_test:
|
|
3534
|
+
"unit_test:list": {
|
|
3534
3535
|
"aliases": [],
|
|
3535
|
-
"args": {
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
},
|
|
3542
|
-
"description": "Run a unit test",
|
|
3543
|
-
"examples": [
|
|
3544
|
-
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3545
|
-
"$ xano unit-test run abc-123 -o json"
|
|
3536
|
+
"args": {},
|
|
3537
|
+
"description": "List all unit tests in a workspace",
|
|
3538
|
+
"examples": [
|
|
3539
|
+
"$ 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",
|
|
3540
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3541
|
+
"$ xano unit-test list --obj-type function"
|
|
3546
3542
|
],
|
|
3547
3543
|
"flags": {
|
|
3548
3544
|
"profile": {
|
|
@@ -3564,6 +3560,28 @@
|
|
|
3564
3560
|
"allowNo": false,
|
|
3565
3561
|
"type": "boolean"
|
|
3566
3562
|
},
|
|
3563
|
+
"branch": {
|
|
3564
|
+
"char": "b",
|
|
3565
|
+
"description": "Filter by branch name",
|
|
3566
|
+
"name": "branch",
|
|
3567
|
+
"required": false,
|
|
3568
|
+
"hasDynamicHelp": false,
|
|
3569
|
+
"multiple": false,
|
|
3570
|
+
"type": "option"
|
|
3571
|
+
},
|
|
3572
|
+
"obj-type": {
|
|
3573
|
+
"description": "Filter by object type",
|
|
3574
|
+
"name": "obj-type",
|
|
3575
|
+
"required": false,
|
|
3576
|
+
"hasDynamicHelp": false,
|
|
3577
|
+
"multiple": false,
|
|
3578
|
+
"options": [
|
|
3579
|
+
"function",
|
|
3580
|
+
"query",
|
|
3581
|
+
"middleware"
|
|
3582
|
+
],
|
|
3583
|
+
"type": "option"
|
|
3584
|
+
},
|
|
3567
3585
|
"output": {
|
|
3568
3586
|
"char": "o",
|
|
3569
3587
|
"description": "Output format",
|
|
@@ -3590,7 +3608,7 @@
|
|
|
3590
3608
|
},
|
|
3591
3609
|
"hasDynamicHelp": false,
|
|
3592
3610
|
"hiddenAliases": [],
|
|
3593
|
-
"id": "unit_test:
|
|
3611
|
+
"id": "unit_test:list",
|
|
3594
3612
|
"pluginAlias": "@xano/cli",
|
|
3595
3613
|
"pluginName": "@xano/cli",
|
|
3596
3614
|
"pluginType": "core",
|
|
@@ -3601,17 +3619,23 @@
|
|
|
3601
3619
|
"dist",
|
|
3602
3620
|
"commands",
|
|
3603
3621
|
"unit_test",
|
|
3604
|
-
"
|
|
3622
|
+
"list",
|
|
3605
3623
|
"index.js"
|
|
3606
3624
|
]
|
|
3607
3625
|
},
|
|
3608
|
-
"unit_test:
|
|
3626
|
+
"unit_test:run": {
|
|
3609
3627
|
"aliases": [],
|
|
3610
|
-
"args": {
|
|
3611
|
-
|
|
3628
|
+
"args": {
|
|
3629
|
+
"unit_test_id": {
|
|
3630
|
+
"description": "ID of the unit test to run",
|
|
3631
|
+
"name": "unit_test_id",
|
|
3632
|
+
"required": true
|
|
3633
|
+
}
|
|
3634
|
+
},
|
|
3635
|
+
"description": "Run a unit test",
|
|
3612
3636
|
"examples": [
|
|
3613
|
-
"$ xano unit-test run-
|
|
3614
|
-
"$ xano unit-test run
|
|
3637
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3638
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3615
3639
|
],
|
|
3616
3640
|
"flags": {
|
|
3617
3641
|
"profile": {
|
|
@@ -3633,28 +3657,6 @@
|
|
|
3633
3657
|
"allowNo": false,
|
|
3634
3658
|
"type": "boolean"
|
|
3635
3659
|
},
|
|
3636
|
-
"branch": {
|
|
3637
|
-
"char": "b",
|
|
3638
|
-
"description": "Filter by branch name",
|
|
3639
|
-
"name": "branch",
|
|
3640
|
-
"required": false,
|
|
3641
|
-
"hasDynamicHelp": false,
|
|
3642
|
-
"multiple": false,
|
|
3643
|
-
"type": "option"
|
|
3644
|
-
},
|
|
3645
|
-
"obj-type": {
|
|
3646
|
-
"description": "Filter by object type",
|
|
3647
|
-
"name": "obj-type",
|
|
3648
|
-
"required": false,
|
|
3649
|
-
"hasDynamicHelp": false,
|
|
3650
|
-
"multiple": false,
|
|
3651
|
-
"options": [
|
|
3652
|
-
"function",
|
|
3653
|
-
"query",
|
|
3654
|
-
"middleware"
|
|
3655
|
-
],
|
|
3656
|
-
"type": "option"
|
|
3657
|
-
},
|
|
3658
3660
|
"output": {
|
|
3659
3661
|
"char": "o",
|
|
3660
3662
|
"description": "Output format",
|
|
@@ -3681,7 +3683,7 @@
|
|
|
3681
3683
|
},
|
|
3682
3684
|
"hasDynamicHelp": false,
|
|
3683
3685
|
"hiddenAliases": [],
|
|
3684
|
-
"id": "unit_test:
|
|
3686
|
+
"id": "unit_test:run",
|
|
3685
3687
|
"pluginAlias": "@xano/cli",
|
|
3686
3688
|
"pluginName": "@xano/cli",
|
|
3687
3689
|
"pluginType": "core",
|
|
@@ -3692,23 +3694,17 @@
|
|
|
3692
3694
|
"dist",
|
|
3693
3695
|
"commands",
|
|
3694
3696
|
"unit_test",
|
|
3695
|
-
"
|
|
3697
|
+
"run",
|
|
3696
3698
|
"index.js"
|
|
3697
3699
|
]
|
|
3698
3700
|
},
|
|
3699
|
-
"
|
|
3701
|
+
"unit_test:run_all": {
|
|
3700
3702
|
"aliases": [],
|
|
3701
|
-
"args": {
|
|
3702
|
-
|
|
3703
|
-
"description": "ID of the workflow test to delete",
|
|
3704
|
-
"name": "workflow_test_id",
|
|
3705
|
-
"required": true
|
|
3706
|
-
}
|
|
3707
|
-
},
|
|
3708
|
-
"description": "Delete a workflow test",
|
|
3703
|
+
"args": {},
|
|
3704
|
+
"description": "Run all unit tests in a workspace",
|
|
3709
3705
|
"examples": [
|
|
3710
|
-
"$ xano
|
|
3711
|
-
"$ xano
|
|
3706
|
+
"$ 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",
|
|
3707
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3712
3708
|
],
|
|
3713
3709
|
"flags": {
|
|
3714
3710
|
"profile": {
|
|
@@ -3730,13 +3726,27 @@
|
|
|
3730
3726
|
"allowNo": false,
|
|
3731
3727
|
"type": "boolean"
|
|
3732
3728
|
},
|
|
3733
|
-
"
|
|
3734
|
-
"char": "
|
|
3735
|
-
"description": "
|
|
3736
|
-
"name": "
|
|
3729
|
+
"branch": {
|
|
3730
|
+
"char": "b",
|
|
3731
|
+
"description": "Filter by branch name",
|
|
3732
|
+
"name": "branch",
|
|
3737
3733
|
"required": false,
|
|
3738
|
-
"
|
|
3739
|
-
"
|
|
3734
|
+
"hasDynamicHelp": false,
|
|
3735
|
+
"multiple": false,
|
|
3736
|
+
"type": "option"
|
|
3737
|
+
},
|
|
3738
|
+
"obj-type": {
|
|
3739
|
+
"description": "Filter by object type",
|
|
3740
|
+
"name": "obj-type",
|
|
3741
|
+
"required": false,
|
|
3742
|
+
"hasDynamicHelp": false,
|
|
3743
|
+
"multiple": false,
|
|
3744
|
+
"options": [
|
|
3745
|
+
"function",
|
|
3746
|
+
"query",
|
|
3747
|
+
"middleware"
|
|
3748
|
+
],
|
|
3749
|
+
"type": "option"
|
|
3740
3750
|
},
|
|
3741
3751
|
"output": {
|
|
3742
3752
|
"char": "o",
|
|
@@ -3764,7 +3774,7 @@
|
|
|
3764
3774
|
},
|
|
3765
3775
|
"hasDynamicHelp": false,
|
|
3766
3776
|
"hiddenAliases": [],
|
|
3767
|
-
"id": "
|
|
3777
|
+
"id": "unit_test:run_all",
|
|
3768
3778
|
"pluginAlias": "@xano/cli",
|
|
3769
3779
|
"pluginName": "@xano/cli",
|
|
3770
3780
|
"pluginType": "core",
|
|
@@ -3774,8 +3784,8 @@
|
|
|
3774
3784
|
"relativePath": [
|
|
3775
3785
|
"dist",
|
|
3776
3786
|
"commands",
|
|
3777
|
-
"
|
|
3778
|
-
"
|
|
3787
|
+
"unit_test",
|
|
3788
|
+
"run_all",
|
|
3779
3789
|
"index.js"
|
|
3780
3790
|
]
|
|
3781
3791
|
},
|
|
@@ -3863,21 +3873,19 @@
|
|
|
3863
3873
|
"index.js"
|
|
3864
3874
|
]
|
|
3865
3875
|
},
|
|
3866
|
-
"
|
|
3876
|
+
"workflow_test:delete": {
|
|
3867
3877
|
"aliases": [],
|
|
3868
3878
|
"args": {
|
|
3869
|
-
"
|
|
3870
|
-
"description": "
|
|
3871
|
-
"name": "
|
|
3879
|
+
"workflow_test_id": {
|
|
3880
|
+
"description": "ID of the workflow test to delete",
|
|
3881
|
+
"name": "workflow_test_id",
|
|
3872
3882
|
"required": true
|
|
3873
3883
|
}
|
|
3874
3884
|
},
|
|
3875
|
-
"description": "
|
|
3885
|
+
"description": "Delete a workflow test",
|
|
3876
3886
|
"examples": [
|
|
3877
|
-
"$ xano
|
|
3878
|
-
"$ xano
|
|
3879
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3880
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3887
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3888
|
+
"$ xano workflow-test delete 1 --force"
|
|
3881
3889
|
],
|
|
3882
3890
|
"flags": {
|
|
3883
3891
|
"profile": {
|
|
@@ -3899,39 +3907,31 @@
|
|
|
3899
3907
|
"allowNo": false,
|
|
3900
3908
|
"type": "boolean"
|
|
3901
3909
|
},
|
|
3902
|
-
"
|
|
3903
|
-
"
|
|
3904
|
-
"
|
|
3905
|
-
"
|
|
3906
|
-
"allowNo": false,
|
|
3907
|
-
"type": "boolean"
|
|
3908
|
-
},
|
|
3909
|
-
"env": {
|
|
3910
|
-
"description": "Include environment variables",
|
|
3911
|
-
"name": "env",
|
|
3910
|
+
"force": {
|
|
3911
|
+
"char": "f",
|
|
3912
|
+
"description": "Skip confirmation prompt",
|
|
3913
|
+
"name": "force",
|
|
3912
3914
|
"required": false,
|
|
3913
3915
|
"allowNo": false,
|
|
3914
3916
|
"type": "boolean"
|
|
3915
3917
|
},
|
|
3916
|
-
"
|
|
3917
|
-
"
|
|
3918
|
-
"
|
|
3918
|
+
"output": {
|
|
3919
|
+
"char": "o",
|
|
3920
|
+
"description": "Output format",
|
|
3921
|
+
"name": "output",
|
|
3919
3922
|
"required": false,
|
|
3920
|
-
"
|
|
3921
|
-
"type": "boolean"
|
|
3922
|
-
},
|
|
3923
|
-
"tenant": {
|
|
3924
|
-
"char": "t",
|
|
3925
|
-
"description": "Tenant name to pull from",
|
|
3926
|
-
"name": "tenant",
|
|
3927
|
-
"required": true,
|
|
3923
|
+
"default": "summary",
|
|
3928
3924
|
"hasDynamicHelp": false,
|
|
3929
3925
|
"multiple": false,
|
|
3926
|
+
"options": [
|
|
3927
|
+
"summary",
|
|
3928
|
+
"json"
|
|
3929
|
+
],
|
|
3930
3930
|
"type": "option"
|
|
3931
3931
|
},
|
|
3932
3932
|
"workspace": {
|
|
3933
3933
|
"char": "w",
|
|
3934
|
-
"description": "Workspace ID (
|
|
3934
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3935
3935
|
"name": "workspace",
|
|
3936
3936
|
"required": false,
|
|
3937
3937
|
"hasDynamicHelp": false,
|
|
@@ -3941,7 +3941,7 @@
|
|
|
3941
3941
|
},
|
|
3942
3942
|
"hasDynamicHelp": false,
|
|
3943
3943
|
"hiddenAliases": [],
|
|
3944
|
-
"id": "
|
|
3944
|
+
"id": "workflow_test:delete",
|
|
3945
3945
|
"pluginAlias": "@xano/cli",
|
|
3946
3946
|
"pluginName": "@xano/cli",
|
|
3947
3947
|
"pluginType": "core",
|
|
@@ -3951,8 +3951,8 @@
|
|
|
3951
3951
|
"relativePath": [
|
|
3952
3952
|
"dist",
|
|
3953
3953
|
"commands",
|
|
3954
|
-
"
|
|
3955
|
-
"
|
|
3954
|
+
"workflow_test",
|
|
3955
|
+
"delete",
|
|
3956
3956
|
"index.js"
|
|
3957
3957
|
]
|
|
3958
3958
|
},
|
|
@@ -4113,19 +4113,20 @@
|
|
|
4113
4113
|
"index.js"
|
|
4114
4114
|
]
|
|
4115
4115
|
},
|
|
4116
|
-
"
|
|
4116
|
+
"workspace:create": {
|
|
4117
4117
|
"aliases": [],
|
|
4118
4118
|
"args": {
|
|
4119
|
-
"
|
|
4120
|
-
"description": "
|
|
4121
|
-
"name": "
|
|
4119
|
+
"name": {
|
|
4120
|
+
"description": "Name of the workspace",
|
|
4121
|
+
"name": "name",
|
|
4122
4122
|
"required": true
|
|
4123
4123
|
}
|
|
4124
4124
|
},
|
|
4125
|
-
"description": "
|
|
4125
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4126
4126
|
"examples": [
|
|
4127
|
-
"$ xano
|
|
4128
|
-
"$ xano
|
|
4127
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4128
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4129
|
+
"$ 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"
|
|
4129
4130
|
],
|
|
4130
4131
|
"flags": {
|
|
4131
4132
|
"profile": {
|
|
@@ -4147,6 +4148,15 @@
|
|
|
4147
4148
|
"allowNo": false,
|
|
4148
4149
|
"type": "boolean"
|
|
4149
4150
|
},
|
|
4151
|
+
"description": {
|
|
4152
|
+
"char": "d",
|
|
4153
|
+
"description": "Description for the workspace",
|
|
4154
|
+
"name": "description",
|
|
4155
|
+
"required": false,
|
|
4156
|
+
"hasDynamicHelp": false,
|
|
4157
|
+
"multiple": false,
|
|
4158
|
+
"type": "option"
|
|
4159
|
+
},
|
|
4150
4160
|
"output": {
|
|
4151
4161
|
"char": "o",
|
|
4152
4162
|
"description": "Output format",
|
|
@@ -4160,20 +4170,11 @@
|
|
|
4160
4170
|
"json"
|
|
4161
4171
|
],
|
|
4162
4172
|
"type": "option"
|
|
4163
|
-
},
|
|
4164
|
-
"workspace": {
|
|
4165
|
-
"char": "w",
|
|
4166
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4167
|
-
"name": "workspace",
|
|
4168
|
-
"required": false,
|
|
4169
|
-
"hasDynamicHelp": false,
|
|
4170
|
-
"multiple": false,
|
|
4171
|
-
"type": "option"
|
|
4172
4173
|
}
|
|
4173
4174
|
},
|
|
4174
4175
|
"hasDynamicHelp": false,
|
|
4175
4176
|
"hiddenAliases": [],
|
|
4176
|
-
"id": "
|
|
4177
|
+
"id": "workspace:create",
|
|
4177
4178
|
"pluginAlias": "@xano/cli",
|
|
4178
4179
|
"pluginName": "@xano/cli",
|
|
4179
4180
|
"pluginType": "core",
|
|
@@ -4183,8 +4184,8 @@
|
|
|
4183
4184
|
"relativePath": [
|
|
4184
4185
|
"dist",
|
|
4185
4186
|
"commands",
|
|
4186
|
-
"
|
|
4187
|
-
"
|
|
4187
|
+
"workspace",
|
|
4188
|
+
"create",
|
|
4188
4189
|
"index.js"
|
|
4189
4190
|
]
|
|
4190
4191
|
},
|
|
@@ -4263,20 +4264,21 @@
|
|
|
4263
4264
|
"index.js"
|
|
4264
4265
|
]
|
|
4265
4266
|
},
|
|
4266
|
-
"workspace:
|
|
4267
|
+
"workspace:edit": {
|
|
4267
4268
|
"aliases": [],
|
|
4268
4269
|
"args": {
|
|
4269
4270
|
"workspace_id": {
|
|
4270
|
-
"description": "Workspace ID to
|
|
4271
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4271
4272
|
"name": "workspace_id",
|
|
4272
4273
|
"required": false
|
|
4273
4274
|
}
|
|
4274
4275
|
},
|
|
4275
|
-
"description": "
|
|
4276
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4276
4277
|
"examples": [
|
|
4277
|
-
"$ xano workspace
|
|
4278
|
-
"$ xano workspace
|
|
4279
|
-
"$ xano workspace
|
|
4278
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4279
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4280
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4281
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4280
4282
|
],
|
|
4281
4283
|
"flags": {
|
|
4282
4284
|
"profile": {
|
|
@@ -4298,6 +4300,24 @@
|
|
|
4298
4300
|
"allowNo": false,
|
|
4299
4301
|
"type": "boolean"
|
|
4300
4302
|
},
|
|
4303
|
+
"description": {
|
|
4304
|
+
"char": "d",
|
|
4305
|
+
"description": "New description for the workspace",
|
|
4306
|
+
"name": "description",
|
|
4307
|
+
"required": false,
|
|
4308
|
+
"hasDynamicHelp": false,
|
|
4309
|
+
"multiple": false,
|
|
4310
|
+
"type": "option"
|
|
4311
|
+
},
|
|
4312
|
+
"name": {
|
|
4313
|
+
"char": "n",
|
|
4314
|
+
"description": "New name for the workspace",
|
|
4315
|
+
"name": "name",
|
|
4316
|
+
"required": false,
|
|
4317
|
+
"hasDynamicHelp": false,
|
|
4318
|
+
"multiple": false,
|
|
4319
|
+
"type": "option"
|
|
4320
|
+
},
|
|
4301
4321
|
"output": {
|
|
4302
4322
|
"char": "o",
|
|
4303
4323
|
"description": "Output format",
|
|
@@ -4311,11 +4331,25 @@
|
|
|
4311
4331
|
"json"
|
|
4312
4332
|
],
|
|
4313
4333
|
"type": "option"
|
|
4314
|
-
}
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4334
|
+
},
|
|
4335
|
+
"require-token": {
|
|
4336
|
+
"description": "Whether to require a token for documentation access",
|
|
4337
|
+
"name": "require-token",
|
|
4338
|
+
"required": false,
|
|
4339
|
+
"allowNo": true,
|
|
4340
|
+
"type": "boolean"
|
|
4341
|
+
},
|
|
4342
|
+
"swagger": {
|
|
4343
|
+
"description": "Enable or disable swagger documentation",
|
|
4344
|
+
"name": "swagger",
|
|
4345
|
+
"required": false,
|
|
4346
|
+
"allowNo": true,
|
|
4347
|
+
"type": "boolean"
|
|
4348
|
+
}
|
|
4349
|
+
},
|
|
4350
|
+
"hasDynamicHelp": false,
|
|
4351
|
+
"hiddenAliases": [],
|
|
4352
|
+
"id": "workspace:edit",
|
|
4319
4353
|
"pluginAlias": "@xano/cli",
|
|
4320
4354
|
"pluginName": "@xano/cli",
|
|
4321
4355
|
"pluginType": "core",
|
|
@@ -4326,24 +4360,24 @@
|
|
|
4326
4360
|
"dist",
|
|
4327
4361
|
"commands",
|
|
4328
4362
|
"workspace",
|
|
4329
|
-
"
|
|
4363
|
+
"edit",
|
|
4330
4364
|
"index.js"
|
|
4331
4365
|
]
|
|
4332
4366
|
},
|
|
4333
|
-
"workspace:
|
|
4367
|
+
"workspace:get": {
|
|
4334
4368
|
"aliases": [],
|
|
4335
4369
|
"args": {
|
|
4336
|
-
"
|
|
4337
|
-
"description": "
|
|
4338
|
-
"name": "
|
|
4339
|
-
"required":
|
|
4370
|
+
"workspace_id": {
|
|
4371
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4372
|
+
"name": "workspace_id",
|
|
4373
|
+
"required": false
|
|
4340
4374
|
}
|
|
4341
4375
|
},
|
|
4342
|
-
"description": "
|
|
4376
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4343
4377
|
"examples": [
|
|
4344
|
-
"$ xano workspace
|
|
4345
|
-
"$ xano workspace
|
|
4346
|
-
"$ xano workspace
|
|
4378
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4379
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4380
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4347
4381
|
],
|
|
4348
4382
|
"flags": {
|
|
4349
4383
|
"profile": {
|
|
@@ -4365,15 +4399,6 @@
|
|
|
4365
4399
|
"allowNo": false,
|
|
4366
4400
|
"type": "boolean"
|
|
4367
4401
|
},
|
|
4368
|
-
"description": {
|
|
4369
|
-
"char": "d",
|
|
4370
|
-
"description": "Description for the workspace",
|
|
4371
|
-
"name": "description",
|
|
4372
|
-
"required": false,
|
|
4373
|
-
"hasDynamicHelp": false,
|
|
4374
|
-
"multiple": false,
|
|
4375
|
-
"type": "option"
|
|
4376
|
-
},
|
|
4377
4402
|
"output": {
|
|
4378
4403
|
"char": "o",
|
|
4379
4404
|
"description": "Output format",
|
|
@@ -4391,7 +4416,7 @@
|
|
|
4391
4416
|
},
|
|
4392
4417
|
"hasDynamicHelp": false,
|
|
4393
4418
|
"hiddenAliases": [],
|
|
4394
|
-
"id": "workspace:
|
|
4419
|
+
"id": "workspace:get",
|
|
4395
4420
|
"pluginAlias": "@xano/cli",
|
|
4396
4421
|
"pluginName": "@xano/cli",
|
|
4397
4422
|
"pluginType": "core",
|
|
@@ -4402,25 +4427,19 @@
|
|
|
4402
4427
|
"dist",
|
|
4403
4428
|
"commands",
|
|
4404
4429
|
"workspace",
|
|
4405
|
-
"
|
|
4430
|
+
"get",
|
|
4406
4431
|
"index.js"
|
|
4407
4432
|
]
|
|
4408
4433
|
},
|
|
4409
|
-
"workspace:
|
|
4434
|
+
"workspace:list": {
|
|
4410
4435
|
"aliases": [],
|
|
4411
|
-
"args": {
|
|
4412
|
-
|
|
4413
|
-
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4414
|
-
"name": "workspace_id",
|
|
4415
|
-
"required": false
|
|
4416
|
-
}
|
|
4417
|
-
},
|
|
4418
|
-
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4436
|
+
"args": {},
|
|
4437
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4419
4438
|
"examples": [
|
|
4420
|
-
"$ xano workspace
|
|
4421
|
-
"$ xano workspace
|
|
4422
|
-
"$ xano workspace
|
|
4423
|
-
"$ xano workspace
|
|
4439
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4440
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4441
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4442
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4424
4443
|
],
|
|
4425
4444
|
"flags": {
|
|
4426
4445
|
"profile": {
|
|
@@ -4442,24 +4461,6 @@
|
|
|
4442
4461
|
"allowNo": false,
|
|
4443
4462
|
"type": "boolean"
|
|
4444
4463
|
},
|
|
4445
|
-
"description": {
|
|
4446
|
-
"char": "d",
|
|
4447
|
-
"description": "New description for the workspace",
|
|
4448
|
-
"name": "description",
|
|
4449
|
-
"required": false,
|
|
4450
|
-
"hasDynamicHelp": false,
|
|
4451
|
-
"multiple": false,
|
|
4452
|
-
"type": "option"
|
|
4453
|
-
},
|
|
4454
|
-
"name": {
|
|
4455
|
-
"char": "n",
|
|
4456
|
-
"description": "New name for the workspace",
|
|
4457
|
-
"name": "name",
|
|
4458
|
-
"required": false,
|
|
4459
|
-
"hasDynamicHelp": false,
|
|
4460
|
-
"multiple": false,
|
|
4461
|
-
"type": "option"
|
|
4462
|
-
},
|
|
4463
4464
|
"output": {
|
|
4464
4465
|
"char": "o",
|
|
4465
4466
|
"description": "Output format",
|
|
@@ -4473,25 +4474,11 @@
|
|
|
4473
4474
|
"json"
|
|
4474
4475
|
],
|
|
4475
4476
|
"type": "option"
|
|
4476
|
-
},
|
|
4477
|
-
"require-token": {
|
|
4478
|
-
"description": "Whether to require a token for documentation access",
|
|
4479
|
-
"name": "require-token",
|
|
4480
|
-
"required": false,
|
|
4481
|
-
"allowNo": true,
|
|
4482
|
-
"type": "boolean"
|
|
4483
|
-
},
|
|
4484
|
-
"swagger": {
|
|
4485
|
-
"description": "Enable or disable swagger documentation",
|
|
4486
|
-
"name": "swagger",
|
|
4487
|
-
"required": false,
|
|
4488
|
-
"allowNo": true,
|
|
4489
|
-
"type": "boolean"
|
|
4490
4477
|
}
|
|
4491
4478
|
},
|
|
4492
4479
|
"hasDynamicHelp": false,
|
|
4493
4480
|
"hiddenAliases": [],
|
|
4494
|
-
"id": "workspace:
|
|
4481
|
+
"id": "workspace:list",
|
|
4495
4482
|
"pluginAlias": "@xano/cli",
|
|
4496
4483
|
"pluginName": "@xano/cli",
|
|
4497
4484
|
"pluginType": "core",
|
|
@@ -4502,19 +4489,23 @@
|
|
|
4502
4489
|
"dist",
|
|
4503
4490
|
"commands",
|
|
4504
4491
|
"workspace",
|
|
4505
|
-
"
|
|
4492
|
+
"list",
|
|
4506
4493
|
"index.js"
|
|
4507
4494
|
]
|
|
4508
4495
|
},
|
|
4509
|
-
"
|
|
4496
|
+
"workflow_test:run": {
|
|
4510
4497
|
"aliases": [],
|
|
4511
|
-
"args": {
|
|
4512
|
-
|
|
4498
|
+
"args": {
|
|
4499
|
+
"workflow_test_id": {
|
|
4500
|
+
"description": "ID of the workflow test to run",
|
|
4501
|
+
"name": "workflow_test_id",
|
|
4502
|
+
"required": true
|
|
4503
|
+
}
|
|
4504
|
+
},
|
|
4505
|
+
"description": "Run a workflow test",
|
|
4513
4506
|
"examples": [
|
|
4514
|
-
"$ xano
|
|
4515
|
-
"$ xano
|
|
4516
|
-
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4517
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4507
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4508
|
+
"$ xano workflow-test run 1 -o json"
|
|
4518
4509
|
],
|
|
4519
4510
|
"flags": {
|
|
4520
4511
|
"profile": {
|
|
@@ -4549,11 +4540,20 @@
|
|
|
4549
4540
|
"json"
|
|
4550
4541
|
],
|
|
4551
4542
|
"type": "option"
|
|
4543
|
+
},
|
|
4544
|
+
"workspace": {
|
|
4545
|
+
"char": "w",
|
|
4546
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4547
|
+
"name": "workspace",
|
|
4548
|
+
"required": false,
|
|
4549
|
+
"hasDynamicHelp": false,
|
|
4550
|
+
"multiple": false,
|
|
4551
|
+
"type": "option"
|
|
4552
4552
|
}
|
|
4553
4553
|
},
|
|
4554
4554
|
"hasDynamicHelp": false,
|
|
4555
4555
|
"hiddenAliases": [],
|
|
4556
|
-
"id": "
|
|
4556
|
+
"id": "workflow_test:run",
|
|
4557
4557
|
"pluginAlias": "@xano/cli",
|
|
4558
4558
|
"pluginName": "@xano/cli",
|
|
4559
4559
|
"pluginType": "core",
|
|
@@ -4563,8 +4563,8 @@
|
|
|
4563
4563
|
"relativePath": [
|
|
4564
4564
|
"dist",
|
|
4565
4565
|
"commands",
|
|
4566
|
-
"
|
|
4567
|
-
"
|
|
4566
|
+
"workflow_test",
|
|
4567
|
+
"run",
|
|
4568
4568
|
"index.js"
|
|
4569
4569
|
]
|
|
4570
4570
|
},
|
|
@@ -4662,13 +4662,27 @@
|
|
|
4662
4662
|
"index.js"
|
|
4663
4663
|
]
|
|
4664
4664
|
},
|
|
4665
|
-
"
|
|
4665
|
+
"workspace:push": {
|
|
4666
4666
|
"aliases": [],
|
|
4667
|
-
"args": {
|
|
4668
|
-
|
|
4667
|
+
"args": {
|
|
4668
|
+
"directory": {
|
|
4669
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4670
|
+
"name": "directory",
|
|
4671
|
+
"required": true
|
|
4672
|
+
}
|
|
4673
|
+
},
|
|
4674
|
+
"description": "Push local documents to a workspace. Shows a preview of changes before pushing unless --yes is specified.",
|
|
4669
4675
|
"examples": [
|
|
4670
|
-
"$ xano
|
|
4671
|
-
"$ xano
|
|
4676
|
+
"$ xano workspace push ./my-workspace\nShows preview of changes, requires confirmation\n",
|
|
4677
|
+
"$ xano workspace push ./my-workspace --force\nSkip preview and push immediately (for CI/CD)\n",
|
|
4678
|
+
"$ xano workspace push ./my-workspace --delete\nShows preview including deletions, requires confirmation\n",
|
|
4679
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4680
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4681
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4682
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4683
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4684
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4685
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4672
4686
|
],
|
|
4673
4687
|
"flags": {
|
|
4674
4688
|
"profile": {
|
|
@@ -4689,11 +4703,78 @@
|
|
|
4689
4703
|
"required": false,
|
|
4690
4704
|
"allowNo": false,
|
|
4691
4705
|
"type": "boolean"
|
|
4706
|
+
},
|
|
4707
|
+
"branch": {
|
|
4708
|
+
"char": "b",
|
|
4709
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4710
|
+
"name": "branch",
|
|
4711
|
+
"required": false,
|
|
4712
|
+
"hasDynamicHelp": false,
|
|
4713
|
+
"multiple": false,
|
|
4714
|
+
"type": "option"
|
|
4715
|
+
},
|
|
4716
|
+
"delete": {
|
|
4717
|
+
"description": "Delete workspace objects not included in the push (default: false)",
|
|
4718
|
+
"name": "delete",
|
|
4719
|
+
"required": false,
|
|
4720
|
+
"allowNo": true,
|
|
4721
|
+
"type": "boolean"
|
|
4722
|
+
},
|
|
4723
|
+
"env": {
|
|
4724
|
+
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
4725
|
+
"name": "env",
|
|
4726
|
+
"required": false,
|
|
4727
|
+
"allowNo": true,
|
|
4728
|
+
"type": "boolean"
|
|
4729
|
+
},
|
|
4730
|
+
"partial": {
|
|
4731
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4732
|
+
"name": "partial",
|
|
4733
|
+
"required": false,
|
|
4734
|
+
"allowNo": false,
|
|
4735
|
+
"type": "boolean"
|
|
4736
|
+
},
|
|
4737
|
+
"records": {
|
|
4738
|
+
"description": "Include records in import (default: true, use --no-records to exclude)",
|
|
4739
|
+
"name": "records",
|
|
4740
|
+
"required": false,
|
|
4741
|
+
"allowNo": true,
|
|
4742
|
+
"type": "boolean"
|
|
4743
|
+
},
|
|
4744
|
+
"sync-guids": {
|
|
4745
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4746
|
+
"name": "sync-guids",
|
|
4747
|
+
"required": false,
|
|
4748
|
+
"allowNo": true,
|
|
4749
|
+
"type": "boolean"
|
|
4750
|
+
},
|
|
4751
|
+
"truncate": {
|
|
4752
|
+
"description": "Truncate all table records before importing",
|
|
4753
|
+
"name": "truncate",
|
|
4754
|
+
"required": false,
|
|
4755
|
+
"allowNo": false,
|
|
4756
|
+
"type": "boolean"
|
|
4757
|
+
},
|
|
4758
|
+
"workspace": {
|
|
4759
|
+
"char": "w",
|
|
4760
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4761
|
+
"name": "workspace",
|
|
4762
|
+
"required": false,
|
|
4763
|
+
"hasDynamicHelp": false,
|
|
4764
|
+
"multiple": false,
|
|
4765
|
+
"type": "option"
|
|
4766
|
+
},
|
|
4767
|
+
"force": {
|
|
4768
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4769
|
+
"name": "force",
|
|
4770
|
+
"required": false,
|
|
4771
|
+
"allowNo": false,
|
|
4772
|
+
"type": "boolean"
|
|
4692
4773
|
}
|
|
4693
4774
|
},
|
|
4694
4775
|
"hasDynamicHelp": false,
|
|
4695
4776
|
"hiddenAliases": [],
|
|
4696
|
-
"id": "
|
|
4777
|
+
"id": "workspace:push",
|
|
4697
4778
|
"pluginAlias": "@xano/cli",
|
|
4698
4779
|
"pluginName": "@xano/cli",
|
|
4699
4780
|
"pluginType": "core",
|
|
@@ -4703,26 +4784,18 @@
|
|
|
4703
4784
|
"relativePath": [
|
|
4704
4785
|
"dist",
|
|
4705
4786
|
"commands",
|
|
4706
|
-
"profile",
|
|
4707
4787
|
"workspace",
|
|
4708
|
-
"
|
|
4788
|
+
"push",
|
|
4709
4789
|
"index.js"
|
|
4710
4790
|
]
|
|
4711
4791
|
},
|
|
4712
|
-
"
|
|
4792
|
+
"profile:workspace:set": {
|
|
4713
4793
|
"aliases": [],
|
|
4714
|
-
"args": {
|
|
4715
|
-
|
|
4716
|
-
"description": "Static Host name",
|
|
4717
|
-
"name": "static_host",
|
|
4718
|
-
"required": true
|
|
4719
|
-
}
|
|
4720
|
-
},
|
|
4721
|
-
"description": "Create a new build for a static host",
|
|
4794
|
+
"args": {},
|
|
4795
|
+
"description": "Interactively select a workspace for a profile",
|
|
4722
4796
|
"examples": [
|
|
4723
|
-
"$ xano
|
|
4724
|
-
"$ xano
|
|
4725
|
-
"$ 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"
|
|
4797
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
4798
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
4726
4799
|
],
|
|
4727
4800
|
"flags": {
|
|
4728
4801
|
"profile": {
|
|
@@ -4743,33 +4816,61 @@
|
|
|
4743
4816
|
"required": false,
|
|
4744
4817
|
"allowNo": false,
|
|
4745
4818
|
"type": "boolean"
|
|
4746
|
-
}
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4819
|
+
}
|
|
4820
|
+
},
|
|
4821
|
+
"hasDynamicHelp": false,
|
|
4822
|
+
"hiddenAliases": [],
|
|
4823
|
+
"id": "profile:workspace:set",
|
|
4824
|
+
"pluginAlias": "@xano/cli",
|
|
4825
|
+
"pluginName": "@xano/cli",
|
|
4826
|
+
"pluginType": "core",
|
|
4827
|
+
"strict": true,
|
|
4828
|
+
"enableJsonFlag": false,
|
|
4829
|
+
"isESM": true,
|
|
4830
|
+
"relativePath": [
|
|
4831
|
+
"dist",
|
|
4832
|
+
"commands",
|
|
4833
|
+
"profile",
|
|
4834
|
+
"workspace",
|
|
4835
|
+
"set",
|
|
4836
|
+
"index.js"
|
|
4837
|
+
]
|
|
4838
|
+
},
|
|
4839
|
+
"static_host:build:list": {
|
|
4840
|
+
"aliases": [],
|
|
4841
|
+
"args": {
|
|
4842
|
+
"static_host": {
|
|
4843
|
+
"description": "Static Host name",
|
|
4844
|
+
"name": "static_host",
|
|
4845
|
+
"required": true
|
|
4846
|
+
}
|
|
4847
|
+
},
|
|
4848
|
+
"description": "List all builds for a static host",
|
|
4849
|
+
"examples": [
|
|
4850
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
4851
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
4852
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
4853
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4854
|
+
],
|
|
4855
|
+
"flags": {
|
|
4856
|
+
"profile": {
|
|
4857
|
+
"char": "p",
|
|
4858
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4859
|
+
"env": "XANO_PROFILE",
|
|
4860
|
+
"name": "profile",
|
|
4861
|
+
"required": false,
|
|
4761
4862
|
"hasDynamicHelp": false,
|
|
4762
4863
|
"multiple": false,
|
|
4763
4864
|
"type": "option"
|
|
4764
4865
|
},
|
|
4765
|
-
"
|
|
4766
|
-
"char": "
|
|
4767
|
-
"description": "
|
|
4768
|
-
"
|
|
4769
|
-
"
|
|
4770
|
-
"
|
|
4771
|
-
"
|
|
4772
|
-
"type": "
|
|
4866
|
+
"verbose": {
|
|
4867
|
+
"char": "v",
|
|
4868
|
+
"description": "Show detailed request/response information",
|
|
4869
|
+
"env": "XANO_VERBOSE",
|
|
4870
|
+
"name": "verbose",
|
|
4871
|
+
"required": false,
|
|
4872
|
+
"allowNo": false,
|
|
4873
|
+
"type": "boolean"
|
|
4773
4874
|
},
|
|
4774
4875
|
"output": {
|
|
4775
4876
|
"char": "o",
|
|
@@ -4785,6 +4886,24 @@
|
|
|
4785
4886
|
],
|
|
4786
4887
|
"type": "option"
|
|
4787
4888
|
},
|
|
4889
|
+
"page": {
|
|
4890
|
+
"description": "Page number for pagination",
|
|
4891
|
+
"name": "page",
|
|
4892
|
+
"required": false,
|
|
4893
|
+
"default": 1,
|
|
4894
|
+
"hasDynamicHelp": false,
|
|
4895
|
+
"multiple": false,
|
|
4896
|
+
"type": "option"
|
|
4897
|
+
},
|
|
4898
|
+
"per_page": {
|
|
4899
|
+
"description": "Number of results per page",
|
|
4900
|
+
"name": "per_page",
|
|
4901
|
+
"required": false,
|
|
4902
|
+
"default": 50,
|
|
4903
|
+
"hasDynamicHelp": false,
|
|
4904
|
+
"multiple": false,
|
|
4905
|
+
"type": "option"
|
|
4906
|
+
},
|
|
4788
4907
|
"workspace": {
|
|
4789
4908
|
"char": "w",
|
|
4790
4909
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4797,7 +4916,7 @@
|
|
|
4797
4916
|
},
|
|
4798
4917
|
"hasDynamicHelp": false,
|
|
4799
4918
|
"hiddenAliases": [],
|
|
4800
|
-
"id": "static_host:build:
|
|
4919
|
+
"id": "static_host:build:list",
|
|
4801
4920
|
"pluginAlias": "@xano/cli",
|
|
4802
4921
|
"pluginName": "@xano/cli",
|
|
4803
4922
|
"pluginType": "core",
|
|
@@ -4809,30 +4928,24 @@
|
|
|
4809
4928
|
"commands",
|
|
4810
4929
|
"static_host",
|
|
4811
4930
|
"build",
|
|
4812
|
-
"
|
|
4931
|
+
"list",
|
|
4813
4932
|
"index.js"
|
|
4814
4933
|
]
|
|
4815
4934
|
},
|
|
4816
|
-
"
|
|
4935
|
+
"tenant:env:delete": {
|
|
4817
4936
|
"aliases": [],
|
|
4818
4937
|
"args": {
|
|
4819
|
-
"
|
|
4820
|
-
"description": "
|
|
4821
|
-
"name": "
|
|
4822
|
-
"required": true
|
|
4823
|
-
},
|
|
4824
|
-
"static_host": {
|
|
4825
|
-
"description": "Static Host name",
|
|
4826
|
-
"name": "static_host",
|
|
4938
|
+
"tenant_name": {
|
|
4939
|
+
"description": "Tenant name",
|
|
4940
|
+
"name": "tenant_name",
|
|
4827
4941
|
"required": true
|
|
4828
4942
|
}
|
|
4829
4943
|
},
|
|
4830
|
-
"description": "
|
|
4944
|
+
"description": "Delete an environment variable from a tenant",
|
|
4831
4945
|
"examples": [
|
|
4832
|
-
"$ xano
|
|
4833
|
-
"$ xano
|
|
4834
|
-
"$ xano
|
|
4835
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4946
|
+
"$ 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",
|
|
4947
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
4948
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
4836
4949
|
],
|
|
4837
4950
|
"flags": {
|
|
4838
4951
|
"profile": {
|
|
@@ -4854,6 +4967,23 @@
|
|
|
4854
4967
|
"allowNo": false,
|
|
4855
4968
|
"type": "boolean"
|
|
4856
4969
|
},
|
|
4970
|
+
"force": {
|
|
4971
|
+
"char": "f",
|
|
4972
|
+
"description": "Skip confirmation prompt",
|
|
4973
|
+
"name": "force",
|
|
4974
|
+
"required": false,
|
|
4975
|
+
"allowNo": false,
|
|
4976
|
+
"type": "boolean"
|
|
4977
|
+
},
|
|
4978
|
+
"name": {
|
|
4979
|
+
"char": "n",
|
|
4980
|
+
"description": "Environment variable name",
|
|
4981
|
+
"name": "name",
|
|
4982
|
+
"required": true,
|
|
4983
|
+
"hasDynamicHelp": false,
|
|
4984
|
+
"multiple": false,
|
|
4985
|
+
"type": "option"
|
|
4986
|
+
},
|
|
4857
4987
|
"output": {
|
|
4858
4988
|
"char": "o",
|
|
4859
4989
|
"description": "Output format",
|
|
@@ -4870,7 +5000,7 @@
|
|
|
4870
5000
|
},
|
|
4871
5001
|
"workspace": {
|
|
4872
5002
|
"char": "w",
|
|
4873
|
-
"description": "Workspace ID (
|
|
5003
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4874
5004
|
"name": "workspace",
|
|
4875
5005
|
"required": false,
|
|
4876
5006
|
"hasDynamicHelp": false,
|
|
@@ -4880,7 +5010,7 @@
|
|
|
4880
5010
|
},
|
|
4881
5011
|
"hasDynamicHelp": false,
|
|
4882
5012
|
"hiddenAliases": [],
|
|
4883
|
-
"id": "
|
|
5013
|
+
"id": "tenant:env:delete",
|
|
4884
5014
|
"pluginAlias": "@xano/cli",
|
|
4885
5015
|
"pluginName": "@xano/cli",
|
|
4886
5016
|
"pluginType": "core",
|
|
@@ -4890,27 +5020,32 @@
|
|
|
4890
5020
|
"relativePath": [
|
|
4891
5021
|
"dist",
|
|
4892
5022
|
"commands",
|
|
4893
|
-
"
|
|
4894
|
-
"
|
|
4895
|
-
"
|
|
5023
|
+
"tenant",
|
|
5024
|
+
"env",
|
|
5025
|
+
"delete",
|
|
4896
5026
|
"index.js"
|
|
4897
5027
|
]
|
|
4898
5028
|
},
|
|
4899
|
-
"static_host:build:
|
|
5029
|
+
"static_host:build:get": {
|
|
4900
5030
|
"aliases": [],
|
|
4901
5031
|
"args": {
|
|
5032
|
+
"build_id": {
|
|
5033
|
+
"description": "Build ID",
|
|
5034
|
+
"name": "build_id",
|
|
5035
|
+
"required": true
|
|
5036
|
+
},
|
|
4902
5037
|
"static_host": {
|
|
4903
5038
|
"description": "Static Host name",
|
|
4904
5039
|
"name": "static_host",
|
|
4905
5040
|
"required": true
|
|
4906
5041
|
}
|
|
4907
5042
|
},
|
|
4908
|
-
"description": "
|
|
5043
|
+
"description": "Get details of a specific build for a static host",
|
|
4909
5044
|
"examples": [
|
|
4910
|
-
"$ xano static_host:build:
|
|
4911
|
-
"$ xano static_host:build:
|
|
4912
|
-
"$ xano static_host:build:
|
|
4913
|
-
"$ xano static_host:build:
|
|
5045
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5046
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5047
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5048
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4914
5049
|
],
|
|
4915
5050
|
"flags": {
|
|
4916
5051
|
"profile": {
|
|
@@ -4946,24 +5081,6 @@
|
|
|
4946
5081
|
],
|
|
4947
5082
|
"type": "option"
|
|
4948
5083
|
},
|
|
4949
|
-
"page": {
|
|
4950
|
-
"description": "Page number for pagination",
|
|
4951
|
-
"name": "page",
|
|
4952
|
-
"required": false,
|
|
4953
|
-
"default": 1,
|
|
4954
|
-
"hasDynamicHelp": false,
|
|
4955
|
-
"multiple": false,
|
|
4956
|
-
"type": "option"
|
|
4957
|
-
},
|
|
4958
|
-
"per_page": {
|
|
4959
|
-
"description": "Number of results per page",
|
|
4960
|
-
"name": "per_page",
|
|
4961
|
-
"required": false,
|
|
4962
|
-
"default": 50,
|
|
4963
|
-
"hasDynamicHelp": false,
|
|
4964
|
-
"multiple": false,
|
|
4965
|
-
"type": "option"
|
|
4966
|
-
},
|
|
4967
5084
|
"workspace": {
|
|
4968
5085
|
"char": "w",
|
|
4969
5086
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -4976,7 +5093,7 @@
|
|
|
4976
5093
|
},
|
|
4977
5094
|
"hasDynamicHelp": false,
|
|
4978
5095
|
"hiddenAliases": [],
|
|
4979
|
-
"id": "static_host:build:
|
|
5096
|
+
"id": "static_host:build:get",
|
|
4980
5097
|
"pluginAlias": "@xano/cli",
|
|
4981
5098
|
"pluginName": "@xano/cli",
|
|
4982
5099
|
"pluginType": "core",
|
|
@@ -4988,24 +5105,23 @@
|
|
|
4988
5105
|
"commands",
|
|
4989
5106
|
"static_host",
|
|
4990
5107
|
"build",
|
|
4991
|
-
"
|
|
5108
|
+
"get",
|
|
4992
5109
|
"index.js"
|
|
4993
5110
|
]
|
|
4994
5111
|
},
|
|
4995
|
-
"tenant:
|
|
5112
|
+
"tenant:env:get": {
|
|
4996
5113
|
"aliases": [],
|
|
4997
5114
|
"args": {
|
|
4998
5115
|
"tenant_name": {
|
|
4999
|
-
"description": "Tenant name
|
|
5116
|
+
"description": "Tenant name",
|
|
5000
5117
|
"name": "tenant_name",
|
|
5001
5118
|
"required": true
|
|
5002
5119
|
}
|
|
5003
5120
|
},
|
|
5004
|
-
"description": "
|
|
5121
|
+
"description": "Get a single environment variable for a tenant",
|
|
5005
5122
|
"examples": [
|
|
5006
|
-
"$ xano tenant
|
|
5007
|
-
"$ xano tenant
|
|
5008
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5123
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
5124
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
5009
5125
|
],
|
|
5010
5126
|
"flags": {
|
|
5011
5127
|
"profile": {
|
|
@@ -5027,22 +5143,15 @@
|
|
|
5027
5143
|
"allowNo": false,
|
|
5028
5144
|
"type": "boolean"
|
|
5029
5145
|
},
|
|
5030
|
-
"
|
|
5031
|
-
"
|
|
5032
|
-
"
|
|
5146
|
+
"name": {
|
|
5147
|
+
"char": "n",
|
|
5148
|
+
"description": "Environment variable name",
|
|
5149
|
+
"name": "name",
|
|
5033
5150
|
"required": true,
|
|
5034
5151
|
"hasDynamicHelp": false,
|
|
5035
5152
|
"multiple": false,
|
|
5036
5153
|
"type": "option"
|
|
5037
5154
|
},
|
|
5038
|
-
"force": {
|
|
5039
|
-
"char": "f",
|
|
5040
|
-
"description": "Skip confirmation prompt",
|
|
5041
|
-
"name": "force",
|
|
5042
|
-
"required": false,
|
|
5043
|
-
"allowNo": false,
|
|
5044
|
-
"type": "boolean"
|
|
5045
|
-
},
|
|
5046
5155
|
"output": {
|
|
5047
5156
|
"char": "o",
|
|
5048
5157
|
"description": "Output format",
|
|
@@ -5069,7 +5178,7 @@
|
|
|
5069
5178
|
},
|
|
5070
5179
|
"hasDynamicHelp": false,
|
|
5071
5180
|
"hiddenAliases": [],
|
|
5072
|
-
"id": "tenant:
|
|
5181
|
+
"id": "tenant:env:get",
|
|
5073
5182
|
"pluginAlias": "@xano/cli",
|
|
5074
5183
|
"pluginName": "@xano/cli",
|
|
5075
5184
|
"pluginType": "core",
|
|
@@ -5080,24 +5189,26 @@
|
|
|
5080
5189
|
"dist",
|
|
5081
5190
|
"commands",
|
|
5082
5191
|
"tenant",
|
|
5083
|
-
"
|
|
5084
|
-
"
|
|
5192
|
+
"env",
|
|
5193
|
+
"get",
|
|
5085
5194
|
"index.js"
|
|
5086
5195
|
]
|
|
5087
5196
|
},
|
|
5088
|
-
"tenant:
|
|
5197
|
+
"tenant:env:get_all": {
|
|
5089
5198
|
"aliases": [],
|
|
5090
5199
|
"args": {
|
|
5091
5200
|
"tenant_name": {
|
|
5092
|
-
"description": "Tenant name
|
|
5201
|
+
"description": "Tenant name",
|
|
5093
5202
|
"name": "tenant_name",
|
|
5094
5203
|
"required": true
|
|
5095
5204
|
}
|
|
5096
5205
|
},
|
|
5097
|
-
"description": "
|
|
5206
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
5098
5207
|
"examples": [
|
|
5099
|
-
"$ xano tenant
|
|
5100
|
-
"$ xano tenant
|
|
5208
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
5209
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
5210
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
5211
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
5101
5212
|
],
|
|
5102
5213
|
"flags": {
|
|
5103
5214
|
"profile": {
|
|
@@ -5119,12 +5230,11 @@
|
|
|
5119
5230
|
"allowNo": false,
|
|
5120
5231
|
"type": "boolean"
|
|
5121
5232
|
},
|
|
5122
|
-
"
|
|
5123
|
-
"char": "
|
|
5124
|
-
"description": "
|
|
5125
|
-
"name": "
|
|
5233
|
+
"file": {
|
|
5234
|
+
"char": "f",
|
|
5235
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
5236
|
+
"name": "file",
|
|
5126
5237
|
"required": false,
|
|
5127
|
-
"default": "",
|
|
5128
5238
|
"hasDynamicHelp": false,
|
|
5129
5239
|
"multiple": false,
|
|
5130
5240
|
"type": "option"
|
|
@@ -5143,6 +5253,13 @@
|
|
|
5143
5253
|
],
|
|
5144
5254
|
"type": "option"
|
|
5145
5255
|
},
|
|
5256
|
+
"view": {
|
|
5257
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
5258
|
+
"name": "view",
|
|
5259
|
+
"required": false,
|
|
5260
|
+
"allowNo": false,
|
|
5261
|
+
"type": "boolean"
|
|
5262
|
+
},
|
|
5146
5263
|
"workspace": {
|
|
5147
5264
|
"char": "w",
|
|
5148
5265
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5155,7 +5272,7 @@
|
|
|
5155
5272
|
},
|
|
5156
5273
|
"hasDynamicHelp": false,
|
|
5157
5274
|
"hiddenAliases": [],
|
|
5158
|
-
"id": "tenant:
|
|
5275
|
+
"id": "tenant:env:get_all",
|
|
5159
5276
|
"pluginAlias": "@xano/cli",
|
|
5160
5277
|
"pluginName": "@xano/cli",
|
|
5161
5278
|
"pluginType": "core",
|
|
@@ -5166,25 +5283,24 @@
|
|
|
5166
5283
|
"dist",
|
|
5167
5284
|
"commands",
|
|
5168
5285
|
"tenant",
|
|
5169
|
-
"
|
|
5170
|
-
"
|
|
5286
|
+
"env",
|
|
5287
|
+
"get_all",
|
|
5171
5288
|
"index.js"
|
|
5172
5289
|
]
|
|
5173
5290
|
},
|
|
5174
|
-
"tenant:
|
|
5291
|
+
"tenant:env:list": {
|
|
5175
5292
|
"aliases": [],
|
|
5176
5293
|
"args": {
|
|
5177
5294
|
"tenant_name": {
|
|
5178
|
-
"description": "Tenant name
|
|
5295
|
+
"description": "Tenant name",
|
|
5179
5296
|
"name": "tenant_name",
|
|
5180
5297
|
"required": true
|
|
5181
5298
|
}
|
|
5182
5299
|
},
|
|
5183
|
-
"description": "
|
|
5300
|
+
"description": "List environment variable keys for a tenant",
|
|
5184
5301
|
"examples": [
|
|
5185
|
-
"$ xano tenant
|
|
5186
|
-
"$ xano tenant
|
|
5187
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5302
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
5303
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
5188
5304
|
],
|
|
5189
5305
|
"flags": {
|
|
5190
5306
|
"profile": {
|
|
@@ -5206,18 +5322,10 @@
|
|
|
5206
5322
|
"allowNo": false,
|
|
5207
5323
|
"type": "boolean"
|
|
5208
5324
|
},
|
|
5209
|
-
"
|
|
5210
|
-
"description": "Backup ID to export",
|
|
5211
|
-
"name": "backup_id",
|
|
5212
|
-
"required": true,
|
|
5213
|
-
"hasDynamicHelp": false,
|
|
5214
|
-
"multiple": false,
|
|
5215
|
-
"type": "option"
|
|
5216
|
-
},
|
|
5217
|
-
"format": {
|
|
5325
|
+
"output": {
|
|
5218
5326
|
"char": "o",
|
|
5219
5327
|
"description": "Output format",
|
|
5220
|
-
"name": "
|
|
5328
|
+
"name": "output",
|
|
5221
5329
|
"required": false,
|
|
5222
5330
|
"default": "summary",
|
|
5223
5331
|
"hasDynamicHelp": false,
|
|
@@ -5228,14 +5336,6 @@
|
|
|
5228
5336
|
],
|
|
5229
5337
|
"type": "option"
|
|
5230
5338
|
},
|
|
5231
|
-
"output": {
|
|
5232
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5233
|
-
"name": "output",
|
|
5234
|
-
"required": false,
|
|
5235
|
-
"hasDynamicHelp": false,
|
|
5236
|
-
"multiple": false,
|
|
5237
|
-
"type": "option"
|
|
5238
|
-
},
|
|
5239
5339
|
"workspace": {
|
|
5240
5340
|
"char": "w",
|
|
5241
5341
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5248,7 +5348,7 @@
|
|
|
5248
5348
|
},
|
|
5249
5349
|
"hasDynamicHelp": false,
|
|
5250
5350
|
"hiddenAliases": [],
|
|
5251
|
-
"id": "tenant:
|
|
5351
|
+
"id": "tenant:env:list",
|
|
5252
5352
|
"pluginAlias": "@xano/cli",
|
|
5253
5353
|
"pluginName": "@xano/cli",
|
|
5254
5354
|
"pluginType": "core",
|
|
@@ -5259,24 +5359,24 @@
|
|
|
5259
5359
|
"dist",
|
|
5260
5360
|
"commands",
|
|
5261
5361
|
"tenant",
|
|
5262
|
-
"
|
|
5263
|
-
"
|
|
5362
|
+
"env",
|
|
5363
|
+
"list",
|
|
5264
5364
|
"index.js"
|
|
5265
5365
|
]
|
|
5266
5366
|
},
|
|
5267
|
-
"tenant:
|
|
5367
|
+
"tenant:env:set": {
|
|
5268
5368
|
"aliases": [],
|
|
5269
5369
|
"args": {
|
|
5270
5370
|
"tenant_name": {
|
|
5271
|
-
"description": "Tenant name
|
|
5371
|
+
"description": "Tenant name",
|
|
5272
5372
|
"name": "tenant_name",
|
|
5273
5373
|
"required": true
|
|
5274
5374
|
}
|
|
5275
5375
|
},
|
|
5276
|
-
"description": "
|
|
5376
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
5277
5377
|
"examples": [
|
|
5278
|
-
"$ xano tenant
|
|
5279
|
-
"$ xano tenant
|
|
5378
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
5379
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
5280
5380
|
],
|
|
5281
5381
|
"flags": {
|
|
5282
5382
|
"profile": {
|
|
@@ -5298,20 +5398,10 @@
|
|
|
5298
5398
|
"allowNo": false,
|
|
5299
5399
|
"type": "boolean"
|
|
5300
5400
|
},
|
|
5301
|
-
"
|
|
5302
|
-
"char": "
|
|
5303
|
-
"description": "
|
|
5304
|
-
"name": "
|
|
5305
|
-
"required": false,
|
|
5306
|
-
"default": "",
|
|
5307
|
-
"hasDynamicHelp": false,
|
|
5308
|
-
"multiple": false,
|
|
5309
|
-
"type": "option"
|
|
5310
|
-
},
|
|
5311
|
-
"file": {
|
|
5312
|
-
"char": "f",
|
|
5313
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5314
|
-
"name": "file",
|
|
5401
|
+
"name": {
|
|
5402
|
+
"char": "n",
|
|
5403
|
+
"description": "Environment variable name",
|
|
5404
|
+
"name": "name",
|
|
5315
5405
|
"required": true,
|
|
5316
5406
|
"hasDynamicHelp": false,
|
|
5317
5407
|
"multiple": false,
|
|
@@ -5331,6 +5421,14 @@
|
|
|
5331
5421
|
],
|
|
5332
5422
|
"type": "option"
|
|
5333
5423
|
},
|
|
5424
|
+
"value": {
|
|
5425
|
+
"description": "Environment variable value",
|
|
5426
|
+
"name": "value",
|
|
5427
|
+
"required": true,
|
|
5428
|
+
"hasDynamicHelp": false,
|
|
5429
|
+
"multiple": false,
|
|
5430
|
+
"type": "option"
|
|
5431
|
+
},
|
|
5334
5432
|
"workspace": {
|
|
5335
5433
|
"char": "w",
|
|
5336
5434
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5343,7 +5441,7 @@
|
|
|
5343
5441
|
},
|
|
5344
5442
|
"hasDynamicHelp": false,
|
|
5345
5443
|
"hiddenAliases": [],
|
|
5346
|
-
"id": "tenant:
|
|
5444
|
+
"id": "tenant:env:set",
|
|
5347
5445
|
"pluginAlias": "@xano/cli",
|
|
5348
5446
|
"pluginName": "@xano/cli",
|
|
5349
5447
|
"pluginType": "core",
|
|
@@ -5354,33 +5452,25 @@
|
|
|
5354
5452
|
"dist",
|
|
5355
5453
|
"commands",
|
|
5356
5454
|
"tenant",
|
|
5357
|
-
"
|
|
5358
|
-
"
|
|
5455
|
+
"env",
|
|
5456
|
+
"set",
|
|
5359
5457
|
"index.js"
|
|
5360
5458
|
]
|
|
5361
5459
|
},
|
|
5362
|
-
"
|
|
5460
|
+
"tenant:env:set_all": {
|
|
5363
5461
|
"aliases": [],
|
|
5364
5462
|
"args": {
|
|
5365
|
-
"
|
|
5366
|
-
"description": "
|
|
5367
|
-
"name": "
|
|
5463
|
+
"tenant_name": {
|
|
5464
|
+
"description": "Tenant name",
|
|
5465
|
+
"name": "tenant_name",
|
|
5368
5466
|
"required": true
|
|
5369
5467
|
}
|
|
5370
5468
|
},
|
|
5371
|
-
"description": "
|
|
5469
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
5372
5470
|
"examples": [
|
|
5373
|
-
"$ xano
|
|
5374
|
-
"$ xano
|
|
5375
|
-
"$ xano
|
|
5376
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
5377
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
5378
|
-
"$ xano workspace push ./my-workspace --no-delete\nPatch files without deleting existing workspace objects\n",
|
|
5379
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
5380
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
5381
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n",
|
|
5382
|
-
"$ xano workspace push ./my-workspace --truncate --no-records\nTruncate all table records without importing new ones\n",
|
|
5383
|
-
"$ xano workspace push ./my-workspace --no-records --no-env\nPush schema only, skip records and environment variables\n"
|
|
5471
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
5472
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
5473
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
5384
5474
|
],
|
|
5385
5475
|
"flags": {
|
|
5386
5476
|
"profile": {
|
|
@@ -5402,60 +5492,39 @@
|
|
|
5402
5492
|
"allowNo": false,
|
|
5403
5493
|
"type": "boolean"
|
|
5404
5494
|
},
|
|
5405
|
-
"
|
|
5406
|
-
"
|
|
5407
|
-
"
|
|
5408
|
-
"name": "branch",
|
|
5409
|
-
"required": false,
|
|
5410
|
-
"hasDynamicHelp": false,
|
|
5411
|
-
"multiple": false,
|
|
5412
|
-
"type": "option"
|
|
5413
|
-
},
|
|
5414
|
-
"delete": {
|
|
5415
|
-
"description": "Delete workspace objects not included in the push (default: false)",
|
|
5416
|
-
"name": "delete",
|
|
5417
|
-
"required": false,
|
|
5418
|
-
"allowNo": true,
|
|
5419
|
-
"type": "boolean"
|
|
5420
|
-
},
|
|
5421
|
-
"env": {
|
|
5422
|
-
"description": "Include environment variables in import (default: true, use --no-env to exclude)",
|
|
5423
|
-
"name": "env",
|
|
5424
|
-
"required": false,
|
|
5425
|
-
"allowNo": true,
|
|
5426
|
-
"type": "boolean"
|
|
5427
|
-
},
|
|
5428
|
-
"partial": {
|
|
5429
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
5430
|
-
"name": "partial",
|
|
5495
|
+
"clean": {
|
|
5496
|
+
"description": "Remove the source file after successful upload",
|
|
5497
|
+
"name": "clean",
|
|
5431
5498
|
"required": false,
|
|
5432
5499
|
"allowNo": false,
|
|
5433
5500
|
"type": "boolean"
|
|
5434
5501
|
},
|
|
5435
|
-
"
|
|
5436
|
-
"
|
|
5437
|
-
"
|
|
5438
|
-
"
|
|
5439
|
-
"allowNo": true,
|
|
5440
|
-
"type": "boolean"
|
|
5441
|
-
},
|
|
5442
|
-
"sync-guids": {
|
|
5443
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
5444
|
-
"name": "sync-guids",
|
|
5502
|
+
"file": {
|
|
5503
|
+
"char": "f",
|
|
5504
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
5505
|
+
"name": "file",
|
|
5445
5506
|
"required": false,
|
|
5446
|
-
"
|
|
5447
|
-
"
|
|
5507
|
+
"hasDynamicHelp": false,
|
|
5508
|
+
"multiple": false,
|
|
5509
|
+
"type": "option"
|
|
5448
5510
|
},
|
|
5449
|
-
"
|
|
5450
|
-
"
|
|
5451
|
-
"
|
|
5511
|
+
"output": {
|
|
5512
|
+
"char": "o",
|
|
5513
|
+
"description": "Output format",
|
|
5514
|
+
"name": "output",
|
|
5452
5515
|
"required": false,
|
|
5453
|
-
"
|
|
5454
|
-
"
|
|
5516
|
+
"default": "summary",
|
|
5517
|
+
"hasDynamicHelp": false,
|
|
5518
|
+
"multiple": false,
|
|
5519
|
+
"options": [
|
|
5520
|
+
"summary",
|
|
5521
|
+
"json"
|
|
5522
|
+
],
|
|
5523
|
+
"type": "option"
|
|
5455
5524
|
},
|
|
5456
5525
|
"workspace": {
|
|
5457
5526
|
"char": "w",
|
|
5458
|
-
"description": "Workspace ID (
|
|
5527
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5459
5528
|
"name": "workspace",
|
|
5460
5529
|
"required": false,
|
|
5461
5530
|
"hasDynamicHelp": false,
|
|
@@ -5465,7 +5534,7 @@
|
|
|
5465
5534
|
},
|
|
5466
5535
|
"hasDynamicHelp": false,
|
|
5467
5536
|
"hiddenAliases": [],
|
|
5468
|
-
"id": "
|
|
5537
|
+
"id": "tenant:env:set_all",
|
|
5469
5538
|
"pluginAlias": "@xano/cli",
|
|
5470
5539
|
"pluginName": "@xano/cli",
|
|
5471
5540
|
"pluginType": "core",
|
|
@@ -5475,24 +5544,27 @@
|
|
|
5475
5544
|
"relativePath": [
|
|
5476
5545
|
"dist",
|
|
5477
5546
|
"commands",
|
|
5478
|
-
"
|
|
5479
|
-
"
|
|
5547
|
+
"tenant",
|
|
5548
|
+
"env",
|
|
5549
|
+
"set_all",
|
|
5480
5550
|
"index.js"
|
|
5481
5551
|
]
|
|
5482
5552
|
},
|
|
5483
|
-
"tenant:
|
|
5553
|
+
"tenant:license:get": {
|
|
5484
5554
|
"aliases": [],
|
|
5485
5555
|
"args": {
|
|
5486
5556
|
"tenant_name": {
|
|
5487
|
-
"description": "Tenant name
|
|
5557
|
+
"description": "Tenant name",
|
|
5488
5558
|
"name": "tenant_name",
|
|
5489
5559
|
"required": true
|
|
5490
5560
|
}
|
|
5491
5561
|
},
|
|
5492
|
-
"description": "
|
|
5562
|
+
"description": "Get the license for a tenant",
|
|
5493
5563
|
"examples": [
|
|
5494
|
-
"$ xano tenant
|
|
5495
|
-
"$ xano tenant
|
|
5564
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
5565
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
5566
|
+
"$ xano tenant license get my-tenant --view",
|
|
5567
|
+
"$ xano tenant license get my-tenant -o json"
|
|
5496
5568
|
],
|
|
5497
5569
|
"flags": {
|
|
5498
5570
|
"profile": {
|
|
@@ -5514,6 +5586,15 @@
|
|
|
5514
5586
|
"allowNo": false,
|
|
5515
5587
|
"type": "boolean"
|
|
5516
5588
|
},
|
|
5589
|
+
"file": {
|
|
5590
|
+
"char": "f",
|
|
5591
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
5592
|
+
"name": "file",
|
|
5593
|
+
"required": false,
|
|
5594
|
+
"hasDynamicHelp": false,
|
|
5595
|
+
"multiple": false,
|
|
5596
|
+
"type": "option"
|
|
5597
|
+
},
|
|
5517
5598
|
"output": {
|
|
5518
5599
|
"char": "o",
|
|
5519
5600
|
"description": "Output format",
|
|
@@ -5528,14 +5609,12 @@
|
|
|
5528
5609
|
],
|
|
5529
5610
|
"type": "option"
|
|
5530
5611
|
},
|
|
5531
|
-
"
|
|
5532
|
-
"description": "
|
|
5533
|
-
"name": "
|
|
5612
|
+
"view": {
|
|
5613
|
+
"description": "Print license to stdout instead of saving to file",
|
|
5614
|
+
"name": "view",
|
|
5534
5615
|
"required": false,
|
|
5535
|
-
"
|
|
5536
|
-
"
|
|
5537
|
-
"multiple": false,
|
|
5538
|
-
"type": "option"
|
|
5616
|
+
"allowNo": false,
|
|
5617
|
+
"type": "boolean"
|
|
5539
5618
|
},
|
|
5540
5619
|
"workspace": {
|
|
5541
5620
|
"char": "w",
|
|
@@ -5549,7 +5628,7 @@
|
|
|
5549
5628
|
},
|
|
5550
5629
|
"hasDynamicHelp": false,
|
|
5551
5630
|
"hiddenAliases": [],
|
|
5552
|
-
"id": "tenant:
|
|
5631
|
+
"id": "tenant:license:get",
|
|
5553
5632
|
"pluginAlias": "@xano/cli",
|
|
5554
5633
|
"pluginName": "@xano/cli",
|
|
5555
5634
|
"pluginType": "core",
|
|
@@ -5560,24 +5639,26 @@
|
|
|
5560
5639
|
"dist",
|
|
5561
5640
|
"commands",
|
|
5562
5641
|
"tenant",
|
|
5563
|
-
"
|
|
5564
|
-
"
|
|
5642
|
+
"license",
|
|
5643
|
+
"get",
|
|
5565
5644
|
"index.js"
|
|
5566
5645
|
]
|
|
5567
5646
|
},
|
|
5568
|
-
"tenant:
|
|
5647
|
+
"tenant:license:set": {
|
|
5569
5648
|
"aliases": [],
|
|
5570
5649
|
"args": {
|
|
5571
5650
|
"tenant_name": {
|
|
5572
|
-
"description": "Tenant name
|
|
5651
|
+
"description": "Tenant name",
|
|
5573
5652
|
"name": "tenant_name",
|
|
5574
5653
|
"required": true
|
|
5575
5654
|
}
|
|
5576
5655
|
},
|
|
5577
|
-
"description": "
|
|
5656
|
+
"description": "Set/update the license for a tenant",
|
|
5578
5657
|
"examples": [
|
|
5579
|
-
"$ xano tenant
|
|
5580
|
-
"$ xano tenant
|
|
5658
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
5659
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
5660
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
5661
|
+
"$ xano tenant license set my-tenant -o json"
|
|
5581
5662
|
],
|
|
5582
5663
|
"flags": {
|
|
5583
5664
|
"profile": {
|
|
@@ -5599,22 +5680,28 @@
|
|
|
5599
5680
|
"allowNo": false,
|
|
5600
5681
|
"type": "boolean"
|
|
5601
5682
|
},
|
|
5602
|
-
"
|
|
5603
|
-
"description": "
|
|
5604
|
-
"
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
"
|
|
5608
|
-
"type": "option"
|
|
5609
|
-
},
|
|
5610
|
-
"force": {
|
|
5611
|
-
"char": "f",
|
|
5612
|
-
"description": "Skip confirmation prompt",
|
|
5613
|
-
"name": "force",
|
|
5683
|
+
"clean": {
|
|
5684
|
+
"description": "Remove the source file after successful upload",
|
|
5685
|
+
"exclusive": [
|
|
5686
|
+
"value"
|
|
5687
|
+
],
|
|
5688
|
+
"name": "clean",
|
|
5614
5689
|
"required": false,
|
|
5615
5690
|
"allowNo": false,
|
|
5616
5691
|
"type": "boolean"
|
|
5617
5692
|
},
|
|
5693
|
+
"file": {
|
|
5694
|
+
"char": "f",
|
|
5695
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
5696
|
+
"exclusive": [
|
|
5697
|
+
"value"
|
|
5698
|
+
],
|
|
5699
|
+
"name": "file",
|
|
5700
|
+
"required": false,
|
|
5701
|
+
"hasDynamicHelp": false,
|
|
5702
|
+
"multiple": false,
|
|
5703
|
+
"type": "option"
|
|
5704
|
+
},
|
|
5618
5705
|
"output": {
|
|
5619
5706
|
"char": "o",
|
|
5620
5707
|
"description": "Output format",
|
|
@@ -5629,6 +5716,18 @@
|
|
|
5629
5716
|
],
|
|
5630
5717
|
"type": "option"
|
|
5631
5718
|
},
|
|
5719
|
+
"value": {
|
|
5720
|
+
"description": "Inline license value",
|
|
5721
|
+
"exclusive": [
|
|
5722
|
+
"file",
|
|
5723
|
+
"clean"
|
|
5724
|
+
],
|
|
5725
|
+
"name": "value",
|
|
5726
|
+
"required": false,
|
|
5727
|
+
"hasDynamicHelp": false,
|
|
5728
|
+
"multiple": false,
|
|
5729
|
+
"type": "option"
|
|
5730
|
+
},
|
|
5632
5731
|
"workspace": {
|
|
5633
5732
|
"char": "w",
|
|
5634
5733
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5641,7 +5740,7 @@
|
|
|
5641
5740
|
},
|
|
5642
5741
|
"hasDynamicHelp": false,
|
|
5643
5742
|
"hiddenAliases": [],
|
|
5644
|
-
"id": "tenant:
|
|
5743
|
+
"id": "tenant:license:set",
|
|
5645
5744
|
"pluginAlias": "@xano/cli",
|
|
5646
5745
|
"pluginName": "@xano/cli",
|
|
5647
5746
|
"pluginType": "core",
|
|
@@ -5652,18 +5751,24 @@
|
|
|
5652
5751
|
"dist",
|
|
5653
5752
|
"commands",
|
|
5654
5753
|
"tenant",
|
|
5655
|
-
"
|
|
5656
|
-
"
|
|
5657
|
-
"index.js"
|
|
5754
|
+
"license",
|
|
5755
|
+
"set",
|
|
5756
|
+
"index.js"
|
|
5658
5757
|
]
|
|
5659
5758
|
},
|
|
5660
|
-
"tenant:
|
|
5759
|
+
"tenant:backup:create": {
|
|
5661
5760
|
"aliases": [],
|
|
5662
|
-
"args": {
|
|
5663
|
-
|
|
5761
|
+
"args": {
|
|
5762
|
+
"tenant_name": {
|
|
5763
|
+
"description": "Tenant name to back up",
|
|
5764
|
+
"name": "tenant_name",
|
|
5765
|
+
"required": true
|
|
5766
|
+
}
|
|
5767
|
+
},
|
|
5768
|
+
"description": "Create a backup for a tenant",
|
|
5664
5769
|
"examples": [
|
|
5665
|
-
"$ xano tenant
|
|
5666
|
-
"$ xano tenant
|
|
5770
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5771
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5667
5772
|
],
|
|
5668
5773
|
"flags": {
|
|
5669
5774
|
"profile": {
|
|
@@ -5685,50 +5790,12 @@
|
|
|
5685
5790
|
"allowNo": false,
|
|
5686
5791
|
"type": "boolean"
|
|
5687
5792
|
},
|
|
5688
|
-
"credentials": {
|
|
5689
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
5690
|
-
"exclusive": [
|
|
5691
|
-
"credentials_file"
|
|
5692
|
-
],
|
|
5693
|
-
"name": "credentials",
|
|
5694
|
-
"required": false,
|
|
5695
|
-
"hasDynamicHelp": false,
|
|
5696
|
-
"multiple": false,
|
|
5697
|
-
"type": "option"
|
|
5698
|
-
},
|
|
5699
|
-
"credentials_file": {
|
|
5700
|
-
"description": "Path to kubeconfig credentials file",
|
|
5701
|
-
"exclusive": [
|
|
5702
|
-
"credentials"
|
|
5703
|
-
],
|
|
5704
|
-
"name": "credentials_file",
|
|
5705
|
-
"required": false,
|
|
5706
|
-
"hasDynamicHelp": false,
|
|
5707
|
-
"multiple": false,
|
|
5708
|
-
"type": "option"
|
|
5709
|
-
},
|
|
5710
5793
|
"description": {
|
|
5711
5794
|
"char": "d",
|
|
5712
|
-
"description": "
|
|
5795
|
+
"description": "Backup description",
|
|
5713
5796
|
"name": "description",
|
|
5714
5797
|
"required": false,
|
|
5715
|
-
"
|
|
5716
|
-
"multiple": false,
|
|
5717
|
-
"type": "option"
|
|
5718
|
-
},
|
|
5719
|
-
"domain": {
|
|
5720
|
-
"description": "Custom domain for the cluster",
|
|
5721
|
-
"name": "domain",
|
|
5722
|
-
"required": false,
|
|
5723
|
-
"hasDynamicHelp": false,
|
|
5724
|
-
"multiple": false,
|
|
5725
|
-
"type": "option"
|
|
5726
|
-
},
|
|
5727
|
-
"name": {
|
|
5728
|
-
"char": "n",
|
|
5729
|
-
"description": "Cluster name",
|
|
5730
|
-
"name": "name",
|
|
5731
|
-
"required": true,
|
|
5798
|
+
"default": "",
|
|
5732
5799
|
"hasDynamicHelp": false,
|
|
5733
5800
|
"multiple": false,
|
|
5734
5801
|
"type": "option"
|
|
@@ -5747,23 +5814,19 @@
|
|
|
5747
5814
|
],
|
|
5748
5815
|
"type": "option"
|
|
5749
5816
|
},
|
|
5750
|
-
"
|
|
5751
|
-
"
|
|
5752
|
-
"
|
|
5817
|
+
"workspace": {
|
|
5818
|
+
"char": "w",
|
|
5819
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5820
|
+
"name": "workspace",
|
|
5753
5821
|
"required": false,
|
|
5754
|
-
"default": "standard",
|
|
5755
5822
|
"hasDynamicHelp": false,
|
|
5756
5823
|
"multiple": false,
|
|
5757
|
-
"options": [
|
|
5758
|
-
"standard",
|
|
5759
|
-
"run"
|
|
5760
|
-
],
|
|
5761
5824
|
"type": "option"
|
|
5762
5825
|
}
|
|
5763
5826
|
},
|
|
5764
5827
|
"hasDynamicHelp": false,
|
|
5765
5828
|
"hiddenAliases": [],
|
|
5766
|
-
"id": "tenant:
|
|
5829
|
+
"id": "tenant:backup:create",
|
|
5767
5830
|
"pluginAlias": "@xano/cli",
|
|
5768
5831
|
"pluginName": "@xano/cli",
|
|
5769
5832
|
"pluginType": "core",
|
|
@@ -5774,24 +5837,25 @@
|
|
|
5774
5837
|
"dist",
|
|
5775
5838
|
"commands",
|
|
5776
5839
|
"tenant",
|
|
5777
|
-
"
|
|
5840
|
+
"backup",
|
|
5778
5841
|
"create",
|
|
5779
5842
|
"index.js"
|
|
5780
5843
|
]
|
|
5781
5844
|
},
|
|
5782
|
-
"tenant:
|
|
5845
|
+
"tenant:backup:delete": {
|
|
5783
5846
|
"aliases": [],
|
|
5784
5847
|
"args": {
|
|
5785
|
-
"
|
|
5786
|
-
"description": "
|
|
5787
|
-
"name": "
|
|
5848
|
+
"tenant_name": {
|
|
5849
|
+
"description": "Tenant name that owns the backup",
|
|
5850
|
+
"name": "tenant_name",
|
|
5788
5851
|
"required": true
|
|
5789
5852
|
}
|
|
5790
5853
|
},
|
|
5791
|
-
"description": "
|
|
5854
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5792
5855
|
"examples": [
|
|
5793
|
-
"$ xano tenant
|
|
5794
|
-
"$ xano tenant
|
|
5856
|
+
"$ 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",
|
|
5857
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5858
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5795
5859
|
],
|
|
5796
5860
|
"flags": {
|
|
5797
5861
|
"profile": {
|
|
@@ -5813,31 +5877,21 @@
|
|
|
5813
5877
|
"allowNo": false,
|
|
5814
5878
|
"type": "boolean"
|
|
5815
5879
|
},
|
|
5816
|
-
"
|
|
5817
|
-
"
|
|
5818
|
-
"
|
|
5819
|
-
"name": "description",
|
|
5820
|
-
"required": true,
|
|
5821
|
-
"hasDynamicHelp": false,
|
|
5822
|
-
"multiple": false,
|
|
5823
|
-
"type": "option"
|
|
5824
|
-
},
|
|
5825
|
-
"domain": {
|
|
5826
|
-
"description": "Custom domain for the cluster",
|
|
5827
|
-
"name": "domain",
|
|
5880
|
+
"backup_id": {
|
|
5881
|
+
"description": "Backup ID to delete",
|
|
5882
|
+
"name": "backup_id",
|
|
5828
5883
|
"required": true,
|
|
5829
5884
|
"hasDynamicHelp": false,
|
|
5830
5885
|
"multiple": false,
|
|
5831
5886
|
"type": "option"
|
|
5832
5887
|
},
|
|
5833
|
-
"
|
|
5834
|
-
"char": "
|
|
5835
|
-
"description": "
|
|
5836
|
-
"name": "
|
|
5837
|
-
"required":
|
|
5838
|
-
"
|
|
5839
|
-
"
|
|
5840
|
-
"type": "option"
|
|
5888
|
+
"force": {
|
|
5889
|
+
"char": "f",
|
|
5890
|
+
"description": "Skip confirmation prompt",
|
|
5891
|
+
"name": "force",
|
|
5892
|
+
"required": false,
|
|
5893
|
+
"allowNo": false,
|
|
5894
|
+
"type": "boolean"
|
|
5841
5895
|
},
|
|
5842
5896
|
"output": {
|
|
5843
5897
|
"char": "o",
|
|
@@ -5853,22 +5907,19 @@
|
|
|
5853
5907
|
],
|
|
5854
5908
|
"type": "option"
|
|
5855
5909
|
},
|
|
5856
|
-
"
|
|
5857
|
-
"
|
|
5858
|
-
"
|
|
5859
|
-
"
|
|
5910
|
+
"workspace": {
|
|
5911
|
+
"char": "w",
|
|
5912
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5913
|
+
"name": "workspace",
|
|
5914
|
+
"required": false,
|
|
5860
5915
|
"hasDynamicHelp": false,
|
|
5861
5916
|
"multiple": false,
|
|
5862
|
-
"options": [
|
|
5863
|
-
"standard",
|
|
5864
|
-
"run"
|
|
5865
|
-
],
|
|
5866
5917
|
"type": "option"
|
|
5867
5918
|
}
|
|
5868
5919
|
},
|
|
5869
5920
|
"hasDynamicHelp": false,
|
|
5870
5921
|
"hiddenAliases": [],
|
|
5871
|
-
"id": "tenant:
|
|
5922
|
+
"id": "tenant:backup:delete",
|
|
5872
5923
|
"pluginAlias": "@xano/cli",
|
|
5873
5924
|
"pluginName": "@xano/cli",
|
|
5874
5925
|
"pluginType": "core",
|
|
@@ -5879,25 +5930,25 @@
|
|
|
5879
5930
|
"dist",
|
|
5880
5931
|
"commands",
|
|
5881
5932
|
"tenant",
|
|
5882
|
-
"
|
|
5883
|
-
"
|
|
5933
|
+
"backup",
|
|
5934
|
+
"delete",
|
|
5884
5935
|
"index.js"
|
|
5885
5936
|
]
|
|
5886
5937
|
},
|
|
5887
|
-
"tenant:
|
|
5938
|
+
"tenant:backup:export": {
|
|
5888
5939
|
"aliases": [],
|
|
5889
5940
|
"args": {
|
|
5890
|
-
"
|
|
5891
|
-
"description": "
|
|
5892
|
-
"name": "
|
|
5941
|
+
"tenant_name": {
|
|
5942
|
+
"description": "Tenant name to export backup from",
|
|
5943
|
+
"name": "tenant_name",
|
|
5893
5944
|
"required": true
|
|
5894
5945
|
}
|
|
5895
5946
|
},
|
|
5896
|
-
"description": "
|
|
5947
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5897
5948
|
"examples": [
|
|
5898
|
-
"$ xano tenant
|
|
5899
|
-
"$ xano tenant
|
|
5900
|
-
"$ xano tenant
|
|
5949
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5950
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5951
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5901
5952
|
],
|
|
5902
5953
|
"flags": {
|
|
5903
5954
|
"profile": {
|
|
@@ -5919,18 +5970,18 @@
|
|
|
5919
5970
|
"allowNo": false,
|
|
5920
5971
|
"type": "boolean"
|
|
5921
5972
|
},
|
|
5922
|
-
"
|
|
5923
|
-
"
|
|
5924
|
-
"
|
|
5925
|
-
"
|
|
5926
|
-
"
|
|
5927
|
-
"
|
|
5928
|
-
"type": "
|
|
5973
|
+
"backup_id": {
|
|
5974
|
+
"description": "Backup ID to export",
|
|
5975
|
+
"name": "backup_id",
|
|
5976
|
+
"required": true,
|
|
5977
|
+
"hasDynamicHelp": false,
|
|
5978
|
+
"multiple": false,
|
|
5979
|
+
"type": "option"
|
|
5929
5980
|
},
|
|
5930
|
-
"
|
|
5981
|
+
"format": {
|
|
5931
5982
|
"char": "o",
|
|
5932
5983
|
"description": "Output format",
|
|
5933
|
-
"name": "
|
|
5984
|
+
"name": "format",
|
|
5934
5985
|
"required": false,
|
|
5935
5986
|
"default": "summary",
|
|
5936
5987
|
"hasDynamicHelp": false,
|
|
@@ -5940,11 +5991,28 @@
|
|
|
5940
5991
|
"json"
|
|
5941
5992
|
],
|
|
5942
5993
|
"type": "option"
|
|
5994
|
+
},
|
|
5995
|
+
"output": {
|
|
5996
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5997
|
+
"name": "output",
|
|
5998
|
+
"required": false,
|
|
5999
|
+
"hasDynamicHelp": false,
|
|
6000
|
+
"multiple": false,
|
|
6001
|
+
"type": "option"
|
|
6002
|
+
},
|
|
6003
|
+
"workspace": {
|
|
6004
|
+
"char": "w",
|
|
6005
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6006
|
+
"name": "workspace",
|
|
6007
|
+
"required": false,
|
|
6008
|
+
"hasDynamicHelp": false,
|
|
6009
|
+
"multiple": false,
|
|
6010
|
+
"type": "option"
|
|
5943
6011
|
}
|
|
5944
6012
|
},
|
|
5945
6013
|
"hasDynamicHelp": false,
|
|
5946
6014
|
"hiddenAliases": [],
|
|
5947
|
-
"id": "tenant:
|
|
6015
|
+
"id": "tenant:backup:export",
|
|
5948
6016
|
"pluginAlias": "@xano/cli",
|
|
5949
6017
|
"pluginName": "@xano/cli",
|
|
5950
6018
|
"pluginType": "core",
|
|
@@ -5955,24 +6023,24 @@
|
|
|
5955
6023
|
"dist",
|
|
5956
6024
|
"commands",
|
|
5957
6025
|
"tenant",
|
|
5958
|
-
"
|
|
5959
|
-
"
|
|
6026
|
+
"backup",
|
|
6027
|
+
"export",
|
|
5960
6028
|
"index.js"
|
|
5961
6029
|
]
|
|
5962
6030
|
},
|
|
5963
|
-
"tenant:
|
|
6031
|
+
"tenant:backup:import": {
|
|
5964
6032
|
"aliases": [],
|
|
5965
6033
|
"args": {
|
|
5966
|
-
"
|
|
5967
|
-
"description": "
|
|
5968
|
-
"name": "
|
|
6034
|
+
"tenant_name": {
|
|
6035
|
+
"description": "Tenant name to import backup into",
|
|
6036
|
+
"name": "tenant_name",
|
|
5969
6037
|
"required": true
|
|
5970
6038
|
}
|
|
5971
6039
|
},
|
|
5972
|
-
"description": "
|
|
6040
|
+
"description": "Import a backup file into a tenant",
|
|
5973
6041
|
"examples": [
|
|
5974
|
-
"$ xano tenant
|
|
5975
|
-
"$ xano tenant
|
|
6042
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
6043
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5976
6044
|
],
|
|
5977
6045
|
"flags": {
|
|
5978
6046
|
"profile": {
|
|
@@ -5994,6 +6062,25 @@
|
|
|
5994
6062
|
"allowNo": false,
|
|
5995
6063
|
"type": "boolean"
|
|
5996
6064
|
},
|
|
6065
|
+
"description": {
|
|
6066
|
+
"char": "d",
|
|
6067
|
+
"description": "Backup description",
|
|
6068
|
+
"name": "description",
|
|
6069
|
+
"required": false,
|
|
6070
|
+
"default": "",
|
|
6071
|
+
"hasDynamicHelp": false,
|
|
6072
|
+
"multiple": false,
|
|
6073
|
+
"type": "option"
|
|
6074
|
+
},
|
|
6075
|
+
"file": {
|
|
6076
|
+
"char": "f",
|
|
6077
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
6078
|
+
"name": "file",
|
|
6079
|
+
"required": true,
|
|
6080
|
+
"hasDynamicHelp": false,
|
|
6081
|
+
"multiple": false,
|
|
6082
|
+
"type": "option"
|
|
6083
|
+
},
|
|
5997
6084
|
"output": {
|
|
5998
6085
|
"char": "o",
|
|
5999
6086
|
"description": "Output format",
|
|
@@ -6007,11 +6094,20 @@
|
|
|
6007
6094
|
"json"
|
|
6008
6095
|
],
|
|
6009
6096
|
"type": "option"
|
|
6097
|
+
},
|
|
6098
|
+
"workspace": {
|
|
6099
|
+
"char": "w",
|
|
6100
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6101
|
+
"name": "workspace",
|
|
6102
|
+
"required": false,
|
|
6103
|
+
"hasDynamicHelp": false,
|
|
6104
|
+
"multiple": false,
|
|
6105
|
+
"type": "option"
|
|
6010
6106
|
}
|
|
6011
6107
|
},
|
|
6012
6108
|
"hasDynamicHelp": false,
|
|
6013
6109
|
"hiddenAliases": [],
|
|
6014
|
-
"id": "tenant:
|
|
6110
|
+
"id": "tenant:backup:import",
|
|
6015
6111
|
"pluginAlias": "@xano/cli",
|
|
6016
6112
|
"pluginName": "@xano/cli",
|
|
6017
6113
|
"pluginType": "core",
|
|
@@ -6022,21 +6118,27 @@
|
|
|
6022
6118
|
"dist",
|
|
6023
6119
|
"commands",
|
|
6024
6120
|
"tenant",
|
|
6025
|
-
"
|
|
6026
|
-
"
|
|
6121
|
+
"backup",
|
|
6122
|
+
"import",
|
|
6027
6123
|
"index.js"
|
|
6028
6124
|
]
|
|
6029
6125
|
},
|
|
6030
|
-
"tenant:
|
|
6126
|
+
"tenant:backup:list": {
|
|
6031
6127
|
"aliases": [],
|
|
6032
|
-
"args": {
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6128
|
+
"args": {
|
|
6129
|
+
"tenant_name": {
|
|
6130
|
+
"description": "Tenant name to list backups for",
|
|
6131
|
+
"name": "tenant_name",
|
|
6132
|
+
"required": true
|
|
6133
|
+
}
|
|
6134
|
+
},
|
|
6135
|
+
"description": "List backups for a tenant",
|
|
6136
|
+
"examples": [
|
|
6137
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
6138
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
6139
|
+
],
|
|
6140
|
+
"flags": {
|
|
6141
|
+
"profile": {
|
|
6040
6142
|
"char": "p",
|
|
6041
6143
|
"description": "Profile to use (uses default profile if not specified)",
|
|
6042
6144
|
"env": "XANO_PROFILE",
|
|
@@ -6068,11 +6170,29 @@
|
|
|
6068
6170
|
"json"
|
|
6069
6171
|
],
|
|
6070
6172
|
"type": "option"
|
|
6173
|
+
},
|
|
6174
|
+
"page": {
|
|
6175
|
+
"description": "Page number for pagination",
|
|
6176
|
+
"name": "page",
|
|
6177
|
+
"required": false,
|
|
6178
|
+
"default": 1,
|
|
6179
|
+
"hasDynamicHelp": false,
|
|
6180
|
+
"multiple": false,
|
|
6181
|
+
"type": "option"
|
|
6182
|
+
},
|
|
6183
|
+
"workspace": {
|
|
6184
|
+
"char": "w",
|
|
6185
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6186
|
+
"name": "workspace",
|
|
6187
|
+
"required": false,
|
|
6188
|
+
"hasDynamicHelp": false,
|
|
6189
|
+
"multiple": false,
|
|
6190
|
+
"type": "option"
|
|
6071
6191
|
}
|
|
6072
6192
|
},
|
|
6073
6193
|
"hasDynamicHelp": false,
|
|
6074
6194
|
"hiddenAliases": [],
|
|
6075
|
-
"id": "tenant:
|
|
6195
|
+
"id": "tenant:backup:list",
|
|
6076
6196
|
"pluginAlias": "@xano/cli",
|
|
6077
6197
|
"pluginName": "@xano/cli",
|
|
6078
6198
|
"pluginType": "core",
|
|
@@ -6083,24 +6203,24 @@
|
|
|
6083
6203
|
"dist",
|
|
6084
6204
|
"commands",
|
|
6085
6205
|
"tenant",
|
|
6086
|
-
"
|
|
6206
|
+
"backup",
|
|
6087
6207
|
"list",
|
|
6088
6208
|
"index.js"
|
|
6089
6209
|
]
|
|
6090
6210
|
},
|
|
6091
|
-
"tenant:
|
|
6211
|
+
"tenant:backup:restore": {
|
|
6092
6212
|
"aliases": [],
|
|
6093
6213
|
"args": {
|
|
6094
6214
|
"tenant_name": {
|
|
6095
|
-
"description": "Tenant name",
|
|
6215
|
+
"description": "Tenant name to restore",
|
|
6096
6216
|
"name": "tenant_name",
|
|
6097
6217
|
"required": true
|
|
6098
6218
|
}
|
|
6099
6219
|
},
|
|
6100
|
-
"description": "
|
|
6220
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
6101
6221
|
"examples": [
|
|
6102
|
-
"$ xano tenant
|
|
6103
|
-
"$ xano tenant
|
|
6222
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
6223
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
6104
6224
|
],
|
|
6105
6225
|
"flags": {
|
|
6106
6226
|
"profile": {
|
|
@@ -6122,15 +6242,22 @@
|
|
|
6122
6242
|
"allowNo": false,
|
|
6123
6243
|
"type": "boolean"
|
|
6124
6244
|
},
|
|
6125
|
-
"
|
|
6126
|
-
"
|
|
6127
|
-
"
|
|
6128
|
-
"name": "name",
|
|
6245
|
+
"backup_id": {
|
|
6246
|
+
"description": "Backup ID to restore from",
|
|
6247
|
+
"name": "backup_id",
|
|
6129
6248
|
"required": true,
|
|
6130
6249
|
"hasDynamicHelp": false,
|
|
6131
6250
|
"multiple": false,
|
|
6132
6251
|
"type": "option"
|
|
6133
6252
|
},
|
|
6253
|
+
"force": {
|
|
6254
|
+
"char": "f",
|
|
6255
|
+
"description": "Skip confirmation prompt",
|
|
6256
|
+
"name": "force",
|
|
6257
|
+
"required": false,
|
|
6258
|
+
"allowNo": false,
|
|
6259
|
+
"type": "boolean"
|
|
6260
|
+
},
|
|
6134
6261
|
"output": {
|
|
6135
6262
|
"char": "o",
|
|
6136
6263
|
"description": "Output format",
|
|
@@ -6157,7 +6284,7 @@
|
|
|
6157
6284
|
},
|
|
6158
6285
|
"hasDynamicHelp": false,
|
|
6159
6286
|
"hiddenAliases": [],
|
|
6160
|
-
"id": "tenant:
|
|
6287
|
+
"id": "tenant:backup:restore",
|
|
6161
6288
|
"pluginAlias": "@xano/cli",
|
|
6162
6289
|
"pluginName": "@xano/cli",
|
|
6163
6290
|
"pluginType": "core",
|
|
@@ -6168,25 +6295,25 @@
|
|
|
6168
6295
|
"dist",
|
|
6169
6296
|
"commands",
|
|
6170
6297
|
"tenant",
|
|
6171
|
-
"
|
|
6172
|
-
"
|
|
6298
|
+
"backup",
|
|
6299
|
+
"restore",
|
|
6173
6300
|
"index.js"
|
|
6174
6301
|
]
|
|
6175
6302
|
},
|
|
6176
|
-
"
|
|
6303
|
+
"static_host:build:create": {
|
|
6177
6304
|
"aliases": [],
|
|
6178
6305
|
"args": {
|
|
6179
|
-
"
|
|
6180
|
-
"description": "
|
|
6181
|
-
"name": "
|
|
6306
|
+
"static_host": {
|
|
6307
|
+
"description": "Static Host name",
|
|
6308
|
+
"name": "static_host",
|
|
6182
6309
|
"required": true
|
|
6183
6310
|
}
|
|
6184
6311
|
},
|
|
6185
|
-
"description": "
|
|
6312
|
+
"description": "Create a new build for a static host",
|
|
6186
6313
|
"examples": [
|
|
6187
|
-
"$ xano
|
|
6188
|
-
"$ xano
|
|
6189
|
-
"$ xano
|
|
6314
|
+
"$ 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",
|
|
6315
|
+
"$ 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",
|
|
6316
|
+
"$ 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"
|
|
6190
6317
|
],
|
|
6191
6318
|
"flags": {
|
|
6192
6319
|
"profile": {
|
|
@@ -6208,17 +6335,27 @@
|
|
|
6208
6335
|
"allowNo": false,
|
|
6209
6336
|
"type": "boolean"
|
|
6210
6337
|
},
|
|
6211
|
-
"
|
|
6212
|
-
"char": "
|
|
6213
|
-
"description": "
|
|
6214
|
-
"name": "
|
|
6338
|
+
"description": {
|
|
6339
|
+
"char": "d",
|
|
6340
|
+
"description": "Build description",
|
|
6341
|
+
"name": "description",
|
|
6215
6342
|
"required": false,
|
|
6216
|
-
"
|
|
6217
|
-
"
|
|
6343
|
+
"hasDynamicHelp": false,
|
|
6344
|
+
"multiple": false,
|
|
6345
|
+
"type": "option"
|
|
6346
|
+
},
|
|
6347
|
+
"file": {
|
|
6348
|
+
"char": "f",
|
|
6349
|
+
"description": "Path to zip file to upload",
|
|
6350
|
+
"name": "file",
|
|
6351
|
+
"required": true,
|
|
6352
|
+
"hasDynamicHelp": false,
|
|
6353
|
+
"multiple": false,
|
|
6354
|
+
"type": "option"
|
|
6218
6355
|
},
|
|
6219
6356
|
"name": {
|
|
6220
6357
|
"char": "n",
|
|
6221
|
-
"description": "
|
|
6358
|
+
"description": "Build name",
|
|
6222
6359
|
"name": "name",
|
|
6223
6360
|
"required": true,
|
|
6224
6361
|
"hasDynamicHelp": false,
|
|
@@ -6241,7 +6378,7 @@
|
|
|
6241
6378
|
},
|
|
6242
6379
|
"workspace": {
|
|
6243
6380
|
"char": "w",
|
|
6244
|
-
"description": "Workspace ID (
|
|
6381
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
6245
6382
|
"name": "workspace",
|
|
6246
6383
|
"required": false,
|
|
6247
6384
|
"hasDynamicHelp": false,
|
|
@@ -6251,7 +6388,7 @@
|
|
|
6251
6388
|
},
|
|
6252
6389
|
"hasDynamicHelp": false,
|
|
6253
6390
|
"hiddenAliases": [],
|
|
6254
|
-
"id": "
|
|
6391
|
+
"id": "static_host:build:create",
|
|
6255
6392
|
"pluginAlias": "@xano/cli",
|
|
6256
6393
|
"pluginName": "@xano/cli",
|
|
6257
6394
|
"pluginType": "core",
|
|
@@ -6261,27 +6398,19 @@
|
|
|
6261
6398
|
"relativePath": [
|
|
6262
6399
|
"dist",
|
|
6263
6400
|
"commands",
|
|
6264
|
-
"
|
|
6265
|
-
"
|
|
6266
|
-
"
|
|
6401
|
+
"static_host",
|
|
6402
|
+
"build",
|
|
6403
|
+
"create",
|
|
6267
6404
|
"index.js"
|
|
6268
6405
|
]
|
|
6269
6406
|
},
|
|
6270
|
-
"tenant:
|
|
6407
|
+
"tenant:cluster:create": {
|
|
6271
6408
|
"aliases": [],
|
|
6272
|
-
"args": {
|
|
6273
|
-
|
|
6274
|
-
"description": "Tenant name",
|
|
6275
|
-
"name": "tenant_name",
|
|
6276
|
-
"required": true
|
|
6277
|
-
}
|
|
6278
|
-
},
|
|
6279
|
-
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6409
|
+
"args": {},
|
|
6410
|
+
"description": "Create a new tenant cluster",
|
|
6280
6411
|
"examples": [
|
|
6281
|
-
"$ xano tenant
|
|
6282
|
-
"$ xano tenant
|
|
6283
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
6284
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6412
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
6413
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
6285
6414
|
],
|
|
6286
6415
|
"flags": {
|
|
6287
6416
|
"profile": {
|
|
@@ -6303,97 +6432,53 @@
|
|
|
6303
6432
|
"allowNo": false,
|
|
6304
6433
|
"type": "boolean"
|
|
6305
6434
|
},
|
|
6306
|
-
"
|
|
6307
|
-
"
|
|
6308
|
-
"
|
|
6309
|
-
|
|
6435
|
+
"credentials": {
|
|
6436
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
6437
|
+
"exclusive": [
|
|
6438
|
+
"credentials_file"
|
|
6439
|
+
],
|
|
6440
|
+
"name": "credentials",
|
|
6310
6441
|
"required": false,
|
|
6311
6442
|
"hasDynamicHelp": false,
|
|
6312
6443
|
"multiple": false,
|
|
6313
6444
|
"type": "option"
|
|
6314
6445
|
},
|
|
6315
|
-
"
|
|
6316
|
-
"
|
|
6317
|
-
"
|
|
6318
|
-
|
|
6446
|
+
"credentials_file": {
|
|
6447
|
+
"description": "Path to kubeconfig credentials file",
|
|
6448
|
+
"exclusive": [
|
|
6449
|
+
"credentials"
|
|
6450
|
+
],
|
|
6451
|
+
"name": "credentials_file",
|
|
6319
6452
|
"required": false,
|
|
6320
|
-
"default": "summary",
|
|
6321
6453
|
"hasDynamicHelp": false,
|
|
6322
6454
|
"multiple": false,
|
|
6323
|
-
"options": [
|
|
6324
|
-
"summary",
|
|
6325
|
-
"json"
|
|
6326
|
-
],
|
|
6327
6455
|
"type": "option"
|
|
6328
6456
|
},
|
|
6329
|
-
"
|
|
6330
|
-
"
|
|
6331
|
-
"
|
|
6332
|
-
"
|
|
6333
|
-
"allowNo": false,
|
|
6334
|
-
"type": "boolean"
|
|
6335
|
-
},
|
|
6336
|
-
"workspace": {
|
|
6337
|
-
"char": "w",
|
|
6338
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6339
|
-
"name": "workspace",
|
|
6457
|
+
"description": {
|
|
6458
|
+
"char": "d",
|
|
6459
|
+
"description": "Cluster description",
|
|
6460
|
+
"name": "description",
|
|
6340
6461
|
"required": false,
|
|
6341
6462
|
"hasDynamicHelp": false,
|
|
6342
6463
|
"multiple": false,
|
|
6343
6464
|
"type": "option"
|
|
6344
|
-
}
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
"id": "tenant:env:get_all",
|
|
6349
|
-
"pluginAlias": "@xano/cli",
|
|
6350
|
-
"pluginName": "@xano/cli",
|
|
6351
|
-
"pluginType": "core",
|
|
6352
|
-
"strict": true,
|
|
6353
|
-
"enableJsonFlag": false,
|
|
6354
|
-
"isESM": true,
|
|
6355
|
-
"relativePath": [
|
|
6356
|
-
"dist",
|
|
6357
|
-
"commands",
|
|
6358
|
-
"tenant",
|
|
6359
|
-
"env",
|
|
6360
|
-
"get_all",
|
|
6361
|
-
"index.js"
|
|
6362
|
-
]
|
|
6363
|
-
},
|
|
6364
|
-
"tenant:env:list": {
|
|
6365
|
-
"aliases": [],
|
|
6366
|
-
"args": {
|
|
6367
|
-
"tenant_name": {
|
|
6368
|
-
"description": "Tenant name",
|
|
6369
|
-
"name": "tenant_name",
|
|
6370
|
-
"required": true
|
|
6371
|
-
}
|
|
6372
|
-
},
|
|
6373
|
-
"description": "List environment variable keys for a tenant",
|
|
6374
|
-
"examples": [
|
|
6375
|
-
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6376
|
-
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6377
|
-
],
|
|
6378
|
-
"flags": {
|
|
6379
|
-
"profile": {
|
|
6380
|
-
"char": "p",
|
|
6381
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6382
|
-
"env": "XANO_PROFILE",
|
|
6383
|
-
"name": "profile",
|
|
6465
|
+
},
|
|
6466
|
+
"domain": {
|
|
6467
|
+
"description": "Custom domain for the cluster",
|
|
6468
|
+
"name": "domain",
|
|
6384
6469
|
"required": false,
|
|
6385
6470
|
"hasDynamicHelp": false,
|
|
6386
6471
|
"multiple": false,
|
|
6387
6472
|
"type": "option"
|
|
6388
6473
|
},
|
|
6389
|
-
"
|
|
6390
|
-
"char": "
|
|
6391
|
-
"description": "
|
|
6392
|
-
"
|
|
6393
|
-
"
|
|
6394
|
-
"
|
|
6395
|
-
"
|
|
6396
|
-
"type": "
|
|
6474
|
+
"name": {
|
|
6475
|
+
"char": "n",
|
|
6476
|
+
"description": "Cluster name",
|
|
6477
|
+
"name": "name",
|
|
6478
|
+
"required": true,
|
|
6479
|
+
"hasDynamicHelp": false,
|
|
6480
|
+
"multiple": false,
|
|
6481
|
+
"type": "option"
|
|
6397
6482
|
},
|
|
6398
6483
|
"output": {
|
|
6399
6484
|
"char": "o",
|
|
@@ -6409,19 +6494,23 @@
|
|
|
6409
6494
|
],
|
|
6410
6495
|
"type": "option"
|
|
6411
6496
|
},
|
|
6412
|
-
"
|
|
6413
|
-
"
|
|
6414
|
-
"
|
|
6415
|
-
"name": "workspace",
|
|
6497
|
+
"type": {
|
|
6498
|
+
"description": "Cluster type",
|
|
6499
|
+
"name": "type",
|
|
6416
6500
|
"required": false,
|
|
6501
|
+
"default": "standard",
|
|
6417
6502
|
"hasDynamicHelp": false,
|
|
6418
6503
|
"multiple": false,
|
|
6504
|
+
"options": [
|
|
6505
|
+
"standard",
|
|
6506
|
+
"run"
|
|
6507
|
+
],
|
|
6419
6508
|
"type": "option"
|
|
6420
6509
|
}
|
|
6421
6510
|
},
|
|
6422
6511
|
"hasDynamicHelp": false,
|
|
6423
6512
|
"hiddenAliases": [],
|
|
6424
|
-
"id": "tenant:
|
|
6513
|
+
"id": "tenant:cluster:create",
|
|
6425
6514
|
"pluginAlias": "@xano/cli",
|
|
6426
6515
|
"pluginName": "@xano/cli",
|
|
6427
6516
|
"pluginType": "core",
|
|
@@ -6432,24 +6521,25 @@
|
|
|
6432
6521
|
"dist",
|
|
6433
6522
|
"commands",
|
|
6434
6523
|
"tenant",
|
|
6435
|
-
"
|
|
6436
|
-
"
|
|
6524
|
+
"cluster",
|
|
6525
|
+
"create",
|
|
6437
6526
|
"index.js"
|
|
6438
6527
|
]
|
|
6439
6528
|
},
|
|
6440
|
-
"tenant:
|
|
6529
|
+
"tenant:cluster:delete": {
|
|
6441
6530
|
"aliases": [],
|
|
6442
6531
|
"args": {
|
|
6443
|
-
"
|
|
6444
|
-
"description": "
|
|
6445
|
-
"name": "
|
|
6532
|
+
"cluster_id": {
|
|
6533
|
+
"description": "Cluster ID to delete",
|
|
6534
|
+
"name": "cluster_id",
|
|
6446
6535
|
"required": true
|
|
6447
6536
|
}
|
|
6448
6537
|
},
|
|
6449
|
-
"description": "
|
|
6538
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
6450
6539
|
"examples": [
|
|
6451
|
-
"$ xano tenant
|
|
6452
|
-
"$ xano tenant
|
|
6540
|
+
"$ 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",
|
|
6541
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
6542
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
6453
6543
|
],
|
|
6454
6544
|
"flags": {
|
|
6455
6545
|
"profile": {
|
|
@@ -6471,14 +6561,13 @@
|
|
|
6471
6561
|
"allowNo": false,
|
|
6472
6562
|
"type": "boolean"
|
|
6473
6563
|
},
|
|
6474
|
-
"
|
|
6475
|
-
"char": "
|
|
6476
|
-
"description": "
|
|
6477
|
-
"name": "
|
|
6478
|
-
"required":
|
|
6479
|
-
"
|
|
6480
|
-
"
|
|
6481
|
-
"type": "option"
|
|
6564
|
+
"force": {
|
|
6565
|
+
"char": "f",
|
|
6566
|
+
"description": "Skip confirmation prompt",
|
|
6567
|
+
"name": "force",
|
|
6568
|
+
"required": false,
|
|
6569
|
+
"allowNo": false,
|
|
6570
|
+
"type": "boolean"
|
|
6482
6571
|
},
|
|
6483
6572
|
"output": {
|
|
6484
6573
|
"char": "o",
|
|
@@ -6493,28 +6582,11 @@
|
|
|
6493
6582
|
"json"
|
|
6494
6583
|
],
|
|
6495
6584
|
"type": "option"
|
|
6496
|
-
},
|
|
6497
|
-
"value": {
|
|
6498
|
-
"description": "Environment variable value",
|
|
6499
|
-
"name": "value",
|
|
6500
|
-
"required": true,
|
|
6501
|
-
"hasDynamicHelp": false,
|
|
6502
|
-
"multiple": false,
|
|
6503
|
-
"type": "option"
|
|
6504
|
-
},
|
|
6505
|
-
"workspace": {
|
|
6506
|
-
"char": "w",
|
|
6507
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6508
|
-
"name": "workspace",
|
|
6509
|
-
"required": false,
|
|
6510
|
-
"hasDynamicHelp": false,
|
|
6511
|
-
"multiple": false,
|
|
6512
|
-
"type": "option"
|
|
6513
6585
|
}
|
|
6514
6586
|
},
|
|
6515
6587
|
"hasDynamicHelp": false,
|
|
6516
6588
|
"hiddenAliases": [],
|
|
6517
|
-
"id": "tenant:
|
|
6589
|
+
"id": "tenant:cluster:delete",
|
|
6518
6590
|
"pluginAlias": "@xano/cli",
|
|
6519
6591
|
"pluginName": "@xano/cli",
|
|
6520
6592
|
"pluginType": "core",
|
|
@@ -6525,25 +6597,18 @@
|
|
|
6525
6597
|
"dist",
|
|
6526
6598
|
"commands",
|
|
6527
6599
|
"tenant",
|
|
6528
|
-
"
|
|
6529
|
-
"
|
|
6600
|
+
"cluster",
|
|
6601
|
+
"delete",
|
|
6530
6602
|
"index.js"
|
|
6531
6603
|
]
|
|
6532
6604
|
},
|
|
6533
|
-
"tenant:
|
|
6605
|
+
"tenant:cluster:list": {
|
|
6534
6606
|
"aliases": [],
|
|
6535
|
-
"args": {
|
|
6536
|
-
|
|
6537
|
-
"description": "Tenant name",
|
|
6538
|
-
"name": "tenant_name",
|
|
6539
|
-
"required": true
|
|
6540
|
-
}
|
|
6541
|
-
},
|
|
6542
|
-
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6607
|
+
"args": {},
|
|
6608
|
+
"description": "List all tenant clusters",
|
|
6543
6609
|
"examples": [
|
|
6544
|
-
"$ xano tenant
|
|
6545
|
-
"$ xano tenant
|
|
6546
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6610
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6611
|
+
"$ xano tenant cluster list --output json"
|
|
6547
6612
|
],
|
|
6548
6613
|
"flags": {
|
|
6549
6614
|
"profile": {
|
|
@@ -6565,22 +6630,6 @@
|
|
|
6565
6630
|
"allowNo": false,
|
|
6566
6631
|
"type": "boolean"
|
|
6567
6632
|
},
|
|
6568
|
-
"clean": {
|
|
6569
|
-
"description": "Remove the source file after successful upload",
|
|
6570
|
-
"name": "clean",
|
|
6571
|
-
"required": false,
|
|
6572
|
-
"allowNo": false,
|
|
6573
|
-
"type": "boolean"
|
|
6574
|
-
},
|
|
6575
|
-
"file": {
|
|
6576
|
-
"char": "f",
|
|
6577
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6578
|
-
"name": "file",
|
|
6579
|
-
"required": false,
|
|
6580
|
-
"hasDynamicHelp": false,
|
|
6581
|
-
"multiple": false,
|
|
6582
|
-
"type": "option"
|
|
6583
|
-
},
|
|
6584
6633
|
"output": {
|
|
6585
6634
|
"char": "o",
|
|
6586
6635
|
"description": "Output format",
|
|
@@ -6594,20 +6643,11 @@
|
|
|
6594
6643
|
"json"
|
|
6595
6644
|
],
|
|
6596
6645
|
"type": "option"
|
|
6597
|
-
},
|
|
6598
|
-
"workspace": {
|
|
6599
|
-
"char": "w",
|
|
6600
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6601
|
-
"name": "workspace",
|
|
6602
|
-
"required": false,
|
|
6603
|
-
"hasDynamicHelp": false,
|
|
6604
|
-
"multiple": false,
|
|
6605
|
-
"type": "option"
|
|
6606
6646
|
}
|
|
6607
6647
|
},
|
|
6608
6648
|
"hasDynamicHelp": false,
|
|
6609
6649
|
"hiddenAliases": [],
|
|
6610
|
-
"id": "tenant:
|
|
6650
|
+
"id": "tenant:cluster:list",
|
|
6611
6651
|
"pluginAlias": "@xano/cli",
|
|
6612
6652
|
"pluginName": "@xano/cli",
|
|
6613
6653
|
"pluginType": "core",
|
|
@@ -6618,26 +6658,29 @@
|
|
|
6618
6658
|
"dist",
|
|
6619
6659
|
"commands",
|
|
6620
6660
|
"tenant",
|
|
6621
|
-
"
|
|
6622
|
-
"
|
|
6661
|
+
"cluster",
|
|
6662
|
+
"list",
|
|
6623
6663
|
"index.js"
|
|
6624
6664
|
]
|
|
6625
6665
|
},
|
|
6626
|
-
"
|
|
6666
|
+
"workspace:git:pull": {
|
|
6627
6667
|
"aliases": [],
|
|
6628
6668
|
"args": {
|
|
6629
|
-
"
|
|
6630
|
-
"description": "
|
|
6631
|
-
"name": "
|
|
6669
|
+
"directory": {
|
|
6670
|
+
"description": "Output directory for imported files",
|
|
6671
|
+
"name": "directory",
|
|
6632
6672
|
"required": true
|
|
6633
6673
|
}
|
|
6634
6674
|
},
|
|
6635
|
-
"description": "
|
|
6675
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6636
6676
|
"examples": [
|
|
6637
|
-
"$ xano
|
|
6638
|
-
"$ xano
|
|
6639
|
-
"$ xano
|
|
6640
|
-
"$ xano
|
|
6677
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6678
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6679
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6680
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6681
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6682
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6683
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6641
6684
|
],
|
|
6642
6685
|
"flags": {
|
|
6643
6686
|
"profile": {
|
|
@@ -6659,40 +6702,37 @@
|
|
|
6659
6702
|
"allowNo": false,
|
|
6660
6703
|
"type": "boolean"
|
|
6661
6704
|
},
|
|
6662
|
-
"
|
|
6663
|
-
"char": "
|
|
6664
|
-
"description": "
|
|
6665
|
-
"name": "
|
|
6705
|
+
"branch": {
|
|
6706
|
+
"char": "b",
|
|
6707
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6708
|
+
"name": "branch",
|
|
6666
6709
|
"required": false,
|
|
6667
6710
|
"hasDynamicHelp": false,
|
|
6668
6711
|
"multiple": false,
|
|
6669
6712
|
"type": "option"
|
|
6670
6713
|
},
|
|
6671
|
-
"
|
|
6672
|
-
"
|
|
6673
|
-
"
|
|
6674
|
-
"name": "output",
|
|
6714
|
+
"path": {
|
|
6715
|
+
"description": "Subdirectory within the repo to import from",
|
|
6716
|
+
"name": "path",
|
|
6675
6717
|
"required": false,
|
|
6676
|
-
"default": "summary",
|
|
6677
6718
|
"hasDynamicHelp": false,
|
|
6678
6719
|
"multiple": false,
|
|
6679
|
-
"options": [
|
|
6680
|
-
"summary",
|
|
6681
|
-
"json"
|
|
6682
|
-
],
|
|
6683
6720
|
"type": "option"
|
|
6684
6721
|
},
|
|
6685
|
-
"
|
|
6686
|
-
"
|
|
6687
|
-
"
|
|
6688
|
-
"
|
|
6689
|
-
"
|
|
6690
|
-
"
|
|
6722
|
+
"repo": {
|
|
6723
|
+
"char": "r",
|
|
6724
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6725
|
+
"name": "repo",
|
|
6726
|
+
"required": true,
|
|
6727
|
+
"hasDynamicHelp": false,
|
|
6728
|
+
"multiple": false,
|
|
6729
|
+
"type": "option"
|
|
6691
6730
|
},
|
|
6692
|
-
"
|
|
6693
|
-
"char": "
|
|
6694
|
-
"description": "
|
|
6695
|
-
"
|
|
6731
|
+
"token": {
|
|
6732
|
+
"char": "t",
|
|
6733
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6734
|
+
"env": "GITHUB_TOKEN",
|
|
6735
|
+
"name": "token",
|
|
6696
6736
|
"required": false,
|
|
6697
6737
|
"hasDynamicHelp": false,
|
|
6698
6738
|
"multiple": false,
|
|
@@ -6701,7 +6741,7 @@
|
|
|
6701
6741
|
},
|
|
6702
6742
|
"hasDynamicHelp": false,
|
|
6703
6743
|
"hiddenAliases": [],
|
|
6704
|
-
"id": "
|
|
6744
|
+
"id": "workspace:git:pull",
|
|
6705
6745
|
"pluginAlias": "@xano/cli",
|
|
6706
6746
|
"pluginName": "@xano/cli",
|
|
6707
6747
|
"pluginType": "core",
|
|
@@ -6711,27 +6751,25 @@
|
|
|
6711
6751
|
"relativePath": [
|
|
6712
6752
|
"dist",
|
|
6713
6753
|
"commands",
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6716
|
-
"
|
|
6754
|
+
"workspace",
|
|
6755
|
+
"git",
|
|
6756
|
+
"pull",
|
|
6717
6757
|
"index.js"
|
|
6718
6758
|
]
|
|
6719
6759
|
},
|
|
6720
|
-
"tenant:
|
|
6760
|
+
"tenant:cluster:get": {
|
|
6721
6761
|
"aliases": [],
|
|
6722
6762
|
"args": {
|
|
6723
|
-
"
|
|
6724
|
-
"description": "
|
|
6725
|
-
"name": "
|
|
6763
|
+
"cluster_id": {
|
|
6764
|
+
"description": "Cluster ID to retrieve",
|
|
6765
|
+
"name": "cluster_id",
|
|
6726
6766
|
"required": true
|
|
6727
6767
|
}
|
|
6728
6768
|
},
|
|
6729
|
-
"description": "
|
|
6769
|
+
"description": "Get details of a specific tenant cluster",
|
|
6730
6770
|
"examples": [
|
|
6731
|
-
"$ xano tenant
|
|
6732
|
-
"$ xano tenant
|
|
6733
|
-
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6734
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6771
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
6772
|
+
"$ xano tenant cluster get 1 -o json"
|
|
6735
6773
|
],
|
|
6736
6774
|
"flags": {
|
|
6737
6775
|
"profile": {
|
|
@@ -6753,28 +6791,6 @@
|
|
|
6753
6791
|
"allowNo": false,
|
|
6754
6792
|
"type": "boolean"
|
|
6755
6793
|
},
|
|
6756
|
-
"clean": {
|
|
6757
|
-
"description": "Remove the source file after successful upload",
|
|
6758
|
-
"exclusive": [
|
|
6759
|
-
"value"
|
|
6760
|
-
],
|
|
6761
|
-
"name": "clean",
|
|
6762
|
-
"required": false,
|
|
6763
|
-
"allowNo": false,
|
|
6764
|
-
"type": "boolean"
|
|
6765
|
-
},
|
|
6766
|
-
"file": {
|
|
6767
|
-
"char": "f",
|
|
6768
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6769
|
-
"exclusive": [
|
|
6770
|
-
"value"
|
|
6771
|
-
],
|
|
6772
|
-
"name": "file",
|
|
6773
|
-
"required": false,
|
|
6774
|
-
"hasDynamicHelp": false,
|
|
6775
|
-
"multiple": false,
|
|
6776
|
-
"type": "option"
|
|
6777
|
-
},
|
|
6778
6794
|
"output": {
|
|
6779
6795
|
"char": "o",
|
|
6780
6796
|
"description": "Output format",
|
|
@@ -6788,32 +6804,11 @@
|
|
|
6788
6804
|
"json"
|
|
6789
6805
|
],
|
|
6790
6806
|
"type": "option"
|
|
6791
|
-
},
|
|
6792
|
-
"value": {
|
|
6793
|
-
"description": "Inline license value",
|
|
6794
|
-
"exclusive": [
|
|
6795
|
-
"file",
|
|
6796
|
-
"clean"
|
|
6797
|
-
],
|
|
6798
|
-
"name": "value",
|
|
6799
|
-
"required": false,
|
|
6800
|
-
"hasDynamicHelp": false,
|
|
6801
|
-
"multiple": false,
|
|
6802
|
-
"type": "option"
|
|
6803
|
-
},
|
|
6804
|
-
"workspace": {
|
|
6805
|
-
"char": "w",
|
|
6806
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6807
|
-
"name": "workspace",
|
|
6808
|
-
"required": false,
|
|
6809
|
-
"hasDynamicHelp": false,
|
|
6810
|
-
"multiple": false,
|
|
6811
|
-
"type": "option"
|
|
6812
6807
|
}
|
|
6813
6808
|
},
|
|
6814
6809
|
"hasDynamicHelp": false,
|
|
6815
6810
|
"hiddenAliases": [],
|
|
6816
|
-
"id": "tenant:
|
|
6811
|
+
"id": "tenant:cluster:get",
|
|
6817
6812
|
"pluginAlias": "@xano/cli",
|
|
6818
6813
|
"pluginName": "@xano/cli",
|
|
6819
6814
|
"pluginType": "core",
|
|
@@ -6824,29 +6819,24 @@
|
|
|
6824
6819
|
"dist",
|
|
6825
6820
|
"commands",
|
|
6826
6821
|
"tenant",
|
|
6827
|
-
"
|
|
6828
|
-
"
|
|
6822
|
+
"cluster",
|
|
6823
|
+
"get",
|
|
6829
6824
|
"index.js"
|
|
6830
6825
|
]
|
|
6831
6826
|
},
|
|
6832
|
-
"
|
|
6827
|
+
"tenant:cluster:edit": {
|
|
6833
6828
|
"aliases": [],
|
|
6834
6829
|
"args": {
|
|
6835
|
-
"
|
|
6836
|
-
"description": "
|
|
6837
|
-
"name": "
|
|
6830
|
+
"cluster_id": {
|
|
6831
|
+
"description": "Cluster ID to edit",
|
|
6832
|
+
"name": "cluster_id",
|
|
6838
6833
|
"required": true
|
|
6839
6834
|
}
|
|
6840
6835
|
},
|
|
6841
|
-
"description": "
|
|
6836
|
+
"description": "Update an existing tenant cluster",
|
|
6842
6837
|
"examples": [
|
|
6843
|
-
"$ xano
|
|
6844
|
-
"$ xano
|
|
6845
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6846
|
-
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6847
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6848
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6849
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6838
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
6839
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
6850
6840
|
],
|
|
6851
6841
|
"flags": {
|
|
6852
6842
|
"profile": {
|
|
@@ -6868,46 +6858,62 @@
|
|
|
6868
6858
|
"allowNo": false,
|
|
6869
6859
|
"type": "boolean"
|
|
6870
6860
|
},
|
|
6871
|
-
"
|
|
6872
|
-
"char": "
|
|
6873
|
-
"description": "
|
|
6874
|
-
"name": "
|
|
6875
|
-
"required":
|
|
6861
|
+
"description": {
|
|
6862
|
+
"char": "d",
|
|
6863
|
+
"description": "Cluster description",
|
|
6864
|
+
"name": "description",
|
|
6865
|
+
"required": true,
|
|
6876
6866
|
"hasDynamicHelp": false,
|
|
6877
6867
|
"multiple": false,
|
|
6878
6868
|
"type": "option"
|
|
6879
6869
|
},
|
|
6880
|
-
"
|
|
6881
|
-
"description": "
|
|
6882
|
-
"name": "
|
|
6883
|
-
"required":
|
|
6870
|
+
"domain": {
|
|
6871
|
+
"description": "Custom domain for the cluster",
|
|
6872
|
+
"name": "domain",
|
|
6873
|
+
"required": true,
|
|
6884
6874
|
"hasDynamicHelp": false,
|
|
6885
6875
|
"multiple": false,
|
|
6886
6876
|
"type": "option"
|
|
6887
6877
|
},
|
|
6888
|
-
"
|
|
6889
|
-
"char": "
|
|
6890
|
-
"description": "
|
|
6891
|
-
"name": "
|
|
6878
|
+
"name": {
|
|
6879
|
+
"char": "n",
|
|
6880
|
+
"description": "Cluster name",
|
|
6881
|
+
"name": "name",
|
|
6892
6882
|
"required": true,
|
|
6893
6883
|
"hasDynamicHelp": false,
|
|
6894
6884
|
"multiple": false,
|
|
6895
6885
|
"type": "option"
|
|
6896
6886
|
},
|
|
6897
|
-
"
|
|
6898
|
-
"char": "
|
|
6899
|
-
"description": "
|
|
6900
|
-
"
|
|
6901
|
-
"name": "token",
|
|
6887
|
+
"output": {
|
|
6888
|
+
"char": "o",
|
|
6889
|
+
"description": "Output format",
|
|
6890
|
+
"name": "output",
|
|
6902
6891
|
"required": false,
|
|
6892
|
+
"default": "summary",
|
|
6893
|
+
"hasDynamicHelp": false,
|
|
6894
|
+
"multiple": false,
|
|
6895
|
+
"options": [
|
|
6896
|
+
"summary",
|
|
6897
|
+
"json"
|
|
6898
|
+
],
|
|
6899
|
+
"type": "option"
|
|
6900
|
+
},
|
|
6901
|
+
"type": {
|
|
6902
|
+
"description": "Cluster type",
|
|
6903
|
+
"name": "type",
|
|
6904
|
+
"required": true,
|
|
6903
6905
|
"hasDynamicHelp": false,
|
|
6904
6906
|
"multiple": false,
|
|
6907
|
+
"options": [
|
|
6908
|
+
"standard",
|
|
6909
|
+
"run"
|
|
6910
|
+
],
|
|
6905
6911
|
"type": "option"
|
|
6906
6912
|
}
|
|
6907
6913
|
},
|
|
6908
6914
|
"hasDynamicHelp": false,
|
|
6909
6915
|
"hiddenAliases": [],
|
|
6910
|
-
"id": "
|
|
6916
|
+
"id": "tenant:cluster:edit",
|
|
6911
6917
|
"pluginAlias": "@xano/cli",
|
|
6912
6918
|
"pluginName": "@xano/cli",
|
|
6913
6919
|
"pluginType": "core",
|
|
@@ -6917,13 +6923,13 @@
|
|
|
6917
6923
|
"relativePath": [
|
|
6918
6924
|
"dist",
|
|
6919
6925
|
"commands",
|
|
6920
|
-
"
|
|
6921
|
-
"
|
|
6922
|
-
"
|
|
6926
|
+
"tenant",
|
|
6927
|
+
"cluster",
|
|
6928
|
+
"edit",
|
|
6923
6929
|
"index.js"
|
|
6924
6930
|
]
|
|
6925
6931
|
},
|
|
6926
|
-
"tenant:cluster:license:
|
|
6932
|
+
"tenant:cluster:license:get": {
|
|
6927
6933
|
"aliases": [],
|
|
6928
6934
|
"args": {
|
|
6929
6935
|
"cluster_id": {
|
|
@@ -6932,12 +6938,12 @@
|
|
|
6932
6938
|
"required": true
|
|
6933
6939
|
}
|
|
6934
6940
|
},
|
|
6935
|
-
"description": "
|
|
6941
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6936
6942
|
"examples": [
|
|
6937
|
-
"$ xano tenant cluster license
|
|
6938
|
-
"$ xano tenant cluster license
|
|
6939
|
-
"$ xano tenant cluster license
|
|
6940
|
-
"$ xano tenant cluster license
|
|
6943
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6944
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6945
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6946
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6941
6947
|
],
|
|
6942
6948
|
"flags": {
|
|
6943
6949
|
"profile": {
|
|
@@ -6959,22 +6965,9 @@
|
|
|
6959
6965
|
"allowNo": false,
|
|
6960
6966
|
"type": "boolean"
|
|
6961
6967
|
},
|
|
6962
|
-
"clean": {
|
|
6963
|
-
"description": "Remove the source file after successful upload",
|
|
6964
|
-
"exclusive": [
|
|
6965
|
-
"value"
|
|
6966
|
-
],
|
|
6967
|
-
"name": "clean",
|
|
6968
|
-
"required": false,
|
|
6969
|
-
"allowNo": false,
|
|
6970
|
-
"type": "boolean"
|
|
6971
|
-
},
|
|
6972
6968
|
"file": {
|
|
6973
6969
|
"char": "f",
|
|
6974
|
-
"description": "
|
|
6975
|
-
"exclusive": [
|
|
6976
|
-
"value"
|
|
6977
|
-
],
|
|
6970
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6978
6971
|
"name": "file",
|
|
6979
6972
|
"required": false,
|
|
6980
6973
|
"hasDynamicHelp": false,
|
|
@@ -6995,22 +6988,17 @@
|
|
|
6995
6988
|
],
|
|
6996
6989
|
"type": "option"
|
|
6997
6990
|
},
|
|
6998
|
-
"
|
|
6999
|
-
"description": "
|
|
7000
|
-
"
|
|
7001
|
-
"file",
|
|
7002
|
-
"clean"
|
|
7003
|
-
],
|
|
7004
|
-
"name": "value",
|
|
6991
|
+
"view": {
|
|
6992
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6993
|
+
"name": "view",
|
|
7005
6994
|
"required": false,
|
|
7006
|
-
"
|
|
7007
|
-
"
|
|
7008
|
-
"type": "option"
|
|
6995
|
+
"allowNo": false,
|
|
6996
|
+
"type": "boolean"
|
|
7009
6997
|
}
|
|
7010
6998
|
},
|
|
7011
6999
|
"hasDynamicHelp": false,
|
|
7012
7000
|
"hiddenAliases": [],
|
|
7013
|
-
"id": "tenant:cluster:license:
|
|
7001
|
+
"id": "tenant:cluster:license:get",
|
|
7014
7002
|
"pluginAlias": "@xano/cli",
|
|
7015
7003
|
"pluginName": "@xano/cli",
|
|
7016
7004
|
"pluginType": "core",
|
|
@@ -7023,11 +7011,11 @@
|
|
|
7023
7011
|
"tenant",
|
|
7024
7012
|
"cluster",
|
|
7025
7013
|
"license",
|
|
7026
|
-
"
|
|
7014
|
+
"get",
|
|
7027
7015
|
"index.js"
|
|
7028
7016
|
]
|
|
7029
7017
|
},
|
|
7030
|
-
"tenant:cluster:license:
|
|
7018
|
+
"tenant:cluster:license:set": {
|
|
7031
7019
|
"aliases": [],
|
|
7032
7020
|
"args": {
|
|
7033
7021
|
"cluster_id": {
|
|
@@ -7036,12 +7024,12 @@
|
|
|
7036
7024
|
"required": true
|
|
7037
7025
|
}
|
|
7038
7026
|
},
|
|
7039
|
-
"description": "
|
|
7027
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
7040
7028
|
"examples": [
|
|
7041
|
-
"$ xano tenant cluster license
|
|
7042
|
-
"$ xano tenant cluster license
|
|
7043
|
-
"$ xano tenant cluster license
|
|
7044
|
-
"$ xano tenant cluster license
|
|
7029
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
7030
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
7031
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
7032
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
7045
7033
|
],
|
|
7046
7034
|
"flags": {
|
|
7047
7035
|
"profile": {
|
|
@@ -7063,9 +7051,22 @@
|
|
|
7063
7051
|
"allowNo": false,
|
|
7064
7052
|
"type": "boolean"
|
|
7065
7053
|
},
|
|
7054
|
+
"clean": {
|
|
7055
|
+
"description": "Remove the source file after successful upload",
|
|
7056
|
+
"exclusive": [
|
|
7057
|
+
"value"
|
|
7058
|
+
],
|
|
7059
|
+
"name": "clean",
|
|
7060
|
+
"required": false,
|
|
7061
|
+
"allowNo": false,
|
|
7062
|
+
"type": "boolean"
|
|
7063
|
+
},
|
|
7066
7064
|
"file": {
|
|
7067
7065
|
"char": "f",
|
|
7068
|
-
"description": "
|
|
7066
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
7067
|
+
"exclusive": [
|
|
7068
|
+
"value"
|
|
7069
|
+
],
|
|
7069
7070
|
"name": "file",
|
|
7070
7071
|
"required": false,
|
|
7071
7072
|
"hasDynamicHelp": false,
|
|
@@ -7086,17 +7087,22 @@
|
|
|
7086
7087
|
],
|
|
7087
7088
|
"type": "option"
|
|
7088
7089
|
},
|
|
7089
|
-
"
|
|
7090
|
-
"description": "
|
|
7091
|
-
"
|
|
7090
|
+
"value": {
|
|
7091
|
+
"description": "Inline kubeconfig YAML value",
|
|
7092
|
+
"exclusive": [
|
|
7093
|
+
"file",
|
|
7094
|
+
"clean"
|
|
7095
|
+
],
|
|
7096
|
+
"name": "value",
|
|
7092
7097
|
"required": false,
|
|
7093
|
-
"
|
|
7094
|
-
"
|
|
7098
|
+
"hasDynamicHelp": false,
|
|
7099
|
+
"multiple": false,
|
|
7100
|
+
"type": "option"
|
|
7095
7101
|
}
|
|
7096
7102
|
},
|
|
7097
7103
|
"hasDynamicHelp": false,
|
|
7098
7104
|
"hiddenAliases": [],
|
|
7099
|
-
"id": "tenant:cluster:license:
|
|
7105
|
+
"id": "tenant:cluster:license:set",
|
|
7100
7106
|
"pluginAlias": "@xano/cli",
|
|
7101
7107
|
"pluginName": "@xano/cli",
|
|
7102
7108
|
"pluginType": "core",
|
|
@@ -7109,10 +7115,10 @@
|
|
|
7109
7115
|
"tenant",
|
|
7110
7116
|
"cluster",
|
|
7111
7117
|
"license",
|
|
7112
|
-
"
|
|
7118
|
+
"set",
|
|
7113
7119
|
"index.js"
|
|
7114
7120
|
]
|
|
7115
7121
|
}
|
|
7116
7122
|
},
|
|
7117
|
-
"version": "0.0.
|
|
7123
|
+
"version": "0.0.69-beta.2"
|
|
7118
7124
|
}
|