@xano/cli 0.0.50 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +916 -916
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -523,90 +523,6 @@
|
|
|
523
523
|
"index.js"
|
|
524
524
|
]
|
|
525
525
|
},
|
|
526
|
-
"branch:set_live": {
|
|
527
|
-
"aliases": [],
|
|
528
|
-
"args": {
|
|
529
|
-
"branch_label": {
|
|
530
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
531
|
-
"name": "branch_label",
|
|
532
|
-
"required": true
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
536
|
-
"examples": [
|
|
537
|
-
"$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
|
|
538
|
-
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
539
|
-
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
540
|
-
],
|
|
541
|
-
"flags": {
|
|
542
|
-
"profile": {
|
|
543
|
-
"char": "p",
|
|
544
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
545
|
-
"env": "XANO_PROFILE",
|
|
546
|
-
"name": "profile",
|
|
547
|
-
"required": false,
|
|
548
|
-
"hasDynamicHelp": false,
|
|
549
|
-
"multiple": false,
|
|
550
|
-
"type": "option"
|
|
551
|
-
},
|
|
552
|
-
"verbose": {
|
|
553
|
-
"char": "v",
|
|
554
|
-
"description": "Show detailed request/response information",
|
|
555
|
-
"env": "XANO_VERBOSE",
|
|
556
|
-
"name": "verbose",
|
|
557
|
-
"required": false,
|
|
558
|
-
"allowNo": false,
|
|
559
|
-
"type": "boolean"
|
|
560
|
-
},
|
|
561
|
-
"force": {
|
|
562
|
-
"char": "f",
|
|
563
|
-
"description": "Skip confirmation prompt",
|
|
564
|
-
"name": "force",
|
|
565
|
-
"required": false,
|
|
566
|
-
"allowNo": false,
|
|
567
|
-
"type": "boolean"
|
|
568
|
-
},
|
|
569
|
-
"output": {
|
|
570
|
-
"char": "o",
|
|
571
|
-
"description": "Output format",
|
|
572
|
-
"name": "output",
|
|
573
|
-
"required": false,
|
|
574
|
-
"default": "summary",
|
|
575
|
-
"hasDynamicHelp": false,
|
|
576
|
-
"multiple": false,
|
|
577
|
-
"options": [
|
|
578
|
-
"summary",
|
|
579
|
-
"json"
|
|
580
|
-
],
|
|
581
|
-
"type": "option"
|
|
582
|
-
},
|
|
583
|
-
"workspace": {
|
|
584
|
-
"char": "w",
|
|
585
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
586
|
-
"name": "workspace",
|
|
587
|
-
"required": false,
|
|
588
|
-
"hasDynamicHelp": false,
|
|
589
|
-
"multiple": false,
|
|
590
|
-
"type": "option"
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
"hasDynamicHelp": false,
|
|
594
|
-
"hiddenAliases": [],
|
|
595
|
-
"id": "branch:set_live",
|
|
596
|
-
"pluginAlias": "@xano/cli",
|
|
597
|
-
"pluginName": "@xano/cli",
|
|
598
|
-
"pluginType": "core",
|
|
599
|
-
"strict": true,
|
|
600
|
-
"enableJsonFlag": false,
|
|
601
|
-
"isESM": true,
|
|
602
|
-
"relativePath": [
|
|
603
|
-
"dist",
|
|
604
|
-
"commands",
|
|
605
|
-
"branch",
|
|
606
|
-
"set_live",
|
|
607
|
-
"index.js"
|
|
608
|
-
]
|
|
609
|
-
},
|
|
610
526
|
"function:edit": {
|
|
611
527
|
"aliases": [],
|
|
612
528
|
"args": {
|
|
@@ -832,6 +748,90 @@
|
|
|
832
748
|
"index.js"
|
|
833
749
|
]
|
|
834
750
|
},
|
|
751
|
+
"branch:set_live": {
|
|
752
|
+
"aliases": [],
|
|
753
|
+
"args": {
|
|
754
|
+
"branch_label": {
|
|
755
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
756
|
+
"name": "branch_label",
|
|
757
|
+
"required": true
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
761
|
+
"examples": [
|
|
762
|
+
"$ 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",
|
|
763
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
764
|
+
"$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
|
|
765
|
+
],
|
|
766
|
+
"flags": {
|
|
767
|
+
"profile": {
|
|
768
|
+
"char": "p",
|
|
769
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
770
|
+
"env": "XANO_PROFILE",
|
|
771
|
+
"name": "profile",
|
|
772
|
+
"required": false,
|
|
773
|
+
"hasDynamicHelp": false,
|
|
774
|
+
"multiple": false,
|
|
775
|
+
"type": "option"
|
|
776
|
+
},
|
|
777
|
+
"verbose": {
|
|
778
|
+
"char": "v",
|
|
779
|
+
"description": "Show detailed request/response information",
|
|
780
|
+
"env": "XANO_VERBOSE",
|
|
781
|
+
"name": "verbose",
|
|
782
|
+
"required": false,
|
|
783
|
+
"allowNo": false,
|
|
784
|
+
"type": "boolean"
|
|
785
|
+
},
|
|
786
|
+
"force": {
|
|
787
|
+
"char": "f",
|
|
788
|
+
"description": "Skip confirmation prompt",
|
|
789
|
+
"name": "force",
|
|
790
|
+
"required": false,
|
|
791
|
+
"allowNo": false,
|
|
792
|
+
"type": "boolean"
|
|
793
|
+
},
|
|
794
|
+
"output": {
|
|
795
|
+
"char": "o",
|
|
796
|
+
"description": "Output format",
|
|
797
|
+
"name": "output",
|
|
798
|
+
"required": false,
|
|
799
|
+
"default": "summary",
|
|
800
|
+
"hasDynamicHelp": false,
|
|
801
|
+
"multiple": false,
|
|
802
|
+
"options": [
|
|
803
|
+
"summary",
|
|
804
|
+
"json"
|
|
805
|
+
],
|
|
806
|
+
"type": "option"
|
|
807
|
+
},
|
|
808
|
+
"workspace": {
|
|
809
|
+
"char": "w",
|
|
810
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
811
|
+
"name": "workspace",
|
|
812
|
+
"required": false,
|
|
813
|
+
"hasDynamicHelp": false,
|
|
814
|
+
"multiple": false,
|
|
815
|
+
"type": "option"
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
"hasDynamicHelp": false,
|
|
819
|
+
"hiddenAliases": [],
|
|
820
|
+
"id": "branch:set_live",
|
|
821
|
+
"pluginAlias": "@xano/cli",
|
|
822
|
+
"pluginName": "@xano/cli",
|
|
823
|
+
"pluginType": "core",
|
|
824
|
+
"strict": true,
|
|
825
|
+
"enableJsonFlag": false,
|
|
826
|
+
"isESM": true,
|
|
827
|
+
"relativePath": [
|
|
828
|
+
"dist",
|
|
829
|
+
"commands",
|
|
830
|
+
"branch",
|
|
831
|
+
"set_live",
|
|
832
|
+
"index.js"
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
835
|
"function:get": {
|
|
836
836
|
"aliases": [],
|
|
837
837
|
"args": {
|
|
@@ -926,6 +926,66 @@
|
|
|
926
926
|
"index.js"
|
|
927
927
|
]
|
|
928
928
|
},
|
|
929
|
+
"platform:list": {
|
|
930
|
+
"aliases": [],
|
|
931
|
+
"args": {},
|
|
932
|
+
"description": "List all platforms",
|
|
933
|
+
"examples": [
|
|
934
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
935
|
+
"$ xano platform list --output json"
|
|
936
|
+
],
|
|
937
|
+
"flags": {
|
|
938
|
+
"profile": {
|
|
939
|
+
"char": "p",
|
|
940
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
941
|
+
"env": "XANO_PROFILE",
|
|
942
|
+
"name": "profile",
|
|
943
|
+
"required": false,
|
|
944
|
+
"hasDynamicHelp": false,
|
|
945
|
+
"multiple": false,
|
|
946
|
+
"type": "option"
|
|
947
|
+
},
|
|
948
|
+
"verbose": {
|
|
949
|
+
"char": "v",
|
|
950
|
+
"description": "Show detailed request/response information",
|
|
951
|
+
"env": "XANO_VERBOSE",
|
|
952
|
+
"name": "verbose",
|
|
953
|
+
"required": false,
|
|
954
|
+
"allowNo": false,
|
|
955
|
+
"type": "boolean"
|
|
956
|
+
},
|
|
957
|
+
"output": {
|
|
958
|
+
"char": "o",
|
|
959
|
+
"description": "Output format",
|
|
960
|
+
"name": "output",
|
|
961
|
+
"required": false,
|
|
962
|
+
"default": "summary",
|
|
963
|
+
"hasDynamicHelp": false,
|
|
964
|
+
"multiple": false,
|
|
965
|
+
"options": [
|
|
966
|
+
"summary",
|
|
967
|
+
"json"
|
|
968
|
+
],
|
|
969
|
+
"type": "option"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"hasDynamicHelp": false,
|
|
973
|
+
"hiddenAliases": [],
|
|
974
|
+
"id": "platform:list",
|
|
975
|
+
"pluginAlias": "@xano/cli",
|
|
976
|
+
"pluginName": "@xano/cli",
|
|
977
|
+
"pluginType": "core",
|
|
978
|
+
"strict": true,
|
|
979
|
+
"enableJsonFlag": false,
|
|
980
|
+
"isESM": true,
|
|
981
|
+
"relativePath": [
|
|
982
|
+
"dist",
|
|
983
|
+
"commands",
|
|
984
|
+
"platform",
|
|
985
|
+
"list",
|
|
986
|
+
"index.js"
|
|
987
|
+
]
|
|
988
|
+
},
|
|
929
989
|
"function:list": {
|
|
930
990
|
"aliases": [],
|
|
931
991
|
"args": {},
|
|
@@ -1117,81 +1177,21 @@
|
|
|
1117
1177
|
"index.js"
|
|
1118
1178
|
]
|
|
1119
1179
|
},
|
|
1120
|
-
"
|
|
1180
|
+
"profile:create": {
|
|
1121
1181
|
"aliases": [],
|
|
1122
|
-
"args": {
|
|
1123
|
-
|
|
1182
|
+
"args": {
|
|
1183
|
+
"name": {
|
|
1184
|
+
"description": "Profile name",
|
|
1185
|
+
"name": "name",
|
|
1186
|
+
"required": true
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"description": "Create a new profile configuration",
|
|
1124
1190
|
"examples": [
|
|
1125
|
-
"$ xano
|
|
1126
|
-
"$ xano
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
"profile": {
|
|
1130
|
-
"char": "p",
|
|
1131
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1132
|
-
"env": "XANO_PROFILE",
|
|
1133
|
-
"name": "profile",
|
|
1134
|
-
"required": false,
|
|
1135
|
-
"hasDynamicHelp": false,
|
|
1136
|
-
"multiple": false,
|
|
1137
|
-
"type": "option"
|
|
1138
|
-
},
|
|
1139
|
-
"verbose": {
|
|
1140
|
-
"char": "v",
|
|
1141
|
-
"description": "Show detailed request/response information",
|
|
1142
|
-
"env": "XANO_VERBOSE",
|
|
1143
|
-
"name": "verbose",
|
|
1144
|
-
"required": false,
|
|
1145
|
-
"allowNo": false,
|
|
1146
|
-
"type": "boolean"
|
|
1147
|
-
},
|
|
1148
|
-
"output": {
|
|
1149
|
-
"char": "o",
|
|
1150
|
-
"description": "Output format",
|
|
1151
|
-
"name": "output",
|
|
1152
|
-
"required": false,
|
|
1153
|
-
"default": "summary",
|
|
1154
|
-
"hasDynamicHelp": false,
|
|
1155
|
-
"multiple": false,
|
|
1156
|
-
"options": [
|
|
1157
|
-
"summary",
|
|
1158
|
-
"json"
|
|
1159
|
-
],
|
|
1160
|
-
"type": "option"
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
"hasDynamicHelp": false,
|
|
1164
|
-
"hiddenAliases": [],
|
|
1165
|
-
"id": "platform:list",
|
|
1166
|
-
"pluginAlias": "@xano/cli",
|
|
1167
|
-
"pluginName": "@xano/cli",
|
|
1168
|
-
"pluginType": "core",
|
|
1169
|
-
"strict": true,
|
|
1170
|
-
"enableJsonFlag": false,
|
|
1171
|
-
"isESM": true,
|
|
1172
|
-
"relativePath": [
|
|
1173
|
-
"dist",
|
|
1174
|
-
"commands",
|
|
1175
|
-
"platform",
|
|
1176
|
-
"list",
|
|
1177
|
-
"index.js"
|
|
1178
|
-
]
|
|
1179
|
-
},
|
|
1180
|
-
"profile:create": {
|
|
1181
|
-
"aliases": [],
|
|
1182
|
-
"args": {
|
|
1183
|
-
"name": {
|
|
1184
|
-
"description": "Profile name",
|
|
1185
|
-
"name": "name",
|
|
1186
|
-
"required": true
|
|
1187
|
-
}
|
|
1188
|
-
},
|
|
1189
|
-
"description": "Create a new profile configuration",
|
|
1190
|
-
"examples": [
|
|
1191
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1192
|
-
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1193
|
-
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1194
|
-
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1191
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1192
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1193
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1194
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1195
1195
|
],
|
|
1196
1196
|
"flags": {
|
|
1197
1197
|
"access_token": {
|
|
@@ -1542,23 +1542,18 @@
|
|
|
1542
1542
|
"index.js"
|
|
1543
1543
|
]
|
|
1544
1544
|
},
|
|
1545
|
-
"profile:
|
|
1545
|
+
"profile:token": {
|
|
1546
1546
|
"aliases": [],
|
|
1547
|
-
"args": {
|
|
1548
|
-
|
|
1549
|
-
"description": "Profile name to set as default",
|
|
1550
|
-
"name": "name",
|
|
1551
|
-
"required": true
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
"description": "Set the default profile",
|
|
1547
|
+
"args": {},
|
|
1548
|
+
"description": "Print the access token for the default profile",
|
|
1555
1549
|
"examples": [
|
|
1556
|
-
"$ xano profile
|
|
1550
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1551
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1557
1552
|
],
|
|
1558
1553
|
"flags": {},
|
|
1559
1554
|
"hasDynamicHelp": false,
|
|
1560
1555
|
"hiddenAliases": [],
|
|
1561
|
-
"id": "profile:
|
|
1556
|
+
"id": "profile:token",
|
|
1562
1557
|
"pluginAlias": "@xano/cli",
|
|
1563
1558
|
"pluginName": "@xano/cli",
|
|
1564
1559
|
"pluginType": "core",
|
|
@@ -1569,7 +1564,7 @@
|
|
|
1569
1564
|
"dist",
|
|
1570
1565
|
"commands",
|
|
1571
1566
|
"profile",
|
|
1572
|
-
"
|
|
1567
|
+
"token",
|
|
1573
1568
|
"index.js"
|
|
1574
1569
|
]
|
|
1575
1570
|
},
|
|
@@ -1618,18 +1613,23 @@
|
|
|
1618
1613
|
"index.js"
|
|
1619
1614
|
]
|
|
1620
1615
|
},
|
|
1621
|
-
"profile:
|
|
1616
|
+
"profile:set": {
|
|
1622
1617
|
"aliases": [],
|
|
1623
|
-
"args": {
|
|
1624
|
-
|
|
1618
|
+
"args": {
|
|
1619
|
+
"name": {
|
|
1620
|
+
"description": "Profile name to set as default",
|
|
1621
|
+
"name": "name",
|
|
1622
|
+
"required": true
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
"description": "Set the default profile",
|
|
1625
1626
|
"examples": [
|
|
1626
|
-
"$ xano profile
|
|
1627
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1627
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1628
1628
|
],
|
|
1629
1629
|
"flags": {},
|
|
1630
1630
|
"hasDynamicHelp": false,
|
|
1631
1631
|
"hiddenAliases": [],
|
|
1632
|
-
"id": "profile:
|
|
1632
|
+
"id": "profile:set",
|
|
1633
1633
|
"pluginAlias": "@xano/cli",
|
|
1634
1634
|
"pluginName": "@xano/cli",
|
|
1635
1635
|
"pluginType": "core",
|
|
@@ -1640,7 +1640,7 @@
|
|
|
1640
1640
|
"dist",
|
|
1641
1641
|
"commands",
|
|
1642
1642
|
"profile",
|
|
1643
|
-
"
|
|
1643
|
+
"set",
|
|
1644
1644
|
"index.js"
|
|
1645
1645
|
]
|
|
1646
1646
|
},
|
|
@@ -2042,13 +2042,19 @@
|
|
|
2042
2042
|
"index.js"
|
|
2043
2043
|
]
|
|
2044
2044
|
},
|
|
2045
|
-
"release:
|
|
2045
|
+
"release:get": {
|
|
2046
2046
|
"aliases": [],
|
|
2047
|
-
"args": {
|
|
2048
|
-
|
|
2047
|
+
"args": {
|
|
2048
|
+
"release_name": {
|
|
2049
|
+
"description": "Release name to retrieve",
|
|
2050
|
+
"name": "release_name",
|
|
2051
|
+
"required": true
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
"description": "Get details of a specific release",
|
|
2049
2055
|
"examples": [
|
|
2050
|
-
"$ xano release
|
|
2051
|
-
"$ xano release
|
|
2056
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2057
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2052
2058
|
],
|
|
2053
2059
|
"flags": {
|
|
2054
2060
|
"profile": {
|
|
@@ -2070,15 +2076,6 @@
|
|
|
2070
2076
|
"allowNo": false,
|
|
2071
2077
|
"type": "boolean"
|
|
2072
2078
|
},
|
|
2073
|
-
"file": {
|
|
2074
|
-
"char": "f",
|
|
2075
|
-
"description": "Path to the release file (.tar.gz)",
|
|
2076
|
-
"name": "file",
|
|
2077
|
-
"required": true,
|
|
2078
|
-
"hasDynamicHelp": false,
|
|
2079
|
-
"multiple": false,
|
|
2080
|
-
"type": "option"
|
|
2081
|
-
},
|
|
2082
2079
|
"output": {
|
|
2083
2080
|
"char": "o",
|
|
2084
2081
|
"description": "Output format",
|
|
@@ -2105,7 +2102,7 @@
|
|
|
2105
2102
|
},
|
|
2106
2103
|
"hasDynamicHelp": false,
|
|
2107
2104
|
"hiddenAliases": [],
|
|
2108
|
-
"id": "release:
|
|
2105
|
+
"id": "release:get",
|
|
2109
2106
|
"pluginAlias": "@xano/cli",
|
|
2110
2107
|
"pluginName": "@xano/cli",
|
|
2111
2108
|
"pluginType": "core",
|
|
@@ -2116,24 +2113,17 @@
|
|
|
2116
2113
|
"dist",
|
|
2117
2114
|
"commands",
|
|
2118
2115
|
"release",
|
|
2119
|
-
"
|
|
2116
|
+
"get",
|
|
2120
2117
|
"index.js"
|
|
2121
2118
|
]
|
|
2122
2119
|
},
|
|
2123
|
-
"release:
|
|
2120
|
+
"release:import": {
|
|
2124
2121
|
"aliases": [],
|
|
2125
|
-
"args": {
|
|
2126
|
-
|
|
2127
|
-
"description": "Output directory for pulled documents",
|
|
2128
|
-
"name": "directory",
|
|
2129
|
-
"required": true
|
|
2130
|
-
}
|
|
2131
|
-
},
|
|
2132
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2122
|
+
"args": {},
|
|
2123
|
+
"description": "Import a release file into a workspace",
|
|
2133
2124
|
"examples": [
|
|
2134
|
-
"$ xano release
|
|
2135
|
-
"$ xano release
|
|
2136
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2125
|
+
"$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
|
|
2126
|
+
"$ xano release import --file ./my-release.tar.gz -o json"
|
|
2137
2127
|
],
|
|
2138
2128
|
"flags": {
|
|
2139
2129
|
"profile": {
|
|
@@ -2155,32 +2145,32 @@
|
|
|
2155
2145
|
"allowNo": false,
|
|
2156
2146
|
"type": "boolean"
|
|
2157
2147
|
},
|
|
2158
|
-
"
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2161
|
-
"
|
|
2162
|
-
"
|
|
2163
|
-
"
|
|
2148
|
+
"file": {
|
|
2149
|
+
"char": "f",
|
|
2150
|
+
"description": "Path to the release file (.tar.gz)",
|
|
2151
|
+
"name": "file",
|
|
2152
|
+
"required": true,
|
|
2153
|
+
"hasDynamicHelp": false,
|
|
2154
|
+
"multiple": false,
|
|
2155
|
+
"type": "option"
|
|
2164
2156
|
},
|
|
2165
|
-
"
|
|
2166
|
-
"
|
|
2167
|
-
"
|
|
2157
|
+
"output": {
|
|
2158
|
+
"char": "o",
|
|
2159
|
+
"description": "Output format",
|
|
2160
|
+
"name": "output",
|
|
2168
2161
|
"required": false,
|
|
2169
|
-
"
|
|
2170
|
-
"type": "boolean"
|
|
2171
|
-
},
|
|
2172
|
-
"release": {
|
|
2173
|
-
"char": "r",
|
|
2174
|
-
"description": "Release name to pull from",
|
|
2175
|
-
"name": "release",
|
|
2176
|
-
"required": true,
|
|
2162
|
+
"default": "summary",
|
|
2177
2163
|
"hasDynamicHelp": false,
|
|
2178
2164
|
"multiple": false,
|
|
2165
|
+
"options": [
|
|
2166
|
+
"summary",
|
|
2167
|
+
"json"
|
|
2168
|
+
],
|
|
2179
2169
|
"type": "option"
|
|
2180
2170
|
},
|
|
2181
2171
|
"workspace": {
|
|
2182
2172
|
"char": "w",
|
|
2183
|
-
"description": "Workspace ID (
|
|
2173
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2184
2174
|
"name": "workspace",
|
|
2185
2175
|
"required": false,
|
|
2186
2176
|
"hasDynamicHelp": false,
|
|
@@ -2190,7 +2180,7 @@
|
|
|
2190
2180
|
},
|
|
2191
2181
|
"hasDynamicHelp": false,
|
|
2192
2182
|
"hiddenAliases": [],
|
|
2193
|
-
"id": "release:
|
|
2183
|
+
"id": "release:import",
|
|
2194
2184
|
"pluginAlias": "@xano/cli",
|
|
2195
2185
|
"pluginName": "@xano/cli",
|
|
2196
2186
|
"pluginType": "core",
|
|
@@ -2201,7 +2191,7 @@
|
|
|
2201
2191
|
"dist",
|
|
2202
2192
|
"commands",
|
|
2203
2193
|
"release",
|
|
2204
|
-
"
|
|
2194
|
+
"import",
|
|
2205
2195
|
"index.js"
|
|
2206
2196
|
]
|
|
2207
2197
|
},
|
|
@@ -2274,19 +2264,20 @@
|
|
|
2274
2264
|
"index.js"
|
|
2275
2265
|
]
|
|
2276
2266
|
},
|
|
2277
|
-
"release:
|
|
2267
|
+
"release:pull": {
|
|
2278
2268
|
"aliases": [],
|
|
2279
2269
|
"args": {
|
|
2280
|
-
"
|
|
2281
|
-
"description": "
|
|
2282
|
-
"name": "
|
|
2270
|
+
"directory": {
|
|
2271
|
+
"description": "Output directory for pulled documents",
|
|
2272
|
+
"name": "directory",
|
|
2283
2273
|
"required": true
|
|
2284
2274
|
}
|
|
2285
2275
|
},
|
|
2286
|
-
"description": "
|
|
2276
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2287
2277
|
"examples": [
|
|
2288
|
-
"$ xano release
|
|
2289
|
-
"$ xano release
|
|
2278
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2279
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2280
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2290
2281
|
],
|
|
2291
2282
|
"flags": {
|
|
2292
2283
|
"profile": {
|
|
@@ -2308,23 +2299,32 @@
|
|
|
2308
2299
|
"allowNo": false,
|
|
2309
2300
|
"type": "boolean"
|
|
2310
2301
|
},
|
|
2311
|
-
"
|
|
2312
|
-
"
|
|
2313
|
-
"
|
|
2314
|
-
"name": "output",
|
|
2302
|
+
"env": {
|
|
2303
|
+
"description": "Include environment variables",
|
|
2304
|
+
"name": "env",
|
|
2315
2305
|
"required": false,
|
|
2316
|
-
"
|
|
2306
|
+
"allowNo": false,
|
|
2307
|
+
"type": "boolean"
|
|
2308
|
+
},
|
|
2309
|
+
"records": {
|
|
2310
|
+
"description": "Include records",
|
|
2311
|
+
"name": "records",
|
|
2312
|
+
"required": false,
|
|
2313
|
+
"allowNo": false,
|
|
2314
|
+
"type": "boolean"
|
|
2315
|
+
},
|
|
2316
|
+
"release": {
|
|
2317
|
+
"char": "r",
|
|
2318
|
+
"description": "Release name to pull from",
|
|
2319
|
+
"name": "release",
|
|
2320
|
+
"required": true,
|
|
2317
2321
|
"hasDynamicHelp": false,
|
|
2318
2322
|
"multiple": false,
|
|
2319
|
-
"options": [
|
|
2320
|
-
"summary",
|
|
2321
|
-
"json"
|
|
2322
|
-
],
|
|
2323
2323
|
"type": "option"
|
|
2324
2324
|
},
|
|
2325
2325
|
"workspace": {
|
|
2326
2326
|
"char": "w",
|
|
2327
|
-
"description": "Workspace ID (
|
|
2327
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2328
2328
|
"name": "workspace",
|
|
2329
2329
|
"required": false,
|
|
2330
2330
|
"hasDynamicHelp": false,
|
|
@@ -2334,7 +2334,7 @@
|
|
|
2334
2334
|
},
|
|
2335
2335
|
"hasDynamicHelp": false,
|
|
2336
2336
|
"hiddenAliases": [],
|
|
2337
|
-
"id": "release:
|
|
2337
|
+
"id": "release:pull",
|
|
2338
2338
|
"pluginAlias": "@xano/cli",
|
|
2339
2339
|
"pluginName": "@xano/cli",
|
|
2340
2340
|
"pluginType": "core",
|
|
@@ -2345,7 +2345,7 @@
|
|
|
2345
2345
|
"dist",
|
|
2346
2346
|
"commands",
|
|
2347
2347
|
"release",
|
|
2348
|
-
"
|
|
2348
|
+
"pull",
|
|
2349
2349
|
"index.js"
|
|
2350
2350
|
]
|
|
2351
2351
|
},
|
|
@@ -2551,19 +2551,19 @@
|
|
|
2551
2551
|
"index.js"
|
|
2552
2552
|
]
|
|
2553
2553
|
},
|
|
2554
|
-
"tenant:
|
|
2554
|
+
"tenant:deploy_platform": {
|
|
2555
2555
|
"aliases": [],
|
|
2556
2556
|
"args": {
|
|
2557
|
-
"
|
|
2558
|
-
"description": "
|
|
2559
|
-
"name": "
|
|
2557
|
+
"tenant_name": {
|
|
2558
|
+
"description": "Tenant name to deploy to",
|
|
2559
|
+
"name": "tenant_name",
|
|
2560
2560
|
"required": true
|
|
2561
2561
|
}
|
|
2562
2562
|
},
|
|
2563
|
-
"description": "
|
|
2563
|
+
"description": "Deploy a platform version to a tenant",
|
|
2564
2564
|
"examples": [
|
|
2565
|
-
"$ xano tenant
|
|
2566
|
-
"$ xano tenant
|
|
2565
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2566
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2567
2567
|
],
|
|
2568
2568
|
"flags": {
|
|
2569
2569
|
"profile": {
|
|
@@ -2585,9 +2585,92 @@
|
|
|
2585
2585
|
"allowNo": false,
|
|
2586
2586
|
"type": "boolean"
|
|
2587
2587
|
},
|
|
2588
|
-
"
|
|
2589
|
-
"
|
|
2590
|
-
"
|
|
2588
|
+
"output": {
|
|
2589
|
+
"char": "o",
|
|
2590
|
+
"description": "Output format",
|
|
2591
|
+
"name": "output",
|
|
2592
|
+
"required": false,
|
|
2593
|
+
"default": "summary",
|
|
2594
|
+
"hasDynamicHelp": false,
|
|
2595
|
+
"multiple": false,
|
|
2596
|
+
"options": [
|
|
2597
|
+
"summary",
|
|
2598
|
+
"json"
|
|
2599
|
+
],
|
|
2600
|
+
"type": "option"
|
|
2601
|
+
},
|
|
2602
|
+
"platform_id": {
|
|
2603
|
+
"description": "Platform ID to deploy",
|
|
2604
|
+
"name": "platform_id",
|
|
2605
|
+
"required": true,
|
|
2606
|
+
"hasDynamicHelp": false,
|
|
2607
|
+
"multiple": false,
|
|
2608
|
+
"type": "option"
|
|
2609
|
+
},
|
|
2610
|
+
"workspace": {
|
|
2611
|
+
"char": "w",
|
|
2612
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2613
|
+
"name": "workspace",
|
|
2614
|
+
"required": false,
|
|
2615
|
+
"hasDynamicHelp": false,
|
|
2616
|
+
"multiple": false,
|
|
2617
|
+
"type": "option"
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2620
|
+
"hasDynamicHelp": false,
|
|
2621
|
+
"hiddenAliases": [],
|
|
2622
|
+
"id": "tenant:deploy_platform",
|
|
2623
|
+
"pluginAlias": "@xano/cli",
|
|
2624
|
+
"pluginName": "@xano/cli",
|
|
2625
|
+
"pluginType": "core",
|
|
2626
|
+
"strict": true,
|
|
2627
|
+
"enableJsonFlag": false,
|
|
2628
|
+
"isESM": true,
|
|
2629
|
+
"relativePath": [
|
|
2630
|
+
"dist",
|
|
2631
|
+
"commands",
|
|
2632
|
+
"tenant",
|
|
2633
|
+
"deploy_platform",
|
|
2634
|
+
"index.js"
|
|
2635
|
+
]
|
|
2636
|
+
},
|
|
2637
|
+
"tenant:create": {
|
|
2638
|
+
"aliases": [],
|
|
2639
|
+
"args": {
|
|
2640
|
+
"display": {
|
|
2641
|
+
"description": "Display name for the tenant",
|
|
2642
|
+
"name": "display",
|
|
2643
|
+
"required": true
|
|
2644
|
+
}
|
|
2645
|
+
},
|
|
2646
|
+
"description": "Create a new tenant in a workspace",
|
|
2647
|
+
"examples": [
|
|
2648
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2649
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2650
|
+
],
|
|
2651
|
+
"flags": {
|
|
2652
|
+
"profile": {
|
|
2653
|
+
"char": "p",
|
|
2654
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2655
|
+
"env": "XANO_PROFILE",
|
|
2656
|
+
"name": "profile",
|
|
2657
|
+
"required": false,
|
|
2658
|
+
"hasDynamicHelp": false,
|
|
2659
|
+
"multiple": false,
|
|
2660
|
+
"type": "option"
|
|
2661
|
+
},
|
|
2662
|
+
"verbose": {
|
|
2663
|
+
"char": "v",
|
|
2664
|
+
"description": "Show detailed request/response information",
|
|
2665
|
+
"env": "XANO_VERBOSE",
|
|
2666
|
+
"name": "verbose",
|
|
2667
|
+
"required": false,
|
|
2668
|
+
"allowNo": false,
|
|
2669
|
+
"type": "boolean"
|
|
2670
|
+
},
|
|
2671
|
+
"cluster_id": {
|
|
2672
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2673
|
+
"name": "cluster_id",
|
|
2591
2674
|
"required": false,
|
|
2592
2675
|
"hasDynamicHelp": false,
|
|
2593
2676
|
"multiple": false,
|
|
@@ -2691,19 +2774,19 @@
|
|
|
2691
2774
|
"index.js"
|
|
2692
2775
|
]
|
|
2693
2776
|
},
|
|
2694
|
-
"tenant:
|
|
2777
|
+
"tenant:get": {
|
|
2695
2778
|
"aliases": [],
|
|
2696
2779
|
"args": {
|
|
2697
2780
|
"tenant_name": {
|
|
2698
|
-
"description": "Tenant name to
|
|
2781
|
+
"description": "Tenant name to retrieve",
|
|
2699
2782
|
"name": "tenant_name",
|
|
2700
2783
|
"required": true
|
|
2701
2784
|
}
|
|
2702
2785
|
},
|
|
2703
|
-
"description": "
|
|
2786
|
+
"description": "Get details of a specific tenant",
|
|
2704
2787
|
"examples": [
|
|
2705
|
-
"$ xano tenant
|
|
2706
|
-
"$ xano tenant
|
|
2788
|
+
"$ 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",
|
|
2789
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
2707
2790
|
],
|
|
2708
2791
|
"flags": {
|
|
2709
2792
|
"profile": {
|
|
@@ -2739,14 +2822,6 @@
|
|
|
2739
2822
|
],
|
|
2740
2823
|
"type": "option"
|
|
2741
2824
|
},
|
|
2742
|
-
"platform_id": {
|
|
2743
|
-
"description": "Platform ID to deploy",
|
|
2744
|
-
"name": "platform_id",
|
|
2745
|
-
"required": true,
|
|
2746
|
-
"hasDynamicHelp": false,
|
|
2747
|
-
"multiple": false,
|
|
2748
|
-
"type": "option"
|
|
2749
|
-
},
|
|
2750
2825
|
"workspace": {
|
|
2751
2826
|
"char": "w",
|
|
2752
2827
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2759,7 +2834,7 @@
|
|
|
2759
2834
|
},
|
|
2760
2835
|
"hasDynamicHelp": false,
|
|
2761
2836
|
"hiddenAliases": [],
|
|
2762
|
-
"id": "tenant:
|
|
2837
|
+
"id": "tenant:get",
|
|
2763
2838
|
"pluginAlias": "@xano/cli",
|
|
2764
2839
|
"pluginName": "@xano/cli",
|
|
2765
2840
|
"pluginType": "core",
|
|
@@ -2770,7 +2845,7 @@
|
|
|
2770
2845
|
"dist",
|
|
2771
2846
|
"commands",
|
|
2772
2847
|
"tenant",
|
|
2773
|
-
"
|
|
2848
|
+
"get",
|
|
2774
2849
|
"index.js"
|
|
2775
2850
|
]
|
|
2776
2851
|
},
|
|
@@ -2903,81 +2978,6 @@
|
|
|
2903
2978
|
"index.js"
|
|
2904
2979
|
]
|
|
2905
2980
|
},
|
|
2906
|
-
"tenant:get": {
|
|
2907
|
-
"aliases": [],
|
|
2908
|
-
"args": {
|
|
2909
|
-
"tenant_name": {
|
|
2910
|
-
"description": "Tenant name to retrieve",
|
|
2911
|
-
"name": "tenant_name",
|
|
2912
|
-
"required": true
|
|
2913
|
-
}
|
|
2914
|
-
},
|
|
2915
|
-
"description": "Get details of a specific tenant",
|
|
2916
|
-
"examples": [
|
|
2917
|
-
"$ 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",
|
|
2918
|
-
"$ xano tenant get t1234-abcd-xyz1 -w 5 -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",
|
|
2926
|
-
"required": false,
|
|
2927
|
-
"hasDynamicHelp": false,
|
|
2928
|
-
"multiple": false,
|
|
2929
|
-
"type": "option"
|
|
2930
|
-
},
|
|
2931
|
-
"verbose": {
|
|
2932
|
-
"char": "v",
|
|
2933
|
-
"description": "Show detailed request/response information",
|
|
2934
|
-
"env": "XANO_VERBOSE",
|
|
2935
|
-
"name": "verbose",
|
|
2936
|
-
"required": false,
|
|
2937
|
-
"allowNo": false,
|
|
2938
|
-
"type": "boolean"
|
|
2939
|
-
},
|
|
2940
|
-
"output": {
|
|
2941
|
-
"char": "o",
|
|
2942
|
-
"description": "Output format",
|
|
2943
|
-
"name": "output",
|
|
2944
|
-
"required": false,
|
|
2945
|
-
"default": "summary",
|
|
2946
|
-
"hasDynamicHelp": false,
|
|
2947
|
-
"multiple": false,
|
|
2948
|
-
"options": [
|
|
2949
|
-
"summary",
|
|
2950
|
-
"json"
|
|
2951
|
-
],
|
|
2952
|
-
"type": "option"
|
|
2953
|
-
},
|
|
2954
|
-
"workspace": {
|
|
2955
|
-
"char": "w",
|
|
2956
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2957
|
-
"name": "workspace",
|
|
2958
|
-
"required": false,
|
|
2959
|
-
"hasDynamicHelp": false,
|
|
2960
|
-
"multiple": false,
|
|
2961
|
-
"type": "option"
|
|
2962
|
-
}
|
|
2963
|
-
},
|
|
2964
|
-
"hasDynamicHelp": false,
|
|
2965
|
-
"hiddenAliases": [],
|
|
2966
|
-
"id": "tenant:get",
|
|
2967
|
-
"pluginAlias": "@xano/cli",
|
|
2968
|
-
"pluginName": "@xano/cli",
|
|
2969
|
-
"pluginType": "core",
|
|
2970
|
-
"strict": true,
|
|
2971
|
-
"enableJsonFlag": false,
|
|
2972
|
-
"isESM": true,
|
|
2973
|
-
"relativePath": [
|
|
2974
|
-
"dist",
|
|
2975
|
-
"commands",
|
|
2976
|
-
"tenant",
|
|
2977
|
-
"get",
|
|
2978
|
-
"index.js"
|
|
2979
|
-
]
|
|
2980
|
-
},
|
|
2981
2981
|
"tenant:deploy_release": {
|
|
2982
2982
|
"aliases": [],
|
|
2983
2983
|
"args": {
|
|
@@ -3062,13 +3062,19 @@
|
|
|
3062
3062
|
"index.js"
|
|
3063
3063
|
]
|
|
3064
3064
|
},
|
|
3065
|
-
"tenant:
|
|
3065
|
+
"tenant:impersonate": {
|
|
3066
3066
|
"aliases": [],
|
|
3067
|
-
"args": {
|
|
3068
|
-
|
|
3067
|
+
"args": {
|
|
3068
|
+
"tenant_name": {
|
|
3069
|
+
"description": "Tenant name to impersonate",
|
|
3070
|
+
"name": "tenant_name",
|
|
3071
|
+
"required": true
|
|
3072
|
+
}
|
|
3073
|
+
},
|
|
3074
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3069
3075
|
"examples": [
|
|
3070
|
-
"$ xano tenant
|
|
3071
|
-
"$ xano tenant
|
|
3076
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3077
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3072
3078
|
],
|
|
3073
3079
|
"flags": {
|
|
3074
3080
|
"profile": {
|
|
@@ -3104,6 +3110,14 @@
|
|
|
3104
3110
|
],
|
|
3105
3111
|
"type": "option"
|
|
3106
3112
|
},
|
|
3113
|
+
"url-only": {
|
|
3114
|
+
"char": "u",
|
|
3115
|
+
"description": "Print the URL without opening the browser",
|
|
3116
|
+
"name": "url-only",
|
|
3117
|
+
"required": false,
|
|
3118
|
+
"allowNo": false,
|
|
3119
|
+
"type": "boolean"
|
|
3120
|
+
},
|
|
3107
3121
|
"workspace": {
|
|
3108
3122
|
"char": "w",
|
|
3109
3123
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3116,7 +3130,7 @@
|
|
|
3116
3130
|
},
|
|
3117
3131
|
"hasDynamicHelp": false,
|
|
3118
3132
|
"hiddenAliases": [],
|
|
3119
|
-
"id": "tenant:
|
|
3133
|
+
"id": "tenant:impersonate",
|
|
3120
3134
|
"pluginAlias": "@xano/cli",
|
|
3121
3135
|
"pluginName": "@xano/cli",
|
|
3122
3136
|
"pluginType": "core",
|
|
@@ -3127,23 +3141,17 @@
|
|
|
3127
3141
|
"dist",
|
|
3128
3142
|
"commands",
|
|
3129
3143
|
"tenant",
|
|
3130
|
-
"
|
|
3144
|
+
"impersonate",
|
|
3131
3145
|
"index.js"
|
|
3132
3146
|
]
|
|
3133
3147
|
},
|
|
3134
|
-
"tenant:
|
|
3148
|
+
"tenant:list": {
|
|
3135
3149
|
"aliases": [],
|
|
3136
|
-
"args": {
|
|
3137
|
-
|
|
3138
|
-
"description": "Tenant name to impersonate",
|
|
3139
|
-
"name": "tenant_name",
|
|
3140
|
-
"required": true
|
|
3141
|
-
}
|
|
3142
|
-
},
|
|
3143
|
-
"description": "Impersonate a tenant and open it in the browser",
|
|
3150
|
+
"args": {},
|
|
3151
|
+
"description": "List all tenants in a workspace",
|
|
3144
3152
|
"examples": [
|
|
3145
|
-
"$ xano tenant
|
|
3146
|
-
"$ xano tenant
|
|
3153
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3154
|
+
"$ xano tenant list -w 5 --output json"
|
|
3147
3155
|
],
|
|
3148
3156
|
"flags": {
|
|
3149
3157
|
"profile": {
|
|
@@ -3179,14 +3187,6 @@
|
|
|
3179
3187
|
],
|
|
3180
3188
|
"type": "option"
|
|
3181
3189
|
},
|
|
3182
|
-
"url-only": {
|
|
3183
|
-
"char": "u",
|
|
3184
|
-
"description": "Print the URL without opening the browser",
|
|
3185
|
-
"name": "url-only",
|
|
3186
|
-
"required": false,
|
|
3187
|
-
"allowNo": false,
|
|
3188
|
-
"type": "boolean"
|
|
3189
|
-
},
|
|
3190
3190
|
"workspace": {
|
|
3191
3191
|
"char": "w",
|
|
3192
3192
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3199,7 +3199,7 @@
|
|
|
3199
3199
|
},
|
|
3200
3200
|
"hasDynamicHelp": false,
|
|
3201
3201
|
"hiddenAliases": [],
|
|
3202
|
-
"id": "tenant:
|
|
3202
|
+
"id": "tenant:list",
|
|
3203
3203
|
"pluginAlias": "@xano/cli",
|
|
3204
3204
|
"pluginName": "@xano/cli",
|
|
3205
3205
|
"pluginType": "core",
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
"dist",
|
|
3211
3211
|
"commands",
|
|
3212
3212
|
"tenant",
|
|
3213
|
-
"
|
|
3213
|
+
"list",
|
|
3214
3214
|
"index.js"
|
|
3215
3215
|
]
|
|
3216
3216
|
},
|
|
@@ -3491,19 +3491,13 @@
|
|
|
3491
3491
|
"index.js"
|
|
3492
3492
|
]
|
|
3493
3493
|
},
|
|
3494
|
-
"unit_test:
|
|
3494
|
+
"unit_test:run_all": {
|
|
3495
3495
|
"aliases": [],
|
|
3496
|
-
"args": {
|
|
3497
|
-
|
|
3498
|
-
"description": "ID of the unit test to run",
|
|
3499
|
-
"name": "unit_test_id",
|
|
3500
|
-
"required": true
|
|
3501
|
-
}
|
|
3502
|
-
},
|
|
3503
|
-
"description": "Run a unit test",
|
|
3496
|
+
"args": {},
|
|
3497
|
+
"description": "Run all unit tests in a workspace",
|
|
3504
3498
|
"examples": [
|
|
3505
|
-
"$ xano unit-test run
|
|
3506
|
-
"$ xano unit-test run
|
|
3499
|
+
"$ 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",
|
|
3500
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3507
3501
|
],
|
|
3508
3502
|
"flags": {
|
|
3509
3503
|
"profile": {
|
|
@@ -3525,15 +3519,37 @@
|
|
|
3525
3519
|
"allowNo": false,
|
|
3526
3520
|
"type": "boolean"
|
|
3527
3521
|
},
|
|
3528
|
-
"
|
|
3529
|
-
"char": "
|
|
3530
|
-
"description": "
|
|
3531
|
-
"name": "
|
|
3522
|
+
"branch": {
|
|
3523
|
+
"char": "b",
|
|
3524
|
+
"description": "Filter by branch name",
|
|
3525
|
+
"name": "branch",
|
|
3532
3526
|
"required": false,
|
|
3533
|
-
"default": "summary",
|
|
3534
3527
|
"hasDynamicHelp": false,
|
|
3535
3528
|
"multiple": false,
|
|
3536
|
-
"
|
|
3529
|
+
"type": "option"
|
|
3530
|
+
},
|
|
3531
|
+
"obj-type": {
|
|
3532
|
+
"description": "Filter by object type",
|
|
3533
|
+
"name": "obj-type",
|
|
3534
|
+
"required": false,
|
|
3535
|
+
"hasDynamicHelp": false,
|
|
3536
|
+
"multiple": false,
|
|
3537
|
+
"options": [
|
|
3538
|
+
"function",
|
|
3539
|
+
"query",
|
|
3540
|
+
"middleware"
|
|
3541
|
+
],
|
|
3542
|
+
"type": "option"
|
|
3543
|
+
},
|
|
3544
|
+
"output": {
|
|
3545
|
+
"char": "o",
|
|
3546
|
+
"description": "Output format",
|
|
3547
|
+
"name": "output",
|
|
3548
|
+
"required": false,
|
|
3549
|
+
"default": "summary",
|
|
3550
|
+
"hasDynamicHelp": false,
|
|
3551
|
+
"multiple": false,
|
|
3552
|
+
"options": [
|
|
3537
3553
|
"summary",
|
|
3538
3554
|
"json"
|
|
3539
3555
|
],
|
|
@@ -3551,7 +3567,7 @@
|
|
|
3551
3567
|
},
|
|
3552
3568
|
"hasDynamicHelp": false,
|
|
3553
3569
|
"hiddenAliases": [],
|
|
3554
|
-
"id": "unit_test:
|
|
3570
|
+
"id": "unit_test:run_all",
|
|
3555
3571
|
"pluginAlias": "@xano/cli",
|
|
3556
3572
|
"pluginName": "@xano/cli",
|
|
3557
3573
|
"pluginType": "core",
|
|
@@ -3562,7 +3578,7 @@
|
|
|
3562
3578
|
"dist",
|
|
3563
3579
|
"commands",
|
|
3564
3580
|
"unit_test",
|
|
3565
|
-
"
|
|
3581
|
+
"run_all",
|
|
3566
3582
|
"index.js"
|
|
3567
3583
|
]
|
|
3568
3584
|
},
|
|
@@ -3642,14 +3658,19 @@
|
|
|
3642
3658
|
"index.js"
|
|
3643
3659
|
]
|
|
3644
3660
|
},
|
|
3645
|
-
"unit_test:
|
|
3661
|
+
"unit_test:run": {
|
|
3646
3662
|
"aliases": [],
|
|
3647
|
-
"args": {
|
|
3648
|
-
|
|
3663
|
+
"args": {
|
|
3664
|
+
"unit_test_id": {
|
|
3665
|
+
"description": "ID of the unit test to run",
|
|
3666
|
+
"name": "unit_test_id",
|
|
3667
|
+
"required": true
|
|
3668
|
+
}
|
|
3669
|
+
},
|
|
3670
|
+
"description": "Run a unit test",
|
|
3649
3671
|
"examples": [
|
|
3650
|
-
"$ xano unit-test
|
|
3651
|
-
"$ xano unit-test
|
|
3652
|
-
"$ xano unit-test list --obj-type function"
|
|
3672
|
+
"$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
|
|
3673
|
+
"$ xano unit-test run abc-123 -o json"
|
|
3653
3674
|
],
|
|
3654
3675
|
"flags": {
|
|
3655
3676
|
"profile": {
|
|
@@ -3671,28 +3692,6 @@
|
|
|
3671
3692
|
"allowNo": false,
|
|
3672
3693
|
"type": "boolean"
|
|
3673
3694
|
},
|
|
3674
|
-
"branch": {
|
|
3675
|
-
"char": "b",
|
|
3676
|
-
"description": "Filter by branch name",
|
|
3677
|
-
"name": "branch",
|
|
3678
|
-
"required": false,
|
|
3679
|
-
"hasDynamicHelp": false,
|
|
3680
|
-
"multiple": false,
|
|
3681
|
-
"type": "option"
|
|
3682
|
-
},
|
|
3683
|
-
"obj-type": {
|
|
3684
|
-
"description": "Filter by object type",
|
|
3685
|
-
"name": "obj-type",
|
|
3686
|
-
"required": false,
|
|
3687
|
-
"hasDynamicHelp": false,
|
|
3688
|
-
"multiple": false,
|
|
3689
|
-
"options": [
|
|
3690
|
-
"function",
|
|
3691
|
-
"query",
|
|
3692
|
-
"middleware"
|
|
3693
|
-
],
|
|
3694
|
-
"type": "option"
|
|
3695
|
-
},
|
|
3696
3695
|
"output": {
|
|
3697
3696
|
"char": "o",
|
|
3698
3697
|
"description": "Output format",
|
|
@@ -3719,7 +3718,7 @@
|
|
|
3719
3718
|
},
|
|
3720
3719
|
"hasDynamicHelp": false,
|
|
3721
3720
|
"hiddenAliases": [],
|
|
3722
|
-
"id": "unit_test:
|
|
3721
|
+
"id": "unit_test:run",
|
|
3723
3722
|
"pluginAlias": "@xano/cli",
|
|
3724
3723
|
"pluginName": "@xano/cli",
|
|
3725
3724
|
"pluginType": "core",
|
|
@@ -3730,17 +3729,18 @@
|
|
|
3730
3729
|
"dist",
|
|
3731
3730
|
"commands",
|
|
3732
3731
|
"unit_test",
|
|
3733
|
-
"
|
|
3732
|
+
"run",
|
|
3734
3733
|
"index.js"
|
|
3735
3734
|
]
|
|
3736
3735
|
},
|
|
3737
|
-
"unit_test:
|
|
3736
|
+
"unit_test:list": {
|
|
3738
3737
|
"aliases": [],
|
|
3739
3738
|
"args": {},
|
|
3740
|
-
"description": "
|
|
3739
|
+
"description": "List all unit tests in a workspace",
|
|
3741
3740
|
"examples": [
|
|
3742
|
-
"$ xano unit-test
|
|
3743
|
-
"$ xano unit-test
|
|
3741
|
+
"$ 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",
|
|
3742
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3743
|
+
"$ xano unit-test list --obj-type function"
|
|
3744
3744
|
],
|
|
3745
3745
|
"flags": {
|
|
3746
3746
|
"profile": {
|
|
@@ -3810,7 +3810,7 @@
|
|
|
3810
3810
|
},
|
|
3811
3811
|
"hasDynamicHelp": false,
|
|
3812
3812
|
"hiddenAliases": [],
|
|
3813
|
-
"id": "unit_test:
|
|
3813
|
+
"id": "unit_test:list",
|
|
3814
3814
|
"pluginAlias": "@xano/cli",
|
|
3815
3815
|
"pluginName": "@xano/cli",
|
|
3816
3816
|
"pluginType": "core",
|
|
@@ -3821,7 +3821,7 @@
|
|
|
3821
3821
|
"dist",
|
|
3822
3822
|
"commands",
|
|
3823
3823
|
"unit_test",
|
|
3824
|
-
"
|
|
3824
|
+
"list",
|
|
3825
3825
|
"index.js"
|
|
3826
3826
|
]
|
|
3827
3827
|
},
|
|
@@ -4313,68 +4313,6 @@
|
|
|
4313
4313
|
"index.js"
|
|
4314
4314
|
]
|
|
4315
4315
|
},
|
|
4316
|
-
"workspace:list": {
|
|
4317
|
-
"aliases": [],
|
|
4318
|
-
"args": {},
|
|
4319
|
-
"description": "List all workspaces from the Xano Metadata API",
|
|
4320
|
-
"examples": [
|
|
4321
|
-
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4322
|
-
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4323
|
-
"$ 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",
|
|
4324
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4325
|
-
],
|
|
4326
|
-
"flags": {
|
|
4327
|
-
"profile": {
|
|
4328
|
-
"char": "p",
|
|
4329
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4330
|
-
"env": "XANO_PROFILE",
|
|
4331
|
-
"name": "profile",
|
|
4332
|
-
"required": false,
|
|
4333
|
-
"hasDynamicHelp": false,
|
|
4334
|
-
"multiple": false,
|
|
4335
|
-
"type": "option"
|
|
4336
|
-
},
|
|
4337
|
-
"verbose": {
|
|
4338
|
-
"char": "v",
|
|
4339
|
-
"description": "Show detailed request/response information",
|
|
4340
|
-
"env": "XANO_VERBOSE",
|
|
4341
|
-
"name": "verbose",
|
|
4342
|
-
"required": false,
|
|
4343
|
-
"allowNo": false,
|
|
4344
|
-
"type": "boolean"
|
|
4345
|
-
},
|
|
4346
|
-
"output": {
|
|
4347
|
-
"char": "o",
|
|
4348
|
-
"description": "Output format",
|
|
4349
|
-
"name": "output",
|
|
4350
|
-
"required": false,
|
|
4351
|
-
"default": "summary",
|
|
4352
|
-
"hasDynamicHelp": false,
|
|
4353
|
-
"multiple": false,
|
|
4354
|
-
"options": [
|
|
4355
|
-
"summary",
|
|
4356
|
-
"json"
|
|
4357
|
-
],
|
|
4358
|
-
"type": "option"
|
|
4359
|
-
}
|
|
4360
|
-
},
|
|
4361
|
-
"hasDynamicHelp": false,
|
|
4362
|
-
"hiddenAliases": [],
|
|
4363
|
-
"id": "workspace:list",
|
|
4364
|
-
"pluginAlias": "@xano/cli",
|
|
4365
|
-
"pluginName": "@xano/cli",
|
|
4366
|
-
"pluginType": "core",
|
|
4367
|
-
"strict": true,
|
|
4368
|
-
"enableJsonFlag": false,
|
|
4369
|
-
"isESM": true,
|
|
4370
|
-
"relativePath": [
|
|
4371
|
-
"dist",
|
|
4372
|
-
"commands",
|
|
4373
|
-
"workspace",
|
|
4374
|
-
"list",
|
|
4375
|
-
"index.js"
|
|
4376
|
-
]
|
|
4377
|
-
},
|
|
4378
4316
|
"workspace:pull": {
|
|
4379
4317
|
"aliases": [],
|
|
4380
4318
|
"args": {
|
|
@@ -4469,6 +4407,68 @@
|
|
|
4469
4407
|
"index.js"
|
|
4470
4408
|
]
|
|
4471
4409
|
},
|
|
4410
|
+
"workspace:list": {
|
|
4411
|
+
"aliases": [],
|
|
4412
|
+
"args": {},
|
|
4413
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4414
|
+
"examples": [
|
|
4415
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4416
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4417
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
4418
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4419
|
+
],
|
|
4420
|
+
"flags": {
|
|
4421
|
+
"profile": {
|
|
4422
|
+
"char": "p",
|
|
4423
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4424
|
+
"env": "XANO_PROFILE",
|
|
4425
|
+
"name": "profile",
|
|
4426
|
+
"required": false,
|
|
4427
|
+
"hasDynamicHelp": false,
|
|
4428
|
+
"multiple": false,
|
|
4429
|
+
"type": "option"
|
|
4430
|
+
},
|
|
4431
|
+
"verbose": {
|
|
4432
|
+
"char": "v",
|
|
4433
|
+
"description": "Show detailed request/response information",
|
|
4434
|
+
"env": "XANO_VERBOSE",
|
|
4435
|
+
"name": "verbose",
|
|
4436
|
+
"required": false,
|
|
4437
|
+
"allowNo": false,
|
|
4438
|
+
"type": "boolean"
|
|
4439
|
+
},
|
|
4440
|
+
"output": {
|
|
4441
|
+
"char": "o",
|
|
4442
|
+
"description": "Output format",
|
|
4443
|
+
"name": "output",
|
|
4444
|
+
"required": false,
|
|
4445
|
+
"default": "summary",
|
|
4446
|
+
"hasDynamicHelp": false,
|
|
4447
|
+
"multiple": false,
|
|
4448
|
+
"options": [
|
|
4449
|
+
"summary",
|
|
4450
|
+
"json"
|
|
4451
|
+
],
|
|
4452
|
+
"type": "option"
|
|
4453
|
+
}
|
|
4454
|
+
},
|
|
4455
|
+
"hasDynamicHelp": false,
|
|
4456
|
+
"hiddenAliases": [],
|
|
4457
|
+
"id": "workspace:list",
|
|
4458
|
+
"pluginAlias": "@xano/cli",
|
|
4459
|
+
"pluginName": "@xano/cli",
|
|
4460
|
+
"pluginType": "core",
|
|
4461
|
+
"strict": true,
|
|
4462
|
+
"enableJsonFlag": false,
|
|
4463
|
+
"isESM": true,
|
|
4464
|
+
"relativePath": [
|
|
4465
|
+
"dist",
|
|
4466
|
+
"commands",
|
|
4467
|
+
"workspace",
|
|
4468
|
+
"list",
|
|
4469
|
+
"index.js"
|
|
4470
|
+
]
|
|
4471
|
+
},
|
|
4472
4472
|
"workspace:push": {
|
|
4473
4473
|
"aliases": [],
|
|
4474
4474
|
"args": {
|
|
@@ -4665,19 +4665,13 @@
|
|
|
4665
4665
|
"index.js"
|
|
4666
4666
|
]
|
|
4667
4667
|
},
|
|
4668
|
-
"
|
|
4668
|
+
"workflow_test:run_all": {
|
|
4669
4669
|
"aliases": [],
|
|
4670
|
-
"args": {
|
|
4671
|
-
|
|
4672
|
-
"description": "Tenant name to back up",
|
|
4673
|
-
"name": "tenant_name",
|
|
4674
|
-
"required": true
|
|
4675
|
-
}
|
|
4676
|
-
},
|
|
4677
|
-
"description": "Create a backup for a tenant",
|
|
4670
|
+
"args": {},
|
|
4671
|
+
"description": "Run all workflow tests in a workspace",
|
|
4678
4672
|
"examples": [
|
|
4679
|
-
"$ xano
|
|
4680
|
-
"$ xano
|
|
4673
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
4674
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4681
4675
|
],
|
|
4682
4676
|
"flags": {
|
|
4683
4677
|
"profile": {
|
|
@@ -4699,12 +4693,11 @@
|
|
|
4699
4693
|
"allowNo": false,
|
|
4700
4694
|
"type": "boolean"
|
|
4701
4695
|
},
|
|
4702
|
-
"
|
|
4703
|
-
"char": "
|
|
4704
|
-
"description": "
|
|
4705
|
-
"name": "
|
|
4696
|
+
"branch": {
|
|
4697
|
+
"char": "b",
|
|
4698
|
+
"description": "Filter by branch name",
|
|
4699
|
+
"name": "branch",
|
|
4706
4700
|
"required": false,
|
|
4707
|
-
"default": "",
|
|
4708
4701
|
"hasDynamicHelp": false,
|
|
4709
4702
|
"multiple": false,
|
|
4710
4703
|
"type": "option"
|
|
@@ -4735,7 +4728,7 @@
|
|
|
4735
4728
|
},
|
|
4736
4729
|
"hasDynamicHelp": false,
|
|
4737
4730
|
"hiddenAliases": [],
|
|
4738
|
-
"id": "
|
|
4731
|
+
"id": "workflow_test:run_all",
|
|
4739
4732
|
"pluginAlias": "@xano/cli",
|
|
4740
4733
|
"pluginName": "@xano/cli",
|
|
4741
4734
|
"pluginType": "core",
|
|
@@ -4745,19 +4738,24 @@
|
|
|
4745
4738
|
"relativePath": [
|
|
4746
4739
|
"dist",
|
|
4747
4740
|
"commands",
|
|
4748
|
-
"
|
|
4749
|
-
"
|
|
4750
|
-
"create",
|
|
4741
|
+
"workflow_test",
|
|
4742
|
+
"run_all",
|
|
4751
4743
|
"index.js"
|
|
4752
4744
|
]
|
|
4753
4745
|
},
|
|
4754
|
-
"
|
|
4746
|
+
"tenant:backup:create": {
|
|
4755
4747
|
"aliases": [],
|
|
4756
|
-
"args": {
|
|
4757
|
-
|
|
4748
|
+
"args": {
|
|
4749
|
+
"tenant_name": {
|
|
4750
|
+
"description": "Tenant name to back up",
|
|
4751
|
+
"name": "tenant_name",
|
|
4752
|
+
"required": true
|
|
4753
|
+
}
|
|
4754
|
+
},
|
|
4755
|
+
"description": "Create a backup for a tenant",
|
|
4758
4756
|
"examples": [
|
|
4759
|
-
"$ xano
|
|
4760
|
-
"$ xano
|
|
4757
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
4758
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
4761
4759
|
],
|
|
4762
4760
|
"flags": {
|
|
4763
4761
|
"profile": {
|
|
@@ -4779,11 +4777,12 @@
|
|
|
4779
4777
|
"allowNo": false,
|
|
4780
4778
|
"type": "boolean"
|
|
4781
4779
|
},
|
|
4782
|
-
"
|
|
4783
|
-
"char": "
|
|
4784
|
-
"description": "
|
|
4785
|
-
"name": "
|
|
4780
|
+
"description": {
|
|
4781
|
+
"char": "d",
|
|
4782
|
+
"description": "Backup description",
|
|
4783
|
+
"name": "description",
|
|
4786
4784
|
"required": false,
|
|
4785
|
+
"default": "",
|
|
4787
4786
|
"hasDynamicHelp": false,
|
|
4788
4787
|
"multiple": false,
|
|
4789
4788
|
"type": "option"
|
|
@@ -4814,7 +4813,7 @@
|
|
|
4814
4813
|
},
|
|
4815
4814
|
"hasDynamicHelp": false,
|
|
4816
4815
|
"hiddenAliases": [],
|
|
4817
|
-
"id": "
|
|
4816
|
+
"id": "tenant:backup:create",
|
|
4818
4817
|
"pluginAlias": "@xano/cli",
|
|
4819
4818
|
"pluginName": "@xano/cli",
|
|
4820
4819
|
"pluginType": "core",
|
|
@@ -4824,8 +4823,9 @@
|
|
|
4824
4823
|
"relativePath": [
|
|
4825
4824
|
"dist",
|
|
4826
4825
|
"commands",
|
|
4827
|
-
"
|
|
4828
|
-
"
|
|
4826
|
+
"tenant",
|
|
4827
|
+
"backup",
|
|
4828
|
+
"create",
|
|
4829
4829
|
"index.js"
|
|
4830
4830
|
]
|
|
4831
4831
|
},
|
|
@@ -4922,20 +4922,19 @@
|
|
|
4922
4922
|
"index.js"
|
|
4923
4923
|
]
|
|
4924
4924
|
},
|
|
4925
|
-
"tenant:backup:
|
|
4925
|
+
"tenant:backup:list": {
|
|
4926
4926
|
"aliases": [],
|
|
4927
4927
|
"args": {
|
|
4928
4928
|
"tenant_name": {
|
|
4929
|
-
"description": "Tenant name to
|
|
4929
|
+
"description": "Tenant name to list backups for",
|
|
4930
4930
|
"name": "tenant_name",
|
|
4931
4931
|
"required": true
|
|
4932
4932
|
}
|
|
4933
4933
|
},
|
|
4934
|
-
"description": "
|
|
4934
|
+
"description": "List backups for a tenant",
|
|
4935
4935
|
"examples": [
|
|
4936
|
-
"$ xano tenant backup
|
|
4937
|
-
"$ xano tenant backup
|
|
4938
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
4936
|
+
"$ 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",
|
|
4937
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
4939
4938
|
],
|
|
4940
4939
|
"flags": {
|
|
4941
4940
|
"profile": {
|
|
@@ -4957,18 +4956,10 @@
|
|
|
4957
4956
|
"allowNo": false,
|
|
4958
4957
|
"type": "boolean"
|
|
4959
4958
|
},
|
|
4960
|
-
"
|
|
4961
|
-
"description": "Backup ID to export",
|
|
4962
|
-
"name": "backup_id",
|
|
4963
|
-
"required": true,
|
|
4964
|
-
"hasDynamicHelp": false,
|
|
4965
|
-
"multiple": false,
|
|
4966
|
-
"type": "option"
|
|
4967
|
-
},
|
|
4968
|
-
"format": {
|
|
4959
|
+
"output": {
|
|
4969
4960
|
"char": "o",
|
|
4970
4961
|
"description": "Output format",
|
|
4971
|
-
"name": "
|
|
4962
|
+
"name": "output",
|
|
4972
4963
|
"required": false,
|
|
4973
4964
|
"default": "summary",
|
|
4974
4965
|
"hasDynamicHelp": false,
|
|
@@ -4979,10 +4970,11 @@
|
|
|
4979
4970
|
],
|
|
4980
4971
|
"type": "option"
|
|
4981
4972
|
},
|
|
4982
|
-
"
|
|
4983
|
-
"description": "
|
|
4984
|
-
"name": "
|
|
4973
|
+
"page": {
|
|
4974
|
+
"description": "Page number for pagination",
|
|
4975
|
+
"name": "page",
|
|
4985
4976
|
"required": false,
|
|
4977
|
+
"default": 1,
|
|
4986
4978
|
"hasDynamicHelp": false,
|
|
4987
4979
|
"multiple": false,
|
|
4988
4980
|
"type": "option"
|
|
@@ -4999,7 +4991,7 @@
|
|
|
4999
4991
|
},
|
|
5000
4992
|
"hasDynamicHelp": false,
|
|
5001
4993
|
"hiddenAliases": [],
|
|
5002
|
-
"id": "tenant:backup:
|
|
4994
|
+
"id": "tenant:backup:list",
|
|
5003
4995
|
"pluginAlias": "@xano/cli",
|
|
5004
4996
|
"pluginName": "@xano/cli",
|
|
5005
4997
|
"pluginType": "core",
|
|
@@ -5011,7 +5003,7 @@
|
|
|
5011
5003
|
"commands",
|
|
5012
5004
|
"tenant",
|
|
5013
5005
|
"backup",
|
|
5014
|
-
"
|
|
5006
|
+
"list",
|
|
5015
5007
|
"index.js"
|
|
5016
5008
|
]
|
|
5017
5009
|
},
|
|
@@ -5107,91 +5099,6 @@
|
|
|
5107
5099
|
"index.js"
|
|
5108
5100
|
]
|
|
5109
5101
|
},
|
|
5110
|
-
"tenant:backup:list": {
|
|
5111
|
-
"aliases": [],
|
|
5112
|
-
"args": {
|
|
5113
|
-
"tenant_name": {
|
|
5114
|
-
"description": "Tenant name to list backups for",
|
|
5115
|
-
"name": "tenant_name",
|
|
5116
|
-
"required": true
|
|
5117
|
-
}
|
|
5118
|
-
},
|
|
5119
|
-
"description": "List backups for a tenant",
|
|
5120
|
-
"examples": [
|
|
5121
|
-
"$ 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",
|
|
5122
|
-
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5123
|
-
],
|
|
5124
|
-
"flags": {
|
|
5125
|
-
"profile": {
|
|
5126
|
-
"char": "p",
|
|
5127
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5128
|
-
"env": "XANO_PROFILE",
|
|
5129
|
-
"name": "profile",
|
|
5130
|
-
"required": false,
|
|
5131
|
-
"hasDynamicHelp": false,
|
|
5132
|
-
"multiple": false,
|
|
5133
|
-
"type": "option"
|
|
5134
|
-
},
|
|
5135
|
-
"verbose": {
|
|
5136
|
-
"char": "v",
|
|
5137
|
-
"description": "Show detailed request/response information",
|
|
5138
|
-
"env": "XANO_VERBOSE",
|
|
5139
|
-
"name": "verbose",
|
|
5140
|
-
"required": false,
|
|
5141
|
-
"allowNo": false,
|
|
5142
|
-
"type": "boolean"
|
|
5143
|
-
},
|
|
5144
|
-
"output": {
|
|
5145
|
-
"char": "o",
|
|
5146
|
-
"description": "Output format",
|
|
5147
|
-
"name": "output",
|
|
5148
|
-
"required": false,
|
|
5149
|
-
"default": "summary",
|
|
5150
|
-
"hasDynamicHelp": false,
|
|
5151
|
-
"multiple": false,
|
|
5152
|
-
"options": [
|
|
5153
|
-
"summary",
|
|
5154
|
-
"json"
|
|
5155
|
-
],
|
|
5156
|
-
"type": "option"
|
|
5157
|
-
},
|
|
5158
|
-
"page": {
|
|
5159
|
-
"description": "Page number for pagination",
|
|
5160
|
-
"name": "page",
|
|
5161
|
-
"required": false,
|
|
5162
|
-
"default": 1,
|
|
5163
|
-
"hasDynamicHelp": false,
|
|
5164
|
-
"multiple": false,
|
|
5165
|
-
"type": "option"
|
|
5166
|
-
},
|
|
5167
|
-
"workspace": {
|
|
5168
|
-
"char": "w",
|
|
5169
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5170
|
-
"name": "workspace",
|
|
5171
|
-
"required": false,
|
|
5172
|
-
"hasDynamicHelp": false,
|
|
5173
|
-
"multiple": false,
|
|
5174
|
-
"type": "option"
|
|
5175
|
-
}
|
|
5176
|
-
},
|
|
5177
|
-
"hasDynamicHelp": false,
|
|
5178
|
-
"hiddenAliases": [],
|
|
5179
|
-
"id": "tenant:backup:list",
|
|
5180
|
-
"pluginAlias": "@xano/cli",
|
|
5181
|
-
"pluginName": "@xano/cli",
|
|
5182
|
-
"pluginType": "core",
|
|
5183
|
-
"strict": true,
|
|
5184
|
-
"enableJsonFlag": false,
|
|
5185
|
-
"isESM": true,
|
|
5186
|
-
"relativePath": [
|
|
5187
|
-
"dist",
|
|
5188
|
-
"commands",
|
|
5189
|
-
"tenant",
|
|
5190
|
-
"backup",
|
|
5191
|
-
"list",
|
|
5192
|
-
"index.js"
|
|
5193
|
-
]
|
|
5194
|
-
},
|
|
5195
5102
|
"tenant:cluster:create": {
|
|
5196
5103
|
"aliases": [],
|
|
5197
5104
|
"args": {},
|
|
@@ -5314,19 +5221,112 @@
|
|
|
5314
5221
|
"index.js"
|
|
5315
5222
|
]
|
|
5316
5223
|
},
|
|
5317
|
-
"tenant:backup:
|
|
5224
|
+
"tenant:backup:export": {
|
|
5318
5225
|
"aliases": [],
|
|
5319
5226
|
"args": {
|
|
5320
5227
|
"tenant_name": {
|
|
5321
|
-
"description": "Tenant name to
|
|
5228
|
+
"description": "Tenant name to export backup from",
|
|
5322
5229
|
"name": "tenant_name",
|
|
5323
5230
|
"required": true
|
|
5324
5231
|
}
|
|
5325
5232
|
},
|
|
5326
|
-
"description": "
|
|
5233
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5327
5234
|
"examples": [
|
|
5328
|
-
"$ xano tenant backup
|
|
5329
|
-
"$ xano tenant backup
|
|
5235
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5236
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5237
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5238
|
+
],
|
|
5239
|
+
"flags": {
|
|
5240
|
+
"profile": {
|
|
5241
|
+
"char": "p",
|
|
5242
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5243
|
+
"env": "XANO_PROFILE",
|
|
5244
|
+
"name": "profile",
|
|
5245
|
+
"required": false,
|
|
5246
|
+
"hasDynamicHelp": false,
|
|
5247
|
+
"multiple": false,
|
|
5248
|
+
"type": "option"
|
|
5249
|
+
},
|
|
5250
|
+
"verbose": {
|
|
5251
|
+
"char": "v",
|
|
5252
|
+
"description": "Show detailed request/response information",
|
|
5253
|
+
"env": "XANO_VERBOSE",
|
|
5254
|
+
"name": "verbose",
|
|
5255
|
+
"required": false,
|
|
5256
|
+
"allowNo": false,
|
|
5257
|
+
"type": "boolean"
|
|
5258
|
+
},
|
|
5259
|
+
"backup_id": {
|
|
5260
|
+
"description": "Backup ID to export",
|
|
5261
|
+
"name": "backup_id",
|
|
5262
|
+
"required": true,
|
|
5263
|
+
"hasDynamicHelp": false,
|
|
5264
|
+
"multiple": false,
|
|
5265
|
+
"type": "option"
|
|
5266
|
+
},
|
|
5267
|
+
"format": {
|
|
5268
|
+
"char": "o",
|
|
5269
|
+
"description": "Output format",
|
|
5270
|
+
"name": "format",
|
|
5271
|
+
"required": false,
|
|
5272
|
+
"default": "summary",
|
|
5273
|
+
"hasDynamicHelp": false,
|
|
5274
|
+
"multiple": false,
|
|
5275
|
+
"options": [
|
|
5276
|
+
"summary",
|
|
5277
|
+
"json"
|
|
5278
|
+
],
|
|
5279
|
+
"type": "option"
|
|
5280
|
+
},
|
|
5281
|
+
"output": {
|
|
5282
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5283
|
+
"name": "output",
|
|
5284
|
+
"required": false,
|
|
5285
|
+
"hasDynamicHelp": false,
|
|
5286
|
+
"multiple": false,
|
|
5287
|
+
"type": "option"
|
|
5288
|
+
},
|
|
5289
|
+
"workspace": {
|
|
5290
|
+
"char": "w",
|
|
5291
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5292
|
+
"name": "workspace",
|
|
5293
|
+
"required": false,
|
|
5294
|
+
"hasDynamicHelp": false,
|
|
5295
|
+
"multiple": false,
|
|
5296
|
+
"type": "option"
|
|
5297
|
+
}
|
|
5298
|
+
},
|
|
5299
|
+
"hasDynamicHelp": false,
|
|
5300
|
+
"hiddenAliases": [],
|
|
5301
|
+
"id": "tenant:backup:export",
|
|
5302
|
+
"pluginAlias": "@xano/cli",
|
|
5303
|
+
"pluginName": "@xano/cli",
|
|
5304
|
+
"pluginType": "core",
|
|
5305
|
+
"strict": true,
|
|
5306
|
+
"enableJsonFlag": false,
|
|
5307
|
+
"isESM": true,
|
|
5308
|
+
"relativePath": [
|
|
5309
|
+
"dist",
|
|
5310
|
+
"commands",
|
|
5311
|
+
"tenant",
|
|
5312
|
+
"backup",
|
|
5313
|
+
"export",
|
|
5314
|
+
"index.js"
|
|
5315
|
+
]
|
|
5316
|
+
},
|
|
5317
|
+
"tenant:cluster:edit": {
|
|
5318
|
+
"aliases": [],
|
|
5319
|
+
"args": {
|
|
5320
|
+
"cluster_id": {
|
|
5321
|
+
"description": "Cluster ID to edit",
|
|
5322
|
+
"name": "cluster_id",
|
|
5323
|
+
"required": true
|
|
5324
|
+
}
|
|
5325
|
+
},
|
|
5326
|
+
"description": "Update an existing tenant cluster",
|
|
5327
|
+
"examples": [
|
|
5328
|
+
"$ 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",
|
|
5329
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5330
5330
|
],
|
|
5331
5331
|
"flags": {
|
|
5332
5332
|
"profile": {
|
|
@@ -5350,18 +5350,25 @@
|
|
|
5350
5350
|
},
|
|
5351
5351
|
"description": {
|
|
5352
5352
|
"char": "d",
|
|
5353
|
-
"description": "
|
|
5353
|
+
"description": "Cluster description",
|
|
5354
5354
|
"name": "description",
|
|
5355
|
-
"required":
|
|
5356
|
-
"default": "",
|
|
5355
|
+
"required": true,
|
|
5357
5356
|
"hasDynamicHelp": false,
|
|
5358
5357
|
"multiple": false,
|
|
5359
5358
|
"type": "option"
|
|
5360
5359
|
},
|
|
5361
|
-
"
|
|
5362
|
-
"
|
|
5363
|
-
"
|
|
5364
|
-
"
|
|
5360
|
+
"domain": {
|
|
5361
|
+
"description": "Custom domain for the cluster",
|
|
5362
|
+
"name": "domain",
|
|
5363
|
+
"required": true,
|
|
5364
|
+
"hasDynamicHelp": false,
|
|
5365
|
+
"multiple": false,
|
|
5366
|
+
"type": "option"
|
|
5367
|
+
},
|
|
5368
|
+
"name": {
|
|
5369
|
+
"char": "n",
|
|
5370
|
+
"description": "Cluster name",
|
|
5371
|
+
"name": "name",
|
|
5365
5372
|
"required": true,
|
|
5366
5373
|
"hasDynamicHelp": false,
|
|
5367
5374
|
"multiple": false,
|
|
@@ -5381,19 +5388,22 @@
|
|
|
5381
5388
|
],
|
|
5382
5389
|
"type": "option"
|
|
5383
5390
|
},
|
|
5384
|
-
"
|
|
5385
|
-
"
|
|
5386
|
-
"
|
|
5387
|
-
"
|
|
5388
|
-
"required": false,
|
|
5391
|
+
"type": {
|
|
5392
|
+
"description": "Cluster type",
|
|
5393
|
+
"name": "type",
|
|
5394
|
+
"required": true,
|
|
5389
5395
|
"hasDynamicHelp": false,
|
|
5390
5396
|
"multiple": false,
|
|
5397
|
+
"options": [
|
|
5398
|
+
"standard",
|
|
5399
|
+
"run"
|
|
5400
|
+
],
|
|
5391
5401
|
"type": "option"
|
|
5392
5402
|
}
|
|
5393
5403
|
},
|
|
5394
5404
|
"hasDynamicHelp": false,
|
|
5395
5405
|
"hiddenAliases": [],
|
|
5396
|
-
"id": "tenant:
|
|
5406
|
+
"id": "tenant:cluster:edit",
|
|
5397
5407
|
"pluginAlias": "@xano/cli",
|
|
5398
5408
|
"pluginName": "@xano/cli",
|
|
5399
5409
|
"pluginType": "core",
|
|
@@ -5404,8 +5414,8 @@
|
|
|
5404
5414
|
"dist",
|
|
5405
5415
|
"commands",
|
|
5406
5416
|
"tenant",
|
|
5407
|
-
"
|
|
5408
|
-
"
|
|
5417
|
+
"cluster",
|
|
5418
|
+
"edit",
|
|
5409
5419
|
"index.js"
|
|
5410
5420
|
]
|
|
5411
5421
|
},
|
|
@@ -5485,13 +5495,19 @@
|
|
|
5485
5495
|
"index.js"
|
|
5486
5496
|
]
|
|
5487
5497
|
},
|
|
5488
|
-
"tenant:cluster:
|
|
5498
|
+
"tenant:cluster:get": {
|
|
5489
5499
|
"aliases": [],
|
|
5490
|
-
"args": {
|
|
5491
|
-
|
|
5500
|
+
"args": {
|
|
5501
|
+
"cluster_id": {
|
|
5502
|
+
"description": "Cluster ID to retrieve",
|
|
5503
|
+
"name": "cluster_id",
|
|
5504
|
+
"required": true
|
|
5505
|
+
}
|
|
5506
|
+
},
|
|
5507
|
+
"description": "Get details of a specific tenant cluster",
|
|
5492
5508
|
"examples": [
|
|
5493
|
-
"$ xano tenant cluster
|
|
5494
|
-
"$ xano tenant cluster
|
|
5509
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5510
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5495
5511
|
],
|
|
5496
5512
|
"flags": {
|
|
5497
5513
|
"profile": {
|
|
@@ -5530,7 +5546,7 @@
|
|
|
5530
5546
|
},
|
|
5531
5547
|
"hasDynamicHelp": false,
|
|
5532
5548
|
"hiddenAliases": [],
|
|
5533
|
-
"id": "tenant:cluster:
|
|
5549
|
+
"id": "tenant:cluster:get",
|
|
5534
5550
|
"pluginAlias": "@xano/cli",
|
|
5535
5551
|
"pluginName": "@xano/cli",
|
|
5536
5552
|
"pluginType": "core",
|
|
@@ -5542,23 +5558,23 @@
|
|
|
5542
5558
|
"commands",
|
|
5543
5559
|
"tenant",
|
|
5544
5560
|
"cluster",
|
|
5545
|
-
"
|
|
5561
|
+
"get",
|
|
5546
5562
|
"index.js"
|
|
5547
5563
|
]
|
|
5548
5564
|
},
|
|
5549
|
-
"tenant:
|
|
5565
|
+
"tenant:backup:import": {
|
|
5550
5566
|
"aliases": [],
|
|
5551
5567
|
"args": {
|
|
5552
|
-
"
|
|
5553
|
-
"description": "
|
|
5554
|
-
"name": "
|
|
5568
|
+
"tenant_name": {
|
|
5569
|
+
"description": "Tenant name to import backup into",
|
|
5570
|
+
"name": "tenant_name",
|
|
5555
5571
|
"required": true
|
|
5556
5572
|
}
|
|
5557
5573
|
},
|
|
5558
|
-
"description": "
|
|
5574
|
+
"description": "Import a backup file into a tenant",
|
|
5559
5575
|
"examples": [
|
|
5560
|
-
"$ xano tenant
|
|
5561
|
-
"$ xano tenant
|
|
5576
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5577
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5562
5578
|
],
|
|
5563
5579
|
"flags": {
|
|
5564
5580
|
"profile": {
|
|
@@ -5582,25 +5598,18 @@
|
|
|
5582
5598
|
},
|
|
5583
5599
|
"description": {
|
|
5584
5600
|
"char": "d",
|
|
5585
|
-
"description": "
|
|
5601
|
+
"description": "Backup description",
|
|
5586
5602
|
"name": "description",
|
|
5587
|
-
"required":
|
|
5588
|
-
"
|
|
5589
|
-
"multiple": false,
|
|
5590
|
-
"type": "option"
|
|
5591
|
-
},
|
|
5592
|
-
"domain": {
|
|
5593
|
-
"description": "Custom domain for the cluster",
|
|
5594
|
-
"name": "domain",
|
|
5595
|
-
"required": true,
|
|
5603
|
+
"required": false,
|
|
5604
|
+
"default": "",
|
|
5596
5605
|
"hasDynamicHelp": false,
|
|
5597
5606
|
"multiple": false,
|
|
5598
5607
|
"type": "option"
|
|
5599
5608
|
},
|
|
5600
|
-
"
|
|
5601
|
-
"char": "
|
|
5602
|
-
"description": "
|
|
5603
|
-
"name": "
|
|
5609
|
+
"file": {
|
|
5610
|
+
"char": "f",
|
|
5611
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5612
|
+
"name": "file",
|
|
5604
5613
|
"required": true,
|
|
5605
5614
|
"hasDynamicHelp": false,
|
|
5606
5615
|
"multiple": false,
|
|
@@ -5620,22 +5629,19 @@
|
|
|
5620
5629
|
],
|
|
5621
5630
|
"type": "option"
|
|
5622
5631
|
},
|
|
5623
|
-
"
|
|
5624
|
-
"
|
|
5625
|
-
"
|
|
5626
|
-
"
|
|
5632
|
+
"workspace": {
|
|
5633
|
+
"char": "w",
|
|
5634
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5635
|
+
"name": "workspace",
|
|
5636
|
+
"required": false,
|
|
5627
5637
|
"hasDynamicHelp": false,
|
|
5628
5638
|
"multiple": false,
|
|
5629
|
-
"options": [
|
|
5630
|
-
"standard",
|
|
5631
|
-
"run"
|
|
5632
|
-
],
|
|
5633
5639
|
"type": "option"
|
|
5634
5640
|
}
|
|
5635
5641
|
},
|
|
5636
5642
|
"hasDynamicHelp": false,
|
|
5637
5643
|
"hiddenAliases": [],
|
|
5638
|
-
"id": "tenant:
|
|
5644
|
+
"id": "tenant:backup:import",
|
|
5639
5645
|
"pluginAlias": "@xano/cli",
|
|
5640
5646
|
"pluginName": "@xano/cli",
|
|
5641
5647
|
"pluginType": "core",
|
|
@@ -5646,24 +5652,18 @@
|
|
|
5646
5652
|
"dist",
|
|
5647
5653
|
"commands",
|
|
5648
5654
|
"tenant",
|
|
5649
|
-
"
|
|
5650
|
-
"
|
|
5655
|
+
"backup",
|
|
5656
|
+
"import",
|
|
5651
5657
|
"index.js"
|
|
5652
5658
|
]
|
|
5653
5659
|
},
|
|
5654
|
-
"tenant:cluster:
|
|
5660
|
+
"tenant:cluster:list": {
|
|
5655
5661
|
"aliases": [],
|
|
5656
|
-
"args": {
|
|
5657
|
-
|
|
5658
|
-
"description": "Cluster ID to retrieve",
|
|
5659
|
-
"name": "cluster_id",
|
|
5660
|
-
"required": true
|
|
5661
|
-
}
|
|
5662
|
-
},
|
|
5663
|
-
"description": "Get details of a specific tenant cluster",
|
|
5662
|
+
"args": {},
|
|
5663
|
+
"description": "List all tenant clusters",
|
|
5664
5664
|
"examples": [
|
|
5665
|
-
"$ xano tenant cluster
|
|
5666
|
-
"$ xano tenant cluster
|
|
5665
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
5666
|
+
"$ xano tenant cluster list --output json"
|
|
5667
5667
|
],
|
|
5668
5668
|
"flags": {
|
|
5669
5669
|
"profile": {
|
|
@@ -5702,7 +5702,7 @@
|
|
|
5702
5702
|
},
|
|
5703
5703
|
"hasDynamicHelp": false,
|
|
5704
5704
|
"hiddenAliases": [],
|
|
5705
|
-
"id": "tenant:cluster:
|
|
5705
|
+
"id": "tenant:cluster:list",
|
|
5706
5706
|
"pluginAlias": "@xano/cli",
|
|
5707
5707
|
"pluginName": "@xano/cli",
|
|
5708
5708
|
"pluginType": "core",
|
|
@@ -5714,11 +5714,11 @@
|
|
|
5714
5714
|
"commands",
|
|
5715
5715
|
"tenant",
|
|
5716
5716
|
"cluster",
|
|
5717
|
-
"
|
|
5717
|
+
"list",
|
|
5718
5718
|
"index.js"
|
|
5719
5719
|
]
|
|
5720
5720
|
},
|
|
5721
|
-
"tenant:env:
|
|
5721
|
+
"tenant:env:get": {
|
|
5722
5722
|
"aliases": [],
|
|
5723
5723
|
"args": {
|
|
5724
5724
|
"tenant_name": {
|
|
@@ -5727,11 +5727,10 @@
|
|
|
5727
5727
|
"required": true
|
|
5728
5728
|
}
|
|
5729
5729
|
},
|
|
5730
|
-
"description": "
|
|
5730
|
+
"description": "Get a single environment variable for a tenant",
|
|
5731
5731
|
"examples": [
|
|
5732
|
-
"$ xano tenant env
|
|
5733
|
-
"$ xano tenant env
|
|
5734
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
5732
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
5733
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
5735
5734
|
],
|
|
5736
5735
|
"flags": {
|
|
5737
5736
|
"profile": {
|
|
@@ -5753,14 +5752,6 @@
|
|
|
5753
5752
|
"allowNo": false,
|
|
5754
5753
|
"type": "boolean"
|
|
5755
5754
|
},
|
|
5756
|
-
"force": {
|
|
5757
|
-
"char": "f",
|
|
5758
|
-
"description": "Skip confirmation prompt",
|
|
5759
|
-
"name": "force",
|
|
5760
|
-
"required": false,
|
|
5761
|
-
"allowNo": false,
|
|
5762
|
-
"type": "boolean"
|
|
5763
|
-
},
|
|
5764
5755
|
"name": {
|
|
5765
5756
|
"char": "n",
|
|
5766
5757
|
"description": "Environment variable name",
|
|
@@ -5796,7 +5787,7 @@
|
|
|
5796
5787
|
},
|
|
5797
5788
|
"hasDynamicHelp": false,
|
|
5798
5789
|
"hiddenAliases": [],
|
|
5799
|
-
"id": "tenant:env:
|
|
5790
|
+
"id": "tenant:env:get",
|
|
5800
5791
|
"pluginAlias": "@xano/cli",
|
|
5801
5792
|
"pluginName": "@xano/cli",
|
|
5802
5793
|
"pluginType": "core",
|
|
@@ -5808,7 +5799,7 @@
|
|
|
5808
5799
|
"commands",
|
|
5809
5800
|
"tenant",
|
|
5810
5801
|
"env",
|
|
5811
|
-
"
|
|
5802
|
+
"get",
|
|
5812
5803
|
"index.js"
|
|
5813
5804
|
]
|
|
5814
5805
|
},
|
|
@@ -5906,6 +5897,100 @@
|
|
|
5906
5897
|
"index.js"
|
|
5907
5898
|
]
|
|
5908
5899
|
},
|
|
5900
|
+
"tenant:env:delete": {
|
|
5901
|
+
"aliases": [],
|
|
5902
|
+
"args": {
|
|
5903
|
+
"tenant_name": {
|
|
5904
|
+
"description": "Tenant name",
|
|
5905
|
+
"name": "tenant_name",
|
|
5906
|
+
"required": true
|
|
5907
|
+
}
|
|
5908
|
+
},
|
|
5909
|
+
"description": "Delete an environment variable from a tenant",
|
|
5910
|
+
"examples": [
|
|
5911
|
+
"$ 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",
|
|
5912
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
5913
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
5914
|
+
],
|
|
5915
|
+
"flags": {
|
|
5916
|
+
"profile": {
|
|
5917
|
+
"char": "p",
|
|
5918
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5919
|
+
"env": "XANO_PROFILE",
|
|
5920
|
+
"name": "profile",
|
|
5921
|
+
"required": false,
|
|
5922
|
+
"hasDynamicHelp": false,
|
|
5923
|
+
"multiple": false,
|
|
5924
|
+
"type": "option"
|
|
5925
|
+
},
|
|
5926
|
+
"verbose": {
|
|
5927
|
+
"char": "v",
|
|
5928
|
+
"description": "Show detailed request/response information",
|
|
5929
|
+
"env": "XANO_VERBOSE",
|
|
5930
|
+
"name": "verbose",
|
|
5931
|
+
"required": false,
|
|
5932
|
+
"allowNo": false,
|
|
5933
|
+
"type": "boolean"
|
|
5934
|
+
},
|
|
5935
|
+
"force": {
|
|
5936
|
+
"char": "f",
|
|
5937
|
+
"description": "Skip confirmation prompt",
|
|
5938
|
+
"name": "force",
|
|
5939
|
+
"required": false,
|
|
5940
|
+
"allowNo": false,
|
|
5941
|
+
"type": "boolean"
|
|
5942
|
+
},
|
|
5943
|
+
"name": {
|
|
5944
|
+
"char": "n",
|
|
5945
|
+
"description": "Environment variable name",
|
|
5946
|
+
"name": "name",
|
|
5947
|
+
"required": true,
|
|
5948
|
+
"hasDynamicHelp": false,
|
|
5949
|
+
"multiple": false,
|
|
5950
|
+
"type": "option"
|
|
5951
|
+
},
|
|
5952
|
+
"output": {
|
|
5953
|
+
"char": "o",
|
|
5954
|
+
"description": "Output format",
|
|
5955
|
+
"name": "output",
|
|
5956
|
+
"required": false,
|
|
5957
|
+
"default": "summary",
|
|
5958
|
+
"hasDynamicHelp": false,
|
|
5959
|
+
"multiple": false,
|
|
5960
|
+
"options": [
|
|
5961
|
+
"summary",
|
|
5962
|
+
"json"
|
|
5963
|
+
],
|
|
5964
|
+
"type": "option"
|
|
5965
|
+
},
|
|
5966
|
+
"workspace": {
|
|
5967
|
+
"char": "w",
|
|
5968
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5969
|
+
"name": "workspace",
|
|
5970
|
+
"required": false,
|
|
5971
|
+
"hasDynamicHelp": false,
|
|
5972
|
+
"multiple": false,
|
|
5973
|
+
"type": "option"
|
|
5974
|
+
}
|
|
5975
|
+
},
|
|
5976
|
+
"hasDynamicHelp": false,
|
|
5977
|
+
"hiddenAliases": [],
|
|
5978
|
+
"id": "tenant:env:delete",
|
|
5979
|
+
"pluginAlias": "@xano/cli",
|
|
5980
|
+
"pluginName": "@xano/cli",
|
|
5981
|
+
"pluginType": "core",
|
|
5982
|
+
"strict": true,
|
|
5983
|
+
"enableJsonFlag": false,
|
|
5984
|
+
"isESM": true,
|
|
5985
|
+
"relativePath": [
|
|
5986
|
+
"dist",
|
|
5987
|
+
"commands",
|
|
5988
|
+
"tenant",
|
|
5989
|
+
"env",
|
|
5990
|
+
"delete",
|
|
5991
|
+
"index.js"
|
|
5992
|
+
]
|
|
5993
|
+
},
|
|
5909
5994
|
"tenant:env:list": {
|
|
5910
5995
|
"aliases": [],
|
|
5911
5996
|
"args": {
|
|
@@ -5982,7 +6067,7 @@
|
|
|
5982
6067
|
"index.js"
|
|
5983
6068
|
]
|
|
5984
6069
|
},
|
|
5985
|
-
"tenant:env:
|
|
6070
|
+
"tenant:env:set_all": {
|
|
5986
6071
|
"aliases": [],
|
|
5987
6072
|
"args": {
|
|
5988
6073
|
"tenant_name": {
|
|
@@ -5991,10 +6076,11 @@
|
|
|
5991
6076
|
"required": true
|
|
5992
6077
|
}
|
|
5993
6078
|
},
|
|
5994
|
-
"description": "
|
|
6079
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
5995
6080
|
"examples": [
|
|
5996
|
-
"$ xano tenant env
|
|
5997
|
-
"$ xano tenant env
|
|
6081
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6082
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6083
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
5998
6084
|
],
|
|
5999
6085
|
"flags": {
|
|
6000
6086
|
"profile": {
|
|
@@ -6016,11 +6102,18 @@
|
|
|
6016
6102
|
"allowNo": false,
|
|
6017
6103
|
"type": "boolean"
|
|
6018
6104
|
},
|
|
6019
|
-
"
|
|
6020
|
-
"
|
|
6021
|
-
"
|
|
6022
|
-
"
|
|
6023
|
-
"
|
|
6105
|
+
"clean": {
|
|
6106
|
+
"description": "Remove the source file after successful upload",
|
|
6107
|
+
"name": "clean",
|
|
6108
|
+
"required": false,
|
|
6109
|
+
"allowNo": false,
|
|
6110
|
+
"type": "boolean"
|
|
6111
|
+
},
|
|
6112
|
+
"file": {
|
|
6113
|
+
"char": "f",
|
|
6114
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6115
|
+
"name": "file",
|
|
6116
|
+
"required": false,
|
|
6024
6117
|
"hasDynamicHelp": false,
|
|
6025
6118
|
"multiple": false,
|
|
6026
6119
|
"type": "option"
|
|
@@ -6051,7 +6144,7 @@
|
|
|
6051
6144
|
},
|
|
6052
6145
|
"hasDynamicHelp": false,
|
|
6053
6146
|
"hiddenAliases": [],
|
|
6054
|
-
"id": "tenant:env:
|
|
6147
|
+
"id": "tenant:env:set_all",
|
|
6055
6148
|
"pluginAlias": "@xano/cli",
|
|
6056
6149
|
"pluginName": "@xano/cli",
|
|
6057
6150
|
"pluginType": "core",
|
|
@@ -6063,7 +6156,7 @@
|
|
|
6063
6156
|
"commands",
|
|
6064
6157
|
"tenant",
|
|
6065
6158
|
"env",
|
|
6066
|
-
"
|
|
6159
|
+
"set_all",
|
|
6067
6160
|
"index.js"
|
|
6068
6161
|
]
|
|
6069
6162
|
},
|
|
@@ -6160,7 +6253,7 @@
|
|
|
6160
6253
|
"index.js"
|
|
6161
6254
|
]
|
|
6162
6255
|
},
|
|
6163
|
-
"tenant:
|
|
6256
|
+
"tenant:license:get": {
|
|
6164
6257
|
"aliases": [],
|
|
6165
6258
|
"args": {
|
|
6166
6259
|
"tenant_name": {
|
|
@@ -6169,11 +6262,12 @@
|
|
|
6169
6262
|
"required": true
|
|
6170
6263
|
}
|
|
6171
6264
|
},
|
|
6172
|
-
"description": "
|
|
6265
|
+
"description": "Get the license for a tenant",
|
|
6173
6266
|
"examples": [
|
|
6174
|
-
"$ xano tenant
|
|
6175
|
-
"$ xano tenant
|
|
6176
|
-
"$ xano tenant
|
|
6267
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6268
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6269
|
+
"$ xano tenant license get my-tenant --view",
|
|
6270
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6177
6271
|
],
|
|
6178
6272
|
"flags": {
|
|
6179
6273
|
"profile": {
|
|
@@ -6195,16 +6289,9 @@
|
|
|
6195
6289
|
"allowNo": false,
|
|
6196
6290
|
"type": "boolean"
|
|
6197
6291
|
},
|
|
6198
|
-
"clean": {
|
|
6199
|
-
"description": "Remove the source file after successful upload",
|
|
6200
|
-
"name": "clean",
|
|
6201
|
-
"required": false,
|
|
6202
|
-
"allowNo": false,
|
|
6203
|
-
"type": "boolean"
|
|
6204
|
-
},
|
|
6205
6292
|
"file": {
|
|
6206
6293
|
"char": "f",
|
|
6207
|
-
"description": "
|
|
6294
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6208
6295
|
"name": "file",
|
|
6209
6296
|
"required": false,
|
|
6210
6297
|
"hasDynamicHelp": false,
|
|
@@ -6225,6 +6312,13 @@
|
|
|
6225
6312
|
],
|
|
6226
6313
|
"type": "option"
|
|
6227
6314
|
},
|
|
6315
|
+
"view": {
|
|
6316
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6317
|
+
"name": "view",
|
|
6318
|
+
"required": false,
|
|
6319
|
+
"allowNo": false,
|
|
6320
|
+
"type": "boolean"
|
|
6321
|
+
},
|
|
6228
6322
|
"workspace": {
|
|
6229
6323
|
"char": "w",
|
|
6230
6324
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6237,7 +6331,7 @@
|
|
|
6237
6331
|
},
|
|
6238
6332
|
"hasDynamicHelp": false,
|
|
6239
6333
|
"hiddenAliases": [],
|
|
6240
|
-
"id": "tenant:
|
|
6334
|
+
"id": "tenant:license:get",
|
|
6241
6335
|
"pluginAlias": "@xano/cli",
|
|
6242
6336
|
"pluginName": "@xano/cli",
|
|
6243
6337
|
"pluginType": "core",
|
|
@@ -6248,8 +6342,8 @@
|
|
|
6248
6342
|
"dist",
|
|
6249
6343
|
"commands",
|
|
6250
6344
|
"tenant",
|
|
6251
|
-
"
|
|
6252
|
-
"
|
|
6345
|
+
"license",
|
|
6346
|
+
"get",
|
|
6253
6347
|
"index.js"
|
|
6254
6348
|
]
|
|
6255
6349
|
},
|
|
@@ -6469,21 +6563,24 @@
|
|
|
6469
6563
|
"index.js"
|
|
6470
6564
|
]
|
|
6471
6565
|
},
|
|
6472
|
-
"
|
|
6566
|
+
"workspace:git:pull": {
|
|
6473
6567
|
"aliases": [],
|
|
6474
6568
|
"args": {
|
|
6475
|
-
"
|
|
6476
|
-
"description": "
|
|
6477
|
-
"name": "
|
|
6569
|
+
"directory": {
|
|
6570
|
+
"description": "Output directory for imported files",
|
|
6571
|
+
"name": "directory",
|
|
6478
6572
|
"required": true
|
|
6479
6573
|
}
|
|
6480
6574
|
},
|
|
6481
|
-
"description": "
|
|
6575
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6482
6576
|
"examples": [
|
|
6483
|
-
"$ xano
|
|
6484
|
-
"$ xano
|
|
6485
|
-
"$ xano
|
|
6486
|
-
"$ xano
|
|
6577
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6578
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6579
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6580
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6581
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6582
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6583
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6487
6584
|
],
|
|
6488
6585
|
"flags": {
|
|
6489
6586
|
"profile": {
|
|
@@ -6505,40 +6602,37 @@
|
|
|
6505
6602
|
"allowNo": false,
|
|
6506
6603
|
"type": "boolean"
|
|
6507
6604
|
},
|
|
6508
|
-
"
|
|
6509
|
-
"char": "
|
|
6510
|
-
"description": "
|
|
6511
|
-
"name": "
|
|
6605
|
+
"branch": {
|
|
6606
|
+
"char": "b",
|
|
6607
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6608
|
+
"name": "branch",
|
|
6512
6609
|
"required": false,
|
|
6513
6610
|
"hasDynamicHelp": false,
|
|
6514
6611
|
"multiple": false,
|
|
6515
6612
|
"type": "option"
|
|
6516
6613
|
},
|
|
6517
|
-
"
|
|
6518
|
-
"
|
|
6519
|
-
"
|
|
6520
|
-
"name": "output",
|
|
6614
|
+
"path": {
|
|
6615
|
+
"description": "Subdirectory within the repo to import from",
|
|
6616
|
+
"name": "path",
|
|
6521
6617
|
"required": false,
|
|
6522
|
-
"default": "summary",
|
|
6523
6618
|
"hasDynamicHelp": false,
|
|
6524
6619
|
"multiple": false,
|
|
6525
|
-
"options": [
|
|
6526
|
-
"summary",
|
|
6527
|
-
"json"
|
|
6528
|
-
],
|
|
6529
6620
|
"type": "option"
|
|
6530
6621
|
},
|
|
6531
|
-
"
|
|
6532
|
-
"
|
|
6533
|
-
"
|
|
6534
|
-
"
|
|
6535
|
-
"
|
|
6536
|
-
"
|
|
6622
|
+
"repo": {
|
|
6623
|
+
"char": "r",
|
|
6624
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6625
|
+
"name": "repo",
|
|
6626
|
+
"required": true,
|
|
6627
|
+
"hasDynamicHelp": false,
|
|
6628
|
+
"multiple": false,
|
|
6629
|
+
"type": "option"
|
|
6537
6630
|
},
|
|
6538
|
-
"
|
|
6539
|
-
"char": "
|
|
6540
|
-
"description": "
|
|
6541
|
-
"
|
|
6631
|
+
"token": {
|
|
6632
|
+
"char": "t",
|
|
6633
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6634
|
+
"env": "GITHUB_TOKEN",
|
|
6635
|
+
"name": "token",
|
|
6542
6636
|
"required": false,
|
|
6543
6637
|
"hasDynamicHelp": false,
|
|
6544
6638
|
"multiple": false,
|
|
@@ -6547,7 +6641,7 @@
|
|
|
6547
6641
|
},
|
|
6548
6642
|
"hasDynamicHelp": false,
|
|
6549
6643
|
"hiddenAliases": [],
|
|
6550
|
-
"id": "
|
|
6644
|
+
"id": "workspace:git:pull",
|
|
6551
6645
|
"pluginAlias": "@xano/cli",
|
|
6552
6646
|
"pluginName": "@xano/cli",
|
|
6553
6647
|
"pluginType": "core",
|
|
@@ -6557,9 +6651,9 @@
|
|
|
6557
6651
|
"relativePath": [
|
|
6558
6652
|
"dist",
|
|
6559
6653
|
"commands",
|
|
6560
|
-
"
|
|
6561
|
-
"
|
|
6562
|
-
"
|
|
6654
|
+
"workspace",
|
|
6655
|
+
"git",
|
|
6656
|
+
"pull",
|
|
6563
6657
|
"index.js"
|
|
6564
6658
|
]
|
|
6565
6659
|
},
|
|
@@ -6742,24 +6836,21 @@
|
|
|
6742
6836
|
"index.js"
|
|
6743
6837
|
]
|
|
6744
6838
|
},
|
|
6745
|
-
"
|
|
6839
|
+
"tenant:cluster:license:set": {
|
|
6746
6840
|
"aliases": [],
|
|
6747
6841
|
"args": {
|
|
6748
|
-
"
|
|
6749
|
-
"description": "
|
|
6750
|
-
"name": "
|
|
6842
|
+
"cluster_id": {
|
|
6843
|
+
"description": "Tenant cluster ID",
|
|
6844
|
+
"name": "cluster_id",
|
|
6751
6845
|
"required": true
|
|
6752
6846
|
}
|
|
6753
6847
|
},
|
|
6754
|
-
"description": "
|
|
6848
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
6755
6849
|
"examples": [
|
|
6756
|
-
"$ xano
|
|
6757
|
-
"$ xano
|
|
6758
|
-
"$ xano
|
|
6759
|
-
"$ xano
|
|
6760
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6761
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6762
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6850
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
6851
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
6852
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
6853
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
6763
6854
|
],
|
|
6764
6855
|
"flags": {
|
|
6765
6856
|
"profile": {
|
|
@@ -6781,100 +6872,22 @@
|
|
|
6781
6872
|
"allowNo": false,
|
|
6782
6873
|
"type": "boolean"
|
|
6783
6874
|
},
|
|
6784
|
-
"
|
|
6785
|
-
"
|
|
6786
|
-
"
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
"
|
|
6790
|
-
"multiple": false,
|
|
6791
|
-
"type": "option"
|
|
6792
|
-
},
|
|
6793
|
-
"path": {
|
|
6794
|
-
"description": "Subdirectory within the repo to import from",
|
|
6795
|
-
"name": "path",
|
|
6796
|
-
"required": false,
|
|
6797
|
-
"hasDynamicHelp": false,
|
|
6798
|
-
"multiple": false,
|
|
6799
|
-
"type": "option"
|
|
6800
|
-
},
|
|
6801
|
-
"repo": {
|
|
6802
|
-
"char": "r",
|
|
6803
|
-
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6804
|
-
"name": "repo",
|
|
6805
|
-
"required": true,
|
|
6806
|
-
"hasDynamicHelp": false,
|
|
6807
|
-
"multiple": false,
|
|
6808
|
-
"type": "option"
|
|
6809
|
-
},
|
|
6810
|
-
"token": {
|
|
6811
|
-
"char": "t",
|
|
6812
|
-
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6813
|
-
"env": "GITHUB_TOKEN",
|
|
6814
|
-
"name": "token",
|
|
6815
|
-
"required": false,
|
|
6816
|
-
"hasDynamicHelp": false,
|
|
6817
|
-
"multiple": false,
|
|
6818
|
-
"type": "option"
|
|
6819
|
-
}
|
|
6820
|
-
},
|
|
6821
|
-
"hasDynamicHelp": false,
|
|
6822
|
-
"hiddenAliases": [],
|
|
6823
|
-
"id": "workspace:git:pull",
|
|
6824
|
-
"pluginAlias": "@xano/cli",
|
|
6825
|
-
"pluginName": "@xano/cli",
|
|
6826
|
-
"pluginType": "core",
|
|
6827
|
-
"strict": true,
|
|
6828
|
-
"enableJsonFlag": false,
|
|
6829
|
-
"isESM": true,
|
|
6830
|
-
"relativePath": [
|
|
6831
|
-
"dist",
|
|
6832
|
-
"commands",
|
|
6833
|
-
"workspace",
|
|
6834
|
-
"git",
|
|
6835
|
-
"pull",
|
|
6836
|
-
"index.js"
|
|
6837
|
-
]
|
|
6838
|
-
},
|
|
6839
|
-
"tenant:cluster:license:get": {
|
|
6840
|
-
"aliases": [],
|
|
6841
|
-
"args": {
|
|
6842
|
-
"cluster_id": {
|
|
6843
|
-
"description": "Tenant cluster ID",
|
|
6844
|
-
"name": "cluster_id",
|
|
6845
|
-
"required": true
|
|
6846
|
-
}
|
|
6847
|
-
},
|
|
6848
|
-
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6849
|
-
"examples": [
|
|
6850
|
-
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6851
|
-
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6852
|
-
"$ xano tenant cluster license get 1 --view",
|
|
6853
|
-
"$ xano tenant cluster license get 1 -o json"
|
|
6854
|
-
],
|
|
6855
|
-
"flags": {
|
|
6856
|
-
"profile": {
|
|
6857
|
-
"char": "p",
|
|
6858
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6859
|
-
"env": "XANO_PROFILE",
|
|
6860
|
-
"name": "profile",
|
|
6861
|
-
"required": false,
|
|
6862
|
-
"hasDynamicHelp": false,
|
|
6863
|
-
"multiple": false,
|
|
6864
|
-
"type": "option"
|
|
6865
|
-
},
|
|
6866
|
-
"verbose": {
|
|
6867
|
-
"char": "v",
|
|
6868
|
-
"description": "Show detailed request/response information",
|
|
6869
|
-
"env": "XANO_VERBOSE",
|
|
6870
|
-
"name": "verbose",
|
|
6875
|
+
"clean": {
|
|
6876
|
+
"description": "Remove the source file after successful upload",
|
|
6877
|
+
"exclusive": [
|
|
6878
|
+
"value"
|
|
6879
|
+
],
|
|
6880
|
+
"name": "clean",
|
|
6871
6881
|
"required": false,
|
|
6872
6882
|
"allowNo": false,
|
|
6873
6883
|
"type": "boolean"
|
|
6874
6884
|
},
|
|
6875
6885
|
"file": {
|
|
6876
6886
|
"char": "f",
|
|
6877
|
-
"description": "
|
|
6887
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
6888
|
+
"exclusive": [
|
|
6889
|
+
"value"
|
|
6890
|
+
],
|
|
6878
6891
|
"name": "file",
|
|
6879
6892
|
"required": false,
|
|
6880
6893
|
"hasDynamicHelp": false,
|
|
@@ -6895,17 +6908,22 @@
|
|
|
6895
6908
|
],
|
|
6896
6909
|
"type": "option"
|
|
6897
6910
|
},
|
|
6898
|
-
"
|
|
6899
|
-
"description": "
|
|
6900
|
-
"
|
|
6911
|
+
"value": {
|
|
6912
|
+
"description": "Inline kubeconfig YAML value",
|
|
6913
|
+
"exclusive": [
|
|
6914
|
+
"file",
|
|
6915
|
+
"clean"
|
|
6916
|
+
],
|
|
6917
|
+
"name": "value",
|
|
6901
6918
|
"required": false,
|
|
6902
|
-
"
|
|
6903
|
-
"
|
|
6919
|
+
"hasDynamicHelp": false,
|
|
6920
|
+
"multiple": false,
|
|
6921
|
+
"type": "option"
|
|
6904
6922
|
}
|
|
6905
6923
|
},
|
|
6906
6924
|
"hasDynamicHelp": false,
|
|
6907
6925
|
"hiddenAliases": [],
|
|
6908
|
-
"id": "tenant:cluster:license:
|
|
6926
|
+
"id": "tenant:cluster:license:set",
|
|
6909
6927
|
"pluginAlias": "@xano/cli",
|
|
6910
6928
|
"pluginName": "@xano/cli",
|
|
6911
6929
|
"pluginType": "core",
|
|
@@ -6918,11 +6936,11 @@
|
|
|
6918
6936
|
"tenant",
|
|
6919
6937
|
"cluster",
|
|
6920
6938
|
"license",
|
|
6921
|
-
"
|
|
6939
|
+
"set",
|
|
6922
6940
|
"index.js"
|
|
6923
6941
|
]
|
|
6924
6942
|
},
|
|
6925
|
-
"tenant:cluster:license:
|
|
6943
|
+
"tenant:cluster:license:get": {
|
|
6926
6944
|
"aliases": [],
|
|
6927
6945
|
"args": {
|
|
6928
6946
|
"cluster_id": {
|
|
@@ -6931,12 +6949,12 @@
|
|
|
6931
6949
|
"required": true
|
|
6932
6950
|
}
|
|
6933
6951
|
},
|
|
6934
|
-
"description": "
|
|
6952
|
+
"description": "Get the license (kubeconfig) for a tenant cluster",
|
|
6935
6953
|
"examples": [
|
|
6936
|
-
"$ xano tenant cluster license
|
|
6937
|
-
"$ xano tenant cluster license
|
|
6938
|
-
"$ xano tenant cluster license
|
|
6939
|
-
"$ xano tenant cluster license
|
|
6954
|
+
"$ xano tenant cluster license get 1\nLicense saved to kubeconfig-1.yaml\n",
|
|
6955
|
+
"$ xano tenant cluster license get 1 --file ./my-kubeconfig.yaml\nLicense saved to my-kubeconfig.yaml\n",
|
|
6956
|
+
"$ xano tenant cluster license get 1 --view",
|
|
6957
|
+
"$ xano tenant cluster license get 1 -o json"
|
|
6940
6958
|
],
|
|
6941
6959
|
"flags": {
|
|
6942
6960
|
"profile": {
|
|
@@ -6958,22 +6976,9 @@
|
|
|
6958
6976
|
"allowNo": false,
|
|
6959
6977
|
"type": "boolean"
|
|
6960
6978
|
},
|
|
6961
|
-
"clean": {
|
|
6962
|
-
"description": "Remove the source file after successful upload",
|
|
6963
|
-
"exclusive": [
|
|
6964
|
-
"value"
|
|
6965
|
-
],
|
|
6966
|
-
"name": "clean",
|
|
6967
|
-
"required": false,
|
|
6968
|
-
"allowNo": false,
|
|
6969
|
-
"type": "boolean"
|
|
6970
|
-
},
|
|
6971
6979
|
"file": {
|
|
6972
6980
|
"char": "f",
|
|
6973
|
-
"description": "
|
|
6974
|
-
"exclusive": [
|
|
6975
|
-
"value"
|
|
6976
|
-
],
|
|
6981
|
+
"description": "Output file path (default: kubeconfig_<cluster_id>.yaml)",
|
|
6977
6982
|
"name": "file",
|
|
6978
6983
|
"required": false,
|
|
6979
6984
|
"hasDynamicHelp": false,
|
|
@@ -6994,22 +6999,17 @@
|
|
|
6994
6999
|
],
|
|
6995
7000
|
"type": "option"
|
|
6996
7001
|
},
|
|
6997
|
-
"
|
|
6998
|
-
"description": "
|
|
6999
|
-
"
|
|
7000
|
-
"file",
|
|
7001
|
-
"clean"
|
|
7002
|
-
],
|
|
7003
|
-
"name": "value",
|
|
7002
|
+
"view": {
|
|
7003
|
+
"description": "Print license to stdout instead of saving to file",
|
|
7004
|
+
"name": "view",
|
|
7004
7005
|
"required": false,
|
|
7005
|
-
"
|
|
7006
|
-
"
|
|
7007
|
-
"type": "option"
|
|
7006
|
+
"allowNo": false,
|
|
7007
|
+
"type": "boolean"
|
|
7008
7008
|
}
|
|
7009
7009
|
},
|
|
7010
7010
|
"hasDynamicHelp": false,
|
|
7011
7011
|
"hiddenAliases": [],
|
|
7012
|
-
"id": "tenant:cluster:license:
|
|
7012
|
+
"id": "tenant:cluster:license:get",
|
|
7013
7013
|
"pluginAlias": "@xano/cli",
|
|
7014
7014
|
"pluginName": "@xano/cli",
|
|
7015
7015
|
"pluginType": "core",
|
|
@@ -7022,10 +7022,10 @@
|
|
|
7022
7022
|
"tenant",
|
|
7023
7023
|
"cluster",
|
|
7024
7024
|
"license",
|
|
7025
|
-
"
|
|
7025
|
+
"get",
|
|
7026
7026
|
"index.js"
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
},
|
|
7030
|
-
"version": "0.0.
|
|
7030
|
+
"version": "0.0.51"
|
|
7031
7031
|
}
|