@xano/cli 0.0.83 → 0.0.85

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.
@@ -394,20 +394,20 @@
394
394
  "index.js"
395
395
  ]
396
396
  },
397
- "branch:set_live": {
397
+ "branch:list": {
398
398
  "aliases": [],
399
399
  "args": {
400
- "branch_label": {
401
- "description": "Branch label to set as live (use \"v1\" for default branch)",
402
- "name": "branch_label",
403
- "required": true
400
+ "workspace_id": {
401
+ "description": "Workspace ID (uses profile workspace if not provided)",
402
+ "name": "workspace_id",
403
+ "required": false
404
404
  }
405
405
  },
406
- "description": "Set a branch as the live (active) branch for API requests",
406
+ "description": "List all branches in a workspace",
407
407
  "examples": [
408
- "$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
409
- "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
410
- "$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
408
+ "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
409
+ "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
410
+ "$ 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"
411
411
  ],
412
412
  "flags": {
413
413
  "profile": {
@@ -429,14 +429,6 @@
429
429
  "allowNo": false,
430
430
  "type": "boolean"
431
431
  },
432
- "force": {
433
- "char": "f",
434
- "description": "Skip confirmation prompt",
435
- "name": "force",
436
- "required": false,
437
- "allowNo": false,
438
- "type": "boolean"
439
- },
440
432
  "output": {
441
433
  "char": "o",
442
434
  "description": "Output format",
@@ -450,20 +442,11 @@
450
442
  "json"
451
443
  ],
452
444
  "type": "option"
453
- },
454
- "workspace": {
455
- "char": "w",
456
- "description": "Workspace ID (uses profile workspace if not provided)",
457
- "name": "workspace",
458
- "required": false,
459
- "hasDynamicHelp": false,
460
- "multiple": false,
461
- "type": "option"
462
445
  }
463
446
  },
464
447
  "hasDynamicHelp": false,
465
448
  "hiddenAliases": [],
466
- "id": "branch:set_live",
449
+ "id": "branch:list",
467
450
  "pluginAlias": "@xano/cli",
468
451
  "pluginName": "@xano/cli",
469
452
  "pluginType": "core",
@@ -474,24 +457,24 @@
474
457
  "dist",
475
458
  "commands",
476
459
  "branch",
477
- "set_live",
460
+ "list",
478
461
  "index.js"
479
462
  ]
480
463
  },
481
- "branch:list": {
464
+ "branch:set_live": {
482
465
  "aliases": [],
483
466
  "args": {
484
- "workspace_id": {
485
- "description": "Workspace ID (uses profile workspace if not provided)",
486
- "name": "workspace_id",
487
- "required": false
467
+ "branch_label": {
468
+ "description": "Branch label to set as live (use \"v1\" for default branch)",
469
+ "name": "branch_label",
470
+ "required": true
488
471
  }
489
472
  },
490
- "description": "List all branches in a workspace",
473
+ "description": "Set a branch as the live (active) branch for API requests",
491
474
  "examples": [
492
- "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
493
- "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
494
- "$ 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"
475
+ "$ xano branch set-live staging\nAre you sure you want to set 'staging' as the live branch? (y/N) y\nBranch 'staging' is now live\n",
476
+ "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
477
+ "$ xano branch set-live production -f -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"production\",\n \"backup\": false,\n \"live\": true\n}\n"
495
478
  ],
496
479
  "flags": {
497
480
  "profile": {
@@ -513,6 +496,14 @@
513
496
  "allowNo": false,
514
497
  "type": "boolean"
515
498
  },
499
+ "force": {
500
+ "char": "f",
501
+ "description": "Skip confirmation prompt",
502
+ "name": "force",
503
+ "required": false,
504
+ "allowNo": false,
505
+ "type": "boolean"
506
+ },
516
507
  "output": {
517
508
  "char": "o",
518
509
  "description": "Output format",
@@ -526,11 +517,20 @@
526
517
  "json"
527
518
  ],
528
519
  "type": "option"
520
+ },
521
+ "workspace": {
522
+ "char": "w",
523
+ "description": "Workspace ID (uses profile workspace if not provided)",
524
+ "name": "workspace",
525
+ "required": false,
526
+ "hasDynamicHelp": false,
527
+ "multiple": false,
528
+ "type": "option"
529
529
  }
530
530
  },
531
531
  "hasDynamicHelp": false,
532
532
  "hiddenAliases": [],
533
- "id": "branch:list",
533
+ "id": "branch:set_live",
534
534
  "pluginAlias": "@xano/cli",
535
535
  "pluginName": "@xano/cli",
536
536
  "pluginType": "core",
@@ -541,7 +541,7 @@
541
541
  "dist",
542
542
  "commands",
543
543
  "branch",
544
- "list",
544
+ "set_live",
545
545
  "index.js"
546
546
  ]
547
547
  },
@@ -651,23 +651,25 @@
651
651
  "index.js"
652
652
  ]
653
653
  },
