@xano/cli 0.0.91 → 0.0.92
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/README.md +4 -1
- package/oclif.manifest.json +1270 -1270
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -394,20 +394,20 @@
|
|
|
394
394
|
"index.js"
|
|
395
395
|
]
|
|
396
396
|
},
|
|
397
|
-
"branch:
|
|
397
|
+
"branch:get": {
|
|
398
398
|
"aliases": [],
|
|
399
399
|
"args": {
|
|
400
|
-
"
|
|
401
|
-
"description": "
|
|
402
|
-
"name": "
|
|
403
|
-
"required":
|
|
400
|
+
"branch_label": {
|
|
401
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
402
|
+
"name": "branch_label",
|
|
403
|
+
"required": true
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
|
-
"description": "
|
|
406
|
+
"description": "Get details for a specific branch",
|
|
407
407
|
"examples": [
|
|
408
|
-
"$ xano branch
|
|
409
|
-
"$ xano branch
|
|
410
|
-
"$ xano branch
|
|
408
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
409
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
410
|
+
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
411
411
|
],
|
|
412
412
|
"flags": {
|
|
413
413
|
"profile": {
|
|
@@ -442,11 +442,20 @@
|
|
|
442
442
|
"json"
|
|
443
443
|
],
|
|
444
444
|
"type": "option"
|
|
445
|
+
},
|
|
446
|
+
"workspace": {
|
|
447
|
+
"char": "w",
|
|
448
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
449
|
+
"name": "workspace",
|
|
450
|
+
"required": false,
|
|
451
|
+
"hasDynamicHelp": false,
|
|
452
|
+
"multiple": false,
|
|
453
|
+
"type": "option"
|
|
445
454
|
}
|
|
446
455
|
},
|
|
447
456
|
"hasDynamicHelp": false,
|
|
448
457
|
"hiddenAliases": [],
|
|
449
|
-
"id": "branch:
|
|
458
|
+
"id": "branch:get",
|
|
450
459
|
"pluginAlias": "@xano/cli",
|
|
451
460
|
"pluginName": "@xano/cli",
|
|
452
461
|
"pluginType": "core",
|
|
@@ -457,7 +466,7 @@
|
|
|
457
466
|
"dist",
|
|
458
467
|
"commands",
|
|
459
468
|
"branch",
|
|
460
|
-
"
|
|
469
|
+
"get",
|
|
461
470
|
"index.js"
|
|
462
471
|
]
|
|
463
472
|
},
|
|
@@ -545,132 +554,6 @@
|
|
|
545
554
|
"index.js"
|
|
546
555
|
]
|
|
547
556
|
},
|
|
548
|
-
"platform:get": {
|
|
549
|
-
"aliases": [],
|
|
550
|
-
"args": {
|
|
551
|
-
"platform_id": {
|
|
552
|
-
"description": "Platform ID to retrieve",
|
|
553
|
-
"name": "platform_id",
|
|
554
|
-
"required": true
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
"description": "Get details of a specific platform",
|
|
558
|
-
"examples": [
|
|
559
|
-
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
560
|
-
"$ xano platform get 23629 -o json"
|
|
561
|
-
],
|
|
562
|
-
"flags": {
|
|
563
|
-
"profile": {
|
|
564
|
-
"char": "p",
|
|
565
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
566
|
-
"env": "XANO_PROFILE",
|
|
567
|
-
"name": "profile",
|
|
568
|
-
"required": false,
|
|
569
|
-
"hasDynamicHelp": false,
|
|
570
|
-
"multiple": false,
|
|
571
|
-
"type": "option"
|
|
572
|
-
},
|
|
573
|
-
"verbose": {
|
|
574
|
-
"char": "v",
|
|
575
|
-
"description": "Show detailed request/response information",
|
|
576
|
-
"env": "XANO_VERBOSE",
|
|
577
|
-
"name": "verbose",
|
|
578
|
-
"required": false,
|
|
579
|
-
"allowNo": false,
|
|
580
|
-
"type": "boolean"
|
|
581
|
-
},
|
|
582
|
-
"output": {
|
|
583
|
-
"char": "o",
|
|
584
|
-
"description": "Output format",
|
|
585
|
-
"name": "output",
|
|
586
|
-
"required": false,
|
|
587
|
-
"default": "summary",
|
|
588
|
-
"hasDynamicHelp": false,
|
|
589
|
-
"multiple": false,
|
|
590
|
-
"options": [
|
|
591
|
-
"summary",
|
|
592
|
-
"json"
|
|
593
|
-
],
|
|
594
|
-
"type": "option"
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
|
-
"hasDynamicHelp": false,
|
|
598
|
-
"hiddenAliases": [],
|
|
599
|
-
"id": "platform:get",
|
|
600
|
-
"pluginAlias": "@xano/cli",
|
|
601
|
-
"pluginName": "@xano/cli",
|
|
602
|
-
"pluginType": "core",
|
|
603
|
-
"strict": true,
|
|
604
|
-
"enableJsonFlag": false,
|
|
605
|
-
"isESM": true,
|
|
606
|
-
"relativePath": [
|
|
607
|
-
"dist",
|
|
608
|
-
"commands",
|
|
609
|
-
"platform",
|
|
610
|
-
"get",
|
|
611
|
-
"index.js"
|
|
612
|
-
]
|
|
613
|
-
},
|
|
614
|
-
"platform:list": {
|
|
615
|
-
"aliases": [],
|
|
616
|
-
"args": {},
|
|
617
|
-
"description": "List all platforms",
|
|
618
|
-
"examples": [
|
|
619
|
-
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
620
|
-
"$ xano platform list --output json"
|
|
621
|
-
],
|
|
622
|
-
"flags": {
|
|
623
|
-
"profile": {
|
|
624
|
-
"char": "p",
|
|
625
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
626
|
-
"env": "XANO_PROFILE",
|
|
627
|
-
"name": "profile",
|
|
628
|
-
"required": false,
|
|
629
|
-
"hasDynamicHelp": false,
|
|
630
|
-
"multiple": false,
|
|
631
|
-
"type": "option"
|
|
632
|
-
},
|
|
633
|
-
"verbose": {
|
|
634
|
-
"char": "v",
|
|
635
|
-
"description": "Show detailed request/response information",
|
|
636
|
-
"env": "XANO_VERBOSE",
|
|
637
|
-
"name": "verbose",
|
|
638
|
-
"required": false,
|
|
639
|
-
"allowNo": false,
|
|
640
|
-
"type": "boolean"
|
|
641
|
-
},
|
|
642
|
-
"output": {
|
|
643
|
-
"char": "o",
|
|
644
|
-
"description": "Output format",
|
|
645
|
-
"name": "output",
|
|
646
|
-
"required": false,
|
|
647
|
-
"default": "summary",
|
|
648
|
-
"hasDynamicHelp": false,
|
|
649
|
-
"multiple": false,
|
|
650
|
-
"options": [
|
|
651
|
-
"summary",
|
|
652
|
-
"json"
|
|
653
|
-
],
|
|
654
|
-
"type": "option"
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
|
-
"hasDynamicHelp": false,
|
|
658
|
-
"hiddenAliases": [],
|
|
659
|
-
"id": "platform:list",
|
|
660
|
-
"pluginAlias": "@xano/cli",
|
|
661
|
-
"pluginName": "@xano/cli",
|
|
662
|
-
"pluginType": "core",
|
|
663
|
-
"strict": true,
|
|
664
|
-
"enableJsonFlag": false,
|
|
665
|
-
"isESM": true,
|
|
666
|
-
"relativePath": [
|
|
667
|
-
"dist",
|
|
668
|
-
"commands",
|
|
669
|
-
"platform",
|
|
670
|
-
"list",
|
|
671
|
-
"index.js"
|
|
672
|
-
]
|
|
673
|
-
},
|
|
674
557
|
"function:create": {
|
|
675
558
|
"aliases": [],
|
|
676
559
|
"args": {},
|
|
@@ -1115,88 +998,58 @@
|
|
|
1115
998
|
"index.js"
|
|
1116
999
|
]
|
|
1117
1000
|
},
|
|
1118
|
-
"
|
|
1001
|
+
"platform:get": {
|
|
1119
1002
|
"aliases": [],
|
|
1120
1003
|
"args": {
|
|
1121
|
-
"
|
|
1122
|
-
"description": "
|
|
1123
|
-
"name": "
|
|
1004
|
+
"platform_id": {
|
|
1005
|
+
"description": "Platform ID to retrieve",
|
|
1006
|
+
"name": "platform_id",
|
|
1124
1007
|
"required": true
|
|
1125
1008
|
}
|
|
1126
1009
|
},
|
|
1127
|
-
"description": "
|
|
1010
|
+
"description": "Get details of a specific platform",
|
|
1128
1011
|
"examples": [
|
|
1129
|
-
"$ xano
|
|
1130
|
-
"$ xano
|
|
1131
|
-
"$ 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",
|
|
1132
|
-
"$ 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",
|
|
1133
|
-
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1012
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
1013
|
+
"$ xano platform get 23629 -o json"
|
|
1134
1014
|
],
|
|
1135
1015
|
"flags": {
|
|
1136
|
-
"
|
|
1137
|
-
"char": "
|
|
1138
|
-
"description": "
|
|
1139
|
-
"
|
|
1140
|
-
"
|
|
1141
|
-
"hasDynamicHelp": false,
|
|
1142
|
-
"multiple": false,
|
|
1143
|
-
"type": "option"
|
|
1144
|
-
},
|
|
1145
|
-
"account_origin": {
|
|
1146
|
-
"char": "a",
|
|
1147
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1148
|
-
"name": "account_origin",
|
|
1149
|
-
"required": false,
|
|
1150
|
-
"hasDynamicHelp": false,
|
|
1151
|
-
"multiple": false,
|
|
1152
|
-
"type": "option"
|
|
1153
|
-
},
|
|
1154
|
-
"branch": {
|
|
1155
|
-
"char": "b",
|
|
1156
|
-
"description": "Branch name",
|
|
1157
|
-
"name": "branch",
|
|
1016
|
+
"profile": {
|
|
1017
|
+
"char": "p",
|
|
1018
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1019
|
+
"env": "XANO_PROFILE",
|
|
1020
|
+
"name": "profile",
|
|
1158
1021
|
"required": false,
|
|
1159
1022
|
"hasDynamicHelp": false,
|
|
1160
1023
|
"multiple": false,
|
|
1161
1024
|
"type": "option"
|
|
1162
1025
|
},
|
|
1163
|
-
"
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1166
|
-
"
|
|
1167
|
-
"
|
|
1168
|
-
"type": "boolean"
|
|
1169
|
-
},
|
|
1170
|
-
"insecure": {
|
|
1171
|
-
"char": "k",
|
|
1172
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1173
|
-
"name": "insecure",
|
|
1026
|
+
"verbose": {
|
|
1027
|
+
"char": "v",
|
|
1028
|
+
"description": "Show detailed request/response information",
|
|
1029
|
+
"env": "XANO_VERBOSE",
|
|
1030
|
+
"name": "verbose",
|
|
1174
1031
|
"required": false,
|
|
1175
1032
|
"allowNo": false,
|
|
1176
1033
|
"type": "boolean"
|
|
1177
1034
|
},
|
|
1178
|
-
"
|
|
1179
|
-
"char": "
|
|
1180
|
-
"description": "
|
|
1181
|
-
"name": "
|
|
1182
|
-
"required": true,
|
|
1183
|
-
"hasDynamicHelp": false,
|
|
1184
|
-
"multiple": false,
|
|
1185
|
-
"type": "option"
|
|
1186
|
-
},
|
|
1187
|
-
"workspace": {
|
|
1188
|
-
"char": "w",
|
|
1189
|
-
"description": "Workspace name",
|
|
1190
|
-
"name": "workspace",
|
|
1035
|
+
"output": {
|
|
1036
|
+
"char": "o",
|
|
1037
|
+
"description": "Output format",
|
|
1038
|
+
"name": "output",
|
|
1191
1039
|
"required": false,
|
|
1040
|
+
"default": "summary",
|
|
1192
1041
|
"hasDynamicHelp": false,
|
|
1193
1042
|
"multiple": false,
|
|
1043
|
+
"options": [
|
|
1044
|
+
"summary",
|
|
1045
|
+
"json"
|
|
1046
|
+
],
|
|
1194
1047
|
"type": "option"
|
|
1195
1048
|
}
|
|
1196
1049
|
},
|
|
1197
1050
|
"hasDynamicHelp": false,
|
|
1198
1051
|
"hiddenAliases": [],
|
|
1199
|
-
"id": "
|
|
1052
|
+
"id": "platform:get",
|
|
1200
1053
|
"pluginAlias": "@xano/cli",
|
|
1201
1054
|
"pluginName": "@xano/cli",
|
|
1202
1055
|
"pluginType": "core",
|
|
@@ -1206,22 +1059,178 @@
|
|
|
1206
1059
|
"relativePath": [
|
|
1207
1060
|
"dist",
|
|
1208
1061
|
"commands",
|
|
1209
|
-
"
|
|
1210
|
-
"
|
|
1062
|
+
"platform",
|
|
1063
|
+
"get",
|
|
1211
1064
|
"index.js"
|
|
1212
1065
|
]
|
|
1213
1066
|
},
|
|
1214
|
-
"
|
|
1067
|
+
"platform:list": {
|
|
1215
1068
|
"aliases": [],
|
|
1216
|
-
"args": {
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1069
|
+
"args": {},
|
|
1070
|
+
"description": "List all platforms",
|
|
1071
|
+
"examples": [
|
|
1072
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1073
|
+
"$ xano platform list --output json"
|
|
1074
|
+
],
|
|
1075
|
+
"flags": {
|
|
1076
|
+
"profile": {
|
|
1077
|
+
"char": "p",
|
|
1078
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1079
|
+
"env": "XANO_PROFILE",
|
|
1080
|
+
"name": "profile",
|
|
1081
|
+
"required": false,
|
|
1082
|
+
"hasDynamicHelp": false,
|
|
1083
|
+
"multiple": false,
|
|
1084
|
+
"type": "option"
|
|
1085
|
+
},
|
|
1086
|
+
"verbose": {
|
|
1087
|
+
"char": "v",
|
|
1088
|
+
"description": "Show detailed request/response information",
|
|
1089
|
+
"env": "XANO_VERBOSE",
|
|
1090
|
+
"name": "verbose",
|
|
1091
|
+
"required": false,
|
|
1092
|
+
"allowNo": false,
|
|
1093
|
+
"type": "boolean"
|
|
1094
|
+
},
|
|
1095
|
+
"output": {
|
|
1096
|
+
"char": "o",
|
|
1097
|
+
"description": "Output format",
|
|
1098
|
+
"name": "output",
|
|
1099
|
+
"required": false,
|
|
1100
|
+
"default": "summary",
|
|
1101
|
+
"hasDynamicHelp": false,
|
|
1102
|
+
"multiple": false,
|
|
1103
|
+
"options": [
|
|
1104
|
+
"summary",
|
|
1105
|
+
"json"
|
|
1106
|
+
],
|
|
1107
|
+
"type": "option"
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
"hasDynamicHelp": false,
|
|
1111
|
+
"hiddenAliases": [],
|
|
1112
|
+
"id": "platform:list",
|
|
1113
|
+
"pluginAlias": "@xano/cli",
|
|
1114
|
+
"pluginName": "@xano/cli",
|
|
1115
|
+
"pluginType": "core",
|
|
1116
|
+
"strict": true,
|
|
1117
|
+
"enableJsonFlag": false,
|
|
1118
|
+
"isESM": true,
|
|
1119
|
+
"relativePath": [
|
|
1120
|
+
"dist",
|
|
1121
|
+
"commands",
|
|
1122
|
+
"platform",
|
|
1123
|
+
"list",
|
|
1124
|
+
"index.js"
|
|
1125
|
+
]
|
|
1126
|
+
},
|
|
1127
|
+
"profile:create": {
|
|
1128
|
+
"aliases": [],
|
|
1129
|
+
"args": {
|
|
1130
|
+
"name": {
|
|
1131
|
+
"description": "Profile name",
|
|
1132
|
+
"name": "name",
|
|
1133
|
+
"required": true
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"description": "Create a new profile configuration",
|
|
1137
|
+
"examples": [
|
|
1138
|
+
"$ 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",
|
|
1139
|
+
"$ 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",
|
|
1140
|
+
"$ 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",
|
|
1141
|
+
"$ 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",
|
|
1142
|
+
"$ xano profile:create selfhosted -i https://self-signed.example.com -t token123 --insecure\nProfile 'selfhosted' created successfully at ~/.xano/credentials.yaml\n"
|
|
1143
|
+
],
|
|
1144
|
+
"flags": {
|
|
1145
|
+
"access_token": {
|
|
1146
|
+
"char": "t",
|
|
1147
|
+
"description": "Access token for the Xano Metadata API",
|
|
1148
|
+
"name": "access_token",
|
|
1149
|
+
"required": true,
|
|
1150
|
+
"hasDynamicHelp": false,
|
|
1151
|
+
"multiple": false,
|
|
1152
|
+
"type": "option"
|
|
1153
|
+
},
|
|
1154
|
+
"account_origin": {
|
|
1155
|
+
"char": "a",
|
|
1156
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1157
|
+
"name": "account_origin",
|
|
1158
|
+
"required": false,
|
|
1159
|
+
"hasDynamicHelp": false,
|
|
1160
|
+
"multiple": false,
|
|
1161
|
+
"type": "option"
|
|
1162
|
+
},
|
|
1163
|
+
"branch": {
|
|
1164
|
+
"char": "b",
|
|
1165
|
+
"description": "Branch name",
|
|
1166
|
+
"name": "branch",
|
|
1167
|
+
"required": false,
|
|
1168
|
+
"hasDynamicHelp": false,
|
|
1169
|
+
"multiple": false,
|
|
1170
|
+
"type": "option"
|
|
1171
|
+
},
|
|
1172
|
+
"default": {
|
|
1173
|
+
"description": "Set this profile as the default",
|
|
1174
|
+
"name": "default",
|
|
1175
|
+
"required": false,
|
|
1176
|
+
"allowNo": false,
|
|
1177
|
+
"type": "boolean"
|
|
1178
|
+
},
|
|
1179
|
+
"insecure": {
|
|
1180
|
+
"char": "k",
|
|
1181
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1182
|
+
"name": "insecure",
|
|
1183
|
+
"required": false,
|
|
1184
|
+
"allowNo": false,
|
|
1185
|
+
"type": "boolean"
|
|
1186
|
+
},
|
|
1187
|
+
"instance_origin": {
|
|
1188
|
+
"char": "i",
|
|
1189
|
+
"description": "Instance origin URL",
|
|
1190
|
+
"name": "instance_origin",
|
|
1191
|
+
"required": true,
|
|
1192
|
+
"hasDynamicHelp": false,
|
|
1193
|
+
"multiple": false,
|
|
1194
|
+
"type": "option"
|
|
1195
|
+
},
|
|
1196
|
+
"workspace": {
|
|
1197
|
+
"char": "w",
|
|
1198
|
+
"description": "Workspace name",
|
|
1199
|
+
"name": "workspace",
|
|
1200
|
+
"required": false,
|
|
1201
|
+
"hasDynamicHelp": false,
|
|
1202
|
+
"multiple": false,
|
|
1203
|
+
"type": "option"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"hasDynamicHelp": false,
|
|
1207
|
+
"hiddenAliases": [],
|
|
1208
|
+
"id": "profile:create",
|
|
1209
|
+
"pluginAlias": "@xano/cli",
|
|
1210
|
+
"pluginName": "@xano/cli",
|
|
1211
|
+
"pluginType": "core",
|
|
1212
|
+
"strict": true,
|
|
1213
|
+
"enableJsonFlag": false,
|
|
1214
|
+
"isESM": true,
|
|
1215
|
+
"relativePath": [
|
|
1216
|
+
"dist",
|
|
1217
|
+
"commands",
|
|
1218
|
+
"profile",
|
|
1219
|
+
"create",
|
|
1220
|
+
"index.js"
|
|
1221
|
+
]
|
|
1222
|
+
},
|
|
1223
|
+
"profile:delete": {
|
|
1224
|
+
"aliases": [],
|
|
1225
|
+
"args": {
|
|
1226
|
+
"name": {
|
|
1227
|
+
"description": "Profile name to delete",
|
|
1228
|
+
"name": "name",
|
|
1229
|
+
"required": true
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"description": "Delete a profile configuration",
|
|
1233
|
+
"examples": [
|
|
1225
1234
|
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1226
1235
|
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1227
1236
|
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
@@ -1383,68 +1392,17 @@
|
|
|
1383
1392
|
"index.js"
|
|
1384
1393
|
]
|
|
1385
1394
|
},
|
|
1386
|
-
"
|
|
1395
|
+
"profile:get": {
|
|
1387
1396
|
"aliases": [],
|
|
1388
|
-
"args": {
|
|
1389
|
-
|
|
1390
|
-
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
1391
|
-
"name": "branch_label",
|
|
1392
|
-
"required": true
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
1395
|
-
"description": "Get details for a specific branch",
|
|
1397
|
+
"args": {},
|
|
1398
|
+
"description": "Get the current default profile name",
|
|
1396
1399
|
"examples": [
|
|
1397
|
-
"$ xano
|
|
1398
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1399
|
-
"$ xano branch get staging --output json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false,\n \"live\": false\n}\n"
|
|
1400
|
+
"$ xano profile get\nproduction\n"
|
|
1400
1401
|
],
|
|
1401
|
-
"flags": {
|
|
1402
|
-
"profile": {
|
|
1403
|
-
"char": "p",
|
|
1404
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1405
|
-
"env": "XANO_PROFILE",
|
|
1406
|
-
"name": "profile",
|
|
1407
|
-
"required": false,
|
|
1408
|
-
"hasDynamicHelp": false,
|
|
1409
|
-
"multiple": false,
|
|
1410
|
-
"type": "option"
|
|
1411
|
-
},
|
|
1412
|
-
"verbose": {
|
|
1413
|
-
"char": "v",
|
|
1414
|
-
"description": "Show detailed request/response information",
|
|
1415
|
-
"env": "XANO_VERBOSE",
|
|
1416
|
-
"name": "verbose",
|
|
1417
|
-
"required": false,
|
|
1418
|
-
"allowNo": false,
|
|
1419
|
-
"type": "boolean"
|
|
1420
|
-
},
|
|
1421
|
-
"output": {
|
|
1422
|
-
"char": "o",
|
|
1423
|
-
"description": "Output format",
|
|
1424
|
-
"name": "output",
|
|
1425
|
-
"required": false,
|
|
1426
|
-
"default": "summary",
|
|
1427
|
-
"hasDynamicHelp": false,
|
|
1428
|
-
"multiple": false,
|
|
1429
|
-
"options": [
|
|
1430
|
-
"summary",
|
|
1431
|
-
"json"
|
|
1432
|
-
],
|
|
1433
|
-
"type": "option"
|
|
1434
|
-
},
|
|
1435
|
-
"workspace": {
|
|
1436
|
-
"char": "w",
|
|
1437
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1438
|
-
"name": "workspace",
|
|
1439
|
-
"required": false,
|
|
1440
|
-
"hasDynamicHelp": false,
|
|
1441
|
-
"multiple": false,
|
|
1442
|
-
"type": "option"
|
|
1443
|
-
}
|
|
1444
|
-
},
|
|
1402
|
+
"flags": {},
|
|
1445
1403
|
"hasDynamicHelp": false,
|
|
1446
1404
|
"hiddenAliases": [],
|
|
1447
|
-
"id": "
|
|
1405
|
+
"id": "profile:get",
|
|
1448
1406
|
"pluginAlias": "@xano/cli",
|
|
1449
1407
|
"pluginName": "@xano/cli",
|
|
1450
1408
|
"pluginType": "core",
|
|
@@ -1454,7 +1412,7 @@
|
|
|
1454
1412
|
"relativePath": [
|
|
1455
1413
|
"dist",
|
|
1456
1414
|
"commands",
|
|
1457
|
-
"
|
|
1415
|
+
"profile",
|
|
1458
1416
|
"get",
|
|
1459
1417
|
"index.js"
|
|
1460
1418
|
]
|
|
@@ -1556,136 +1514,6 @@
|
|
|
1556
1514
|
"index.js"
|
|
1557
1515
|
]
|
|
1558
1516
|
},
|
|
1559
|
-
"profile:get": {
|
|
1560
|
-
"aliases": [],
|
|
1561
|
-
"args": {},
|
|
1562
|
-
"description": "Get the current default profile name",
|
|
1563
|
-
"examples": [
|
|
1564
|
-
"$ xano profile get\nproduction\n"
|
|
1565
|
-
],
|
|
1566
|
-
"flags": {},
|
|
1567
|
-
"hasDynamicHelp": false,
|
|
1568
|
-
"hiddenAliases": [],
|
|
1569
|
-
"id": "profile:get",
|
|
1570
|
-
"pluginAlias": "@xano/cli",
|
|
1571
|
-
"pluginName": "@xano/cli",
|
|
1572
|
-
"pluginType": "core",
|
|
1573
|
-
"strict": true,
|
|
1574
|
-
"enableJsonFlag": false,
|
|
1575
|
-
"isESM": true,
|
|
1576
|
-
"relativePath": [
|
|
1577
|
-
"dist",
|
|
1578
|
-
"commands",
|
|
1579
|
-
"profile",
|
|
1580
|
-
"get",
|
|
1581
|
-
"index.js"
|
|
1582
|
-
]
|
|
1583
|
-
},
|
|
1584
|
-
"profile:token": {
|
|
1585
|
-
"aliases": [],
|
|
1586
|
-
"args": {},
|
|
1587
|
-
"description": "Print the access token for the default profile",
|
|
1588
|
-
"examples": [
|
|
1589
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1590
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1591
|
-
],
|
|
1592
|
-
"flags": {},
|
|
1593
|
-
"hasDynamicHelp": false,
|
|
1594
|
-
"hiddenAliases": [],
|
|
1595
|
-
"id": "profile:token",
|
|
1596
|
-
"pluginAlias": "@xano/cli",
|
|
1597
|
-
"pluginName": "@xano/cli",
|
|
1598
|
-
"pluginType": "core",
|
|
1599
|
-
"strict": true,
|
|
1600
|
-
"enableJsonFlag": false,
|
|
1601
|
-
"isESM": true,
|
|
1602
|
-
"relativePath": [
|
|
1603
|
-
"dist",
|
|
1604
|
-
"commands",
|
|
1605
|
-
"profile",
|
|
1606
|
-
"token",
|
|
1607
|
-
"index.js"
|
|
1608
|
-
]
|
|
1609
|
-
},
|
|
1610
|
-
"profile:wizard": {
|
|
1611
|
-
"aliases": [],
|
|
1612
|
-
"args": {},
|
|
1613
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1614
|
-
"examples": [
|
|
1615
|
-
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1616
|
-
],
|
|
1617
|
-
"flags": {
|
|
1618
|
-
"insecure": {
|
|
1619
|
-
"char": "k",
|
|
1620
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1621
|
-
"name": "insecure",
|
|
1622
|
-
"required": false,
|
|
1623
|
-
"allowNo": false,
|
|
1624
|
-
"type": "boolean"
|
|
1625
|
-
},
|
|
1626
|
-
"name": {
|
|
1627
|
-
"char": "n",
|
|
1628
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1629
|
-
"name": "name",
|
|
1630
|
-
"required": false,
|
|
1631
|
-
"hasDynamicHelp": false,
|
|
1632
|
-
"multiple": false,
|
|
1633
|
-
"type": "option"
|
|
1634
|
-
},
|
|
1635
|
-
"origin": {
|
|
1636
|
-
"char": "o",
|
|
1637
|
-
"description": "Xano instance origin URL",
|
|
1638
|
-
"name": "origin",
|
|
1639
|
-
"required": false,
|
|
1640
|
-
"default": "https://app.xano.com",
|
|
1641
|
-
"hasDynamicHelp": false,
|
|
1642
|
-
"multiple": false,
|
|
1643
|
-
"type": "option"
|
|
1644
|
-
}
|
|
1645
|
-
},
|
|
1646
|
-
"hasDynamicHelp": false,
|
|
1647
|
-
"hiddenAliases": [],
|
|
1648
|
-
"id": "profile:wizard",
|
|
1649
|
-
"pluginAlias": "@xano/cli",
|
|
1650
|
-
"pluginName": "@xano/cli",
|
|
1651
|
-
"pluginType": "core",
|
|
1652
|
-
"strict": true,
|
|
1653
|
-
"enableJsonFlag": false,
|
|
1654
|
-
"isESM": true,
|
|
1655
|
-
"relativePath": [
|
|
1656
|
-
"dist",
|
|
1657
|
-
"commands",
|
|
1658
|
-
"profile",
|
|
1659
|
-
"wizard",
|
|
1660
|
-
"index.js"
|
|
1661
|
-
]
|
|
1662
|
-
},
|
|
1663
|
-
"profile:workspace": {
|
|
1664
|
-
"aliases": [],
|
|
1665
|
-
"args": {},
|
|
1666
|
-
"description": "Print the workspace ID for the default profile",
|
|
1667
|
-
"examples": [
|
|
1668
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1669
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1670
|
-
],
|
|
1671
|
-
"flags": {},
|
|
1672
|
-
"hasDynamicHelp": false,
|
|
1673
|
-
"hiddenAliases": [],
|
|
1674
|
-
"id": "profile:workspace",
|
|
1675
|
-
"pluginAlias": "@xano/cli",
|
|
1676
|
-
"pluginName": "@xano/cli",
|
|
1677
|
-
"pluginType": "core",
|
|
1678
|
-
"strict": true,
|
|
1679
|
-
"enableJsonFlag": false,
|
|
1680
|
-
"isESM": true,
|
|
1681
|
-
"relativePath": [
|
|
1682
|
-
"dist",
|
|
1683
|
-
"commands",
|
|
1684
|
-
"profile",
|
|
1685
|
-
"workspace",
|
|
1686
|
-
"index.js"
|
|
1687
|
-
]
|
|
1688
|
-
},
|
|
1689
1517
|
"profile:set": {
|
|
1690
1518
|
"aliases": [],
|
|
1691
1519
|
"args": {
|
|
@@ -1717,81 +1545,18 @@
|
|
|
1717
1545
|
"index.js"
|
|
1718
1546
|
]
|
|
1719
1547
|
},
|
|
1720
|
-
"
|
|
1548
|
+
"profile:token": {
|
|
1721
1549
|
"aliases": [],
|
|
1722
1550
|
"args": {},
|
|
1723
|
-
"description": "
|
|
1551
|
+
"description": "Print the access token for the default profile",
|
|
1724
1552
|
"examples": [
|
|
1725
|
-
"$ xano
|
|
1726
|
-
"$ xano
|
|
1727
|
-
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
1728
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1553
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1554
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1729
1555
|
],
|
|
1730
|
-
"flags": {
|
|
1731
|
-
"profile": {
|
|
1732
|
-
"char": "p",
|
|
1733
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1734
|
-
"env": "XANO_PROFILE",
|
|
1735
|
-
"name": "profile",
|
|
1736
|
-
"required": false,
|
|
1737
|
-
"hasDynamicHelp": false,
|
|
1738
|
-
"multiple": false,
|
|
1739
|
-
"type": "option"
|
|
1740
|
-
},
|
|
1741
|
-
"verbose": {
|
|
1742
|
-
"char": "v",
|
|
1743
|
-
"description": "Show detailed request/response information",
|
|
1744
|
-
"env": "XANO_VERBOSE",
|
|
1745
|
-
"name": "verbose",
|
|
1746
|
-
"required": false,
|
|
1747
|
-
"allowNo": false,
|
|
1748
|
-
"type": "boolean"
|
|
1749
|
-
},
|
|
1750
|
-
"output": {
|
|
1751
|
-
"char": "o",
|
|
1752
|
-
"description": "Output format",
|
|
1753
|
-
"name": "output",
|
|
1754
|
-
"required": false,
|
|
1755
|
-
"default": "summary",
|
|
1756
|
-
"hasDynamicHelp": false,
|
|
1757
|
-
"multiple": false,
|
|
1758
|
-
"options": [
|
|
1759
|
-
"summary",
|
|
1760
|
-
"json"
|
|
1761
|
-
],
|
|
1762
|
-
"type": "option"
|
|
1763
|
-
},
|
|
1764
|
-
"page": {
|
|
1765
|
-
"description": "Page number for pagination",
|
|
1766
|
-
"name": "page",
|
|
1767
|
-
"required": false,
|
|
1768
|
-
"default": 1,
|
|
1769
|
-
"hasDynamicHelp": false,
|
|
1770
|
-
"multiple": false,
|
|
1771
|
-
"type": "option"
|
|
1772
|
-
},
|
|
1773
|
-
"per_page": {
|
|
1774
|
-
"description": "Number of results per page",
|
|
1775
|
-
"name": "per_page",
|
|
1776
|
-
"required": false,
|
|
1777
|
-
"default": 50,
|
|
1778
|
-
"hasDynamicHelp": false,
|
|
1779
|
-
"multiple": false,
|
|
1780
|
-
"type": "option"
|
|
1781
|
-
},
|
|
1782
|
-
"workspace": {
|
|
1783
|
-
"char": "w",
|
|
1784
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1785
|
-
"name": "workspace",
|
|
1786
|
-
"required": false,
|
|
1787
|
-
"hasDynamicHelp": false,
|
|
1788
|
-
"multiple": false,
|
|
1789
|
-
"type": "option"
|
|
1790
|
-
}
|
|
1791
|
-
},
|
|
1556
|
+
"flags": {},
|
|
1792
1557
|
"hasDynamicHelp": false,
|
|
1793
1558
|
"hiddenAliases": [],
|
|
1794
|
-
"id": "
|
|
1559
|
+
"id": "profile:token",
|
|
1795
1560
|
"pluginAlias": "@xano/cli",
|
|
1796
1561
|
"pluginName": "@xano/cli",
|
|
1797
1562
|
"pluginType": "core",
|
|
@@ -1801,8 +1566,8 @@
|
|
|
1801
1566
|
"relativePath": [
|
|
1802
1567
|
"dist",
|
|
1803
1568
|
"commands",
|
|
1804
|
-
"
|
|
1805
|
-
"
|
|
1569
|
+
"profile",
|
|
1570
|
+
"token",
|
|
1806
1571
|
"index.js"
|
|
1807
1572
|
]
|
|
1808
1573
|
},
|
|
@@ -1902,7 +1667,60 @@
|
|
|
1902
1667
|
},
|
|
1903
1668
|
"hasDynamicHelp": false,
|
|
1904
1669
|
"hiddenAliases": [],
|
|
1905
|
-
"id": "release:create",
|
|
1670
|
+
"id": "release:create",
|
|
1671
|
+
"pluginAlias": "@xano/cli",
|
|
1672
|
+
"pluginName": "@xano/cli",
|
|
1673
|
+
"pluginType": "core",
|
|
1674
|
+
"strict": true,
|
|
1675
|
+
"enableJsonFlag": false,
|
|
1676
|
+
"isESM": true,
|
|
1677
|
+
"relativePath": [
|
|
1678
|
+
"dist",
|
|
1679
|
+
"commands",
|
|
1680
|
+
"release",
|
|
1681
|
+
"create",
|
|
1682
|
+
"index.js"
|
|
1683
|
+
]
|
|
1684
|
+
},
|
|
1685
|
+
"profile:wizard": {
|
|
1686
|
+
"aliases": [],
|
|
1687
|
+
"args": {},
|
|
1688
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1689
|
+
"examples": [
|
|
1690
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1691
|
+
],
|
|
1692
|
+
"flags": {
|
|
1693
|
+
"insecure": {
|
|
1694
|
+
"char": "k",
|
|
1695
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1696
|
+
"name": "insecure",
|
|
1697
|
+
"required": false,
|
|
1698
|
+
"allowNo": false,
|
|
1699
|
+
"type": "boolean"
|
|
1700
|
+
},
|
|
1701
|
+
"name": {
|
|
1702
|
+
"char": "n",
|
|
1703
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1704
|
+
"name": "name",
|
|
1705
|
+
"required": false,
|
|
1706
|
+
"hasDynamicHelp": false,
|
|
1707
|
+
"multiple": false,
|
|
1708
|
+
"type": "option"
|
|
1709
|
+
},
|
|
1710
|
+
"origin": {
|
|
1711
|
+
"char": "o",
|
|
1712
|
+
"description": "Xano instance origin URL",
|
|
1713
|
+
"name": "origin",
|
|
1714
|
+
"required": false,
|
|
1715
|
+
"default": "https://app.xano.com",
|
|
1716
|
+
"hasDynamicHelp": false,
|
|
1717
|
+
"multiple": false,
|
|
1718
|
+
"type": "option"
|
|
1719
|
+
}
|
|
1720
|
+
},
|
|
1721
|
+
"hasDynamicHelp": false,
|
|
1722
|
+
"hiddenAliases": [],
|
|
1723
|
+
"id": "profile:wizard",
|
|
1906
1724
|
"pluginAlias": "@xano/cli",
|
|
1907
1725
|
"pluginName": "@xano/cli",
|
|
1908
1726
|
"pluginType": "core",
|
|
@@ -1912,8 +1730,34 @@
|
|
|
1912
1730
|
"relativePath": [
|
|
1913
1731
|
"dist",
|
|
1914
1732
|
"commands",
|
|
1915
|
-
"
|
|
1916
|
-
"
|
|
1733
|
+
"profile",
|
|
1734
|
+
"wizard",
|
|
1735
|
+
"index.js"
|
|
1736
|
+
]
|
|
1737
|
+
},
|
|
1738
|
+
"profile:workspace": {
|
|
1739
|
+
"aliases": [],
|
|
1740
|
+
"args": {},
|
|
1741
|
+
"description": "Print the workspace ID for the default profile",
|
|
1742
|
+
"examples": [
|
|
1743
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1744
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1745
|
+
],
|
|
1746
|
+
"flags": {},
|
|
1747
|
+
"hasDynamicHelp": false,
|
|
1748
|
+
"hiddenAliases": [],
|
|
1749
|
+
"id": "profile:workspace",
|
|
1750
|
+
"pluginAlias": "@xano/cli",
|
|
1751
|
+
"pluginName": "@xano/cli",
|
|
1752
|
+
"pluginType": "core",
|
|
1753
|
+
"strict": true,
|
|
1754
|
+
"enableJsonFlag": false,
|
|
1755
|
+
"isESM": true,
|
|
1756
|
+
"relativePath": [
|
|
1757
|
+
"dist",
|
|
1758
|
+
"commands",
|
|
1759
|
+
"profile",
|
|
1760
|
+
"workspace",
|
|
1917
1761
|
"index.js"
|
|
1918
1762
|
]
|
|
1919
1763
|
},
|
|
@@ -2001,19 +1845,19 @@
|
|
|
2001
1845
|
"index.js"
|
|
2002
1846
|
]
|
|
2003
1847
|
},
|
|
2004
|
-
"release:
|
|
1848
|
+
"release:edit": {
|
|
2005
1849
|
"aliases": [],
|
|
2006
1850
|
"args": {
|
|
2007
1851
|
"release_name": {
|
|
2008
|
-
"description": "Release name to
|
|
1852
|
+
"description": "Release name to edit",
|
|
2009
1853
|
"name": "release_name",
|
|
2010
1854
|
"required": true
|
|
2011
1855
|
}
|
|
2012
1856
|
},
|
|
2013
|
-
"description": "
|
|
1857
|
+
"description": "Edit an existing release",
|
|
2014
1858
|
"examples": [
|
|
2015
|
-
"$ xano release
|
|
2016
|
-
"$ xano release
|
|
1859
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1860
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
2017
1861
|
],
|
|
2018
1862
|
"flags": {
|
|
2019
1863
|
"profile": {
|
|
@@ -2035,6 +1879,24 @@
|
|
|
2035
1879
|
"allowNo": false,
|
|
2036
1880
|
"type": "boolean"
|
|
2037
1881
|
},
|
|
1882
|
+
"description": {
|
|
1883
|
+
"char": "d",
|
|
1884
|
+
"description": "New description",
|
|
1885
|
+
"name": "description",
|
|
1886
|
+
"required": false,
|
|
1887
|
+
"hasDynamicHelp": false,
|
|
1888
|
+
"multiple": false,
|
|
1889
|
+
"type": "option"
|
|
1890
|
+
},
|
|
1891
|
+
"name": {
|
|
1892
|
+
"char": "n",
|
|
1893
|
+
"description": "New name for the release",
|
|
1894
|
+
"name": "name",
|
|
1895
|
+
"required": false,
|
|
1896
|
+
"hasDynamicHelp": false,
|
|
1897
|
+
"multiple": false,
|
|
1898
|
+
"type": "option"
|
|
1899
|
+
},
|
|
2038
1900
|
"output": {
|
|
2039
1901
|
"char": "o",
|
|
2040
1902
|
"description": "Output format",
|
|
@@ -2061,7 +1923,7 @@
|
|
|
2061
1923
|
},
|
|
2062
1924
|
"hasDynamicHelp": false,
|
|
2063
1925
|
"hiddenAliases": [],
|
|
2064
|
-
"id": "release:
|
|
1926
|
+
"id": "release:edit",
|
|
2065
1927
|
"pluginAlias": "@xano/cli",
|
|
2066
1928
|
"pluginName": "@xano/cli",
|
|
2067
1929
|
"pluginType": "core",
|
|
@@ -2072,7 +1934,7 @@
|
|
|
2072
1934
|
"dist",
|
|
2073
1935
|
"commands",
|
|
2074
1936
|
"release",
|
|
2075
|
-
"
|
|
1937
|
+
"edit",
|
|
2076
1938
|
"index.js"
|
|
2077
1939
|
]
|
|
2078
1940
|
},
|
|
@@ -2307,20 +2169,19 @@
|
|
|
2307
2169
|
"index.js"
|
|
2308
2170
|
]
|
|
2309
2171
|
},
|
|
2310
|
-
"release:
|
|
2172
|
+
"release:get": {
|
|
2311
2173
|
"aliases": [],
|
|
2312
2174
|
"args": {
|
|
2313
|
-
"
|
|
2314
|
-
"description": "
|
|
2315
|
-
"name": "
|
|
2175
|
+
"release_name": {
|
|
2176
|
+
"description": "Release name to retrieve",
|
|
2177
|
+
"name": "release_name",
|
|
2316
2178
|
"required": true
|
|
2317
2179
|
}
|
|
2318
2180
|
},
|
|
2319
|
-
"description": "
|
|
2181
|
+
"description": "Get details of a specific release",
|
|
2320
2182
|
"examples": [
|
|
2321
|
-
"$ xano release
|
|
2322
|
-
"$ xano release
|
|
2323
|
-
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2183
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2184
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2324
2185
|
],
|
|
2325
2186
|
"flags": {
|
|
2326
2187
|
"profile": {
|
|
@@ -2342,32 +2203,23 @@
|
|
|
2342
2203
|
"allowNo": false,
|
|
2343
2204
|
"type": "boolean"
|
|
2344
2205
|
},
|
|
2345
|
-
"
|
|
2346
|
-
"
|
|
2347
|
-
"
|
|
2348
|
-
"
|
|
2349
|
-
"allowNo": false,
|
|
2350
|
-
"type": "boolean"
|
|
2351
|
-
},
|
|
2352
|
-
"records": {
|
|
2353
|
-
"description": "Include records",
|
|
2354
|
-
"name": "records",
|
|
2206
|
+
"output": {
|
|
2207
|
+
"char": "o",
|
|
2208
|
+
"description": "Output format",
|
|
2209
|
+
"name": "output",
|
|
2355
2210
|
"required": false,
|
|
2356
|
-
"
|
|
2357
|
-
"type": "boolean"
|
|
2358
|
-
},
|
|
2359
|
-
"release": {
|
|
2360
|
-
"char": "r",
|
|
2361
|
-
"description": "Release name to pull from",
|
|
2362
|
-
"name": "release",
|
|
2363
|
-
"required": true,
|
|
2211
|
+
"default": "summary",
|
|
2364
2212
|
"hasDynamicHelp": false,
|
|
2365
2213
|
"multiple": false,
|
|
2214
|
+
"options": [
|
|
2215
|
+
"summary",
|
|
2216
|
+
"json"
|
|
2217
|
+
],
|
|
2366
2218
|
"type": "option"
|
|
2367
2219
|
},
|
|
2368
2220
|
"workspace": {
|
|
2369
2221
|
"char": "w",
|
|
2370
|
-
"description": "Workspace ID (
|
|
2222
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2371
2223
|
"name": "workspace",
|
|
2372
2224
|
"required": false,
|
|
2373
2225
|
"hasDynamicHelp": false,
|
|
@@ -2377,7 +2229,7 @@
|
|
|
2377
2229
|
},
|
|
2378
2230
|
"hasDynamicHelp": false,
|
|
2379
2231
|
"hiddenAliases": [],
|
|
2380
|
-
"id": "release:
|
|
2232
|
+
"id": "release:get",
|
|
2381
2233
|
"pluginAlias": "@xano/cli",
|
|
2382
2234
|
"pluginName": "@xano/cli",
|
|
2383
2235
|
"pluginType": "core",
|
|
@@ -2388,26 +2240,24 @@
|
|
|
2388
2240
|
"dist",
|
|
2389
2241
|
"commands",
|
|
2390
2242
|
"release",
|
|
2391
|
-
"
|
|
2243
|
+
"get",
|
|
2392
2244
|
"index.js"
|
|
2393
2245
|
]
|
|
2394
2246
|
},
|
|
2395
|
-
"
|
|
2247
|
+
"branch:list": {
|
|
2396
2248
|
"aliases": [],
|
|
2397
2249
|
"args": {
|
|
2398
|
-
"
|
|
2399
|
-
"description": "
|
|
2400
|
-
"name": "
|
|
2401
|
-
"required":
|
|
2250
|
+
"workspace_id": {
|
|
2251
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2252
|
+
"name": "workspace_id",
|
|
2253
|
+
"required": false
|
|
2402
2254
|
}
|
|
2403
2255
|
},
|
|
2404
|
-
"description": "
|
|
2256
|
+
"description": "List all branches in a workspace",
|
|
2405
2257
|
"examples": [
|
|
2406
|
-
"$ xano
|
|
2407
|
-
"$ xano
|
|
2408
|
-
"$ xano
|
|
2409
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2410
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2258
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
2259
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
2260
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
2411
2261
|
],
|
|
2412
2262
|
"flags": {
|
|
2413
2263
|
"profile": {
|
|
@@ -2429,39 +2279,6 @@
|
|
|
2429
2279
|
"allowNo": false,
|
|
2430
2280
|
"type": "boolean"
|
|
2431
2281
|
},
|
|
2432
|
-
"description": {
|
|
2433
|
-
"char": "d",
|
|
2434
|
-
"description": "Release description",
|
|
2435
|
-
"name": "description",
|
|
2436
|
-
"required": false,
|
|
2437
|
-
"default": "",
|
|
2438
|
-
"hasDynamicHelp": false,
|
|
2439
|
-
"multiple": false,
|
|
2440
|
-
"type": "option"
|
|
2441
|
-
},
|
|
2442
|
-
"env": {
|
|
2443
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2444
|
-
"name": "env",
|
|
2445
|
-
"required": false,
|
|
2446
|
-
"allowNo": true,
|
|
2447
|
-
"type": "boolean"
|
|
2448
|
-
},
|
|
2449
|
-
"hotfix": {
|
|
2450
|
-
"description": "Mark as a hotfix release",
|
|
2451
|
-
"name": "hotfix",
|
|
2452
|
-
"required": false,
|
|
2453
|
-
"allowNo": false,
|
|
2454
|
-
"type": "boolean"
|
|
2455
|
-
},
|
|
2456
|
-
"name": {
|
|
2457
|
-
"char": "n",
|
|
2458
|
-
"description": "Name for the release",
|
|
2459
|
-
"name": "name",
|
|
2460
|
-
"required": true,
|
|
2461
|
-
"hasDynamicHelp": false,
|
|
2462
|
-
"multiple": false,
|
|
2463
|
-
"type": "option"
|
|
2464
|
-
},
|
|
2465
2282
|
"output": {
|
|
2466
2283
|
"char": "o",
|
|
2467
2284
|
"description": "Output format",
|
|
@@ -2475,14 +2292,83 @@
|
|
|
2475
2292
|
"json"
|
|
2476
2293
|
],
|
|
2477
2294
|
"type": "option"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
"hasDynamicHelp": false,
|
|
2298
|
+
"hiddenAliases": [],
|
|
2299
|
+
"id": "branch:list",
|
|
2300
|
+
"pluginAlias": "@xano/cli",
|
|
2301
|
+
"pluginName": "@xano/cli",
|
|
2302
|
+
"pluginType": "core",
|
|
2303
|
+
"strict": true,
|
|
2304
|
+
"enableJsonFlag": false,
|
|
2305
|
+
"isESM": true,
|
|
2306
|
+
"relativePath": [
|
|
2307
|
+
"dist",
|
|
2308
|
+
"commands",
|
|
2309
|
+
"branch",
|
|
2310
|
+
"list",
|
|
2311
|
+
"index.js"
|
|
2312
|
+
]
|
|
2313
|
+
},
|
|
2314
|
+
"release:pull": {
|
|
2315
|
+
"aliases": [],
|
|
2316
|
+
"args": {
|
|
2317
|
+
"directory": {
|
|
2318
|
+
"description": "Output directory for pulled documents",
|
|
2319
|
+
"name": "directory",
|
|
2320
|
+
"required": true
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2323
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2324
|
+
"examples": [
|
|
2325
|
+
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2326
|
+
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
2327
|
+
"$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
|
|
2328
|
+
],
|
|
2329
|
+
"flags": {
|
|
2330
|
+
"profile": {
|
|
2331
|
+
"char": "p",
|
|
2332
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2333
|
+
"env": "XANO_PROFILE",
|
|
2334
|
+
"name": "profile",
|
|
2335
|
+
"required": false,
|
|
2336
|
+
"hasDynamicHelp": false,
|
|
2337
|
+
"multiple": false,
|
|
2338
|
+
"type": "option"
|
|
2339
|
+
},
|
|
2340
|
+
"verbose": {
|
|
2341
|
+
"char": "v",
|
|
2342
|
+
"description": "Show detailed request/response information",
|
|
2343
|
+
"env": "XANO_VERBOSE",
|
|
2344
|
+
"name": "verbose",
|
|
2345
|
+
"required": false,
|
|
2346
|
+
"allowNo": false,
|
|
2347
|
+
"type": "boolean"
|
|
2348
|
+
},
|
|
2349
|
+
"env": {
|
|
2350
|
+
"description": "Include environment variables",
|
|
2351
|
+
"name": "env",
|
|
2352
|
+
"required": false,
|
|
2353
|
+
"allowNo": false,
|
|
2354
|
+
"type": "boolean"
|
|
2478
2355
|
},
|
|
2479
2356
|
"records": {
|
|
2480
|
-
"description": "Include records
|
|
2357
|
+
"description": "Include records",
|
|
2481
2358
|
"name": "records",
|
|
2482
2359
|
"required": false,
|
|
2483
|
-
"allowNo":
|
|
2360
|
+
"allowNo": false,
|
|
2484
2361
|
"type": "boolean"
|
|
2485
2362
|
},
|
|
2363
|
+
"release": {
|
|
2364
|
+
"char": "r",
|
|
2365
|
+
"description": "Release name to pull from",
|
|
2366
|
+
"name": "release",
|
|
2367
|
+
"required": true,
|
|
2368
|
+
"hasDynamicHelp": false,
|
|
2369
|
+
"multiple": false,
|
|
2370
|
+
"type": "option"
|
|
2371
|
+
},
|
|
2486
2372
|
"workspace": {
|
|
2487
2373
|
"char": "w",
|
|
2488
2374
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -2495,7 +2381,7 @@
|
|
|
2495
2381
|
},
|
|
2496
2382
|
"hasDynamicHelp": false,
|
|
2497
2383
|
"hiddenAliases": [],
|
|
2498
|
-
"id": "release:
|
|
2384
|
+
"id": "release:pull",
|
|
2499
2385
|
"pluginAlias": "@xano/cli",
|
|
2500
2386
|
"pluginName": "@xano/cli",
|
|
2501
2387
|
"pluginType": "core",
|
|
@@ -2506,23 +2392,26 @@
|
|
|
2506
2392
|
"dist",
|
|
2507
2393
|
"commands",
|
|
2508
2394
|
"release",
|
|
2509
|
-
"
|
|
2395
|
+
"pull",
|
|
2510
2396
|
"index.js"
|
|
2511
2397
|
]
|
|
2512
2398
|
},
|
|
2513
|
-
"release:
|
|
2399
|
+
"release:push": {
|
|
2514
2400
|
"aliases": [],
|
|
2515
2401
|
"args": {
|
|
2516
|
-
"
|
|
2517
|
-
"description": "
|
|
2518
|
-
"name": "
|
|
2402
|
+
"directory": {
|
|
2403
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2404
|
+
"name": "directory",
|
|
2519
2405
|
"required": true
|
|
2520
2406
|
}
|
|
2521
2407
|
},
|
|
2522
|
-
"description": "
|
|
2408
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2523
2409
|
"examples": [
|
|
2524
|
-
"$ xano release
|
|
2525
|
-
"$ xano release
|
|
2410
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2411
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2412
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2413
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2414
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2526
2415
|
],
|
|
2527
2416
|
"flags": {
|
|
2528
2417
|
"profile": {
|
|
@@ -2546,18 +2435,33 @@
|
|
|
2546
2435
|
},
|
|
2547
2436
|
"description": {
|
|
2548
2437
|
"char": "d",
|
|
2549
|
-
"description": "
|
|
2438
|
+
"description": "Release description",
|
|
2550
2439
|
"name": "description",
|
|
2551
2440
|
"required": false,
|
|
2441
|
+
"default": "",
|
|
2552
2442
|
"hasDynamicHelp": false,
|
|
2553
2443
|
"multiple": false,
|
|
2554
2444
|
"type": "option"
|
|
2555
2445
|
},
|
|
2446
|
+
"env": {
|
|
2447
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2448
|
+
"name": "env",
|
|
2449
|
+
"required": false,
|
|
2450
|
+
"allowNo": true,
|
|
2451
|
+
"type": "boolean"
|
|
2452
|
+
},
|
|
2453
|
+
"hotfix": {
|
|
2454
|
+
"description": "Mark as a hotfix release",
|
|
2455
|
+
"name": "hotfix",
|
|
2456
|
+
"required": false,
|
|
2457
|
+
"allowNo": false,
|
|
2458
|
+
"type": "boolean"
|
|
2459
|
+
},
|
|
2556
2460
|
"name": {
|
|
2557
2461
|
"char": "n",
|
|
2558
|
-
"description": "
|
|
2462
|
+
"description": "Name for the release",
|
|
2559
2463
|
"name": "name",
|
|
2560
|
-
"required":
|
|
2464
|
+
"required": true,
|
|
2561
2465
|
"hasDynamicHelp": false,
|
|
2562
2466
|
"multiple": false,
|
|
2563
2467
|
"type": "option"
|
|
@@ -2576,9 +2480,16 @@
|
|
|
2576
2480
|
],
|
|
2577
2481
|
"type": "option"
|
|
2578
2482
|
},
|
|
2483
|
+
"records": {
|
|
2484
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2485
|
+
"name": "records",
|
|
2486
|
+
"required": false,
|
|
2487
|
+
"allowNo": true,
|
|
2488
|
+
"type": "boolean"
|
|
2489
|
+
},
|
|
2579
2490
|
"workspace": {
|
|
2580
2491
|
"char": "w",
|
|
2581
|
-
"description": "Workspace ID (
|
|
2492
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2582
2493
|
"name": "workspace",
|
|
2583
2494
|
"required": false,
|
|
2584
2495
|
"hasDynamicHelp": false,
|
|
@@ -2588,7 +2499,7 @@
|
|
|
2588
2499
|
},
|
|
2589
2500
|
"hasDynamicHelp": false,
|
|
2590
2501
|
"hiddenAliases": [],
|
|
2591
|
-
"id": "release:
|
|
2502
|
+
"id": "release:push",
|
|
2592
2503
|
"pluginAlias": "@xano/cli",
|
|
2593
2504
|
"pluginName": "@xano/cli",
|
|
2594
2505
|
"pluginType": "core",
|
|
@@ -2599,7 +2510,7 @@
|
|
|
2599
2510
|
"dist",
|
|
2600
2511
|
"commands",
|
|
2601
2512
|
"release",
|
|
2602
|
-
"
|
|
2513
|
+
"push",
|
|
2603
2514
|
"index.js"
|
|
2604
2515
|
]
|
|
2605
2516
|
},
|
|
@@ -3004,6 +2915,135 @@
|
|
|
3004
2915
|
"index.js"
|
|
3005
2916
|
]
|
|
3006
2917
|
},
|
|
2918
|
+
"tenant:edit": {
|
|
2919
|
+
"aliases": [],
|
|
2920
|
+
"args": {
|
|
2921
|
+
"tenant_name": {
|
|
2922
|
+
"description": "Tenant name to edit",
|
|
2923
|
+
"name": "tenant_name",
|
|
2924
|
+
"required": true
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
"description": "Edit an existing tenant",
|
|
2928
|
+
"examples": [
|
|
2929
|
+
"$ xano tenant edit t1234-abcd-xyz1 --display \"New Name\" --description \"Updated description\"\nUpdated tenant: New Name (my-tenant) - ID: 42\n",
|
|
2930
|
+
"$ xano tenant edit t1234-abcd-xyz1 --no-tasks --no-ingress -o json"
|
|
2931
|
+
],
|
|
2932
|
+
"flags": {
|
|
2933
|
+
"profile": {
|
|
2934
|
+
"char": "p",
|
|
2935
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2936
|
+
"env": "XANO_PROFILE",
|
|
2937
|
+
"name": "profile",
|
|
2938
|
+
"required": false,
|
|
2939
|
+
"hasDynamicHelp": false,
|
|
2940
|
+
"multiple": false,
|
|
2941
|
+
"type": "option"
|
|
2942
|
+
},
|
|
2943
|
+
"verbose": {
|
|
2944
|
+
"char": "v",
|
|
2945
|
+
"description": "Show detailed request/response information",
|
|
2946
|
+
"env": "XANO_VERBOSE",
|
|
2947
|
+
"name": "verbose",
|
|
2948
|
+
"required": false,
|
|
2949
|
+
"allowNo": false,
|
|
2950
|
+
"type": "boolean"
|
|
2951
|
+
},
|
|
2952
|
+
"description": {
|
|
2953
|
+
"char": "d",
|
|
2954
|
+
"description": "New description",
|
|
2955
|
+
"name": "description",
|
|
2956
|
+
"required": false,
|
|
2957
|
+
"hasDynamicHelp": false,
|
|
2958
|
+
"multiple": false,
|
|
2959
|
+
"type": "option"
|
|
2960
|
+
},
|
|
2961
|
+
"display": {
|
|
2962
|
+
"description": "New display name",
|
|
2963
|
+
"name": "display",
|
|
2964
|
+
"required": false,
|
|
2965
|
+
"hasDynamicHelp": false,
|
|
2966
|
+
"multiple": false,
|
|
2967
|
+
"type": "option"
|
|
2968
|
+
},
|
|
2969
|
+
"domain": {
|
|
2970
|
+
"description": "Custom domain",
|
|
2971
|
+
"name": "domain",
|
|
2972
|
+
"required": false,
|
|
2973
|
+
"hasDynamicHelp": false,
|
|
2974
|
+
"multiple": false,
|
|
2975
|
+
"type": "option"
|
|
2976
|
+
},
|
|
2977
|
+
"ingress": {
|
|
2978
|
+
"description": "Enable/disable ingress",
|
|
2979
|
+
"name": "ingress",
|
|
2980
|
+
"required": false,
|
|
2981
|
+
"allowNo": true,
|
|
2982
|
+
"type": "boolean"
|
|
2983
|
+
},
|
|
2984
|
+
"output": {
|
|
2985
|
+
"char": "o",
|
|
2986
|
+
"description": "Output format",
|
|
2987
|
+
"name": "output",
|
|
2988
|
+
"required": false,
|
|
2989
|
+
"default": "summary",
|
|
2990
|
+
"hasDynamicHelp": false,
|
|
2991
|
+
"multiple": false,
|
|
2992
|
+
"options": [
|
|
2993
|
+
"summary",
|
|
2994
|
+
"json"
|
|
2995
|
+
],
|
|
2996
|
+
"type": "option"
|
|
2997
|
+
},
|
|
2998
|
+
"proxy": {
|
|
2999
|
+
"description": "Proxy URL",
|
|
3000
|
+
"name": "proxy",
|
|
3001
|
+
"required": false,
|
|
3002
|
+
"hasDynamicHelp": false,
|
|
3003
|
+
"multiple": false,
|
|
3004
|
+
"type": "option"
|
|
3005
|
+
},
|
|
3006
|
+
"rbac": {
|
|
3007
|
+
"description": "Enable/disable RBAC",
|
|
3008
|
+
"name": "rbac",
|
|
3009
|
+
"required": false,
|
|
3010
|
+
"allowNo": true,
|
|
3011
|
+
"type": "boolean"
|
|
3012
|
+
},
|
|
3013
|
+
"tasks": {
|
|
3014
|
+
"description": "Enable/disable background tasks",
|
|
3015
|
+
"name": "tasks",
|
|
3016
|
+
"required": false,
|
|
3017
|
+
"allowNo": true,
|
|
3018
|
+
"type": "boolean"
|
|
3019
|
+
},
|
|
3020
|
+
"workspace": {
|
|
3021
|
+
"char": "w",
|
|
3022
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3023
|
+
"name": "workspace",
|
|
3024
|
+
"required": false,
|
|
3025
|
+
"hasDynamicHelp": false,
|
|
3026
|
+
"multiple": false,
|
|
3027
|
+
"type": "option"
|
|
3028
|
+
}
|
|
3029
|
+
},
|
|
3030
|
+
"hasDynamicHelp": false,
|
|
3031
|
+
"hiddenAliases": [],
|
|
3032
|
+
"id": "tenant:edit",
|
|
3033
|
+
"pluginAlias": "@xano/cli",
|
|
3034
|
+
"pluginName": "@xano/cli",
|
|
3035
|
+
"pluginType": "core",
|
|
3036
|
+
"strict": true,
|
|
3037
|
+
"enableJsonFlag": false,
|
|
3038
|
+
"isESM": true,
|
|
3039
|
+
"relativePath": [
|
|
3040
|
+
"dist",
|
|
3041
|
+
"commands",
|
|
3042
|
+
"tenant",
|
|
3043
|
+
"edit",
|
|
3044
|
+
"index.js"
|
|
3045
|
+
]
|
|
3046
|
+
},
|
|
3007
3047
|
"tenant:get": {
|
|
3008
3048
|
"aliases": [],
|
|
3009
3049
|
"args": {
|
|
@@ -3079,6 +3119,95 @@
|
|
|
3079
3119
|
"index.js"
|
|
3080
3120
|
]
|
|
3081
3121
|
},
|
|
3122
|
+
"static_host:list": {
|
|
3123
|
+
"aliases": [],
|
|
3124
|
+
"args": {},
|
|
3125
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
3126
|
+
"examples": [
|
|
3127
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
3128
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
3129
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
3130
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
3131
|
+
],
|
|
3132
|
+
"flags": {
|
|
3133
|
+
"profile": {
|
|
3134
|
+
"char": "p",
|
|
3135
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3136
|
+
"env": "XANO_PROFILE",
|
|
3137
|
+
"name": "profile",
|
|
3138
|
+
"required": false,
|
|
3139
|
+
"hasDynamicHelp": false,
|
|
3140
|
+
"multiple": false,
|
|
3141
|
+
"type": "option"
|
|
3142
|
+
},
|
|
3143
|
+
"verbose": {
|
|
3144
|
+
"char": "v",
|
|
3145
|
+
"description": "Show detailed request/response information",
|
|
3146
|
+
"env": "XANO_VERBOSE",
|
|
3147
|
+
"name": "verbose",
|
|
3148
|
+
"required": false,
|
|
3149
|
+
"allowNo": false,
|
|
3150
|
+
"type": "boolean"
|
|
3151
|
+
},
|
|
3152
|
+
"output": {
|
|
3153
|
+
"char": "o",
|
|
3154
|
+
"description": "Output format",
|
|
3155
|
+
"name": "output",
|
|
3156
|
+
"required": false,
|
|
3157
|
+
"default": "summary",
|
|
3158
|
+
"hasDynamicHelp": false,
|
|
3159
|
+
"multiple": false,
|
|
3160
|
+
"options": [
|
|
3161
|
+
"summary",
|
|
3162
|
+
"json"
|
|
3163
|
+
],
|
|
3164
|
+
"type": "option"
|
|
3165
|
+
},
|
|
3166
|
+
"page": {
|
|
3167
|
+
"description": "Page number for pagination",
|
|
3168
|
+
"name": "page",
|
|
3169
|
+
"required": false,
|
|
3170
|
+
"default": 1,
|
|
3171
|
+
"hasDynamicHelp": false,
|
|
3172
|
+
"multiple": false,
|
|
3173
|
+
"type": "option"
|
|
3174
|
+
},
|
|
3175
|
+
"per_page": {
|
|
3176
|
+
"description": "Number of results per page",
|
|
3177
|
+
"name": "per_page",
|
|
3178
|
+
"required": false,
|
|
3179
|
+
"default": 50,
|
|
3180
|
+
"hasDynamicHelp": false,
|
|
3181
|
+
"multiple": false,
|
|
3182
|
+
"type": "option"
|
|
3183
|
+
},
|
|
3184
|
+
"workspace": {
|
|
3185
|
+
"char": "w",
|
|
3186
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3187
|
+
"name": "workspace",
|
|
3188
|
+
"required": false,
|
|
3189
|
+
"hasDynamicHelp": false,
|
|
3190
|
+
"multiple": false,
|
|
3191
|
+
"type": "option"
|
|
3192
|
+
}
|
|
3193
|
+
},
|
|
3194
|
+
"hasDynamicHelp": false,
|
|
3195
|
+
"hiddenAliases": [],
|
|
3196
|
+
"id": "static_host:list",
|
|
3197
|
+
"pluginAlias": "@xano/cli",
|
|
3198
|
+
"pluginName": "@xano/cli",
|
|
3199
|
+
"pluginType": "core",
|
|
3200
|
+
"strict": true,
|
|
3201
|
+
"enableJsonFlag": false,
|
|
3202
|
+
"isESM": true,
|
|
3203
|
+
"relativePath": [
|
|
3204
|
+
"dist",
|
|
3205
|
+
"commands",
|
|
3206
|
+
"static_host",
|
|
3207
|
+
"list",
|
|
3208
|
+
"index.js"
|
|
3209
|
+
]
|
|
3210
|
+
},
|
|
3082
3211
|
"tenant:impersonate": {
|
|
3083
3212
|
"aliases": [],
|
|
3084
3213
|
"args": {
|
|
@@ -3231,99 +3360,6 @@
|
|
|
3231
3360
|
"index.js"
|
|
3232
3361
|
]
|
|
3233
3362
|
},
|
|
3234
|
-
"tenant:pull": {
|
|
3235
|
-
"aliases": [],
|
|
3236
|
-
"args": {
|
|
3237
|
-
"directory": {
|
|
3238
|
-
"description": "Output directory for pulled documents",
|
|
3239
|
-
"name": "directory",
|
|
3240
|
-
"required": true
|
|
3241
|
-
}
|
|
3242
|
-
},
|
|
3243
|
-
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3244
|
-
"examples": [
|
|
3245
|
-
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3246
|
-
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3247
|
-
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3248
|
-
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3249
|
-
],
|
|
3250
|
-
"flags": {
|
|
3251
|
-
"profile": {
|
|
3252
|
-
"char": "p",
|
|
3253
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3254
|
-
"env": "XANO_PROFILE",
|
|
3255
|
-
"name": "profile",
|
|
3256
|
-
"required": false,
|
|
3257
|
-
"hasDynamicHelp": false,
|
|
3258
|
-
"multiple": false,
|
|
3259
|
-
"type": "option"
|
|
3260
|
-
},
|
|
3261
|
-
"verbose": {
|
|
3262
|
-
"char": "v",
|
|
3263
|
-
"description": "Show detailed request/response information",
|
|
3264
|
-
"env": "XANO_VERBOSE",
|
|
3265
|
-
"name": "verbose",
|
|
3266
|
-
"required": false,
|
|
3267
|
-
"allowNo": false,
|
|
3268
|
-
"type": "boolean"
|
|
3269
|
-
},
|
|
3270
|
-
"draft": {
|
|
3271
|
-
"description": "Include draft versions",
|
|
3272
|
-
"name": "draft",
|
|
3273
|
-
"required": false,
|
|
3274
|
-
"allowNo": false,
|
|
3275
|
-
"type": "boolean"
|
|
3276
|
-
},
|
|
3277
|
-
"env": {
|
|
3278
|
-
"description": "Include environment variables",
|
|
3279
|
-
"name": "env",
|
|
3280
|
-
"required": false,
|
|
3281
|
-
"allowNo": false,
|
|
3282
|
-
"type": "boolean"
|
|
3283
|
-
},
|
|
3284
|
-
"records": {
|
|
3285
|
-
"description": "Include records",
|
|
3286
|
-
"name": "records",
|
|
3287
|
-
"required": false,
|
|
3288
|
-
"allowNo": false,
|
|
3289
|
-
"type": "boolean"
|
|
3290
|
-
},
|
|
3291
|
-
"tenant": {
|
|
3292
|
-
"char": "t",
|
|
3293
|
-
"description": "Tenant name to pull from",
|
|
3294
|
-
"name": "tenant",
|
|
3295
|
-
"required": true,
|
|
3296
|
-
"hasDynamicHelp": false,
|
|
3297
|
-
"multiple": false,
|
|
3298
|
-
"type": "option"
|
|
3299
|
-
},
|
|
3300
|
-
"workspace": {
|
|
3301
|
-
"char": "w",
|
|
3302
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
3303
|
-
"name": "workspace",
|
|
3304
|
-
"required": false,
|
|
3305
|
-
"hasDynamicHelp": false,
|
|
3306
|
-
"multiple": false,
|
|
3307
|
-
"type": "option"
|
|
3308
|
-
}
|
|
3309
|
-
},
|
|
3310
|
-
"hasDynamicHelp": false,
|
|
3311
|
-
"hiddenAliases": [],
|
|
3312
|
-
"id": "tenant:pull",
|
|
3313
|
-
"pluginAlias": "@xano/cli",
|
|
3314
|
-
"pluginName": "@xano/cli",
|
|
3315
|
-
"pluginType": "core",
|
|
3316
|
-
"strict": true,
|
|
3317
|
-
"enableJsonFlag": false,
|
|
3318
|
-
"isESM": true,
|
|
3319
|
-
"relativePath": [
|
|
3320
|
-
"dist",
|
|
3321
|
-
"commands",
|
|
3322
|
-
"tenant",
|
|
3323
|
-
"pull",
|
|
3324
|
-
"index.js"
|
|
3325
|
-
]
|
|
3326
|
-
},
|
|
3327
3363
|
"tenant:push": {
|
|
3328
3364
|
"aliases": [],
|
|
3329
3365
|
"args": {
|
|
@@ -3593,13 +3629,21 @@
|
|
|
3593
3629
|
"index.js"
|
|
3594
3630
|
]
|
|
3595
3631
|
},
|
|
3596
|
-
"
|
|
3632
|
+
"tenant:pull": {
|
|
3597
3633
|
"aliases": [],
|
|
3598
|
-
"args": {
|
|
3599
|
-
|
|
3634
|
+
"args": {
|
|
3635
|
+
"directory": {
|
|
3636
|
+
"description": "Output directory for pulled documents",
|
|
3637
|
+
"name": "directory",
|
|
3638
|
+
"required": true
|
|
3639
|
+
}
|
|
3640
|
+
},
|
|
3641
|
+
"description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
|
|
3600
3642
|
"examples": [
|
|
3601
|
-
"$ xano
|
|
3602
|
-
"$ xano
|
|
3643
|
+
"$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
|
|
3644
|
+
"$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
|
|
3645
|
+
"$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
|
|
3646
|
+
"$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
|
|
3603
3647
|
],
|
|
3604
3648
|
"flags": {
|
|
3605
3649
|
"profile": {
|
|
@@ -3621,45 +3665,39 @@
|
|
|
3621
3665
|
"allowNo": false,
|
|
3622
3666
|
"type": "boolean"
|
|
3623
3667
|
},
|
|
3624
|
-
"
|
|
3625
|
-
"
|
|
3626
|
-
"
|
|
3627
|
-
"name": "branch",
|
|
3668
|
+
"draft": {
|
|
3669
|
+
"description": "Include draft versions",
|
|
3670
|
+
"name": "draft",
|
|
3628
3671
|
"required": false,
|
|
3629
|
-
"
|
|
3630
|
-
"
|
|
3631
|
-
"type": "option"
|
|
3672
|
+
"allowNo": false,
|
|
3673
|
+
"type": "boolean"
|
|
3632
3674
|
},
|
|
3633
|
-
"
|
|
3634
|
-
"description": "
|
|
3635
|
-
"name": "
|
|
3675
|
+
"env": {
|
|
3676
|
+
"description": "Include environment variables",
|
|
3677
|
+
"name": "env",
|
|
3636
3678
|
"required": false,
|
|
3637
|
-
"
|
|
3638
|
-
"
|
|
3639
|
-
"options": [
|
|
3640
|
-
"function",
|
|
3641
|
-
"query",
|
|
3642
|
-
"middleware"
|
|
3643
|
-
],
|
|
3644
|
-
"type": "option"
|
|
3679
|
+
"allowNo": false,
|
|
3680
|
+
"type": "boolean"
|
|
3645
3681
|
},
|
|
3646
|
-
"
|
|
3647
|
-
"
|
|
3648
|
-
"
|
|
3649
|
-
"name": "output",
|
|
3682
|
+
"records": {
|
|
3683
|
+
"description": "Include records",
|
|
3684
|
+
"name": "records",
|
|
3650
3685
|
"required": false,
|
|
3651
|
-
"
|
|
3686
|
+
"allowNo": false,
|
|
3687
|
+
"type": "boolean"
|
|
3688
|
+
},
|
|
3689
|
+
"tenant": {
|
|
3690
|
+
"char": "t",
|
|
3691
|
+
"description": "Tenant name to pull from",
|
|
3692
|
+
"name": "tenant",
|
|
3693
|
+
"required": true,
|
|
3652
3694
|
"hasDynamicHelp": false,
|
|
3653
3695
|
"multiple": false,
|
|
3654
|
-
"options": [
|
|
3655
|
-
"summary",
|
|
3656
|
-
"json"
|
|
3657
|
-
],
|
|
3658
3696
|
"type": "option"
|
|
3659
3697
|
},
|
|
3660
3698
|
"workspace": {
|
|
3661
3699
|
"char": "w",
|
|
3662
|
-
"description": "Workspace ID (
|
|
3700
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3663
3701
|
"name": "workspace",
|
|
3664
3702
|
"required": false,
|
|
3665
3703
|
"hasDynamicHelp": false,
|
|
@@ -3669,7 +3707,7 @@
|
|
|
3669
3707
|
},
|
|
3670
3708
|
"hasDynamicHelp": false,
|
|
3671
3709
|
"hiddenAliases": [],
|
|
3672
|
-
"id": "
|
|
3710
|
+
"id": "tenant:pull",
|
|
3673
3711
|
"pluginAlias": "@xano/cli",
|
|
3674
3712
|
"pluginName": "@xano/cli",
|
|
3675
3713
|
"pluginType": "core",
|
|
@@ -3679,24 +3717,18 @@
|
|
|
3679
3717
|
"relativePath": [
|
|
3680
3718
|
"dist",
|
|
3681
3719
|
"commands",
|
|
3682
|
-
"
|
|
3683
|
-
"
|
|
3720
|
+
"tenant",
|
|
3721
|
+
"pull",
|
|
3684
3722
|
"index.js"
|
|
3685
3723
|
]
|
|
3686
3724
|
},
|
|
3687
|
-
"
|
|
3725
|
+
"unit_test:run_all": {
|
|
3688
3726
|
"aliases": [],
|
|
3689
|
-
"args": {
|
|
3690
|
-
|
|
3691
|
-
"description": "ID of the workflow test to delete",
|
|
3692
|
-
"name": "workflow_test_id",
|
|
3693
|
-
"required": true
|
|
3694
|
-
}
|
|
3695
|
-
},
|
|
3696
|
-
"description": "Delete a workflow test",
|
|
3727
|
+
"args": {},
|
|
3728
|
+
"description": "Run all unit tests in a workspace",
|
|
3697
3729
|
"examples": [
|
|
3698
|
-
"$ xano
|
|
3699
|
-
"$ xano
|
|
3730
|
+
"$ 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",
|
|
3731
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3700
3732
|
],
|
|
3701
3733
|
"flags": {
|
|
3702
3734
|
"profile": {
|
|
@@ -3718,13 +3750,27 @@
|
|
|
3718
3750
|
"allowNo": false,
|
|
3719
3751
|
"type": "boolean"
|
|
3720
3752
|
},
|
|
3721
|
-
"
|
|
3722
|
-
"char": "
|
|
3723
|
-
"description": "
|
|
3724
|
-
"name": "
|
|
3753
|
+
"branch": {
|
|
3754
|
+
"char": "b",
|
|
3755
|
+
"description": "Filter by branch name",
|
|
3756
|
+
"name": "branch",
|
|
3725
3757
|
"required": false,
|
|
3726
|
-
"
|
|
3727
|
-
"
|
|
3758
|
+
"hasDynamicHelp": false,
|
|
3759
|
+
"multiple": false,
|
|
3760
|
+
"type": "option"
|
|
3761
|
+
},
|
|
3762
|
+
"obj-type": {
|
|
3763
|
+
"description": "Filter by object type",
|
|
3764
|
+
"name": "obj-type",
|
|
3765
|
+
"required": false,
|
|
3766
|
+
"hasDynamicHelp": false,
|
|
3767
|
+
"multiple": false,
|
|
3768
|
+
"options": [
|
|
3769
|
+
"function",
|
|
3770
|
+
"query",
|
|
3771
|
+
"middleware"
|
|
3772
|
+
],
|
|
3773
|
+
"type": "option"
|
|
3728
3774
|
},
|
|
3729
3775
|
"output": {
|
|
3730
3776
|
"char": "o",
|
|
@@ -3752,7 +3798,7 @@
|
|
|
3752
3798
|
},
|
|
3753
3799
|
"hasDynamicHelp": false,
|
|
3754
3800
|
"hiddenAliases": [],
|
|
3755
|
-
"id": "
|
|
3801
|
+
"id": "unit_test:run_all",
|
|
3756
3802
|
"pluginAlias": "@xano/cli",
|
|
3757
3803
|
"pluginName": "@xano/cli",
|
|
3758
3804
|
"pluginType": "core",
|
|
@@ -3762,25 +3808,24 @@
|
|
|
3762
3808
|
"relativePath": [
|
|
3763
3809
|
"dist",
|
|
3764
3810
|
"commands",
|
|
3765
|
-
"
|
|
3766
|
-
"
|
|
3811
|
+
"unit_test",
|
|
3812
|
+
"run_all",
|
|
3767
3813
|
"index.js"
|
|
3768
3814
|
]
|
|
3769
3815
|
},
|
|
3770
|
-
"workflow_test:
|
|
3816
|
+
"workflow_test:delete": {
|
|
3771
3817
|
"aliases": [],
|
|
3772
3818
|
"args": {
|
|
3773
3819
|
"workflow_test_id": {
|
|
3774
|
-
"description": "ID of the workflow test",
|
|
3820
|
+
"description": "ID of the workflow test to delete",
|
|
3775
3821
|
"name": "workflow_test_id",
|
|
3776
3822
|
"required": true
|
|
3777
3823
|
}
|
|
3778
3824
|
},
|
|
3779
|
-
"description": "
|
|
3825
|
+
"description": "Delete a workflow test",
|
|
3780
3826
|
"examples": [
|
|
3781
|
-
"$ xano workflow-test
|
|
3782
|
-
"$ xano workflow-test
|
|
3783
|
-
"$ xano workflow-test get 1 -o json"
|
|
3827
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3828
|
+
"$ xano workflow-test delete 1 --force"
|
|
3784
3829
|
],
|
|
3785
3830
|
"flags": {
|
|
3786
3831
|
"profile": {
|
|
@@ -3802,9 +3847,10 @@
|
|
|
3802
3847
|
"allowNo": false,
|
|
3803
3848
|
"type": "boolean"
|
|
3804
3849
|
},
|
|
3805
|
-
"
|
|
3806
|
-
"
|
|
3807
|
-
"
|
|
3850
|
+
"force": {
|
|
3851
|
+
"char": "f",
|
|
3852
|
+
"description": "Skip confirmation prompt",
|
|
3853
|
+
"name": "force",
|
|
3808
3854
|
"required": false,
|
|
3809
3855
|
"allowNo": false,
|
|
3810
3856
|
"type": "boolean"
|
|
@@ -3819,8 +3865,7 @@
|
|
|
3819
3865
|
"multiple": false,
|
|
3820
3866
|
"options": [
|
|
3821
3867
|
"summary",
|
|
3822
|
-
"json"
|
|
3823
|
-
"xs"
|
|
3868
|
+
"json"
|
|
3824
3869
|
],
|
|
3825
3870
|
"type": "option"
|
|
3826
3871
|
},
|
|
@@ -3836,7 +3881,7 @@
|
|
|
3836
3881
|
},
|
|
3837
3882
|
"hasDynamicHelp": false,
|
|
3838
3883
|
"hiddenAliases": [],
|
|
3839
|
-
"id": "workflow_test:
|
|
3884
|
+
"id": "workflow_test:delete",
|
|
3840
3885
|
"pluginAlias": "@xano/cli",
|
|
3841
3886
|
"pluginName": "@xano/cli",
|
|
3842
3887
|
"pluginType": "core",
|
|
@@ -3847,18 +3892,24 @@
|
|
|
3847
3892
|
"dist",
|
|
3848
3893
|
"commands",
|
|
3849
3894
|
"workflow_test",
|
|
3850
|
-
"
|
|
3895
|
+
"delete",
|
|
3851
3896
|
"index.js"
|
|
3852
3897
|
]
|
|
3853
3898
|
},
|
|
3854
|
-
"workflow_test:
|
|
3899
|
+
"workflow_test:get": {
|
|
3855
3900
|
"aliases": [],
|
|
3856
|
-
"args": {
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3901
|
+
"args": {
|
|
3902
|
+
"workflow_test_id": {
|
|
3903
|
+
"description": "ID of the workflow test",
|
|
3904
|
+
"name": "workflow_test_id",
|
|
3905
|
+
"required": true
|
|
3906
|
+
}
|
|
3907
|
+
},
|
|
3908
|
+
"description": "Get a specific workflow test",
|
|
3909
|
+
"examples": [
|
|
3910
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3911
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3912
|
+
"$ xano workflow-test get 1 -o json"
|
|
3862
3913
|
],
|
|
3863
3914
|
"flags": {
|
|
3864
3915
|
"profile": {
|
|
@@ -3880,14 +3931,12 @@
|
|
|
3880
3931
|
"allowNo": false,
|
|
3881
3932
|
"type": "boolean"
|
|
3882
3933
|
},
|
|
3883
|
-
"
|
|
3884
|
-
"
|
|
3885
|
-
"
|
|
3886
|
-
"name": "branch",
|
|
3934
|
+
"include-draft": {
|
|
3935
|
+
"description": "Include draft version",
|
|
3936
|
+
"name": "include-draft",
|
|
3887
3937
|
"required": false,
|
|
3888
|
-
"
|
|
3889
|
-
"
|
|
3890
|
-
"type": "option"
|
|
3938
|
+
"allowNo": false,
|
|
3939
|
+
"type": "boolean"
|
|
3891
3940
|
},
|
|
3892
3941
|
"output": {
|
|
3893
3942
|
"char": "o",
|
|
@@ -3899,7 +3948,8 @@
|
|
|
3899
3948
|
"multiple": false,
|
|
3900
3949
|
"options": [
|
|
3901
3950
|
"summary",
|
|
3902
|
-
"json"
|
|
3951
|
+
"json",
|
|
3952
|
+
"xs"
|
|
3903
3953
|
],
|
|
3904
3954
|
"type": "option"
|
|
3905
3955
|
},
|
|
@@ -3915,7 +3965,7 @@
|
|
|
3915
3965
|
},
|
|
3916
3966
|
"hasDynamicHelp": false,
|
|
3917
3967
|
"hiddenAliases": [],
|
|
3918
|
-
"id": "workflow_test:
|
|
3968
|
+
"id": "workflow_test:get",
|
|
3919
3969
|
"pluginAlias": "@xano/cli",
|
|
3920
3970
|
"pluginName": "@xano/cli",
|
|
3921
3971
|
"pluginType": "core",
|
|
@@ -3926,7 +3976,7 @@
|
|
|
3926
3976
|
"dist",
|
|
3927
3977
|
"commands",
|
|
3928
3978
|
"workflow_test",
|
|
3929
|
-
"
|
|
3979
|
+
"get",
|
|
3930
3980
|
"index.js"
|
|
3931
3981
|
]
|
|
3932
3982
|
},
|
|
@@ -4005,19 +4055,13 @@
|
|
|
4005
4055
|
"index.js"
|
|
4006
4056
|
]
|
|
4007
4057
|
},
|
|
4008
|
-
"
|
|
4058
|
+
"workflow_test:run_all": {
|
|
4009
4059
|
"aliases": [],
|
|
4010
|
-
"args": {
|
|
4011
|
-
|
|
4012
|
-
"description": "Tenant name to edit",
|
|
4013
|
-
"name": "tenant_name",
|
|
4014
|
-
"required": true
|
|
4015
|
-
}
|
|
4016
|
-
},
|
|
4017
|
-
"description": "Edit an existing tenant",
|
|
4060
|
+
"args": {},
|
|
4061
|
+
"description": "Run all workflow tests in a workspace",
|
|
4018
4062
|
"examples": [
|
|
4019
|
-
"$ xano
|
|
4020
|
-
"$ xano
|
|
4063
|
+
"$ 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",
|
|
4064
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4021
4065
|
],
|
|
4022
4066
|
"flags": {
|
|
4023
4067
|
"profile": {
|
|
@@ -4039,38 +4083,15 @@
|
|
|
4039
4083
|
"allowNo": false,
|
|
4040
4084
|
"type": "boolean"
|
|
4041
4085
|
},
|
|
4042
|
-
"
|
|
4043
|
-
"char": "
|
|
4044
|
-
"description": "
|
|
4045
|
-
"name": "
|
|
4046
|
-
"required": false,
|
|
4047
|
-
"hasDynamicHelp": false,
|
|
4048
|
-
"multiple": false,
|
|
4049
|
-
"type": "option"
|
|
4050
|
-
},
|
|
4051
|
-
"display": {
|
|
4052
|
-
"description": "New display name",
|
|
4053
|
-
"name": "display",
|
|
4054
|
-
"required": false,
|
|
4055
|
-
"hasDynamicHelp": false,
|
|
4056
|
-
"multiple": false,
|
|
4057
|
-
"type": "option"
|
|
4058
|
-
},
|
|
4059
|
-
"domain": {
|
|
4060
|
-
"description": "Custom domain",
|
|
4061
|
-
"name": "domain",
|
|
4086
|
+
"branch": {
|
|
4087
|
+
"char": "b",
|
|
4088
|
+
"description": "Filter by branch name",
|
|
4089
|
+
"name": "branch",
|
|
4062
4090
|
"required": false,
|
|
4063
4091
|
"hasDynamicHelp": false,
|
|
4064
4092
|
"multiple": false,
|
|
4065
4093
|
"type": "option"
|
|
4066
4094
|
},
|
|
4067
|
-
"ingress": {
|
|
4068
|
-
"description": "Enable/disable ingress",
|
|
4069
|
-
"name": "ingress",
|
|
4070
|
-
"required": false,
|
|
4071
|
-
"allowNo": true,
|
|
4072
|
-
"type": "boolean"
|
|
4073
|
-
},
|
|
4074
4095
|
"output": {
|
|
4075
4096
|
"char": "o",
|
|
4076
4097
|
"description": "Output format",
|
|
@@ -4085,28 +4106,6 @@
|
|
|
4085
4106
|
],
|
|
4086
4107
|
"type": "option"
|
|
4087
4108
|
},
|
|
4088
|
-
"proxy": {
|
|
4089
|
-
"description": "Proxy URL",
|
|
4090
|
-
"name": "proxy",
|
|
4091
|
-
"required": false,
|
|
4092
|
-
"hasDynamicHelp": false,
|
|
4093
|
-
"multiple": false,
|
|
4094
|
-
"type": "option"
|
|
4095
|
-
},
|
|
4096
|
-
"rbac": {
|
|
4097
|
-
"description": "Enable/disable RBAC",
|
|
4098
|
-
"name": "rbac",
|
|
4099
|
-
"required": false,
|
|
4100
|
-
"allowNo": true,
|
|
4101
|
-
"type": "boolean"
|
|
4102
|
-
},
|
|
4103
|
-
"tasks": {
|
|
4104
|
-
"description": "Enable/disable background tasks",
|
|
4105
|
-
"name": "tasks",
|
|
4106
|
-
"required": false,
|
|
4107
|
-
"allowNo": true,
|
|
4108
|
-
"type": "boolean"
|
|
4109
|
-
},
|
|
4110
4109
|
"workspace": {
|
|
4111
4110
|
"char": "w",
|
|
4112
4111
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -4119,7 +4118,7 @@
|
|
|
4119
4118
|
},
|
|
4120
4119
|
"hasDynamicHelp": false,
|
|
4121
4120
|
"hiddenAliases": [],
|
|
4122
|
-
"id": "
|
|
4121
|
+
"id": "workflow_test:run_all",
|
|
4123
4122
|
"pluginAlias": "@xano/cli",
|
|
4124
4123
|
"pluginName": "@xano/cli",
|
|
4125
4124
|
"pluginType": "core",
|
|
@@ -4129,18 +4128,19 @@
|
|
|
4129
4128
|
"relativePath": [
|
|
4130
4129
|
"dist",
|
|
4131
4130
|
"commands",
|
|
4132
|
-
"
|
|
4133
|
-
"
|
|
4131
|
+
"workflow_test",
|
|
4132
|
+
"run_all",
|
|
4134
4133
|
"index.js"
|
|
4135
4134
|
]
|
|
4136
4135
|
},
|
|
4137
|
-
"workflow_test:
|
|
4136
|
+
"workflow_test:list": {
|
|
4138
4137
|
"aliases": [],
|
|
4139
4138
|
"args": {},
|
|
4140
|
-
"description": "
|
|
4139
|
+
"description": "List all workflow tests in a workspace",
|
|
4141
4140
|
"examples": [
|
|
4142
|
-
"$ xano workflow-test
|
|
4143
|
-
"$ xano workflow-test
|
|
4141
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4142
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4143
|
+
"$ xano workflow-test list --branch main"
|
|
4144
4144
|
],
|
|
4145
4145
|
"flags": {
|
|
4146
4146
|
"profile": {
|
|
@@ -4197,7 +4197,7 @@
|
|
|
4197
4197
|
},
|
|
4198
4198
|
"hasDynamicHelp": false,
|
|
4199
4199
|
"hiddenAliases": [],
|
|
4200
|
-
"id": "workflow_test:
|
|
4200
|
+
"id": "workflow_test:list",
|
|
4201
4201
|
"pluginAlias": "@xano/cli",
|
|
4202
4202
|
"pluginName": "@xano/cli",
|
|
4203
4203
|
"pluginType": "core",
|
|
@@ -4208,24 +4208,24 @@
|
|
|
4208
4208
|
"dist",
|
|
4209
4209
|
"commands",
|
|
4210
4210
|
"workflow_test",
|
|
4211
|
-
"
|
|
4211
|
+
"list",
|
|
4212
4212
|
"index.js"
|
|
4213
4213
|
]
|
|
4214
4214
|
},
|
|
4215
|
-
"workspace:
|
|
4215
|
+
"workspace:get": {
|
|
4216
4216
|
"aliases": [],
|
|
4217
4217
|
"args": {
|
|
4218
|
-
"
|
|
4219
|
-
"description": "
|
|
4220
|
-
"name": "
|
|
4221
|
-
"required":
|
|
4218
|
+
"workspace_id": {
|
|
4219
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4220
|
+
"name": "workspace_id",
|
|
4221
|
+
"required": false
|
|
4222
4222
|
}
|
|
4223
4223
|
},
|
|
4224
|
-
"description": "
|
|
4224
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4225
4225
|
"examples": [
|
|
4226
|
-
"$ xano workspace
|
|
4227
|
-
"$ xano workspace
|
|
4228
|
-
"$ xano workspace
|
|
4226
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4227
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4228
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4229
4229
|
],
|
|
4230
4230
|
"flags": {
|
|
4231
4231
|
"profile": {
|
|
@@ -4247,15 +4247,6 @@
|
|
|
4247
4247
|
"allowNo": false,
|
|
4248
4248
|
"type": "boolean"
|
|
4249
4249
|
},
|
|
4250
|
-
"description": {
|
|
4251
|
-
"char": "d",
|
|
4252
|
-
"description": "Description for the workspace",
|
|
4253
|
-
"name": "description",
|
|
4254
|
-
"required": false,
|
|
4255
|
-
"hasDynamicHelp": false,
|
|
4256
|
-
"multiple": false,
|
|
4257
|
-
"type": "option"
|
|
4258
|
-
},
|
|
4259
4250
|
"output": {
|
|
4260
4251
|
"char": "o",
|
|
4261
4252
|
"description": "Output format",
|
|
@@ -4273,7 +4264,7 @@
|
|
|
4273
4264
|
},
|
|
4274
4265
|
"hasDynamicHelp": false,
|
|
4275
4266
|
"hiddenAliases": [],
|
|
4276
|
-
"id": "workspace:
|
|
4267
|
+
"id": "workspace:get",
|
|
4277
4268
|
"pluginAlias": "@xano/cli",
|
|
4278
4269
|
"pluginName": "@xano/cli",
|
|
4279
4270
|
"pluginType": "core",
|
|
@@ -4284,24 +4275,24 @@
|
|
|
4284
4275
|
"dist",
|
|
4285
4276
|
"commands",
|
|
4286
4277
|
"workspace",
|
|
4287
|
-
"
|
|
4278
|
+
"get",
|
|
4288
4279
|
"index.js"
|
|
4289
4280
|
]
|
|
4290
4281
|
},
|
|
4291
|
-
"workspace:
|
|
4282
|
+
"workspace:create": {
|
|
4292
4283
|
"aliases": [],
|
|
4293
4284
|
"args": {
|
|
4294
|
-
"
|
|
4295
|
-
"description": "
|
|
4296
|
-
"name": "
|
|
4285
|
+
"name": {
|
|
4286
|
+
"description": "Name of the workspace",
|
|
4287
|
+
"name": "name",
|
|
4297
4288
|
"required": true
|
|
4298
4289
|
}
|
|
4299
4290
|
},
|
|
4300
|
-
"description": "
|
|
4291
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4301
4292
|
"examples": [
|
|
4302
|
-
"$ xano workspace
|
|
4303
|
-
"$ xano workspace
|
|
4304
|
-
"$ xano workspace
|
|
4293
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4294
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4295
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4305
4296
|
],
|
|
4306
4297
|
"flags": {
|
|
4307
4298
|
"profile": {
|
|
@@ -4323,13 +4314,14 @@
|
|
|
4323
4314
|
"allowNo": false,
|
|
4324
4315
|
"type": "boolean"
|
|
4325
4316
|
},
|
|
4326
|
-
"
|
|
4327
|
-
"char": "
|
|
4328
|
-
"description": "
|
|
4329
|
-
"name": "
|
|
4317
|
+
"description": {
|
|
4318
|
+
"char": "d",
|
|
4319
|
+
"description": "Description for the workspace",
|
|
4320
|
+
"name": "description",
|
|
4330
4321
|
"required": false,
|
|
4331
|
-
"
|
|
4332
|
-
"
|
|
4322
|
+
"hasDynamicHelp": false,
|
|
4323
|
+
"multiple": false,
|
|
4324
|
+
"type": "option"
|
|
4333
4325
|
},
|
|
4334
4326
|
"output": {
|
|
4335
4327
|
"char": "o",
|
|
@@ -4348,7 +4340,7 @@
|
|
|
4348
4340
|
},
|
|
4349
4341
|
"hasDynamicHelp": false,
|
|
4350
4342
|
"hiddenAliases": [],
|
|
4351
|
-
"id": "workspace:
|
|
4343
|
+
"id": "workspace:create",
|
|
4352
4344
|
"pluginAlias": "@xano/cli",
|
|
4353
4345
|
"pluginName": "@xano/cli",
|
|
4354
4346
|
"pluginType": "core",
|
|
@@ -4359,24 +4351,24 @@
|
|
|
4359
4351
|
"dist",
|
|
4360
4352
|
"commands",
|
|
4361
4353
|
"workspace",
|
|
4362
|
-
"
|
|
4354
|
+
"create",
|
|
4363
4355
|
"index.js"
|
|
4364
4356
|
]
|
|
4365
4357
|
},
|
|
4366
|
-
"workspace:
|
|
4358
|
+
"workspace:delete": {
|
|
4367
4359
|
"aliases": [],
|
|
4368
4360
|
"args": {
|
|
4369
4361
|
"workspace_id": {
|
|
4370
|
-
"description": "Workspace ID to
|
|
4362
|
+
"description": "Workspace ID to delete",
|
|
4371
4363
|
"name": "workspace_id",
|
|
4372
|
-
"required":
|
|
4364
|
+
"required": true
|
|
4373
4365
|
}
|
|
4374
4366
|
},
|
|
4375
|
-
"description": "
|
|
4367
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4376
4368
|
"examples": [
|
|
4377
|
-
"$ xano workspace
|
|
4378
|
-
"$ xano workspace
|
|
4379
|
-
"$ xano workspace
|
|
4369
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4370
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4371
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4380
4372
|
],
|
|
4381
4373
|
"flags": {
|
|
4382
4374
|
"profile": {
|
|
@@ -4398,6 +4390,14 @@
|
|
|
4398
4390
|
"allowNo": false,
|
|
4399
4391
|
"type": "boolean"
|
|
4400
4392
|
},
|
|
4393
|
+
"force": {
|
|
4394
|
+
"char": "f",
|
|
4395
|
+
"description": "Skip confirmation prompt",
|
|
4396
|
+
"name": "force",
|
|
4397
|
+
"required": false,
|
|
4398
|
+
"allowNo": false,
|
|
4399
|
+
"type": "boolean"
|
|
4400
|
+
},
|
|
4401
4401
|
"output": {
|
|
4402
4402
|
"char": "o",
|
|
4403
4403
|
"description": "Output format",
|
|
@@ -4415,7 +4415,7 @@
|
|
|
4415
4415
|
},
|
|
4416
4416
|
"hasDynamicHelp": false,
|
|
4417
4417
|
"hiddenAliases": [],
|
|
4418
|
-
"id": "workspace:
|
|
4418
|
+
"id": "workspace:delete",
|
|
4419
4419
|
"pluginAlias": "@xano/cli",
|
|
4420
4420
|
"pluginName": "@xano/cli",
|
|
4421
4421
|
"pluginType": "core",
|
|
@@ -4426,19 +4426,25 @@
|
|
|
4426
4426
|
"dist",
|
|
4427
4427
|
"commands",
|
|
4428
4428
|
"workspace",
|
|
4429
|
-
"
|
|
4429
|
+
"delete",
|
|
4430
4430
|
"index.js"
|
|
4431
4431
|
]
|
|
4432
4432
|
},
|
|
4433
|
-
"workspace:
|
|
4433
|
+
"workspace:edit": {
|
|
4434
4434
|
"aliases": [],
|
|
4435
|
-
"args": {
|
|
4436
|
-
|
|
4435
|
+
"args": {
|
|
4436
|
+
"workspace_id": {
|
|
4437
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4438
|
+
"name": "workspace_id",
|
|
4439
|
+
"required": false
|
|
4440
|
+
}
|
|
4441
|
+
},
|
|
4442
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4437
4443
|
"examples": [
|
|
4438
|
-
"$ xano workspace
|
|
4439
|
-
"$ xano workspace
|
|
4440
|
-
"$ xano workspace
|
|
4441
|
-
"$ xano workspace
|
|
4444
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4445
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4446
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4447
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4442
4448
|
],
|
|
4443
4449
|
"flags": {
|
|
4444
4450
|
"profile": {
|
|
@@ -4460,6 +4466,24 @@
|
|
|
4460
4466
|
"allowNo": false,
|
|
4461
4467
|
"type": "boolean"
|
|
4462
4468
|
},
|
|
4469
|
+
"description": {
|
|
4470
|
+
"char": "d",
|
|
4471
|
+
"description": "New description for the workspace",
|
|
4472
|
+
"name": "description",
|
|
4473
|
+
"required": false,
|
|
4474
|
+
"hasDynamicHelp": false,
|
|
4475
|
+
"multiple": false,
|
|
4476
|
+
"type": "option"
|
|
4477
|
+
},
|
|
4478
|
+
"name": {
|
|
4479
|
+
"char": "n",
|
|
4480
|
+
"description": "New name for the workspace",
|
|
4481
|
+
"name": "name",
|
|
4482
|
+
"required": false,
|
|
4483
|
+
"hasDynamicHelp": false,
|
|
4484
|
+
"multiple": false,
|
|
4485
|
+
"type": "option"
|
|
4486
|
+
},
|
|
4463
4487
|
"output": {
|
|
4464
4488
|
"char": "o",
|
|
4465
4489
|
"description": "Output format",
|
|
@@ -4473,11 +4497,25 @@
|
|
|
4473
4497
|
"json"
|
|
4474
4498
|
],
|
|
4475
4499
|
"type": "option"
|
|
4500
|
+
},
|
|
4501
|
+
"require-token": {
|
|
4502
|
+
"description": "Whether to require a token for documentation access",
|
|
4503
|
+
"name": "require-token",
|
|
4504
|
+
"required": false,
|
|
4505
|
+
"allowNo": true,
|
|
4506
|
+
"type": "boolean"
|
|
4507
|
+
},
|
|
4508
|
+
"swagger": {
|
|
4509
|
+
"description": "Enable or disable swagger documentation",
|
|
4510
|
+
"name": "swagger",
|
|
4511
|
+
"required": false,
|
|
4512
|
+
"allowNo": true,
|
|
4513
|
+
"type": "boolean"
|
|
4476
4514
|
}
|
|
4477
4515
|
},
|
|
4478
4516
|
"hasDynamicHelp": false,
|
|
4479
4517
|
"hiddenAliases": [],
|
|
4480
|
-
"id": "workspace:
|
|
4518
|
+
"id": "workspace:edit",
|
|
4481
4519
|
"pluginAlias": "@xano/cli",
|
|
4482
4520
|
"pluginName": "@xano/cli",
|
|
4483
4521
|
"pluginType": "core",
|
|
@@ -4488,25 +4526,19 @@
|
|
|
4488
4526
|
"dist",
|
|
4489
4527
|
"commands",
|
|
4490
4528
|
"workspace",
|
|
4491
|
-
"
|
|
4529
|
+
"edit",
|
|
4492
4530
|
"index.js"
|
|
4493
4531
|
]
|
|
4494
4532
|
},
|
|
4495
|
-
"workspace:
|
|
4533
|
+
"workspace:list": {
|
|
4496
4534
|
"aliases": [],
|
|
4497
|
-
"args": {
|
|
4498
|
-
|
|
4499
|
-
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4500
|
-
"name": "workspace_id",
|
|
4501
|
-
"required": false
|
|
4502
|
-
}
|
|
4503
|
-
},
|
|
4504
|
-
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4535
|
+
"args": {},
|
|
4536
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
4505
4537
|
"examples": [
|
|
4506
|
-
"$ xano workspace
|
|
4507
|
-
"$ xano workspace
|
|
4508
|
-
"$ xano workspace
|
|
4509
|
-
"$ xano workspace
|
|
4538
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
4539
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
4540
|
+
"$ 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",
|
|
4541
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
4510
4542
|
],
|
|
4511
4543
|
"flags": {
|
|
4512
4544
|
"profile": {
|
|
@@ -4528,24 +4560,6 @@
|
|
|
4528
4560
|
"allowNo": false,
|
|
4529
4561
|
"type": "boolean"
|
|
4530
4562
|
},
|
|
4531
|
-
"description": {
|
|
4532
|
-
"char": "d",
|
|
4533
|
-
"description": "New description for the workspace",
|
|
4534
|
-
"name": "description",
|
|
4535
|
-
"required": false,
|
|
4536
|
-
"hasDynamicHelp": false,
|
|
4537
|
-
"multiple": false,
|
|
4538
|
-
"type": "option"
|
|
4539
|
-
},
|
|
4540
|
-
"name": {
|
|
4541
|
-
"char": "n",
|
|
4542
|
-
"description": "New name for the workspace",
|
|
4543
|
-
"name": "name",
|
|
4544
|
-
"required": false,
|
|
4545
|
-
"hasDynamicHelp": false,
|
|
4546
|
-
"multiple": false,
|
|
4547
|
-
"type": "option"
|
|
4548
|
-
},
|
|
4549
4563
|
"output": {
|
|
4550
4564
|
"char": "o",
|
|
4551
4565
|
"description": "Output format",
|
|
@@ -4559,25 +4573,11 @@
|
|
|
4559
4573
|
"json"
|
|
4560
4574
|
],
|
|
4561
4575
|
"type": "option"
|
|
4562
|
-
},
|
|
4563
|
-
"require-token": {
|
|
4564
|
-
"description": "Whether to require a token for documentation access",
|
|
4565
|
-
"name": "require-token",
|
|
4566
|
-
"required": false,
|
|
4567
|
-
"allowNo": true,
|
|
4568
|
-
"type": "boolean"
|
|
4569
|
-
},
|
|
4570
|
-
"swagger": {
|
|
4571
|
-
"description": "Enable or disable swagger documentation",
|
|
4572
|
-
"name": "swagger",
|
|
4573
|
-
"required": false,
|
|
4574
|
-
"allowNo": true,
|
|
4575
|
-
"type": "boolean"
|
|
4576
4576
|
}
|
|
4577
4577
|
},
|
|
4578
4578
|
"hasDynamicHelp": false,
|
|
4579
4579
|
"hiddenAliases": [],
|
|
4580
|
-
"id": "workspace:
|
|
4580
|
+
"id": "workspace:list",
|
|
4581
4581
|
"pluginAlias": "@xano/cli",
|
|
4582
4582
|
"pluginName": "@xano/cli",
|
|
4583
4583
|
"pluginType": "core",
|
|
@@ -4588,7 +4588,7 @@
|
|
|
4588
4588
|
"dist",
|
|
4589
4589
|
"commands",
|
|
4590
4590
|
"workspace",
|
|
4591
|
-
"
|
|
4591
|
+
"list",
|
|
4592
4592
|
"index.js"
|
|
4593
4593
|
]
|
|
4594
4594
|
},
|
|
@@ -4850,6 +4850,53 @@
|
|
|
4850
4850
|
"index.js"
|
|
4851
4851
|
]
|
|
4852
4852
|
},
|
|
4853
|
+
"profile:workspace:set": {
|
|
4854
|
+
"aliases": [],
|
|
4855
|
+
"args": {},
|
|
4856
|
+
"description": "Interactively select a workspace for a profile",
|
|
4857
|
+
"examples": [
|
|
4858
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
4859
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
4860
|
+
],
|
|
4861
|
+
"flags": {
|
|
4862
|
+
"profile": {
|
|
4863
|
+
"char": "p",
|
|
4864
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4865
|
+
"env": "XANO_PROFILE",
|
|
4866
|
+
"name": "profile",
|
|
4867
|
+
"required": false,
|
|
4868
|
+
"hasDynamicHelp": false,
|
|
4869
|
+
"multiple": false,
|
|
4870
|
+
"type": "option"
|
|
4871
|
+
},
|
|
4872
|
+
"verbose": {
|
|
4873
|
+
"char": "v",
|
|
4874
|
+
"description": "Show detailed request/response information",
|
|
4875
|
+
"env": "XANO_VERBOSE",
|
|
4876
|
+
"name": "verbose",
|
|
4877
|
+
"required": false,
|
|
4878
|
+
"allowNo": false,
|
|
4879
|
+
"type": "boolean"
|
|
4880
|
+
}
|
|
4881
|
+
},
|
|
4882
|
+
"hasDynamicHelp": false,
|
|
4883
|
+
"hiddenAliases": [],
|
|
4884
|
+
"id": "profile:workspace:set",
|
|
4885
|
+
"pluginAlias": "@xano/cli",
|
|
4886
|
+
"pluginName": "@xano/cli",
|
|
4887
|
+
"pluginType": "core",
|
|
4888
|
+
"strict": true,
|
|
4889
|
+
"enableJsonFlag": false,
|
|
4890
|
+
"isESM": true,
|
|
4891
|
+
"relativePath": [
|
|
4892
|
+
"dist",
|
|
4893
|
+
"commands",
|
|
4894
|
+
"profile",
|
|
4895
|
+
"workspace",
|
|
4896
|
+
"set",
|
|
4897
|
+
"index.js"
|
|
4898
|
+
]
|
|
4899
|
+
},
|
|
4853
4900
|
"static_host:build:create": {
|
|
4854
4901
|
"aliases": [],
|
|
4855
4902
|
"args": {
|
|
@@ -5087,160 +5134,27 @@
|
|
|
5087
5134
|
],
|
|
5088
5135
|
"type": "option"
|
|
5089
5136
|
},
|
|
5090
|
-
"page": {
|
|
5091
|
-
"description": "Page number for pagination",
|
|
5092
|
-
"name": "page",
|
|
5093
|
-
"required": false,
|
|
5094
|
-
"default": 1,
|
|
5095
|
-
"hasDynamicHelp": false,
|
|
5096
|
-
"multiple": false,
|
|
5097
|
-
"type": "option"
|
|
5098
|
-
},
|
|
5099
|
-
"per_page": {
|
|
5100
|
-
"description": "Number of results per page",
|
|
5101
|
-
"name": "per_page",
|
|
5102
|
-
"required": false,
|
|
5103
|
-
"default": 50,
|
|
5104
|
-
"hasDynamicHelp": false,
|
|
5105
|
-
"multiple": false,
|
|
5106
|
-
"type": "option"
|
|
5107
|
-
},
|
|
5108
|
-
"workspace": {
|
|
5109
|
-
"char": "w",
|
|
5110
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
5111
|
-
"name": "workspace",
|
|
5112
|
-
"required": false,
|
|
5113
|
-
"hasDynamicHelp": false,
|
|
5114
|
-
"multiple": false,
|
|
5115
|
-
"type": "option"
|
|
5116
|
-
}
|
|
5117
|
-
},
|
|
5118
|
-
"hasDynamicHelp": false,
|
|
5119
|
-
"hiddenAliases": [],
|
|
5120
|
-
"id": "static_host:build:list",
|
|
5121
|
-
"pluginAlias": "@xano/cli",
|
|
5122
|
-
"pluginName": "@xano/cli",
|
|
5123
|
-
"pluginType": "core",
|
|
5124
|
-
"strict": true,
|
|
5125
|
-
"enableJsonFlag": false,
|
|
5126
|
-
"isESM": true,
|
|
5127
|
-
"relativePath": [
|
|
5128
|
-
"dist",
|
|
5129
|
-
"commands",
|
|
5130
|
-
"static_host",
|
|
5131
|
-
"build",
|
|
5132
|
-
"list",
|
|
5133
|
-
"index.js"
|
|
5134
|
-
]
|
|
5135
|
-
},
|
|
5136
|
-
"profile:workspace:set": {
|
|
5137
|
-
"aliases": [],
|
|
5138
|
-
"args": {},
|
|
5139
|
-
"description": "Interactively select a workspace for a profile",
|
|
5140
|
-
"examples": [
|
|
5141
|
-
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
5142
|
-
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
5143
|
-
],
|
|
5144
|
-
"flags": {
|
|
5145
|
-
"profile": {
|
|
5146
|
-
"char": "p",
|
|
5147
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5148
|
-
"env": "XANO_PROFILE",
|
|
5149
|
-
"name": "profile",
|
|
5150
|
-
"required": false,
|
|
5151
|
-
"hasDynamicHelp": false,
|
|
5152
|
-
"multiple": false,
|
|
5153
|
-
"type": "option"
|
|
5154
|
-
},
|
|
5155
|
-
"verbose": {
|
|
5156
|
-
"char": "v",
|
|
5157
|
-
"description": "Show detailed request/response information",
|
|
5158
|
-
"env": "XANO_VERBOSE",
|
|
5159
|
-
"name": "verbose",
|
|
5160
|
-
"required": false,
|
|
5161
|
-
"allowNo": false,
|
|
5162
|
-
"type": "boolean"
|
|
5163
|
-
}
|
|
5164
|
-
},
|
|
5165
|
-
"hasDynamicHelp": false,
|
|
5166
|
-
"hiddenAliases": [],
|
|
5167
|
-
"id": "profile:workspace:set",
|
|
5168
|
-
"pluginAlias": "@xano/cli",
|
|
5169
|
-
"pluginName": "@xano/cli",
|
|
5170
|
-
"pluginType": "core",
|
|
5171
|
-
"strict": true,
|
|
5172
|
-
"enableJsonFlag": false,
|
|
5173
|
-
"isESM": true,
|
|
5174
|
-
"relativePath": [
|
|
5175
|
-
"dist",
|
|
5176
|
-
"commands",
|
|
5177
|
-
"profile",
|
|
5178
|
-
"workspace",
|
|
5179
|
-
"set",
|
|
5180
|
-
"index.js"
|
|
5181
|
-
]
|
|
5182
|
-
},
|
|
5183
|
-
"tenant:backup:create": {
|
|
5184
|
-
"aliases": [],
|
|
5185
|
-
"args": {
|
|
5186
|
-
"tenant_name": {
|
|
5187
|
-
"description": "Tenant name to back up",
|
|
5188
|
-
"name": "tenant_name",
|
|
5189
|
-
"required": true
|
|
5190
|
-
}
|
|
5191
|
-
},
|
|
5192
|
-
"description": "Create a backup for a tenant",
|
|
5193
|
-
"examples": [
|
|
5194
|
-
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5195
|
-
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5196
|
-
],
|
|
5197
|
-
"flags": {
|
|
5198
|
-
"profile": {
|
|
5199
|
-
"char": "p",
|
|
5200
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
5201
|
-
"env": "XANO_PROFILE",
|
|
5202
|
-
"name": "profile",
|
|
5203
|
-
"required": false,
|
|
5204
|
-
"hasDynamicHelp": false,
|
|
5205
|
-
"multiple": false,
|
|
5206
|
-
"type": "option"
|
|
5207
|
-
},
|
|
5208
|
-
"verbose": {
|
|
5209
|
-
"char": "v",
|
|
5210
|
-
"description": "Show detailed request/response information",
|
|
5211
|
-
"env": "XANO_VERBOSE",
|
|
5212
|
-
"name": "verbose",
|
|
5213
|
-
"required": false,
|
|
5214
|
-
"allowNo": false,
|
|
5215
|
-
"type": "boolean"
|
|
5216
|
-
},
|
|
5217
|
-
"description": {
|
|
5218
|
-
"char": "d",
|
|
5219
|
-
"description": "Backup description",
|
|
5220
|
-
"name": "description",
|
|
5221
|
-
"required": false,
|
|
5222
|
-
"default": "",
|
|
5223
|
-
"hasDynamicHelp": false,
|
|
5224
|
-
"multiple": false,
|
|
5225
|
-
"type": "option"
|
|
5226
|
-
},
|
|
5227
|
-
"output": {
|
|
5228
|
-
"char": "o",
|
|
5229
|
-
"description": "Output format",
|
|
5230
|
-
"name": "output",
|
|
5231
|
-
"required": false,
|
|
5232
|
-
"default": "summary",
|
|
5233
|
-
"hasDynamicHelp": false,
|
|
5234
|
-
"multiple": false,
|
|
5235
|
-
"options": [
|
|
5236
|
-
"summary",
|
|
5237
|
-
"json"
|
|
5238
|
-
],
|
|
5239
|
-
"type": "option"
|
|
5240
|
-
},
|
|
5137
|
+
"page": {
|
|
5138
|
+
"description": "Page number for pagination",
|
|
5139
|
+
"name": "page",
|
|
5140
|
+
"required": false,
|
|
5141
|
+
"default": 1,
|
|
5142
|
+
"hasDynamicHelp": false,
|
|
5143
|
+
"multiple": false,
|
|
5144
|
+
"type": "option"
|
|
5145
|
+
},
|
|
5146
|
+
"per_page": {
|
|
5147
|
+
"description": "Number of results per page",
|
|
5148
|
+
"name": "per_page",
|
|
5149
|
+
"required": false,
|
|
5150
|
+
"default": 50,
|
|
5151
|
+
"hasDynamicHelp": false,
|
|
5152
|
+
"multiple": false,
|
|
5153
|
+
"type": "option"
|
|
5154
|
+
},
|
|
5241
5155
|
"workspace": {
|
|
5242
5156
|
"char": "w",
|
|
5243
|
-
"description": "Workspace ID (
|
|
5157
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5244
5158
|
"name": "workspace",
|
|
5245
5159
|
"required": false,
|
|
5246
5160
|
"hasDynamicHelp": false,
|
|
@@ -5250,7 +5164,7 @@
|
|
|
5250
5164
|
},
|
|
5251
5165
|
"hasDynamicHelp": false,
|
|
5252
5166
|
"hiddenAliases": [],
|
|
5253
|
-
"id": "
|
|
5167
|
+
"id": "static_host:build:list",
|
|
5254
5168
|
"pluginAlias": "@xano/cli",
|
|
5255
5169
|
"pluginName": "@xano/cli",
|
|
5256
5170
|
"pluginType": "core",
|
|
@@ -5260,9 +5174,9 @@
|
|
|
5260
5174
|
"relativePath": [
|
|
5261
5175
|
"dist",
|
|
5262
5176
|
"commands",
|
|
5263
|
-
"
|
|
5264
|
-
"
|
|
5265
|
-
"
|
|
5177
|
+
"static_host",
|
|
5178
|
+
"build",
|
|
5179
|
+
"list",
|
|
5266
5180
|
"index.js"
|
|
5267
5181
|
]
|
|
5268
5182
|
},
|
|
@@ -5359,19 +5273,20 @@
|
|
|
5359
5273
|
"index.js"
|
|
5360
5274
|
]
|
|
5361
5275
|
},
|
|
5362
|
-
"tenant:backup:
|
|
5276
|
+
"tenant:backup:export": {
|
|
5363
5277
|
"aliases": [],
|
|
5364
5278
|
"args": {
|
|
5365
5279
|
"tenant_name": {
|
|
5366
|
-
"description": "Tenant name to
|
|
5280
|
+
"description": "Tenant name to export backup from",
|
|
5367
5281
|
"name": "tenant_name",
|
|
5368
5282
|
"required": true
|
|
5369
5283
|
}
|
|
5370
5284
|
},
|
|
5371
|
-
"description": "
|
|
5285
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5372
5286
|
"examples": [
|
|
5373
|
-
"$ xano tenant backup
|
|
5374
|
-
"$ xano tenant backup
|
|
5287
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5288
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5289
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5375
5290
|
],
|
|
5376
5291
|
"flags": {
|
|
5377
5292
|
"profile": {
|
|
@@ -5393,29 +5308,18 @@
|
|
|
5393
5308
|
"allowNo": false,
|
|
5394
5309
|
"type": "boolean"
|
|
5395
5310
|
},
|
|
5396
|
-
"
|
|
5397
|
-
"
|
|
5398
|
-
"
|
|
5399
|
-
"name": "description",
|
|
5400
|
-
"required": false,
|
|
5401
|
-
"default": "",
|
|
5402
|
-
"hasDynamicHelp": false,
|
|
5403
|
-
"multiple": false,
|
|
5404
|
-
"type": "option"
|
|
5405
|
-
},
|
|
5406
|
-
"file": {
|
|
5407
|
-
"char": "f",
|
|
5408
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5409
|
-
"name": "file",
|
|
5311
|
+
"backup_id": {
|
|
5312
|
+
"description": "Backup ID to export",
|
|
5313
|
+
"name": "backup_id",
|
|
5410
5314
|
"required": true,
|
|
5411
5315
|
"hasDynamicHelp": false,
|
|
5412
5316
|
"multiple": false,
|
|
5413
5317
|
"type": "option"
|
|
5414
5318
|
},
|
|
5415
|
-
"
|
|
5319
|
+
"format": {
|
|
5416
5320
|
"char": "o",
|
|
5417
5321
|
"description": "Output format",
|
|
5418
|
-
"name": "
|
|
5322
|
+
"name": "format",
|
|
5419
5323
|
"required": false,
|
|
5420
5324
|
"default": "summary",
|
|
5421
5325
|
"hasDynamicHelp": false,
|
|
@@ -5426,6 +5330,14 @@
|
|
|
5426
5330
|
],
|
|
5427
5331
|
"type": "option"
|
|
5428
5332
|
},
|
|
5333
|
+
"output": {
|
|
5334
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5335
|
+
"name": "output",
|
|
5336
|
+
"required": false,
|
|
5337
|
+
"hasDynamicHelp": false,
|
|
5338
|
+
"multiple": false,
|
|
5339
|
+
"type": "option"
|
|
5340
|
+
},
|
|
5429
5341
|
"workspace": {
|
|
5430
5342
|
"char": "w",
|
|
5431
5343
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5438,7 +5350,7 @@
|
|
|
5438
5350
|
},
|
|
5439
5351
|
"hasDynamicHelp": false,
|
|
5440
5352
|
"hiddenAliases": [],
|
|
5441
|
-
"id": "tenant:backup:
|
|
5353
|
+
"id": "tenant:backup:export",
|
|
5442
5354
|
"pluginAlias": "@xano/cli",
|
|
5443
5355
|
"pluginName": "@xano/cli",
|
|
5444
5356
|
"pluginType": "core",
|
|
@@ -5450,24 +5362,23 @@
|
|
|
5450
5362
|
"commands",
|
|
5451
5363
|
"tenant",
|
|
5452
5364
|
"backup",
|
|
5453
|
-
"
|
|
5365
|
+
"export",
|
|
5454
5366
|
"index.js"
|
|
5455
5367
|
]
|
|
5456
5368
|
},
|
|
5457
|
-
"tenant:backup:
|
|
5369
|
+
"tenant:backup:import": {
|
|
5458
5370
|
"aliases": [],
|
|
5459
5371
|
"args": {
|
|
5460
5372
|
"tenant_name": {
|
|
5461
|
-
"description": "Tenant name to
|
|
5373
|
+
"description": "Tenant name to import backup into",
|
|
5462
5374
|
"name": "tenant_name",
|
|
5463
5375
|
"required": true
|
|
5464
5376
|
}
|
|
5465
5377
|
},
|
|
5466
|
-
"description": "
|
|
5378
|
+
"description": "Import a backup file into a tenant",
|
|
5467
5379
|
"examples": [
|
|
5468
|
-
"$ xano tenant backup
|
|
5469
|
-
"$ xano tenant backup
|
|
5470
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5380
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5381
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5471
5382
|
],
|
|
5472
5383
|
"flags": {
|
|
5473
5384
|
"profile": {
|
|
@@ -5489,18 +5400,29 @@
|
|
|
5489
5400
|
"allowNo": false,
|
|
5490
5401
|
"type": "boolean"
|
|
5491
5402
|
},
|
|
5492
|
-
"
|
|
5493
|
-
"
|
|
5494
|
-
"
|
|
5403
|
+
"description": {
|
|
5404
|
+
"char": "d",
|
|
5405
|
+
"description": "Backup description",
|
|
5406
|
+
"name": "description",
|
|
5407
|
+
"required": false,
|
|
5408
|
+
"default": "",
|
|
5409
|
+
"hasDynamicHelp": false,
|
|
5410
|
+
"multiple": false,
|
|
5411
|
+
"type": "option"
|
|
5412
|
+
},
|
|
5413
|
+
"file": {
|
|
5414
|
+
"char": "f",
|
|
5415
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5416
|
+
"name": "file",
|
|
5495
5417
|
"required": true,
|
|
5496
5418
|
"hasDynamicHelp": false,
|
|
5497
5419
|
"multiple": false,
|
|
5498
5420
|
"type": "option"
|
|
5499
5421
|
},
|
|
5500
|
-
"
|
|
5422
|
+
"output": {
|
|
5501
5423
|
"char": "o",
|
|
5502
5424
|
"description": "Output format",
|
|
5503
|
-
"name": "
|
|
5425
|
+
"name": "output",
|
|
5504
5426
|
"required": false,
|
|
5505
5427
|
"default": "summary",
|
|
5506
5428
|
"hasDynamicHelp": false,
|
|
@@ -5511,14 +5433,6 @@
|
|
|
5511
5433
|
],
|
|
5512
5434
|
"type": "option"
|
|
5513
5435
|
},
|
|
5514
|
-
"output": {
|
|
5515
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5516
|
-
"name": "output",
|
|
5517
|
-
"required": false,
|
|
5518
|
-
"hasDynamicHelp": false,
|
|
5519
|
-
"multiple": false,
|
|
5520
|
-
"type": "option"
|
|
5521
|
-
},
|
|
5522
5436
|
"workspace": {
|
|
5523
5437
|
"char": "w",
|
|
5524
5438
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5531,7 +5445,7 @@
|
|
|
5531
5445
|
},
|
|
5532
5446
|
"hasDynamicHelp": false,
|
|
5533
5447
|
"hiddenAliases": [],
|
|
5534
|
-
"id": "tenant:backup:
|
|
5448
|
+
"id": "tenant:backup:import",
|
|
5535
5449
|
"pluginAlias": "@xano/cli",
|
|
5536
5450
|
"pluginName": "@xano/cli",
|
|
5537
5451
|
"pluginType": "core",
|
|
@@ -5543,23 +5457,23 @@
|
|
|
5543
5457
|
"commands",
|
|
5544
5458
|
"tenant",
|
|
5545
5459
|
"backup",
|
|
5546
|
-
"
|
|
5460
|
+
"import",
|
|
5547
5461
|
"index.js"
|
|
5548
5462
|
]
|
|
5549
5463
|
},
|
|
5550
|
-
"tenant:backup:
|
|
5464
|
+
"tenant:backup:restore": {
|
|
5551
5465
|
"aliases": [],
|
|
5552
5466
|
"args": {
|
|
5553
5467
|
"tenant_name": {
|
|
5554
|
-
"description": "Tenant name to
|
|
5468
|
+
"description": "Tenant name to restore",
|
|
5555
5469
|
"name": "tenant_name",
|
|
5556
5470
|
"required": true
|
|
5557
5471
|
}
|
|
5558
5472
|
},
|
|
5559
|
-
"description": "
|
|
5473
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5560
5474
|
"examples": [
|
|
5561
|
-
"$ xano tenant backup
|
|
5562
|
-
"$ xano tenant backup
|
|
5475
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5476
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5563
5477
|
],
|
|
5564
5478
|
"flags": {
|
|
5565
5479
|
"profile": {
|
|
@@ -5581,6 +5495,22 @@
|
|
|
5581
5495
|
"allowNo": false,
|
|
5582
5496
|
"type": "boolean"
|
|
5583
5497
|
},
|
|
5498
|
+
"backup_id": {
|
|
5499
|
+
"description": "Backup ID to restore from",
|
|
5500
|
+
"name": "backup_id",
|
|
5501
|
+
"required": true,
|
|
5502
|
+
"hasDynamicHelp": false,
|
|
5503
|
+
"multiple": false,
|
|
5504
|
+
"type": "option"
|
|
5505
|
+
},
|
|
5506
|
+
"force": {
|
|
5507
|
+
"char": "f",
|
|
5508
|
+
"description": "Skip confirmation prompt",
|
|
5509
|
+
"name": "force",
|
|
5510
|
+
"required": false,
|
|
5511
|
+
"allowNo": false,
|
|
5512
|
+
"type": "boolean"
|
|
5513
|
+
},
|
|
5584
5514
|
"output": {
|
|
5585
5515
|
"char": "o",
|
|
5586
5516
|
"description": "Output format",
|
|
@@ -5595,15 +5525,6 @@
|
|
|
5595
5525
|
],
|
|
5596
5526
|
"type": "option"
|
|
5597
5527
|
},
|
|
5598
|
-
"page": {
|
|
5599
|
-
"description": "Page number for pagination",
|
|
5600
|
-
"name": "page",
|
|
5601
|
-
"required": false,
|
|
5602
|
-
"default": 1,
|
|
5603
|
-
"hasDynamicHelp": false,
|
|
5604
|
-
"multiple": false,
|
|
5605
|
-
"type": "option"
|
|
5606
|
-
},
|
|
5607
5528
|
"workspace": {
|
|
5608
5529
|
"char": "w",
|
|
5609
5530
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5616,7 +5537,7 @@
|
|
|
5616
5537
|
},
|
|
5617
5538
|
"hasDynamicHelp": false,
|
|
5618
5539
|
"hiddenAliases": [],
|
|
5619
|
-
"id": "tenant:backup:
|
|
5540
|
+
"id": "tenant:backup:restore",
|
|
5620
5541
|
"pluginAlias": "@xano/cli",
|
|
5621
5542
|
"pluginName": "@xano/cli",
|
|
5622
5543
|
"pluginType": "core",
|
|
@@ -5628,23 +5549,23 @@
|
|
|
5628
5549
|
"commands",
|
|
5629
5550
|
"tenant",
|
|
5630
5551
|
"backup",
|
|
5631
|
-
"
|
|
5552
|
+
"restore",
|
|
5632
5553
|
"index.js"
|
|
5633
5554
|
]
|
|
5634
5555
|
},
|
|
5635
|
-
"tenant:backup:
|
|
5556
|
+
"tenant:backup:list": {
|
|
5636
5557
|
"aliases": [],
|
|
5637
5558
|
"args": {
|
|
5638
5559
|
"tenant_name": {
|
|
5639
|
-
"description": "Tenant name to
|
|
5560
|
+
"description": "Tenant name to list backups for",
|
|
5640
5561
|
"name": "tenant_name",
|
|
5641
5562
|
"required": true
|
|
5642
5563
|
}
|
|
5643
5564
|
},
|
|
5644
|
-
"description": "
|
|
5565
|
+
"description": "List backups for a tenant",
|
|
5645
5566
|
"examples": [
|
|
5646
|
-
"$ xano tenant backup
|
|
5647
|
-
"$ xano tenant backup
|
|
5567
|
+
"$ 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",
|
|
5568
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5648
5569
|
],
|
|
5649
5570
|
"flags": {
|
|
5650
5571
|
"profile": {
|
|
@@ -5666,22 +5587,6 @@
|
|
|
5666
5587
|
"allowNo": false,
|
|
5667
5588
|
"type": "boolean"
|
|
5668
5589
|
},
|
|
5669
|
-
"backup_id": {
|
|
5670
|
-
"description": "Backup ID to restore from",
|
|
5671
|
-
"name": "backup_id",
|
|
5672
|
-
"required": true,
|
|
5673
|
-
"hasDynamicHelp": false,
|
|
5674
|
-
"multiple": false,
|
|
5675
|
-
"type": "option"
|
|
5676
|
-
},
|
|
5677
|
-
"force": {
|
|
5678
|
-
"char": "f",
|
|
5679
|
-
"description": "Skip confirmation prompt",
|
|
5680
|
-
"name": "force",
|
|
5681
|
-
"required": false,
|
|
5682
|
-
"allowNo": false,
|
|
5683
|
-
"type": "boolean"
|
|
5684
|
-
},
|
|
5685
5590
|
"output": {
|
|
5686
5591
|
"char": "o",
|
|
5687
5592
|
"description": "Output format",
|
|
@@ -5696,6 +5601,15 @@
|
|
|
5696
5601
|
],
|
|
5697
5602
|
"type": "option"
|
|
5698
5603
|
},
|
|
5604
|
+
"page": {
|
|
5605
|
+
"description": "Page number for pagination",
|
|
5606
|
+
"name": "page",
|
|
5607
|
+
"required": false,
|
|
5608
|
+
"default": 1,
|
|
5609
|
+
"hasDynamicHelp": false,
|
|
5610
|
+
"multiple": false,
|
|
5611
|
+
"type": "option"
|
|
5612
|
+
},
|
|
5699
5613
|
"workspace": {
|
|
5700
5614
|
"char": "w",
|
|
5701
5615
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5708,7 +5622,7 @@
|
|
|
5708
5622
|
},
|
|
5709
5623
|
"hasDynamicHelp": false,
|
|
5710
5624
|
"hiddenAliases": [],
|
|
5711
|
-
"id": "tenant:backup:
|
|
5625
|
+
"id": "tenant:backup:list",
|
|
5712
5626
|
"pluginAlias": "@xano/cli",
|
|
5713
5627
|
"pluginName": "@xano/cli",
|
|
5714
5628
|
"pluginType": "core",
|
|
@@ -5720,7 +5634,7 @@
|
|
|
5720
5634
|
"commands",
|
|
5721
5635
|
"tenant",
|
|
5722
5636
|
"backup",
|
|
5723
|
-
"
|
|
5637
|
+
"list",
|
|
5724
5638
|
"index.js"
|
|
5725
5639
|
]
|
|
5726
5640
|
},
|
|
@@ -5906,7 +5820,74 @@
|
|
|
5906
5820
|
},
|
|
5907
5821
|
"hasDynamicHelp": false,
|
|
5908
5822
|
"hiddenAliases": [],
|
|
5909
|
-
"id": "tenant:cluster:delete",
|
|
5823
|
+
"id": "tenant:cluster:delete",
|
|
5824
|
+
"pluginAlias": "@xano/cli",
|
|
5825
|
+
"pluginName": "@xano/cli",
|
|
5826
|
+
"pluginType": "core",
|
|
5827
|
+
"strict": true,
|
|
5828
|
+
"enableJsonFlag": false,
|
|
5829
|
+
"isESM": true,
|
|
5830
|
+
"relativePath": [
|
|
5831
|
+
"dist",
|
|
5832
|
+
"commands",
|
|
5833
|
+
"tenant",
|
|
5834
|
+
"cluster",
|
|
5835
|
+
"delete",
|
|
5836
|
+
"index.js"
|
|
5837
|
+
]
|
|
5838
|
+
},
|
|
5839
|
+
"tenant:cluster:get": {
|
|
5840
|
+
"aliases": [],
|
|
5841
|
+
"args": {
|
|
5842
|
+
"cluster_id": {
|
|
5843
|
+
"description": "Cluster ID to retrieve",
|
|
5844
|
+
"name": "cluster_id",
|
|
5845
|
+
"required": true
|
|
5846
|
+
}
|
|
5847
|
+
},
|
|
5848
|
+
"description": "Get details of a specific tenant cluster",
|
|
5849
|
+
"examples": [
|
|
5850
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5851
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5852
|
+
],
|
|
5853
|
+
"flags": {
|
|
5854
|
+
"profile": {
|
|
5855
|
+
"char": "p",
|
|
5856
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5857
|
+
"env": "XANO_PROFILE",
|
|
5858
|
+
"name": "profile",
|
|
5859
|
+
"required": false,
|
|
5860
|
+
"hasDynamicHelp": false,
|
|
5861
|
+
"multiple": false,
|
|
5862
|
+
"type": "option"
|
|
5863
|
+
},
|
|
5864
|
+
"verbose": {
|
|
5865
|
+
"char": "v",
|
|
5866
|
+
"description": "Show detailed request/response information",
|
|
5867
|
+
"env": "XANO_VERBOSE",
|
|
5868
|
+
"name": "verbose",
|
|
5869
|
+
"required": false,
|
|
5870
|
+
"allowNo": false,
|
|
5871
|
+
"type": "boolean"
|
|
5872
|
+
},
|
|
5873
|
+
"output": {
|
|
5874
|
+
"char": "o",
|
|
5875
|
+
"description": "Output format",
|
|
5876
|
+
"name": "output",
|
|
5877
|
+
"required": false,
|
|
5878
|
+
"default": "summary",
|
|
5879
|
+
"hasDynamicHelp": false,
|
|
5880
|
+
"multiple": false,
|
|
5881
|
+
"options": [
|
|
5882
|
+
"summary",
|
|
5883
|
+
"json"
|
|
5884
|
+
],
|
|
5885
|
+
"type": "option"
|
|
5886
|
+
}
|
|
5887
|
+
},
|
|
5888
|
+
"hasDynamicHelp": false,
|
|
5889
|
+
"hiddenAliases": [],
|
|
5890
|
+
"id": "tenant:cluster:get",
|
|
5910
5891
|
"pluginAlias": "@xano/cli",
|
|
5911
5892
|
"pluginName": "@xano/cli",
|
|
5912
5893
|
"pluginType": "core",
|
|
@@ -5918,7 +5899,7 @@
|
|
|
5918
5899
|
"commands",
|
|
5919
5900
|
"tenant",
|
|
5920
5901
|
"cluster",
|
|
5921
|
-
"
|
|
5902
|
+
"get",
|
|
5922
5903
|
"index.js"
|
|
5923
5904
|
]
|
|
5924
5905
|
},
|
|
@@ -6027,19 +6008,19 @@
|
|
|
6027
6008
|
"index.js"
|
|
6028
6009
|
]
|
|
6029
6010
|
},
|
|
6030
|
-
"tenant:
|
|
6011
|
+
"tenant:backup:create": {
|
|
6031
6012
|
"aliases": [],
|
|
6032
6013
|
"args": {
|
|
6033
|
-
"
|
|
6034
|
-
"description": "
|
|
6035
|
-
"name": "
|
|
6014
|
+
"tenant_name": {
|
|
6015
|
+
"description": "Tenant name to back up",
|
|
6016
|
+
"name": "tenant_name",
|
|
6036
6017
|
"required": true
|
|
6037
6018
|
}
|
|
6038
6019
|
},
|
|
6039
|
-
"description": "
|
|
6020
|
+
"description": "Create a backup for a tenant",
|
|
6040
6021
|
"examples": [
|
|
6041
|
-
"$ xano tenant
|
|
6042
|
-
"$ xano tenant
|
|
6022
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
6023
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
6043
6024
|
],
|
|
6044
6025
|
"flags": {
|
|
6045
6026
|
"profile": {
|
|
@@ -6061,6 +6042,16 @@
|
|
|
6061
6042
|
"allowNo": false,
|
|
6062
6043
|
"type": "boolean"
|
|
6063
6044
|
},
|
|
6045
|
+
"description": {
|
|
6046
|
+
"char": "d",
|
|
6047
|
+
"description": "Backup description",
|
|
6048
|
+
"name": "description",
|
|
6049
|
+
"required": false,
|
|
6050
|
+
"default": "",
|
|
6051
|
+
"hasDynamicHelp": false,
|
|
6052
|
+
"multiple": false,
|
|
6053
|
+
"type": "option"
|
|
6054
|
+
},
|
|
6064
6055
|
"output": {
|
|
6065
6056
|
"char": "o",
|
|
6066
6057
|
"description": "Output format",
|
|
@@ -6074,11 +6065,20 @@
|
|
|
6074
6065
|
"json"
|
|
6075
6066
|
],
|
|
6076
6067
|
"type": "option"
|
|
6068
|
+
},
|
|
6069
|
+
"workspace": {
|
|
6070
|
+
"char": "w",
|
|
6071
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6072
|
+
"name": "workspace",
|
|
6073
|
+
"required": false,
|
|
6074
|
+
"hasDynamicHelp": false,
|
|
6075
|
+
"multiple": false,
|
|
6076
|
+
"type": "option"
|
|
6077
6077
|
}
|
|
6078
6078
|
},
|
|
6079
6079
|
"hasDynamicHelp": false,
|
|
6080
6080
|
"hiddenAliases": [],
|
|
6081
|
-
"id": "tenant:
|
|
6081
|
+
"id": "tenant:backup:create",
|
|
6082
6082
|
"pluginAlias": "@xano/cli",
|
|
6083
6083
|
"pluginName": "@xano/cli",
|
|
6084
6084
|
"pluginType": "core",
|
|
@@ -6089,8 +6089,8 @@
|
|
|
6089
6089
|
"dist",
|
|
6090
6090
|
"commands",
|
|
6091
6091
|
"tenant",
|
|
6092
|
-
"
|
|
6093
|
-
"
|
|
6092
|
+
"backup",
|
|
6093
|
+
"create",
|
|
6094
6094
|
"index.js"
|
|
6095
6095
|
]
|
|
6096
6096
|
},
|
|
@@ -6249,7 +6249,7 @@
|
|
|
6249
6249
|
"index.js"
|
|
6250
6250
|
]
|
|
6251
6251
|
},
|
|
6252
|
-
"tenant:env:
|
|
6252
|
+
"tenant:env:set": {
|
|
6253
6253
|
"aliases": [],
|
|
6254
6254
|
"args": {
|
|
6255
6255
|
"tenant_name": {
|
|
@@ -6258,10 +6258,10 @@
|
|
|
6258
6258
|
"required": true
|
|
6259
6259
|
}
|
|
6260
6260
|
},
|
|
6261
|
-
"description": "
|
|
6261
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6262
6262
|
"examples": [
|
|
6263
|
-
"$ xano tenant env
|
|
6264
|
-
"$ xano tenant env
|
|
6263
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6264
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6265
6265
|
],
|
|
6266
6266
|
"flags": {
|
|
6267
6267
|
"profile": {
|
|
@@ -6306,6 +6306,14 @@
|
|
|
6306
6306
|
],
|
|
6307
6307
|
"type": "option"
|
|
6308
6308
|
},
|
|
6309
|
+
"value": {
|
|
6310
|
+
"description": "Environment variable value",
|
|
6311
|
+
"name": "value",
|
|
6312
|
+
"required": true,
|
|
6313
|
+
"hasDynamicHelp": false,
|
|
6314
|
+
"multiple": false,
|
|
6315
|
+
"type": "option"
|
|
6316
|
+
},
|
|
6309
6317
|
"workspace": {
|
|
6310
6318
|
"char": "w",
|
|
6311
6319
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6318,7 +6326,7 @@
|
|
|
6318
6326
|
},
|
|
6319
6327
|
"hasDynamicHelp": false,
|
|
6320
6328
|
"hiddenAliases": [],
|
|
6321
|
-
"id": "tenant:env:
|
|
6329
|
+
"id": "tenant:env:set",
|
|
6322
6330
|
"pluginAlias": "@xano/cli",
|
|
6323
6331
|
"pluginName": "@xano/cli",
|
|
6324
6332
|
"pluginType": "core",
|
|
@@ -6330,7 +6338,7 @@
|
|
|
6330
6338
|
"commands",
|
|
6331
6339
|
"tenant",
|
|
6332
6340
|
"env",
|
|
6333
|
-
"
|
|
6341
|
+
"set",
|
|
6334
6342
|
"index.js"
|
|
6335
6343
|
]
|
|
6336
6344
|
},
|
|
@@ -6504,7 +6512,7 @@
|
|
|
6504
6512
|
"index.js"
|
|
6505
6513
|
]
|
|
6506
6514
|
},
|
|
6507
|
-
"tenant:env:
|
|
6515
|
+
"tenant:env:get": {
|
|
6508
6516
|
"aliases": [],
|
|
6509
6517
|
"args": {
|
|
6510
6518
|
"tenant_name": {
|
|
@@ -6513,10 +6521,10 @@
|
|
|
6513
6521
|
"required": true
|
|
6514
6522
|
}
|
|
6515
6523
|
},
|
|
6516
|
-
"description": "
|
|
6524
|
+
"description": "Get a single environment variable for a tenant",
|
|
6517
6525
|
"examples": [
|
|
6518
|
-
"$ xano tenant env
|
|
6519
|
-
"$ xano tenant env
|
|
6526
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6527
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6520
6528
|
],
|
|
6521
6529
|
"flags": {
|
|
6522
6530
|
"profile": {
|
|
@@ -6561,14 +6569,6 @@
|
|
|
6561
6569
|
],
|
|
6562
6570
|
"type": "option"
|
|
6563
6571
|
},
|
|
6564
|
-
"value": {
|
|
6565
|
-
"description": "Environment variable value",
|
|
6566
|
-
"name": "value",
|
|
6567
|
-
"required": true,
|
|
6568
|
-
"hasDynamicHelp": false,
|
|
6569
|
-
"multiple": false,
|
|
6570
|
-
"type": "option"
|
|
6571
|
-
},
|
|
6572
6572
|
"workspace": {
|
|
6573
6573
|
"char": "w",
|
|
6574
6574
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6581,7 +6581,7 @@
|
|
|
6581
6581
|
},
|
|
6582
6582
|
"hasDynamicHelp": false,
|
|
6583
6583
|
"hiddenAliases": [],
|
|
6584
|
-
"id": "tenant:env:
|
|
6584
|
+
"id": "tenant:env:get",
|
|
6585
6585
|
"pluginAlias": "@xano/cli",
|
|
6586
6586
|
"pluginName": "@xano/cli",
|
|
6587
6587
|
"pluginType": "core",
|
|
@@ -6593,7 +6593,7 @@
|
|
|
6593
6593
|
"commands",
|
|
6594
6594
|
"tenant",
|
|
6595
6595
|
"env",
|
|
6596
|
-
"
|
|
6596
|
+
"get",
|
|
6597
6597
|
"index.js"
|
|
6598
6598
|
]
|
|
6599
6599
|
},
|
|
@@ -6784,21 +6784,24 @@
|
|
|
6784
6784
|
"index.js"
|
|
6785
6785
|
]
|
|
6786
6786
|
},
|
|
6787
|
-
"
|
|
6787
|
+
"workspace:git:pull": {
|
|
6788
6788
|
"aliases": [],
|
|
6789
6789
|
"args": {
|
|
6790
|
-
"
|
|
6791
|
-
"description": "
|
|
6792
|
-
"name": "
|
|
6790
|
+
"directory": {
|
|
6791
|
+
"description": "Output directory for imported files",
|
|
6792
|
+
"name": "directory",
|
|
6793
6793
|
"required": true
|
|
6794
6794
|
}
|
|
6795
6795
|
},
|
|
6796
|
-
"description": "
|
|
6796
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6797
6797
|
"examples": [
|
|
6798
|
-
"$ xano
|
|
6799
|
-
"$ xano
|
|
6800
|
-
"$ xano
|
|
6801
|
-
"$ xano
|
|
6798
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6799
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6800
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6801
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6802
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6803
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6804
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6802
6805
|
],
|
|
6803
6806
|
"flags": {
|
|
6804
6807
|
"profile": {
|
|
@@ -6820,58 +6823,37 @@
|
|
|
6820
6823
|
"allowNo": false,
|
|
6821
6824
|
"type": "boolean"
|
|
6822
6825
|
},
|
|
6823
|
-
"
|
|
6824
|
-
"
|
|
6825
|
-
"
|
|
6826
|
-
|
|
6827
|
-
],
|
|
6828
|
-
"name": "clean",
|
|
6829
|
-
"required": false,
|
|
6830
|
-
"allowNo": false,
|
|
6831
|
-
"type": "boolean"
|
|
6832
|
-
},
|
|
6833
|
-
"file": {
|
|
6834
|
-
"char": "f",
|
|
6835
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6836
|
-
"exclusive": [
|
|
6837
|
-
"value"
|
|
6838
|
-
],
|
|
6839
|
-
"name": "file",
|
|
6826
|
+
"branch": {
|
|
6827
|
+
"char": "b",
|
|
6828
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6829
|
+
"name": "branch",
|
|
6840
6830
|
"required": false,
|
|
6841
6831
|
"hasDynamicHelp": false,
|
|
6842
6832
|
"multiple": false,
|
|
6843
6833
|
"type": "option"
|
|
6844
6834
|
},
|
|
6845
|
-
"
|
|
6846
|
-
"
|
|
6847
|
-
"
|
|
6848
|
-
"name": "output",
|
|
6835
|
+
"path": {
|
|
6836
|
+
"description": "Subdirectory within the repo to import from",
|
|
6837
|
+
"name": "path",
|
|
6849
6838
|
"required": false,
|
|
6850
|
-
"default": "summary",
|
|
6851
6839
|
"hasDynamicHelp": false,
|
|
6852
6840
|
"multiple": false,
|
|
6853
|
-
"options": [
|
|
6854
|
-
"summary",
|
|
6855
|
-
"json"
|
|
6856
|
-
],
|
|
6857
6841
|
"type": "option"
|
|
6858
6842
|
},
|
|
6859
|
-
"
|
|
6860
|
-
"
|
|
6861
|
-
"
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
],
|
|
6865
|
-
"name": "value",
|
|
6866
|
-
"required": false,
|
|
6843
|
+
"repo": {
|
|
6844
|
+
"char": "r",
|
|
6845
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6846
|
+
"name": "repo",
|
|
6847
|
+
"required": true,
|
|
6867
6848
|
"hasDynamicHelp": false,
|
|
6868
6849
|
"multiple": false,
|
|
6869
6850
|
"type": "option"
|
|
6870
6851
|
},
|
|
6871
|
-
"
|
|
6872
|
-
"char": "
|
|
6873
|
-
"description": "
|
|
6874
|
-
"
|
|
6852
|
+
"token": {
|
|
6853
|
+
"char": "t",
|
|
6854
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6855
|
+
"env": "GITHUB_TOKEN",
|
|
6856
|
+
"name": "token",
|
|
6875
6857
|
"required": false,
|
|
6876
6858
|
"hasDynamicHelp": false,
|
|
6877
6859
|
"multiple": false,
|
|
@@ -6880,7 +6862,7 @@
|
|
|
6880
6862
|
},
|
|
6881
6863
|
"hasDynamicHelp": false,
|
|
6882
6864
|
"hiddenAliases": [],
|
|
6883
|
-
"id": "
|
|
6865
|
+
"id": "workspace:git:pull",
|
|
6884
6866
|
"pluginAlias": "@xano/cli",
|
|
6885
6867
|
"pluginName": "@xano/cli",
|
|
6886
6868
|
"pluginType": "core",
|
|
@@ -6890,30 +6872,27 @@
|
|
|
6890
6872
|
"relativePath": [
|
|
6891
6873
|
"dist",
|
|
6892
6874
|
"commands",
|
|
6893
|
-
"
|
|
6894
|
-
"
|
|
6895
|
-
"
|
|
6875
|
+
"workspace",
|
|
6876
|
+
"git",
|
|
6877
|
+
"pull",
|
|
6896
6878
|
"index.js"
|
|
6897
6879
|
]
|
|
6898
6880
|
},
|
|
6899
|
-
"
|
|
6881
|
+
"tenant:license:set": {
|
|
6900
6882
|
"aliases": [],
|
|
6901
6883
|
"args": {
|
|
6902
|
-
"
|
|
6903
|
-
"description": "
|
|
6904
|
-
"name": "
|
|
6884
|
+
"tenant_name": {
|
|
6885
|
+
"description": "Tenant name",
|
|
6886
|
+
"name": "tenant_name",
|
|
6905
6887
|
"required": true
|
|
6906
6888
|
}
|
|
6907
6889
|
},
|
|
6908
|
-
"description": "
|
|
6890
|
+
"description": "Set/update the license for a tenant",
|
|
6909
6891
|
"examples": [
|
|
6910
|
-
"$ xano
|
|
6911
|
-
"$ xano
|
|
6912
|
-
"$ xano
|
|
6913
|
-
"$ xano
|
|
6914
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6915
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6916
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6892
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6893
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6894
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6895
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6917
6896
|
],
|
|
6918
6897
|
"flags": {
|
|
6919
6898
|
"profile": {
|
|
@@ -6935,37 +6914,58 @@
|
|
|
6935
6914
|
"allowNo": false,
|
|
6936
6915
|
"type": "boolean"
|
|
6937
6916
|
},
|
|
6938
|
-
"
|
|
6939
|
-
"
|
|
6940
|
-
"
|
|
6941
|
-
|
|
6917
|
+
"clean": {
|
|
6918
|
+
"description": "Remove the source file after successful upload",
|
|
6919
|
+
"exclusive": [
|
|
6920
|
+
"value"
|
|
6921
|
+
],
|
|
6922
|
+
"name": "clean",
|
|
6923
|
+
"required": false,
|
|
6924
|
+
"allowNo": false,
|
|
6925
|
+
"type": "boolean"
|
|
6926
|
+
},
|
|
6927
|
+
"file": {
|
|
6928
|
+
"char": "f",
|
|
6929
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6930
|
+
"exclusive": [
|
|
6931
|
+
"value"
|
|
6932
|
+
],
|
|
6933
|
+
"name": "file",
|
|
6942
6934
|
"required": false,
|
|
6943
6935
|
"hasDynamicHelp": false,
|
|
6944
6936
|
"multiple": false,
|
|
6945
6937
|
"type": "option"
|
|
6946
6938
|
},
|
|
6947
|
-
"
|
|
6948
|
-
"
|
|
6949
|
-
"
|
|
6939
|
+
"output": {
|
|
6940
|
+
"char": "o",
|
|
6941
|
+
"description": "Output format",
|
|
6942
|
+
"name": "output",
|
|
6950
6943
|
"required": false,
|
|
6944
|
+
"default": "summary",
|
|
6951
6945
|
"hasDynamicHelp": false,
|
|
6952
6946
|
"multiple": false,
|
|
6947
|
+
"options": [
|
|
6948
|
+
"summary",
|
|
6949
|
+
"json"
|
|
6950
|
+
],
|
|
6953
6951
|
"type": "option"
|
|
6954
6952
|
},
|
|
6955
|
-
"
|
|
6956
|
-
"
|
|
6957
|
-
"
|
|
6958
|
-
|
|
6959
|
-
|
|
6953
|
+
"value": {
|
|
6954
|
+
"description": "Inline license value",
|
|
6955
|
+
"exclusive": [
|
|
6956
|
+
"file",
|
|
6957
|
+
"clean"
|
|
6958
|
+
],
|
|
6959
|
+
"name": "value",
|
|
6960
|
+
"required": false,
|
|
6960
6961
|
"hasDynamicHelp": false,
|
|
6961
6962
|
"multiple": false,
|
|
6962
6963
|
"type": "option"
|
|
6963
6964
|
},
|
|
6964
|
-
"
|
|
6965
|
-
"char": "
|
|
6966
|
-
"description": "
|
|
6967
|
-
"
|
|
6968
|
-
"name": "token",
|
|
6965
|
+
"workspace": {
|
|
6966
|
+
"char": "w",
|
|
6967
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6968
|
+
"name": "workspace",
|
|
6969
6969
|
"required": false,
|
|
6970
6970
|
"hasDynamicHelp": false,
|
|
6971
6971
|
"multiple": false,
|
|
@@ -6974,7 +6974,7 @@
|
|
|
6974
6974
|
},
|
|
6975
6975
|
"hasDynamicHelp": false,
|
|
6976
6976
|
"hiddenAliases": [],
|
|
6977
|
-
"id": "
|
|
6977
|
+
"id": "tenant:license:set",
|
|
6978
6978
|
"pluginAlias": "@xano/cli",
|
|
6979
6979
|
"pluginName": "@xano/cli",
|
|
6980
6980
|
"pluginType": "core",
|
|
@@ -6984,9 +6984,9 @@
|
|
|
6984
6984
|
"relativePath": [
|
|
6985
6985
|
"dist",
|
|
6986
6986
|
"commands",
|
|
6987
|
-
"
|
|
6988
|
-
"
|
|
6989
|
-
"
|
|
6987
|
+
"tenant",
|
|
6988
|
+
"license",
|
|
6989
|
+
"set",
|
|
6990
6990
|
"index.js"
|
|
6991
6991
|
]
|
|
6992
6992
|
},
|
|
@@ -7181,5 +7181,5 @@
|
|
|
7181
7181
|
]
|
|
7182
7182
|
}
|
|
7183
7183
|
},
|
|
7184
|
-
"version": "0.0.
|
|
7184
|
+
"version": "0.0.92"
|
|
7185
7185
|
}
|