@xano/cli 0.0.82-beta.3 → 0.0.82-beta.4

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.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/oclif.manifest.json +1434 -1434
  3. package/package.json +1 -1
@@ -291,20 +291,20 @@
291
291
  "index.js"
292
292
  ]
293
293
  },
294
- "branch:list": {
294
+ "branch:edit": {
295
295
  "aliases": [],
296
296
  "args": {
297
- "workspace_id": {
298
- "description": "Workspace ID (uses profile workspace if not provided)",
299
- "name": "workspace_id",
300
- "required": false
297
+ "branch_label": {
298
+ "description": "Branch label to edit (cannot edit \"v1\" label)",
299
+ "name": "branch_label",
300
+ "required": true
301
301
  }
302
302
  },
303
- "description": "List all branches in a workspace",
303
+ "description": "Update an existing branch (cannot update \"v1\" label)",
304
304
  "examples": [
305
- "$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
306
- "$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
307
- "$ 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"
305
+ "$ xano branch edit dev --label development\nUpdated branch: development\n",
306
+ "$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
307
+ "$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
308
308
  ],
309
309
  "flags": {
310
310
  "profile": {
@@ -326,6 +326,33 @@
326
326
  "allowNo": false,
327
327
  "type": "boolean"
328
328
  },
329
+ "color": {
330
+ "char": "c",
331
+ "description": "New color hex code for the branch (e.g., \"#ff5733\")",
332
+ "name": "color",
333
+ "required": false,
334
+ "hasDynamicHelp": false,
335
+ "multiple": false,
336
+ "type": "option"
337
+ },
338
+ "description": {
339
+ "char": "d",
340
+ "description": "New description for the branch",
341
+ "name": "description",
342
+ "required": false,
343
+ "hasDynamicHelp": false,
344
+ "multiple": false,
345
+ "type": "option"
346
+ },
347
+ "label": {
348
+ "char": "l",
349
+ "description": "New label for the branch",
350
+ "name": "label",
351
+ "required": false,
352
+ "hasDynamicHelp": false,
353
+ "multiple": false,
354
+ "type": "option"
355
+ },
329
356
  "output": {
330
357
  "char": "o",
331
358
  "description": "Output format",
@@ -339,11 +366,20 @@
339
366
  "json"
340
367
  ],
341
368
  "type": "option"
369
+ },
370
+ "workspace": {
371
+ "char": "w",
372
+ "description": "Workspace ID (uses profile workspace if not provided)",
373
+ "name": "workspace",
374
+ "required": false,
375
+ "hasDynamicHelp": false,
376
+ "multiple": false,
377
+ "type": "option"
342
378
  }
343
379
  },
344
380
  "hasDynamicHelp": false,
345
381
  "hiddenAliases": [],
346
- "id": "branch:list",
382
+ "id": "branch:edit",
347
383
  "pluginAlias": "@xano/cli",
348
384
  "pluginName": "@xano/cli",
349
385
  "pluginType": "core",
@@ -354,24 +390,24 @@
354
390
  "dist",
355
391
  "commands",
356
392
  "branch",
357
- "list",
393
+ "edit",
358
394
  "index.js"
359
395
  ]
360
396
  },
361
- "branch:set_live": {
397
+ "branch:list": {
362
398
  "aliases": [],
363
399
  "args": {
364
- "branch_label": {
365
- "description": "Branch label to set as live (use \"v1\" for default branch)",
366
- "name": "branch_label",
367
- "required": true
400
+ "workspace_id": {
401
+ "description": "Workspace ID (uses profile workspace if not provided)",
402
+ "name": "workspace_id",
403
+ "required": false
368
404
  }
369
405
  },
370
- "description": "Set a branch as the live (active) branch for API requests",
406
+ "description": "List all branches in a workspace",
371
407
  "examples": [
372
- "$ 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",
373
- "$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
374
- "$ 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"
375
411
  ],
376
412
  "flags": {
377
413
  "profile": {
@@ -393,14 +429,6 @@
393
429
  "allowNo": false,
394
430
  "type": "boolean"
395
431
  },
396
- "force": {
397
- "char": "f",
398
- "description": "Skip confirmation prompt",
399
- "name": "force",
400
- "required": false,
401
- "allowNo": false,
402
- "type": "boolean"
403
- },
404
432
  "output": {
405
433
  "char": "o",
406
434
  "description": "Output format",
@@ -414,20 +442,11 @@
414
442
  "json"
415
443
  ],
416
444
  "type": "option"
417
- },
418
- "workspace": {
419
- "char": "w",
420
- "description": "Workspace ID (uses profile workspace if not provided)",
421
- "name": "workspace",
422
- "required": false,
423
- "hasDynamicHelp": false,
424
- "multiple": false,
425
- "type": "option"
426
445
  }
427
446
  },
428
447
  "hasDynamicHelp": false,
429
448
  "hiddenAliases": [],
430
- "id": "branch:set_live",
449
+ "id": "branch:list",
431
450
  "pluginAlias": "@xano/cli",
432
451
  "pluginName": "@xano/cli",
433
452
  "pluginType": "core",
@@ -438,29 +457,24 @@
438
457
  "dist",
439
458
  "commands",
440
459
  "branch",
441
- "set_live",
460
+ "list",
442
461
  "index.js"
443
462
  ]
444
463
  },
445
- "function:edit": {
464
+ "branch:set_live": {
446
465
  "aliases": [],
447
466
  "args": {
448
- "function_id": {
449
- "description": "Function ID to edit",
450
- "name": "function_id",
451
- "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
452
471
  }
453
472
  },
454
- "description": "Edit a function in a workspace",
473
+ "description": "Set a branch as the live (active) branch for API requests",
455
474
  "examples": [
456
- "$ 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",
457
- "$ 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",
458
- "$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
459
- "$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
460
- "$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
461
- "$ 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",
462
- "$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
463
- "$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\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"
464
478
  ],
465
479
  "flags": {
466
480
  "profile": {
@@ -482,26 +496,14 @@
482
496
  "allowNo": false,
483
497
  "type": "boolean"
484
498
  },
485
- "edit": {
486
- "char": "e",
487
- "description": "Open file in editor before updating function (requires --file)",
488
- "name": "edit",
499
+ "force": {
500
+ "char": "f",
501
+ "description": "Skip confirmation prompt",
502
+ "name": "force",
489
503
  "required": false,
490
504
  "allowNo": false,
491
505
  "type": "boolean"
492
506
  },
493
- "file": {
494
- "char": "f",
495
- "description": "Path to file containing XanoScript code",
496
- "exclusive": [
497
- "stdin"
498
- ],
499
- "name": "file",
500
- "required": false,
501
- "hasDynamicHelp": false,
502
- "multiple": false,
503
- "type": "option"
504
- },
505
507
  "output": {
506
508
  "char": "o",
507
509
  "description": "Output format",
@@ -516,27 +518,9 @@
516
518
  ],
517
519
  "type": "option"
518
520
  },
519
- "publish": {
520
- "description": "Publish the function after editing",
521
- "name": "publish",
522
- "required": false,
523
- "allowNo": false,
524
- "type": "boolean"
525
- },
526
- "stdin": {
527
- "char": "s",
528
- "description": "Read XanoScript code from stdin",
529
- "exclusive": [
530
- "file"
531
- ],
532
- "name": "stdin",
533
- "required": false,
534
- "allowNo": false,
535
- "type": "boolean"
536
- },
537
521
  "workspace": {
538
522
  "char": "w",
539
- "description": "Workspace ID (optional if set in profile)",
523
+ "description": "Workspace ID (uses profile workspace if not provided)",
540
524
  "name": "workspace",
541
525
  "required": false,
542
526
  "hasDynamicHelp": false,
@@ -546,7 +530,7 @@
546
530
  },
547
531
  "hasDynamicHelp": false,
548
532
  "hiddenAliases": [],
549
- "id": "function:edit",
533
+ "id": "branch:set_live",
550
534
  "pluginAlias": "@xano/cli",
551
535
  "pluginName": "@xano/cli",
552
536
  "pluginType": "core",
@@ -556,8 +540,8 @@
556
540
  "relativePath": [
557
541
  "dist",
558
542
  "commands",
559
- "function",
560
- "edit",
543
+ "branch",
544
+ "set_live",
561
545
  "index.js"
562
546
  ]
563
547
  },
@@ -761,15 +745,25 @@
761
745
  "index.js"
762
746
  ]
763
747
  },