654
- "function:get": {
654
+ "function:edit": {
655
655
  "aliases": [],
656
656
  "args": {
657
657
  "function_id": {
658
- "description": "Function ID",
658
+ "description": "Function ID to edit",
659
659
  "name": "function_id",
660
660
  "required": false
661
661
  }
662
662
  },
663
- "description": "Get a specific function from a workspace",
663
+ "description": "Edit a function in a workspace",
664
664
  "examples": [
665
- "$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
666
- "$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
667
- "$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
668
- "$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
669
- "$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
670
- "$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
665
+ "$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
666
+ "$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
667
+ "$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
668
+ "$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
669
+ "$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
670
+ "$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
671
+ "$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
672
+ "$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
671
673
  ],
672
674
  "flags": {
673
675
  "profile": {
@@ -689,19 +691,25 @@
689
691
  "allowNo": false,
690
692
  "type": "boolean"
691
693
  },
692
- "include_draft": {
693
- "description": "Include draft version",
694
- "name": "include_draft",
694
+ "edit": {
695
+ "char": "e",
696
+ "description": "Open file in editor before updating function (requires --file)",
697
+ "name": "edit",
695
698
  "required": false,
696
699
  "allowNo": false,
697
700
  "type": "boolean"
698
701
  },
699
- "include_xanoscript": {
700
- "description": "Include XanoScript in response",
701
- "name": "include_xanoscript",
702
+ "file": {
703
+ "char": "f",
704
+ "description": "Path to file containing XanoScript code",
705
+ "exclusive": [
706
+ "stdin"
707
+ ],
708
+ "name": "file",
702
709
  "required": false,
703
- "allowNo": false,
704
- "type": "boolean"
710
+ "hasDynamicHelp": false,
711
+ "multiple": false,
712
+ "type": "option"
705
713
  },
706
714
  "output": {
707
715
  "char": "o",
@@ -713,11 +721,28 @@
713
721
  "multiple": false,
714
722
  "options": [
715
723
  "summary",
716
- "json",
717
- "xs"
724
+ "json"
718
725
  ],
719
726
  "type": "option"
720
727
  },
728
+ "publish": {
729
+ "description": "Publish the function after editing",
730
+ "name": "publish",
731
+ "required": false,
732
+ "allowNo": false,
733
+ "type": "boolean"
734
+ },
735
+ "stdin": {
736
+ "char": "s",
737
+ "description": "Read XanoScript code from stdin",
738
+ "exclusive": [
739
+ "file"
740
+ ],
741
+ "name": "stdin",
742
+ "required": false,
743
+ "allowNo": false,
744
+ "type": "boolean"
745
+ },
721
746
  "workspace": {
722
747
  "char": "w",
723
748
  "description": "Workspace ID (optional if set in profile)",
@@ -730,7 +755,7 @@
730
755
  },
731
756
  "hasDynamicHelp": false,
732
757
  "hiddenAliases": [],
733
- "id": "function:get",
758
+ "id": "function:edit",
734
759
  "pluginAlias": "@xano/cli",
735
760
  "pluginName": "@xano/cli",
736
761
  "pluginType": "core",
@@ -741,29 +766,27 @@
741
766
  "dist",
742
767
  "commands",
743
768
  "function",
744
- "get",
769
+ "edit",
745
770
  "index.js"
746
771
  ]
747
772
  },
748
- "function:edit": {
773
+ "function:get": {
749
774
  "aliases": [],
750
775
  "args": {
751
776
  "function_id": {
752
- "description": "Function ID to edit",
777
+ "description": "Function ID",
753
778
  "name": "function_id",
754
779
  "required": false
755
780
  }
756
781
  },
757
- "description": "Edit a function in a workspace",
782
+ "description": "Get a specific function from a workspace",
758
783
  "examples": [
759
- "$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
760
- "$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
761
- "$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
762
- "$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
763
- "$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
764
- "$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
765
- "$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
766
- "$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
784
+ "$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
785
+ "$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
786
+ "$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
787
+ "$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
788
+ "$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
789
+ "$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
767
790
  ],
768
791
  "flags": {
769
792
  "profile": {
@@ -785,25 +808,19 @@
785
808
  "allowNo": false,
786
809
  "type": "boolean"
787
810
  },
788
- "edit": {
789
- "char": "e",
790
- "description": "Open file in editor before updating function (requires --file)",
791
- "name": "edit",
811
+ "include_draft": {
812
+ "description": "Include draft version",
813
+ "name": "include_draft",
792
814
  "required": false,
793
815
  "allowNo": false,
794
816
  "type": "boolean"
795
817
  },
796
- "file": {
797
- "char": "f",
798
- "description": "Path to file containing XanoScript code",
799
- "exclusive": [
800
- "stdin"
801
- ],
802
- "name": "file",
818
+ "include_xanoscript": {
819
+ "description": "Include XanoScript in response",
820
+ "name": "include_xanoscript",
803
821
  "required": false,
804
- "hasDynamicHelp": false,
805
- "multiple": false,
806
- "type": "option"
822
+ "allowNo": false,
823
+ "type": "boolean"
807
824
  },
808
825
  "output": {
809
826
  "char": "o",
@@ -815,28 +832,11 @@
815
832
  "multiple": false,
816
833
  "options": [
817
834
  "summary",
818
- "json"
835
+ "json",
836
+ "xs"
819
837
  ],
820
838
  "type": "option"
821
839
  },
822
- "publish": {
823
- "description": "Publish the function after editing",
824
- "name": "publish",
825
- "required": false,
826
- "allowNo": false,
827
- "type": "boolean"
828
- },
829
- "stdin": {
830
- "char": "s",
831
- "description": "Read XanoScript code from stdin",
832
- "exclusive": [
833
- "file"
834
- ],
835
- "name": "stdin",
836
- "required": false,
837
- "allowNo": false,
838
- "type": "boolean"
839
- },
840
840
  "workspace": {
841
841
  "char": "w",
842
842
  "description": "Workspace ID (optional if set in profile)",
@@ -849,7 +849,7 @@
849
849
  },
850
850
  "hasDynamicHelp": false,
851
851
  "hiddenAliases": [],
852
- "id": "function:edit",
852
+ "id": "function:get",
853
853
  "pluginAlias": "@xano/cli",
854
854
  "pluginName": "@xano/cli",
855
855
  "pluginType": "core",
@@ -860,7 +860,7 @@
860
860
  "dist",
861
861
  "commands",
862
862
  "function",
863
- "edit",
863
+ "get",
864
864
  "index.js"
865
865
  ]
866
866
  },
@@ -989,20 +989,19 @@
989
989
  "index.js"
990
990
  ]
991
991
  },
992
- "branch:get": {
992
+ "platform:get": {
993
993
  "aliases": [],
994
994
  "args": {
995
- "branch_label": {
996
- "description": "Branch label (e.g., \"v1\", \"dev\")",
997
- "name": "branch_label",
995
+ "platform_id": {
996
+ "description": "Platform ID to retrieve",
997
+ "name": "platform_id",
998
998
  "required": true
999
999
  }
1000
1000
  },
1001
- "description": "Get details for a specific branch",
1001
+ "description": "Get details of a specific platform",
1002
1002
  "examples": [
1003
- "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
1004
- "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
1005
- "$ 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"
1003
+ "$ 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",
1004
+ "$ xano platform get 23629 -o json"
1006
1005
  ],
1007
1006
  "flags": {
1008
1007
  "profile": {
@@ -1037,20 +1036,11 @@
1037
1036
  "json"
1038
1037
  ],
1039
1038
  "type": "option"
1040
- },
1041
- "workspace": {
1042
- "char": "w",
1043
- "description": "Workspace ID (uses profile workspace if not provided)",
1044
- "name": "workspace",
1045
- "required": false,
1046
- "hasDynamicHelp": false,
1047
- "multiple": false,
1048
- "type": "option"
1049
1039
  }
1050
1040
  },
1051
1041
  "hasDynamicHelp": false,
1052
1042
  "hiddenAliases": [],
1053
- "id": "branch:get",
1043
+ "id": "platform:get",
1054
1044
  "pluginAlias": "@xano/cli",
1055
1045
  "pluginName": "@xano/cli",
1056
1046
  "pluginType": "core",
@@ -1060,7 +1050,7 @@
1060
1050
  "relativePath": [
1061
1051
  "dist",
1062
1052
  "commands",
1063
- "branch",
1053
+ "platform",
1064
1054
  "get",
1065
1055
  "index.js"
1066
1056
  ]
@@ -1161,19 +1151,13 @@
1161
1151
  "index.js"
1162
1152
  ]
1163
1153
  },
1164
- "platform:get": {
1154
+ "platform:list": {
1165
1155
  "aliases": [],
1166
- "args": {
1167
- "platform_id": {
1168
- "description": "Platform ID to retrieve",
1169
- "name": "platform_id",
1170
- "required": true
1171
- }
1172
- },
1173
- "description": "Get details of a specific platform",
1156
+ "args": {},
1157
+ "description": "List all platforms",
1174
1158
  "examples": [
1175
- "$ 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",
1176
- "$ xano platform get 23629 -o json"
1159
+ "$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
1160
+ "$ xano platform list --output json"
1177
1161
  ],
1178
1162
  "flags": {
1179
1163
  "profile": {
@@ -1212,7 +1196,7 @@
1212
1196
  },
1213
1197
  "hasDynamicHelp": false,
1214
1198
  "hiddenAliases": [],
1215
- "id": "platform:get",
1199
+ "id": "platform:list",
1216
1200
  "pluginAlias": "@xano/cli",
1217
1201
  "pluginName": "@xano/cli",
1218
1202
  "pluginType": "core",
@@ -1223,17 +1207,70 @@
1223
1207
  "dist",
1224
1208
  "commands",
1225
1209
  "platform",
1226
- "get",
1210
+ "list",
1227
1211
  "index.js"
1228
1212
  ]
1229
1213
  },
1230
- "platform:list": {
1214
+ "profile:delete": {
1231
1215
  "aliases": [],
1232
- "args": {},
1233
- "description": "List all platforms",
1216
+ "args": {
1217
+ "name": {
1218
+ "description": "Profile name to delete",
1219
+ "name": "name",
1220
+ "required": true
1221
+ }
1222
+ },
1223
+ "description": "Delete a profile configuration",
1234
1224
  "examples": [
1235
- "$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
1236
- "$ xano platform list --output json"
1225
+ "$ 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
+ "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
1227
+ "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
1228
+ ],
1229
+ "flags": {
1230
+ "force": {
1231
+ "char": "f",
1232
+ "description": "Skip confirmation prompt",
1233
+ "name": "force",
1234
+ "required": false,
1235
+ "allowNo": false,
1236
+ "type": "boolean"
1237
+ }
1238
+ },
1239
+ "hasDynamicHelp": false,
1240
+ "hiddenAliases": [],
1241
+ "id": "profile:delete",
1242
+ "pluginAlias": "@xano/cli",
1243
+ "pluginName": "@xano/cli",
1244
+ "pluginType": "core",
1245
+ "strict": true,
1246
+ "enableJsonFlag": false,
1247
+ "isESM": true,
1248
+ "relativePath": [
1249
+ "dist",
1250
+ "commands",
1251
+ "profile",
1252
+ "delete",
1253
+ "index.js"
1254
+ ]
1255
+ },
1256
+ "profile:edit": {
1257
+ "aliases": [],
1258
+ "args": {
1259
+ "name": {
1260
+ "description": "Profile name to edit (uses default profile if not specified)",
1261
+ "name": "name",
1262
+ "required": false
1263
+ }
1264
+ },
1265
+ "description": "Edit an existing profile configuration",
1266
+ "examples": [
1267
+ "$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1268
+ "$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
1269
+ "$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
1270
+ "$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1271
+ "$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1272
+ "$ xano profile:edit --insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1273
+ "$ xano profile:edit --remove-insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
1237
1274
  ],
1238
1275
  "flags": {
1239
1276
  "profile": {
@@ -1255,24 +1292,83 @@
1255
1292
  "allowNo": false,
1256
1293
  "type": "boolean"
1257
1294
  },
1258
- "output": {
1259
- "char": "o",
1260
- "description": "Output format",
1261
- "name": "output",
1295
+ "access_token": {
1296
+ "char": "t",
1297
+ "description": "Update access token for the Xano Metadata API",
1298
+ "name": "access_token",
1299
+ "required": false,
1300
+ "hasDynamicHelp": false,
1301
+ "multiple": false,
1302
+ "type": "option"
1303
+ },
1304
+ "account_origin": {
1305
+ "char": "a",
1306
+ "description": "Update account origin URL",
1307
+ "name": "account_origin",
1308
+ "required": false,
1309
+ "hasDynamicHelp": false,
1310
+ "multiple": false,
1311
+ "type": "option"
1312
+ },
1313
+ "branch": {
1314
+ "char": "b",
1315
+ "description": "Update branch name",
1316
+ "name": "branch",
1317
+ "required": false,
1318
+ "hasDynamicHelp": false,
1319
+ "multiple": false,
1320
+ "type": "option"
1321
+ },
1322
+ "insecure": {
1323
+ "description": "Enable insecure mode (skip TLS certificate verification)",
1324
+ "name": "insecure",
1325
+ "required": false,
1326
+ "allowNo": false,
1327
+ "type": "boolean"
1328
+ },
1329
+ "instance_origin": {
1330
+ "char": "i",
1331
+ "description": "Update instance origin URL",
1332
+ "name": "instance_origin",
1333
+ "required": false,
1334
+ "hasDynamicHelp": false,
1335
+ "multiple": false,
1336
+ "type": "option"
1337
+ },
1338
+ "remove-branch": {
1339
+ "description": "Remove branch from profile",
1340
+ "name": "remove-branch",
1341
+ "required": false,
1342
+ "allowNo": false,
1343
+ "type": "boolean"
1344
+ },
1345
+ "remove-insecure": {
1346
+ "description": "Remove insecure mode from profile",
1347
+ "name": "remove-insecure",
1348
+ "required": false,
1349
+ "allowNo": false,
1350
+ "type": "boolean"
1351
+ },
1352
+ "remove-workspace": {
1353
+ "description": "Remove workspace from profile",
1354
+ "name": "remove-workspace",
1355
+ "required": false,
1356
+ "allowNo": false,
1357
+ "type": "boolean"
1358
+ },
1359
+ "workspace": {
1360
+ "char": "w",
1361
+ "description": "Update workspace name",
1362
+ "name": "workspace",
1262
1363
  "required": false,
1263
- "default": "summary",
1264
1364
  "hasDynamicHelp": false,
1265
1365
  "multiple": false,
1266
- "options": [
1267
- "summary",
1268
- "json"
1269
- ],
1270
1366
  "type": "option"
1271
1367
  }
1272
1368
  },
1273
1369
  "hasDynamicHelp": false,
1274
1370
  "hiddenAliases": [],
1275
- "id": "platform:list",
1371
+ "id": "profile:edit",
1276
1372
  "pluginAlias": "@xano/cli",
1277
1373
  "pluginName": "@xano/cli",
1278
1374
  "pluginType": "core",
@@ -1282,8 +1378,8 @@
1282
1378
  "relativePath": [
1283
1379
  "dist",
1284
1380
  "commands",
1285
- "platform",
1286
- "list",
1381
+ "profile",
1382
+ "edit",
1287
1383
  "index.js"
1288
1384
  ]
1289
1385
  },
@@ -1348,24 +1444,20 @@
1348
1444
  "index.js"
1349
1445
  ]
1350
1446
  },
1351
- "profile:edit": {
1447
+ "branch:get": {
1352
1448
  "aliases": [],
1353
1449
  "args": {
1354
- "name": {
1355
- "description": "Profile name to edit (uses default profile if not specified)",
1356
- "name": "name",
1357
- "required": false
1450
+ "branch_label": {
1451
+ "description": "Branch label (e.g., \"v1\", \"dev\")",
1452
+ "name": "branch_label",
1453
+ "required": true
1358
1454
  }
1359
1455
  },
1360
- "description": "Edit an existing profile configuration",
1456
+ "description": "Get details for a specific branch",
1361
1457
  "examples": [
1362
- "$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1363
- "$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
1364
- "$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
1365
- "$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1366
- "$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1367
- "$ xano profile:edit --insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1368
- "$ xano profile:edit --remove-insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
1458
+ "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
1459
+ "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
1460
+ "$ 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"
1369
1461
  ],
1370
1462
  "flags": {
1371
1463
  "profile": {
@@ -1387,73 +1479,23 @@
1387
1479
  "allowNo": false,
1388
1480
  "type": "boolean"
1389
1481
  },
1390
- "access_token": {
1391
- "char": "t",
1392
- "description": "Update access token for the Xano Metadata API",
1393
- "name": "access_token",
1394
- "required": false,
1395
- "hasDynamicHelp": false,
1396
- "multiple": false,
1397
- "type": "option"
1398
- },
1399
- "account_origin": {
1400
- "char": "a",
1401
- "description": "Update account origin URL",
1402
- "name": "account_origin",
1403
- "required": false,
1404
- "hasDynamicHelp": false,
1405
- "multiple": false,
1406
- "type": "option"
1407
- },
1408
- "branch": {
1409
- "char": "b",
1410
- "description": "Update branch name",
1411
- "name": "branch",
1412
- "required": false,
1413
- "hasDynamicHelp": false,
1414
- "multiple": false,
1415
- "type": "option"
1416
- },
1417
- "insecure": {
1418
- "description": "Enable insecure mode (skip TLS certificate verification)",
1419
- "name": "insecure",
1420
- "required": false,
1421
- "allowNo": false,
1422
- "type": "boolean"
1423
- },
1424
- "instance_origin": {
1425
- "char": "i",
1426
- "description": "Update instance origin URL",
1427
- "name": "instance_origin",
1482
+ "output": {
1483
+ "char": "o",
1484
+ "description": "Output format",
1485
+ "name": "output",
1428
1486
  "required": false,
1487
+ "default": "summary",
1429
1488
  "hasDynamicHelp": false,
1430
1489
  "multiple": false,
1490
+ "options": [
1491
+ "summary",
1492
+ "json"
1493
+ ],
1431
1494
  "type": "option"
1432
1495
  },
1433
- "remove-branch": {
1434
- "description": "Remove branch from profile",
1435
- "name": "remove-branch",
1436
- "required": false,
1437
- "allowNo": false,
1438
- "type": "boolean"
1439
- },
1440
- "remove-insecure": {
1441
- "description": "Remove insecure mode from profile",
1442
- "name": "remove-insecure",
1443
- "required": false,
1444
- "allowNo": false,
1445
- "type": "boolean"
1446
- },
1447
- "remove-workspace": {
1448
- "description": "Remove workspace from profile",
1449
- "name": "remove-workspace",
1450
- "required": false,
1451
- "allowNo": false,
1452
- "type": "boolean"
1453
- },
1454
1496
  "workspace": {
1455
1497
  "char": "w",
1456
- "description": "Update workspace name",
1498
+ "description": "Workspace ID (uses profile workspace if not provided)",
1457
1499
  "name": "workspace",
1458
1500
  "required": false,
1459
1501
  "hasDynamicHelp": false,
@@ -1463,7 +1505,7 @@
1463
1505
  },
1464
1506
  "hasDynamicHelp": false,
1465
1507
  "hiddenAliases": [],
1466
- "id": "profile:edit",
1508
+ "id": "branch:get",
1467
1509
  "pluginAlias": "@xano/cli",
1468
1510
  "pluginName": "@xano/cli",
1469
1511
  "pluginType": "core",
@@ -1473,8 +1515,8 @@
1473
1515
  "relativePath": [
1474
1516
  "dist",
1475
1517
  "commands",
1476
- "profile",
1477
- "edit",
1518
+ "branch",
1519
+ "get",
1478
1520
  "index.js"
1479
1521
  ]
1480
1522
  },
@@ -1574,67 +1616,14 @@
1574
1616
  "aliases": [],
1575
1617
  "args": {},
1576
1618
  "description": "Print the access token for the default profile",
1577
- "examples": [
1578
- "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1579
- "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1580
- ],
1581
- "flags": {},
1582
- "hasDynamicHelp": false,
1583
- "hiddenAliases": [],
1584
- "id": "profile:token",
1585
- "pluginAlias": "@xano/cli",
1586
- "pluginName": "@xano/cli",
1587
- "pluginType": "core",
1588
- "strict": true,
1589
- "enableJsonFlag": false,
1590
- "isESM": true,
1591
- "relativePath": [
1592
- "dist",
1593
- "commands",
1594
- "profile",
1595
- "token",
1596
- "index.js"
1597
- ]
1598
- },
1599
- "profile:wizard": {
1600
- "aliases": [],
1601
- "args": {},
1602
- "description": "Create a new profile configuration using an interactive wizard",
1603
- "examples": [
1604
- "$ 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"
1605
- ],
1606
- "flags": {
1607
- "insecure": {
1608
- "char": "k",
1609
- "description": "Skip TLS certificate verification (for self-signed certificates)",
1610
- "name": "insecure",
1611
- "required": false,
1612
- "allowNo": false,
1613
- "type": "boolean"
1614
- },
1615
- "name": {
1616
- "char": "n",
1617
- "description": "Profile name (skip prompt if provided)",
1618
- "name": "name",
1619
- "required": false,
1620
- "hasDynamicHelp": false,
1621
- "multiple": false,
1622
- "type": "option"
1623
- },
1624
- "origin": {
1625
- "char": "o",
1626
- "description": "Xano instance origin URL",
1627
- "name": "origin",
1628
- "required": false,
1629
- "default": "https://app.xano.com",
1630
- "hasDynamicHelp": false,
1631
- "multiple": false,
1632
- "type": "option"
1633
- }
1634
- },
1619
+ "examples": [
1620
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1621
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1622
+ ],
1623
+ "flags": {},
1635
1624
  "hasDynamicHelp": false,
1636
1625
  "hiddenAliases": [],
1637
- "id": "profile:wizard",
1626
+ "id": "profile:token",
1638
1627
  "pluginAlias": "@xano/cli",
1639
1628
  "pluginName": "@xano/cli",
1640
1629
  "pluginType": "core",
@@ -1645,7 +1634,7 @@
1645
1634
  "dist",
1646
1635
  "commands",
1647
1636
  "profile",
1648
- "wizard",
1637
+ "token",
1649
1638
  "index.js"
1650
1639
  ]
1651
1640
  },
@@ -1870,6 +1859,59 @@
1870
1859
  "index.js"
1871
1860
  ]
1872
1861
  },
1862
+ "profile:wizard": {
1863
+ "aliases": [],
1864
+ "args": {},
1865
+ "description": "Create a new profile configuration using an interactive wizard",
1866
+ "examples": [
1867
+ "$ 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"
1868
+ ],
1869
+ "flags": {
1870
+ "insecure": {
1871
+ "char": "k",
1872
+ "description": "Skip TLS certificate verification (for self-signed certificates)",
1873
+ "name": "insecure",
1874
+ "required": false,
1875
+ "allowNo": false,
1876
+ "type": "boolean"
1877
+ },
1878
+ "name": {
1879
+ "char": "n",
1880
+ "description": "Profile name (skip prompt if provided)",
1881
+ "name": "name",
1882
+ "required": false,
1883
+ "hasDynamicHelp": false,
1884
+ "multiple": false,
1885
+ "type": "option"
1886
+ },
1887
+ "origin": {
1888
+ "char": "o",
1889
+ "description": "Xano instance origin URL",
1890
+ "name": "origin",
1891
+ "required": false,
1892
+ "default": "https://app.xano.com",
1893
+ "hasDynamicHelp": false,
1894
+ "multiple": false,
1895
+ "type": "option"
1896
+ }
1897
+ },
1898
+ "hasDynamicHelp": false,
1899
+ "hiddenAliases": [],
1900
+ "id": "profile:wizard",
1901
+ "pluginAlias": "@xano/cli",
1902
+ "pluginName": "@xano/cli",
1903
+ "pluginType": "core",
1904
+ "strict": true,
1905
+ "enableJsonFlag": false,
1906
+ "isESM": true,
1907
+ "relativePath": [
1908
+ "dist",
1909
+ "commands",
1910
+ "profile",
1911
+ "wizard",
1912
+ "index.js"
1913
+ ]
1914
+ },
1873
1915
  "release:edit": {
1874
1916
  "aliases": [],
1875
1917
  "args": {
@@ -1963,20 +2005,19 @@
1963
2005
  "index.js"
1964
2006
  ]
1965
2007
  },
1966
- "release:export": {
2008
+ "release:get": {
1967
2009
  "aliases": [],
1968
2010
  "args": {
1969
2011
  "release_name": {
1970
- "description": "Release name to export",
2012
+ "description": "Release name to retrieve",
1971
2013
  "name": "release_name",
1972
2014
  "required": true
1973
2015
  }
1974
2016
  },
1975
- "description": "Export (download) a release to a local file",
2017
+ "description": "Get details of a specific release",
1976
2018
  "examples": [
1977
- "$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
1978
- "$ xano release export v1.0 --output ./backups/my-release.tar.gz",
1979
- "$ xano release export v1.0 -o json"
2019
+ "$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2020
+ "$ xano release get v1.0 -w 5 -o json"
1980
2021
  ],
1981
2022
  "flags": {
1982
2023
  "profile": {
@@ -1998,10 +2039,10 @@
1998
2039
  "allowNo": false,
1999
2040
  "type": "boolean"
2000
2041
  },
2001
- "format": {
2042
+ "output": {
2002
2043
  "char": "o",
2003
2044
  "description": "Output format",
2004
- "name": "format",
2045
+ "name": "output",
2005
2046
  "required": false,
2006
2047
  "default": "summary",
2007
2048
  "hasDynamicHelp": false,
@@ -2012,14 +2053,6 @@
2012
2053
  ],
2013
2054
  "type": "option"
2014
2055
  },
2015
- "output": {
2016
- "description": "Output file path (defaults to ./release-{name}.tar.gz)",
2017
- "name": "output",
2018
- "required": false,
2019
- "hasDynamicHelp": false,
2020
- "multiple": false,
2021
- "type": "option"
2022
- },
2023
2056
  "workspace": {
2024
2057
  "char": "w",
2025
2058
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2032,7 +2065,7 @@
2032
2065
  },
2033
2066
  "hasDynamicHelp": false,
2034
2067
  "hiddenAliases": [],
2035
- "id": "release:export",
2068
+ "id": "release:get",
2036
2069
  "pluginAlias": "@xano/cli",
2037
2070
  "pluginName": "@xano/cli",
2038
2071
  "pluginType": "core",
@@ -2043,23 +2076,24 @@
2043
2076
  "dist",
2044
2077
  "commands",
2045
2078
  "release",
2046
- "export",
2079
+ "get",
2047
2080
  "index.js"
2048
2081
  ]
2049
2082
  },
2050
- "release:get": {
2083
+ "release:export": {
2051
2084
  "aliases": [],
2052
2085
  "args": {
2053
2086
  "release_name": {
2054
- "description": "Release name to retrieve",
2087
+ "description": "Release name to export",
2055
2088
  "name": "release_name",
2056
2089
  "required": true
2057
2090
  }
2058
2091
  },
2059
- "description": "Get details of a specific release",
2092
+ "description": "Export (download) a release to a local file",
2060
2093
  "examples": [
2061
- "$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
2062
- "$ xano release get v1.0 -w 5 -o json"
2094
+ "$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
2095
+ "$ xano release export v1.0 --output ./backups/my-release.tar.gz",
2096
+ "$ xano release export v1.0 -o json"
2063
2097
  ],
2064
2098
  "flags": {
2065
2099
  "profile": {
@@ -2081,10 +2115,10 @@
2081
2115
  "allowNo": false,
2082
2116
  "type": "boolean"
2083
2117
  },
2084
- "output": {
2118
+ "format": {
2085
2119
  "char": "o",
2086
2120
  "description": "Output format",
2087
- "name": "output",
2121
+ "name": "format",
2088
2122
  "required": false,
2089
2123
  "default": "summary",
2090
2124
  "hasDynamicHelp": false,
@@ -2095,6 +2129,14 @@
2095
2129
  ],
2096
2130
  "type": "option"
2097
2131
  },
2132
+ "output": {
2133
+ "description": "Output file path (defaults to ./release-{name}.tar.gz)",
2134
+ "name": "output",
2135
+ "required": false,
2136
+ "hasDynamicHelp": false,
2137
+ "multiple": false,
2138
+ "type": "option"
2139
+ },
2098
2140
  "workspace": {
2099
2141
  "char": "w",
2100
2142
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2107,7 +2149,7 @@
2107
2149
  },
2108
2150
  "hasDynamicHelp": false,
2109
2151
  "hiddenAliases": [],
2110
- "id": "release:get",
2152
+ "id": "release:export",
2111
2153
  "pluginAlias": "@xano/cli",
2112
2154
  "pluginName": "@xano/cli",
2113
2155
  "pluginType": "core",
@@ -2118,38 +2160,114 @@
2118
2160
  "dist",
2119
2161
  "commands",
2120
2162
  "release",
2121
- "get",
2163
+ "export",
2122
2164
  "index.js"
2123
2165
  ]
2124
2166
  },
2125
- "profile:delete": {
2167
+ "release:push": {
2126
2168
  "aliases": [],
2127
2169
  "args": {
2128
- "name": {
2129
- "description": "Profile name to delete",
2130
- "name": "name",
2170
+ "directory": {
2171
+ "description": "Directory containing .xs documents to create the release from",
2172
+ "name": "directory",
2131
2173
  "required": true
2132
2174
  }
2133
2175
  },
2134
- "description": "Delete a profile configuration",
2176
+ "description": "Create a new release from local XanoScript files via the multidoc endpoint",
2135
2177
  "examples": [
2136
- "$ 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",
2137
- "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
2138
- "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
2178
+ "$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
2179
+ "$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
2180
+ "$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
2181
+ "$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
2182
+ "$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
2139
2183
  ],
2140
2184
  "flags": {
2141
- "force": {
2142
- "char": "f",
2143
- "description": "Skip confirmation prompt",
2144
- "name": "force",
2185
+ "profile": {
2186
+ "char": "p",
2187
+ "description": "Profile to use (uses default profile if not specified)",
2188
+ "env": "XANO_PROFILE",
2189
+ "name": "profile",
2190
+ "required": false,
2191
+ "hasDynamicHelp": false,
2192
+ "multiple": false,
2193
+ "type": "option"
2194
+ },
2195
+ "verbose": {
2196
+ "char": "v",
2197
+ "description": "Show detailed request/response information",
2198
+ "env": "XANO_VERBOSE",
2199
+ "name": "verbose",
2200
+ "required": false,
2201
+ "allowNo": false,
2202
+ "type": "boolean"
2203
+ },
2204
+ "description": {
2205
+ "char": "d",
2206
+ "description": "Release description",
2207
+ "name": "description",
2208
+ "required": false,
2209
+ "default": "",
2210
+ "hasDynamicHelp": false,
2211
+ "multiple": false,
2212
+ "type": "option"
2213
+ },
2214
+ "env": {
2215
+ "description": "Include environment variables (default: true, use --no-env to exclude)",
2216
+ "name": "env",
2217
+ "required": false,
2218
+ "allowNo": true,
2219
+ "type": "boolean"
2220
+ },
2221
+ "hotfix": {
2222
+ "description": "Mark as a hotfix release",
2223
+ "name": "hotfix",
2145
2224
  "required": false,
2146
2225
  "allowNo": false,
2147
2226
  "type": "boolean"
2227
+ },
2228
+ "name": {
2229
+ "char": "n",
2230
+ "description": "Name for the release",
2231
+ "name": "name",
2232
+ "required": true,
2233
+ "hasDynamicHelp": false,
2234
+ "multiple": false,
2235
+ "type": "option"
2236
+ },
2237
+ "output": {
2238
+ "char": "o",
2239
+ "description": "Output format",
2240
+ "name": "output",
2241
+ "required": false,
2242
+ "default": "summary",
2243
+ "hasDynamicHelp": false,
2244
+ "multiple": false,
2245
+ "options": [
2246
+ "summary",
2247
+ "json"
2248
+ ],
2249
+ "type": "option"
2250
+ },
2251
+ "records": {
2252
+ "description": "Include records (default: true, use --no-records to exclude)",
2253
+ "name": "records",
2254
+ "required": false,
2255
+ "allowNo": true,
2256
+ "type": "boolean"
2257
+ },
2258
+ "workspace": {
2259
+ "char": "w",
2260
+ "description": "Workspace ID (optional if set in profile)",
2261
+ "name": "workspace",
2262
+ "required": false,
2263
+ "hasDynamicHelp": false,
2264
+ "multiple": false,
2265
+ "type": "option"
2148
2266
  }
2149
2267
  },
2150
2268
  "hasDynamicHelp": false,
2151
2269
  "hiddenAliases": [],
2152
- "id": "profile:delete",
2270
+ "id": "release:push",
2153
2271
  "pluginAlias": "@xano/cli",
2154
2272
  "pluginName": "@xano/cli",
2155
2273
  "pluginType": "core",
@@ -2159,18 +2277,25 @@
2159
2277
  "relativePath": [
2160
2278
  "dist",
2161
2279
  "commands",
2162
- "profile",
2163
- "delete",
2280
+ "release",
2281
+ "push",
2164
2282
  "index.js"
2165
2283
  ]
2166
2284
  },
2167
- "release:import": {
2285
+ "release:pull": {
2168
2286
  "aliases": [],
2169
- "args": {},
2170
- "description": "Import a release file into a workspace",
2287
+ "args": {
2288
+ "directory": {
2289
+ "description": "Output directory for pulled documents",
2290
+ "name": "directory",
2291
+ "required": true
2292
+ }
2293
+ },
2294
+ "description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
2171
2295
  "examples": [
2172
- "$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
2173
- "$ xano release import --file ./my-release.tar.gz -o json"
2296
+ "$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
2297
+ "$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
2298
+ "$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
2174
2299
  ],
2175
2300
  "flags": {
2176
2301
  "profile": {
@@ -2192,32 +2317,32 @@
2192
2317
  "allowNo": false,
2193
2318
  "type": "boolean"
2194
2319
  },
2195
- "file": {
2196
- "char": "f",
2197
- "description": "Path to the release file (.tar.gz)",
2198
- "name": "file",
2199
- "required": true,
2200
- "hasDynamicHelp": false,
2201
- "multiple": false,
2202
- "type": "option"
2203
- },
2204
- "output": {
2205
- "char": "o",
2206
- "description": "Output format",
2207
- "name": "output",
2320
+ "env": {
2321
+ "description": "Include environment variables",
2322
+ "name": "env",
2323
+ "required": false,
2324
+ "allowNo": false,
2325
+ "type": "boolean"
2326
+ },
2327
+ "records": {
2328
+ "description": "Include records",
2329
+ "name": "records",
2208
2330
  "required": false,
2209
- "default": "summary",
2331
+ "allowNo": false,
2332
+ "type": "boolean"
2333
+ },
2334
+ "release": {
2335
+ "char": "r",
2336
+ "description": "Release name to pull from",
2337
+ "name": "release",
2338
+ "required": true,
2210
2339
  "hasDynamicHelp": false,
2211
2340
  "multiple": false,
2212
- "options": [
2213
- "summary",
2214
- "json"
2215
- ],
2216
2341
  "type": "option"
2217
2342
  },
2218
2343
  "workspace": {
2219
2344
  "char": "w",
2220
- "description": "Workspace ID (uses profile workspace if not provided)",
2345
+ "description": "Workspace ID (optional if set in profile)",
2221
2346
  "name": "workspace",
2222
2347
  "required": false,
2223
2348
  "hasDynamicHelp": false,
@@ -2227,7 +2352,7 @@
2227
2352
  },
2228
2353
  "hasDynamicHelp": false,
2229
2354
  "hiddenAliases": [],
2230
- "id": "release:import",
2355
+ "id": "release:pull",
2231
2356
  "pluginAlias": "@xano/cli",
2232
2357
  "pluginName": "@xano/cli",
2233
2358
  "pluginType": "core",
@@ -2238,7 +2363,7 @@
2238
2363
  "dist",
2239
2364
  "commands",
2240
2365
  "release",
2241
- "import",
2366
+ "pull",
2242
2367
  "index.js"
2243
2368
  ]
2244
2369
  },
@@ -2311,20 +2436,15 @@
2311
2436
  "index.js"
2312
2437
  ]
2313
2438
  },
2314
- "release:pull": {
2439
+ "static_host:list": {
2315
2440
  "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",
2441
+ "args": {},
2442
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
2324
2443
  "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"
2444
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2445
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2446
+ "$ 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",
2447
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
2328
2448
  ],
2329
2449
  "flags": {
2330
2450
  "profile": {
@@ -2346,25 +2466,34 @@
2346
2466
  "allowNo": false,
2347
2467
  "type": "boolean"
2348
2468
  },
2349
- "env": {
2350
- "description": "Include environment variables",
2351
- "name": "env",
2469
+ "output": {
2470
+ "char": "o",
2471
+ "description": "Output format",
2472
+ "name": "output",
2352
2473
  "required": false,
2353
- "allowNo": false,
2354
- "type": "boolean"
2474
+ "default": "summary",
2475
+ "hasDynamicHelp": false,
2476
+ "multiple": false,
2477
+ "options": [
2478
+ "summary",
2479
+ "json"
2480
+ ],
2481
+ "type": "option"
2355
2482
  },
2356
- "records": {
2357
- "description": "Include records",
2358
- "name": "records",
2483
+ "page": {
2484
+ "description": "Page number for pagination",
2485
+ "name": "page",
2359
2486
  "required": false,
2360
- "allowNo": false,
2361
- "type": "boolean"
2487
+ "default": 1,
2488
+ "hasDynamicHelp": false,
2489
+ "multiple": false,
2490
+ "type": "option"
2362
2491
  },
2363
- "release": {
2364
- "char": "r",
2365
- "description": "Release name to pull from",
2366
- "name": "release",
2367
- "required": true,
2492
+ "per_page": {
2493
+ "description": "Number of results per page",
2494
+ "name": "per_page",
2495
+ "required": false,
2496
+ "default": 50,
2368
2497
  "hasDynamicHelp": false,
2369
2498
  "multiple": false,
2370
2499
  "type": "option"
@@ -2381,7 +2510,7 @@
2381
2510
  },
2382
2511
  "hasDynamicHelp": false,
2383
2512
  "hiddenAliases": [],
2384
- "id": "release:pull",
2513
+ "id": "static_host:list",
2385
2514
  "pluginAlias": "@xano/cli",
2386
2515
  "pluginName": "@xano/cli",
2387
2516
  "pluginType": "core",
@@ -2391,20 +2520,18 @@
2391
2520
  "relativePath": [
2392
2521
  "dist",
2393
2522
  "commands",
2394
- "release",
2395
- "pull",
2523
+ "static_host",
2524
+ "list",
2396
2525
  "index.js"
2397
2526
  ]
2398
2527
  },
2399
- "static_host:list": {
2528
+ "release:import": {
2400
2529
  "aliases": [],
2401
2530
  "args": {},
2402
- "description": "List all static hosts in a workspace from the Xano Metadata API",
2531
+ "description": "Import a release file into a workspace",
2403
2532
  "examples": [
2404
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2405
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2406
- "$ 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",
2407
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
2533
+ "$ xano release import --file ./my-release.tar.gz\nImported release as #15\n",
2534
+ "$ xano release import --file ./my-release.tar.gz -o json"
2408
2535
  ],
2409
2536
  "flags": {
2410
2537
  "profile": {
@@ -2426,6 +2553,15 @@
2426
2553
  "allowNo": false,
2427
2554
  "type": "boolean"
2428
2555
  },
2556
+ "file": {
2557
+ "char": "f",
2558
+ "description": "Path to the release file (.tar.gz)",
2559
+ "name": "file",
2560
+ "required": true,
2561
+ "hasDynamicHelp": false,
2562
+ "multiple": false,
2563
+ "type": "option"
2564
+ },
2429
2565
  "output": {
2430
2566
  "char": "o",
2431
2567
  "description": "Output format",
@@ -2440,27 +2576,9 @@
2440
2576
  ],
2441
2577
  "type": "option"
2442
2578
  },
2443
- "page": {
2444
- "description": "Page number for pagination",
2445
- "name": "page",
2446
- "required": false,
2447
- "default": 1,
2448
- "hasDynamicHelp": false,
2449
- "multiple": false,
2450
- "type": "option"
2451
- },
2452
- "per_page": {
2453
- "description": "Number of results per page",
2454
- "name": "per_page",
2455
- "required": false,
2456
- "default": 50,
2457
- "hasDynamicHelp": false,
2458
- "multiple": false,
2459
- "type": "option"
2460
- },
2461
2579
  "workspace": {
2462
2580
  "char": "w",
2463
- "description": "Workspace ID (optional if set in profile)",
2581
+ "description": "Workspace ID (uses profile workspace if not provided)",
2464
2582
  "name": "workspace",
2465
2583
  "required": false,
2466
2584
  "hasDynamicHelp": false,
@@ -2470,7 +2588,7 @@
2470
2588
  },
2471
2589
  "hasDynamicHelp": false,
2472
2590
  "hiddenAliases": [],
2473
- "id": "static_host:list",
2591
+ "id": "release:import",
2474
2592
  "pluginAlias": "@xano/cli",
2475
2593
  "pluginName": "@xano/cli",
2476
2594
  "pluginType": "core",
@@ -2480,8 +2598,8 @@
2480
2598
  "relativePath": [
2481
2599
  "dist",
2482
2600
  "commands",
2483
- "static_host",
2484
- "list",
2601
+ "release",
2602
+ "import",
2485
2603
  "index.js"
2486
2604
  ]
2487
2605
  },
@@ -2709,7 +2827,7 @@
2709
2827
  "index.js"
2710
2828
  ]
2711
2829
  },
2712
- "tenant:deploy_platform": {
2830
+ "tenant:deploy_release": {
2713
2831
  "aliases": [],
2714
2832
  "args": {
2715
2833
  "tenant_name": {
@@ -2718,106 +2836,10 @@
2718
2836
  "required": true
2719
2837
  }
2720
2838
  },
2721
- "description": "Deploy a platform version to a tenant",
2722
- "examples": [
2723
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
2724
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
2725
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
2726
- ],
2727
- "flags": {
2728
- "profile": {
2729
- "char": "p",
2730
- "description": "Profile to use (uses default profile if not specified)",
2731
- "env": "XANO_PROFILE",
2732
- "name": "profile",
2733
- "required": false,
2734
- "hasDynamicHelp": false,
2735
- "multiple": false,
2736
- "type": "option"
2737
- },
2738
- "verbose": {
2739
- "char": "v",
2740
- "description": "Show detailed request/response information",
2741
- "env": "XANO_VERBOSE",
2742
- "name": "verbose",
2743
- "required": false,
2744
- "allowNo": false,
2745
- "type": "boolean"
2746
- },
2747
- "license": {
2748
- "char": "l",
2749
- "description": "Path to a license override file to apply after deploy",
2750
- "name": "license",
2751
- "required": false,
2752
- "hasDynamicHelp": false,
2753
- "multiple": false,
2754
- "type": "option"
2755
- },
2756
- "output": {
2757
- "char": "o",
2758
- "description": "Output format",
2759
- "name": "output",
2760
- "required": false,
2761
- "default": "summary",
2762
- "hasDynamicHelp": false,
2763
- "multiple": false,
2764
- "options": [
2765
- "summary",
2766
- "json"
2767
- ],
2768
- "type": "option"
2769
- },
2770
- "platform_id": {
2771
- "description": "Platform ID to deploy",
2772
- "name": "platform_id",
2773
- "required": true,
2774
- "hasDynamicHelp": false,
2775
- "multiple": false,
2776
- "type": "option"
2777
- },
2778
- "workspace": {
2779
- "char": "w",
2780
- "description": "Workspace ID (uses profile workspace if not provided)",
2781
- "name": "workspace",
2782
- "required": false,
2783
- "hasDynamicHelp": false,
2784
- "multiple": false,
2785
- "type": "option"
2786
- }
2787
- },
2788
- "hasDynamicHelp": false,
2789
- "hiddenAliases": [],
2790
- "id": "tenant:deploy_platform",
2791
- "pluginAlias": "@xano/cli",
2792
- "pluginName": "@xano/cli",
2793
- "pluginType": "core",
2794
- "strict": true,
2795
- "enableJsonFlag": false,
2796
- "isESM": true,
2797
- "relativePath": [
2798
- "dist",
2799
- "commands",
2800
- "tenant",
2801
- "deploy_platform",
2802
- "index.js"
2803
- ]
2804
- },
2805
- "release:push": {
2806
- "aliases": [],
2807
- "args": {
2808
- "directory": {
2809
- "description": "Directory containing .xs documents to create the release from",
2810
- "name": "directory",
2811
- "required": true
2812
- }
2813
- },
2814
- "description": "Create a new release from local XanoScript files via the multidoc endpoint",
2839
+ "description": "Deploy a release to a tenant",
2815
2840
  "examples": [
2816
- "$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
2817
- "$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
2818
- "$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
2819
- "$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
2820
- "$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
2841
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
2842
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
2821
2843
  ],
2822
2844
  "flags": {
2823
2845
  "profile": {
@@ -2830,48 +2852,15 @@
2830
2852
  "multiple": false,
2831
2853
  "type": "option"
2832
2854
  },
2833
- "verbose": {
2834
- "char": "v",
2835
- "description": "Show detailed request/response information",
2836
- "env": "XANO_VERBOSE",
2837
- "name": "verbose",
2838
- "required": false,
2839
- "allowNo": false,
2840
- "type": "boolean"
2841
- },
2842
- "description": {
2843
- "char": "d",
2844
- "description": "Release description",
2845
- "name": "description",
2846
- "required": false,
2847
- "default": "",
2848
- "hasDynamicHelp": false,
2849
- "multiple": false,
2850
- "type": "option"
2851
- },
2852
- "env": {
2853
- "description": "Include environment variables (default: true, use --no-env to exclude)",
2854
- "name": "env",
2855
- "required": false,
2856
- "allowNo": true,
2857
- "type": "boolean"
2858
- },
2859
- "hotfix": {
2860
- "description": "Mark as a hotfix release",
2861
- "name": "hotfix",
2855
+ "verbose": {
2856
+ "char": "v",
2857
+ "description": "Show detailed request/response information",
2858
+ "env": "XANO_VERBOSE",
2859
+ "name": "verbose",
2862
2860
  "required": false,
2863
2861
  "allowNo": false,
2864
2862
  "type": "boolean"
2865
2863
  },
2866
- "name": {
2867
- "char": "n",
2868
- "description": "Name for the release",
2869
- "name": "name",
2870
- "required": true,
2871
- "hasDynamicHelp": false,
2872
- "multiple": false,
2873
- "type": "option"
2874
- },
2875
2864
  "output": {
2876
2865
  "char": "o",
2877
2866
  "description": "Output format",
@@ -2886,16 +2875,18 @@
2886
2875
  ],
2887
2876
  "type": "option"
2888
2877
  },
2889
- "records": {
2890
- "description": "Include records (default: true, use --no-records to exclude)",
2891
- "name": "records",
2892
- "required": false,
2893
- "allowNo": true,
2894
- "type": "boolean"
2878
+ "release": {
2879
+ "char": "r",
2880
+ "description": "Release name to deploy",
2881
+ "name": "release",
2882
+ "required": true,
2883
+ "hasDynamicHelp": false,
2884
+ "multiple": false,
2885
+ "type": "option"
2895
2886
  },
2896
2887
  "workspace": {
2897
2888
  "char": "w",
2898
- "description": "Workspace ID (optional if set in profile)",
2889
+ "description": "Workspace ID (uses profile workspace if not provided)",
2899
2890
  "name": "workspace",
2900
2891
  "required": false,
2901
2892
  "hasDynamicHelp": false,
@@ -2905,7 +2896,7 @@
2905
2896
  },
2906
2897
  "hasDynamicHelp": false,
2907
2898
  "hiddenAliases": [],
2908
- "id": "release:push",
2899
+ "id": "tenant:deploy_release",
2909
2900
  "pluginAlias": "@xano/cli",
2910
2901
  "pluginName": "@xano/cli",
2911
2902
  "pluginType": "core",
@@ -2915,8 +2906,8 @@
2915
2906
  "relativePath": [
2916
2907
  "dist",
2917
2908
  "commands",
2918
- "release",
2919
- "push",
2909
+ "tenant",
2910
+ "deploy_release",
2920
2911
  "index.js"
2921
2912
  ]
2922
2913
  },
@@ -3049,19 +3040,19 @@
3049
3040
  "index.js"
3050
3041
  ]
3051
3042
  },
3052
- "tenant:deploy_release": {
3043
+ "tenant:get": {
3053
3044
  "aliases": [],
3054
3045
  "args": {
3055
3046
  "tenant_name": {
3056
- "description": "Tenant name to deploy to",
3047
+ "description": "Tenant name to retrieve",
3057
3048
  "name": "tenant_name",
3058
3049
  "required": true
3059
3050
  }
3060
3051
  },
3061
- "description": "Deploy a release to a tenant",
3052
+ "description": "Get details of a specific tenant",
3062
3053
  "examples": [
3063
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
3064
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
3054
+ "$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
3055
+ "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3065
3056
  ],
3066
3057
  "flags": {
3067
3058
  "profile": {
@@ -3097,15 +3088,6 @@
3097
3088
  ],
3098
3089
  "type": "option"
3099
3090
  },
3100
- "release": {
3101
- "char": "r",
3102
- "description": "Release name to deploy",
3103
- "name": "release",
3104
- "required": true,
3105
- "hasDynamicHelp": false,
3106
- "multiple": false,
3107
- "type": "option"
3108
- },
3109
3091
  "workspace": {
3110
3092
  "char": "w",
3111
3093
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3118,7 +3100,7 @@
3118
3100
  },
3119
3101
  "hasDynamicHelp": false,
3120
3102
  "hiddenAliases": [],
3121
- "id": "tenant:deploy_release",
3103
+ "id": "tenant:get",
3122
3104
  "pluginAlias": "@xano/cli",
3123
3105
  "pluginName": "@xano/cli",
3124
3106
  "pluginType": "core",
@@ -3129,7 +3111,7 @@
3129
3111
  "dist",
3130
3112
  "commands",
3131
3113
  "tenant",
3132
- "deploy_release",
3114
+ "get",
3133
3115
  "index.js"
3134
3116
  ]
3135
3117
  },
@@ -3216,13 +3198,20 @@
3216
3198
  "index.js"
3217
3199
  ]
3218
3200
  },
3219
- "tenant:list": {
3201
+ "tenant:deploy_platform": {
3220
3202
  "aliases": [],
3221
- "args": {},
3222
- "description": "List all tenants in a workspace",
3203
+ "args": {
3204
+ "tenant_name": {
3205
+ "description": "Tenant name to deploy to",
3206
+ "name": "tenant_name",
3207
+ "required": true
3208
+ }
3209
+ },
3210
+ "description": "Deploy a platform version to a tenant",
3223
3211
  "examples": [
3224
- "$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
3225
- "$ xano tenant list -w 5 --output json"
3212
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
3213
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
3214
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
3226
3215
  ],
3227
3216
  "flags": {
3228
3217
  "profile": {
@@ -3244,6 +3233,15 @@
3244
3233
  "allowNo": false,
3245
3234
  "type": "boolean"
3246
3235
  },
3236
+ "license": {
3237
+ "char": "l",
3238
+ "description": "Path to a license override file to apply after deploy",
3239
+ "name": "license",
3240
+ "required": false,
3241
+ "hasDynamicHelp": false,
3242
+ "multiple": false,
3243
+ "type": "option"
3244
+ },
3247
3245
  "output": {
3248
3246
  "char": "o",
3249
3247
  "description": "Output format",
@@ -3258,6 +3256,14 @@
3258
3256
  ],
3259
3257
  "type": "option"
3260
3258
  },
3259
+ "platform_id": {
3260
+ "description": "Platform ID to deploy",
3261
+ "name": "platform_id",
3262
+ "required": true,
3263
+ "hasDynamicHelp": false,
3264
+ "multiple": false,
3265
+ "type": "option"
3266
+ },
3261
3267
  "workspace": {
3262
3268
  "char": "w",
3263
3269
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -3270,7 +3276,7 @@
3270
3276
  },
3271
3277
  "hasDynamicHelp": false,
3272
3278
  "hiddenAliases": [],
3273
- "id": "tenant:list",
3279
+ "id": "tenant:deploy_platform",
3274
3280
  "pluginAlias": "@xano/cli",
3275
3281
  "pluginName": "@xano/cli",
3276
3282
  "pluginType": "core",
@@ -3281,7 +3287,7 @@
3281
3287
  "dist",
3282
3288
  "commands",
3283
3289
  "tenant",
3284
- "list",
3290
+ "deploy_platform",
3285
3291
  "index.js"
3286
3292
  ]
3287
3293
  },
@@ -3378,6 +3384,75 @@
3378
3384
  "index.js"
3379
3385
  ]
3380
3386
  },
3387
+ "tenant:list": {
3388
+ "aliases": [],
3389
+ "args": {},
3390
+ "description": "List all tenants in a workspace",
3391
+ "examples": [
3392
+ "$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
3393
+ "$ xano tenant list -w 5 --output json"
3394
+ ],
3395
+ "flags": {
3396
+ "profile": {
3397
+ "char": "p",
3398
+ "description": "Profile to use (uses default profile if not specified)",
3399
+ "env": "XANO_PROFILE",
3400
+ "name": "profile",
3401
+ "required": false,
3402
+ "hasDynamicHelp": false,
3403
+ "multiple": false,
3404
+ "type": "option"
3405
+ },
3406
+ "verbose": {
3407
+ "char": "v",
3408
+ "description": "Show detailed request/response information",
3409
+ "env": "XANO_VERBOSE",
3410
+ "name": "verbose",
3411
+ "required": false,
3412
+ "allowNo": false,
3413
+ "type": "boolean"
3414
+ },
3415
+ "output": {
3416
+ "char": "o",
3417
+ "description": "Output format",
3418
+ "name": "output",
3419
+ "required": false,
3420
+ "default": "summary",
3421
+ "hasDynamicHelp": false,
3422
+ "multiple": false,
3423
+ "options": [
3424
+ "summary",
3425
+ "json"
3426
+ ],
3427
+ "type": "option"
3428
+ },
3429
+ "workspace": {
3430
+ "char": "w",
3431
+ "description": "Workspace ID (uses profile workspace if not provided)",
3432
+ "name": "workspace",
3433
+ "required": false,
3434
+ "hasDynamicHelp": false,
3435
+ "multiple": false,
3436
+ "type": "option"
3437
+ }
3438
+ },
3439
+ "hasDynamicHelp": false,
3440
+ "hiddenAliases": [],
3441
+ "id": "tenant:list",
3442
+ "pluginAlias": "@xano/cli",
3443
+ "pluginName": "@xano/cli",
3444
+ "pluginType": "core",
3445
+ "strict": true,
3446
+ "enableJsonFlag": false,
3447
+ "isESM": true,
3448
+ "relativePath": [
3449
+ "dist",
3450
+ "commands",
3451
+ "tenant",
3452
+ "list",
3453
+ "index.js"
3454
+ ]
3455
+ },
3381
3456
  "tenant:push": {
3382
3457
  "aliases": [],
3383
3458
  "args": {
@@ -3518,93 +3593,18 @@
3518
3593
  "multiple": false,
3519
3594
  "type": "option"
3520
3595
  },
3521
- "obj-type": {
3522
- "description": "Filter by object type",
3523
- "name": "obj-type",
3524
- "required": false,
3525
- "hasDynamicHelp": false,
3526
- "multiple": false,
3527
- "options": [
3528
- "function",
3529
- "query",
3530
- "middleware"
3531
- ],
3532
- "type": "option"
3533
- },
3534
- "output": {
3535
- "char": "o",
3536
- "description": "Output format",
3537
- "name": "output",
3538
- "required": false,
3539
- "default": "summary",
3540
- "hasDynamicHelp": false,
3541
- "multiple": false,
3542
- "options": [
3543
- "summary",
3544
- "json"
3545
- ],
3546
- "type": "option"
3547
- },
3548
- "workspace": {
3549
- "char": "w",
3550
- "description": "Workspace ID (uses profile workspace if not provided)",
3551
- "name": "workspace",
3552
- "required": false,
3553
- "hasDynamicHelp": false,
3554
- "multiple": false,
3555
- "type": "option"
3556
- }
3557
- },
3558
- "hasDynamicHelp": false,
3559
- "hiddenAliases": [],
3560
- "id": "unit_test:list",
3561
- "pluginAlias": "@xano/cli",
3562
- "pluginName": "@xano/cli",
3563
- "pluginType": "core",
3564
- "strict": true,
3565
- "enableJsonFlag": false,
3566
- "isESM": true,
3567
- "relativePath": [
3568
- "dist",
3569
- "commands",
3570
- "unit_test",
3571
- "list",
3572
- "index.js"
3573
- ]
3574
- },
3575
- "unit_test:run": {
3576
- "aliases": [],
3577
- "args": {
3578
- "unit_test_id": {
3579
- "description": "ID of the unit test to run",
3580
- "name": "unit_test_id",
3581
- "required": true
3582
- }
3583
- },
3584
- "description": "Run a unit test",
3585
- "examples": [
3586
- "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
3587
- "$ xano unit-test run abc-123 -o json"
3588
- ],
3589
- "flags": {
3590
- "profile": {
3591
- "char": "p",
3592
- "description": "Profile to use (uses default profile if not specified)",
3593
- "env": "XANO_PROFILE",
3594
- "name": "profile",
3595
- "required": false,
3596
- "hasDynamicHelp": false,
3597
- "multiple": false,
3598
- "type": "option"
3599
- },
3600
- "verbose": {
3601
- "char": "v",
3602
- "description": "Show detailed request/response information",
3603
- "env": "XANO_VERBOSE",
3604
- "name": "verbose",
3596
+ "obj-type": {
3597
+ "description": "Filter by object type",
3598
+ "name": "obj-type",
3605
3599
  "required": false,
3606
- "allowNo": false,
3607
- "type": "boolean"
3600
+ "hasDynamicHelp": false,
3601
+ "multiple": false,
3602
+ "options": [
3603
+ "function",
3604
+ "query",
3605
+ "middleware"
3606
+ ],
3607
+ "type": "option"
3608
3608
  },
3609
3609
  "output": {
3610
3610
  "char": "o",
@@ -3632,7 +3632,7 @@
3632
3632
  },
3633
3633
  "hasDynamicHelp": false,
3634
3634
  "hiddenAliases": [],
3635
- "id": "unit_test:run",
3635
+ "id": "unit_test:list",
3636
3636
  "pluginAlias": "@xano/cli",
3637
3637
  "pluginName": "@xano/cli",
3638
3638
  "pluginType": "core",
@@ -3643,23 +3643,23 @@
3643
3643
  "dist",
3644
3644
  "commands",
3645
3645
  "unit_test",
3646
- "run",
3646
+ "list",
3647
3647
  "index.js"
3648
3648
  ]
3649
3649
  },
3650
- "workflow_test:delete": {
3650
+ "unit_test:run": {
3651
3651
  "aliases": [],
3652
3652
  "args": {
3653
- "workflow_test_id": {
3654
- "description": "ID of the workflow test to delete",
3655
- "name": "workflow_test_id",
3653
+ "unit_test_id": {
3654
+ "description": "ID of the unit test to run",
3655
+ "name": "unit_test_id",
3656
3656
  "required": true
3657
3657
  }
3658
3658
  },
3659
- "description": "Delete a workflow test",
3659
+ "description": "Run a unit test",
3660
3660
  "examples": [
3661
- "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
3662
- "$ xano workflow-test delete 1 --force"
3661
+ "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
3662
+ "$ xano unit-test run abc-123 -o json"
3663
3663
  ],
3664
3664
  "flags": {
3665
3665
  "profile": {
@@ -3681,14 +3681,6 @@
3681
3681
  "allowNo": false,
3682
3682
  "type": "boolean"
3683
3683
  },
3684
- "force": {
3685
- "char": "f",
3686
- "description": "Skip confirmation prompt",
3687
- "name": "force",
3688
- "required": false,
3689
- "allowNo": false,
3690
- "type": "boolean"
3691
- },
3692
3684
  "output": {
3693
3685
  "char": "o",
3694
3686
  "description": "Output format",
@@ -3715,7 +3707,7 @@
3715
3707
  },
3716
3708
  "hasDynamicHelp": false,
3717
3709
  "hiddenAliases": [],
3718
- "id": "workflow_test:delete",
3710
+ "id": "unit_test:run",
3719
3711
  "pluginAlias": "@xano/cli",
3720
3712
  "pluginName": "@xano/cli",
3721
3713
  "pluginType": "core",
@@ -3725,8 +3717,8 @@
3725
3717
  "relativePath": [
3726
3718
  "dist",
3727
3719
  "commands",
3728
- "workflow_test",
3729
- "delete",
3720
+ "unit_test",
3721
+ "run",
3730
3722
  "index.js"
3731
3723
  ]
3732
3724
  },
@@ -3905,19 +3897,14 @@
3905
3897
  "index.js"
3906
3898
  ]
3907
3899
  },
3908
- "workflow_test:run": {
3900
+ "workflow_test:list": {
3909
3901
  "aliases": [],
3910
- "args": {
3911
- "workflow_test_id": {
3912
- "description": "ID of the workflow test to run",
3913
- "name": "workflow_test_id",
3914
- "required": true
3915
- }
3916
- },
3917
- "description": "Run a workflow test",
3902
+ "args": {},
3903
+ "description": "List all workflow tests in a workspace",
3918
3904
  "examples": [
3919
- "$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
3920
- "$ xano workflow-test run 1 -o json"
3905
+ "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
3906
+ "$ xano workflow-test list -w 5 --output json",
3907
+ "$ xano workflow-test list --branch main"
3921
3908
  ],
3922
3909
  "flags": {
3923
3910
  "profile": {
@@ -3939,6 +3926,15 @@
3939
3926
  "allowNo": false,
3940
3927
  "type": "boolean"
3941
3928
  },
3929
+ "branch": {
3930
+ "char": "b",
3931
+ "description": "Filter by branch name",
3932
+ "name": "branch",
3933
+ "required": false,
3934
+ "hasDynamicHelp": false,
3935
+ "multiple": false,
3936
+ "type": "option"
3937
+ },
3942
3938
  "output": {
3943
3939
  "char": "o",
3944
3940
  "description": "Output format",
@@ -3965,7 +3961,7 @@
3965
3961
  },
3966
3962
  "hasDynamicHelp": false,
3967
3963
  "hiddenAliases": [],
3968
- "id": "workflow_test:run",
3964
+ "id": "workflow_test:list",
3969
3965
  "pluginAlias": "@xano/cli",
3970
3966
  "pluginName": "@xano/cli",
3971
3967
  "pluginType": "core",
@@ -3976,18 +3972,23 @@
3976
3972
  "dist",
3977
3973
  "commands",
3978
3974
  "workflow_test",
3979
- "run",
3975
+ "list",
3980
3976
  "index.js"
3981
3977
  ]
3982
3978
  },
3983
- "workflow_test:list": {
3979
+ "workflow_test:run": {
3984
3980
  "aliases": [],
3985
- "args": {},
3986
- "description": "List all workflow tests in a workspace",
3981
+ "args": {
3982
+ "workflow_test_id": {
3983
+ "description": "ID of the workflow test to run",
3984
+ "name": "workflow_test_id",
3985
+ "required": true
3986
+ }
3987
+ },
3988
+ "description": "Run a workflow test",
3987
3989
  "examples": [
3988
- "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
3989
- "$ xano workflow-test list -w 5 --output json",
3990
- "$ xano workflow-test list --branch main"
3990
+ "$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
3991
+ "$ xano workflow-test run 1 -o json"
3991
3992
  ],
3992
3993
  "flags": {
3993
3994
  "profile": {
@@ -4009,15 +4010,6 @@
4009
4010
  "allowNo": false,
4010
4011
  "type": "boolean"
4011
4012
  },
4012
- "branch": {
4013
- "char": "b",
4014
- "description": "Filter by branch name",
4015
- "name": "branch",
4016
- "required": false,
4017
- "hasDynamicHelp": false,
4018
- "multiple": false,
4019
- "type": "option"
4020
- },
4021
4013
  "output": {
4022
4014
  "char": "o",
4023
4015
  "description": "Output format",
@@ -4044,7 +4036,7 @@
4044
4036
  },
4045
4037
  "hasDynamicHelp": false,
4046
4038
  "hiddenAliases": [],
4047
- "id": "workflow_test:list",
4039
+ "id": "workflow_test:run",
4048
4040
  "pluginAlias": "@xano/cli",
4049
4041
  "pluginName": "@xano/cli",
4050
4042
  "pluginType": "core",
@@ -4055,7 +4047,7 @@
4055
4047
  "dist",
4056
4048
  "commands",
4057
4049
  "workflow_test",
4058
- "list",
4050
+ "run",
4059
4051
  "index.js"
4060
4052
  ]
4061
4053
  },
@@ -4213,6 +4205,106 @@
4213
4205
  "index.js"
4214
4206
  ]
4215
4207
  },
4208
+ "workspace:edit": {
4209
+ "aliases": [],
4210
+ "args": {
4211
+ "workspace_id": {
4212
+ "description": "Workspace ID to edit (uses profile workspace if not provided)",
4213
+ "name": "workspace_id",
4214
+ "required": false
4215
+ }
4216
+ },
4217
+ "description": "Edit an existing workspace via the Xano Metadata API",
4218
+ "examples": [
4219
+ "$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
4220
+ "$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
4221
+ "$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
4222
+ "$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
4223
+ ],
4224
+ "flags": {
4225
+ "profile": {
4226
+ "char": "p",
4227
+ "description": "Profile to use (uses default profile if not specified)",
4228
+ "env": "XANO_PROFILE",
4229
+ "name": "profile",
4230
+ "required": false,
4231
+ "hasDynamicHelp": false,
4232
+ "multiple": false,
4233
+ "type": "option"
4234
+ },
4235
+ "verbose": {
4236
+ "char": "v",
4237
+ "description": "Show detailed request/response information",
4238
+ "env": "XANO_VERBOSE",
4239
+ "name": "verbose",
4240
+ "required": false,
4241
+ "allowNo": false,
4242
+ "type": "boolean"
4243
+ },
4244
+ "description": {
4245
+ "char": "d",
4246
+ "description": "New description for the workspace",
4247
+ "name": "description",
4248
+ "required": false,
4249
+ "hasDynamicHelp": false,
4250
+ "multiple": false,
4251
+ "type": "option"
4252
+ },
4253
+ "name": {
4254
+ "char": "n",
4255
+ "description": "New name for the workspace",
4256
+ "name": "name",
4257
+ "required": false,
4258
+ "hasDynamicHelp": false,
4259
+ "multiple": false,
4260
+ "type": "option"
4261
+ },
4262
+ "output": {
4263
+ "char": "o",
4264
+ "description": "Output format",
4265
+ "name": "output",
4266
+ "required": false,
4267
+ "default": "summary",
4268
+ "hasDynamicHelp": false,
4269
+ "multiple": false,
4270
+ "options": [
4271
+ "summary",
4272
+ "json"
4273
+ ],
4274
+ "type": "option"
4275
+ },
4276
+ "require-token": {
4277
+ "description": "Whether to require a token for documentation access",
4278
+ "name": "require-token",
4279
+ "required": false,
4280
+ "allowNo": true,
4281
+ "type": "boolean"
4282
+ },
4283
+ "swagger": {
4284
+ "description": "Enable or disable swagger documentation",
4285
+ "name": "swagger",
4286
+ "required": false,
4287
+ "allowNo": true,
4288
+ "type": "boolean"
4289
+ }
4290
+ },
4291
+ "hasDynamicHelp": false,
4292
+ "hiddenAliases": [],
4293
+ "id": "workspace:edit",
4294
+ "pluginAlias": "@xano/cli",
4295
+ "pluginName": "@xano/cli",
4296
+ "pluginType": "core",
4297
+ "strict": true,
4298
+ "enableJsonFlag": false,
4299
+ "isESM": true,
4300
+ "relativePath": [
4301
+ "dist",
4302
+ "commands",
4303
+ "workspace",
4304
+ "edit",
4305
+ "index.js"
4306
+ ]
4307
+ },
4216
4308
  "workspace:delete": {
4217
4309
  "aliases": [],
4218
4310
  "args": {
@@ -4288,19 +4380,20 @@
4288
4380
  "index.js"
4289
4381
  ]
4290
4382
  },
4291
- "tenant:get": {
4383
+ "workspace:get": {
4292
4384
  "aliases": [],
4293
4385
  "args": {
4294
- "tenant_name": {
4295
- "description": "Tenant name to retrieve",
4296
- "name": "tenant_name",
4297
- "required": true
4386
+ "workspace_id": {
4387
+ "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4388
+ "name": "workspace_id",
4389
+ "required": false
4298
4390
  }
4299
4391
  },
4300
- "description": "Get details of a specific tenant",
4392
+ "description": "Get details of a specific workspace from the Xano Metadata API",
4301
4393
  "examples": [
4302
- "$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
4303
- "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
4394
+ "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
4395
+ "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
4396
+ "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4304
4397
  ],
4305
4398
  "flags": {
4306
4399
  "profile": {
@@ -4335,20 +4428,11 @@
4335
4428
  "json"
4336
4429
  ],
4337
4430
  "type": "option"
4338
- },
4339
- "workspace": {
4340
- "char": "w",
4341
- "description": "Workspace ID (uses profile workspace if not provided)",
4342
- "name": "workspace",
4343
- "required": false,
4344
- "hasDynamicHelp": false,
4345
- "multiple": false,
4346
- "type": "option"
4347
4431
  }
4348
4432
  },
4349
4433
  "hasDynamicHelp": false,
4350
4434
  "hiddenAliases": [],
4351
- "id": "tenant:get",
4435
+ "id": "workspace:get",
4352
4436
  "pluginAlias": "@xano/cli",
4353
4437
  "pluginName": "@xano/cli",
4354
4438
  "pluginType": "core",
@@ -4358,25 +4442,24 @@
4358
4442
  "relativePath": [
4359
4443
  "dist",
4360
4444
  "commands",
4361
- "tenant",
4445
+ "workspace",
4362
4446
  "get",
4363
4447
  "index.js"
4364
4448
  ]
4365
4449
  },
4366
- "workspace:get": {
4450
+ "workflow_test:delete": {
4367
4451
  "aliases": [],
4368
4452
  "args": {
4369
- "workspace_id": {
4370
- "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4371
- "name": "workspace_id",
4372
- "required": false
4453
+ "workflow_test_id": {
4454
+ "description": "ID of the workflow test to delete",
4455
+ "name": "workflow_test_id",
4456
+ "required": true
4373
4457
  }
4374
4458
  },
4375
- "description": "Get details of a specific workspace from the Xano Metadata API",
4376
- "examples": [
4377
- "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
4378
- "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
4379
- "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4459
+ "description": "Delete a workflow test",
4460
+ "examples": [
4461
+ "$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
4462
+ "$ xano workflow-test delete 1 --force"
4380
4463
  ],
4381
4464
  "flags": {
4382
4465
  "profile": {
@@ -4398,6 +4481,14 @@
4398
4481
  "allowNo": false,
4399
4482
  "type": "boolean"
4400
4483
  },
4484
+ "force": {
4485
+ "char": "f",
4486
+ "description": "Skip confirmation prompt",
4487
+ "name": "force",
4488
+ "required": false,
4489
+ "allowNo": false,
4490
+ "type": "boolean"
4491
+ },
4401
4492
  "output": {
4402
4493
  "char": "o",
4403
4494
  "description": "Output format",
@@ -4411,11 +4502,20 @@
4411
4502
  "json"
4412
4503
  ],
4413
4504
  "type": "option"
4505
+ },
4506
+ "workspace": {
4507
+ "char": "w",
4508
+ "description": "Workspace ID (uses profile workspace if not provided)",
4509
+ "name": "workspace",
4510
+ "required": false,
4511
+ "hasDynamicHelp": false,
4512
+ "multiple": false,
4513
+ "type": "option"
4414
4514
  }
4415
4515
  },
4416
4516
  "hasDynamicHelp": false,
4417
4517
  "hiddenAliases": [],
4418
- "id": "workspace:get",
4518
+ "id": "workflow_test:delete",
4419
4519
  "pluginAlias": "@xano/cli",
4420
4520
  "pluginName": "@xano/cli",
4421
4521
  "pluginType": "core",
@@ -4425,8 +4525,8 @@
4425
4525
  "relativePath": [
4426
4526
  "dist",
4427
4527
  "commands",
4428
- "workspace",
4429
- "get",
4528
+ "workflow_test",
4529
+ "delete",
4430
4530
  "index.js"
4431
4531
  ]
4432
4532
  },
@@ -4728,53 +4828,6 @@
4728
4828
  "index.js"
4729
4829
  ]
4730
4830
  },
4731
- "profile:workspace:set": {
4732
- "aliases": [],
4733
- "args": {},
4734
- "description": "Interactively select a workspace for a profile",
4735
- "examples": [
4736
- "$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
4737
- "$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
4738
- ],
4739
- "flags": {
4740
- "profile": {
4741
- "char": "p",
4742
- "description": "Profile to use (uses default profile if not specified)",
4743
- "env": "XANO_PROFILE",
4744
- "name": "profile",
4745
- "required": false,
4746
- "hasDynamicHelp": false,
4747
- "multiple": false,
4748
- "type": "option"
4749
- },
4750
- "verbose": {
4751
- "char": "v",
4752
- "description": "Show detailed request/response information",
4753
- "env": "XANO_VERBOSE",
4754
- "name": "verbose",
4755
- "required": false,
4756
- "allowNo": false,
4757
- "type": "boolean"
4758
- }
4759
- },
4760
- "hasDynamicHelp": false,
4761
- "hiddenAliases": [],
4762
- "id": "profile:workspace:set",
4763
- "pluginAlias": "@xano/cli",
4764
- "pluginName": "@xano/cli",
4765
- "pluginType": "core",
4766
- "strict": true,
4767
- "enableJsonFlag": false,
4768
- "isESM": true,
4769
- "relativePath": [
4770
- "dist",
4771
- "commands",
4772
- "profile",
4773
- "workspace",
4774
- "set",
4775
- "index.js"
4776
- ]
4777
- },
4778
4831
  "static_host:build:create": {
4779
4832
  "aliases": [],
4780
4833
  "args": {
@@ -4879,189 +4932,6 @@
4879
4932
  "index.js"
4880
4933
  ]
4881
4934
  },
4882
- "workspace:edit": {
4883
- "aliases": [],
4884
- "args": {
4885
- "workspace_id": {
4886
- "description": "Workspace ID to edit (uses profile workspace if not provided)",
4887
- "name": "workspace_id",
4888
- "required": false
4889
- }
4890
- },
4891
- "description": "Edit an existing workspace via the Xano Metadata API",
4892
- "examples": [
4893
- "$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
4894
- "$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
4895
- "$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
4896
- "$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
4897
- ],
4898
- "flags": {
4899
- "profile": {
4900
- "char": "p",
4901
- "description": "Profile to use (uses default profile if not specified)",
4902
- "env": "XANO_PROFILE",
4903
- "name": "profile",
4904
- "required": false,
4905
- "hasDynamicHelp": false,
4906
- "multiple": false,
4907
- "type": "option"
4908
- },
4909
- "verbose": {
4910
- "char": "v",
4911
- "description": "Show detailed request/response information",
4912
- "env": "XANO_VERBOSE",
4913
- "name": "verbose",
4914
- "required": false,
4915
- "allowNo": false,
4916
- "type": "boolean"
4917
- },
4918
- "description": {
4919
- "char": "d",
4920
- "description": "New description for the workspace",
4921
- "name": "description",
4922
- "required": false,
4923
- "hasDynamicHelp": false,
4924
- "multiple": false,
4925
- "type": "option"
4926
- },
4927
- "name": {
4928
- "char": "n",
4929
- "description": "New name for the workspace",
4930
- "name": "name",
4931
- "required": false,
4932
- "hasDynamicHelp": false,
4933
- "multiple": false,
4934
- "type": "option"
4935
- },
4936
- "output": {
4937
- "char": "o",
4938
- "description": "Output format",
4939
- "name": "output",
4940
- "required": false,
4941
- "default": "summary",
4942
- "hasDynamicHelp": false,
4943
- "multiple": false,
4944
- "options": [
4945
- "summary",
4946
- "json"
4947
- ],
4948
- "type": "option"
4949
- },
4950
- "require-token": {
4951
- "description": "Whether to require a token for documentation access",
4952
- "name": "require-token",
4953
- "required": false,
4954
- "allowNo": true,
4955
- "type": "boolean"
4956
- },
4957
- "swagger": {
4958
- "description": "Enable or disable swagger documentation",
4959
- "name": "swagger",
4960
- "required": false,
4961
- "allowNo": true,
4962
- "type": "boolean"
4963
- }
4964
- },
4965
- "hasDynamicHelp": false,
4966
- "hiddenAliases": [],
4967
- "id": "workspace:edit",
4968
- "pluginAlias": "@xano/cli",
4969
- "pluginName": "@xano/cli",
4970
- "pluginType": "core",
4971
- "strict": true,
4972
- "enableJsonFlag": false,
4973
- "isESM": true,
4974
- "relativePath": [
4975
- "dist",
4976
- "commands",
4977
- "workspace",
4978
- "edit",
4979
- "index.js"
4980
- ]
4981
- },
4982
- "static_host:build:get": {
4983
- "aliases": [],
4984
- "args": {
4985
- "build_id": {
4986
- "description": "Build ID",
4987
- "name": "build_id",
4988
- "required": true
4989
- },
4990
- "static_host": {
4991
- "description": "Static Host name",
4992
- "name": "static_host",
4993
- "required": true
4994
- }
4995
- },
4996
- "description": "Get details of a specific build for a static host",
4997
- "examples": [
4998
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
4999
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
5000
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
5001
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
5002
- ],
5003
- "flags": {
5004
- "profile": {
5005
- "char": "p",
5006
- "description": "Profile to use (uses default profile if not specified)",
5007
- "env": "XANO_PROFILE",
5008
- "name": "profile",
5009
- "required": false,
5010
- "hasDynamicHelp": false,
5011
- "multiple": false,
5012
- "type": "option"
5013
- },
5014
- "verbose": {
5015
- "char": "v",
5016
- "description": "Show detailed request/response information",
5017
- "env": "XANO_VERBOSE",
5018
- "name": "verbose",
5019
- "required": false,
5020
- "allowNo": false,
5021
- "type": "boolean"
5022
- },
5023
- "output": {
5024
- "char": "o",
5025
- "description": "Output format",
5026
- "name": "output",
5027
- "required": false,
5028
- "default": "summary",
5029
- "hasDynamicHelp": false,
5030
- "multiple": false,
5031
- "options": [
5032
- "summary",
5033
- "json"
5034
- ],
5035
- "type": "option"
5036
- },
5037
- "workspace": {
5038
- "char": "w",
5039
- "description": "Workspace ID (optional if set in profile)",
5040
- "name": "workspace",
5041
- "required": false,
5042
- "hasDynamicHelp": false,
5043
- "multiple": false,
5044
- "type": "option"
5045
- }
5046
- },
5047
- "hasDynamicHelp": false,
5048
- "hiddenAliases": [],
5049
- "id": "static_host:build:get",
5050
- "pluginAlias": "@xano/cli",
5051
- "pluginName": "@xano/cli",
5052
- "pluginType": "core",
5053
- "strict": true,
5054
- "enableJsonFlag": false,
5055
- "isESM": true,
5056
- "relativePath": [
5057
- "dist",
5058
- "commands",
5059
- "static_host",
5060
- "build",
5061
- "get",
5062
- "index.js"
5063
- ]
5064
- },
5065
4935
  "static_host:build:list": {
5066
4936
  "aliases": [],
5067
4937
  "args": {
@@ -5158,19 +5028,26 @@
5158
5028
  "index.js"
5159
5029
  ]
5160
5030
  },
5161
- "tenant:backup:create": {
5031
+ "static_host:build:get": {
5162
5032
  "aliases": [],
5163
5033
  "args": {
5164
- "tenant_name": {
5165
- "description": "Tenant name to back up",
5166
- "name": "tenant_name",
5034
+ "build_id": {
5035
+ "description": "Build ID",
5036
+ "name": "build_id",
5037
+ "required": true
5038
+ },
5039
+ "static_host": {
5040
+ "description": "Static Host name",
5041
+ "name": "static_host",
5167
5042
  "required": true
5168
5043
  }
5169
5044
  },
5170
- "description": "Create a backup for a tenant",
5045
+ "description": "Get details of a specific build for a static host",
5171
5046
  "examples": [
5172
- "$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
5173
- "$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
5047
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
5048
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
5049
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
5050
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
5174
5051
  ],
5175
5052
  "flags": {
5176
5053
  "profile": {
@@ -5192,16 +5069,6 @@
5192
5069
  "allowNo": false,
5193
5070
  "type": "boolean"
5194
5071
  },
5195
- "description": {
5196
- "char": "d",
5197
- "description": "Backup description",
5198
- "name": "description",
5199
- "required": false,
5200
- "default": "",
5201
- "hasDynamicHelp": false,
5202
- "multiple": false,
5203
- "type": "option"
5204
- },
5205
5072
  "output": {
5206
5073
  "char": "o",
5207
5074
  "description": "Output format",
@@ -5218,7 +5085,7 @@
5218
5085
  },
5219
5086
  "workspace": {
5220
5087
  "char": "w",
5221
- "description": "Workspace ID (uses profile workspace if not provided)",
5088
+ "description": "Workspace ID (optional if set in profile)",
5222
5089
  "name": "workspace",
5223
5090
  "required": false,
5224
5091
  "hasDynamicHelp": false,
@@ -5228,7 +5095,7 @@
5228
5095
  },
5229
5096
  "hasDynamicHelp": false,
5230
5097
  "hiddenAliases": [],
5231
- "id": "tenant:backup:create",
5098
+ "id": "static_host:build:get",
5232
5099
  "pluginAlias": "@xano/cli",
5233
5100
  "pluginName": "@xano/cli",
5234
5101
  "pluginType": "core",
@@ -5238,9 +5105,9 @@
5238
5105
  "relativePath": [
5239
5106
  "dist",
5240
5107
  "commands",
5241
- "tenant",
5242
- "backup",
5243
- "create",
5108
+ "static_host",
5109
+ "build",
5110
+ "get",
5244
5111
  "index.js"
5245
5112
  ]
5246
5113
  },
@@ -5337,19 +5204,20 @@
5337
5204
  "index.js"
5338
5205
  ]
5339
5206
  },
5340
- "tenant:backup:import": {
5207
+ "tenant:backup:export": {
5341
5208
  "aliases": [],
5342
5209
  "args": {
5343
5210
  "tenant_name": {
5344
- "description": "Tenant name to import backup into",
5211
+ "description": "Tenant name to export backup from",
5345
5212
  "name": "tenant_name",
5346
5213
  "required": true
5347
5214
  }
5348
5215
  },
5349
- "description": "Import a backup file into a tenant",
5216
+ "description": "Export (download) a tenant backup to a local file",
5350
5217
  "examples": [
5351
- "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
5352
- "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
5218
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
5219
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
5220
+ "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
5353
5221
  ],
5354
5222
  "flags": {
5355
5223
  "profile": {
@@ -5371,29 +5239,18 @@
5371
5239
  "allowNo": false,
5372
5240
  "type": "boolean"
5373
5241
  },
5374
- "description": {
5375
- "char": "d",
5376
- "description": "Backup description",
5377
- "name": "description",
5378
- "required": false,
5379
- "default": "",
5380
- "hasDynamicHelp": false,
5381
- "multiple": false,
5382
- "type": "option"
5383
- },
5384
- "file": {
5385
- "char": "f",
5386
- "description": "Path to the backup file (.tar.gz)",
5387
- "name": "file",
5242
+ "backup_id": {
5243
+ "description": "Backup ID to export",
5244
+ "name": "backup_id",
5388
5245
  "required": true,
5389
5246
  "hasDynamicHelp": false,
5390
5247
  "multiple": false,
5391
5248
  "type": "option"
5392
5249
  },
5393
- "output": {
5250
+ "format": {
5394
5251
  "char": "o",
5395
5252
  "description": "Output format",
5396
- "name": "output",
5253
+ "name": "format",
5397
5254
  "required": false,
5398
5255
  "default": "summary",
5399
5256
  "hasDynamicHelp": false,
@@ -5404,6 +5261,14 @@
5404
5261
  ],
5405
5262
  "type": "option"
5406
5263
  },
5264
+ "output": {
5265
+ "description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
5266
+ "name": "output",
5267
+ "required": false,
5268
+ "hasDynamicHelp": false,
5269
+ "multiple": false,
5270
+ "type": "option"
5271
+ },
5407
5272
  "workspace": {
5408
5273
  "char": "w",
5409
5274
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -5416,7 +5281,7 @@
5416
5281
  },
5417
5282
  "hasDynamicHelp": false,
5418
5283
  "hiddenAliases": [],
5419
- "id": "tenant:backup:import",
5284
+ "id": "tenant:backup:export",
5420
5285
  "pluginAlias": "@xano/cli",
5421
5286
  "pluginName": "@xano/cli",
5422
5287
  "pluginType": "core",
@@ -5428,24 +5293,23 @@
5428
5293
  "commands",
5429
5294
  "tenant",
5430
5295
  "backup",
5431
- "import",
5296
+ "export",
5432
5297
  "index.js"
5433
5298
  ]
5434
5299
  },
5435
- "tenant:backup:export": {
5300
+ "tenant:backup:import": {
5436
5301
  "aliases": [],
5437
5302
  "args": {
5438
5303
  "tenant_name": {
5439
- "description": "Tenant name to export backup from",
5304
+ "description": "Tenant name to import backup into",
5440
5305
  "name": "tenant_name",
5441
5306
  "required": true
5442
5307
  }
5443
5308
  },
5444
- "description": "Export (download) a tenant backup to a local file",
5309
+ "description": "Import a backup file into a tenant",
5445
5310
  "examples": [
5446
- "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
5447
- "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
5448
- "$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
5311
+ "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
5312
+ "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
5449
5313
  ],
5450
5314
  "flags": {
5451
5315
  "profile": {
@@ -5467,18 +5331,29 @@
5467
5331
  "allowNo": false,
5468
5332
  "type": "boolean"
5469
5333
  },
5470
- "backup_id": {
5471
- "description": "Backup ID to export",
5472
- "name": "backup_id",
5334
+ "description": {
5335
+ "char": "d",
5336
+ "description": "Backup description",
5337
+ "name": "description",
5338
+ "required": false,
5339
+ "default": "",
5340
+ "hasDynamicHelp": false,
5341
+ "multiple": false,
5342
+ "type": "option"
5343
+ },
5344
+ "file": {
5345
+ "char": "f",
5346
+ "description": "Path to the backup file (.tar.gz)",
5347
+ "name": "file",
5473
5348
  "required": true,
5474
5349
  "hasDynamicHelp": false,
5475
5350
  "multiple": false,
5476
5351
  "type": "option"
5477
5352
  },
5478
- "format": {
5353
+ "output": {
5479
5354
  "char": "o",
5480
5355
  "description": "Output format",
5481
- "name": "format",
5356
+ "name": "output",
5482
5357
  "required": false,
5483
5358
  "default": "summary",
5484
5359
  "hasDynamicHelp": false,
@@ -5489,14 +5364,6 @@
5489
5364
  ],
5490
5365
  "type": "option"
5491
5366
  },
5492
- "output": {
5493
- "description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
5494
- "name": "output",
5495
- "required": false,
5496
- "hasDynamicHelp": false,
5497
- "multiple": false,
5498
- "type": "option"
5499
- },
5500
5367
  "workspace": {
5501
5368
  "char": "w",
5502
5369
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -5509,7 +5376,7 @@
5509
5376
  },
5510
5377
  "hasDynamicHelp": false,
5511
5378
  "hiddenAliases": [],
5512
- "id": "tenant:backup:export",
5379
+ "id": "tenant:backup:import",
5513
5380
  "pluginAlias": "@xano/cli",
5514
5381
  "pluginName": "@xano/cli",
5515
5382
  "pluginType": "core",
@@ -5521,7 +5388,7 @@
5521
5388
  "commands",
5522
5389
  "tenant",
5523
5390
  "backup",
5524
- "export",
5391
+ "import",
5525
5392
  "index.js"
5526
5393
  ]
5527
5394
  },
@@ -5702,6 +5569,53 @@
5702
5569
  "index.js"
5703
5570
  ]
5704
5571
  },
5572
+ "profile:workspace:set": {
5573
+ "aliases": [],
5574
+ "args": {},
5575
+ "description": "Interactively select a workspace for a profile",
5576
+ "examples": [
5577
+ "$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
5578
+ "$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
5579
+ ],
5580
+ "flags": {
5581
+ "profile": {
5582
+ "char": "p",
5583
+ "description": "Profile to use (uses default profile if not specified)",
5584
+ "env": "XANO_PROFILE",
5585
+ "name": "profile",
5586
+ "required": false,
5587
+ "hasDynamicHelp": false,
5588
+ "multiple": false,
5589
+ "type": "option"
5590
+ },
5591
+ "verbose": {
5592
+ "char": "v",
5593
+ "description": "Show detailed request/response information",
5594
+ "env": "XANO_VERBOSE",
5595
+ "name": "verbose",
5596
+ "required": false,
5597
+ "allowNo": false,
5598
+ "type": "boolean"
5599
+ }
5600
+ },
5601
+ "hasDynamicHelp": false,
5602
+ "hiddenAliases": [],
5603
+ "id": "profile:workspace:set",
5604
+ "pluginAlias": "@xano/cli",
5605
+ "pluginName": "@xano/cli",
5606
+ "pluginType": "core",
5607
+ "strict": true,
5608
+ "enableJsonFlag": false,
5609
+ "isESM": true,
5610
+ "relativePath": [
5611
+ "dist",
5612
+ "commands",
5613
+ "profile",
5614
+ "workspace",
5615
+ "set",
5616
+ "index.js"
5617
+ ]
5618
+ },
5705
5619
  "tenant:cluster:create": {
5706
5620
  "aliases": [],
5707
5621
  "args": {},
@@ -5769,11 +5683,101 @@
5769
5683
  "multiple": false,
5770
5684
  "type": "option"
5771
5685
  },
5772
- "name": {
5773
- "char": "n",
5774
- "description": "Cluster name",
5775
- "name": "name",
5776
- "required": true,
5686
+ "name": {
5687
+ "char": "n",
5688
+ "description": "Cluster name",
5689
+ "name": "name",
5690
+ "required": true,
5691
+ "hasDynamicHelp": false,
5692
+ "multiple": false,
5693
+ "type": "option"
5694
+ },
5695
+ "output": {
5696
+ "char": "o",
5697
+ "description": "Output format",
5698
+ "name": "output",
5699
+ "required": false,
5700
+ "default": "summary",
5701
+ "hasDynamicHelp": false,
5702
+ "multiple": false,
5703
+ "options": [
5704
+ "summary",
5705
+ "json"
5706
+ ],
5707
+ "type": "option"
5708
+ },
5709
+ "type": {
5710
+ "description": "Cluster type",
5711
+ "name": "type",
5712
+ "required": false,
5713
+ "default": "standard",
5714
+ "hasDynamicHelp": false,
5715
+ "multiple": false,
5716
+ "options": [
5717
+ "standard",
5718
+ "run"
5719
+ ],
5720
+ "type": "option"
5721
+ }
5722
+ },
5723
+ "hasDynamicHelp": false,
5724
+ "hiddenAliases": [],
5725
+ "id": "tenant:cluster:create",
5726
+ "pluginAlias": "@xano/cli",
5727
+ "pluginName": "@xano/cli",
5728
+ "pluginType": "core",
5729
+ "strict": true,
5730
+ "enableJsonFlag": false,
5731
+ "isESM": true,
5732
+ "relativePath": [
5733
+ "dist",
5734
+ "commands",
5735
+ "tenant",
5736
+ "cluster",
5737
+ "create",
5738
+ "index.js"
5739
+ ]
5740
+ },
5741
+ "tenant:backup:create": {
5742
+ "aliases": [],
5743
+ "args": {
5744
+ "tenant_name": {
5745
+ "description": "Tenant name to back up",
5746
+ "name": "tenant_name",
5747
+ "required": true
5748
+ }
5749
+ },
5750
+ "description": "Create a backup for a tenant",
5751
+ "examples": [
5752
+ "$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
5753
+ "$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
5754
+ ],
5755
+ "flags": {
5756
+ "profile": {
5757
+ "char": "p",
5758
+ "description": "Profile to use (uses default profile if not specified)",
5759
+ "env": "XANO_PROFILE",
5760
+ "name": "profile",
5761
+ "required": false,
5762
+ "hasDynamicHelp": false,
5763
+ "multiple": false,
5764
+ "type": "option"
5765
+ },
5766
+ "verbose": {
5767
+ "char": "v",
5768
+ "description": "Show detailed request/response information",
5769
+ "env": "XANO_VERBOSE",
5770
+ "name": "verbose",
5771
+ "required": false,
5772
+ "allowNo": false,
5773
+ "type": "boolean"
5774
+ },
5775
+ "description": {
5776
+ "char": "d",
5777
+ "description": "Backup description",
5778
+ "name": "description",
5779
+ "required": false,
5780
+ "default": "",
5777
5781
  "hasDynamicHelp": false,
5778
5782
  "multiple": false,
5779
5783
  "type": "option"
@@ -5792,23 +5796,19 @@
5792
5796
  ],
5793
5797
  "type": "option"
5794
5798
  },
5795
- "type": {
5796
- "description": "Cluster type",
5797
- "name": "type",
5799
+ "workspace": {
5800
+ "char": "w",
5801
+ "description": "Workspace ID (uses profile workspace if not provided)",
5802
+ "name": "workspace",
5798
5803
  "required": false,
5799
- "default": "standard",
5800
5804
  "hasDynamicHelp": false,
5801
5805
  "multiple": false,
5802
- "options": [
5803
- "standard",
5804
- "run"
5805
- ],
5806
5806
  "type": "option"
5807
5807
  }
5808
5808
  },
5809
5809
  "hasDynamicHelp": false,
5810
5810
  "hiddenAliases": [],
5811
- "id": "tenant:cluster:create",
5811
+ "id": "tenant:backup:create",
5812
5812
  "pluginAlias": "@xano/cli",
5813
5813
  "pluginName": "@xano/cli",
5814
5814
  "pluginType": "core",
@@ -5819,7 +5819,7 @@
5819
5819
  "dist",
5820
5820
  "commands",
5821
5821
  "tenant",
5822
- "cluster",
5822
+ "backup",
5823
5823
  "create",
5824
5824
  "index.js"
5825
5825
  ]
@@ -5900,19 +5900,19 @@
5900
5900
  "index.js"
5901
5901
  ]
5902
5902
  },
5903
- "tenant:cluster:edit": {
5903
+ "tenant:cluster:get": {
5904
5904
  "aliases": [],
5905
5905
  "args": {
5906
5906
  "cluster_id": {
5907
- "description": "Cluster ID to edit",
5907
+ "description": "Cluster ID to retrieve",
5908
5908
  "name": "cluster_id",
5909
5909
  "required": true
5910
5910
  }
5911
5911
  },
5912
- "description": "Update an existing tenant cluster",
5912
+ "description": "Get details of a specific tenant cluster",
5913
5913
  "examples": [
5914
- "$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
5915
- "$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
5914
+ "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
5915
+ "$ xano tenant cluster get 1 -o json"
5916
5916
  ],
5917
5917
  "flags": {
5918
5918
  "profile": {
@@ -5934,32 +5934,6 @@
5934
5934
  "allowNo": false,
5935
5935
  "type": "boolean"
5936
5936
  },
5937
- "description": {
5938
- "char": "d",
5939
- "description": "Cluster description",
5940
- "name": "description",
5941
- "required": true,
5942
- "hasDynamicHelp": false,
5943
- "multiple": false,
5944
- "type": "option"
5945
- },
5946
- "domain": {
5947
- "description": "Custom domain for the cluster",
5948
- "name": "domain",
5949
- "required": true,
5950
- "hasDynamicHelp": false,
5951
- "multiple": false,
5952
- "type": "option"
5953
- },
5954
- "name": {
5955
- "char": "n",
5956
- "description": "Cluster name",
5957
- "name": "name",
5958
- "required": true,
5959
- "hasDynamicHelp": false,
5960
- "multiple": false,
5961
- "type": "option"
5962
- },
5963
5937
  "output": {
5964
5938
  "char": "o",
5965
5939
  "description": "Output format",
@@ -5973,23 +5947,11 @@
5973
5947
  "json"
5974
5948
  ],
5975
5949
  "type": "option"
5976
- },
5977
- "type": {
5978
- "description": "Cluster type",
5979
- "name": "type",
5980
- "required": true,
5981
- "hasDynamicHelp": false,
5982
- "multiple": false,
5983
- "options": [
5984
- "standard",
5985
- "run"
5986
- ],
5987
- "type": "option"
5988
5950
  }
5989
5951
  },
5990
5952
  "hasDynamicHelp": false,
5991
5953
  "hiddenAliases": [],
5992
- "id": "tenant:cluster:edit",
5954
+ "id": "tenant:cluster:get",
5993
5955
  "pluginAlias": "@xano/cli",
5994
5956
  "pluginName": "@xano/cli",
5995
5957
  "pluginType": "core",
@@ -6001,23 +5963,23 @@
6001
5963
  "commands",
6002
5964
  "tenant",
6003
5965
  "cluster",
6004
- "edit",
5966
+ "get",
6005
5967
  "index.js"
6006
5968
  ]
6007
5969
  },
6008
- "tenant:cluster:get": {
5970
+ "tenant:cluster:edit": {
6009
5971
  "aliases": [],
6010
5972
  "args": {
6011
5973
  "cluster_id": {
6012
- "description": "Cluster ID to retrieve",
5974
+ "description": "Cluster ID to edit",
6013
5975
  "name": "cluster_id",
6014
5976
  "required": true
6015
5977
  }
6016
5978
  },
6017
- "description": "Get details of a specific tenant cluster",
5979
+ "description": "Update an existing tenant cluster",
6018
5980
  "examples": [
6019
- "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
6020
- "$ xano tenant cluster get 1 -o json"
5981
+ "$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
5982
+ "$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
6021
5983
  ],
6022
5984
  "flags": {
6023
5985
  "profile": {
@@ -6039,6 +6001,32 @@
6039
6001
  "allowNo": false,
6040
6002
  "type": "boolean"
6041
6003
  },
6004
+ "description": {
6005
+ "char": "d",
6006
+ "description": "Cluster description",
6007
+ "name": "description",
6008
+ "required": true,
6009
+ "hasDynamicHelp": false,
6010
+ "multiple": false,
6011
+ "type": "option"
6012
+ },
6013
+ "domain": {
6014
+ "description": "Custom domain for the cluster",
6015
+ "name": "domain",
6016
+ "required": true,
6017
+ "hasDynamicHelp": false,
6018
+ "multiple": false,
6019
+ "type": "option"
6020
+ },
6021
+ "name": {
6022
+ "char": "n",
6023
+ "description": "Cluster name",
6024
+ "name": "name",
6025
+ "required": true,
6026
+ "hasDynamicHelp": false,
6027
+ "multiple": false,
6028
+ "type": "option"
6029
+ },
6042
6030
  "output": {
6043
6031
  "char": "o",
6044
6032
  "description": "Output format",
@@ -6052,11 +6040,23 @@
6052
6040
  "json"
6053
6041
  ],
6054
6042
  "type": "option"
6043
+ },
6044
+ "type": {
6045
+ "description": "Cluster type",
6046
+ "name": "type",
6047
+ "required": true,
6048
+ "hasDynamicHelp": false,
6049
+ "multiple": false,
6050
+ "options": [
6051
+ "standard",
6052
+ "run"
6053
+ ],
6054
+ "type": "option"
6055
6055
  }
6056
6056
  },
6057
6057
  "hasDynamicHelp": false,
6058
6058
  "hiddenAliases": [],
6059
- "id": "tenant:cluster:get",
6059
+ "id": "tenant:cluster:edit",
6060
6060
  "pluginAlias": "@xano/cli",
6061
6061
  "pluginName": "@xano/cli",
6062
6062
  "pluginType": "core",
@@ -6068,7 +6068,7 @@
6068
6068
  "commands",
6069
6069
  "tenant",
6070
6070
  "cluster",
6071
- "get",
6071
+ "edit",
6072
6072
  "index.js"
6073
6073
  ]
6074
6074
  },
@@ -6227,6 +6227,99 @@
6227
6227
  "index.js"
6228
6228
  ]
6229
6229
  },
6230
+ "tenant:env:set": {
6231
+ "aliases": [],
6232
+ "args": {
6233
+ "tenant_name": {
6234
+ "description": "Tenant name",
6235
+ "name": "tenant_name",
6236
+ "required": true
6237
+ }
6238
+ },
6239
+ "description": "Set (create or update) an environment variable for a tenant",
6240
+ "examples": [
6241
+ "$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
6242
+ "$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
6243
+ ],
6244
+ "flags": {
6245
+ "profile": {
6246
+ "char": "p",
6247
+ "description": "Profile to use (uses default profile if not specified)",
6248
+ "env": "XANO_PROFILE",
6249
+ "name": "profile",
6250
+ "required": false,
6251
+ "hasDynamicHelp": false,
6252
+ "multiple": false,
6253
+ "type": "option"
6254
+ },
6255
+ "verbose": {
6256
+ "char": "v",
6257
+ "description": "Show detailed request/response information",
6258
+ "env": "XANO_VERBOSE",
6259
+ "name": "verbose",
6260
+ "required": false,
6261
+ "allowNo": false,
6262
+ "type": "boolean"
6263
+ },
6264
+ "name": {
6265
+ "char": "n",
6266
+ "description": "Environment variable name",
6267
+ "name": "name",
6268
+ "required": true,
6269
+ "hasDynamicHelp": false,
6270
+ "multiple": false,
6271
+ "type": "option"
6272
+ },
6273
+ "output": {
6274
+ "char": "o",
6275
+ "description": "Output format",
6276
+ "name": "output",
6277
+ "required": false,
6278
+ "default": "summary",
6279
+ "hasDynamicHelp": false,
6280
+ "multiple": false,
6281
+ "options": [
6282
+ "summary",
6283
+ "json"
6284
+ ],
6285
+ "type": "option"
6286
+ },
6287
+ "value": {
6288
+ "description": "Environment variable value",
6289
+ "name": "value",
6290
+ "required": true,
6291
+ "hasDynamicHelp": false,
6292
+ "multiple": false,
6293
+ "type": "option"
6294
+ },
6295
+ "workspace": {
6296
+ "char": "w",
6297
+ "description": "Workspace ID (uses profile workspace if not provided)",
6298
+ "name": "workspace",
6299
+ "required": false,
6300
+ "hasDynamicHelp": false,
6301
+ "multiple": false,
6302
+ "type": "option"
6303
+ }
6304
+ },
6305
+ "hasDynamicHelp": false,
6306
+ "hiddenAliases": [],
6307
+ "id": "tenant:env:set",
6308
+ "pluginAlias": "@xano/cli",
6309
+ "pluginName": "@xano/cli",
6310
+ "pluginType": "core",
6311
+ "strict": true,
6312
+ "enableJsonFlag": false,
6313
+ "isESM": true,
6314
+ "relativePath": [
6315
+ "dist",
6316
+ "commands",
6317
+ "tenant",
6318
+ "env",
6319
+ "set",
6320
+ "index.js"
6321
+ ]
6322
+ },
6230
6323
  "tenant:env:get": {
6231
6324
  "aliases": [],
6232
6325
  "args": {
@@ -6406,7 +6499,7 @@
6406
6499
  "index.js"
6407
6500
  ]
6408
6501
  },
6409
- "tenant:env:list": {
6502
+ "tenant:env:set_all": {
6410
6503
  "aliases": [],
6411
6504
  "args": {
6412
6505
  "tenant_name": {
@@ -6415,10 +6508,11 @@
6415
6508
  "required": true
6416
6509
  }
6417
6510
  },
6418
- "description": "List environment variable keys for a tenant",
6511
+ "description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
6419
6512
  "examples": [
6420
- "$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
6421
- "$ xano tenant env list my-tenant -w 5 -o json"
6513
+ "$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
6514
+ "$ xano tenant env set_all my-tenant --file ./my-env.yaml",
6515
+ "$ xano tenant env set_all my-tenant -o json"
6422
6516
  ],
6423
6517
  "flags": {
6424
6518
  "profile": {
@@ -6437,8 +6531,24 @@
6437
6531
  "env": "XANO_VERBOSE",
6438
6532
  "name": "verbose",
6439
6533
  "required": false,
6440
- "allowNo": false,
6441
- "type": "boolean"
6534
+ "allowNo": false,
6535
+ "type": "boolean"
6536
+ },
6537
+ "clean": {
6538
+ "description": "Remove the source file after successful upload",
6539
+ "name": "clean",
6540
+ "required": false,
6541
+ "allowNo": false,
6542
+ "type": "boolean"
6543
+ },
6544
+ "file": {
6545
+ "char": "f",
6546
+ "description": "Path to env file (default: env_<tenant_name>.yaml)",
6547
+ "name": "file",
6548
+ "required": false,
6549
+ "hasDynamicHelp": false,
6550
+ "multiple": false,
6551
+ "type": "option"
6442
6552
  },
6443
6553
  "output": {
6444
6554
  "char": "o",
@@ -6466,7 +6576,7 @@
6466
6576
  },
6467
6577
  "hasDynamicHelp": false,
6468
6578
  "hiddenAliases": [],
6469
- "id": "tenant:env:list",
6579
+ "id": "tenant:env:set_all",
6470
6580
  "pluginAlias": "@xano/cli",
6471
6581
  "pluginName": "@xano/cli",
6472
6582
  "pluginType": "core",
@@ -6478,11 +6588,11 @@
6478
6588
  "commands",
6479
6589
  "tenant",
6480
6590
  "env",
6481
- "list",
6591
+ "set_all",
6482
6592
  "index.js"
6483
6593
  ]
6484
6594
  },
6485
- "tenant:env:set": {
6595
+ "tenant:env:list": {
6486
6596
  "aliases": [],
6487
6597
  "args": {
6488
6598
  "tenant_name": {
@@ -6491,10 +6601,10 @@
6491
6601
  "required": true
6492
6602
  }
6493
6603
  },
6494
- "description": "Set (create or update) an environment variable for a tenant",
6604
+ "description": "List environment variable keys for a tenant",
6495
6605
  "examples": [
6496
- "$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
6497
- "$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
6606
+ "$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
6607
+ "$ xano tenant env list my-tenant -w 5 -o json"
6498
6608
  ],
6499
6609
  "flags": {
6500
6610
  "profile": {
@@ -6516,15 +6626,6 @@
6516
6626
  "allowNo": false,
6517
6627
  "type": "boolean"
6518
6628
  },
6519
- "name": {
6520
- "char": "n",
6521
- "description": "Environment variable name",
6522
- "name": "name",
6523
- "required": true,
6524
- "hasDynamicHelp": false,
6525
- "multiple": false,
6526
- "type": "option"
6527
- },
6528
6629
  "output": {
6529
6630
  "char": "o",
6530
6631
  "description": "Output format",
@@ -6539,14 +6640,6 @@
6539
6640
  ],
6540
6641
  "type": "option"
6541
6642
  },
6542
- "value": {
6543
- "description": "Environment variable value",
6544
- "name": "value",
6545
- "required": true,
6546
- "hasDynamicHelp": false,
6547
- "multiple": false,
6548
- "type": "option"
6549
- },
6550
6643
  "workspace": {
6551
6644
  "char": "w",
6552
6645
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -6559,7 +6652,7 @@
6559
6652
  },
6560
6653
  "hasDynamicHelp": false,
6561
6654
  "hiddenAliases": [],
6562
- "id": "tenant:env:set",
6655
+ "id": "tenant:env:list",
6563
6656
  "pluginAlias": "@xano/cli",
6564
6657
  "pluginName": "@xano/cli",
6565
6658
  "pluginType": "core",
@@ -6571,11 +6664,11 @@
6571
6664
  "commands",
6572
6665
  "tenant",
6573
6666
  "env",
6574
- "set",
6667
+ "list",
6575
6668
  "index.js"
6576
6669
  ]
6577
6670
  },
6578
- "tenant:env:set_all": {
6671
+ "tenant:license:get": {
6579
6672
  "aliases": [],
6580
6673
  "args": {
6581
6674
  "tenant_name": {
@@ -6584,11 +6677,12 @@
6584
6677
  "required": true
6585
6678
  }
6586
6679
  },
6587
- "description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
6680
+ "description": "Get the license for a tenant",
6588
6681
  "examples": [
6589
- "$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
6590
- "$ xano tenant env set_all my-tenant --file ./my-env.yaml",
6591
- "$ xano tenant env set_all my-tenant -o json"
6682
+ "$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
6683
+ "$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
6684
+ "$ xano tenant license get my-tenant --view",
6685
+ "$ xano tenant license get my-tenant -o json"
6592
6686
  ],
6593
6687
  "flags": {
6594
6688
  "profile": {
@@ -6610,16 +6704,9 @@
6610
6704
  "allowNo": false,
6611
6705
  "type": "boolean"
6612
6706
  },
6613
- "clean": {
6614
- "description": "Remove the source file after successful upload",
6615
- "name": "clean",
6616
- "required": false,
6617
- "allowNo": false,
6618
- "type": "boolean"
6619
- },
6620
6707
  "file": {
6621
6708
  "char": "f",
6622
- "description": "Path to env file (default: env_<tenant_name>.yaml)",
6709
+ "description": "Output file path (default: license_<tenant_name>.yaml)",
6623
6710
  "name": "file",
6624
6711
  "required": false,
6625
6712
  "hasDynamicHelp": false,
@@ -6640,6 +6727,13 @@
6640
6727
  ],
6641
6728
  "type": "option"
6642
6729
  },
6730
+ "view": {
6731
+ "description": "Print license to stdout instead of saving to file",
6732
+ "name": "view",
6733
+ "required": false,
6734
+ "allowNo": false,
6735
+ "type": "boolean"
6736
+ },
6643
6737
  "workspace": {
6644
6738
  "char": "w",
6645
6739
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -6652,7 +6746,7 @@
6652
6746
  },
6653
6747
  "hasDynamicHelp": false,
6654
6748
  "hiddenAliases": [],
6655
- "id": "tenant:env:set_all",
6749
+ "id": "tenant:license:get",
6656
6750
  "pluginAlias": "@xano/cli",
6657
6751
  "pluginName": "@xano/cli",
6658
6752
  "pluginType": "core",
@@ -6663,12 +6757,12 @@
6663
6757
  "dist",
6664
6758
  "commands",
6665
6759
  "tenant",
6666
- "env",
6667
- "set_all",
6760
+ "license",
6761
+ "get",
6668
6762
  "index.js"
6669
6763
  ]
6670
6764
  },
6671
- "tenant:license:get": {
6765
+ "tenant:license:set": {
6672
6766
  "aliases": [],
6673
6767
  "args": {
6674
6768
  "tenant_name": {
@@ -6677,12 +6771,12 @@
6677
6771
  "required": true
6678
6772
  }
6679
6773
  },
6680
- "description": "Get the license for a tenant",
6774
+ "description": "Set/update the license for a tenant",
6681
6775
  "examples": [
6682
- "$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
6683
- "$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
6684
- "$ xano tenant license get my-tenant --view",
6685
- "$ xano tenant license get my-tenant -o json"
6776
+ "$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
6777
+ "$ xano tenant license set my-tenant --file ./license.yaml",
6778
+ "$ xano tenant license set my-tenant --value 'key: value'",
6779
+ "$ xano tenant license set my-tenant -o json"
6686
6780
  ],
6687
6781
  "flags": {
6688
6782
  "profile": {
@@ -6704,9 +6798,22 @@
6704
6798
  "allowNo": false,
6705
6799
  "type": "boolean"
6706
6800
  },
6801
+ "clean": {
6802
+ "description": "Remove the source file after successful upload",
6803
+ "exclusive": [
6804
+ "value"
6805
+ ],
6806
+ "name": "clean",
6807
+ "required": false,
6808
+ "allowNo": false,
6809
+ "type": "boolean"
6810
+ },
6707
6811
  "file": {
6708
6812
  "char": "f",
6709
- "description": "Output file path (default: license_<tenant_name>.yaml)",
6813
+ "description": "Path to license file (default: license_<tenant_name>.yaml)",
6814
+ "exclusive": [
6815
+ "value"
6816
+ ],
6710
6817
  "name": "file",
6711
6818
  "required": false,
6712
6819
  "hasDynamicHelp": false,
@@ -6727,12 +6834,17 @@
6727
6834
  ],
6728
6835
  "type": "option"
6729
6836
  },
6730
- "view": {
6731
- "description": "Print license to stdout instead of saving to file",
6732
- "name": "view",
6837
+ "value": {
6838
+ "description": "Inline license value",
6839
+ "exclusive": [
6840
+ "file",
6841
+ "clean"
6842
+ ],
6843
+ "name": "value",
6733
6844
  "required": false,
6734
- "allowNo": false,
6735
- "type": "boolean"
6845
+ "hasDynamicHelp": false,
6846
+ "multiple": false,
6847
+ "type": "option"
6736
6848
  },
6737
6849
  "workspace": {
6738
6850
  "char": "w",
@@ -6746,7 +6858,7 @@
6746
6858
  },
6747
6859
  "hasDynamicHelp": false,
6748
6860
  "hiddenAliases": [],
6749
- "id": "tenant:license:get",
6861
+ "id": "tenant:license:set",
6750
6862
  "pluginAlias": "@xano/cli",
6751
6863
  "pluginName": "@xano/cli",
6752
6864
  "pluginType": "core",
@@ -6758,25 +6870,25 @@
6758
6870
  "commands",
6759
6871
  "tenant",
6760
6872
  "license",
6761
- "get",
6873
+ "set",
6762
6874
  "index.js"
6763
6875
  ]
6764
6876
  },
6765
- "tenant:license:set": {
6877
+ "tenant:cluster:license:set": {
6766
6878
  "aliases": [],
6767
6879
  "args": {
6768
- "tenant_name": {
6769
- "description": "Tenant name",
6770
- "name": "tenant_name",
6880
+ "cluster_id": {
6881
+ "description": "Tenant cluster ID",
6882
+ "name": "cluster_id",
6771
6883
  "required": true
6772
6884
  }
6773
6885
  },
6774
- "description": "Set/update the license for a tenant",
6886
+ "description": "Set/update the license (kubeconfig) for a tenant cluster",
6775
6887
  "examples": [
6776
- "$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
6777
- "$ xano tenant license set my-tenant --file ./license.yaml",
6778
- "$ xano tenant license set my-tenant --value 'key: value'",
6779
- "$ xano tenant license set my-tenant -o json"
6888
+ "$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
6889
+ "$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
6890
+ "$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
6891
+ "$ xano tenant cluster license set 1 -o json"
6780
6892
  ],
6781
6893
  "flags": {
6782
6894
  "profile": {
@@ -6810,7 +6922,7 @@
6810
6922
  },
6811
6923
  "file": {
6812
6924
  "char": "f",
6813
- "description": "Path to license file (default: license_<tenant_name>.yaml)",
6925
+ "description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
6814
6926
  "exclusive": [
6815
6927
  "value"
6816
6928
  ],
@@ -6835,7 +6947,7 @@
6835
6947
  "type": "option"
6836
6948
  },
6837
6949
  "value": {
6838
- "description": "Inline license value",
6950
+ "description": "Inline kubeconfig YAML value",
6839
6951
  "exclusive": [
6840
6952
  "file",
6841
6953
  "clean"
@@ -6845,20 +6957,11 @@
6845
6957
  "hasDynamicHelp": false,
6846
6958
  "multiple": false,
6847
6959
  "type": "option"
6848
- },
6849
- "workspace": {
6850
- "char": "w",
6851
- "description": "Workspace ID (uses profile workspace if not provided)",
6852
- "name": "workspace",
6853
- "required": false,
6854
- "hasDynamicHelp": false,
6855
- "multiple": false,
6856
- "type": "option"
6857
6960
  }
6858
6961
  },
6859
6962
  "hasDynamicHelp": false,
6860
6963
  "hiddenAliases": [],
6861
- "id": "tenant:license:set",
6964
+ "id": "tenant:cluster:license:set",
6862
6965
  "pluginAlias": "@xano/cli",
6863
6966
  "pluginName": "@xano/cli",
6864
6967
  "pluginType": "core",
@@ -6869,6 +6972,7 @@
6869
6972
  "dist",
6870
6973
  "commands",
6871
6974
  "tenant",
6975
+ "cluster",
6872
6976
  "license",
6873
6977
  "set",
6874
6978
  "index.js"
@@ -7053,111 +7157,7 @@
7053
7157
  "get",
7054
7158
  "index.js"
7055
7159
  ]
7056
- },
7057
- "tenant:cluster:license:set": {
7058
- "aliases": [],
7059
- "args": {
7060
- "cluster_id": {
7061
- "description": "Tenant cluster ID",
7062
- "name": "cluster_id",
7063
- "required": true
7064
- }
7065
- },
7066
- "description": "Set/update the license (kubeconfig) for a tenant cluster",
7067
- "examples": [
7068
- "$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
7069
- "$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
7070
- "$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
7071
- "$ xano tenant cluster license set 1 -o json"
7072
- ],
7073
- "flags": {
7074
- "profile": {
7075
- "char": "p",
7076
- "description": "Profile to use (uses default profile if not specified)",
7077
- "env": "XANO_PROFILE",
7078
- "name": "profile",
7079
- "required": false,
7080
- "hasDynamicHelp": false,
7081
- "multiple": false,
7082
- "type": "option"
7083
- },
7084
- "verbose": {
7085
- "char": "v",
7086
- "description": "Show detailed request/response information",
7087
- "env": "XANO_VERBOSE",
7088
- "name": "verbose",
7089
- "required": false,
7090
- "allowNo": false,
7091
- "type": "boolean"
7092
- },
7093
- "clean": {
7094
- "description": "Remove the source file after successful upload",
7095
- "exclusive": [
7096
- "value"
7097
- ],
7098
- "name": "clean",
7099
- "required": false,
7100
- "allowNo": false,
7101
- "type": "boolean"
7102
- },
7103
- "file": {
7104
- "char": "f",
7105
- "description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
7106
- "exclusive": [
7107
- "value"
7108
- ],
7109
- "name": "file",
7110
- "required": false,
7111
- "hasDynamicHelp": false,
7112
- "multiple": false,
7113
- "type": "option"
7114
- },
7115
- "output": {
7116
- "char": "o",
7117
- "description": "Output format",
7118
- "name": "output",
7119
- "required": false,
7120
- "default": "summary",
7121
- "hasDynamicHelp": false,
7122
- "multiple": false,
7123
- "options": [
7124
- "summary",
7125
- "json"
7126
- ],
7127
- "type": "option"
7128
- },
7129
- "value": {
7130
- "description": "Inline kubeconfig YAML value",
7131
- "exclusive": [
7132
- "file",
7133
- "clean"
7134
- ],
7135
- "name": "value",
7136
- "required": false,
7137
- "hasDynamicHelp": false,
7138
- "multiple": false,
7139
- "type": "option"
7140
- }
7141
- },
7142
- "hasDynamicHelp": false,
7143
- "hiddenAliases": [],
7144
- "id": "tenant:cluster:license:set",
7145
- "pluginAlias": "@xano/cli",
7146
- "pluginName": "@xano/cli",
7147
- "pluginType": "core",
7148
- "strict": true,
7149
- "enableJsonFlag": false,
7150
- "isESM": true,
7151
- "relativePath": [
7152
- "dist",
7153
- "commands",
7154
- "tenant",
7155
- "cluster",
7156
- "license",
7157
- "set",
7158
- "index.js"
7159
- ]
7160
7160
  }
7161
7161
  },
7162
- "version": "0.0.83"
7162
+ "version": "0.0.85"
7163
7163
  }