764
- "function:list": {
748
+ "function:edit": {
765
749
  "aliases": [],
766
- "args": {},
767
- "description": "List all functions in a workspace from the Xano Metadata API",
750
+ "args": {
751
+ "function_id": {
752
+ "description": "Function ID to edit",
753
+ "name": "function_id",
754
+ "required": false
755
+ }
756
+ },
757
+ "description": "Edit a function in a workspace",
768
758
  "examples": [
769
- "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
770
- "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
771
- "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
772
- "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
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"
773
767
  ],
774
768
  "flags": {
775
769
  "profile": {
@@ -791,31 +785,24 @@
791
785
  "allowNo": false,
792
786
  "type": "boolean"
793
787
  },
794
- "include_draft": {
795
- "description": "Include draft functions",
796
- "name": "include_draft",
797
- "required": false,
798
- "allowNo": false,
799
- "type": "boolean"
800
- },
801
- "include_xanoscript": {
802
- "description": "Include XanoScript in response",
803
- "name": "include_xanoscript",
788
+ "edit": {
789
+ "char": "e",
790
+ "description": "Open file in editor before updating function (requires --file)",
791
+ "name": "edit",
804
792
  "required": false,
805
793
  "allowNo": false,
806
794
  "type": "boolean"
807
795
  },
808
- "order": {
809
- "description": "Sort order",
810
- "name": "order",
796
+ "file": {
797
+ "char": "f",
798
+ "description": "Path to file containing XanoScript code",
799
+ "exclusive": [
800
+ "stdin"
801
+ ],
802
+ "name": "file",
811
803
  "required": false,
812
- "default": "desc",
813
804
  "hasDynamicHelp": false,
814
805
  "multiple": false,
815
- "options": [
816
- "asc",
817
- "desc"
818
- ],
819
806
  "type": "option"
820
807
  },
821
808
  "output": {
@@ -832,32 +819,23 @@
832
819
  ],
833
820
  "type": "option"
834
821
  },
835
- "page": {
836
- "description": "Page number for pagination",
837
- "name": "page",
838
- "required": false,
839
- "default": 1,
840
- "hasDynamicHelp": false,
841
- "multiple": false,
842
- "type": "option"
843
- },
844
- "per_page": {
845
- "description": "Number of results per page",
846
- "name": "per_page",
822
+ "publish": {
823
+ "description": "Publish the function after editing",
824
+ "name": "publish",
847
825
  "required": false,
848
- "default": 50,
849
- "hasDynamicHelp": false,
850
- "multiple": false,
851
- "type": "option"
826
+ "allowNo": false,
827
+ "type": "boolean"
852
828
  },
853
- "sort": {
854
- "description": "Sort field",
855
- "name": "sort",
829
+ "stdin": {
830
+ "char": "s",
831
+ "description": "Read XanoScript code from stdin",
832
+ "exclusive": [
833
+ "file"
834
+ ],
835
+ "name": "stdin",
856
836
  "required": false,
857
- "default": "created_at",
858
- "hasDynamicHelp": false,
859
- "multiple": false,
860
- "type": "option"
837
+ "allowNo": false,
838
+ "type": "boolean"
861
839
  },
862
840
  "workspace": {
863
841
  "char": "w",
@@ -871,7 +849,7 @@
871
849
  },
872
850
  "hasDynamicHelp": false,
873
851
  "hiddenAliases": [],
874
- "id": "function:list",
852
+ "id": "function:edit",
875
853
  "pluginAlias": "@xano/cli",
876
854
  "pluginName": "@xano/cli",
877
855
  "pluginType": "core",
@@ -882,24 +860,19 @@
882
860
  "dist",
883
861
  "commands",
884
862
  "function",
885
- "list",
863
+ "edit",
886
864
  "index.js"
887
865
  ]
888
866
  },
889
- "branch:get": {
867
+ "function:list": {
890
868
  "aliases": [],
891
- "args": {
892
- "branch_label": {
893
- "description": "Branch label (e.g., \"v1\", \"dev\")",
894
- "name": "branch_label",
895
- "required": true
896
- }
897
- },
898
- "description": "Get details for a specific branch",
869
+ "args": {},
870
+ "description": "List all functions in a workspace from the Xano Metadata API",
899
871
  "examples": [
900
- "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
901
- "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
902
- "$ 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"
872
+ "$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
873
+ "$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
874
+ "$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
875
+ "$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
903
876
  ],
904
877
  "flags": {
905
878
  "profile": {
@@ -921,6 +894,33 @@
921
894
  "allowNo": false,
922
895
  "type": "boolean"
923
896
  },
897
+ "include_draft": {
898
+ "description": "Include draft functions",
899
+ "name": "include_draft",
900
+ "required": false,
901
+ "allowNo": false,
902
+ "type": "boolean"
903
+ },
904
+ "include_xanoscript": {
905
+ "description": "Include XanoScript in response",
906
+ "name": "include_xanoscript",
907
+ "required": false,
908
+ "allowNo": false,
909
+ "type": "boolean"
910
+ },
911
+ "order": {
912
+ "description": "Sort order",
913
+ "name": "order",
914
+ "required": false,
915
+ "default": "desc",
916
+ "hasDynamicHelp": false,
917
+ "multiple": false,
918
+ "options": [
919
+ "asc",
920
+ "desc"
921
+ ],
922
+ "type": "option"
923
+ },
924
924
  "output": {
925
925
  "char": "o",
926
926
  "description": "Output format",
@@ -935,9 +935,36 @@
935
935
  ],
936
936
  "type": "option"
937
937
  },
938
+ "page": {
939
+ "description": "Page number for pagination",
940
+ "name": "page",
941
+ "required": false,
942
+ "default": 1,
943
+ "hasDynamicHelp": false,
944
+ "multiple": false,
945
+ "type": "option"
946
+ },
947
+ "per_page": {
948
+ "description": "Number of results per page",
949
+ "name": "per_page",
950
+ "required": false,
951
+ "default": 50,
952
+ "hasDynamicHelp": false,
953
+ "multiple": false,
954
+ "type": "option"
955
+ },
956
+ "sort": {
957
+ "description": "Sort field",
958
+ "name": "sort",
959
+ "required": false,
960
+ "default": "created_at",
961
+ "hasDynamicHelp": false,
962
+ "multiple": false,
963
+ "type": "option"
964
+ },
938
965
  "workspace": {
939
966
  "char": "w",
940
- "description": "Workspace ID (uses profile workspace if not provided)",
967
+ "description": "Workspace ID (optional if set in profile)",
941
968
  "name": "workspace",
942
969
  "required": false,
943
970
  "hasDynamicHelp": false,
@@ -947,7 +974,7 @@
947
974
  },
948
975
  "hasDynamicHelp": false,
949
976
  "hiddenAliases": [],
950
- "id": "branch:get",
977
+ "id": "function:list",
951
978
  "pluginAlias": "@xano/cli",
952
979
  "pluginName": "@xano/cli",
953
980
  "pluginType": "core",
@@ -957,8 +984,8 @@
957
984
  "relativePath": [
958
985
  "dist",
959
986
  "commands",
960
- "branch",
961
- "get",
987
+ "function",
988
+ "list",
962
989
  "index.js"
963
990
  ]
964
991
  },
@@ -1028,109 +1055,6 @@
1028
1055
  "index.js"
1029
1056
  ]
1030
1057
  },
1031
- "branch:edit": {
1032
- "aliases": [],
1033
- "args": {
1034
- "branch_label": {
1035
- "description": "Branch label to edit (cannot edit \"v1\" label)",
1036
- "name": "branch_label",
1037
- "required": true
1038
- }
1039
- },
1040
- "description": "Update an existing branch (cannot update \"v1\" label)",
1041
- "examples": [
1042
- "$ xano branch edit dev --label development\nUpdated branch: development\n",
1043
- "$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
1044
- "$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
1045
- ],
1046
- "flags": {
1047
- "profile": {
1048
- "char": "p",
1049
- "description": "Profile to use (uses default profile if not specified)",
1050
- "env": "XANO_PROFILE",
1051
- "name": "profile",
1052
- "required": false,
1053
- "hasDynamicHelp": false,
1054
- "multiple": false,
1055
- "type": "option"
1056
- },
1057
- "verbose": {
1058
- "char": "v",
1059
- "description": "Show detailed request/response information",
1060
- "env": "XANO_VERBOSE",
1061
- "name": "verbose",
1062
- "required": false,
1063
- "allowNo": false,
1064
- "type": "boolean"
1065
- },
1066
- "color": {
1067
- "char": "c",
1068
- "description": "New color hex code for the branch (e.g., \"#ff5733\")",
1069
- "name": "color",
1070
- "required": false,
1071
- "hasDynamicHelp": false,
1072
- "multiple": false,
1073
- "type": "option"
1074
- },
1075
- "description": {
1076
- "char": "d",
1077
- "description": "New description for the branch",
1078
- "name": "description",
1079
- "required": false,
1080
- "hasDynamicHelp": false,
1081
- "multiple": false,
1082
- "type": "option"
1083
- },
1084
- "label": {
1085
- "char": "l",
1086
- "description": "New label for the branch",
1087
- "name": "label",
1088
- "required": false,
1089
- "hasDynamicHelp": false,
1090
- "multiple": false,
1091
- "type": "option"
1092
- },
1093
- "output": {
1094
- "char": "o",
1095
- "description": "Output format",
1096
- "name": "output",
1097
- "required": false,
1098
- "default": "summary",
1099
- "hasDynamicHelp": false,
1100
- "multiple": false,
1101
- "options": [
1102
- "summary",
1103
- "json"
1104
- ],
1105
- "type": "option"
1106
- },
1107
- "workspace": {
1108
- "char": "w",
1109
- "description": "Workspace ID (uses profile workspace if not provided)",
1110
- "name": "workspace",
1111
- "required": false,
1112
- "hasDynamicHelp": false,
1113
- "multiple": false,
1114
- "type": "option"
1115
- }
1116
- },
1117
- "hasDynamicHelp": false,
1118
- "hiddenAliases": [],
1119
- "id": "branch:edit",
1120
- "pluginAlias": "@xano/cli",
1121
- "pluginName": "@xano/cli",
1122
- "pluginType": "core",
1123
- "strict": true,
1124
- "enableJsonFlag": false,
1125
- "isESM": true,
1126
- "relativePath": [
1127
- "dist",
1128
- "commands",
1129
- "branch",
1130
- "edit",
1131
- "index.js"
1132
- ]
1133
- },
1134
1058
  "platform:list": {
1135
1059
  "aliases": [],
1136
1060
  "args": {},
@@ -1287,17 +1211,68 @@
1287
1211
  "index.js"
1288
1212
  ]
1289
1213
  },
1290
- "profile:get": {
1214
+ "branch:get": {
1291
1215
  "aliases": [],
1292
- "args": {},
1293
- "description": "Get the current default profile name",
1216
+ "args": {
1217
+ "branch_label": {
1218
+ "description": "Branch label (e.g., \"v1\", \"dev\")",
1219
+ "name": "branch_label",
1220
+ "required": true
1221
+ }
1222
+ },
1223
+ "description": "Get details for a specific branch",
1294
1224
  "examples": [
1295
- "$ xano profile get\nproduction\n"
1225
+ "$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
1226
+ "$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
1227
+ "$ 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"
1296
1228
  ],
1297
- "flags": {},
1229
+ "flags": {
1230
+ "profile": {
1231
+ "char": "p",
1232
+ "description": "Profile to use (uses default profile if not specified)",
1233
+ "env": "XANO_PROFILE",
1234
+ "name": "profile",
1235
+ "required": false,
1236
+ "hasDynamicHelp": false,
1237
+ "multiple": false,
1238
+ "type": "option"
1239
+ },
1240
+ "verbose": {
1241
+ "char": "v",
1242
+ "description": "Show detailed request/response information",
1243
+ "env": "XANO_VERBOSE",
1244
+ "name": "verbose",
1245
+ "required": false,
1246
+ "allowNo": false,
1247
+ "type": "boolean"
1248
+ },
1249
+ "output": {
1250
+ "char": "o",
1251
+ "description": "Output format",
1252
+ "name": "output",
1253
+ "required": false,
1254
+ "default": "summary",
1255
+ "hasDynamicHelp": false,
1256
+ "multiple": false,
1257
+ "options": [
1258
+ "summary",
1259
+ "json"
1260
+ ],
1261
+ "type": "option"
1262
+ },
1263
+ "workspace": {
1264
+ "char": "w",
1265
+ "description": "Workspace ID (uses profile workspace if not provided)",
1266
+ "name": "workspace",
1267
+ "required": false,
1268
+ "hasDynamicHelp": false,
1269
+ "multiple": false,
1270
+ "type": "option"
1271
+ }
1272
+ },
1298
1273
  "hasDynamicHelp": false,
1299
1274
  "hiddenAliases": [],
1300
- "id": "profile:get",
1275
+ "id": "branch:get",
1301
1276
  "pluginAlias": "@xano/cli",
1302
1277
  "pluginName": "@xano/cli",
1303
1278
  "pluginType": "core",
@@ -1307,109 +1282,12 @@
1307
1282
  "relativePath": [
1308
1283
  "dist",
1309
1284
  "commands",
1310
- "profile",
1285
+ "branch",
1311
1286
  "get",
1312
1287
  "index.js"
1313
1288
  ]
1314
1289
  },
1315
- "profile:list": {
1316
- "aliases": [],
1317
- "args": {},
1318
- "description": "List all available profile configurations",
1319
- "examples": [
1320
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1321
- "$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
1322
- "$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
1323
- ],
1324
- "flags": {
1325
- "details": {
1326
- "char": "d",
1327
- "description": "Show detailed information for each profile",
1328
- "name": "details",
1329
- "required": false,
1330
- "allowNo": false,
1331
- "type": "boolean"
1332
- }
1333
- },
1334
- "hasDynamicHelp": false,
1335
- "hiddenAliases": [],
1336
- "id": "profile:list",
1337
- "pluginAlias": "@xano/cli",
1338
- "pluginName": "@xano/cli",
1339
- "pluginType": "core",
1340
- "strict": true,
1341
- "enableJsonFlag": false,
1342
- "isESM": true,
1343
- "relativePath": [
1344
- "dist",
1345
- "commands",
1346
- "profile",
1347
- "list",
1348
- "index.js"
1349
- ]
1350
- },
1351
- "profile:me": {
1352
- "aliases": [],
1353
- "args": {},
1354
- "description": "Get information about the currently authenticated user",
1355
- "examples": [
1356
- "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1357
- "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1358
- "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1359
- ],
1360
- "flags": {
1361
- "profile": {
1362
- "char": "p",
1363
- "description": "Profile to use (uses default profile if not specified)",
1364
- "env": "XANO_PROFILE",
1365
- "name": "profile",
1366
- "required": false,
1367
- "hasDynamicHelp": false,
1368
- "multiple": false,
1369
- "type": "option"
1370
- },
1371
- "verbose": {
1372
- "char": "v",
1373
- "description": "Show detailed request/response information",
1374
- "env": "XANO_VERBOSE",
1375
- "name": "verbose",
1376
- "required": false,
1377
- "allowNo": false,
1378
- "type": "boolean"
1379
- },
1380
- "output": {
1381
- "char": "o",
1382
- "description": "Output format",
1383
- "name": "output",
1384
- "required": false,
1385
- "default": "summary",
1386
- "hasDynamicHelp": false,
1387
- "multiple": false,
1388
- "options": [
1389
- "summary",
1390
- "json"
1391
- ],
1392
- "type": "option"
1393
- }
1394
- },
1395
- "hasDynamicHelp": false,
1396
- "hiddenAliases": [],
1397
- "id": "profile:me",
1398
- "pluginAlias": "@xano/cli",
1399
- "pluginName": "@xano/cli",
1400
- "pluginType": "core",
1401
- "strict": true,
1402
- "enableJsonFlag": false,
1403
- "isESM": true,
1404
- "relativePath": [
1405
- "dist",
1406
- "commands",
1407
- "profile",
1408
- "me",
1409
- "index.js"
1410
- ]
1411
- },
1412
- "profile:delete": {
1290
+ "profile:delete": {
1413
1291
  "aliases": [],
1414
1292
  "args": {
1415
1293
  "name": {
@@ -1581,6 +1459,67 @@
1581
1459
  "index.js"
1582
1460
  ]
1583
1461
  },
1462
+ "profile:get": {
1463
+ "aliases": [],
1464
+ "args": {},
1465
+ "description": "Get the current default profile name",
1466
+ "examples": [
1467
+ "$ xano profile get\nproduction\n"
1468
+ ],
1469
+ "flags": {},
1470
+ "hasDynamicHelp": false,
1471
+ "hiddenAliases": [],
1472
+ "id": "profile:get",
1473
+ "pluginAlias": "@xano/cli",
1474
+ "pluginName": "@xano/cli",
1475
+ "pluginType": "core",
1476
+ "strict": true,
1477
+ "enableJsonFlag": false,
1478
+ "isESM": true,
1479
+ "relativePath": [
1480
+ "dist",
1481
+ "commands",
1482
+ "profile",
1483
+ "get",
1484
+ "index.js"
1485
+ ]
1486
+ },
1487
+ "profile:list": {
1488
+ "aliases": [],
1489
+ "args": {},
1490
+ "description": "List all available profile configurations",
1491
+ "examples": [
1492
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1493
+ "$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
1494
+ "$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
1495
+ ],
1496
+ "flags": {
1497
+ "details": {
1498
+ "char": "d",
1499
+ "description": "Show detailed information for each profile",
1500
+ "name": "details",
1501
+ "required": false,
1502
+ "allowNo": false,
1503
+ "type": "boolean"
1504
+ }
1505
+ },
1506
+ "hasDynamicHelp": false,
1507
+ "hiddenAliases": [],
1508
+ "id": "profile:list",
1509
+ "pluginAlias": "@xano/cli",
1510
+ "pluginName": "@xano/cli",
1511
+ "pluginType": "core",
1512
+ "strict": true,
1513
+ "enableJsonFlag": false,
1514
+ "isESM": true,
1515
+ "relativePath": [
1516
+ "dist",
1517
+ "commands",
1518
+ "profile",
1519
+ "list",
1520
+ "index.js"
1521
+ ]
1522
+ },
1584
1523
  "profile:set": {
1585
1524
  "aliases": [],
1586
1525
  "args": {
@@ -1612,6 +1551,67 @@
1612
1551
  "index.js"
1613
1552
  ]
1614
1553
  },
1554
+ "profile:me": {
1555
+ "aliases": [],
1556
+ "args": {},
1557
+ "description": "Get information about the currently authenticated user",
1558
+ "examples": [
1559
+ "$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
1560
+ "$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
1561
+ "$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
1562
+ ],
1563
+ "flags": {
1564
+ "profile": {
1565
+ "char": "p",
1566
+ "description": "Profile to use (uses default profile if not specified)",
1567
+ "env": "XANO_PROFILE",
1568
+ "name": "profile",
1569
+ "required": false,
1570
+ "hasDynamicHelp": false,
1571
+ "multiple": false,
1572
+ "type": "option"
1573
+ },
1574
+ "verbose": {
1575
+ "char": "v",
1576
+ "description": "Show detailed request/response information",
1577
+ "env": "XANO_VERBOSE",
1578
+ "name": "verbose",
1579
+ "required": false,
1580
+ "allowNo": false,
1581
+ "type": "boolean"
1582
+ },
1583
+ "output": {
1584
+ "char": "o",
1585
+ "description": "Output format",
1586
+ "name": "output",
1587
+ "required": false,
1588
+ "default": "summary",
1589
+ "hasDynamicHelp": false,
1590
+ "multiple": false,
1591
+ "options": [
1592
+ "summary",
1593
+ "json"
1594
+ ],
1595
+ "type": "option"
1596
+ }
1597
+ },
1598
+ "hasDynamicHelp": false,
1599
+ "hiddenAliases": [],
1600
+ "id": "profile:me",
1601
+ "pluginAlias": "@xano/cli",
1602
+ "pluginName": "@xano/cli",
1603
+ "pluginType": "core",
1604
+ "strict": true,
1605
+ "enableJsonFlag": false,
1606
+ "isESM": true,
1607
+ "relativePath": [
1608
+ "dist",
1609
+ "commands",
1610
+ "profile",
1611
+ "me",
1612
+ "index.js"
1613
+ ]
1614
+ },
1615
1615
  "profile:token": {
1616
1616
  "aliases": [],
1617
1617
  "args": {},
@@ -1749,6 +1749,32 @@
1749
1749
  "index.js"
1750
1750
  ]
1751
1751
  },
1752
+ "profile:workspace": {
1753
+ "aliases": [],
1754
+ "args": {},
1755
+ "description": "Print the workspace ID for the default profile",
1756
+ "examples": [
1757
+ "$ xano profile:workspace\nabc123-workspace-id\n",
1758
+ "$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
1759
+ ],
1760
+ "flags": {},
1761
+ "hasDynamicHelp": false,
1762
+ "hiddenAliases": [],
1763
+ "id": "profile:workspace",
1764
+ "pluginAlias": "@xano/cli",
1765
+ "pluginName": "@xano/cli",
1766
+ "pluginType": "core",
1767
+ "strict": true,
1768
+ "enableJsonFlag": false,
1769
+ "isESM": true,
1770
+ "relativePath": [
1771
+ "dist",
1772
+ "commands",
1773
+ "profile",
1774
+ "workspace",
1775
+ "index.js"
1776
+ ]
1777
+ },
1752
1778
  "release:delete": {
1753
1779
  "aliases": [],
1754
1780
  "args": {
@@ -1833,16 +1859,69 @@
1833
1859
  "index.js"
1834
1860
  ]
1835
1861
  },
1836
- "release:edit": {
1862
+ "profile:wizard": {
1837
1863
  "aliases": [],
1838
- "args": {
1839
- "release_name": {
1840
- "description": "Release name to edit",
1841
- "name": "release_name",
1842
- "required": true
1843
- }
1844
- },
1845
- "description": "Edit an existing release",
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
+ },
1915
+ "release:edit": {
1916
+ "aliases": [],
1917
+ "args": {
1918
+ "release_name": {
1919
+ "description": "Release name to edit",
1920
+ "name": "release_name",
1921
+ "required": true
1922
+ }
1923
+ },
1924
+ "description": "Edit an existing release",
1846
1925
  "examples": [
1847
1926
  "$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
1848
1927
  "$ xano release edit v1.0 --description \"New description\" -o json"
@@ -2163,91 +2242,6 @@
2163
2242
  "index.js"
2164
2243
  ]
2165
2244
  },
2166
- "release:pull": {
2167
- "aliases": [],
2168
- "args": {
2169
- "directory": {
2170
- "description": "Output directory for pulled documents",
2171
- "name": "directory",
2172
- "required": true
2173
- }
2174
- },
2175
- "description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
2176
- "examples": [
2177
- "$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
2178
- "$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
2179
- "$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
2180
- ],
2181
- "flags": {
2182
- "profile": {
2183
- "char": "p",
2184
- "description": "Profile to use (uses default profile if not specified)",
2185
- "env": "XANO_PROFILE",
2186
- "name": "profile",
2187
- "required": false,
2188
- "hasDynamicHelp": false,
2189
- "multiple": false,
2190
- "type": "option"
2191
- },
2192
- "verbose": {
2193
- "char": "v",
2194
- "description": "Show detailed request/response information",
2195
- "env": "XANO_VERBOSE",
2196
- "name": "verbose",
2197
- "required": false,
2198
- "allowNo": false,
2199
- "type": "boolean"
2200
- },
2201
- "env": {
2202
- "description": "Include environment variables",
2203
- "name": "env",
2204
- "required": false,
2205
- "allowNo": false,
2206
- "type": "boolean"
2207
- },
2208
- "records": {
2209
- "description": "Include records",
2210
- "name": "records",
2211
- "required": false,
2212
- "allowNo": false,
2213
- "type": "boolean"
2214
- },
2215
- "release": {
2216
- "char": "r",
2217
- "description": "Release name to pull from",
2218
- "name": "release",
2219
- "required": true,
2220
- "hasDynamicHelp": false,
2221
- "multiple": false,
2222
- "type": "option"
2223
- },
2224
- "workspace": {
2225
- "char": "w",
2226
- "description": "Workspace ID (optional if set in profile)",
2227
- "name": "workspace",
2228
- "required": false,
2229
- "hasDynamicHelp": false,
2230
- "multiple": false,
2231
- "type": "option"
2232
- }
2233
- },
2234
- "hasDynamicHelp": false,
2235
- "hiddenAliases": [],
2236
- "id": "release:pull",
2237
- "pluginAlias": "@xano/cli",
2238
- "pluginName": "@xano/cli",
2239
- "pluginType": "core",
2240
- "strict": true,
2241
- "enableJsonFlag": false,
2242
- "isESM": true,
2243
- "relativePath": [
2244
- "dist",
2245
- "commands",
2246
- "release",
2247
- "pull",
2248
- "index.js"
2249
- ]
2250
- },
2251
2245
  "release:list": {
2252
2246
  "aliases": [],
2253
2247
  "args": {},
@@ -2435,18 +2429,77 @@
2435
2429
  "index.js"
2436
2430
  ]
2437
2431
  },
2438
- "profile:workspace": {
2432
+ "release:pull": {
2439
2433
  "aliases": [],
2440
- "args": {},
2441
- "description": "Print the workspace ID for the default profile",
2434
+ "args": {
2435
+ "directory": {
2436
+ "description": "Output directory for pulled documents",
2437
+ "name": "directory",
2438
+ "required": true
2439
+ }
2440
+ },
2441
+ "description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
2442
2442
  "examples": [
2443
- "$ xano profile:workspace\nabc123-workspace-id\n",
2444
- "$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
2443
+ "$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
2444
+ "$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
2445
+ "$ xano release pull ./backup -r v1.0 --profile production --env --records\nPulled 58 documents from release 'v1.0' to ./backup\n"
2445
2446
  ],
2446
- "flags": {},
2447
+ "flags": {
2448
+ "profile": {
2449
+ "char": "p",
2450
+ "description": "Profile to use (uses default profile if not specified)",
2451
+ "env": "XANO_PROFILE",
2452
+ "name": "profile",
2453
+ "required": false,
2454
+ "hasDynamicHelp": false,
2455
+ "multiple": false,
2456
+ "type": "option"
2457
+ },
2458
+ "verbose": {
2459
+ "char": "v",
2460
+ "description": "Show detailed request/response information",
2461
+ "env": "XANO_VERBOSE",
2462
+ "name": "verbose",
2463
+ "required": false,
2464
+ "allowNo": false,
2465
+ "type": "boolean"
2466
+ },
2467
+ "env": {
2468
+ "description": "Include environment variables",
2469
+ "name": "env",
2470
+ "required": false,
2471
+ "allowNo": false,
2472
+ "type": "boolean"
2473
+ },
2474
+ "records": {
2475
+ "description": "Include records",
2476
+ "name": "records",
2477
+ "required": false,
2478
+ "allowNo": false,
2479
+ "type": "boolean"
2480
+ },
2481
+ "release": {
2482
+ "char": "r",
2483
+ "description": "Release name to pull from",
2484
+ "name": "release",
2485
+ "required": true,
2486
+ "hasDynamicHelp": false,
2487
+ "multiple": false,
2488
+ "type": "option"
2489
+ },
2490
+ "workspace": {
2491
+ "char": "w",
2492
+ "description": "Workspace ID (optional if set in profile)",
2493
+ "name": "workspace",
2494
+ "required": false,
2495
+ "hasDynamicHelp": false,
2496
+ "multiple": false,
2497
+ "type": "option"
2498
+ }
2499
+ },
2447
2500
  "hasDynamicHelp": false,
2448
2501
  "hiddenAliases": [],
2449
- "id": "profile:workspace",
2502
+ "id": "release:pull",
2450
2503
  "pluginAlias": "@xano/cli",
2451
2504
  "pluginName": "@xano/cli",
2452
2505
  "pluginType": "core",
@@ -2456,24 +2509,20 @@
2456
2509
  "relativePath": [
2457
2510
  "dist",
2458
2511
  "commands",
2459
- "profile",
2460
- "workspace",
2512
+ "release",
2513
+ "pull",
2461
2514
  "index.js"
2462
2515
  ]
2463
2516
  },
2464
- "tenant:create": {
2517
+ "static_host:list": {
2465
2518
  "aliases": [],
2466
- "args": {
2467
- "display": {
2468
- "description": "Display name for the tenant",
2469
- "name": "display",
2470
- "required": true
2471
- }
2472
- },
2473
- "description": "Create a new tenant in a workspace",
2519
+ "args": {},
2520
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
2474
2521
  "examples": [
2475
- "$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
2476
- "$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
2522
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2523
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
2524
+ "$ 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",
2525
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
2477
2526
  ],
2478
2527
  "flags": {
2479
2528
  "profile": {
@@ -2495,88 +2544,41 @@
2495
2544
  "allowNo": false,
2496
2545
  "type": "boolean"
2497
2546
  },
2498
- "cluster_id": {
2499
- "description": "Cluster ID to deploy to (required for tier2/tier3)",
2500
- "name": "cluster_id",
2547
+ "output": {
2548
+ "char": "o",
2549
+ "description": "Output format",
2550
+ "name": "output",
2501
2551
  "required": false,
2552
+ "default": "summary",
2502
2553
  "hasDynamicHelp": false,
2503
2554
  "multiple": false,
2555
+ "options": [
2556
+ "summary",
2557
+ "json"
2558
+ ],
2504
2559
  "type": "option"
2505
2560
  },
2506
- "description": {
2507
- "char": "d",
2508
- "description": "Tenant description",
2509
- "name": "description",
2510
- "required": false,
2511
- "hasDynamicHelp": false,
2512
- "multiple": false,
2513
- "type": "option"
2514
- },
2515
- "domain": {
2516
- "description": "Custom domain for the tenant",
2517
- "name": "domain",
2518
- "required": false,
2519
- "hasDynamicHelp": false,
2520
- "multiple": false,
2521
- "type": "option"
2522
- },
2523
- "ephemeral": {
2524
- "description": "Mark tenant as ephemeral (allows push operations)",
2525
- "name": "ephemeral",
2526
- "allowNo": false,
2527
- "type": "boolean"
2528
- },
2529
- "ingress": {
2530
- "description": "Enable ingress",
2531
- "name": "ingress",
2532
- "allowNo": true,
2533
- "type": "boolean"
2534
- },
2535
- "license": {
2536
- "description": "License tier",
2537
- "name": "license",
2538
- "required": false,
2539
- "default": "tier1",
2540
- "hasDynamicHelp": false,
2541
- "multiple": false,
2542
- "options": [
2543
- "tier1",
2544
- "tier2",
2545
- "tier3"
2546
- ],
2547
- "type": "option"
2548
- },
2549
- "output": {
2550
- "char": "o",
2551
- "description": "Output format",
2552
- "name": "output",
2561
+ "page": {
2562
+ "description": "Page number for pagination",
2563
+ "name": "page",
2553
2564
  "required": false,
2554
- "default": "summary",
2565
+ "default": 1,
2555
2566
  "hasDynamicHelp": false,
2556
2567
  "multiple": false,
2557
- "options": [
2558
- "summary",
2559
- "json"
2560
- ],
2561
2568
  "type": "option"
2562
2569
  },
2563
- "platform_id": {
2564
- "description": "Platform ID to use",
2565
- "name": "platform_id",
2570
+ "per_page": {
2571
+ "description": "Number of results per page",
2572
+ "name": "per_page",
2566
2573
  "required": false,
2574
+ "default": 50,
2567
2575
  "hasDynamicHelp": false,
2568
2576
  "multiple": false,
2569
2577
  "type": "option"
2570
2578
  },
2571
- "tasks": {
2572
- "description": "Enable background tasks",
2573
- "name": "tasks",
2574
- "allowNo": true,
2575
- "type": "boolean"
2576
- },
2577
2579
  "workspace": {
2578
2580
  "char": "w",
2579
- "description": "Workspace ID (uses profile workspace if not provided)",
2581
+ "description": "Workspace ID (optional if set in profile)",
2580
2582
  "name": "workspace",
2581
2583
  "required": false,
2582
2584
  "hasDynamicHelp": false,
@@ -2586,7 +2588,7 @@
2586
2588
  },
2587
2589
  "hasDynamicHelp": false,
2588
2590
  "hiddenAliases": [],
2589
- "id": "tenant:create",
2591
+ "id": "static_host:list",
2590
2592
  "pluginAlias": "@xano/cli",
2591
2593
  "pluginName": "@xano/cli",
2592
2594
  "pluginType": "core",
@@ -2596,25 +2598,24 @@
2596
2598
  "relativePath": [
2597
2599
  "dist",
2598
2600
  "commands",
2599
- "tenant",
2600
- "create",
2601
+ "static_host",
2602
+ "list",
2601
2603
  "index.js"
2602
2604
  ]
2603
2605
  },
2604
- "tenant:deploy_platform": {
2606
+ "tenant:create": {
2605
2607
  "aliases": [],
2606
2608
  "args": {
2607
- "tenant_name": {
2608
- "description": "Tenant name to deploy to",
2609
- "name": "tenant_name",
2609
+ "display": {
2610
+ "description": "Display name for the tenant",
2611
+ "name": "display",
2610
2612
  "required": true
2611
2613
  }
2612
2614
  },
2613
- "description": "Deploy a platform version to a tenant",
2615
+ "description": "Create a new tenant in a workspace",
2614
2616
  "examples": [
2615
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
2616
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
2617
- "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
2617
+ "$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
2618
+ "$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
2618
2619
  ],
2619
2620
  "flags": {
2620
2621
  "profile": {
@@ -2636,13 +2637,55 @@
2636
2637
  "allowNo": false,
2637
2638
  "type": "boolean"
2638
2639
  },
2640
+ "cluster_id": {
2641
+ "description": "Cluster ID to deploy to (required for tier2/tier3)",
2642
+ "name": "cluster_id",
2643
+ "required": false,
2644
+ "hasDynamicHelp": false,
2645
+ "multiple": false,
2646
+ "type": "option"
2647
+ },
2648
+ "description": {
2649
+ "char": "d",
2650
+ "description": "Tenant description",
2651
+ "name": "description",
2652
+ "required": false,
2653
+ "hasDynamicHelp": false,
2654
+ "multiple": false,
2655
+ "type": "option"
2656
+ },
2657
+ "domain": {
2658
+ "description": "Custom domain for the tenant",
2659
+ "name": "domain",
2660
+ "required": false,
2661
+ "hasDynamicHelp": false,
2662
+ "multiple": false,
2663
+ "type": "option"
2664
+ },
2665
+ "ephemeral": {
2666
+ "description": "Mark tenant as ephemeral (allows push operations)",
2667
+ "name": "ephemeral",
2668
+ "allowNo": false,
2669
+ "type": "boolean"
2670
+ },
2671
+ "ingress": {
2672
+ "description": "Enable ingress",
2673
+ "name": "ingress",
2674
+ "allowNo": true,
2675
+ "type": "boolean"
2676
+ },
2639
2677
  "license": {
2640
- "char": "l",
2641
- "description": "Path to a license override file to apply after deploy",
2678
+ "description": "License tier",
2642
2679
  "name": "license",
2643
2680
  "required": false,
2681
+ "default": "tier1",
2644
2682
  "hasDynamicHelp": false,
2645
2683
  "multiple": false,
2684
+ "options": [
2685
+ "tier1",
2686
+ "tier2",
2687
+ "tier3"
2688
+ ],
2646
2689
  "type": "option"
2647
2690
  },
2648
2691
  "output": {
@@ -2660,13 +2703,19 @@
2660
2703
  "type": "option"
2661
2704
  },
2662
2705
  "platform_id": {
2663
- "description": "Platform ID to deploy",
2706
+ "description": "Platform ID to use",
2664
2707
  "name": "platform_id",
2665
- "required": true,
2708
+ "required": false,
2666
2709
  "hasDynamicHelp": false,
2667
2710
  "multiple": false,
2668
2711
  "type": "option"
2669
2712
  },
2713
+ "tasks": {
2714
+ "description": "Enable background tasks",
2715
+ "name": "tasks",
2716
+ "allowNo": true,
2717
+ "type": "boolean"
2718
+ },
2670
2719
  "workspace": {
2671
2720
  "char": "w",
2672
2721
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2679,7 +2728,7 @@
2679
2728
  },
2680
2729
  "hasDynamicHelp": false,
2681
2730
  "hiddenAliases": [],
2682
- "id": "tenant:deploy_platform",
2731
+ "id": "tenant:create",
2683
2732
  "pluginAlias": "@xano/cli",
2684
2733
  "pluginName": "@xano/cli",
2685
2734
  "pluginType": "core",
@@ -2690,24 +2739,24 @@
2690
2739
  "dist",
2691
2740
  "commands",
2692
2741
  "tenant",
2693
- "deploy_platform",
2742
+ "create",
2694
2743
  "index.js"
2695
2744
  ]
2696
2745
  },
2697
- "tenant:deploy_release": {
2746
+ "tenant:delete": {
2698
2747
  "aliases": [],
2699
2748
  "args": {
2700
2749
  "tenant_name": {
2701
- "description": "Tenant name to deploy to",
2750
+ "description": "Tenant name to delete",
2702
2751
  "name": "tenant_name",
2703
2752
  "required": true
2704
2753
  }
2705
2754
  },
2706
- "description": "Deploy a release to a tenant",
2755
+ "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
2707
2756
  "examples": [
2708
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
2709
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json",
2710
- "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 --license ./license.yaml"
2757
+ "$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
2758
+ "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
2759
+ "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
2711
2760
  ],
2712
2761
  "flags": {
2713
2762
  "profile": {
@@ -2729,14 +2778,13 @@
2729
2778
  "allowNo": false,
2730
2779
  "type": "boolean"
2731
2780
  },
2732
- "license": {
2733
- "char": "l",
2734
- "description": "Path to a license override file to apply after deploy",
2735
- "name": "license",
2781
+ "force": {
2782
+ "char": "f",
2783
+ "description": "Skip confirmation prompt",
2784
+ "name": "force",
2736
2785
  "required": false,
2737
- "hasDynamicHelp": false,
2738
- "multiple": false,
2739
- "type": "option"
2786
+ "allowNo": false,
2787
+ "type": "boolean"
2740
2788
  },
2741
2789
  "output": {
2742
2790
  "char": "o",
@@ -2752,15 +2800,6 @@
2752
2800
  ],
2753
2801
  "type": "option"
2754
2802
  },
2755
- "release": {
2756
- "char": "r",
2757
- "description": "Release name to deploy",
2758
- "name": "release",
2759
- "required": true,
2760
- "hasDynamicHelp": false,
2761
- "multiple": false,
2762
- "type": "option"
2763
- },
2764
2803
  "workspace": {
2765
2804
  "char": "w",
2766
2805
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2773,7 +2812,7 @@
2773
2812
  },
2774
2813
  "hasDynamicHelp": false,
2775
2814
  "hiddenAliases": [],
2776
- "id": "tenant:deploy_release",
2815
+ "id": "tenant:delete",
2777
2816
  "pluginAlias": "@xano/cli",
2778
2817
  "pluginName": "@xano/cli",
2779
2818
  "pluginType": "core",
@@ -2784,77 +2823,24 @@
2784
2823
  "dist",
2785
2824
  "commands",
2786
2825
  "tenant",
2787
- "deploy_release",
2788
- "index.js"
2789
- ]
2790
- },
2791
- "profile:wizard": {
2792
- "aliases": [],
2793
- "args": {},
2794
- "description": "Create a new profile configuration using an interactive wizard",
2795
- "examples": [
2796
- "$ 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"
2797
- ],
2798
- "flags": {
2799
- "insecure": {
2800
- "char": "k",
2801
- "description": "Skip TLS certificate verification (for self-signed certificates)",
2802
- "name": "insecure",
2803
- "required": false,
2804
- "allowNo": false,
2805
- "type": "boolean"
2806
- },
2807
- "name": {
2808
- "char": "n",
2809
- "description": "Profile name (skip prompt if provided)",
2810
- "name": "name",
2811
- "required": false,
2812
- "hasDynamicHelp": false,
2813
- "multiple": false,
2814
- "type": "option"
2815
- },
2816
- "origin": {
2817
- "char": "o",
2818
- "description": "Xano instance origin URL",
2819
- "name": "origin",
2820
- "required": false,
2821
- "default": "https://app.xano.com",
2822
- "hasDynamicHelp": false,
2823
- "multiple": false,
2824
- "type": "option"
2825
- }
2826
- },
2827
- "hasDynamicHelp": false,
2828
- "hiddenAliases": [],
2829
- "id": "profile:wizard",
2830
- "pluginAlias": "@xano/cli",
2831
- "pluginName": "@xano/cli",
2832
- "pluginType": "core",
2833
- "strict": true,
2834
- "enableJsonFlag": false,
2835
- "isESM": true,
2836
- "relativePath": [
2837
- "dist",
2838
- "commands",
2839
- "profile",
2840
- "wizard",
2826
+ "delete",
2841
2827
  "index.js"
2842
2828
  ]
2843
2829
  },
2844
- "tenant:delete": {
2830
+ "tenant:deploy_platform": {
2845
2831
  "aliases": [],
2846
2832
  "args": {
2847
2833
  "tenant_name": {
2848
- "description": "Tenant name to delete",
2834
+ "description": "Tenant name to deploy to",
2849
2835
  "name": "tenant_name",
2850
2836
  "required": true
2851
2837
  }
2852
2838
  },
2853
- "description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
2839
+ "description": "Deploy a platform version to a tenant",
2854
2840
  "examples": [
2855
- "$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
2856
- "$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
2857
- "$ xano tenant delete t1234-abcd-xyz1 -f -o json"
2841
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
2842
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json",
2843
+ "$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 --license ./license.yaml"
2858
2844
  ],
2859
2845
  "flags": {
2860
2846
  "profile": {
@@ -2876,13 +2862,14 @@
2876
2862
  "allowNo": false,
2877
2863
  "type": "boolean"
2878
2864
  },
2879
- "force": {
2880
- "char": "f",
2881
- "description": "Skip confirmation prompt",
2882
- "name": "force",
2865
+ "license": {
2866
+ "char": "l",
2867
+ "description": "Path to a license override file to apply after deploy",
2868
+ "name": "license",
2883
2869
  "required": false,
2884
- "allowNo": false,
2885
- "type": "boolean"
2870
+ "hasDynamicHelp": false,
2871
+ "multiple": false,
2872
+ "type": "option"
2886
2873
  },
2887
2874
  "output": {
2888
2875
  "char": "o",
@@ -2898,6 +2885,14 @@
2898
2885
  ],
2899
2886
  "type": "option"
2900
2887
  },
2888
+ "platform_id": {
2889
+ "description": "Platform ID to deploy",
2890
+ "name": "platform_id",
2891
+ "required": true,
2892
+ "hasDynamicHelp": false,
2893
+ "multiple": false,
2894
+ "type": "option"
2895
+ },
2901
2896
  "workspace": {
2902
2897
  "char": "w",
2903
2898
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -2910,7 +2905,7 @@
2910
2905
  },
2911
2906
  "hasDynamicHelp": false,
2912
2907
  "hiddenAliases": [],
2913
- "id": "tenant:delete",
2908
+ "id": "tenant:deploy_platform",
2914
2909
  "pluginAlias": "@xano/cli",
2915
2910
  "pluginName": "@xano/cli",
2916
2911
  "pluginType": "core",
@@ -2921,7 +2916,7 @@
2921
2916
  "dist",
2922
2917
  "commands",
2923
2918
  "tenant",
2924
- "delete",
2919
+ "deploy_platform",
2925
2920
  "index.js"
2926
2921
  ]
2927
2922
  },
@@ -3054,19 +3049,20 @@
3054
3049
  "index.js"
3055
3050
  ]
3056
3051
  },
3057
- "tenant:impersonate": {
3052
+ "tenant:deploy_release": {
3058
3053
  "aliases": [],
3059
3054
  "args": {
3060
3055
  "tenant_name": {
3061
- "description": "Tenant name to impersonate",
3056
+ "description": "Tenant name to deploy to",
3062
3057
  "name": "tenant_name",
3063
3058
  "required": true
3064
3059
  }
3065
3060
  },
3066
- "description": "Impersonate a tenant and open it in the browser",
3061
+ "description": "Deploy a release to a tenant",
3067
3062
  "examples": [
3068
- "$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
3069
- "$ xano tenant impersonate my-tenant -o json"
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",
3065
+ "$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 --license ./license.yaml"
3070
3066
  ],
3071
3067
  "flags": {
3072
3068
  "profile": {
@@ -3088,6 +3084,15 @@
3088
3084
  "allowNo": false,
3089
3085
  "type": "boolean"
3090
3086
  },
3087
+ "license": {
3088
+ "char": "l",
3089
+ "description": "Path to a license override file to apply after deploy",
3090
+ "name": "license",
3091
+ "required": false,
3092
+ "hasDynamicHelp": false,
3093
+ "multiple": false,
3094
+ "type": "option"
3095
+ },
3091
3096
  "output": {
3092
3097
  "char": "o",
3093
3098
  "description": "Output format",
@@ -3102,13 +3107,14 @@
3102
3107
  ],
3103
3108
  "type": "option"
3104
3109
  },
3105
- "url-only": {
3106
- "char": "u",
3107
- "description": "Print the URL without opening the browser",
3108
- "name": "url-only",
3109
- "required": false,
3110
- "allowNo": false,
3111
- "type": "boolean"
3110
+ "release": {
3111
+ "char": "r",
3112
+ "description": "Release name to deploy",
3113
+ "name": "release",
3114
+ "required": true,
3115
+ "hasDynamicHelp": false,
3116
+ "multiple": false,
3117
+ "type": "option"
3112
3118
  },
3113
3119
  "workspace": {
3114
3120
  "char": "w",
@@ -3122,7 +3128,7 @@
3122
3128
  },
3123
3129
  "hasDynamicHelp": false,
3124
3130
  "hiddenAliases": [],
3125
- "id": "tenant:impersonate",
3131
+ "id": "tenant:deploy_release",
3126
3132
  "pluginAlias": "@xano/cli",
3127
3133
  "pluginName": "@xano/cli",
3128
3134
  "pluginType": "core",
@@ -3133,25 +3139,23 @@
3133
3139
  "dist",
3134
3140
  "commands",
3135
3141
  "tenant",
3136
- "impersonate",
3142
+ "deploy_release",
3137
3143
  "index.js"
3138
3144
  ]
3139
3145
  },
3140
- "tenant:pull": {
3146
+ "tenant:impersonate": {
3141
3147
  "aliases": [],
3142
3148
  "args": {
3143
- "directory": {
3144
- "description": "Output directory for pulled documents",
3145
- "name": "directory",
3149
+ "tenant_name": {
3150
+ "description": "Tenant name to impersonate",
3151
+ "name": "tenant_name",
3146
3152
  "required": true
3147
3153
  }
3148
3154
  },
3149
- "description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
3155
+ "description": "Impersonate a tenant and open it in the browser",
3150
3156
  "examples": [
3151
- "$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
3152
- "$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
3153
- "$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
3154
- "$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
3157
+ "$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
3158
+ "$ xano tenant impersonate my-tenant -o json"
3155
3159
  ],
3156
3160
  "flags": {
3157
3161
  "profile": {
@@ -3173,39 +3177,31 @@
3173
3177
  "allowNo": false,
3174
3178
  "type": "boolean"
3175
3179
  },
3176
- "draft": {
3177
- "description": "Include draft versions",
3178
- "name": "draft",
3179
- "required": false,
3180
- "allowNo": false,
3181
- "type": "boolean"
3182
- },
3183
- "env": {
3184
- "description": "Include environment variables",
3185
- "name": "env",
3180
+ "output": {
3181
+ "char": "o",
3182
+ "description": "Output format",
3183
+ "name": "output",
3186
3184
  "required": false,
3187
- "allowNo": false,
3188
- "type": "boolean"
3185
+ "default": "summary",
3186
+ "hasDynamicHelp": false,
3187
+ "multiple": false,
3188
+ "options": [
3189
+ "summary",
3190
+ "json"
3191
+ ],
3192
+ "type": "option"
3189
3193
  },
3190
- "records": {
3191
- "description": "Include records",
3192
- "name": "records",
3194
+ "url-only": {
3195
+ "char": "u",
3196
+ "description": "Print the URL without opening the browser",
3197
+ "name": "url-only",
3193
3198
  "required": false,
3194
3199
  "allowNo": false,
3195
3200
  "type": "boolean"
3196
3201
  },
3197
- "tenant": {
3198
- "char": "t",
3199
- "description": "Tenant name to pull from",
3200
- "name": "tenant",
3201
- "required": true,
3202
- "hasDynamicHelp": false,
3203
- "multiple": false,
3204
- "type": "option"
3205
- },
3206
3202
  "workspace": {
3207
3203
  "char": "w",
3208
- "description": "Workspace ID (optional if set in profile)",
3204
+ "description": "Workspace ID (uses profile workspace if not provided)",
3209
3205
  "name": "workspace",
3210
3206
  "required": false,
3211
3207
  "hasDynamicHelp": false,
@@ -3215,7 +3211,7 @@
3215
3211
  },
3216
3212
  "hasDynamicHelp": false,
3217
3213
  "hiddenAliases": [],
3218
- "id": "tenant:pull",
3214
+ "id": "tenant:impersonate",
3219
3215
  "pluginAlias": "@xano/cli",
3220
3216
  "pluginName": "@xano/cli",
3221
3217
  "pluginType": "core",
@@ -3226,17 +3222,23 @@
3226
3222
  "dist",
3227
3223
  "commands",
3228
3224
  "tenant",
3229
- "pull",
3225
+ "impersonate",
3230
3226
  "index.js"
3231
3227
  ]
3232
3228
  },
3233
- "tenant:list": {
3229
+ "tenant:get": {
3234
3230
  "aliases": [],
3235
- "args": {},
3236
- "description": "List all tenants in a workspace",
3231
+ "args": {
3232
+ "tenant_name": {
3233
+ "description": "Tenant name to retrieve",
3234
+ "name": "tenant_name",
3235
+ "required": true
3236
+ }
3237
+ },
3238
+ "description": "Get details of a specific tenant",
3237
3239
  "examples": [
3238
- "$ 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",
3239
- "$ xano tenant list -w 5 --output json"
3240
+ "$ 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",
3241
+ "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3240
3242
  ],
3241
3243
  "flags": {
3242
3244
  "profile": {
@@ -3284,7 +3286,7 @@
3284
3286
  },
3285
3287
  "hasDynamicHelp": false,
3286
3288
  "hiddenAliases": [],
3287
- "id": "tenant:list",
3289
+ "id": "tenant:get",
3288
3290
  "pluginAlias": "@xano/cli",
3289
3291
  "pluginName": "@xano/cli",
3290
3292
  "pluginType": "core",
@@ -3295,23 +3297,27 @@
3295
3297
  "dist",
3296
3298
  "commands",
3297
3299
  "tenant",
3298
- "list",
3300
+ "get",
3299
3301
  "index.js"
3300
3302
  ]
3301
3303
  },
3302
- "tenant:get": {
3304
+ "tenant:push": {
3303
3305
  "aliases": [],
3304
3306
  "args": {
3305
- "tenant_name": {
3306
- "description": "Tenant name to retrieve",
3307
- "name": "tenant_name",
3307
+ "directory": {
3308
+ "description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
3309
+ "name": "directory",
3308
3310
  "required": true
3309
3311
  }
3310
3312
  },
3311
- "description": "Get details of a specific tenant",
3313
+ "description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
3312
3314
  "examples": [
3313
- "$ 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",
3314
- "$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
3315
+ "$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
3316
+ "$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
3317
+ "$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
3318
+ "$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
3319
+ "$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
3320
+ "$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
3315
3321
  ],
3316
3322
  "flags": {
3317
3323
  "profile": {
@@ -3333,23 +3339,46 @@
3333
3339
  "allowNo": false,
3334
3340
  "type": "boolean"
3335
3341
  },
3336
- "output": {
3337
- "char": "o",
3338
- "description": "Output format",
3339
- "name": "output",
3342
+ "env": {
3343
+ "description": "Include environment variables in import",
3344
+ "name": "env",
3340
3345
  "required": false,
3341
- "default": "summary",
3346
+ "allowNo": false,
3347
+ "type": "boolean"
3348
+ },
3349
+ "records": {
3350
+ "description": "Include records in import",
3351
+ "name": "records",
3352
+ "required": false,
3353
+ "allowNo": false,
3354
+ "type": "boolean"
3355
+ },
3356
+ "tenant": {
3357
+ "char": "t",
3358
+ "description": "Tenant name to push to",
3359
+ "name": "tenant",
3360
+ "required": true,
3342
3361
  "hasDynamicHelp": false,
3343
3362
  "multiple": false,
3344
- "options": [
3345
- "summary",
3346
- "json"
3347
- ],
3348
3363
  "type": "option"
3349
3364
  },
3365
+ "transaction": {
3366
+ "description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
3367
+ "name": "transaction",
3368
+ "required": false,
3369
+ "allowNo": true,
3370
+ "type": "boolean"
3371
+ },
3372
+ "truncate": {
3373
+ "description": "Truncate all table records before importing",
3374
+ "name": "truncate",
3375
+ "required": false,
3376
+ "allowNo": false,
3377
+ "type": "boolean"
3378
+ },
3350
3379
  "workspace": {
3351
3380
  "char": "w",
3352
- "description": "Workspace ID (uses profile workspace if not provided)",
3381
+ "description": "Workspace ID (optional if set in profile)",
3353
3382
  "name": "workspace",
3354
3383
  "required": false,
3355
3384
  "hasDynamicHelp": false,
@@ -3359,7 +3388,7 @@
3359
3388
  },
3360
3389
  "hasDynamicHelp": false,
3361
3390
  "hiddenAliases": [],
3362
- "id": "tenant:get",
3391
+ "id": "tenant:push",
3363
3392
  "pluginAlias": "@xano/cli",
3364
3393
  "pluginName": "@xano/cli",
3365
3394
  "pluginType": "core",
@@ -3370,7 +3399,7 @@
3370
3399
  "dist",
3371
3400
  "commands",
3372
3401
  "tenant",
3373
- "get",
3402
+ "push",
3374
3403
  "index.js"
3375
3404
  ]
3376
3405
  },
@@ -3466,19 +3495,106 @@
3466
3495
  "index.js"
3467
3496
  ]
3468
3497
  },
3469
- "unit_test:run": {
3498
+ "tenant:pull": {
3470
3499
  "aliases": [],
3471
3500
  "args": {
3472
- "unit_test_id": {
3473
- "description": "ID of the unit test to run",
3474
- "name": "unit_test_id",
3501
+ "directory": {
3502
+ "description": "Output directory for pulled documents",
3503
+ "name": "directory",
3475
3504
  "required": true
3476
3505
  }
3477
3506
  },
3478
- "description": "Run a unit test",
3507
+ "description": "Pull a tenant multidoc from the Xano Metadata API and split into individual files",
3479
3508
  "examples": [
3480
- "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
3481
- "$ xano unit-test run abc-123 -o json"
3509
+ "$ xano tenant pull ./my-tenant -t my-tenant\nPulled 42 documents from tenant my-tenant to ./my-tenant\n",
3510
+ "$ xano tenant pull ./output -t my-tenant -w 40\nPulled 15 documents from tenant my-tenant to ./output\n",
3511
+ "$ xano tenant pull ./backup -t my-tenant --profile production --env --records\nPulled 58 documents from tenant my-tenant to ./backup\n",
3512
+ "$ xano tenant pull ./my-tenant -t my-tenant --draft\nPulled 42 documents from tenant my-tenant to ./my-tenant\n"
3513
+ ],
3514
+ "flags": {
3515
+ "profile": {
3516
+ "char": "p",
3517
+ "description": "Profile to use (uses default profile if not specified)",
3518
+ "env": "XANO_PROFILE",
3519
+ "name": "profile",
3520
+ "required": false,
3521
+ "hasDynamicHelp": false,
3522
+ "multiple": false,
3523
+ "type": "option"
3524
+ },
3525
+ "verbose": {
3526
+ "char": "v",
3527
+ "description": "Show detailed request/response information",
3528
+ "env": "XANO_VERBOSE",
3529
+ "name": "verbose",
3530
+ "required": false,
3531
+ "allowNo": false,
3532
+ "type": "boolean"
3533
+ },
3534
+ "draft": {
3535
+ "description": "Include draft versions",
3536
+ "name": "draft",
3537
+ "required": false,
3538
+ "allowNo": false,
3539
+ "type": "boolean"
3540
+ },
3541
+ "env": {
3542
+ "description": "Include environment variables",
3543
+ "name": "env",
3544
+ "required": false,
3545
+ "allowNo": false,
3546
+ "type": "boolean"
3547
+ },
3548
+ "records": {
3549
+ "description": "Include records",
3550
+ "name": "records",
3551
+ "required": false,
3552
+ "allowNo": false,
3553
+ "type": "boolean"
3554
+ },
3555
+ "tenant": {
3556
+ "char": "t",
3557
+ "description": "Tenant name to pull from",
3558
+ "name": "tenant",
3559
+ "required": true,
3560
+ "hasDynamicHelp": false,
3561
+ "multiple": false,
3562
+ "type": "option"
3563
+ },
3564
+ "workspace": {
3565
+ "char": "w",
3566
+ "description": "Workspace ID (optional if set in profile)",
3567
+ "name": "workspace",
3568
+ "required": false,
3569
+ "hasDynamicHelp": false,
3570
+ "multiple": false,
3571
+ "type": "option"
3572
+ }
3573
+ },
3574
+ "hasDynamicHelp": false,
3575
+ "hiddenAliases": [],
3576
+ "id": "tenant:pull",
3577
+ "pluginAlias": "@xano/cli",
3578
+ "pluginName": "@xano/cli",
3579
+ "pluginType": "core",
3580
+ "strict": true,
3581
+ "enableJsonFlag": false,
3582
+ "isESM": true,
3583
+ "relativePath": [
3584
+ "dist",
3585
+ "commands",
3586
+ "tenant",
3587
+ "pull",
3588
+ "index.js"
3589
+ ]
3590
+ },
3591
+ "tenant:list": {
3592
+ "aliases": [],
3593
+ "args": {},
3594
+ "description": "List all tenants in a workspace",
3595
+ "examples": [
3596
+ "$ 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",
3597
+ "$ xano tenant list -w 5 --output json"
3482
3598
  ],
3483
3599
  "flags": {
3484
3600
  "profile": {
@@ -3526,7 +3642,7 @@
3526
3642
  },
3527
3643
  "hasDynamicHelp": false,
3528
3644
  "hiddenAliases": [],
3529
- "id": "unit_test:run",
3645
+ "id": "tenant:list",
3530
3646
  "pluginAlias": "@xano/cli",
3531
3647
  "pluginName": "@xano/cli",
3532
3648
  "pluginType": "core",
@@ -3536,28 +3652,24 @@
3536
3652
  "relativePath": [
3537
3653
  "dist",
3538
3654
  "commands",
3539
- "unit_test",
3540
- "run",
3655
+ "tenant",
3656
+ "list",
3541
3657
  "index.js"
3542
3658
  ]
3543
3659
  },
3544
- "tenant:push": {
3660
+ "unit_test:run": {
3545
3661
  "aliases": [],
3546
3662
  "args": {
3547
- "directory": {
3548
- "description": "Directory containing documents to push (as produced by tenant pull or workspace pull)",
3549
- "name": "directory",
3663
+ "unit_test_id": {
3664
+ "description": "ID of the unit test to run",
3665
+ "name": "unit_test_id",
3550
3666
  "required": true
3551
3667
  }
3552
3668
  },
3553
- "description": "Push local documents to a tenant via the Xano Metadata API multidoc endpoint",
3669
+ "description": "Run a unit test",
3554
3670
  "examples": [
3555
- "$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
3556
- "$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
3557
- "$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
3558
- "$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
3559
- "$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
3560
- "$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
3671
+ "$ xano unit-test run abc-123\nRunning unit test abc-123...\nResult: PASS\n",
3672
+ "$ xano unit-test run abc-123 -o json"
3561
3673
  ],
3562
3674
  "flags": {
3563
3675
  "profile": {
@@ -3579,46 +3691,23 @@
3579
3691
  "allowNo": false,
3580
3692
  "type": "boolean"
3581
3693
  },
3582
- "env": {
3583
- "description": "Include environment variables in import",
3584
- "name": "env",
3585
- "required": false,
3586
- "allowNo": false,
3587
- "type": "boolean"
3588
- },
3589
- "records": {
3590
- "description": "Include records in import",
3591
- "name": "records",
3694
+ "output": {
3695
+ "char": "o",
3696
+ "description": "Output format",
3697
+ "name": "output",
3592
3698
  "required": false,
3593
- "allowNo": false,
3594
- "type": "boolean"
3595
- },
3596
- "tenant": {
3597
- "char": "t",
3598
- "description": "Tenant name to push to",
3599
- "name": "tenant",
3600
- "required": true,
3699
+ "default": "summary",
3601
3700
  "hasDynamicHelp": false,
3602
3701
  "multiple": false,
3702
+ "options": [
3703
+ "summary",
3704
+ "json"
3705
+ ],
3603
3706
  "type": "option"
3604
3707
  },
3605
- "transaction": {
3606
- "description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
3607
- "name": "transaction",
3608
- "required": false,
3609
- "allowNo": true,
3610
- "type": "boolean"
3611
- },
3612
- "truncate": {
3613
- "description": "Truncate all table records before importing",
3614
- "name": "truncate",
3615
- "required": false,
3616
- "allowNo": false,
3617
- "type": "boolean"
3618
- },
3619
3708
  "workspace": {
3620
3709
  "char": "w",
3621
- "description": "Workspace ID (optional if set in profile)",
3710
+ "description": "Workspace ID (uses profile workspace if not provided)",
3622
3711
  "name": "workspace",
3623
3712
  "required": false,
3624
3713
  "hasDynamicHelp": false,
@@ -3628,7 +3717,7 @@
3628
3717
  },
3629
3718
  "hasDynamicHelp": false,
3630
3719
  "hiddenAliases": [],
3631
- "id": "tenant:push",
3720
+ "id": "unit_test:run",
3632
3721
  "pluginAlias": "@xano/cli",
3633
3722
  "pluginName": "@xano/cli",
3634
3723
  "pluginType": "core",
@@ -3638,8 +3727,8 @@
3638
3727
  "relativePath": [
3639
3728
  "dist",
3640
3729
  "commands",
3641
- "tenant",
3642
- "push",
3730
+ "unit_test",
3731
+ "run",
3643
3732
  "index.js"
3644
3733
  ]
3645
3734
  },
@@ -3734,95 +3823,6 @@
3734
3823
  "index.js"
3735
3824
  ]
3736
3825
  },
3737
- "static_host:list": {
3738
- "aliases": [],
3739
- "args": {},
3740
- "description": "List all static hosts in a workspace from the Xano Metadata API",
3741
- "examples": [
3742
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3743
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
3744
- "$ 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",
3745
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
3746
- ],
3747
- "flags": {
3748
- "profile": {
3749
- "char": "p",
3750
- "description": "Profile to use (uses default profile if not specified)",
3751
- "env": "XANO_PROFILE",
3752
- "name": "profile",
3753
- "required": false,
3754
- "hasDynamicHelp": false,
3755
- "multiple": false,
3756
- "type": "option"
3757
- },
3758
- "verbose": {
3759
- "char": "v",
3760
- "description": "Show detailed request/response information",
3761
- "env": "XANO_VERBOSE",
3762
- "name": "verbose",
3763
- "required": false,
3764
- "allowNo": false,
3765
- "type": "boolean"
3766
- },
3767
- "output": {
3768
- "char": "o",
3769
- "description": "Output format",
3770
- "name": "output",
3771
- "required": false,
3772
- "default": "summary",
3773
- "hasDynamicHelp": false,
3774
- "multiple": false,
3775
- "options": [
3776
- "summary",
3777
- "json"
3778
- ],
3779
- "type": "option"
3780
- },
3781
- "page": {
3782
- "description": "Page number for pagination",
3783
- "name": "page",
3784
- "required": false,
3785
- "default": 1,
3786
- "hasDynamicHelp": false,
3787
- "multiple": false,
3788
- "type": "option"
3789
- },
3790
- "per_page": {
3791
- "description": "Number of results per page",
3792
- "name": "per_page",
3793
- "required": false,
3794
- "default": 50,
3795
- "hasDynamicHelp": false,
3796
- "multiple": false,
3797
- "type": "option"
3798
- },
3799
- "workspace": {
3800
- "char": "w",
3801
- "description": "Workspace ID (optional if set in profile)",
3802
- "name": "workspace",
3803
- "required": false,
3804
- "hasDynamicHelp": false,
3805
- "multiple": false,
3806
- "type": "option"
3807
- }
3808
- },
3809
- "hasDynamicHelp": false,
3810
- "hiddenAliases": [],
3811
- "id": "static_host:list",
3812
- "pluginAlias": "@xano/cli",
3813
- "pluginName": "@xano/cli",
3814
- "pluginType": "core",
3815
- "strict": true,
3816
- "enableJsonFlag": false,
3817
- "isESM": true,
3818
- "relativePath": [
3819
- "dist",
3820
- "commands",
3821
- "static_host",
3822
- "list",
3823
- "index.js"
3824
- ]
3825
- },
3826
3826
  "workflow_test:delete": {
3827
3827
  "aliases": [],
3828
3828
  "args": {
@@ -3906,14 +3906,19 @@
3906
3906
  "index.js"
3907
3907
  ]
3908
3908
  },
3909
- "workflow_test:list": {
3909
+ "workflow_test:run": {
3910
3910
  "aliases": [],
3911
- "args": {},
3912
- "description": "List all workflow tests in a workspace",
3911
+ "args": {
3912
+ "workflow_test_id": {
3913
+ "description": "ID of the workflow test to run",
3914
+ "name": "workflow_test_id",
3915
+ "required": true
3916
+ }
3917
+ },
3918
+ "description": "Run a workflow test",
3913
3919
  "examples": [
3914
- "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
3915
- "$ xano workflow-test list -w 5 --output json",
3916
- "$ xano workflow-test list --branch main"
3920
+ "$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
3921
+ "$ xano workflow-test run 1 -o json"
3917
3922
  ],
3918
3923
  "flags": {
3919
3924
  "profile": {
@@ -3935,15 +3940,6 @@
3935
3940
  "allowNo": false,
3936
3941
  "type": "boolean"
3937
3942
  },
3938
- "branch": {
3939
- "char": "b",
3940
- "description": "Filter by branch name",
3941
- "name": "branch",
3942
- "required": false,
3943
- "hasDynamicHelp": false,
3944
- "multiple": false,
3945
- "type": "option"
3946
- },
3947
3943
  "output": {
3948
3944
  "char": "o",
3949
3945
  "description": "Output format",
@@ -3970,7 +3966,7 @@
3970
3966
  },
3971
3967
  "hasDynamicHelp": false,
3972
3968
  "hiddenAliases": [],
3973
- "id": "workflow_test:list",
3969
+ "id": "workflow_test:run",
3974
3970
  "pluginAlias": "@xano/cli",
3975
3971
  "pluginName": "@xano/cli",
3976
3972
  "pluginType": "core",
@@ -3981,23 +3977,17 @@
3981
3977
  "dist",
3982
3978
  "commands",
3983
3979
  "workflow_test",
3984
- "list",
3980
+ "run",
3985
3981
  "index.js"
3986
3982
  ]
3987
3983
  },
3988
- "workflow_test:run": {
3984
+ "workflow_test:run_all": {
3989
3985
  "aliases": [],
3990
- "args": {
3991
- "workflow_test_id": {
3992
- "description": "ID of the workflow test to run",
3993
- "name": "workflow_test_id",
3994
- "required": true
3995
- }
3996
- },
3997
- "description": "Run a workflow test",
3986
+ "args": {},
3987
+ "description": "Run all workflow tests in a workspace",
3998
3988
  "examples": [
3999
- "$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
4000
- "$ xano workflow-test run 1 -o json"
3989
+ "$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
3990
+ "$ xano workflow-test run-all --branch main -o json"
4001
3991
  ],
4002
3992
  "flags": {
4003
3993
  "profile": {
@@ -4019,6 +4009,15 @@
4019
4009
  "allowNo": false,
4020
4010
  "type": "boolean"
4021
4011
  },
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
+ },
4022
4021
  "output": {
4023
4022
  "char": "o",
4024
4023
  "description": "Output format",
@@ -4045,7 +4044,7 @@
4045
4044
  },
4046
4045
  "hasDynamicHelp": false,
4047
4046
  "hiddenAliases": [],
4048
- "id": "workflow_test:run",
4047
+ "id": "workflow_test:run_all",
4049
4048
  "pluginAlias": "@xano/cli",
4050
4049
  "pluginName": "@xano/cli",
4051
4050
  "pluginType": "core",
@@ -4056,17 +4055,18 @@
4056
4055
  "dist",
4057
4056
  "commands",
4058
4057
  "workflow_test",
4059
- "run",
4058
+ "run_all",
4060
4059
  "index.js"
4061
4060
  ]
4062
4061
  },
4063
- "workflow_test:run_all": {
4062
+ "workflow_test:list": {
4064
4063
  "aliases": [],
4065
4064
  "args": {},
4066
- "description": "Run all workflow tests in a workspace",
4065
+ "description": "List all workflow tests in a workspace",
4067
4066
  "examples": [
4068
- "$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
4069
- "$ xano workflow-test run-all --branch main -o json"
4067
+ "$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
4068
+ "$ xano workflow-test list -w 5 --output json",
4069
+ "$ xano workflow-test list --branch main"
4070
4070
  ],
4071
4071
  "flags": {
4072
4072
  "profile": {
@@ -4123,7 +4123,7 @@
4123
4123
  },
4124
4124
  "hasDynamicHelp": false,
4125
4125
  "hiddenAliases": [],
4126
- "id": "workflow_test:run_all",
4126
+ "id": "workflow_test:list",
4127
4127
  "pluginAlias": "@xano/cli",
4128
4128
  "pluginName": "@xano/cli",
4129
4129
  "pluginType": "core",
@@ -4134,24 +4134,24 @@
4134
4134
  "dist",
4135
4135
  "commands",
4136
4136
  "workflow_test",
4137
- "run_all",
4137
+ "list",
4138
4138
  "index.js"
4139
4139
  ]
4140
4140
  },
4141
- "workspace:delete": {
4141
+ "workflow_test:get": {
4142
4142
  "aliases": [],
4143
4143
  "args": {
4144
- "workspace_id": {
4145
- "description": "Workspace ID to delete",
4146
- "name": "workspace_id",
4144
+ "workflow_test_id": {
4145
+ "description": "ID of the workflow test",
4146
+ "name": "workflow_test_id",
4147
4147
  "required": true
4148
4148
  }
4149
4149
  },
4150
- "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
4150
+ "description": "Get a specific workflow test",
4151
4151
  "examples": [
4152
- "$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
4153
- "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
4154
- "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
4152
+ "$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
4153
+ "$ xano workflow-test get 1 -o xs",
4154
+ "$ xano workflow-test get 1 -o json"
4155
4155
  ],
4156
4156
  "flags": {
4157
4157
  "profile": {
@@ -4173,10 +4173,9 @@
4173
4173
  "allowNo": false,
4174
4174
  "type": "boolean"
4175
4175
  },
4176
- "force": {
4177
- "char": "f",
4178
- "description": "Skip confirmation prompt",
4179
- "name": "force",
4176
+ "include-draft": {
4177
+ "description": "Include draft version",
4178
+ "name": "include-draft",
4180
4179
  "required": false,
4181
4180
  "allowNo": false,
4182
4181
  "type": "boolean"
@@ -4191,14 +4190,24 @@
4191
4190
  "multiple": false,
4192
4191
  "options": [
4193
4192
  "summary",
4194
- "json"
4193
+ "json",
4194
+ "xs"
4195
4195
  ],
4196
4196
  "type": "option"
4197
+ },
4198
+ "workspace": {
4199
+ "char": "w",
4200
+ "description": "Workspace ID (uses profile workspace if not provided)",
4201
+ "name": "workspace",
4202
+ "required": false,
4203
+ "hasDynamicHelp": false,
4204
+ "multiple": false,
4205
+ "type": "option"
4197
4206
  }
4198
4207
  },
4199
4208
  "hasDynamicHelp": false,
4200
4209
  "hiddenAliases": [],
4201
- "id": "workspace:delete",
4210
+ "id": "workflow_test:get",
4202
4211
  "pluginAlias": "@xano/cli",
4203
4212
  "pluginName": "@xano/cli",
4204
4213
  "pluginType": "core",
@@ -4208,8 +4217,8 @@
4208
4217
  "relativePath": [
4209
4218
  "dist",
4210
4219
  "commands",
4211
- "workspace",
4212
- "delete",
4220
+ "workflow_test",
4221
+ "get",
4213
4222
  "index.js"
4214
4223
  ]
4215
4224
  },
@@ -4289,21 +4298,20 @@
4289
4298
  "index.js"
4290
4299
  ]
4291
4300
  },
4292
- "workspace:edit": {
4301
+ "workspace:delete": {
4293
4302
  "aliases": [],
4294
4303
  "args": {
4295
4304
  "workspace_id": {
4296
- "description": "Workspace ID to edit (uses profile workspace if not provided)",
4305
+ "description": "Workspace ID to delete",
4297
4306
  "name": "workspace_id",
4298
- "required": false
4307
+ "required": true
4299
4308
  }
4300
4309
  },
4301
- "description": "Edit an existing workspace via the Xano Metadata API",
4310
+ "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
4302
4311
  "examples": [
4303
- "$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
4304
- "$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
4305
- "$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
4306
- "$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
4312
+ "$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
4313
+ "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
4314
+ "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
4307
4315
  ],
4308
4316
  "flags": {
4309
4317
  "profile": {
@@ -4325,23 +4333,13 @@
4325
4333
  "allowNo": false,
4326
4334
  "type": "boolean"
4327
4335
  },
4328
- "description": {
4329
- "char": "d",
4330
- "description": "New description for the workspace",
4331
- "name": "description",
4332
- "required": false,
4333
- "hasDynamicHelp": false,
4334
- "multiple": false,
4335
- "type": "option"
4336
- },
4337
- "name": {
4338
- "char": "n",
4339
- "description": "New name for the workspace",
4340
- "name": "name",
4336
+ "force": {
4337
+ "char": "f",
4338
+ "description": "Skip confirmation prompt",
4339
+ "name": "force",
4341
4340
  "required": false,
4342
- "hasDynamicHelp": false,
4343
- "multiple": false,
4344
- "type": "option"
4341
+ "allowNo": false,
4342
+ "type": "boolean"
4345
4343
  },
4346
4344
  "output": {
4347
4345
  "char": "o",
@@ -4356,25 +4354,11 @@
4356
4354
  "json"
4357
4355
  ],
4358
4356
  "type": "option"
4359
- },
4360
- "require-token": {
4361
- "description": "Whether to require a token for documentation access",
4362
- "name": "require-token",
4363
- "required": false,
4364
- "allowNo": true,
4365
- "type": "boolean"
4366
- },
4367
- "swagger": {
4368
- "description": "Enable or disable swagger documentation",
4369
- "name": "swagger",
4370
- "required": false,
4371
- "allowNo": true,
4372
- "type": "boolean"
4373
4357
  }
4374
4358
  },
4375
4359
  "hasDynamicHelp": false,
4376
4360
  "hiddenAliases": [],
4377
- "id": "workspace:edit",
4361
+ "id": "workspace:delete",
4378
4362
  "pluginAlias": "@xano/cli",
4379
4363
  "pluginName": "@xano/cli",
4380
4364
  "pluginType": "core",
@@ -4385,24 +4369,25 @@
4385
4369
  "dist",
4386
4370
  "commands",
4387
4371
  "workspace",
4388
- "edit",
4372
+ "delete",
4389
4373
  "index.js"
4390
4374
  ]
4391
4375
  },
4392
- "workspace:get": {
4376
+ "workspace:edit": {
4393
4377
  "aliases": [],
4394
4378
  "args": {
4395
4379
  "workspace_id": {
4396
- "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4380
+ "description": "Workspace ID to edit (uses profile workspace if not provided)",
4397
4381
  "name": "workspace_id",
4398
4382
  "required": false
4399
4383
  }
4400
4384
  },
4401
- "description": "Get details of a specific workspace from the Xano Metadata API",
4385
+ "description": "Edit an existing workspace via the Xano Metadata API",
4402
4386
  "examples": [
4403
- "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
4404
- "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
4405
- "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4387
+ "$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
4388
+ "$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
4389
+ "$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
4390
+ "$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
4406
4391
  ],
4407
4392
  "flags": {
4408
4393
  "profile": {
@@ -4424,6 +4409,24 @@
4424
4409
  "allowNo": false,
4425
4410
  "type": "boolean"
4426
4411
  },
4412
+ "description": {
4413
+ "char": "d",
4414
+ "description": "New description for the workspace",
4415
+ "name": "description",
4416
+ "required": false,
4417
+ "hasDynamicHelp": false,
4418
+ "multiple": false,
4419
+ "type": "option"
4420
+ },
4421
+ "name": {
4422
+ "char": "n",
4423
+ "description": "New name for the workspace",
4424
+ "name": "name",
4425
+ "required": false,
4426
+ "hasDynamicHelp": false,
4427
+ "multiple": false,
4428
+ "type": "option"
4429
+ },
4427
4430
  "output": {
4428
4431
  "char": "o",
4429
4432
  "description": "Output format",
@@ -4437,11 +4440,25 @@
4437
4440
  "json"
4438
4441
  ],
4439
4442
  "type": "option"
4443
+ },
4444
+ "require-token": {
4445
+ "description": "Whether to require a token for documentation access",
4446
+ "name": "require-token",
4447
+ "required": false,
4448
+ "allowNo": true,
4449
+ "type": "boolean"
4450
+ },
4451
+ "swagger": {
4452
+ "description": "Enable or disable swagger documentation",
4453
+ "name": "swagger",
4454
+ "required": false,
4455
+ "allowNo": true,
4456
+ "type": "boolean"
4440
4457
  }
4441
4458
  },
4442
4459
  "hasDynamicHelp": false,
4443
4460
  "hiddenAliases": [],
4444
- "id": "workspace:get",
4461
+ "id": "workspace:edit",
4445
4462
  "pluginAlias": "@xano/cli",
4446
4463
  "pluginName": "@xano/cli",
4447
4464
  "pluginType": "core",
@@ -4452,7 +4469,7 @@
4452
4469
  "dist",
4453
4470
  "commands",
4454
4471
  "workspace",
4455
- "get",
4472
+ "edit",
4456
4473
  "index.js"
4457
4474
  ]
4458
4475
  },
@@ -4788,16 +4805,140 @@
4788
4805
  "allowNo": false,
4789
4806
  "type": "boolean"
4790
4807
  },
4791
- "description": {
4792
- "char": "d",
4793
- "description": "Backup description",
4794
- "name": "description",
4795
- "required": false,
4796
- "default": "",
4797
- "hasDynamicHelp": false,
4798
- "multiple": false,
4799
- "type": "option"
4800
- },
4808
+ "description": {
4809
+ "char": "d",
4810
+ "description": "Backup description",
4811
+ "name": "description",
4812
+ "required": false,
4813
+ "default": "",
4814
+ "hasDynamicHelp": false,
4815
+ "multiple": false,
4816
+ "type": "option"
4817
+ },
4818
+ "output": {
4819
+ "char": "o",
4820
+ "description": "Output format",
4821
+ "name": "output",
4822
+ "required": false,
4823
+ "default": "summary",
4824
+ "hasDynamicHelp": false,
4825
+ "multiple": false,
4826
+ "options": [
4827
+ "summary",
4828
+ "json"
4829
+ ],
4830
+ "type": "option"
4831
+ },
4832
+ "workspace": {
4833
+ "char": "w",
4834
+ "description": "Workspace ID (uses profile workspace if not provided)",
4835
+ "name": "workspace",
4836
+ "required": false,
4837
+ "hasDynamicHelp": false,
4838
+ "multiple": false,
4839
+ "type": "option"
4840
+ }
4841
+ },
4842
+ "hasDynamicHelp": false,
4843
+ "hiddenAliases": [],
4844
+ "id": "tenant:backup:create",
4845
+ "pluginAlias": "@xano/cli",
4846
+ "pluginName": "@xano/cli",
4847
+ "pluginType": "core",
4848
+ "strict": true,
4849
+ "enableJsonFlag": false,
4850
+ "isESM": true,
4851
+ "relativePath": [
4852
+ "dist",
4853
+ "commands",
4854
+ "tenant",
4855
+ "backup",
4856
+ "create",
4857
+ "index.js"
4858
+ ]
4859
+ },
4860
+ "profile:workspace:set": {
4861
+ "aliases": [],
4862
+ "args": {},
4863
+ "description": "Interactively select a workspace for a profile",
4864
+ "examples": [
4865
+ "$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
4866
+ "$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
4867
+ ],
4868
+ "flags": {
4869
+ "profile": {
4870
+ "char": "p",
4871
+ "description": "Profile to use (uses default profile if not specified)",
4872
+ "env": "XANO_PROFILE",
4873
+ "name": "profile",
4874
+ "required": false,
4875
+ "hasDynamicHelp": false,
4876
+ "multiple": false,
4877
+ "type": "option"
4878
+ },
4879
+ "verbose": {
4880
+ "char": "v",
4881
+ "description": "Show detailed request/response information",
4882
+ "env": "XANO_VERBOSE",
4883
+ "name": "verbose",
4884
+ "required": false,
4885
+ "allowNo": false,
4886
+ "type": "boolean"
4887
+ }
4888
+ },
4889
+ "hasDynamicHelp": false,
4890
+ "hiddenAliases": [],
4891
+ "id": "profile:workspace:set",
4892
+ "pluginAlias": "@xano/cli",
4893
+ "pluginName": "@xano/cli",
4894
+ "pluginType": "core",
4895
+ "strict": true,
4896
+ "enableJsonFlag": false,
4897
+ "isESM": true,
4898
+ "relativePath": [
4899
+ "dist",
4900
+ "commands",
4901
+ "profile",
4902
+ "workspace",
4903
+ "set",
4904
+ "index.js"
4905
+ ]
4906
+ },
4907
+ "workspace:get": {
4908
+ "aliases": [],
4909
+ "args": {
4910
+ "workspace_id": {
4911
+ "description": "Workspace ID to get details for (uses profile workspace if not provided)",
4912
+ "name": "workspace_id",
4913
+ "required": false
4914
+ }
4915
+ },
4916
+ "description": "Get details of a specific workspace from the Xano Metadata API",
4917
+ "examples": [
4918
+ "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
4919
+ "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
4920
+ "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
4921
+ ],
4922
+ "flags": {
4923
+ "profile": {
4924
+ "char": "p",
4925
+ "description": "Profile to use (uses default profile if not specified)",
4926
+ "env": "XANO_PROFILE",
4927
+ "name": "profile",
4928
+ "required": false,
4929
+ "hasDynamicHelp": false,
4930
+ "multiple": false,
4931
+ "type": "option"
4932
+ },
4933
+ "verbose": {
4934
+ "char": "v",
4935
+ "description": "Show detailed request/response information",
4936
+ "env": "XANO_VERBOSE",
4937
+ "name": "verbose",
4938
+ "required": false,
4939
+ "allowNo": false,
4940
+ "type": "boolean"
4941
+ },
4801
4942
  "output": {
4802
4943
  "char": "o",
4803
4944
  "description": "Output format",
@@ -4811,20 +4952,11 @@
4811
4952
  "json"
4812
4953
  ],
4813
4954
  "type": "option"
4814
- },
4815
- "workspace": {
4816
- "char": "w",
4817
- "description": "Workspace ID (uses profile workspace if not provided)",
4818
- "name": "workspace",
4819
- "required": false,
4820
- "hasDynamicHelp": false,
4821
- "multiple": false,
4822
- "type": "option"
4823
4955
  }
4824
4956
  },
4825
4957
  "hasDynamicHelp": false,
4826
4958
  "hiddenAliases": [],
4827
- "id": "tenant:backup:create",
4959
+ "id": "workspace:get",
4828
4960
  "pluginAlias": "@xano/cli",
4829
4961
  "pluginName": "@xano/cli",
4830
4962
  "pluginType": "core",
@@ -4834,9 +4966,8 @@
4834
4966
  "relativePath": [
4835
4967
  "dist",
4836
4968
  "commands",
4837
- "tenant",
4838
- "backup",
4839
- "create",
4969
+ "workspace",
4970
+ "get",
4840
4971
  "index.js"
4841
4972
  ]
4842
4973
  },
@@ -5026,101 +5157,6 @@
5026
5157
  "index.js"
5027
5158
  ]
5028
5159
  },
5029
- "tenant:backup:import": {
5030
- "aliases": [],
5031
- "args": {
5032
- "tenant_name": {
5033
- "description": "Tenant name to import backup into",
5034
- "name": "tenant_name",
5035
- "required": true
5036
- }
5037
- },
5038
- "description": "Import a backup file into a tenant",
5039
- "examples": [
5040
- "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
5041
- "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
5042
- ],
5043
- "flags": {
5044
- "profile": {
5045
- "char": "p",
5046
- "description": "Profile to use (uses default profile if not specified)",
5047
- "env": "XANO_PROFILE",
5048
- "name": "profile",
5049
- "required": false,
5050
- "hasDynamicHelp": false,
5051
- "multiple": false,
5052
- "type": "option"
5053
- },
5054
- "verbose": {
5055
- "char": "v",
5056
- "description": "Show detailed request/response information",
5057
- "env": "XANO_VERBOSE",
5058
- "name": "verbose",
5059
- "required": false,
5060
- "allowNo": false,
5061
- "type": "boolean"
5062
- },
5063
- "description": {
5064
- "char": "d",
5065
- "description": "Backup description",
5066
- "name": "description",
5067
- "required": false,
5068
- "default": "",
5069
- "hasDynamicHelp": false,
5070
- "multiple": false,
5071
- "type": "option"
5072
- },
5073
- "file": {
5074
- "char": "f",
5075
- "description": "Path to the backup file (.tar.gz)",
5076
- "name": "file",
5077
- "required": true,
5078
- "hasDynamicHelp": false,
5079
- "multiple": false,
5080
- "type": "option"
5081
- },
5082
- "output": {
5083
- "char": "o",
5084
- "description": "Output format",
5085
- "name": "output",
5086
- "required": false,
5087
- "default": "summary",
5088
- "hasDynamicHelp": false,
5089
- "multiple": false,
5090
- "options": [
5091
- "summary",
5092
- "json"
5093
- ],
5094
- "type": "option"
5095
- },
5096
- "workspace": {
5097
- "char": "w",
5098
- "description": "Workspace ID (uses profile workspace if not provided)",
5099
- "name": "workspace",
5100
- "required": false,
5101
- "hasDynamicHelp": false,
5102
- "multiple": false,
5103
- "type": "option"
5104
- }
5105
- },
5106
- "hasDynamicHelp": false,
5107
- "hiddenAliases": [],
5108
- "id": "tenant:backup:import",
5109
- "pluginAlias": "@xano/cli",
5110
- "pluginName": "@xano/cli",
5111
- "pluginType": "core",
5112
- "strict": true,
5113
- "enableJsonFlag": false,
5114
- "isESM": true,
5115
- "relativePath": [
5116
- "dist",
5117
- "commands",
5118
- "tenant",
5119
- "backup",
5120
- "import",
5121
- "index.js"
5122
- ]
5123
- },
5124
5160
  "tenant:backup:list": {
5125
5161
  "aliases": [],
5126
5162
  "args": {
@@ -5298,13 +5334,19 @@
5298
5334
  "index.js"
5299
5335
  ]
5300
5336
  },
5301
- "profile:workspace:set": {
5337
+ "tenant:backup:import": {
5302
5338
  "aliases": [],
5303
- "args": {},
5304
- "description": "Interactively select a workspace for a profile",
5339
+ "args": {
5340
+ "tenant_name": {
5341
+ "description": "Tenant name to import backup into",
5342
+ "name": "tenant_name",
5343
+ "required": true
5344
+ }
5345
+ },
5346
+ "description": "Import a backup file into a tenant",
5305
5347
  "examples": [
5306
- "$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
5307
- "$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
5348
+ "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
5349
+ "$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
5308
5350
  ],
5309
5351
  "flags": {
5310
5352
  "profile": {
@@ -5325,11 +5367,53 @@
5325
5367
  "required": false,
5326
5368
  "allowNo": false,
5327
5369
  "type": "boolean"
5370
+ },
5371
+ "description": {
5372
+ "char": "d",
5373
+ "description": "Backup description",
5374
+ "name": "description",
5375
+ "required": false,
5376
+ "default": "",
5377
+ "hasDynamicHelp": false,
5378
+ "multiple": false,
5379
+ "type": "option"
5380
+ },
5381
+ "file": {
5382
+ "char": "f",
5383
+ "description": "Path to the backup file (.tar.gz)",
5384
+ "name": "file",
5385
+ "required": true,
5386
+ "hasDynamicHelp": false,
5387
+ "multiple": false,
5388
+ "type": "option"
5389
+ },
5390
+ "output": {
5391
+ "char": "o",
5392
+ "description": "Output format",
5393
+ "name": "output",
5394
+ "required": false,
5395
+ "default": "summary",
5396
+ "hasDynamicHelp": false,
5397
+ "multiple": false,
5398
+ "options": [
5399
+ "summary",
5400
+ "json"
5401
+ ],
5402
+ "type": "option"
5403
+ },
5404
+ "workspace": {
5405
+ "char": "w",
5406
+ "description": "Workspace ID (uses profile workspace if not provided)",
5407
+ "name": "workspace",
5408
+ "required": false,
5409
+ "hasDynamicHelp": false,
5410
+ "multiple": false,
5411
+ "type": "option"
5328
5412
  }
5329
5413
  },
5330
5414
  "hasDynamicHelp": false,
5331
5415
  "hiddenAliases": [],
5332
- "id": "profile:workspace:set",
5416
+ "id": "tenant:backup:import",
5333
5417
  "pluginAlias": "@xano/cli",
5334
5418
  "pluginName": "@xano/cli",
5335
5419
  "pluginType": "core",
@@ -5339,9 +5423,9 @@
5339
5423
  "relativePath": [
5340
5424
  "dist",
5341
5425
  "commands",
5342
- "profile",
5343
- "workspace",
5344
- "set",
5426
+ "tenant",
5427
+ "backup",
5428
+ "import",
5345
5429
  "index.js"
5346
5430
  ]
5347
5431
  },
@@ -5648,80 +5732,19 @@
5648
5732
  "index.js"
5649
5733
  ]
5650
5734
  },
5651
- "tenant:cluster:get": {
5652
- "aliases": [],
5653
- "args": {
5654
- "cluster_id": {
5655
- "description": "Cluster ID to retrieve",
5656
- "name": "cluster_id",
5657
- "required": true
5658
- }
5659
- },
5660
- "description": "Get details of a specific tenant cluster",
5661
- "examples": [
5662
- "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
5663
- "$ xano tenant cluster get 1 -o json"
5664
- ],
5665
- "flags": {
5666
- "profile": {
5667
- "char": "p",
5668
- "description": "Profile to use (uses default profile if not specified)",
5669
- "env": "XANO_PROFILE",
5670
- "name": "profile",
5671
- "required": false,
5672
- "hasDynamicHelp": false,
5673
- "multiple": false,
5674
- "type": "option"
5675
- },
5676
- "verbose": {
5677
- "char": "v",
5678
- "description": "Show detailed request/response information",
5679
- "env": "XANO_VERBOSE",
5680
- "name": "verbose",
5681
- "required": false,
5682
- "allowNo": false,
5683
- "type": "boolean"
5684
- },
5685
- "output": {
5686
- "char": "o",
5687
- "description": "Output format",
5688
- "name": "output",
5689
- "required": false,
5690
- "default": "summary",
5691
- "hasDynamicHelp": false,
5692
- "multiple": false,
5693
- "options": [
5694
- "summary",
5695
- "json"
5696
- ],
5697
- "type": "option"
5698
- }
5699
- },
5700
- "hasDynamicHelp": false,
5701
- "hiddenAliases": [],
5702
- "id": "tenant:cluster:get",
5703
- "pluginAlias": "@xano/cli",
5704
- "pluginName": "@xano/cli",
5705
- "pluginType": "core",
5706
- "strict": true,
5707
- "enableJsonFlag": false,
5708
- "isESM": true,
5709
- "relativePath": [
5710
- "dist",
5711
- "commands",
5712
- "tenant",
5713
- "cluster",
5714
- "get",
5715
- "index.js"
5716
- ]
5717
- },
5718
- "tenant:cluster:list": {
5735
+ "tenant:cluster:get": {
5719
5736
  "aliases": [],
5720
- "args": {},
5721
- "description": "List all tenant clusters",
5737
+ "args": {
5738
+ "cluster_id": {
5739
+ "description": "Cluster ID to retrieve",
5740
+ "name": "cluster_id",
5741
+ "required": true
5742
+ }
5743
+ },
5744
+ "description": "Get details of a specific tenant cluster",
5722
5745
  "examples": [
5723
- "$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
5724
- "$ xano tenant cluster list --output json"
5746
+ "$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
5747
+ "$ xano tenant cluster get 1 -o json"
5725
5748
  ],
5726
5749
  "flags": {
5727
5750
  "profile": {
@@ -5760,7 +5783,7 @@
5760
5783
  },
5761
5784
  "hasDynamicHelp": false,
5762
5785
  "hiddenAliases": [],
5763
- "id": "tenant:cluster:list",
5786
+ "id": "tenant:cluster:get",
5764
5787
  "pluginAlias": "@xano/cli",
5765
5788
  "pluginName": "@xano/cli",
5766
5789
  "pluginType": "core",
@@ -5772,24 +5795,17 @@
5772
5795
  "commands",
5773
5796
  "tenant",
5774
5797
  "cluster",
5775
- "list",
5798
+ "get",
5776
5799
  "index.js"
5777
5800
  ]
5778
5801
  },
5779
- "workflow_test:get": {
5802
+ "tenant:cluster:list": {
5780
5803
  "aliases": [],
5781
- "args": {
5782
- "workflow_test_id": {
5783
- "description": "ID of the workflow test",
5784
- "name": "workflow_test_id",
5785
- "required": true
5786
- }
5787
- },
5788
- "description": "Get a specific workflow test",
5804
+ "args": {},
5805
+ "description": "List all tenant clusters",
5789
5806
  "examples": [
5790
- "$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
5791
- "$ xano workflow-test get 1 -o xs",
5792
- "$ xano workflow-test get 1 -o json"
5807
+ "$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
5808
+ "$ xano tenant cluster list --output json"
5793
5809
  ],
5794
5810
  "flags": {
5795
5811
  "profile": {
@@ -5811,13 +5827,6 @@
5811
5827
  "allowNo": false,
5812
5828
  "type": "boolean"
5813
5829
  },
5814
- "include-draft": {
5815
- "description": "Include draft version",
5816
- "name": "include-draft",
5817
- "required": false,
5818
- "allowNo": false,
5819
- "type": "boolean"
5820
- },
5821
5830
  "output": {
5822
5831
  "char": "o",
5823
5832
  "description": "Output format",
@@ -5828,24 +5837,14 @@
5828
5837
  "multiple": false,
5829
5838
  "options": [
5830
5839
  "summary",
5831
- "json",
5832
- "xs"
5840
+ "json"
5833
5841
  ],
5834
5842
  "type": "option"
5835
- },
5836
- "workspace": {
5837
- "char": "w",
5838
- "description": "Workspace ID (uses profile workspace if not provided)",
5839
- "name": "workspace",
5840
- "required": false,
5841
- "hasDynamicHelp": false,
5842
- "multiple": false,
5843
- "type": "option"
5844
5843
  }
5845
5844
  },
5846
5845
  "hasDynamicHelp": false,
5847
5846
  "hiddenAliases": [],
5848
- "id": "workflow_test:get",
5847
+ "id": "tenant:cluster:list",
5849
5848
  "pluginAlias": "@xano/cli",
5850
5849
  "pluginName": "@xano/cli",
5851
5850
  "pluginType": "core",
@@ -5855,8 +5854,9 @@
5855
5854
  "relativePath": [
5856
5855
  "dist",
5857
5856
  "commands",
5858
- "workflow_test",
5859
- "get",
5857
+ "tenant",
5858
+ "cluster",
5859
+ "list",
5860
5860
  "index.js"
5861
5861
  ]
5862
5862
  },
@@ -6039,7 +6039,7 @@
6039
6039
  "index.js"
6040
6040
  ]
6041
6041
  },
6042
- "tenant:env:set": {
6042
+ "tenant:env:get_all": {
6043
6043
  "aliases": [],
6044
6044
  "args": {
6045
6045
  "tenant_name": {
@@ -6048,10 +6048,12 @@
6048
6048
  "required": true
6049
6049
  }
6050
6050
  },
6051
- "description": "Set (create or update) an environment variable for a tenant",
6051
+ "description": "Get all environment variables for a tenant and save to a YAML file",
6052
6052
  "examples": [
6053
- "$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
6054
- "$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
6053
+ "$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
6054
+ "$ xano tenant env get_all my-tenant --file ./my-env.yaml",
6055
+ "$ xano tenant env get_all my-tenant --view",
6056
+ "$ xano tenant env get_all my-tenant -o json"
6055
6057
  ],
6056
6058
  "flags": {
6057
6059
  "profile": {
@@ -6073,11 +6075,11 @@
6073
6075
  "allowNo": false,
6074
6076
  "type": "boolean"
6075
6077
  },
6076
- "name": {
6077
- "char": "n",
6078
- "description": "Environment variable name",
6079
- "name": "name",
6080
- "required": true,
6078
+ "file": {
6079
+ "char": "f",
6080
+ "description": "Output file path (default: env_<tenant_name>.yaml)",
6081
+ "name": "file",
6082
+ "required": false,
6081
6083
  "hasDynamicHelp": false,
6082
6084
  "multiple": false,
6083
6085
  "type": "option"
@@ -6096,13 +6098,12 @@
6096
6098
  ],
6097
6099
  "type": "option"
6098
6100
  },
6099
- "value": {
6100
- "description": "Environment variable value",
6101
- "name": "value",
6102
- "required": true,
6103
- "hasDynamicHelp": false,
6104
- "multiple": false,
6105
- "type": "option"
6101
+ "view": {
6102
+ "description": "Print environment variables to stdout instead of saving to file",
6103
+ "name": "view",
6104
+ "required": false,
6105
+ "allowNo": false,
6106
+ "type": "boolean"
6106
6107
  },
6107
6108
  "workspace": {
6108
6109
  "char": "w",
@@ -6116,7 +6117,7 @@
6116
6117
  },
6117
6118
  "hasDynamicHelp": false,
6118
6119
  "hiddenAliases": [],
6119
- "id": "tenant:env:set",
6120
+ "id": "tenant:env:get_all",
6120
6121
  "pluginAlias": "@xano/cli",
6121
6122
  "pluginName": "@xano/cli",
6122
6123
  "pluginType": "core",
@@ -6128,11 +6129,11 @@
6128
6129
  "commands",
6129
6130
  "tenant",
6130
6131
  "env",
6131
- "set",
6132
+ "get_all",
6132
6133
  "index.js"
6133
6134
  ]
6134
6135
  },
6135
- "tenant:env:set_all": {
6136
+ "tenant:env:list": {
6136
6137
  "aliases": [],
6137
6138
  "args": {
6138
6139
  "tenant_name": {
@@ -6141,11 +6142,10 @@
6141
6142
  "required": true
6142
6143
  }
6143
6144
  },
6144
- "description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
6145
+ "description": "List environment variable keys for a tenant",
6145
6146
  "examples": [
6146
- "$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
6147
- "$ xano tenant env set_all my-tenant --file ./my-env.yaml",
6148
- "$ xano tenant env set_all my-tenant -o json"
6147
+ "$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
6148
+ "$ xano tenant env list my-tenant -w 5 -o json"
6149
6149
  ],
6150
6150
  "flags": {
6151
6151
  "profile": {
@@ -6167,22 +6167,6 @@
6167
6167
  "allowNo": false,
6168
6168
  "type": "boolean"
6169
6169
  },
6170
- "clean": {
6171
- "description": "Remove the source file after successful upload",
6172
- "name": "clean",
6173
- "required": false,
6174
- "allowNo": false,
6175
- "type": "boolean"
6176
- },
6177
- "file": {
6178
- "char": "f",
6179
- "description": "Path to env file (default: env_<tenant_name>.yaml)",
6180
- "name": "file",
6181
- "required": false,
6182
- "hasDynamicHelp": false,
6183
- "multiple": false,
6184
- "type": "option"
6185
- },
6186
6170
  "output": {
6187
6171
  "char": "o",
6188
6172
  "description": "Output format",
@@ -6209,7 +6193,7 @@
6209
6193
  },
6210
6194
  "hasDynamicHelp": false,
6211
6195
  "hiddenAliases": [],
6212
- "id": "tenant:env:set_all",
6196
+ "id": "tenant:env:list",
6213
6197
  "pluginAlias": "@xano/cli",
6214
6198
  "pluginName": "@xano/cli",
6215
6199
  "pluginType": "core",
@@ -6221,11 +6205,11 @@
6221
6205
  "commands",
6222
6206
  "tenant",
6223
6207
  "env",
6224
- "set_all",
6208
+ "list",
6225
6209
  "index.js"
6226
6210
  ]
6227
6211
  },
6228
- "tenant:license:get": {
6212
+ "tenant:env:set_all": {
6229
6213
  "aliases": [],
6230
6214
  "args": {
6231
6215
  "tenant_name": {
@@ -6234,12 +6218,11 @@
6234
6218
  "required": true
6235
6219
  }
6236
6220
  },
6237
- "description": "Get the license for a tenant",
6221
+ "description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
6238
6222
  "examples": [
6239
- "$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
6240
- "$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
6241
- "$ xano tenant license get my-tenant --view",
6242
- "$ xano tenant license get my-tenant -o json"
6223
+ "$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
6224
+ "$ xano tenant env set_all my-tenant --file ./my-env.yaml",
6225
+ "$ xano tenant env set_all my-tenant -o json"
6243
6226
  ],
6244
6227
  "flags": {
6245
6228
  "profile": {
@@ -6261,9 +6244,16 @@
6261
6244
  "allowNo": false,
6262
6245
  "type": "boolean"
6263
6246
  },
6247
+ "clean": {
6248
+ "description": "Remove the source file after successful upload",
6249
+ "name": "clean",
6250
+ "required": false,
6251
+ "allowNo": false,
6252
+ "type": "boolean"
6253
+ },
6264
6254
  "file": {
6265
6255
  "char": "f",
6266
- "description": "Output file path (default: license_<tenant_name>.yaml)",
6256
+ "description": "Path to env file (default: env_<tenant_name>.yaml)",
6267
6257
  "name": "file",
6268
6258
  "required": false,
6269
6259
  "hasDynamicHelp": false,
@@ -6284,13 +6274,6 @@
6284
6274
  ],
6285
6275
  "type": "option"
6286
6276
  },
6287
- "view": {
6288
- "description": "Print license to stdout instead of saving to file",
6289
- "name": "view",
6290
- "required": false,
6291
- "allowNo": false,
6292
- "type": "boolean"
6293
- },
6294
6277
  "workspace": {
6295
6278
  "char": "w",
6296
6279
  "description": "Workspace ID (uses profile workspace if not provided)",
@@ -6303,7 +6286,7 @@
6303
6286
  },
6304
6287
  "hasDynamicHelp": false,
6305
6288
  "hiddenAliases": [],
6306
- "id": "tenant:license:get",
6289
+ "id": "tenant:env:set_all",
6307
6290
  "pluginAlias": "@xano/cli",
6308
6291
  "pluginName": "@xano/cli",
6309
6292
  "pluginType": "core",
@@ -6314,26 +6297,25 @@
6314
6297
  "dist",
6315
6298
  "commands",
6316
6299
  "tenant",
6317
- "license",
6318
- "get",
6300
+ "env",
6301
+ "set_all",
6319
6302
  "index.js"
6320
6303
  ]
6321
6304
  },
6322
- "tenant:license:set": {
6305
+ "static_host:build:create": {
6323
6306
  "aliases": [],
6324
6307
  "args": {
6325
- "tenant_name": {
6326
- "description": "Tenant name",
6327
- "name": "tenant_name",
6308
+ "static_host": {
6309
+ "description": "Static Host name",
6310
+ "name": "static_host",
6328
6311
  "required": true
6329
6312
  }
6330
6313
  },
6331
- "description": "Set/update the license for a tenant",
6314
+ "description": "Create a new build for a static host",
6332
6315
  "examples": [
6333
- "$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
6334
- "$ xano tenant license set my-tenant --file ./license.yaml",
6335
- "$ xano tenant license set my-tenant --value 'key: value'",
6336
- "$ xano tenant license set my-tenant -o json"
6316
+ "$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
6317
+ "$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
6318
+ "$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
6337
6319
  ],
6338
6320
  "flags": {
6339
6321
  "profile": {
@@ -6355,24 +6337,29 @@
6355
6337
  "allowNo": false,
6356
6338
  "type": "boolean"
6357
6339
  },
6358
- "clean": {
6359
- "description": "Remove the source file after successful upload",
6360
- "exclusive": [
6361
- "value"
6362
- ],
6363
- "name": "clean",
6340
+ "description": {
6341
+ "char": "d",
6342
+ "description": "Build description",
6343
+ "name": "description",
6364
6344
  "required": false,
6365
- "allowNo": false,
6366
- "type": "boolean"
6345
+ "hasDynamicHelp": false,
6346
+ "multiple": false,
6347
+ "type": "option"
6367
6348
  },
6368
6349
  "file": {
6369
6350
  "char": "f",
6370
- "description": "Path to license file (default: license_<tenant_name>.yaml)",
6371
- "exclusive": [
6372
- "value"
6373
- ],
6351
+ "description": "Path to zip file to upload",
6374
6352
  "name": "file",
6375
- "required": false,
6353
+ "required": true,
6354
+ "hasDynamicHelp": false,
6355
+ "multiple": false,
6356
+ "type": "option"
6357
+ },
6358
+ "name": {
6359
+ "char": "n",
6360
+ "description": "Build name",
6361
+ "name": "name",
6362
+ "required": true,
6376
6363
  "hasDynamicHelp": false,
6377
6364
  "multiple": false,
6378
6365
  "type": "option"
@@ -6391,21 +6378,9 @@
6391
6378
  ],
6392
6379
  "type": "option"
6393
6380
  },
6394
- "value": {
6395
- "description": "Inline license value",
6396
- "exclusive": [
6397
- "file",
6398
- "clean"
6399
- ],
6400
- "name": "value",
6401
- "required": false,
6402
- "hasDynamicHelp": false,
6403
- "multiple": false,
6404
- "type": "option"
6405
- },
6406
6381
  "workspace": {
6407
6382
  "char": "w",
6408
- "description": "Workspace ID (uses profile workspace if not provided)",
6383
+ "description": "Workspace ID (optional if set in profile)",
6409
6384
  "name": "workspace",
6410
6385
  "required": false,
6411
6386
  "hasDynamicHelp": false,
@@ -6415,7 +6390,7 @@
6415
6390
  },
6416
6391
  "hasDynamicHelp": false,
6417
6392
  "hiddenAliases": [],
6418
- "id": "tenant:license:set",
6393
+ "id": "static_host:build:create",
6419
6394
  "pluginAlias": "@xano/cli",
6420
6395
  "pluginName": "@xano/cli",
6421
6396
  "pluginType": "core",
@@ -6425,32 +6400,25 @@
6425
6400
  "relativePath": [
6426
6401
  "dist",
6427
6402
  "commands",
6428
- "tenant",
6429
- "license",
6430
- "set",
6403
+ "static_host",
6404
+ "build",
6405
+ "create",
6431
6406
  "index.js"
6432
6407
  ]
6433
6408
  },
6434
- "static_host:build:get": {
6409
+ "tenant:env:set": {
6435
6410
  "aliases": [],
6436
6411
  "args": {
6437
- "build_id": {
6438
- "description": "Build ID",
6439
- "name": "build_id",
6440
- "required": true
6441
- },
6442
- "static_host": {
6443
- "description": "Static Host name",
6444
- "name": "static_host",
6412
+ "tenant_name": {
6413
+ "description": "Tenant name",
6414
+ "name": "tenant_name",
6445
6415
  "required": true
6446
6416
  }
6447
6417
  },
6448
- "description": "Get details of a specific build for a static host",
6418
+ "description": "Set (create or update) an environment variable for a tenant",
6449
6419
  "examples": [
6450
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6451
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6452
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6453
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6420
+ "$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
6421
+ "$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
6454
6422
  ],
6455
6423
  "flags": {
6456
6424
  "profile": {
@@ -6472,6 +6440,15 @@
6472
6440
  "allowNo": false,
6473
6441
  "type": "boolean"
6474
6442
  },
6443
+ "name": {
6444
+ "char": "n",
6445
+ "description": "Environment variable name",
6446
+ "name": "name",
6447
+ "required": true,
6448
+ "hasDynamicHelp": false,
6449
+ "multiple": false,
6450
+ "type": "option"
6451
+ },
6475
6452
  "output": {
6476
6453
  "char": "o",
6477
6454
  "description": "Output format",
@@ -6486,9 +6463,17 @@
6486
6463
  ],
6487
6464
  "type": "option"
6488
6465
  },
6466
+ "value": {
6467
+ "description": "Environment variable value",
6468
+ "name": "value",
6469
+ "required": true,
6470
+ "hasDynamicHelp": false,
6471
+ "multiple": false,
6472
+ "type": "option"
6473
+ },
6489
6474
  "workspace": {
6490
6475
  "char": "w",
6491
- "description": "Workspace ID (optional if set in profile)",
6476
+ "description": "Workspace ID (uses profile workspace if not provided)",
6492
6477
  "name": "workspace",
6493
6478
  "required": false,
6494
6479
  "hasDynamicHelp": false,
@@ -6498,7 +6483,7 @@
6498
6483
  },
6499
6484
  "hasDynamicHelp": false,
6500
6485
  "hiddenAliases": [],
6501
- "id": "static_host:build:get",
6486
+ "id": "tenant:env:set",
6502
6487
  "pluginAlias": "@xano/cli",
6503
6488
  "pluginName": "@xano/cli",
6504
6489
  "pluginType": "core",
@@ -6508,26 +6493,32 @@
6508
6493
  "relativePath": [
6509
6494
  "dist",
6510
6495
  "commands",
6511
- "static_host",
6512
- "build",
6513
- "get",
6496
+ "tenant",
6497
+ "env",
6498
+ "set",
6514
6499
  "index.js"
6515
6500
  ]
6516
6501
  },
6517
- "static_host:build:create": {
6502
+ "static_host:build:get": {
6518
6503
  "aliases": [],
6519
6504
  "args": {
6505
+ "build_id": {
6506
+ "description": "Build ID",
6507
+ "name": "build_id",
6508
+ "required": true
6509
+ },
6520
6510
  "static_host": {
6521
6511
  "description": "Static Host name",
6522
6512
  "name": "static_host",
6523
6513
  "required": true
6524
6514
  }
6525
6515
  },
6526
- "description": "Create a new build for a static host",
6516
+ "description": "Get details of a specific build for a static host",
6527
6517
  "examples": [
6528
- "$ xano static_host:build:create default -f ./build.zip -n \"v1.0.0\"\nBuild created successfully!\nID: 123\nName: v1.0.0\nStatus: pending\n",
6529
- "$ xano static_host:build:create default -w 40 -f ./dist.zip -n \"production\" -d \"Production build\"\nBuild created successfully!\nID: 124\nName: production\nDescription: Production build\n",
6530
- "$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
6518
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6519
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
6520
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
6521
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
6531
6522
  ],
6532
6523
  "flags": {
6533
6524
  "profile": {
@@ -6549,33 +6540,6 @@
6549
6540
  "allowNo": false,
6550
6541
  "type": "boolean"
6551
6542
  },
6552
- "description": {
6553
- "char": "d",
6554
- "description": "Build description",
6555
- "name": "description",
6556
- "required": false,
6557
- "hasDynamicHelp": false,
6558
- "multiple": false,
6559
- "type": "option"
6560
- },
6561
- "file": {
6562
- "char": "f",
6563
- "description": "Path to zip file to upload",
6564
- "name": "file",
6565
- "required": true,
6566
- "hasDynamicHelp": false,
6567
- "multiple": false,
6568
- "type": "option"
6569
- },
6570
- "name": {
6571
- "char": "n",
6572
- "description": "Build name",
6573
- "name": "name",
6574
- "required": true,
6575
- "hasDynamicHelp": false,
6576
- "multiple": false,
6577
- "type": "option"
6578
- },
6579
6543
  "output": {
6580
6544
  "char": "o",
6581
6545
  "description": "Output format",
@@ -6602,7 +6566,7 @@
6602
6566
  },
6603
6567
  "hasDynamicHelp": false,
6604
6568
  "hiddenAliases": [],
6605
- "id": "static_host:build:create",
6569
+ "id": "static_host:build:get",
6606
6570
  "pluginAlias": "@xano/cli",
6607
6571
  "pluginName": "@xano/cli",
6608
6572
  "pluginType": "core",
@@ -6614,7 +6578,7 @@
6614
6578
  "commands",
6615
6579
  "static_host",
6616
6580
  "build",
6617
- "create",
6581
+ "get",
6618
6582
  "index.js"
6619
6583
  ]
6620
6584
  },
@@ -6714,24 +6678,21 @@
6714
6678
  "index.js"
6715
6679
  ]
6716
6680
  },
6717
- "workspace:git:pull": {
6681
+ "tenant:license:get": {
6718
6682
  "aliases": [],
6719
6683
  "args": {
6720
- "directory": {
6721
- "description": "Output directory for imported files",
6722
- "name": "directory",
6684
+ "tenant_name": {
6685
+ "description": "Tenant name",
6686
+ "name": "tenant_name",
6723
6687
  "required": true
6724
6688
  }
6725
6689
  },
6726
- "description": "Pull XanoScript files from a git repository into a local directory",
6690
+ "description": "Get the license for a tenant",
6727
6691
  "examples": [
6728
- "$ xano workspace git pull ./output -r https://github.com/owner/repo",
6729
- "$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
6730
- "$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
6731
- "$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
6732
- "$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
6733
- "$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
6734
- "$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
6692
+ "$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
6693
+ "$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
6694
+ "$ xano tenant license get my-tenant --view",
6695
+ "$ xano tenant license get my-tenant -o json"
6735
6696
  ],
6736
6697
  "flags": {
6737
6698
  "profile": {
@@ -6753,37 +6714,40 @@
6753
6714
  "allowNo": false,
6754
6715
  "type": "boolean"
6755
6716
  },
6756
- "branch": {
6757
- "char": "b",
6758
- "description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
6759
- "name": "branch",
6717
+ "file": {
6718
+ "char": "f",
6719
+ "description": "Output file path (default: license_<tenant_name>.yaml)",
6720
+ "name": "file",
6760
6721
  "required": false,
6761
6722
  "hasDynamicHelp": false,
6762
6723
  "multiple": false,
6763
6724
  "type": "option"
6764
6725
  },
6765
- "path": {
6766
- "description": "Subdirectory within the repo to import from",
6767
- "name": "path",
6726
+ "output": {
6727
+ "char": "o",
6728
+ "description": "Output format",
6729
+ "name": "output",
6768
6730
  "required": false,
6731
+ "default": "summary",
6769
6732
  "hasDynamicHelp": false,
6770
6733
  "multiple": false,
6734
+ "options": [
6735
+ "summary",
6736
+ "json"
6737
+ ],
6771
6738
  "type": "option"
6772
6739
  },
6773
- "repo": {
6774
- "char": "r",
6775
- "description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
6776
- "name": "repo",
6777
- "required": true,
6778
- "hasDynamicHelp": false,
6779
- "multiple": false,
6780
- "type": "option"
6740
+ "view": {
6741
+ "description": "Print license to stdout instead of saving to file",
6742
+ "name": "view",
6743
+ "required": false,
6744
+ "allowNo": false,
6745
+ "type": "boolean"
6781
6746
  },
6782
- "token": {
6783
- "char": "t",
6784
- "description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
6785
- "env": "GITHUB_TOKEN",
6786
- "name": "token",
6747
+ "workspace": {
6748
+ "char": "w",
6749
+ "description": "Workspace ID (uses profile workspace if not provided)",
6750
+ "name": "workspace",
6787
6751
  "required": false,
6788
6752
  "hasDynamicHelp": false,
6789
6753
  "multiple": false,
@@ -6792,7 +6756,7 @@
6792
6756
  },
6793
6757
  "hasDynamicHelp": false,
6794
6758
  "hiddenAliases": [],
6795
- "id": "workspace:git:pull",
6759
+ "id": "tenant:license:get",
6796
6760
  "pluginAlias": "@xano/cli",
6797
6761
  "pluginName": "@xano/cli",
6798
6762
  "pluginType": "core",
@@ -6802,13 +6766,13 @@
6802
6766
  "relativePath": [
6803
6767
  "dist",
6804
6768
  "commands",
6805
- "workspace",
6806
- "git",
6807
- "pull",
6769
+ "tenant",
6770
+ "license",
6771
+ "get",
6808
6772
  "index.js"
6809
6773
  ]
6810
6774
  },
6811
- "tenant:env:get_all": {
6775
+ "tenant:license:set": {
6812
6776
  "aliases": [],
6813
6777
  "args": {
6814
6778
  "tenant_name": {
@@ -6817,12 +6781,12 @@
6817
6781
  "required": true
6818
6782
  }
6819
6783
  },
6820
- "description": "Get all environment variables for a tenant and save to a YAML file",
6784
+ "description": "Set/update the license for a tenant",
6821
6785
  "examples": [
6822
- "$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
6823
- "$ xano tenant env get_all my-tenant --file ./my-env.yaml",
6824
- "$ xano tenant env get_all my-tenant --view",
6825
- "$ xano tenant env get_all my-tenant -o json"
6786
+ "$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
6787
+ "$ xano tenant license set my-tenant --file ./license.yaml",
6788
+ "$ xano tenant license set my-tenant --value 'key: value'",
6789
+ "$ xano tenant license set my-tenant -o json"
6826
6790
  ],
6827
6791
  "flags": {
6828
6792
  "profile": {
@@ -6844,9 +6808,22 @@
6844
6808
  "allowNo": false,
6845
6809
  "type": "boolean"
6846
6810
  },
6811
+ "clean": {
6812
+ "description": "Remove the source file after successful upload",
6813
+ "exclusive": [
6814
+ "value"
6815
+ ],
6816
+ "name": "clean",
6817
+ "required": false,
6818
+ "allowNo": false,
6819
+ "type": "boolean"
6820
+ },
6847
6821
  "file": {
6848
6822
  "char": "f",
6849
- "description": "Output file path (default: env_<tenant_name>.yaml)",
6823
+ "description": "Path to license file (default: license_<tenant_name>.yaml)",
6824
+ "exclusive": [
6825
+ "value"
6826
+ ],
6850
6827
  "name": "file",
6851
6828
  "required": false,
6852
6829
  "hasDynamicHelp": false,
@@ -6867,12 +6844,17 @@
6867
6844
  ],
6868
6845
  "type": "option"
6869
6846
  },
6870
- "view": {
6871
- "description": "Print environment variables to stdout instead of saving to file",
6872
- "name": "view",
6847
+ "value": {
6848
+ "description": "Inline license value",
6849
+ "exclusive": [
6850
+ "file",
6851
+ "clean"
6852
+ ],
6853
+ "name": "value",
6873
6854
  "required": false,
6874
- "allowNo": false,
6875
- "type": "boolean"
6855
+ "hasDynamicHelp": false,
6856
+ "multiple": false,
6857
+ "type": "option"
6876
6858
  },
6877
6859
  "workspace": {
6878
6860
  "char": "w",
@@ -6886,7 +6868,7 @@
6886
6868
  },
6887
6869
  "hasDynamicHelp": false,
6888
6870
  "hiddenAliases": [],
6889
- "id": "tenant:env:get_all",
6871
+ "id": "tenant:license:set",
6890
6872
  "pluginAlias": "@xano/cli",
6891
6873
  "pluginName": "@xano/cli",
6892
6874
  "pluginType": "core",
@@ -6897,24 +6879,29 @@
6897
6879
  "dist",
6898
6880
  "commands",
6899
6881
  "tenant",
6900
- "env",
6901
- "get_all",
6882
+ "license",
6883
+ "set",
6902
6884
  "index.js"
6903
6885
  ]
6904
6886
  },
6905
- "tenant:env:list": {
6887
+ "workspace:git:pull": {
6906
6888
  "aliases": [],
6907
6889
  "args": {
6908
- "tenant_name": {
6909
- "description": "Tenant name",
6910
- "name": "tenant_name",
6890
+ "directory": {
6891
+ "description": "Output directory for imported files",
6892
+ "name": "directory",
6911
6893
  "required": true
6912
6894
  }
6913
6895
  },
6914
- "description": "List environment variable keys for a tenant",
6896
+ "description": "Pull XanoScript files from a git repository into a local directory",
6915
6897
  "examples": [
6916
- "$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
6917
- "$ xano tenant env list my-tenant -w 5 -o json"
6898
+ "$ xano workspace git pull ./output -r https://github.com/owner/repo",
6899
+ "$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
6900
+ "$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
6901
+ "$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
6902
+ "$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
6903
+ "$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
6904
+ "$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
6918
6905
  ],
6919
6906
  "flags": {
6920
6907
  "profile": {
@@ -6936,24 +6923,37 @@
6936
6923
  "allowNo": false,
6937
6924
  "type": "boolean"
6938
6925
  },
6939
- "output": {
6940
- "char": "o",
6941
- "description": "Output format",
6942
- "name": "output",
6926
+ "branch": {
6927
+ "char": "b",
6928
+ "description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
6929
+ "name": "branch",
6943
6930
  "required": false,
6944
- "default": "summary",
6945
6931
  "hasDynamicHelp": false,
6946
6932
  "multiple": false,
6947
- "options": [
6948
- "summary",
6949
- "json"
6950
- ],
6951
6933
  "type": "option"
6952
6934
  },
6953
- "workspace": {
6954
- "char": "w",
6955
- "description": "Workspace ID (uses profile workspace if not provided)",
6956
- "name": "workspace",
6935
+ "path": {
6936
+ "description": "Subdirectory within the repo to import from",
6937
+ "name": "path",
6938
+ "required": false,
6939
+ "hasDynamicHelp": false,
6940
+ "multiple": false,
6941
+ "type": "option"
6942
+ },
6943
+ "repo": {
6944
+ "char": "r",
6945
+ "description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
6946
+ "name": "repo",
6947
+ "required": true,
6948
+ "hasDynamicHelp": false,
6949
+ "multiple": false,
6950
+ "type": "option"
6951
+ },
6952
+ "token": {
6953
+ "char": "t",
6954
+ "description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
6955
+ "env": "GITHUB_TOKEN",
6956
+ "name": "token",
6957
6957
  "required": false,
6958
6958
  "hasDynamicHelp": false,
6959
6959
  "multiple": false,
@@ -6962,7 +6962,7 @@
6962
6962
  },
6963
6963
  "hasDynamicHelp": false,
6964
6964
  "hiddenAliases": [],
6965
- "id": "tenant:env:list",
6965
+ "id": "workspace:git:pull",
6966
6966
  "pluginAlias": "@xano/cli",
6967
6967
  "pluginName": "@xano/cli",
6968
6968
  "pluginType": "core",
@@ -6972,9 +6972,9 @@
6972
6972
  "relativePath": [
6973
6973
  "dist",
6974
6974
  "commands",
6975
- "tenant",
6976
- "env",
6977
- "list",
6975
+ "workspace",
6976
+ "git",
6977
+ "pull",
6978
6978
  "index.js"
6979
6979
  ]
6980
6980
  },
@@ -7169,5 +7169,5 @@
7169
7169
  ]
7170
7170
  }
7171
7171
  },
7172
- "version": "0.0.82-beta.3"
7172
+ "version": "0.0.82-beta.4"
7173
7173
  }