@xano/cli 0.0.71-beta.2 → 0.0.75-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -4
- package/dist/commands/tenant/push/index.d.ts +1 -0
- package/dist/commands/tenant/push/index.js +15 -10
- package/dist/commands/workspace/push/index.d.ts +1 -0
- package/dist/commands/workspace/push/index.js +24 -1
- package/oclif.manifest.json +1530 -1516
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -387,6 +387,82 @@
|
|
|
387
387
|
"index.js"
|
|
388
388
|
]
|
|
389
389
|
},
|
|
390
|
+
"branch:get": {
|
|
391
|
+
"aliases": [],
|
|
392
|
+
"args": {
|
|
393
|
+
"branch_label": {
|
|
394
|
+
"description": "Branch label (e.g., \"v1\", \"dev\")",
|
|
395
|
+
"name": "branch_label",
|
|
396
|
+
"required": true
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"description": "Get details for a specific branch",
|
|
400
|
+
"examples": [
|
|
401
|
+
"$ xano branch get v1\nBranch: v1 (live)\n Created: 2024-01-15\n",
|
|
402
|
+
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
403
|
+
"$ 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"
|
|
404
|
+
],
|
|
405
|
+
"flags": {
|
|
406
|
+
"profile": {
|
|
407
|
+
"char": "p",
|
|
408
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
409
|
+
"env": "XANO_PROFILE",
|
|
410
|
+
"name": "profile",
|
|
411
|
+
"required": false,
|
|
412
|
+
"hasDynamicHelp": false,
|
|
413
|
+
"multiple": false,
|
|
414
|
+
"type": "option"
|
|
415
|
+
},
|
|
416
|
+
"verbose": {
|
|
417
|
+
"char": "v",
|
|
418
|
+
"description": "Show detailed request/response information",
|
|
419
|
+
"env": "XANO_VERBOSE",
|
|
420
|
+
"name": "verbose",
|
|
421
|
+
"required": false,
|
|
422
|
+
"allowNo": false,
|
|
423
|
+
"type": "boolean"
|
|
424
|
+
},
|
|
425
|
+
"output": {
|
|
426
|
+
"char": "o",
|
|
427
|
+
"description": "Output format",
|
|
428
|
+
"name": "output",
|
|
429
|
+
"required": false,
|
|
430
|
+
"default": "summary",
|
|
431
|
+
"hasDynamicHelp": false,
|
|
432
|
+
"multiple": false,
|
|
433
|
+
"options": [
|
|
434
|
+
"summary",
|
|
435
|
+
"json"
|
|
436
|
+
],
|
|
437
|
+
"type": "option"
|
|
438
|
+
},
|
|
439
|
+
"workspace": {
|
|
440
|
+
"char": "w",
|
|
441
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
442
|
+
"name": "workspace",
|
|
443
|
+
"required": false,
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"multiple": false,
|
|
446
|
+
"type": "option"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"hasDynamicHelp": false,
|
|
450
|
+
"hiddenAliases": [],
|
|
451
|
+
"id": "branch:get",
|
|
452
|
+
"pluginAlias": "@xano/cli",
|
|
453
|
+
"pluginName": "@xano/cli",
|
|
454
|
+
"pluginType": "core",
|
|
455
|
+
"strict": true,
|
|
456
|
+
"enableJsonFlag": false,
|
|
457
|
+
"isESM": true,
|
|
458
|
+
"relativePath": [
|
|
459
|
+
"dist",
|
|
460
|
+
"commands",
|
|
461
|
+
"branch",
|
|
462
|
+
"get",
|
|
463
|
+
"index.js"
|
|
464
|
+
]
|
|
465
|
+
},
|
|
390
466
|
"branch:list": {
|
|
391
467
|
"aliases": [],
|
|
392
468
|
"args": {
|
|
@@ -454,6 +530,90 @@
|
|
|
454
530
|
"index.js"
|
|
455
531
|
]
|
|
456
532
|
},
|
|
533
|
+
"branch:set_live": {
|
|
534
|
+
"aliases": [],
|
|
535
|
+
"args": {
|
|
536
|
+
"branch_label": {
|
|
537
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
538
|
+
"name": "branch_label",
|
|
539
|
+
"required": true
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
543
|
+
"examples": [
|
|
544
|
+
"$ 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",
|
|
545
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
546
|
+
"$ 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"
|
|
547
|
+
],
|
|
548
|
+
"flags": {
|
|
549
|
+
"profile": {
|
|
550
|
+
"char": "p",
|
|
551
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
552
|
+
"env": "XANO_PROFILE",
|
|
553
|
+
"name": "profile",
|
|
554
|
+
"required": false,
|
|
555
|
+
"hasDynamicHelp": false,
|
|
556
|
+
"multiple": false,
|
|
557
|
+
"type": "option"
|
|
558
|
+
},
|
|
559
|
+
"verbose": {
|
|
560
|
+
"char": "v",
|
|
561
|
+
"description": "Show detailed request/response information",
|
|
562
|
+
"env": "XANO_VERBOSE",
|
|
563
|
+
"name": "verbose",
|
|
564
|
+
"required": false,
|
|
565
|
+
"allowNo": false,
|
|
566
|
+
"type": "boolean"
|
|
567
|
+
},
|
|
568
|
+
"force": {
|
|
569
|
+
"char": "f",
|
|
570
|
+
"description": "Skip confirmation prompt",
|
|
571
|
+
"name": "force",
|
|
572
|
+
"required": false,
|
|
573
|
+
"allowNo": false,
|
|
574
|
+
"type": "boolean"
|
|
575
|
+
},
|
|
576
|
+
"output": {
|
|
577
|
+
"char": "o",
|
|
578
|
+
"description": "Output format",
|
|
579
|
+
"name": "output",
|
|
580
|
+
"required": false,
|
|
581
|
+
"default": "summary",
|
|
582
|
+
"hasDynamicHelp": false,
|
|
583
|
+
"multiple": false,
|
|
584
|
+
"options": [
|
|
585
|
+
"summary",
|
|
586
|
+
"json"
|
|
587
|
+
],
|
|
588
|
+
"type": "option"
|
|
589
|
+
},
|
|
590
|
+
"workspace": {
|
|
591
|
+
"char": "w",
|
|
592
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
593
|
+
"name": "workspace",
|
|
594
|
+
"required": false,
|
|
595
|
+
"hasDynamicHelp": false,
|
|
596
|
+
"multiple": false,
|
|
597
|
+
"type": "option"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"hasDynamicHelp": false,
|
|
601
|
+
"hiddenAliases": [],
|
|
602
|
+
"id": "branch:set_live",
|
|
603
|
+
"pluginAlias": "@xano/cli",
|
|
604
|
+
"pluginName": "@xano/cli",
|
|
605
|
+
"pluginType": "core",
|
|
606
|
+
"strict": true,
|
|
607
|
+
"enableJsonFlag": false,
|
|
608
|
+
"isESM": true,
|
|
609
|
+
"relativePath": [
|
|
610
|
+
"dist",
|
|
611
|
+
"commands",
|
|
612
|
+
"branch",
|
|
613
|
+
"set_live",
|
|
614
|
+
"index.js"
|
|
615
|
+
]
|
|
616
|
+
},
|
|
457
617
|
"function:create": {
|
|
458
618
|
"aliases": [],
|
|
459
619
|
"args": {},
|
|
@@ -560,20 +720,25 @@
|
|
|
560
720
|
"index.js"
|
|
561
721
|
]
|
|
562
722
|
},
|
|
563
|
-
"
|
|
723
|
+
"function:edit": {
|
|
564
724
|
"aliases": [],
|
|
565
725
|
"args": {
|
|
566
|
-
"
|
|
567
|
-
"description": "
|
|
568
|
-
"name": "
|
|
569
|
-
"required":
|
|
726
|
+
"function_id": {
|
|
727
|
+
"description": "Function ID to edit",
|
|
728
|
+
"name": "function_id",
|
|
729
|
+
"required": false
|
|
570
730
|
}
|
|
571
731
|
},
|
|
572
|
-
"description": "
|
|
732
|
+
"description": "Edit a function in a workspace",
|
|
573
733
|
"examples": [
|
|
574
|
-
"$ xano
|
|
575
|
-
"$ xano
|
|
576
|
-
"$ xano
|
|
734
|
+
"$ 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",
|
|
735
|
+
"$ 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",
|
|
736
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
737
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
738
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
739
|
+
"$ 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",
|
|
740
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
741
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
577
742
|
],
|
|
578
743
|
"flags": {
|
|
579
744
|
"profile": {
|
|
@@ -595,14 +760,26 @@
|
|
|
595
760
|
"allowNo": false,
|
|
596
761
|
"type": "boolean"
|
|
597
762
|
},
|
|
598
|
-
"
|
|
599
|
-
"char": "
|
|
600
|
-
"description": "
|
|
601
|
-
"name": "
|
|
763
|
+
"edit": {
|
|
764
|
+
"char": "e",
|
|
765
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
766
|
+
"name": "edit",
|
|
602
767
|
"required": false,
|
|
603
768
|
"allowNo": false,
|
|
604
769
|
"type": "boolean"
|
|
605
770
|
},
|
|
771
|
+
"file": {
|
|
772
|
+
"char": "f",
|
|
773
|
+
"description": "Path to file containing XanoScript code",
|
|
774
|
+
"exclusive": [
|
|
775
|
+
"stdin"
|
|
776
|
+
],
|
|
777
|
+
"name": "file",
|
|
778
|
+
"required": false,
|
|
779
|
+
"hasDynamicHelp": false,
|
|
780
|
+
"multiple": false,
|
|
781
|
+
"type": "option"
|
|
782
|
+
},
|
|
606
783
|
"output": {
|
|
607
784
|
"char": "o",
|
|
608
785
|
"description": "Output format",
|
|
@@ -617,9 +794,27 @@
|
|
|
617
794
|
],
|
|
618
795
|
"type": "option"
|
|
619
796
|
},
|
|
797
|
+
"publish": {
|
|
798
|
+
"description": "Publish the function after editing",
|
|
799
|
+
"name": "publish",
|
|
800
|
+
"required": false,
|
|
801
|
+
"allowNo": false,
|
|
802
|
+
"type": "boolean"
|
|
803
|
+
},
|
|
804
|
+
"stdin": {
|
|
805
|
+
"char": "s",
|
|
806
|
+
"description": "Read XanoScript code from stdin",
|
|
807
|
+
"exclusive": [
|
|
808
|
+
"file"
|
|
809
|
+
],
|
|
810
|
+
"name": "stdin",
|
|
811
|
+
"required": false,
|
|
812
|
+
"allowNo": false,
|
|
813
|
+
"type": "boolean"
|
|
814
|
+
},
|
|
620
815
|
"workspace": {
|
|
621
816
|
"char": "w",
|
|
622
|
-
"description": "Workspace ID (
|
|
817
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
623
818
|
"name": "workspace",
|
|
624
819
|
"required": false,
|
|
625
820
|
"hasDynamicHelp": false,
|
|
@@ -629,7 +824,7 @@
|
|
|
629
824
|
},
|
|
630
825
|
"hasDynamicHelp": false,
|
|
631
826
|
"hiddenAliases": [],
|
|
632
|
-
"id": "
|
|
827
|
+
"id": "function:edit",
|
|
633
828
|
"pluginAlias": "@xano/cli",
|
|
634
829
|
"pluginName": "@xano/cli",
|
|
635
830
|
"pluginType": "core",
|
|
@@ -639,8 +834,8 @@
|
|
|
639
834
|
"relativePath": [
|
|
640
835
|
"dist",
|
|
641
836
|
"commands",
|
|
642
|
-
"
|
|
643
|
-
"
|
|
837
|
+
"function",
|
|
838
|
+
"edit",
|
|
644
839
|
"index.js"
|
|
645
840
|
]
|
|
646
841
|
},
|
|
@@ -863,13 +1058,19 @@
|
|
|
863
1058
|
"index.js"
|
|
864
1059
|
]
|
|
865
1060
|
},
|
|
866
|
-
"platform:
|
|
1061
|
+
"platform:get": {
|
|
867
1062
|
"aliases": [],
|
|
868
|
-
"args": {
|
|
869
|
-
|
|
1063
|
+
"args": {
|
|
1064
|
+
"platform_id": {
|
|
1065
|
+
"description": "Platform ID to retrieve",
|
|
1066
|
+
"name": "platform_id",
|
|
1067
|
+
"required": true
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
"description": "Get details of a specific platform",
|
|
870
1071
|
"examples": [
|
|
871
|
-
"$ xano platform
|
|
872
|
-
"$ xano platform
|
|
1072
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
1073
|
+
"$ xano platform get 23629 -o json"
|
|
873
1074
|
],
|
|
874
1075
|
"flags": {
|
|
875
1076
|
"profile": {
|
|
@@ -908,7 +1109,7 @@
|
|
|
908
1109
|
},
|
|
909
1110
|
"hasDynamicHelp": false,
|
|
910
1111
|
"hiddenAliases": [],
|
|
911
|
-
"id": "platform:
|
|
1112
|
+
"id": "platform:get",
|
|
912
1113
|
"pluginAlias": "@xano/cli",
|
|
913
1114
|
"pluginName": "@xano/cli",
|
|
914
1115
|
"pluginType": "core",
|
|
@@ -919,23 +1120,17 @@
|
|
|
919
1120
|
"dist",
|
|
920
1121
|
"commands",
|
|
921
1122
|
"platform",
|
|
922
|
-
"
|
|
1123
|
+
"get",
|
|
923
1124
|
"index.js"
|
|
924
1125
|
]
|
|
925
1126
|
},
|
|
926
|
-
"platform:
|
|
1127
|
+
"platform:list": {
|
|
927
1128
|
"aliases": [],
|
|
928
|
-
"args": {
|
|
929
|
-
|
|
930
|
-
"description": "Platform ID to retrieve",
|
|
931
|
-
"name": "platform_id",
|
|
932
|
-
"required": true
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
"description": "Get details of a specific platform",
|
|
1129
|
+
"args": {},
|
|
1130
|
+
"description": "List all platforms",
|
|
936
1131
|
"examples": [
|
|
937
|
-
"$ xano platform
|
|
938
|
-
"$ xano platform
|
|
1132
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1133
|
+
"$ xano platform list --output json"
|
|
939
1134
|
],
|
|
940
1135
|
"flags": {
|
|
941
1136
|
"profile": {
|
|
@@ -974,7 +1169,7 @@
|
|
|
974
1169
|
},
|
|
975
1170
|
"hasDynamicHelp": false,
|
|
976
1171
|
"hiddenAliases": [],
|
|
977
|
-
"id": "platform:
|
|
1172
|
+
"id": "platform:list",
|
|
978
1173
|
"pluginAlias": "@xano/cli",
|
|
979
1174
|
"pluginName": "@xano/cli",
|
|
980
1175
|
"pluginType": "core",
|
|
@@ -985,49 +1180,7 @@
|
|
|
985
1180
|
"dist",
|
|
986
1181
|
"commands",
|
|
987
1182
|
"platform",
|
|
988
|
-
"
|
|
989
|
-
"index.js"
|
|
990
|
-
]
|
|
991
|
-
},
|
|
992
|
-
"profile:delete": {
|
|
993
|
-
"aliases": [],
|
|
994
|
-
"args": {
|
|
995
|
-
"name": {
|
|
996
|
-
"description": "Profile name to delete",
|
|
997
|
-
"name": "name",
|
|
998
|
-
"required": true
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
"description": "Delete a profile configuration",
|
|
1002
|
-
"examples": [
|
|
1003
|
-
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1004
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1005
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1006
|
-
],
|
|
1007
|
-
"flags": {
|
|
1008
|
-
"force": {
|
|
1009
|
-
"char": "f",
|
|
1010
|
-
"description": "Skip confirmation prompt",
|
|
1011
|
-
"name": "force",
|
|
1012
|
-
"required": false,
|
|
1013
|
-
"allowNo": false,
|
|
1014
|
-
"type": "boolean"
|
|
1015
|
-
}
|
|
1016
|
-
},
|
|
1017
|
-
"hasDynamicHelp": false,
|
|
1018
|
-
"hiddenAliases": [],
|
|
1019
|
-
"id": "profile:delete",
|
|
1020
|
-
"pluginAlias": "@xano/cli",
|
|
1021
|
-
"pluginName": "@xano/cli",
|
|
1022
|
-
"pluginType": "core",
|
|
1023
|
-
"strict": true,
|
|
1024
|
-
"enableJsonFlag": false,
|
|
1025
|
-
"isESM": true,
|
|
1026
|
-
"relativePath": [
|
|
1027
|
-
"dist",
|
|
1028
|
-
"commands",
|
|
1029
|
-
"profile",
|
|
1030
|
-
"delete",
|
|
1183
|
+
"list",
|
|
1031
1184
|
"index.js"
|
|
1032
1185
|
]
|
|
1033
1186
|
},
|
|
@@ -1127,6 +1280,48 @@
|
|
|
1127
1280
|
"index.js"
|
|
1128
1281
|
]
|
|
1129
1282
|
},
|
|
1283
|
+
"profile:delete": {
|
|
1284
|
+
"aliases": [],
|
|
1285
|
+
"args": {
|
|
1286
|
+
"name": {
|
|
1287
|
+
"description": "Profile name to delete",
|
|
1288
|
+
"name": "name",
|
|
1289
|
+
"required": true
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"description": "Delete a profile configuration",
|
|
1293
|
+
"examples": [
|
|
1294
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1295
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1296
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1297
|
+
],
|
|
1298
|
+
"flags": {
|
|
1299
|
+
"force": {
|
|
1300
|
+
"char": "f",
|
|
1301
|
+
"description": "Skip confirmation prompt",
|
|
1302
|
+
"name": "force",
|
|
1303
|
+
"required": false,
|
|
1304
|
+
"allowNo": false,
|
|
1305
|
+
"type": "boolean"
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
"hasDynamicHelp": false,
|
|
1309
|
+
"hiddenAliases": [],
|
|
1310
|
+
"id": "profile:delete",
|
|
1311
|
+
"pluginAlias": "@xano/cli",
|
|
1312
|
+
"pluginName": "@xano/cli",
|
|
1313
|
+
"pluginType": "core",
|
|
1314
|
+
"strict": true,
|
|
1315
|
+
"enableJsonFlag": false,
|
|
1316
|
+
"isESM": true,
|
|
1317
|
+
"relativePath": [
|
|
1318
|
+
"dist",
|
|
1319
|
+
"commands",
|
|
1320
|
+
"profile",
|
|
1321
|
+
"delete",
|
|
1322
|
+
"index.js"
|
|
1323
|
+
]
|
|
1324
|
+
},
|
|
1130
1325
|
"profile:edit": {
|
|
1131
1326
|
"aliases": [],
|
|
1132
1327
|
"args": {
|
|
@@ -1379,68 +1574,23 @@
|
|
|
1379
1574
|
"index.js"
|
|
1380
1575
|
]
|
|
1381
1576
|
},
|
|
1382
|
-
"
|
|
1577
|
+
"profile:set": {
|
|
1383
1578
|
"aliases": [],
|
|
1384
1579
|
"args": {
|
|
1385
|
-
"
|
|
1386
|
-
"description": "
|
|
1387
|
-
"name": "
|
|
1580
|
+
"name": {
|
|
1581
|
+
"description": "Profile name to set as default",
|
|
1582
|
+
"name": "name",
|
|
1388
1583
|
"required": true
|
|
1389
1584
|
}
|
|
1390
1585
|
},
|
|
1391
|
-
"description": "
|
|
1586
|
+
"description": "Set the default profile",
|
|
1392
1587
|
"examples": [
|
|
1393
|
-
"$ xano
|
|
1394
|
-
"$ xano branch get dev -w 123\nBranch: dev\n Created: 2024-02-01\n",
|
|
1395
|
-
"$ 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"
|
|
1588
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1396
1589
|
],
|
|
1397
|
-
"flags": {
|
|
1398
|
-
"profile": {
|
|
1399
|
-
"char": "p",
|
|
1400
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1401
|
-
"env": "XANO_PROFILE",
|
|
1402
|
-
"name": "profile",
|
|
1403
|
-
"required": false,
|
|
1404
|
-
"hasDynamicHelp": false,
|
|
1405
|
-
"multiple": false,
|
|
1406
|
-
"type": "option"
|
|
1407
|
-
},
|
|
1408
|
-
"verbose": {
|
|
1409
|
-
"char": "v",
|
|
1410
|
-
"description": "Show detailed request/response information",
|
|
1411
|
-
"env": "XANO_VERBOSE",
|
|
1412
|
-
"name": "verbose",
|
|
1413
|
-
"required": false,
|
|
1414
|
-
"allowNo": false,
|
|
1415
|
-
"type": "boolean"
|
|
1416
|
-
},
|
|
1417
|
-
"output": {
|
|
1418
|
-
"char": "o",
|
|
1419
|
-
"description": "Output format",
|
|
1420
|
-
"name": "output",
|
|
1421
|
-
"required": false,
|
|
1422
|
-
"default": "summary",
|
|
1423
|
-
"hasDynamicHelp": false,
|
|
1424
|
-
"multiple": false,
|
|
1425
|
-
"options": [
|
|
1426
|
-
"summary",
|
|
1427
|
-
"json"
|
|
1428
|
-
],
|
|
1429
|
-
"type": "option"
|
|
1430
|
-
},
|
|
1431
|
-
"workspace": {
|
|
1432
|
-
"char": "w",
|
|
1433
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1434
|
-
"name": "workspace",
|
|
1435
|
-
"required": false,
|
|
1436
|
-
"hasDynamicHelp": false,
|
|
1437
|
-
"multiple": false,
|
|
1438
|
-
"type": "option"
|
|
1439
|
-
}
|
|
1440
|
-
},
|
|
1590
|
+
"flags": {},
|
|
1441
1591
|
"hasDynamicHelp": false,
|
|
1442
1592
|
"hiddenAliases": [],
|
|
1443
|
-
"id": "
|
|
1593
|
+
"id": "profile:set",
|
|
1444
1594
|
"pluginAlias": "@xano/cli",
|
|
1445
1595
|
"pluginName": "@xano/cli",
|
|
1446
1596
|
"pluginType": "core",
|
|
@@ -1450,8 +1600,8 @@
|
|
|
1450
1600
|
"relativePath": [
|
|
1451
1601
|
"dist",
|
|
1452
1602
|
"commands",
|
|
1453
|
-
"
|
|
1454
|
-
"
|
|
1603
|
+
"profile",
|
|
1604
|
+
"set",
|
|
1455
1605
|
"index.js"
|
|
1456
1606
|
]
|
|
1457
1607
|
},
|
|
@@ -1481,23 +1631,71 @@
|
|
|
1481
1631
|
"index.js"
|
|
1482
1632
|
]
|
|
1483
1633
|
},
|
|
1484
|
-
"profile:
|
|
1634
|
+
"profile:wizard": {
|
|
1485
1635
|
"aliases": [],
|
|
1486
|
-
"args": {
|
|
1636
|
+
"args": {},
|
|
1637
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1638
|
+
"examples": [
|
|
1639
|
+
"$ 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"
|
|
1640
|
+
],
|
|
1641
|
+
"flags": {
|
|
1642
|
+
"insecure": {
|
|
1643
|
+
"char": "k",
|
|
1644
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1645
|
+
"name": "insecure",
|
|
1646
|
+
"required": false,
|
|
1647
|
+
"allowNo": false,
|
|
1648
|
+
"type": "boolean"
|
|
1649
|
+
},
|
|
1487
1650
|
"name": {
|
|
1488
|
-
"
|
|
1651
|
+
"char": "n",
|
|
1652
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1489
1653
|
"name": "name",
|
|
1490
|
-
"required":
|
|
1654
|
+
"required": false,
|
|
1655
|
+
"hasDynamicHelp": false,
|
|
1656
|
+
"multiple": false,
|
|
1657
|
+
"type": "option"
|
|
1658
|
+
},
|
|
1659
|
+
"origin": {
|
|
1660
|
+
"char": "o",
|
|
1661
|
+
"description": "Xano instance origin URL",
|
|
1662
|
+
"name": "origin",
|
|
1663
|
+
"required": false,
|
|
1664
|
+
"default": "https://app.xano.com",
|
|
1665
|
+
"hasDynamicHelp": false,
|
|
1666
|
+
"multiple": false,
|
|
1667
|
+
"type": "option"
|
|
1491
1668
|
}
|
|
1492
1669
|
},
|
|
1493
|
-
"
|
|
1670
|
+
"hasDynamicHelp": false,
|
|
1671
|
+
"hiddenAliases": [],
|
|
1672
|
+
"id": "profile:wizard",
|
|
1673
|
+
"pluginAlias": "@xano/cli",
|
|
1674
|
+
"pluginName": "@xano/cli",
|
|
1675
|
+
"pluginType": "core",
|
|
1676
|
+
"strict": true,
|
|
1677
|
+
"enableJsonFlag": false,
|
|
1678
|
+
"isESM": true,
|
|
1679
|
+
"relativePath": [
|
|
1680
|
+
"dist",
|
|
1681
|
+
"commands",
|
|
1682
|
+
"profile",
|
|
1683
|
+
"wizard",
|
|
1684
|
+
"index.js"
|
|
1685
|
+
]
|
|
1686
|
+
},
|
|
1687
|
+
"profile:workspace": {
|
|
1688
|
+
"aliases": [],
|
|
1689
|
+
"args": {},
|
|
1690
|
+
"description": "Print the workspace ID for the default profile",
|
|
1494
1691
|
"examples": [
|
|
1495
|
-
"$ xano profile
|
|
1692
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1693
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1496
1694
|
],
|
|
1497
1695
|
"flags": {},
|
|
1498
1696
|
"hasDynamicHelp": false,
|
|
1499
1697
|
"hiddenAliases": [],
|
|
1500
|
-
"id": "profile:
|
|
1698
|
+
"id": "profile:workspace",
|
|
1501
1699
|
"pluginAlias": "@xano/cli",
|
|
1502
1700
|
"pluginName": "@xano/cli",
|
|
1503
1701
|
"pluginType": "core",
|
|
@@ -1508,29 +1706,17 @@
|
|
|
1508
1706
|
"dist",
|
|
1509
1707
|
"commands",
|
|
1510
1708
|
"profile",
|
|
1511
|
-
"
|
|
1709
|
+
"workspace",
|
|
1512
1710
|
"index.js"
|
|
1513
1711
|
]
|
|
1514
1712
|
},
|
|
1515
|
-
"
|
|
1713
|
+
"release:create": {
|
|
1516
1714
|
"aliases": [],
|
|
1517
|
-
"args": {
|
|
1518
|
-
|
|
1519
|
-
"description": "Function ID to edit",
|
|
1520
|
-
"name": "function_id",
|
|
1521
|
-
"required": false
|
|
1522
|
-
}
|
|
1523
|
-
},
|
|
1524
|
-
"description": "Edit a function in a workspace",
|
|
1715
|
+
"args": {},
|
|
1716
|
+
"description": "Create a new release in a workspace",
|
|
1525
1717
|
"examples": [
|
|
1526
|
-
"$ xano
|
|
1527
|
-
"$ xano
|
|
1528
|
-
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
1529
|
-
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
1530
|
-
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
1531
|
-
"$ 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",
|
|
1532
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
1533
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
1718
|
+
"$ xano release create --name \"v1.0\" --branch main\nCreated release: v1.0 - ID: 10\n",
|
|
1719
|
+
"$ xano release create --name \"v1.1-hotfix\" --branch main --hotfix --description \"Critical fix\" -o json"
|
|
1534
1720
|
],
|
|
1535
1721
|
"flags": {
|
|
1536
1722
|
"profile": {
|
|
@@ -1552,22 +1738,36 @@
|
|
|
1552
1738
|
"allowNo": false,
|
|
1553
1739
|
"type": "boolean"
|
|
1554
1740
|
},
|
|
1555
|
-
"
|
|
1556
|
-
"char": "
|
|
1557
|
-
"description": "
|
|
1558
|
-
"name": "
|
|
1559
|
-
"required":
|
|
1560
|
-
"
|
|
1561
|
-
"
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
"
|
|
1566
|
-
"
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
"
|
|
1741
|
+
"branch": {
|
|
1742
|
+
"char": "b",
|
|
1743
|
+
"description": "Branch to create the release from",
|
|
1744
|
+
"name": "branch",
|
|
1745
|
+
"required": true,
|
|
1746
|
+
"hasDynamicHelp": false,
|
|
1747
|
+
"multiple": false,
|
|
1748
|
+
"type": "option"
|
|
1749
|
+
},
|
|
1750
|
+
"description": {
|
|
1751
|
+
"char": "d",
|
|
1752
|
+
"description": "Release description",
|
|
1753
|
+
"name": "description",
|
|
1754
|
+
"required": false,
|
|
1755
|
+
"hasDynamicHelp": false,
|
|
1756
|
+
"multiple": false,
|
|
1757
|
+
"type": "option"
|
|
1758
|
+
},
|
|
1759
|
+
"hotfix": {
|
|
1760
|
+
"description": "Mark as a hotfix release",
|
|
1761
|
+
"name": "hotfix",
|
|
1570
1762
|
"required": false,
|
|
1763
|
+
"allowNo": false,
|
|
1764
|
+
"type": "boolean"
|
|
1765
|
+
},
|
|
1766
|
+
"name": {
|
|
1767
|
+
"char": "n",
|
|
1768
|
+
"description": "Name for the release",
|
|
1769
|
+
"name": "name",
|
|
1770
|
+
"required": true,
|
|
1571
1771
|
"hasDynamicHelp": false,
|
|
1572
1772
|
"multiple": false,
|
|
1573
1773
|
"type": "option"
|
|
@@ -1586,27 +1786,17 @@
|
|
|
1586
1786
|
],
|
|
1587
1787
|
"type": "option"
|
|
1588
1788
|
},
|
|
1589
|
-
"
|
|
1590
|
-
"description": "
|
|
1591
|
-
"name": "
|
|
1592
|
-
"required": false,
|
|
1593
|
-
"allowNo": false,
|
|
1594
|
-
"type": "boolean"
|
|
1595
|
-
},
|
|
1596
|
-
"stdin": {
|
|
1597
|
-
"char": "s",
|
|
1598
|
-
"description": "Read XanoScript code from stdin",
|
|
1599
|
-
"exclusive": [
|
|
1600
|
-
"file"
|
|
1601
|
-
],
|
|
1602
|
-
"name": "stdin",
|
|
1789
|
+
"table-ids": {
|
|
1790
|
+
"description": "Comma-separated table IDs to include",
|
|
1791
|
+
"name": "table-ids",
|
|
1603
1792
|
"required": false,
|
|
1604
|
-
"
|
|
1605
|
-
"
|
|
1793
|
+
"hasDynamicHelp": false,
|
|
1794
|
+
"multiple": false,
|
|
1795
|
+
"type": "option"
|
|
1606
1796
|
},
|
|
1607
1797
|
"workspace": {
|
|
1608
1798
|
"char": "w",
|
|
1609
|
-
"description": "Workspace ID (
|
|
1799
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1610
1800
|
"name": "workspace",
|
|
1611
1801
|
"required": false,
|
|
1612
1802
|
"hasDynamicHelp": false,
|
|
@@ -1616,33 +1806,7 @@
|
|
|
1616
1806
|
},
|
|
1617
1807
|
"hasDynamicHelp": false,
|
|
1618
1808
|
"hiddenAliases": [],
|
|
1619
|
-
"id": "
|
|
1620
|
-
"pluginAlias": "@xano/cli",
|
|
1621
|
-
"pluginName": "@xano/cli",
|
|
1622
|
-
"pluginType": "core",
|
|
1623
|
-
"strict": true,
|
|
1624
|
-
"enableJsonFlag": false,
|
|
1625
|
-
"isESM": true,
|
|
1626
|
-
"relativePath": [
|
|
1627
|
-
"dist",
|
|
1628
|
-
"commands",
|
|
1629
|
-
"function",
|
|
1630
|
-
"edit",
|
|
1631
|
-
"index.js"
|
|
1632
|
-
]
|
|
1633
|
-
},
|
|
1634
|
-
"profile:workspace": {
|
|
1635
|
-
"aliases": [],
|
|
1636
|
-
"args": {},
|
|
1637
|
-
"description": "Print the workspace ID for the default profile",
|
|
1638
|
-
"examples": [
|
|
1639
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1640
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1641
|
-
],
|
|
1642
|
-
"flags": {},
|
|
1643
|
-
"hasDynamicHelp": false,
|
|
1644
|
-
"hiddenAliases": [],
|
|
1645
|
-
"id": "profile:workspace",
|
|
1809
|
+
"id": "release:create",
|
|
1646
1810
|
"pluginAlias": "@xano/cli",
|
|
1647
1811
|
"pluginName": "@xano/cli",
|
|
1648
1812
|
"pluginType": "core",
|
|
@@ -1652,18 +1816,25 @@
|
|
|
1652
1816
|
"relativePath": [
|
|
1653
1817
|
"dist",
|
|
1654
1818
|
"commands",
|
|
1655
|
-
"
|
|
1656
|
-
"
|
|
1819
|
+
"release",
|
|
1820
|
+
"create",
|
|
1657
1821
|
"index.js"
|
|
1658
1822
|
]
|
|
1659
1823
|
},
|
|
1660
|
-
"release:
|
|
1824
|
+
"release:delete": {
|
|
1661
1825
|
"aliases": [],
|
|
1662
|
-
"args": {
|
|
1663
|
-
|
|
1826
|
+
"args": {
|
|
1827
|
+
"release_name": {
|
|
1828
|
+
"description": "Release name to delete",
|
|
1829
|
+
"name": "release_name",
|
|
1830
|
+
"required": true
|
|
1831
|
+
}
|
|
1832
|
+
},
|
|
1833
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1664
1834
|
"examples": [
|
|
1665
|
-
"$ xano release
|
|
1666
|
-
"$ xano release
|
|
1835
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1836
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1837
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1667
1838
|
],
|
|
1668
1839
|
"flags": {
|
|
1669
1840
|
"profile": {
|
|
@@ -1685,40 +1856,14 @@
|
|
|
1685
1856
|
"allowNo": false,
|
|
1686
1857
|
"type": "boolean"
|
|
1687
1858
|
},
|
|
1688
|
-
"
|
|
1689
|
-
"char": "
|
|
1690
|
-
"description": "
|
|
1691
|
-
"name": "
|
|
1692
|
-
"required": true,
|
|
1693
|
-
"hasDynamicHelp": false,
|
|
1694
|
-
"multiple": false,
|
|
1695
|
-
"type": "option"
|
|
1696
|
-
},
|
|
1697
|
-
"description": {
|
|
1698
|
-
"char": "d",
|
|
1699
|
-
"description": "Release description",
|
|
1700
|
-
"name": "description",
|
|
1701
|
-
"required": false,
|
|
1702
|
-
"hasDynamicHelp": false,
|
|
1703
|
-
"multiple": false,
|
|
1704
|
-
"type": "option"
|
|
1705
|
-
},
|
|
1706
|
-
"hotfix": {
|
|
1707
|
-
"description": "Mark as a hotfix release",
|
|
1708
|
-
"name": "hotfix",
|
|
1859
|
+
"force": {
|
|
1860
|
+
"char": "f",
|
|
1861
|
+
"description": "Skip confirmation prompt",
|
|
1862
|
+
"name": "force",
|
|
1709
1863
|
"required": false,
|
|
1710
1864
|
"allowNo": false,
|
|
1711
1865
|
"type": "boolean"
|
|
1712
1866
|
},
|
|
1713
|
-
"name": {
|
|
1714
|
-
"char": "n",
|
|
1715
|
-
"description": "Name for the release",
|
|
1716
|
-
"name": "name",
|
|
1717
|
-
"required": true,
|
|
1718
|
-
"hasDynamicHelp": false,
|
|
1719
|
-
"multiple": false,
|
|
1720
|
-
"type": "option"
|
|
1721
|
-
},
|
|
1722
1867
|
"output": {
|
|
1723
1868
|
"char": "o",
|
|
1724
1869
|
"description": "Output format",
|
|
@@ -1733,14 +1878,6 @@
|
|
|
1733
1878
|
],
|
|
1734
1879
|
"type": "option"
|
|
1735
1880
|
},
|
|
1736
|
-
"table-ids": {
|
|
1737
|
-
"description": "Comma-separated table IDs to include",
|
|
1738
|
-
"name": "table-ids",
|
|
1739
|
-
"required": false,
|
|
1740
|
-
"hasDynamicHelp": false,
|
|
1741
|
-
"multiple": false,
|
|
1742
|
-
"type": "option"
|
|
1743
|
-
},
|
|
1744
1881
|
"workspace": {
|
|
1745
1882
|
"char": "w",
|
|
1746
1883
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1753,7 +1890,7 @@
|
|
|
1753
1890
|
},
|
|
1754
1891
|
"hasDynamicHelp": false,
|
|
1755
1892
|
"hiddenAliases": [],
|
|
1756
|
-
"id": "release:
|
|
1893
|
+
"id": "release:delete",
|
|
1757
1894
|
"pluginAlias": "@xano/cli",
|
|
1758
1895
|
"pluginName": "@xano/cli",
|
|
1759
1896
|
"pluginType": "core",
|
|
@@ -1764,24 +1901,23 @@
|
|
|
1764
1901
|
"dist",
|
|
1765
1902
|
"commands",
|
|
1766
1903
|
"release",
|
|
1767
|
-
"
|
|
1904
|
+
"delete",
|
|
1768
1905
|
"index.js"
|
|
1769
1906
|
]
|
|
1770
1907
|
},
|
|
1771
|
-
"release:
|
|
1908
|
+
"release:edit": {
|
|
1772
1909
|
"aliases": [],
|
|
1773
1910
|
"args": {
|
|
1774
1911
|
"release_name": {
|
|
1775
|
-
"description": "Release name to
|
|
1912
|
+
"description": "Release name to edit",
|
|
1776
1913
|
"name": "release_name",
|
|
1777
1914
|
"required": true
|
|
1778
1915
|
}
|
|
1779
1916
|
},
|
|
1780
|
-
"description": "
|
|
1917
|
+
"description": "Edit an existing release",
|
|
1781
1918
|
"examples": [
|
|
1782
|
-
"$ xano release
|
|
1783
|
-
"$ xano release
|
|
1784
|
-
"$ xano release delete v1.0 -f -o json"
|
|
1919
|
+
"$ xano release edit v1.0 --name \"v1.0-final\" --description \"Updated description\"\nUpdated release: v1.0-final - ID: 10\n",
|
|
1920
|
+
"$ xano release edit v1.0 --description \"New description\" -o json"
|
|
1785
1921
|
],
|
|
1786
1922
|
"flags": {
|
|
1787
1923
|
"profile": {
|
|
@@ -1803,13 +1939,23 @@
|
|
|
1803
1939
|
"allowNo": false,
|
|
1804
1940
|
"type": "boolean"
|
|
1805
1941
|
},
|
|
1806
|
-
"
|
|
1807
|
-
"char": "
|
|
1808
|
-
"description": "
|
|
1809
|
-
"name": "
|
|
1942
|
+
"description": {
|
|
1943
|
+
"char": "d",
|
|
1944
|
+
"description": "New description",
|
|
1945
|
+
"name": "description",
|
|
1810
1946
|
"required": false,
|
|
1811
|
-
"
|
|
1812
|
-
"
|
|
1947
|
+
"hasDynamicHelp": false,
|
|
1948
|
+
"multiple": false,
|
|
1949
|
+
"type": "option"
|
|
1950
|
+
},
|
|
1951
|
+
"name": {
|
|
1952
|
+
"char": "n",
|
|
1953
|
+
"description": "New name for the release",
|
|
1954
|
+
"name": "name",
|
|
1955
|
+
"required": false,
|
|
1956
|
+
"hasDynamicHelp": false,
|
|
1957
|
+
"multiple": false,
|
|
1958
|
+
"type": "option"
|
|
1813
1959
|
},
|
|
1814
1960
|
"output": {
|
|
1815
1961
|
"char": "o",
|
|
@@ -1837,7 +1983,7 @@
|
|
|
1837
1983
|
},
|
|
1838
1984
|
"hasDynamicHelp": false,
|
|
1839
1985
|
"hiddenAliases": [],
|
|
1840
|
-
"id": "release:
|
|
1986
|
+
"id": "release:edit",
|
|
1841
1987
|
"pluginAlias": "@xano/cli",
|
|
1842
1988
|
"pluginName": "@xano/cli",
|
|
1843
1989
|
"pluginType": "core",
|
|
@@ -1848,7 +1994,7 @@
|
|
|
1848
1994
|
"dist",
|
|
1849
1995
|
"commands",
|
|
1850
1996
|
"release",
|
|
1851
|
-
"
|
|
1997
|
+
"edit",
|
|
1852
1998
|
"index.js"
|
|
1853
1999
|
]
|
|
1854
2000
|
},
|
|
@@ -1936,19 +2082,19 @@
|
|
|
1936
2082
|
"index.js"
|
|
1937
2083
|
]
|
|
1938
2084
|
},
|
|
1939
|
-
"release:
|
|
2085
|
+
"release:get": {
|
|
1940
2086
|
"aliases": [],
|
|
1941
2087
|
"args": {
|
|
1942
2088
|
"release_name": {
|
|
1943
|
-
"description": "Release name to
|
|
2089
|
+
"description": "Release name to retrieve",
|
|
1944
2090
|
"name": "release_name",
|
|
1945
2091
|
"required": true
|
|
1946
2092
|
}
|
|
1947
2093
|
},
|
|
1948
|
-
"description": "
|
|
2094
|
+
"description": "Get details of a specific release",
|
|
1949
2095
|
"examples": [
|
|
1950
|
-
"$ xano release
|
|
1951
|
-
"$ xano release
|
|
2096
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2097
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
1952
2098
|
],
|
|
1953
2099
|
"flags": {
|
|
1954
2100
|
"profile": {
|
|
@@ -1970,24 +2116,6 @@
|
|
|
1970
2116
|
"allowNo": false,
|
|
1971
2117
|
"type": "boolean"
|
|
1972
2118
|
},
|
|
1973
|
-
"description": {
|
|
1974
|
-
"char": "d",
|
|
1975
|
-
"description": "New description",
|
|
1976
|
-
"name": "description",
|
|
1977
|
-
"required": false,
|
|
1978
|
-
"hasDynamicHelp": false,
|
|
1979
|
-
"multiple": false,
|
|
1980
|
-
"type": "option"
|
|
1981
|
-
},
|
|
1982
|
-
"name": {
|
|
1983
|
-
"char": "n",
|
|
1984
|
-
"description": "New name for the release",
|
|
1985
|
-
"name": "name",
|
|
1986
|
-
"required": false,
|
|
1987
|
-
"hasDynamicHelp": false,
|
|
1988
|
-
"multiple": false,
|
|
1989
|
-
"type": "option"
|
|
1990
|
-
},
|
|
1991
2119
|
"output": {
|
|
1992
2120
|
"char": "o",
|
|
1993
2121
|
"description": "Output format",
|
|
@@ -2014,7 +2142,7 @@
|
|
|
2014
2142
|
},
|
|
2015
2143
|
"hasDynamicHelp": false,
|
|
2016
2144
|
"hiddenAliases": [],
|
|
2017
|
-
"id": "release:
|
|
2145
|
+
"id": "release:get",
|
|
2018
2146
|
"pluginAlias": "@xano/cli",
|
|
2019
2147
|
"pluginName": "@xano/cli",
|
|
2020
2148
|
"pluginType": "core",
|
|
@@ -2025,7 +2153,7 @@
|
|
|
2025
2153
|
"dist",
|
|
2026
2154
|
"commands",
|
|
2027
2155
|
"release",
|
|
2028
|
-
"
|
|
2156
|
+
"get",
|
|
2029
2157
|
"index.js"
|
|
2030
2158
|
]
|
|
2031
2159
|
},
|
|
@@ -2107,19 +2235,13 @@
|
|
|
2107
2235
|
"index.js"
|
|
2108
2236
|
]
|
|
2109
2237
|
},
|
|
2110
|
-
"release:
|
|
2238
|
+
"release:list": {
|
|
2111
2239
|
"aliases": [],
|
|
2112
|
-
"args": {
|
|
2113
|
-
|
|
2114
|
-
"description": "Release name to retrieve",
|
|
2115
|
-
"name": "release_name",
|
|
2116
|
-
"required": true
|
|
2117
|
-
}
|
|
2118
|
-
},
|
|
2119
|
-
"description": "Get details of a specific release",
|
|
2240
|
+
"args": {},
|
|
2241
|
+
"description": "List all releases in a workspace",
|
|
2120
2242
|
"examples": [
|
|
2121
|
-
"$ xano release
|
|
2122
|
-
"$ xano release
|
|
2243
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2244
|
+
"$ xano release list -w 5 --output json"
|
|
2123
2245
|
],
|
|
2124
2246
|
"flags": {
|
|
2125
2247
|
"profile": {
|
|
@@ -2167,7 +2289,7 @@
|
|
|
2167
2289
|
},
|
|
2168
2290
|
"hasDynamicHelp": false,
|
|
2169
2291
|
"hiddenAliases": [],
|
|
2170
|
-
"id": "release:
|
|
2292
|
+
"id": "release:list",
|
|
2171
2293
|
"pluginAlias": "@xano/cli",
|
|
2172
2294
|
"pluginName": "@xano/cli",
|
|
2173
2295
|
"pluginType": "core",
|
|
@@ -2178,142 +2300,20 @@
|
|
|
2178
2300
|
"dist",
|
|
2179
2301
|
"commands",
|
|
2180
2302
|
"release",
|
|
2181
|
-
"
|
|
2303
|
+
"list",
|
|
2182
2304
|
"index.js"
|
|
2183
2305
|
]
|
|
2184
2306
|
},
|
|
2185
|
-
"release:
|
|
2307
|
+
"release:pull": {
|
|
2186
2308
|
"aliases": [],
|
|
2187
|
-
"args": {
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
"char": "p",
|
|
2196
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2197
|
-
"env": "XANO_PROFILE",
|
|
2198
|
-
"name": "profile",
|
|
2199
|
-
"required": false,
|
|
2200
|
-
"hasDynamicHelp": false,
|
|
2201
|
-
"multiple": false,
|
|
2202
|
-
"type": "option"
|
|
2203
|
-
},
|
|
2204
|
-
"verbose": {
|
|
2205
|
-
"char": "v",
|
|
2206
|
-
"description": "Show detailed request/response information",
|
|
2207
|
-
"env": "XANO_VERBOSE",
|
|
2208
|
-
"name": "verbose",
|
|
2209
|
-
"required": false,
|
|
2210
|
-
"allowNo": false,
|
|
2211
|
-
"type": "boolean"
|
|
2212
|
-
},
|
|
2213
|
-
"output": {
|
|
2214
|
-
"char": "o",
|
|
2215
|
-
"description": "Output format",
|
|
2216
|
-
"name": "output",
|
|
2217
|
-
"required": false,
|
|
2218
|
-
"default": "summary",
|
|
2219
|
-
"hasDynamicHelp": false,
|
|
2220
|
-
"multiple": false,
|
|
2221
|
-
"options": [
|
|
2222
|
-
"summary",
|
|
2223
|
-
"json"
|
|
2224
|
-
],
|
|
2225
|
-
"type": "option"
|
|
2226
|
-
},
|
|
2227
|
-
"workspace": {
|
|
2228
|
-
"char": "w",
|
|
2229
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
2230
|
-
"name": "workspace",
|
|
2231
|
-
"required": false,
|
|
2232
|
-
"hasDynamicHelp": false,
|
|
2233
|
-
"multiple": false,
|
|
2234
|
-
"type": "option"
|
|
2235
|
-
}
|
|
2236
|
-
},
|
|
2237
|
-
"hasDynamicHelp": false,
|
|
2238
|
-
"hiddenAliases": [],
|
|
2239
|
-
"id": "release:list",
|
|
2240
|
-
"pluginAlias": "@xano/cli",
|
|
2241
|
-
"pluginName": "@xano/cli",
|
|
2242
|
-
"pluginType": "core",
|
|
2243
|
-
"strict": true,
|
|
2244
|
-
"enableJsonFlag": false,
|
|
2245
|
-
"isESM": true,
|
|
2246
|
-
"relativePath": [
|
|
2247
|
-
"dist",
|
|
2248
|
-
"commands",
|
|
2249
|
-
"release",
|
|
2250
|
-
"list",
|
|
2251
|
-
"index.js"
|
|
2252
|
-
]
|
|
2253
|
-
},
|
|
2254
|
-
"profile:wizard": {
|
|
2255
|
-
"aliases": [],
|
|
2256
|
-
"args": {},
|
|
2257
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
2258
|
-
"examples": [
|
|
2259
|
-
"$ 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"
|
|
2260
|
-
],
|
|
2261
|
-
"flags": {
|
|
2262
|
-
"insecure": {
|
|
2263
|
-
"char": "k",
|
|
2264
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
2265
|
-
"name": "insecure",
|
|
2266
|
-
"required": false,
|
|
2267
|
-
"allowNo": false,
|
|
2268
|
-
"type": "boolean"
|
|
2269
|
-
},
|
|
2270
|
-
"name": {
|
|
2271
|
-
"char": "n",
|
|
2272
|
-
"description": "Profile name (skip prompt if provided)",
|
|
2273
|
-
"name": "name",
|
|
2274
|
-
"required": false,
|
|
2275
|
-
"hasDynamicHelp": false,
|
|
2276
|
-
"multiple": false,
|
|
2277
|
-
"type": "option"
|
|
2278
|
-
},
|
|
2279
|
-
"origin": {
|
|
2280
|
-
"char": "o",
|
|
2281
|
-
"description": "Xano instance origin URL",
|
|
2282
|
-
"name": "origin",
|
|
2283
|
-
"required": false,
|
|
2284
|
-
"default": "https://app.xano.com",
|
|
2285
|
-
"hasDynamicHelp": false,
|
|
2286
|
-
"multiple": false,
|
|
2287
|
-
"type": "option"
|
|
2288
|
-
}
|
|
2289
|
-
},
|
|
2290
|
-
"hasDynamicHelp": false,
|
|
2291
|
-
"hiddenAliases": [],
|
|
2292
|
-
"id": "profile:wizard",
|
|
2293
|
-
"pluginAlias": "@xano/cli",
|
|
2294
|
-
"pluginName": "@xano/cli",
|
|
2295
|
-
"pluginType": "core",
|
|
2296
|
-
"strict": true,
|
|
2297
|
-
"enableJsonFlag": false,
|
|
2298
|
-
"isESM": true,
|
|
2299
|
-
"relativePath": [
|
|
2300
|
-
"dist",
|
|
2301
|
-
"commands",
|
|
2302
|
-
"profile",
|
|
2303
|
-
"wizard",
|
|
2304
|
-
"index.js"
|
|
2305
|
-
]
|
|
2306
|
-
},
|
|
2307
|
-
"release:pull": {
|
|
2308
|
-
"aliases": [],
|
|
2309
|
-
"args": {
|
|
2310
|
-
"directory": {
|
|
2311
|
-
"description": "Output directory for pulled documents",
|
|
2312
|
-
"name": "directory",
|
|
2313
|
-
"required": true
|
|
2314
|
-
}
|
|
2315
|
-
},
|
|
2316
|
-
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2309
|
+
"args": {
|
|
2310
|
+
"directory": {
|
|
2311
|
+
"description": "Output directory for pulled documents",
|
|
2312
|
+
"name": "directory",
|
|
2313
|
+
"required": true
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
"description": "Pull a release multidoc from the Xano Metadata API and split into individual files",
|
|
2317
2317
|
"examples": [
|
|
2318
2318
|
"$ xano release pull ./my-release -r v1.0\nPulled 42 documents from release 'v1.0' to ./my-release\n",
|
|
2319
2319
|
"$ xano release pull ./output -r v1.0 -w 40\nPulled 15 documents from release 'v1.0' to ./output\n",
|
|
@@ -2507,6 +2507,95 @@
|
|
|
2507
2507
|
"index.js"
|
|
2508
2508
|
]
|
|
2509
2509
|
},
|
|
2510
|
+
"static_host:list": {
|
|
2511
|
+
"aliases": [],
|
|
2512
|
+
"args": {},
|
|
2513
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2514
|
+
"examples": [
|
|
2515
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2516
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2517
|
+
"$ 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",
|
|
2518
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2519
|
+
],
|
|
2520
|
+
"flags": {
|
|
2521
|
+
"profile": {
|
|
2522
|
+
"char": "p",
|
|
2523
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
2524
|
+
"env": "XANO_PROFILE",
|
|
2525
|
+
"name": "profile",
|
|
2526
|
+
"required": false,
|
|
2527
|
+
"hasDynamicHelp": false,
|
|
2528
|
+
"multiple": false,
|
|
2529
|
+
"type": "option"
|
|
2530
|
+
},
|
|
2531
|
+
"verbose": {
|
|
2532
|
+
"char": "v",
|
|
2533
|
+
"description": "Show detailed request/response information",
|
|
2534
|
+
"env": "XANO_VERBOSE",
|
|
2535
|
+
"name": "verbose",
|
|
2536
|
+
"required": false,
|
|
2537
|
+
"allowNo": false,
|
|
2538
|
+
"type": "boolean"
|
|
2539
|
+
},
|
|
2540
|
+
"output": {
|
|
2541
|
+
"char": "o",
|
|
2542
|
+
"description": "Output format",
|
|
2543
|
+
"name": "output",
|
|
2544
|
+
"required": false,
|
|
2545
|
+
"default": "summary",
|
|
2546
|
+
"hasDynamicHelp": false,
|
|
2547
|
+
"multiple": false,
|
|
2548
|
+
"options": [
|
|
2549
|
+
"summary",
|
|
2550
|
+
"json"
|
|
2551
|
+
],
|
|
2552
|
+
"type": "option"
|
|
2553
|
+
},
|
|
2554
|
+
"page": {
|
|
2555
|
+
"description": "Page number for pagination",
|
|
2556
|
+
"name": "page",
|
|
2557
|
+
"required": false,
|
|
2558
|
+
"default": 1,
|
|
2559
|
+
"hasDynamicHelp": false,
|
|
2560
|
+
"multiple": false,
|
|
2561
|
+
"type": "option"
|
|
2562
|
+
},
|
|
2563
|
+
"per_page": {
|
|
2564
|
+
"description": "Number of results per page",
|
|
2565
|
+
"name": "per_page",
|
|
2566
|
+
"required": false,
|
|
2567
|
+
"default": 50,
|
|
2568
|
+
"hasDynamicHelp": false,
|
|
2569
|
+
"multiple": false,
|
|
2570
|
+
"type": "option"
|
|
2571
|
+
},
|
|
2572
|
+
"workspace": {
|
|
2573
|
+
"char": "w",
|
|
2574
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2575
|
+
"name": "workspace",
|
|
2576
|
+
"required": false,
|
|
2577
|
+
"hasDynamicHelp": false,
|
|
2578
|
+
"multiple": false,
|
|
2579
|
+
"type": "option"
|
|
2580
|
+
}
|
|
2581
|
+
},
|
|
2582
|
+
"hasDynamicHelp": false,
|
|
2583
|
+
"hiddenAliases": [],
|
|
2584
|
+
"id": "static_host:list",
|
|
2585
|
+
"pluginAlias": "@xano/cli",
|
|
2586
|
+
"pluginName": "@xano/cli",
|
|
2587
|
+
"pluginType": "core",
|
|
2588
|
+
"strict": true,
|
|
2589
|
+
"enableJsonFlag": false,
|
|
2590
|
+
"isESM": true,
|
|
2591
|
+
"relativePath": [
|
|
2592
|
+
"dist",
|
|
2593
|
+
"commands",
|
|
2594
|
+
"static_host",
|
|
2595
|
+
"list",
|
|
2596
|
+
"index.js"
|
|
2597
|
+
]
|
|
2598
|
+
},
|
|
2510
2599
|
"tenant:create": {
|
|
2511
2600
|
"aliases": [],
|
|
2512
2601
|
"args": {
|
|
@@ -2731,7 +2820,7 @@
|
|
|
2731
2820
|
"index.js"
|
|
2732
2821
|
]
|
|
2733
2822
|
},
|
|
2734
|
-
"tenant:
|
|
2823
|
+
"tenant:deploy_platform": {
|
|
2735
2824
|
"aliases": [],
|
|
2736
2825
|
"args": {
|
|
2737
2826
|
"tenant_name": {
|
|
@@ -2740,10 +2829,10 @@
|
|
|
2740
2829
|
"required": true
|
|
2741
2830
|
}
|
|
2742
2831
|
},
|
|
2743
|
-
"description": "Deploy a
|
|
2832
|
+
"description": "Deploy a platform version to a tenant",
|
|
2744
2833
|
"examples": [
|
|
2745
|
-
"$ xano tenant
|
|
2746
|
-
"$ xano tenant
|
|
2834
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2835
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2747
2836
|
],
|
|
2748
2837
|
"flags": {
|
|
2749
2838
|
"profile": {
|
|
@@ -2779,10 +2868,9 @@
|
|
|
2779
2868
|
],
|
|
2780
2869
|
"type": "option"
|
|
2781
2870
|
},
|
|
2782
|
-
"
|
|
2783
|
-
"
|
|
2784
|
-
"
|
|
2785
|
-
"name": "release",
|
|
2871
|
+
"platform_id": {
|
|
2872
|
+
"description": "Platform ID to deploy",
|
|
2873
|
+
"name": "platform_id",
|
|
2786
2874
|
"required": true,
|
|
2787
2875
|
"hasDynamicHelp": false,
|
|
2788
2876
|
"multiple": false,
|
|
@@ -2800,7 +2888,7 @@
|
|
|
2800
2888
|
},
|
|
2801
2889
|
"hasDynamicHelp": false,
|
|
2802
2890
|
"hiddenAliases": [],
|
|
2803
|
-
"id": "tenant:
|
|
2891
|
+
"id": "tenant:deploy_platform",
|
|
2804
2892
|
"pluginAlias": "@xano/cli",
|
|
2805
2893
|
"pluginName": "@xano/cli",
|
|
2806
2894
|
"pluginType": "core",
|
|
@@ -2811,11 +2899,11 @@
|
|
|
2811
2899
|
"dist",
|
|
2812
2900
|
"commands",
|
|
2813
2901
|
"tenant",
|
|
2814
|
-
"
|
|
2902
|
+
"deploy_platform",
|
|
2815
2903
|
"index.js"
|
|
2816
2904
|
]
|
|
2817
2905
|
},
|
|
2818
|
-
"tenant:
|
|
2906
|
+
"tenant:deploy_release": {
|
|
2819
2907
|
"aliases": [],
|
|
2820
2908
|
"args": {
|
|
2821
2909
|
"tenant_name": {
|
|
@@ -2824,10 +2912,10 @@
|
|
|
2824
2912
|
"required": true
|
|
2825
2913
|
}
|
|
2826
2914
|
},
|
|
2827
|
-
"description": "Deploy a
|
|
2915
|
+
"description": "Deploy a release to a tenant",
|
|
2828
2916
|
"examples": [
|
|
2829
|
-
"$ xano tenant
|
|
2830
|
-
"$ xano tenant
|
|
2917
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
2918
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
2831
2919
|
],
|
|
2832
2920
|
"flags": {
|
|
2833
2921
|
"profile": {
|
|
@@ -2863,9 +2951,10 @@
|
|
|
2863
2951
|
],
|
|
2864
2952
|
"type": "option"
|
|
2865
2953
|
},
|
|
2866
|
-
"
|
|
2867
|
-
"
|
|
2868
|
-
"
|
|
2954
|
+
"release": {
|
|
2955
|
+
"char": "r",
|
|
2956
|
+
"description": "Release name to deploy",
|
|
2957
|
+
"name": "release",
|
|
2869
2958
|
"required": true,
|
|
2870
2959
|
"hasDynamicHelp": false,
|
|
2871
2960
|
"multiple": false,
|
|
@@ -2883,7 +2972,7 @@
|
|
|
2883
2972
|
},
|
|
2884
2973
|
"hasDynamicHelp": false,
|
|
2885
2974
|
"hiddenAliases": [],
|
|
2886
|
-
"id": "tenant:
|
|
2975
|
+
"id": "tenant:deploy_release",
|
|
2887
2976
|
"pluginAlias": "@xano/cli",
|
|
2888
2977
|
"pluginName": "@xano/cli",
|
|
2889
2978
|
"pluginType": "core",
|
|
@@ -2894,7 +2983,7 @@
|
|
|
2894
2983
|
"dist",
|
|
2895
2984
|
"commands",
|
|
2896
2985
|
"tenant",
|
|
2897
|
-
"
|
|
2986
|
+
"deploy_release",
|
|
2898
2987
|
"index.js"
|
|
2899
2988
|
]
|
|
2900
2989
|
},
|
|
@@ -3027,15 +3116,19 @@
|
|
|
3027
3116
|
"index.js"
|
|
3028
3117
|
]
|
|
3029
3118
|
},
|
|
3030
|
-
"
|
|
3119
|
+
"tenant:get": {
|
|
3031
3120
|
"aliases": [],
|
|
3032
|
-
"args": {
|
|
3033
|
-
|
|
3121
|
+
"args": {
|
|
3122
|
+
"tenant_name": {
|
|
3123
|
+
"description": "Tenant name to retrieve",
|
|
3124
|
+
"name": "tenant_name",
|
|
3125
|
+
"required": true
|
|
3126
|
+
}
|
|
3127
|
+
},
|
|
3128
|
+
"description": "Get details of a specific tenant",
|
|
3034
3129
|
"examples": [
|
|
3035
|
-
"$ xano
|
|
3036
|
-
"$ xano
|
|
3037
|
-
"$ 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",
|
|
3038
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
3130
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
3131
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
3039
3132
|
],
|
|
3040
3133
|
"flags": {
|
|
3041
3134
|
"profile": {
|
|
@@ -3071,27 +3164,9 @@
|
|
|
3071
3164
|
],
|
|
3072
3165
|
"type": "option"
|
|
3073
3166
|
},
|
|
3074
|
-
"page": {
|
|
3075
|
-
"description": "Page number for pagination",
|
|
3076
|
-
"name": "page",
|
|
3077
|
-
"required": false,
|
|
3078
|
-
"default": 1,
|
|
3079
|
-
"hasDynamicHelp": false,
|
|
3080
|
-
"multiple": false,
|
|
3081
|
-
"type": "option"
|
|
3082
|
-
},
|
|
3083
|
-
"per_page": {
|
|
3084
|
-
"description": "Number of results per page",
|
|
3085
|
-
"name": "per_page",
|
|
3086
|
-
"required": false,
|
|
3087
|
-
"default": 50,
|
|
3088
|
-
"hasDynamicHelp": false,
|
|
3089
|
-
"multiple": false,
|
|
3090
|
-
"type": "option"
|
|
3091
|
-
},
|
|
3092
3167
|
"workspace": {
|
|
3093
3168
|
"char": "w",
|
|
3094
|
-
"description": "Workspace ID (
|
|
3169
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3095
3170
|
"name": "workspace",
|
|
3096
3171
|
"required": false,
|
|
3097
3172
|
"hasDynamicHelp": false,
|
|
@@ -3101,7 +3176,7 @@
|
|
|
3101
3176
|
},
|
|
3102
3177
|
"hasDynamicHelp": false,
|
|
3103
3178
|
"hiddenAliases": [],
|
|
3104
|
-
"id": "
|
|
3179
|
+
"id": "tenant:get",
|
|
3105
3180
|
"pluginAlias": "@xano/cli",
|
|
3106
3181
|
"pluginName": "@xano/cli",
|
|
3107
3182
|
"pluginType": "core",
|
|
@@ -3111,8 +3186,8 @@
|
|
|
3111
3186
|
"relativePath": [
|
|
3112
3187
|
"dist",
|
|
3113
3188
|
"commands",
|
|
3114
|
-
"
|
|
3115
|
-
"
|
|
3189
|
+
"tenant",
|
|
3190
|
+
"get",
|
|
3116
3191
|
"index.js"
|
|
3117
3192
|
]
|
|
3118
3193
|
},
|
|
@@ -3199,6 +3274,75 @@
|
|
|
3199
3274
|
"index.js"
|
|
3200
3275
|
]
|
|
3201
3276
|
},
|
|
3277
|
+
"tenant:list": {
|
|
3278
|
+
"aliases": [],
|
|
3279
|
+
"args": {},
|
|
3280
|
+
"description": "List all tenants in a workspace",
|
|
3281
|
+
"examples": [
|
|
3282
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n - Staging (staging) [ok] - tier1\n",
|
|
3283
|
+
"$ xano tenant list -w 5 --output json"
|
|
3284
|
+
],
|
|
3285
|
+
"flags": {
|
|
3286
|
+
"profile": {
|
|
3287
|
+
"char": "p",
|
|
3288
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3289
|
+
"env": "XANO_PROFILE",
|
|
3290
|
+
"name": "profile",
|
|
3291
|
+
"required": false,
|
|
3292
|
+
"hasDynamicHelp": false,
|
|
3293
|
+
"multiple": false,
|
|
3294
|
+
"type": "option"
|
|
3295
|
+
},
|
|
3296
|
+
"verbose": {
|
|
3297
|
+
"char": "v",
|
|
3298
|
+
"description": "Show detailed request/response information",
|
|
3299
|
+
"env": "XANO_VERBOSE",
|
|
3300
|
+
"name": "verbose",
|
|
3301
|
+
"required": false,
|
|
3302
|
+
"allowNo": false,
|
|
3303
|
+
"type": "boolean"
|
|
3304
|
+
},
|
|
3305
|
+
"output": {
|
|
3306
|
+
"char": "o",
|
|
3307
|
+
"description": "Output format",
|
|
3308
|
+
"name": "output",
|
|
3309
|
+
"required": false,
|
|
3310
|
+
"default": "summary",
|
|
3311
|
+
"hasDynamicHelp": false,
|
|
3312
|
+
"multiple": false,
|
|
3313
|
+
"options": [
|
|
3314
|
+
"summary",
|
|
3315
|
+
"json"
|
|
3316
|
+
],
|
|
3317
|
+
"type": "option"
|
|
3318
|
+
},
|
|
3319
|
+
"workspace": {
|
|
3320
|
+
"char": "w",
|
|
3321
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3322
|
+
"name": "workspace",
|
|
3323
|
+
"required": false,
|
|
3324
|
+
"hasDynamicHelp": false,
|
|
3325
|
+
"multiple": false,
|
|
3326
|
+
"type": "option"
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
"hasDynamicHelp": false,
|
|
3330
|
+
"hiddenAliases": [],
|
|
3331
|
+
"id": "tenant:list",
|
|
3332
|
+
"pluginAlias": "@xano/cli",
|
|
3333
|
+
"pluginName": "@xano/cli",
|
|
3334
|
+
"pluginType": "core",
|
|
3335
|
+
"strict": true,
|
|
3336
|
+
"enableJsonFlag": false,
|
|
3337
|
+
"isESM": true,
|
|
3338
|
+
"relativePath": [
|
|
3339
|
+
"dist",
|
|
3340
|
+
"commands",
|
|
3341
|
+
"tenant",
|
|
3342
|
+
"list",
|
|
3343
|
+
"index.js"
|
|
3344
|
+
]
|
|
3345
|
+
},
|
|
3202
3346
|
"tenant:pull": {
|
|
3203
3347
|
"aliases": [],
|
|
3204
3348
|
"args": {
|
|
@@ -3306,8 +3450,8 @@
|
|
|
3306
3450
|
"$ xano tenant push ./my-workspace -t my-tenant\nPushed 42 documents to tenant my-tenant from ./my-workspace\n",
|
|
3307
3451
|
"$ xano tenant push ./output -t my-tenant -w 40\nPushed 15 documents to tenant my-tenant from ./output\n",
|
|
3308
3452
|
"$ xano tenant push ./backup -t my-tenant --profile production\nPushed 58 documents to tenant my-tenant from ./backup\n",
|
|
3309
|
-
"$ xano tenant push ./my-workspace -t my-tenant --
|
|
3310
|
-
"$ xano tenant push ./my-workspace -t my-tenant --
|
|
3453
|
+
"$ xano tenant push ./my-workspace -t my-tenant --records\nInclude table records in import\n",
|
|
3454
|
+
"$ xano tenant push ./my-workspace -t my-tenant --env\nInclude environment variables in import\n",
|
|
3311
3455
|
"$ xano tenant push ./my-workspace -t my-tenant --truncate\nTruncate all table records before importing\n"
|
|
3312
3456
|
],
|
|
3313
3457
|
"flags": {
|
|
@@ -3331,17 +3475,17 @@
|
|
|
3331
3475
|
"type": "boolean"
|
|
3332
3476
|
},
|
|
3333
3477
|
"env": {
|
|
3334
|
-
"description": "Include environment variables in import
|
|
3478
|
+
"description": "Include environment variables in import",
|
|
3335
3479
|
"name": "env",
|
|
3336
3480
|
"required": false,
|
|
3337
|
-
"allowNo":
|
|
3481
|
+
"allowNo": false,
|
|
3338
3482
|
"type": "boolean"
|
|
3339
3483
|
},
|
|
3340
3484
|
"records": {
|
|
3341
|
-
"description": "Include records in import
|
|
3485
|
+
"description": "Include records in import",
|
|
3342
3486
|
"name": "records",
|
|
3343
3487
|
"required": false,
|
|
3344
|
-
"allowNo":
|
|
3488
|
+
"allowNo": false,
|
|
3345
3489
|
"type": "boolean"
|
|
3346
3490
|
},
|
|
3347
3491
|
"tenant": {
|
|
@@ -3353,6 +3497,13 @@
|
|
|
3353
3497
|
"multiple": false,
|
|
3354
3498
|
"type": "option"
|
|
3355
3499
|
},
|
|
3500
|
+
"transaction": {
|
|
3501
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
3502
|
+
"name": "transaction",
|
|
3503
|
+
"required": false,
|
|
3504
|
+
"allowNo": true,
|
|
3505
|
+
"type": "boolean"
|
|
3506
|
+
},
|
|
3356
3507
|
"truncate": {
|
|
3357
3508
|
"description": "Truncate all table records before importing",
|
|
3358
3509
|
"name": "truncate",
|
|
@@ -3645,13 +3796,20 @@
|
|
|
3645
3796
|
"index.js"
|
|
3646
3797
|
]
|
|
3647
3798
|
},
|
|
3648
|
-
"
|
|
3799
|
+
"workspace:create": {
|
|
3649
3800
|
"aliases": [],
|
|
3650
|
-
"args": {
|
|
3651
|
-
|
|
3801
|
+
"args": {
|
|
3802
|
+
"name": {
|
|
3803
|
+
"description": "Name of the workspace",
|
|
3804
|
+
"name": "name",
|
|
3805
|
+
"required": true
|
|
3806
|
+
}
|
|
3807
|
+
},
|
|
3808
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
3652
3809
|
"examples": [
|
|
3653
|
-
"$ xano
|
|
3654
|
-
"$ xano
|
|
3810
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
3811
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
3812
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
3655
3813
|
],
|
|
3656
3814
|
"flags": {
|
|
3657
3815
|
"profile": {
|
|
@@ -3673,6 +3831,15 @@
|
|
|
3673
3831
|
"allowNo": false,
|
|
3674
3832
|
"type": "boolean"
|
|
3675
3833
|
},
|
|
3834
|
+
"description": {
|
|
3835
|
+
"char": "d",
|
|
3836
|
+
"description": "Description for the workspace",
|
|
3837
|
+
"name": "description",
|
|
3838
|
+
"required": false,
|
|
3839
|
+
"hasDynamicHelp": false,
|
|
3840
|
+
"multiple": false,
|
|
3841
|
+
"type": "option"
|
|
3842
|
+
},
|
|
3676
3843
|
"output": {
|
|
3677
3844
|
"char": "o",
|
|
3678
3845
|
"description": "Output format",
|
|
@@ -3686,20 +3853,11 @@
|
|
|
3686
3853
|
"json"
|
|
3687
3854
|
],
|
|
3688
3855
|
"type": "option"
|
|
3689
|
-
},
|
|
3690
|
-
"workspace": {
|
|
3691
|
-
"char": "w",
|
|
3692
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3693
|
-
"name": "workspace",
|
|
3694
|
-
"required": false,
|
|
3695
|
-
"hasDynamicHelp": false,
|
|
3696
|
-
"multiple": false,
|
|
3697
|
-
"type": "option"
|
|
3698
3856
|
}
|
|
3699
3857
|
},
|
|
3700
3858
|
"hasDynamicHelp": false,
|
|
3701
3859
|
"hiddenAliases": [],
|
|
3702
|
-
"id": "
|
|
3860
|
+
"id": "workspace:create",
|
|
3703
3861
|
"pluginAlias": "@xano/cli",
|
|
3704
3862
|
"pluginName": "@xano/cli",
|
|
3705
3863
|
"pluginType": "core",
|
|
@@ -3709,24 +3867,25 @@
|
|
|
3709
3867
|
"relativePath": [
|
|
3710
3868
|
"dist",
|
|
3711
3869
|
"commands",
|
|
3712
|
-
"
|
|
3713
|
-
"
|
|
3870
|
+
"workspace",
|
|
3871
|
+
"create",
|
|
3714
3872
|
"index.js"
|
|
3715
3873
|
]
|
|
3716
3874
|
},
|
|
3717
|
-
"
|
|
3875
|
+
"workspace:delete": {
|
|
3718
3876
|
"aliases": [],
|
|
3719
3877
|
"args": {
|
|
3720
|
-
"
|
|
3721
|
-
"description": "
|
|
3722
|
-
"name": "
|
|
3878
|
+
"workspace_id": {
|
|
3879
|
+
"description": "Workspace ID to delete",
|
|
3880
|
+
"name": "workspace_id",
|
|
3723
3881
|
"required": true
|
|
3724
3882
|
}
|
|
3725
3883
|
},
|
|
3726
|
-
"description": "
|
|
3884
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
3727
3885
|
"examples": [
|
|
3728
|
-
"$ xano
|
|
3729
|
-
"$ xano
|
|
3886
|
+
"$ 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",
|
|
3887
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
3888
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
3730
3889
|
],
|
|
3731
3890
|
"flags": {
|
|
3732
3891
|
"profile": {
|
|
@@ -3748,6 +3907,14 @@
|
|
|
3748
3907
|
"allowNo": false,
|
|
3749
3908
|
"type": "boolean"
|
|
3750
3909
|
},
|
|
3910
|
+
"force": {
|
|
3911
|
+
"char": "f",
|
|
3912
|
+
"description": "Skip confirmation prompt",
|
|
3913
|
+
"name": "force",
|
|
3914
|
+
"required": false,
|
|
3915
|
+
"allowNo": false,
|
|
3916
|
+
"type": "boolean"
|
|
3917
|
+
},
|
|
3751
3918
|
"output": {
|
|
3752
3919
|
"char": "o",
|
|
3753
3920
|
"description": "Output format",
|
|
@@ -3761,20 +3928,11 @@
|
|
|
3761
3928
|
"json"
|
|
3762
3929
|
],
|
|
3763
3930
|
"type": "option"
|
|
3764
|
-
},
|
|
3765
|
-
"workspace": {
|
|
3766
|
-
"char": "w",
|
|
3767
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3768
|
-
"name": "workspace",
|
|
3769
|
-
"required": false,
|
|
3770
|
-
"hasDynamicHelp": false,
|
|
3771
|
-
"multiple": false,
|
|
3772
|
-
"type": "option"
|
|
3773
3931
|
}
|
|
3774
3932
|
},
|
|
3775
3933
|
"hasDynamicHelp": false,
|
|
3776
3934
|
"hiddenAliases": [],
|
|
3777
|
-
"id": "
|
|
3935
|
+
"id": "workspace:delete",
|
|
3778
3936
|
"pluginAlias": "@xano/cli",
|
|
3779
3937
|
"pluginName": "@xano/cli",
|
|
3780
3938
|
"pluginType": "core",
|
|
@@ -3784,24 +3942,26 @@
|
|
|
3784
3942
|
"relativePath": [
|
|
3785
3943
|
"dist",
|
|
3786
3944
|
"commands",
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3945
|
+
"workspace",
|
|
3946
|
+
"delete",
|
|
3789
3947
|
"index.js"
|
|
3790
3948
|
]
|
|
3791
3949
|
},
|
|
3792
|
-
"
|
|
3950
|
+
"workspace:edit": {
|
|
3793
3951
|
"aliases": [],
|
|
3794
3952
|
"args": {
|
|
3795
|
-
"
|
|
3796
|
-
"description": "ID
|
|
3797
|
-
"name": "
|
|
3798
|
-
"required":
|
|
3953
|
+
"workspace_id": {
|
|
3954
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
3955
|
+
"name": "workspace_id",
|
|
3956
|
+
"required": false
|
|
3799
3957
|
}
|
|
3800
3958
|
},
|
|
3801
|
-
"description": "
|
|
3959
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
3802
3960
|
"examples": [
|
|
3803
|
-
"$ xano
|
|
3804
|
-
"$ xano
|
|
3961
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
3962
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
3963
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
3964
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
3805
3965
|
],
|
|
3806
3966
|
"flags": {
|
|
3807
3967
|
"profile": {
|
|
@@ -3823,13 +3983,23 @@
|
|
|
3823
3983
|
"allowNo": false,
|
|
3824
3984
|
"type": "boolean"
|
|
3825
3985
|
},
|
|
3826
|
-
"
|
|
3827
|
-
"char": "
|
|
3828
|
-
"description": "
|
|
3829
|
-
"name": "
|
|
3986
|
+
"description": {
|
|
3987
|
+
"char": "d",
|
|
3988
|
+
"description": "New description for the workspace",
|
|
3989
|
+
"name": "description",
|
|
3830
3990
|
"required": false,
|
|
3831
|
-
"
|
|
3832
|
-
"
|
|
3991
|
+
"hasDynamicHelp": false,
|
|
3992
|
+
"multiple": false,
|
|
3993
|
+
"type": "option"
|
|
3994
|
+
},
|
|
3995
|
+
"name": {
|
|
3996
|
+
"char": "n",
|
|
3997
|
+
"description": "New name for the workspace",
|
|
3998
|
+
"name": "name",
|
|
3999
|
+
"required": false,
|
|
4000
|
+
"hasDynamicHelp": false,
|
|
4001
|
+
"multiple": false,
|
|
4002
|
+
"type": "option"
|
|
3833
4003
|
},
|
|
3834
4004
|
"output": {
|
|
3835
4005
|
"char": "o",
|
|
@@ -3845,496 +4015,9 @@
|
|
|
3845
4015
|
],
|
|
3846
4016
|
"type": "option"
|
|
3847
4017
|
},
|
|
3848
|
-
"
|
|
3849
|
-
"
|
|
3850
|
-
"
|
|
3851
|
-
"name": "workspace",
|
|
3852
|
-
"required": false,
|
|
3853
|
-
"hasDynamicHelp": false,
|
|
3854
|
-
"multiple": false,
|
|
3855
|
-
"type": "option"
|
|
3856
|
-
}
|
|
3857
|
-
},
|
|
3858
|
-
"hasDynamicHelp": false,
|
|
3859
|
-
"hiddenAliases": [],
|
|
3860
|
-
"id": "workflow_test:delete",
|
|
3861
|
-
"pluginAlias": "@xano/cli",
|
|
3862
|
-
"pluginName": "@xano/cli",
|
|
3863
|
-
"pluginType": "core",
|
|
3864
|
-
"strict": true,
|
|
3865
|
-
"enableJsonFlag": false,
|
|
3866
|
-
"isESM": true,
|
|
3867
|
-
"relativePath": [
|
|
3868
|
-
"dist",
|
|
3869
|
-
"commands",
|
|
3870
|
-
"workflow_test",
|
|
3871
|
-
"delete",
|
|
3872
|
-
"index.js"
|
|
3873
|
-
]
|
|
3874
|
-
},
|
|
3875
|
-
"workflow_test:get": {
|
|
3876
|
-
"aliases": [],
|
|
3877
|
-
"args": {
|
|
3878
|
-
"workflow_test_id": {
|
|
3879
|
-
"description": "ID of the workflow test",
|
|
3880
|
-
"name": "workflow_test_id",
|
|
3881
|
-
"required": true
|
|
3882
|
-
}
|
|
3883
|
-
},
|
|
3884
|
-
"description": "Get a specific workflow test",
|
|
3885
|
-
"examples": [
|
|
3886
|
-
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3887
|
-
"$ xano workflow-test get 1 -o xs",
|
|
3888
|
-
"$ xano workflow-test get 1 -o json"
|
|
3889
|
-
],
|
|
3890
|
-
"flags": {
|
|
3891
|
-
"profile": {
|
|
3892
|
-
"char": "p",
|
|
3893
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3894
|
-
"env": "XANO_PROFILE",
|
|
3895
|
-
"name": "profile",
|
|
3896
|
-
"required": false,
|
|
3897
|
-
"hasDynamicHelp": false,
|
|
3898
|
-
"multiple": false,
|
|
3899
|
-
"type": "option"
|
|
3900
|
-
},
|
|
3901
|
-
"verbose": {
|
|
3902
|
-
"char": "v",
|
|
3903
|
-
"description": "Show detailed request/response information",
|
|
3904
|
-
"env": "XANO_VERBOSE",
|
|
3905
|
-
"name": "verbose",
|
|
3906
|
-
"required": false,
|
|
3907
|
-
"allowNo": false,
|
|
3908
|
-
"type": "boolean"
|
|
3909
|
-
},
|
|
3910
|
-
"include-draft": {
|
|
3911
|
-
"description": "Include draft version",
|
|
3912
|
-
"name": "include-draft",
|
|
3913
|
-
"required": false,
|
|
3914
|
-
"allowNo": false,
|
|
3915
|
-
"type": "boolean"
|
|
3916
|
-
},
|
|
3917
|
-
"output": {
|
|
3918
|
-
"char": "o",
|
|
3919
|
-
"description": "Output format",
|
|
3920
|
-
"name": "output",
|
|
3921
|
-
"required": false,
|
|
3922
|
-
"default": "summary",
|
|
3923
|
-
"hasDynamicHelp": false,
|
|
3924
|
-
"multiple": false,
|
|
3925
|
-
"options": [
|
|
3926
|
-
"summary",
|
|
3927
|
-
"json",
|
|
3928
|
-
"xs"
|
|
3929
|
-
],
|
|
3930
|
-
"type": "option"
|
|
3931
|
-
},
|
|
3932
|
-
"workspace": {
|
|
3933
|
-
"char": "w",
|
|
3934
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3935
|
-
"name": "workspace",
|
|
3936
|
-
"required": false,
|
|
3937
|
-
"hasDynamicHelp": false,
|
|
3938
|
-
"multiple": false,
|
|
3939
|
-
"type": "option"
|
|
3940
|
-
}
|
|
3941
|
-
},
|
|
3942
|
-
"hasDynamicHelp": false,
|
|
3943
|
-
"hiddenAliases": [],
|
|
3944
|
-
"id": "workflow_test:get",
|
|
3945
|
-
"pluginAlias": "@xano/cli",
|
|
3946
|
-
"pluginName": "@xano/cli",
|
|
3947
|
-
"pluginType": "core",
|
|
3948
|
-
"strict": true,
|
|
3949
|
-
"enableJsonFlag": false,
|
|
3950
|
-
"isESM": true,
|
|
3951
|
-
"relativePath": [
|
|
3952
|
-
"dist",
|
|
3953
|
-
"commands",
|
|
3954
|
-
"workflow_test",
|
|
3955
|
-
"get",
|
|
3956
|
-
"index.js"
|
|
3957
|
-
]
|
|
3958
|
-
},
|
|
3959
|
-
"workflow_test:list": {
|
|
3960
|
-
"aliases": [],
|
|
3961
|
-
"args": {},
|
|
3962
|
-
"description": "List all workflow tests in a workspace",
|
|
3963
|
-
"examples": [
|
|
3964
|
-
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3965
|
-
"$ xano workflow-test list -w 5 --output json",
|
|
3966
|
-
"$ xano workflow-test list --branch main"
|
|
3967
|
-
],
|
|
3968
|
-
"flags": {
|
|
3969
|
-
"profile": {
|
|
3970
|
-
"char": "p",
|
|
3971
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3972
|
-
"env": "XANO_PROFILE",
|
|
3973
|
-
"name": "profile",
|
|
3974
|
-
"required": false,
|
|
3975
|
-
"hasDynamicHelp": false,
|
|
3976
|
-
"multiple": false,
|
|
3977
|
-
"type": "option"
|
|
3978
|
-
},
|
|
3979
|
-
"verbose": {
|
|
3980
|
-
"char": "v",
|
|
3981
|
-
"description": "Show detailed request/response information",
|
|
3982
|
-
"env": "XANO_VERBOSE",
|
|
3983
|
-
"name": "verbose",
|
|
3984
|
-
"required": false,
|
|
3985
|
-
"allowNo": false,
|
|
3986
|
-
"type": "boolean"
|
|
3987
|
-
},
|
|
3988
|
-
"branch": {
|
|
3989
|
-
"char": "b",
|
|
3990
|
-
"description": "Filter by branch name",
|
|
3991
|
-
"name": "branch",
|
|
3992
|
-
"required": false,
|
|
3993
|
-
"hasDynamicHelp": false,
|
|
3994
|
-
"multiple": false,
|
|
3995
|
-
"type": "option"
|
|
3996
|
-
},
|
|
3997
|
-
"output": {
|
|
3998
|
-
"char": "o",
|
|
3999
|
-
"description": "Output format",
|
|
4000
|
-
"name": "output",
|
|
4001
|
-
"required": false,
|
|
4002
|
-
"default": "summary",
|
|
4003
|
-
"hasDynamicHelp": false,
|
|
4004
|
-
"multiple": false,
|
|
4005
|
-
"options": [
|
|
4006
|
-
"summary",
|
|
4007
|
-
"json"
|
|
4008
|
-
],
|
|
4009
|
-
"type": "option"
|
|
4010
|
-
},
|
|
4011
|
-
"workspace": {
|
|
4012
|
-
"char": "w",
|
|
4013
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4014
|
-
"name": "workspace",
|
|
4015
|
-
"required": false,
|
|
4016
|
-
"hasDynamicHelp": false,
|
|
4017
|
-
"multiple": false,
|
|
4018
|
-
"type": "option"
|
|
4019
|
-
}
|
|
4020
|
-
},
|
|
4021
|
-
"hasDynamicHelp": false,
|
|
4022
|
-
"hiddenAliases": [],
|
|
4023
|
-
"id": "workflow_test:list",
|
|
4024
|
-
"pluginAlias": "@xano/cli",
|
|
4025
|
-
"pluginName": "@xano/cli",
|
|
4026
|
-
"pluginType": "core",
|
|
4027
|
-
"strict": true,
|
|
4028
|
-
"enableJsonFlag": false,
|
|
4029
|
-
"isESM": true,
|
|
4030
|
-
"relativePath": [
|
|
4031
|
-
"dist",
|
|
4032
|
-
"commands",
|
|
4033
|
-
"workflow_test",
|
|
4034
|
-
"list",
|
|
4035
|
-
"index.js"
|
|
4036
|
-
]
|
|
4037
|
-
},
|
|
4038
|
-
"workflow_test:run_all": {
|
|
4039
|
-
"aliases": [],
|
|
4040
|
-
"args": {},
|
|
4041
|
-
"description": "Run all workflow tests in a workspace",
|
|
4042
|
-
"examples": [
|
|
4043
|
-
"$ 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",
|
|
4044
|
-
"$ xano workflow-test run-all --branch main -o json"
|
|
4045
|
-
],
|
|
4046
|
-
"flags": {
|
|
4047
|
-
"profile": {
|
|
4048
|
-
"char": "p",
|
|
4049
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4050
|
-
"env": "XANO_PROFILE",
|
|
4051
|
-
"name": "profile",
|
|
4052
|
-
"required": false,
|
|
4053
|
-
"hasDynamicHelp": false,
|
|
4054
|
-
"multiple": false,
|
|
4055
|
-
"type": "option"
|
|
4056
|
-
},
|
|
4057
|
-
"verbose": {
|
|
4058
|
-
"char": "v",
|
|
4059
|
-
"description": "Show detailed request/response information",
|
|
4060
|
-
"env": "XANO_VERBOSE",
|
|
4061
|
-
"name": "verbose",
|
|
4062
|
-
"required": false,
|
|
4063
|
-
"allowNo": false,
|
|
4064
|
-
"type": "boolean"
|
|
4065
|
-
},
|
|
4066
|
-
"branch": {
|
|
4067
|
-
"char": "b",
|
|
4068
|
-
"description": "Filter by branch name",
|
|
4069
|
-
"name": "branch",
|
|
4070
|
-
"required": false,
|
|
4071
|
-
"hasDynamicHelp": false,
|
|
4072
|
-
"multiple": false,
|
|
4073
|
-
"type": "option"
|
|
4074
|
-
},
|
|
4075
|
-
"output": {
|
|
4076
|
-
"char": "o",
|
|
4077
|
-
"description": "Output format",
|
|
4078
|
-
"name": "output",
|
|
4079
|
-
"required": false,
|
|
4080
|
-
"default": "summary",
|
|
4081
|
-
"hasDynamicHelp": false,
|
|
4082
|
-
"multiple": false,
|
|
4083
|
-
"options": [
|
|
4084
|
-
"summary",
|
|
4085
|
-
"json"
|
|
4086
|
-
],
|
|
4087
|
-
"type": "option"
|
|
4088
|
-
},
|
|
4089
|
-
"workspace": {
|
|
4090
|
-
"char": "w",
|
|
4091
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4092
|
-
"name": "workspace",
|
|
4093
|
-
"required": false,
|
|
4094
|
-
"hasDynamicHelp": false,
|
|
4095
|
-
"multiple": false,
|
|
4096
|
-
"type": "option"
|
|
4097
|
-
}
|
|
4098
|
-
},
|
|
4099
|
-
"hasDynamicHelp": false,
|
|
4100
|
-
"hiddenAliases": [],
|
|
4101
|
-
"id": "workflow_test:run_all",
|
|
4102
|
-
"pluginAlias": "@xano/cli",
|
|
4103
|
-
"pluginName": "@xano/cli",
|
|
4104
|
-
"pluginType": "core",
|
|
4105
|
-
"strict": true,
|
|
4106
|
-
"enableJsonFlag": false,
|
|
4107
|
-
"isESM": true,
|
|
4108
|
-
"relativePath": [
|
|
4109
|
-
"dist",
|
|
4110
|
-
"commands",
|
|
4111
|
-
"workflow_test",
|
|
4112
|
-
"run_all",
|
|
4113
|
-
"index.js"
|
|
4114
|
-
]
|
|
4115
|
-
},
|
|
4116
|
-
"workspace:create": {
|
|
4117
|
-
"aliases": [],
|
|
4118
|
-
"args": {
|
|
4119
|
-
"name": {
|
|
4120
|
-
"description": "Name of the workspace",
|
|
4121
|
-
"name": "name",
|
|
4122
|
-
"required": true
|
|
4123
|
-
}
|
|
4124
|
-
},
|
|
4125
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4126
|
-
"examples": [
|
|
4127
|
-
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4128
|
-
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4129
|
-
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4130
|
-
],
|
|
4131
|
-
"flags": {
|
|
4132
|
-
"profile": {
|
|
4133
|
-
"char": "p",
|
|
4134
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4135
|
-
"env": "XANO_PROFILE",
|
|
4136
|
-
"name": "profile",
|
|
4137
|
-
"required": false,
|
|
4138
|
-
"hasDynamicHelp": false,
|
|
4139
|
-
"multiple": false,
|
|
4140
|
-
"type": "option"
|
|
4141
|
-
},
|
|
4142
|
-
"verbose": {
|
|
4143
|
-
"char": "v",
|
|
4144
|
-
"description": "Show detailed request/response information",
|
|
4145
|
-
"env": "XANO_VERBOSE",
|
|
4146
|
-
"name": "verbose",
|
|
4147
|
-
"required": false,
|
|
4148
|
-
"allowNo": false,
|
|
4149
|
-
"type": "boolean"
|
|
4150
|
-
},
|
|
4151
|
-
"description": {
|
|
4152
|
-
"char": "d",
|
|
4153
|
-
"description": "Description for the workspace",
|
|
4154
|
-
"name": "description",
|
|
4155
|
-
"required": false,
|
|
4156
|
-
"hasDynamicHelp": false,
|
|
4157
|
-
"multiple": false,
|
|
4158
|
-
"type": "option"
|
|
4159
|
-
},
|
|
4160
|
-
"output": {
|
|
4161
|
-
"char": "o",
|
|
4162
|
-
"description": "Output format",
|
|
4163
|
-
"name": "output",
|
|
4164
|
-
"required": false,
|
|
4165
|
-
"default": "summary",
|
|
4166
|
-
"hasDynamicHelp": false,
|
|
4167
|
-
"multiple": false,
|
|
4168
|
-
"options": [
|
|
4169
|
-
"summary",
|
|
4170
|
-
"json"
|
|
4171
|
-
],
|
|
4172
|
-
"type": "option"
|
|
4173
|
-
}
|
|
4174
|
-
},
|
|
4175
|
-
"hasDynamicHelp": false,
|
|
4176
|
-
"hiddenAliases": [],
|
|
4177
|
-
"id": "workspace:create",
|
|
4178
|
-
"pluginAlias": "@xano/cli",
|
|
4179
|
-
"pluginName": "@xano/cli",
|
|
4180
|
-
"pluginType": "core",
|
|
4181
|
-
"strict": true,
|
|
4182
|
-
"enableJsonFlag": false,
|
|
4183
|
-
"isESM": true,
|
|
4184
|
-
"relativePath": [
|
|
4185
|
-
"dist",
|
|
4186
|
-
"commands",
|
|
4187
|
-
"workspace",
|
|
4188
|
-
"create",
|
|
4189
|
-
"index.js"
|
|
4190
|
-
]
|
|
4191
|
-
},
|
|
4192
|
-
"workspace:delete": {
|
|
4193
|
-
"aliases": [],
|
|
4194
|
-
"args": {
|
|
4195
|
-
"workspace_id": {
|
|
4196
|
-
"description": "Workspace ID to delete",
|
|
4197
|
-
"name": "workspace_id",
|
|
4198
|
-
"required": true
|
|
4199
|
-
}
|
|
4200
|
-
},
|
|
4201
|
-
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4202
|
-
"examples": [
|
|
4203
|
-
"$ 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",
|
|
4204
|
-
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4205
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4206
|
-
],
|
|
4207
|
-
"flags": {
|
|
4208
|
-
"profile": {
|
|
4209
|
-
"char": "p",
|
|
4210
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4211
|
-
"env": "XANO_PROFILE",
|
|
4212
|
-
"name": "profile",
|
|
4213
|
-
"required": false,
|
|
4214
|
-
"hasDynamicHelp": false,
|
|
4215
|
-
"multiple": false,
|
|
4216
|
-
"type": "option"
|
|
4217
|
-
},
|
|
4218
|
-
"verbose": {
|
|
4219
|
-
"char": "v",
|
|
4220
|
-
"description": "Show detailed request/response information",
|
|
4221
|
-
"env": "XANO_VERBOSE",
|
|
4222
|
-
"name": "verbose",
|
|
4223
|
-
"required": false,
|
|
4224
|
-
"allowNo": false,
|
|
4225
|
-
"type": "boolean"
|
|
4226
|
-
},
|
|
4227
|
-
"force": {
|
|
4228
|
-
"char": "f",
|
|
4229
|
-
"description": "Skip confirmation prompt",
|
|
4230
|
-
"name": "force",
|
|
4231
|
-
"required": false,
|
|
4232
|
-
"allowNo": false,
|
|
4233
|
-
"type": "boolean"
|
|
4234
|
-
},
|
|
4235
|
-
"output": {
|
|
4236
|
-
"char": "o",
|
|
4237
|
-
"description": "Output format",
|
|
4238
|
-
"name": "output",
|
|
4239
|
-
"required": false,
|
|
4240
|
-
"default": "summary",
|
|
4241
|
-
"hasDynamicHelp": false,
|
|
4242
|
-
"multiple": false,
|
|
4243
|
-
"options": [
|
|
4244
|
-
"summary",
|
|
4245
|
-
"json"
|
|
4246
|
-
],
|
|
4247
|
-
"type": "option"
|
|
4248
|
-
}
|
|
4249
|
-
},
|
|
4250
|
-
"hasDynamicHelp": false,
|
|
4251
|
-
"hiddenAliases": [],
|
|
4252
|
-
"id": "workspace:delete",
|
|
4253
|
-
"pluginAlias": "@xano/cli",
|
|
4254
|
-
"pluginName": "@xano/cli",
|
|
4255
|
-
"pluginType": "core",
|
|
4256
|
-
"strict": true,
|
|
4257
|
-
"enableJsonFlag": false,
|
|
4258
|
-
"isESM": true,
|
|
4259
|
-
"relativePath": [
|
|
4260
|
-
"dist",
|
|
4261
|
-
"commands",
|
|
4262
|
-
"workspace",
|
|
4263
|
-
"delete",
|
|
4264
|
-
"index.js"
|
|
4265
|
-
]
|
|
4266
|
-
},
|
|
4267
|
-
"workspace:edit": {
|
|
4268
|
-
"aliases": [],
|
|
4269
|
-
"args": {
|
|
4270
|
-
"workspace_id": {
|
|
4271
|
-
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4272
|
-
"name": "workspace_id",
|
|
4273
|
-
"required": false
|
|
4274
|
-
}
|
|
4275
|
-
},
|
|
4276
|
-
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4277
|
-
"examples": [
|
|
4278
|
-
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4279
|
-
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4280
|
-
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4281
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4282
|
-
],
|
|
4283
|
-
"flags": {
|
|
4284
|
-
"profile": {
|
|
4285
|
-
"char": "p",
|
|
4286
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4287
|
-
"env": "XANO_PROFILE",
|
|
4288
|
-
"name": "profile",
|
|
4289
|
-
"required": false,
|
|
4290
|
-
"hasDynamicHelp": false,
|
|
4291
|
-
"multiple": false,
|
|
4292
|
-
"type": "option"
|
|
4293
|
-
},
|
|
4294
|
-
"verbose": {
|
|
4295
|
-
"char": "v",
|
|
4296
|
-
"description": "Show detailed request/response information",
|
|
4297
|
-
"env": "XANO_VERBOSE",
|
|
4298
|
-
"name": "verbose",
|
|
4299
|
-
"required": false,
|
|
4300
|
-
"allowNo": false,
|
|
4301
|
-
"type": "boolean"
|
|
4302
|
-
},
|
|
4303
|
-
"description": {
|
|
4304
|
-
"char": "d",
|
|
4305
|
-
"description": "New description for the workspace",
|
|
4306
|
-
"name": "description",
|
|
4307
|
-
"required": false,
|
|
4308
|
-
"hasDynamicHelp": false,
|
|
4309
|
-
"multiple": false,
|
|
4310
|
-
"type": "option"
|
|
4311
|
-
},
|
|
4312
|
-
"name": {
|
|
4313
|
-
"char": "n",
|
|
4314
|
-
"description": "New name for the workspace",
|
|
4315
|
-
"name": "name",
|
|
4316
|
-
"required": false,
|
|
4317
|
-
"hasDynamicHelp": false,
|
|
4318
|
-
"multiple": false,
|
|
4319
|
-
"type": "option"
|
|
4320
|
-
},
|
|
4321
|
-
"output": {
|
|
4322
|
-
"char": "o",
|
|
4323
|
-
"description": "Output format",
|
|
4324
|
-
"name": "output",
|
|
4325
|
-
"required": false,
|
|
4326
|
-
"default": "summary",
|
|
4327
|
-
"hasDynamicHelp": false,
|
|
4328
|
-
"multiple": false,
|
|
4329
|
-
"options": [
|
|
4330
|
-
"summary",
|
|
4331
|
-
"json"
|
|
4332
|
-
],
|
|
4333
|
-
"type": "option"
|
|
4334
|
-
},
|
|
4335
|
-
"require-token": {
|
|
4336
|
-
"description": "Whether to require a token for documentation access",
|
|
4337
|
-
"name": "require-token",
|
|
4018
|
+
"require-token": {
|
|
4019
|
+
"description": "Whether to require a token for documentation access",
|
|
4020
|
+
"name": "require-token",
|
|
4338
4021
|
"required": false,
|
|
4339
4022
|
"allowNo": true,
|
|
4340
4023
|
"type": "boolean"
|
|
@@ -4673,6 +4356,13 @@
|
|
|
4673
4356
|
"allowNo": true,
|
|
4674
4357
|
"type": "boolean"
|
|
4675
4358
|
},
|
|
4359
|
+
"transaction": {
|
|
4360
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
4361
|
+
"name": "transaction",
|
|
4362
|
+
"required": false,
|
|
4363
|
+
"allowNo": true,
|
|
4364
|
+
"type": "boolean"
|
|
4365
|
+
},
|
|
4676
4366
|
"truncate": {
|
|
4677
4367
|
"description": "Truncate all table records before importing",
|
|
4678
4368
|
"name": "truncate",
|
|
@@ -4682,24 +4372,270 @@
|
|
|
4682
4372
|
},
|
|
4683
4373
|
"workspace": {
|
|
4684
4374
|
"char": "w",
|
|
4685
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
4375
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4376
|
+
"name": "workspace",
|
|
4377
|
+
"required": false,
|
|
4378
|
+
"hasDynamicHelp": false,
|
|
4379
|
+
"multiple": false,
|
|
4380
|
+
"type": "option"
|
|
4381
|
+
},
|
|
4382
|
+
"force": {
|
|
4383
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4384
|
+
"name": "force",
|
|
4385
|
+
"required": false,
|
|
4386
|
+
"allowNo": false,
|
|
4387
|
+
"type": "boolean"
|
|
4388
|
+
}
|
|
4389
|
+
},
|
|
4390
|
+
"hasDynamicHelp": false,
|
|
4391
|
+
"hiddenAliases": [],
|
|
4392
|
+
"id": "workspace:push",
|
|
4393
|
+
"pluginAlias": "@xano/cli",
|
|
4394
|
+
"pluginName": "@xano/cli",
|
|
4395
|
+
"pluginType": "core",
|
|
4396
|
+
"strict": true,
|
|
4397
|
+
"enableJsonFlag": false,
|
|
4398
|
+
"isESM": true,
|
|
4399
|
+
"relativePath": [
|
|
4400
|
+
"dist",
|
|
4401
|
+
"commands",
|
|
4402
|
+
"workspace",
|
|
4403
|
+
"push",
|
|
4404
|
+
"index.js"
|
|
4405
|
+
]
|
|
4406
|
+
},
|
|
4407
|
+
"workflow_test:delete": {
|
|
4408
|
+
"aliases": [],
|
|
4409
|
+
"args": {
|
|
4410
|
+
"workflow_test_id": {
|
|
4411
|
+
"description": "ID of the workflow test to delete",
|
|
4412
|
+
"name": "workflow_test_id",
|
|
4413
|
+
"required": true
|
|
4414
|
+
}
|
|
4415
|
+
},
|
|
4416
|
+
"description": "Delete a workflow test",
|
|
4417
|
+
"examples": [
|
|
4418
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
4419
|
+
"$ xano workflow-test delete 1 --force"
|
|
4420
|
+
],
|
|
4421
|
+
"flags": {
|
|
4422
|
+
"profile": {
|
|
4423
|
+
"char": "p",
|
|
4424
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4425
|
+
"env": "XANO_PROFILE",
|
|
4426
|
+
"name": "profile",
|
|
4427
|
+
"required": false,
|
|
4428
|
+
"hasDynamicHelp": false,
|
|
4429
|
+
"multiple": false,
|
|
4430
|
+
"type": "option"
|
|
4431
|
+
},
|
|
4432
|
+
"verbose": {
|
|
4433
|
+
"char": "v",
|
|
4434
|
+
"description": "Show detailed request/response information",
|
|
4435
|
+
"env": "XANO_VERBOSE",
|
|
4436
|
+
"name": "verbose",
|
|
4437
|
+
"required": false,
|
|
4438
|
+
"allowNo": false,
|
|
4439
|
+
"type": "boolean"
|
|
4440
|
+
},
|
|
4441
|
+
"force": {
|
|
4442
|
+
"char": "f",
|
|
4443
|
+
"description": "Skip confirmation prompt",
|
|
4444
|
+
"name": "force",
|
|
4445
|
+
"required": false,
|
|
4446
|
+
"allowNo": false,
|
|
4447
|
+
"type": "boolean"
|
|
4448
|
+
},
|
|
4449
|
+
"output": {
|
|
4450
|
+
"char": "o",
|
|
4451
|
+
"description": "Output format",
|
|
4452
|
+
"name": "output",
|
|
4453
|
+
"required": false,
|
|
4454
|
+
"default": "summary",
|
|
4455
|
+
"hasDynamicHelp": false,
|
|
4456
|
+
"multiple": false,
|
|
4457
|
+
"options": [
|
|
4458
|
+
"summary",
|
|
4459
|
+
"json"
|
|
4460
|
+
],
|
|
4461
|
+
"type": "option"
|
|
4462
|
+
},
|
|
4463
|
+
"workspace": {
|
|
4464
|
+
"char": "w",
|
|
4465
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4466
|
+
"name": "workspace",
|
|
4467
|
+
"required": false,
|
|
4468
|
+
"hasDynamicHelp": false,
|
|
4469
|
+
"multiple": false,
|
|
4470
|
+
"type": "option"
|
|
4471
|
+
}
|
|
4472
|
+
},
|
|
4473
|
+
"hasDynamicHelp": false,
|
|
4474
|
+
"hiddenAliases": [],
|
|
4475
|
+
"id": "workflow_test:delete",
|
|
4476
|
+
"pluginAlias": "@xano/cli",
|
|
4477
|
+
"pluginName": "@xano/cli",
|
|
4478
|
+
"pluginType": "core",
|
|
4479
|
+
"strict": true,
|
|
4480
|
+
"enableJsonFlag": false,
|
|
4481
|
+
"isESM": true,
|
|
4482
|
+
"relativePath": [
|
|
4483
|
+
"dist",
|
|
4484
|
+
"commands",
|
|
4485
|
+
"workflow_test",
|
|
4486
|
+
"delete",
|
|
4487
|
+
"index.js"
|
|
4488
|
+
]
|
|
4489
|
+
},
|
|
4490
|
+
"workflow_test:get": {
|
|
4491
|
+
"aliases": [],
|
|
4492
|
+
"args": {
|
|
4493
|
+
"workflow_test_id": {
|
|
4494
|
+
"description": "ID of the workflow test",
|
|
4495
|
+
"name": "workflow_test_id",
|
|
4496
|
+
"required": true
|
|
4497
|
+
}
|
|
4498
|
+
},
|
|
4499
|
+
"description": "Get a specific workflow test",
|
|
4500
|
+
"examples": [
|
|
4501
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
4502
|
+
"$ xano workflow-test get 1 -o xs",
|
|
4503
|
+
"$ xano workflow-test get 1 -o json"
|
|
4504
|
+
],
|
|
4505
|
+
"flags": {
|
|
4506
|
+
"profile": {
|
|
4507
|
+
"char": "p",
|
|
4508
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4509
|
+
"env": "XANO_PROFILE",
|
|
4510
|
+
"name": "profile",
|
|
4511
|
+
"required": false,
|
|
4512
|
+
"hasDynamicHelp": false,
|
|
4513
|
+
"multiple": false,
|
|
4514
|
+
"type": "option"
|
|
4515
|
+
},
|
|
4516
|
+
"verbose": {
|
|
4517
|
+
"char": "v",
|
|
4518
|
+
"description": "Show detailed request/response information",
|
|
4519
|
+
"env": "XANO_VERBOSE",
|
|
4520
|
+
"name": "verbose",
|
|
4521
|
+
"required": false,
|
|
4522
|
+
"allowNo": false,
|
|
4523
|
+
"type": "boolean"
|
|
4524
|
+
},
|
|
4525
|
+
"include-draft": {
|
|
4526
|
+
"description": "Include draft version",
|
|
4527
|
+
"name": "include-draft",
|
|
4528
|
+
"required": false,
|
|
4529
|
+
"allowNo": false,
|
|
4530
|
+
"type": "boolean"
|
|
4531
|
+
},
|
|
4532
|
+
"output": {
|
|
4533
|
+
"char": "o",
|
|
4534
|
+
"description": "Output format",
|
|
4535
|
+
"name": "output",
|
|
4536
|
+
"required": false,
|
|
4537
|
+
"default": "summary",
|
|
4538
|
+
"hasDynamicHelp": false,
|
|
4539
|
+
"multiple": false,
|
|
4540
|
+
"options": [
|
|
4541
|
+
"summary",
|
|
4542
|
+
"json",
|
|
4543
|
+
"xs"
|
|
4544
|
+
],
|
|
4545
|
+
"type": "option"
|
|
4546
|
+
},
|
|
4547
|
+
"workspace": {
|
|
4548
|
+
"char": "w",
|
|
4549
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4550
|
+
"name": "workspace",
|
|
4551
|
+
"required": false,
|
|
4552
|
+
"hasDynamicHelp": false,
|
|
4553
|
+
"multiple": false,
|
|
4554
|
+
"type": "option"
|
|
4555
|
+
}
|
|
4556
|
+
},
|
|
4557
|
+
"hasDynamicHelp": false,
|
|
4558
|
+
"hiddenAliases": [],
|
|
4559
|
+
"id": "workflow_test:get",
|
|
4560
|
+
"pluginAlias": "@xano/cli",
|
|
4561
|
+
"pluginName": "@xano/cli",
|
|
4562
|
+
"pluginType": "core",
|
|
4563
|
+
"strict": true,
|
|
4564
|
+
"enableJsonFlag": false,
|
|
4565
|
+
"isESM": true,
|
|
4566
|
+
"relativePath": [
|
|
4567
|
+
"dist",
|
|
4568
|
+
"commands",
|
|
4569
|
+
"workflow_test",
|
|
4570
|
+
"get",
|
|
4571
|
+
"index.js"
|
|
4572
|
+
]
|
|
4573
|
+
},
|
|
4574
|
+
"workflow_test:list": {
|
|
4575
|
+
"aliases": [],
|
|
4576
|
+
"args": {},
|
|
4577
|
+
"description": "List all workflow tests in a workspace",
|
|
4578
|
+
"examples": [
|
|
4579
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
4580
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
4581
|
+
"$ xano workflow-test list --branch main"
|
|
4582
|
+
],
|
|
4583
|
+
"flags": {
|
|
4584
|
+
"profile": {
|
|
4585
|
+
"char": "p",
|
|
4586
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4587
|
+
"env": "XANO_PROFILE",
|
|
4588
|
+
"name": "profile",
|
|
4589
|
+
"required": false,
|
|
4590
|
+
"hasDynamicHelp": false,
|
|
4591
|
+
"multiple": false,
|
|
4592
|
+
"type": "option"
|
|
4593
|
+
},
|
|
4594
|
+
"verbose": {
|
|
4595
|
+
"char": "v",
|
|
4596
|
+
"description": "Show detailed request/response information",
|
|
4597
|
+
"env": "XANO_VERBOSE",
|
|
4598
|
+
"name": "verbose",
|
|
4599
|
+
"required": false,
|
|
4600
|
+
"allowNo": false,
|
|
4601
|
+
"type": "boolean"
|
|
4602
|
+
},
|
|
4603
|
+
"branch": {
|
|
4604
|
+
"char": "b",
|
|
4605
|
+
"description": "Filter by branch name",
|
|
4606
|
+
"name": "branch",
|
|
4607
|
+
"required": false,
|
|
4608
|
+
"hasDynamicHelp": false,
|
|
4609
|
+
"multiple": false,
|
|
4610
|
+
"type": "option"
|
|
4611
|
+
},
|
|
4612
|
+
"output": {
|
|
4613
|
+
"char": "o",
|
|
4614
|
+
"description": "Output format",
|
|
4615
|
+
"name": "output",
|
|
4616
|
+
"required": false,
|
|
4617
|
+
"default": "summary",
|
|
4618
|
+
"hasDynamicHelp": false,
|
|
4619
|
+
"multiple": false,
|
|
4620
|
+
"options": [
|
|
4621
|
+
"summary",
|
|
4622
|
+
"json"
|
|
4623
|
+
],
|
|
4624
|
+
"type": "option"
|
|
4625
|
+
},
|
|
4626
|
+
"workspace": {
|
|
4627
|
+
"char": "w",
|
|
4628
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4686
4629
|
"name": "workspace",
|
|
4687
4630
|
"required": false,
|
|
4688
4631
|
"hasDynamicHelp": false,
|
|
4689
4632
|
"multiple": false,
|
|
4690
4633
|
"type": "option"
|
|
4691
|
-
},
|
|
4692
|
-
"force": {
|
|
4693
|
-
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4694
|
-
"name": "force",
|
|
4695
|
-
"required": false,
|
|
4696
|
-
"allowNo": false,
|
|
4697
|
-
"type": "boolean"
|
|
4698
4634
|
}
|
|
4699
4635
|
},
|
|
4700
4636
|
"hasDynamicHelp": false,
|
|
4701
4637
|
"hiddenAliases": [],
|
|
4702
|
-
"id": "
|
|
4638
|
+
"id": "workflow_test:list",
|
|
4703
4639
|
"pluginAlias": "@xano/cli",
|
|
4704
4640
|
"pluginName": "@xano/cli",
|
|
4705
4641
|
"pluginType": "core",
|
|
@@ -4709,18 +4645,24 @@
|
|
|
4709
4645
|
"relativePath": [
|
|
4710
4646
|
"dist",
|
|
4711
4647
|
"commands",
|
|
4712
|
-
"
|
|
4713
|
-
"
|
|
4648
|
+
"workflow_test",
|
|
4649
|
+
"list",
|
|
4714
4650
|
"index.js"
|
|
4715
4651
|
]
|
|
4716
4652
|
},
|
|
4717
|
-
"
|
|
4653
|
+
"workflow_test:run": {
|
|
4718
4654
|
"aliases": [],
|
|
4719
|
-
"args": {
|
|
4720
|
-
|
|
4655
|
+
"args": {
|
|
4656
|
+
"workflow_test_id": {
|
|
4657
|
+
"description": "ID of the workflow test to run",
|
|
4658
|
+
"name": "workflow_test_id",
|
|
4659
|
+
"required": true
|
|
4660
|
+
}
|
|
4661
|
+
},
|
|
4662
|
+
"description": "Run a workflow test",
|
|
4721
4663
|
"examples": [
|
|
4722
|
-
"$ xano
|
|
4723
|
-
"$ xano
|
|
4664
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4665
|
+
"$ xano workflow-test run 1 -o json"
|
|
4724
4666
|
],
|
|
4725
4667
|
"flags": {
|
|
4726
4668
|
"profile": {
|
|
@@ -4741,11 +4683,34 @@
|
|
|
4741
4683
|
"required": false,
|
|
4742
4684
|
"allowNo": false,
|
|
4743
4685
|
"type": "boolean"
|
|
4686
|
+
},
|
|
4687
|
+
"output": {
|
|
4688
|
+
"char": "o",
|
|
4689
|
+
"description": "Output format",
|
|
4690
|
+
"name": "output",
|
|
4691
|
+
"required": false,
|
|
4692
|
+
"default": "summary",
|
|
4693
|
+
"hasDynamicHelp": false,
|
|
4694
|
+
"multiple": false,
|
|
4695
|
+
"options": [
|
|
4696
|
+
"summary",
|
|
4697
|
+
"json"
|
|
4698
|
+
],
|
|
4699
|
+
"type": "option"
|
|
4700
|
+
},
|
|
4701
|
+
"workspace": {
|
|
4702
|
+
"char": "w",
|
|
4703
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4704
|
+
"name": "workspace",
|
|
4705
|
+
"required": false,
|
|
4706
|
+
"hasDynamicHelp": false,
|
|
4707
|
+
"multiple": false,
|
|
4708
|
+
"type": "option"
|
|
4744
4709
|
}
|
|
4745
4710
|
},
|
|
4746
4711
|
"hasDynamicHelp": false,
|
|
4747
4712
|
"hiddenAliases": [],
|
|
4748
|
-
"id": "
|
|
4713
|
+
"id": "workflow_test:run",
|
|
4749
4714
|
"pluginAlias": "@xano/cli",
|
|
4750
4715
|
"pluginName": "@xano/cli",
|
|
4751
4716
|
"pluginType": "core",
|
|
@@ -4755,26 +4720,18 @@
|
|
|
4755
4720
|
"relativePath": [
|
|
4756
4721
|
"dist",
|
|
4757
4722
|
"commands",
|
|
4758
|
-
"
|
|
4759
|
-
"
|
|
4760
|
-
"set",
|
|
4723
|
+
"workflow_test",
|
|
4724
|
+
"run",
|
|
4761
4725
|
"index.js"
|
|
4762
4726
|
]
|
|
4763
4727
|
},
|
|
4764
|
-
"
|
|
4728
|
+
"workflow_test:run_all": {
|
|
4765
4729
|
"aliases": [],
|
|
4766
|
-
"args": {
|
|
4767
|
-
|
|
4768
|
-
"description": "Static Host name",
|
|
4769
|
-
"name": "static_host",
|
|
4770
|
-
"required": true
|
|
4771
|
-
}
|
|
4772
|
-
},
|
|
4773
|
-
"description": "Create a new build for a static host",
|
|
4730
|
+
"args": {},
|
|
4731
|
+
"description": "Run all workflow tests in a workspace",
|
|
4774
4732
|
"examples": [
|
|
4775
|
-
"$ xano
|
|
4776
|
-
"$ xano
|
|
4777
|
-
"$ 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"
|
|
4733
|
+
"$ 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",
|
|
4734
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4778
4735
|
],
|
|
4779
4736
|
"flags": {
|
|
4780
4737
|
"profile": {
|
|
@@ -4796,33 +4753,15 @@
|
|
|
4796
4753
|
"allowNo": false,
|
|
4797
4754
|
"type": "boolean"
|
|
4798
4755
|
},
|
|
4799
|
-
"
|
|
4800
|
-
"char": "
|
|
4801
|
-
"description": "
|
|
4802
|
-
"name": "
|
|
4756
|
+
"branch": {
|
|
4757
|
+
"char": "b",
|
|
4758
|
+
"description": "Filter by branch name",
|
|
4759
|
+
"name": "branch",
|
|
4803
4760
|
"required": false,
|
|
4804
4761
|
"hasDynamicHelp": false,
|
|
4805
4762
|
"multiple": false,
|
|
4806
4763
|
"type": "option"
|
|
4807
4764
|
},
|
|
4808
|
-
"file": {
|
|
4809
|
-
"char": "f",
|
|
4810
|
-
"description": "Path to zip file to upload",
|
|
4811
|
-
"name": "file",
|
|
4812
|
-
"required": true,
|
|
4813
|
-
"hasDynamicHelp": false,
|
|
4814
|
-
"multiple": false,
|
|
4815
|
-
"type": "option"
|
|
4816
|
-
},
|
|
4817
|
-
"name": {
|
|
4818
|
-
"char": "n",
|
|
4819
|
-
"description": "Build name",
|
|
4820
|
-
"name": "name",
|
|
4821
|
-
"required": true,
|
|
4822
|
-
"hasDynamicHelp": false,
|
|
4823
|
-
"multiple": false,
|
|
4824
|
-
"type": "option"
|
|
4825
|
-
},
|
|
4826
4765
|
"output": {
|
|
4827
4766
|
"char": "o",
|
|
4828
4767
|
"description": "Output format",
|
|
@@ -4839,7 +4778,7 @@
|
|
|
4839
4778
|
},
|
|
4840
4779
|
"workspace": {
|
|
4841
4780
|
"char": "w",
|
|
4842
|
-
"description": "Workspace ID (
|
|
4781
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4843
4782
|
"name": "workspace",
|
|
4844
4783
|
"required": false,
|
|
4845
4784
|
"hasDynamicHelp": false,
|
|
@@ -4849,7 +4788,7 @@
|
|
|
4849
4788
|
},
|
|
4850
4789
|
"hasDynamicHelp": false,
|
|
4851
4790
|
"hiddenAliases": [],
|
|
4852
|
-
"id": "
|
|
4791
|
+
"id": "workflow_test:run_all",
|
|
4853
4792
|
"pluginAlias": "@xano/cli",
|
|
4854
4793
|
"pluginName": "@xano/cli",
|
|
4855
4794
|
"pluginType": "core",
|
|
@@ -4859,25 +4798,18 @@
|
|
|
4859
4798
|
"relativePath": [
|
|
4860
4799
|
"dist",
|
|
4861
4800
|
"commands",
|
|
4862
|
-
"
|
|
4863
|
-
"
|
|
4864
|
-
"create",
|
|
4801
|
+
"workflow_test",
|
|
4802
|
+
"run_all",
|
|
4865
4803
|
"index.js"
|
|
4866
4804
|
]
|
|
4867
4805
|
},
|
|
4868
|
-
"
|
|
4806
|
+
"profile:workspace:set": {
|
|
4869
4807
|
"aliases": [],
|
|
4870
|
-
"args": {
|
|
4871
|
-
|
|
4872
|
-
"description": "ID of the workflow test to run",
|
|
4873
|
-
"name": "workflow_test_id",
|
|
4874
|
-
"required": true
|
|
4875
|
-
}
|
|
4876
|
-
},
|
|
4877
|
-
"description": "Run a workflow test",
|
|
4808
|
+
"args": {},
|
|
4809
|
+
"description": "Interactively select a workspace for a profile",
|
|
4878
4810
|
"examples": [
|
|
4879
|
-
"$ xano
|
|
4880
|
-
"$ xano
|
|
4811
|
+
"$ xano profile workspace set\nFetching workspaces...\n? Select a workspace: My Workspace\nWorkspace updated to 'My Workspace' (abc123) on profile 'default'\n",
|
|
4812
|
+
"$ xano profile workspace set -p production\nFetching workspaces...\n? Select a workspace: Production API\nWorkspace updated to 'Production API' (xyz789) on profile 'production'\n"
|
|
4881
4813
|
],
|
|
4882
4814
|
"flags": {
|
|
4883
4815
|
"profile": {
|
|
@@ -4898,34 +4830,11 @@
|
|
|
4898
4830
|
"required": false,
|
|
4899
4831
|
"allowNo": false,
|
|
4900
4832
|
"type": "boolean"
|
|
4901
|
-
},
|
|
4902
|
-
"output": {
|
|
4903
|
-
"char": "o",
|
|
4904
|
-
"description": "Output format",
|
|
4905
|
-
"name": "output",
|
|
4906
|
-
"required": false,
|
|
4907
|
-
"default": "summary",
|
|
4908
|
-
"hasDynamicHelp": false,
|
|
4909
|
-
"multiple": false,
|
|
4910
|
-
"options": [
|
|
4911
|
-
"summary",
|
|
4912
|
-
"json"
|
|
4913
|
-
],
|
|
4914
|
-
"type": "option"
|
|
4915
|
-
},
|
|
4916
|
-
"workspace": {
|
|
4917
|
-
"char": "w",
|
|
4918
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4919
|
-
"name": "workspace",
|
|
4920
|
-
"required": false,
|
|
4921
|
-
"hasDynamicHelp": false,
|
|
4922
|
-
"multiple": false,
|
|
4923
|
-
"type": "option"
|
|
4924
4833
|
}
|
|
4925
4834
|
},
|
|
4926
4835
|
"hasDynamicHelp": false,
|
|
4927
4836
|
"hiddenAliases": [],
|
|
4928
|
-
"id": "
|
|
4837
|
+
"id": "profile:workspace:set",
|
|
4929
4838
|
"pluginAlias": "@xano/cli",
|
|
4930
4839
|
"pluginName": "@xano/cli",
|
|
4931
4840
|
"pluginType": "core",
|
|
@@ -4935,31 +4844,26 @@
|
|
|
4935
4844
|
"relativePath": [
|
|
4936
4845
|
"dist",
|
|
4937
4846
|
"commands",
|
|
4938
|
-
"
|
|
4939
|
-
"
|
|
4847
|
+
"profile",
|
|
4848
|
+
"workspace",
|
|
4849
|
+
"set",
|
|
4940
4850
|
"index.js"
|
|
4941
4851
|
]
|
|
4942
4852
|
},
|
|
4943
|
-
"static_host:build:
|
|
4853
|
+
"static_host:build:create": {
|
|
4944
4854
|
"aliases": [],
|
|
4945
4855
|
"args": {
|
|
4946
|
-
"build_id": {
|
|
4947
|
-
"description": "Build ID",
|
|
4948
|
-
"name": "build_id",
|
|
4949
|
-
"required": true
|
|
4950
|
-
},
|
|
4951
4856
|
"static_host": {
|
|
4952
4857
|
"description": "Static Host name",
|
|
4953
4858
|
"name": "static_host",
|
|
4954
4859
|
"required": true
|
|
4955
4860
|
}
|
|
4956
4861
|
},
|
|
4957
|
-
"description": "
|
|
4862
|
+
"description": "Create a new build for a static host",
|
|
4958
4863
|
"examples": [
|
|
4959
|
-
"$ xano static_host:build:
|
|
4960
|
-
"$ xano static_host:build:
|
|
4961
|
-
"$ xano static_host:build:
|
|
4962
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4864
|
+
"$ 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",
|
|
4865
|
+
"$ 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",
|
|
4866
|
+
"$ 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"
|
|
4963
4867
|
],
|
|
4964
4868
|
"flags": {
|
|
4965
4869
|
"profile": {
|
|
@@ -4981,6 +4885,33 @@
|
|
|
4981
4885
|
"allowNo": false,
|
|
4982
4886
|
"type": "boolean"
|
|
4983
4887
|
},
|
|
4888
|
+
"description": {
|
|
4889
|
+
"char": "d",
|
|
4890
|
+
"description": "Build description",
|
|
4891
|
+
"name": "description",
|
|
4892
|
+
"required": false,
|
|
4893
|
+
"hasDynamicHelp": false,
|
|
4894
|
+
"multiple": false,
|
|
4895
|
+
"type": "option"
|
|
4896
|
+
},
|
|
4897
|
+
"file": {
|
|
4898
|
+
"char": "f",
|
|
4899
|
+
"description": "Path to zip file to upload",
|
|
4900
|
+
"name": "file",
|
|
4901
|
+
"required": true,
|
|
4902
|
+
"hasDynamicHelp": false,
|
|
4903
|
+
"multiple": false,
|
|
4904
|
+
"type": "option"
|
|
4905
|
+
},
|
|
4906
|
+
"name": {
|
|
4907
|
+
"char": "n",
|
|
4908
|
+
"description": "Build name",
|
|
4909
|
+
"name": "name",
|
|
4910
|
+
"required": true,
|
|
4911
|
+
"hasDynamicHelp": false,
|
|
4912
|
+
"multiple": false,
|
|
4913
|
+
"type": "option"
|
|
4914
|
+
},
|
|
4984
4915
|
"output": {
|
|
4985
4916
|
"char": "o",
|
|
4986
4917
|
"description": "Output format",
|
|
@@ -5007,7 +4938,7 @@
|
|
|
5007
4938
|
},
|
|
5008
4939
|
"hasDynamicHelp": false,
|
|
5009
4940
|
"hiddenAliases": [],
|
|
5010
|
-
"id": "static_host:build:
|
|
4941
|
+
"id": "static_host:build:create",
|
|
5011
4942
|
"pluginAlias": "@xano/cli",
|
|
5012
4943
|
"pluginName": "@xano/cli",
|
|
5013
4944
|
"pluginType": "core",
|
|
@@ -5019,7 +4950,7 @@
|
|
|
5019
4950
|
"commands",
|
|
5020
4951
|
"static_host",
|
|
5021
4952
|
"build",
|
|
5022
|
-
"
|
|
4953
|
+
"create",
|
|
5023
4954
|
"index.js"
|
|
5024
4955
|
]
|
|
5025
4956
|
},
|
|
@@ -5119,19 +5050,26 @@
|
|
|
5119
5050
|
"index.js"
|
|
5120
5051
|
]
|
|
5121
5052
|
},
|
|
5122
|
-
"
|
|
5053
|
+
"static_host:build:get": {
|
|
5123
5054
|
"aliases": [],
|
|
5124
5055
|
"args": {
|
|
5125
|
-
"
|
|
5126
|
-
"description": "
|
|
5127
|
-
"name": "
|
|
5056
|
+
"build_id": {
|
|
5057
|
+
"description": "Build ID",
|
|
5058
|
+
"name": "build_id",
|
|
5059
|
+
"required": true
|
|
5060
|
+
},
|
|
5061
|
+
"static_host": {
|
|
5062
|
+
"description": "Static Host name",
|
|
5063
|
+
"name": "static_host",
|
|
5128
5064
|
"required": true
|
|
5129
5065
|
}
|
|
5130
5066
|
},
|
|
5131
|
-
"description": "
|
|
5067
|
+
"description": "Get details of a specific build for a static host",
|
|
5132
5068
|
"examples": [
|
|
5133
|
-
"$ xano
|
|
5134
|
-
"$ xano
|
|
5069
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5070
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5071
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5072
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
5135
5073
|
],
|
|
5136
5074
|
"flags": {
|
|
5137
5075
|
"profile": {
|
|
@@ -5153,16 +5091,6 @@
|
|
|
5153
5091
|
"allowNo": false,
|
|
5154
5092
|
"type": "boolean"
|
|
5155
5093
|
},
|
|
5156
|
-
"description": {
|
|
5157
|
-
"char": "d",
|
|
5158
|
-
"description": "Backup description",
|
|
5159
|
-
"name": "description",
|
|
5160
|
-
"required": false,
|
|
5161
|
-
"default": "",
|
|
5162
|
-
"hasDynamicHelp": false,
|
|
5163
|
-
"multiple": false,
|
|
5164
|
-
"type": "option"
|
|
5165
|
-
},
|
|
5166
5094
|
"output": {
|
|
5167
5095
|
"char": "o",
|
|
5168
5096
|
"description": "Output format",
|
|
@@ -5179,7 +5107,7 @@
|
|
|
5179
5107
|
},
|
|
5180
5108
|
"workspace": {
|
|
5181
5109
|
"char": "w",
|
|
5182
|
-
"description": "Workspace ID (
|
|
5110
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5183
5111
|
"name": "workspace",
|
|
5184
5112
|
"required": false,
|
|
5185
5113
|
"hasDynamicHelp": false,
|
|
@@ -5189,7 +5117,7 @@
|
|
|
5189
5117
|
},
|
|
5190
5118
|
"hasDynamicHelp": false,
|
|
5191
5119
|
"hiddenAliases": [],
|
|
5192
|
-
"id": "
|
|
5120
|
+
"id": "static_host:build:get",
|
|
5193
5121
|
"pluginAlias": "@xano/cli",
|
|
5194
5122
|
"pluginName": "@xano/cli",
|
|
5195
5123
|
"pluginType": "core",
|
|
@@ -5199,26 +5127,25 @@
|
|
|
5199
5127
|
"relativePath": [
|
|
5200
5128
|
"dist",
|
|
5201
5129
|
"commands",
|
|
5202
|
-
"
|
|
5203
|
-
"
|
|
5204
|
-
"
|
|
5130
|
+
"static_host",
|
|
5131
|
+
"build",
|
|
5132
|
+
"get",
|
|
5205
5133
|
"index.js"
|
|
5206
5134
|
]
|
|
5207
5135
|
},
|
|
5208
|
-
"tenant:backup:
|
|
5136
|
+
"tenant:backup:create": {
|
|
5209
5137
|
"aliases": [],
|
|
5210
5138
|
"args": {
|
|
5211
5139
|
"tenant_name": {
|
|
5212
|
-
"description": "Tenant name to
|
|
5140
|
+
"description": "Tenant name to back up",
|
|
5213
5141
|
"name": "tenant_name",
|
|
5214
5142
|
"required": true
|
|
5215
5143
|
}
|
|
5216
5144
|
},
|
|
5217
|
-
"description": "
|
|
5145
|
+
"description": "Create a backup for a tenant",
|
|
5218
5146
|
"examples": [
|
|
5219
|
-
"$ xano tenant backup
|
|
5220
|
-
"$ xano tenant backup
|
|
5221
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5147
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5148
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5222
5149
|
],
|
|
5223
5150
|
"flags": {
|
|
5224
5151
|
"profile": {
|
|
@@ -5240,18 +5167,20 @@
|
|
|
5240
5167
|
"allowNo": false,
|
|
5241
5168
|
"type": "boolean"
|
|
5242
5169
|
},
|
|
5243
|
-
"
|
|
5244
|
-
"
|
|
5245
|
-
"
|
|
5246
|
-
"
|
|
5170
|
+
"description": {
|
|
5171
|
+
"char": "d",
|
|
5172
|
+
"description": "Backup description",
|
|
5173
|
+
"name": "description",
|
|
5174
|
+
"required": false,
|
|
5175
|
+
"default": "",
|
|
5247
5176
|
"hasDynamicHelp": false,
|
|
5248
5177
|
"multiple": false,
|
|
5249
5178
|
"type": "option"
|
|
5250
5179
|
},
|
|
5251
|
-
"
|
|
5180
|
+
"output": {
|
|
5252
5181
|
"char": "o",
|
|
5253
5182
|
"description": "Output format",
|
|
5254
|
-
"name": "
|
|
5183
|
+
"name": "output",
|
|
5255
5184
|
"required": false,
|
|
5256
5185
|
"default": "summary",
|
|
5257
5186
|
"hasDynamicHelp": false,
|
|
@@ -5262,14 +5191,6 @@
|
|
|
5262
5191
|
],
|
|
5263
5192
|
"type": "option"
|
|
5264
5193
|
},
|
|
5265
|
-
"output": {
|
|
5266
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5267
|
-
"name": "output",
|
|
5268
|
-
"required": false,
|
|
5269
|
-
"hasDynamicHelp": false,
|
|
5270
|
-
"multiple": false,
|
|
5271
|
-
"type": "option"
|
|
5272
|
-
},
|
|
5273
5194
|
"workspace": {
|
|
5274
5195
|
"char": "w",
|
|
5275
5196
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5282,7 +5203,7 @@
|
|
|
5282
5203
|
},
|
|
5283
5204
|
"hasDynamicHelp": false,
|
|
5284
5205
|
"hiddenAliases": [],
|
|
5285
|
-
"id": "tenant:backup:
|
|
5206
|
+
"id": "tenant:backup:create",
|
|
5286
5207
|
"pluginAlias": "@xano/cli",
|
|
5287
5208
|
"pluginName": "@xano/cli",
|
|
5288
5209
|
"pluginType": "core",
|
|
@@ -5294,23 +5215,24 @@
|
|
|
5294
5215
|
"commands",
|
|
5295
5216
|
"tenant",
|
|
5296
5217
|
"backup",
|
|
5297
|
-
"
|
|
5218
|
+
"create",
|
|
5298
5219
|
"index.js"
|
|
5299
5220
|
]
|
|
5300
5221
|
},
|
|
5301
|
-
"tenant:backup:
|
|
5222
|
+
"tenant:backup:delete": {
|
|
5302
5223
|
"aliases": [],
|
|
5303
5224
|
"args": {
|
|
5304
5225
|
"tenant_name": {
|
|
5305
|
-
"description": "Tenant name
|
|
5226
|
+
"description": "Tenant name that owns the backup",
|
|
5306
5227
|
"name": "tenant_name",
|
|
5307
5228
|
"required": true
|
|
5308
5229
|
}
|
|
5309
5230
|
},
|
|
5310
|
-
"description": "
|
|
5231
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5311
5232
|
"examples": [
|
|
5312
|
-
"$ xano tenant backup
|
|
5313
|
-
"$ xano tenant backup
|
|
5233
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5234
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5235
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5314
5236
|
],
|
|
5315
5237
|
"flags": {
|
|
5316
5238
|
"profile": {
|
|
@@ -5332,6 +5254,22 @@
|
|
|
5332
5254
|
"allowNo": false,
|
|
5333
5255
|
"type": "boolean"
|
|
5334
5256
|
},
|
|
5257
|
+
"backup_id": {
|
|
5258
|
+
"description": "Backup ID to delete",
|
|
5259
|
+
"name": "backup_id",
|
|
5260
|
+
"required": true,
|
|
5261
|
+
"hasDynamicHelp": false,
|
|
5262
|
+
"multiple": false,
|
|
5263
|
+
"type": "option"
|
|
5264
|
+
},
|
|
5265
|
+
"force": {
|
|
5266
|
+
"char": "f",
|
|
5267
|
+
"description": "Skip confirmation prompt",
|
|
5268
|
+
"name": "force",
|
|
5269
|
+
"required": false,
|
|
5270
|
+
"allowNo": false,
|
|
5271
|
+
"type": "boolean"
|
|
5272
|
+
},
|
|
5335
5273
|
"output": {
|
|
5336
5274
|
"char": "o",
|
|
5337
5275
|
"description": "Output format",
|
|
@@ -5346,15 +5284,6 @@
|
|
|
5346
5284
|
],
|
|
5347
5285
|
"type": "option"
|
|
5348
5286
|
},
|
|
5349
|
-
"page": {
|
|
5350
|
-
"description": "Page number for pagination",
|
|
5351
|
-
"name": "page",
|
|
5352
|
-
"required": false,
|
|
5353
|
-
"default": 1,
|
|
5354
|
-
"hasDynamicHelp": false,
|
|
5355
|
-
"multiple": false,
|
|
5356
|
-
"type": "option"
|
|
5357
|
-
},
|
|
5358
5287
|
"workspace": {
|
|
5359
5288
|
"char": "w",
|
|
5360
5289
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5367,7 +5296,7 @@
|
|
|
5367
5296
|
},
|
|
5368
5297
|
"hasDynamicHelp": false,
|
|
5369
5298
|
"hiddenAliases": [],
|
|
5370
|
-
"id": "tenant:backup:
|
|
5299
|
+
"id": "tenant:backup:delete",
|
|
5371
5300
|
"pluginAlias": "@xano/cli",
|
|
5372
5301
|
"pluginName": "@xano/cli",
|
|
5373
5302
|
"pluginType": "core",
|
|
@@ -5379,23 +5308,24 @@
|
|
|
5379
5308
|
"commands",
|
|
5380
5309
|
"tenant",
|
|
5381
5310
|
"backup",
|
|
5382
|
-
"
|
|
5311
|
+
"delete",
|
|
5383
5312
|
"index.js"
|
|
5384
5313
|
]
|
|
5385
5314
|
},
|
|
5386
|
-
"tenant:backup:
|
|
5315
|
+
"tenant:backup:export": {
|
|
5387
5316
|
"aliases": [],
|
|
5388
5317
|
"args": {
|
|
5389
5318
|
"tenant_name": {
|
|
5390
|
-
"description": "Tenant name to
|
|
5319
|
+
"description": "Tenant name to export backup from",
|
|
5391
5320
|
"name": "tenant_name",
|
|
5392
5321
|
"required": true
|
|
5393
5322
|
}
|
|
5394
5323
|
},
|
|
5395
|
-
"description": "
|
|
5324
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5396
5325
|
"examples": [
|
|
5397
|
-
"$ xano tenant backup
|
|
5398
|
-
"$ xano tenant backup
|
|
5326
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5327
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5328
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5399
5329
|
],
|
|
5400
5330
|
"flags": {
|
|
5401
5331
|
"profile": {
|
|
@@ -5417,29 +5347,18 @@
|
|
|
5417
5347
|
"allowNo": false,
|
|
5418
5348
|
"type": "boolean"
|
|
5419
5349
|
},
|
|
5420
|
-
"
|
|
5421
|
-
"
|
|
5422
|
-
"
|
|
5423
|
-
"name": "description",
|
|
5424
|
-
"required": false,
|
|
5425
|
-
"default": "",
|
|
5426
|
-
"hasDynamicHelp": false,
|
|
5427
|
-
"multiple": false,
|
|
5428
|
-
"type": "option"
|
|
5429
|
-
},
|
|
5430
|
-
"file": {
|
|
5431
|
-
"char": "f",
|
|
5432
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
5433
|
-
"name": "file",
|
|
5350
|
+
"backup_id": {
|
|
5351
|
+
"description": "Backup ID to export",
|
|
5352
|
+
"name": "backup_id",
|
|
5434
5353
|
"required": true,
|
|
5435
5354
|
"hasDynamicHelp": false,
|
|
5436
5355
|
"multiple": false,
|
|
5437
5356
|
"type": "option"
|
|
5438
5357
|
},
|
|
5439
|
-
"
|
|
5358
|
+
"format": {
|
|
5440
5359
|
"char": "o",
|
|
5441
5360
|
"description": "Output format",
|
|
5442
|
-
"name": "
|
|
5361
|
+
"name": "format",
|
|
5443
5362
|
"required": false,
|
|
5444
5363
|
"default": "summary",
|
|
5445
5364
|
"hasDynamicHelp": false,
|
|
@@ -5450,6 +5369,14 @@
|
|
|
5450
5369
|
],
|
|
5451
5370
|
"type": "option"
|
|
5452
5371
|
},
|
|
5372
|
+
"output": {
|
|
5373
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5374
|
+
"name": "output",
|
|
5375
|
+
"required": false,
|
|
5376
|
+
"hasDynamicHelp": false,
|
|
5377
|
+
"multiple": false,
|
|
5378
|
+
"type": "option"
|
|
5379
|
+
},
|
|
5453
5380
|
"workspace": {
|
|
5454
5381
|
"char": "w",
|
|
5455
5382
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5462,7 +5389,7 @@
|
|
|
5462
5389
|
},
|
|
5463
5390
|
"hasDynamicHelp": false,
|
|
5464
5391
|
"hiddenAliases": [],
|
|
5465
|
-
"id": "tenant:backup:
|
|
5392
|
+
"id": "tenant:backup:export",
|
|
5466
5393
|
"pluginAlias": "@xano/cli",
|
|
5467
5394
|
"pluginName": "@xano/cli",
|
|
5468
5395
|
"pluginType": "core",
|
|
@@ -5474,24 +5401,23 @@
|
|
|
5474
5401
|
"commands",
|
|
5475
5402
|
"tenant",
|
|
5476
5403
|
"backup",
|
|
5477
|
-
"
|
|
5404
|
+
"export",
|
|
5478
5405
|
"index.js"
|
|
5479
5406
|
]
|
|
5480
5407
|
},
|
|
5481
|
-
"tenant:backup:
|
|
5408
|
+
"tenant:backup:list": {
|
|
5482
5409
|
"aliases": [],
|
|
5483
5410
|
"args": {
|
|
5484
5411
|
"tenant_name": {
|
|
5485
|
-
"description": "Tenant name
|
|
5412
|
+
"description": "Tenant name to list backups for",
|
|
5486
5413
|
"name": "tenant_name",
|
|
5487
5414
|
"required": true
|
|
5488
5415
|
}
|
|
5489
5416
|
},
|
|
5490
|
-
"description": "
|
|
5417
|
+
"description": "List backups for a tenant",
|
|
5491
5418
|
"examples": [
|
|
5492
|
-
"$ xano tenant backup
|
|
5493
|
-
"$ xano tenant backup
|
|
5494
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5419
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5420
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5495
5421
|
],
|
|
5496
5422
|
"flags": {
|
|
5497
5423
|
"profile": {
|
|
@@ -5513,22 +5439,6 @@
|
|
|
5513
5439
|
"allowNo": false,
|
|
5514
5440
|
"type": "boolean"
|
|
5515
5441
|
},
|
|
5516
|
-
"backup_id": {
|
|
5517
|
-
"description": "Backup ID to delete",
|
|
5518
|
-
"name": "backup_id",
|
|
5519
|
-
"required": true,
|
|
5520
|
-
"hasDynamicHelp": false,
|
|
5521
|
-
"multiple": false,
|
|
5522
|
-
"type": "option"
|
|
5523
|
-
},
|
|
5524
|
-
"force": {
|
|
5525
|
-
"char": "f",
|
|
5526
|
-
"description": "Skip confirmation prompt",
|
|
5527
|
-
"name": "force",
|
|
5528
|
-
"required": false,
|
|
5529
|
-
"allowNo": false,
|
|
5530
|
-
"type": "boolean"
|
|
5531
|
-
},
|
|
5532
5442
|
"output": {
|
|
5533
5443
|
"char": "o",
|
|
5534
5444
|
"description": "Output format",
|
|
@@ -5543,6 +5453,15 @@
|
|
|
5543
5453
|
],
|
|
5544
5454
|
"type": "option"
|
|
5545
5455
|
},
|
|
5456
|
+
"page": {
|
|
5457
|
+
"description": "Page number for pagination",
|
|
5458
|
+
"name": "page",
|
|
5459
|
+
"required": false,
|
|
5460
|
+
"default": 1,
|
|
5461
|
+
"hasDynamicHelp": false,
|
|
5462
|
+
"multiple": false,
|
|
5463
|
+
"type": "option"
|
|
5464
|
+
},
|
|
5546
5465
|
"workspace": {
|
|
5547
5466
|
"char": "w",
|
|
5548
5467
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5555,7 +5474,7 @@
|
|
|
5555
5474
|
},
|
|
5556
5475
|
"hasDynamicHelp": false,
|
|
5557
5476
|
"hiddenAliases": [],
|
|
5558
|
-
"id": "tenant:backup:
|
|
5477
|
+
"id": "tenant:backup:list",
|
|
5559
5478
|
"pluginAlias": "@xano/cli",
|
|
5560
5479
|
"pluginName": "@xano/cli",
|
|
5561
5480
|
"pluginType": "core",
|
|
@@ -5567,7 +5486,7 @@
|
|
|
5567
5486
|
"commands",
|
|
5568
5487
|
"tenant",
|
|
5569
5488
|
"backup",
|
|
5570
|
-
"
|
|
5489
|
+
"list",
|
|
5571
5490
|
"index.js"
|
|
5572
5491
|
]
|
|
5573
5492
|
},
|
|
@@ -5722,18 +5641,117 @@
|
|
|
5722
5641
|
"multiple": false,
|
|
5723
5642
|
"type": "option"
|
|
5724
5643
|
},
|
|
5725
|
-
"domain": {
|
|
5726
|
-
"description": "Custom domain for the cluster",
|
|
5727
|
-
"name": "domain",
|
|
5644
|
+
"domain": {
|
|
5645
|
+
"description": "Custom domain for the cluster",
|
|
5646
|
+
"name": "domain",
|
|
5647
|
+
"required": false,
|
|
5648
|
+
"hasDynamicHelp": false,
|
|
5649
|
+
"multiple": false,
|
|
5650
|
+
"type": "option"
|
|
5651
|
+
},
|
|
5652
|
+
"name": {
|
|
5653
|
+
"char": "n",
|
|
5654
|
+
"description": "Cluster name",
|
|
5655
|
+
"name": "name",
|
|
5656
|
+
"required": true,
|
|
5657
|
+
"hasDynamicHelp": false,
|
|
5658
|
+
"multiple": false,
|
|
5659
|
+
"type": "option"
|
|
5660
|
+
},
|
|
5661
|
+
"output": {
|
|
5662
|
+
"char": "o",
|
|
5663
|
+
"description": "Output format",
|
|
5664
|
+
"name": "output",
|
|
5665
|
+
"required": false,
|
|
5666
|
+
"default": "summary",
|
|
5667
|
+
"hasDynamicHelp": false,
|
|
5668
|
+
"multiple": false,
|
|
5669
|
+
"options": [
|
|
5670
|
+
"summary",
|
|
5671
|
+
"json"
|
|
5672
|
+
],
|
|
5673
|
+
"type": "option"
|
|
5674
|
+
},
|
|
5675
|
+
"type": {
|
|
5676
|
+
"description": "Cluster type",
|
|
5677
|
+
"name": "type",
|
|
5678
|
+
"required": false,
|
|
5679
|
+
"default": "standard",
|
|
5680
|
+
"hasDynamicHelp": false,
|
|
5681
|
+
"multiple": false,
|
|
5682
|
+
"options": [
|
|
5683
|
+
"standard",
|
|
5684
|
+
"run"
|
|
5685
|
+
],
|
|
5686
|
+
"type": "option"
|
|
5687
|
+
}
|
|
5688
|
+
},
|
|
5689
|
+
"hasDynamicHelp": false,
|
|
5690
|
+
"hiddenAliases": [],
|
|
5691
|
+
"id": "tenant:cluster:create",
|
|
5692
|
+
"pluginAlias": "@xano/cli",
|
|
5693
|
+
"pluginName": "@xano/cli",
|
|
5694
|
+
"pluginType": "core",
|
|
5695
|
+
"strict": true,
|
|
5696
|
+
"enableJsonFlag": false,
|
|
5697
|
+
"isESM": true,
|
|
5698
|
+
"relativePath": [
|
|
5699
|
+
"dist",
|
|
5700
|
+
"commands",
|
|
5701
|
+
"tenant",
|
|
5702
|
+
"cluster",
|
|
5703
|
+
"create",
|
|
5704
|
+
"index.js"
|
|
5705
|
+
]
|
|
5706
|
+
},
|
|
5707
|
+
"tenant:backup:import": {
|
|
5708
|
+
"aliases": [],
|
|
5709
|
+
"args": {
|
|
5710
|
+
"tenant_name": {
|
|
5711
|
+
"description": "Tenant name to import backup into",
|
|
5712
|
+
"name": "tenant_name",
|
|
5713
|
+
"required": true
|
|
5714
|
+
}
|
|
5715
|
+
},
|
|
5716
|
+
"description": "Import a backup file into a tenant",
|
|
5717
|
+
"examples": [
|
|
5718
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5719
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5720
|
+
],
|
|
5721
|
+
"flags": {
|
|
5722
|
+
"profile": {
|
|
5723
|
+
"char": "p",
|
|
5724
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5725
|
+
"env": "XANO_PROFILE",
|
|
5726
|
+
"name": "profile",
|
|
5727
|
+
"required": false,
|
|
5728
|
+
"hasDynamicHelp": false,
|
|
5729
|
+
"multiple": false,
|
|
5730
|
+
"type": "option"
|
|
5731
|
+
},
|
|
5732
|
+
"verbose": {
|
|
5733
|
+
"char": "v",
|
|
5734
|
+
"description": "Show detailed request/response information",
|
|
5735
|
+
"env": "XANO_VERBOSE",
|
|
5736
|
+
"name": "verbose",
|
|
5737
|
+
"required": false,
|
|
5738
|
+
"allowNo": false,
|
|
5739
|
+
"type": "boolean"
|
|
5740
|
+
},
|
|
5741
|
+
"description": {
|
|
5742
|
+
"char": "d",
|
|
5743
|
+
"description": "Backup description",
|
|
5744
|
+
"name": "description",
|
|
5728
5745
|
"required": false,
|
|
5746
|
+
"default": "",
|
|
5729
5747
|
"hasDynamicHelp": false,
|
|
5730
5748
|
"multiple": false,
|
|
5731
5749
|
"type": "option"
|
|
5732
5750
|
},
|
|
5733
|
-
"
|
|
5734
|
-
"char": "
|
|
5735
|
-
"description": "
|
|
5736
|
-
"name": "
|
|
5751
|
+
"file": {
|
|
5752
|
+
"char": "f",
|
|
5753
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5754
|
+
"name": "file",
|
|
5737
5755
|
"required": true,
|
|
5738
5756
|
"hasDynamicHelp": false,
|
|
5739
5757
|
"multiple": false,
|
|
@@ -5753,23 +5771,19 @@
|
|
|
5753
5771
|
],
|
|
5754
5772
|
"type": "option"
|
|
5755
5773
|
},
|
|
5756
|
-
"
|
|
5757
|
-
"
|
|
5758
|
-
"
|
|
5774
|
+
"workspace": {
|
|
5775
|
+
"char": "w",
|
|
5776
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5777
|
+
"name": "workspace",
|
|
5759
5778
|
"required": false,
|
|
5760
|
-
"default": "standard",
|
|
5761
5779
|
"hasDynamicHelp": false,
|
|
5762
5780
|
"multiple": false,
|
|
5763
|
-
"options": [
|
|
5764
|
-
"standard",
|
|
5765
|
-
"run"
|
|
5766
|
-
],
|
|
5767
5781
|
"type": "option"
|
|
5768
5782
|
}
|
|
5769
5783
|
},
|
|
5770
5784
|
"hasDynamicHelp": false,
|
|
5771
5785
|
"hiddenAliases": [],
|
|
5772
|
-
"id": "tenant:
|
|
5786
|
+
"id": "tenant:backup:import",
|
|
5773
5787
|
"pluginAlias": "@xano/cli",
|
|
5774
5788
|
"pluginName": "@xano/cli",
|
|
5775
5789
|
"pluginType": "core",
|
|
@@ -5780,8 +5794,8 @@
|
|
|
5780
5794
|
"dist",
|
|
5781
5795
|
"commands",
|
|
5782
5796
|
"tenant",
|
|
5783
|
-
"
|
|
5784
|
-
"
|
|
5797
|
+
"backup",
|
|
5798
|
+
"import",
|
|
5785
5799
|
"index.js"
|
|
5786
5800
|
]
|
|
5787
5801
|
},
|
|
@@ -5861,6 +5875,111 @@
|
|
|
5861
5875
|
"index.js"
|
|
5862
5876
|
]
|
|
5863
5877
|
},
|
|
5878
|
+
"tenant:cluster:edit": {
|
|
5879
|
+
"aliases": [],
|
|
5880
|
+
"args": {
|
|
5881
|
+
"cluster_id": {
|
|
5882
|
+
"description": "Cluster ID to edit",
|
|
5883
|
+
"name": "cluster_id",
|
|
5884
|
+
"required": true
|
|
5885
|
+
}
|
|
5886
|
+
},
|
|
5887
|
+
"description": "Update an existing tenant cluster",
|
|
5888
|
+
"examples": [
|
|
5889
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5890
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5891
|
+
],
|
|
5892
|
+
"flags": {
|
|
5893
|
+
"profile": {
|
|
5894
|
+
"char": "p",
|
|
5895
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
5896
|
+
"env": "XANO_PROFILE",
|
|
5897
|
+
"name": "profile",
|
|
5898
|
+
"required": false,
|
|
5899
|
+
"hasDynamicHelp": false,
|
|
5900
|
+
"multiple": false,
|
|
5901
|
+
"type": "option"
|
|
5902
|
+
},
|
|
5903
|
+
"verbose": {
|
|
5904
|
+
"char": "v",
|
|
5905
|
+
"description": "Show detailed request/response information",
|
|
5906
|
+
"env": "XANO_VERBOSE",
|
|
5907
|
+
"name": "verbose",
|
|
5908
|
+
"required": false,
|
|
5909
|
+
"allowNo": false,
|
|
5910
|
+
"type": "boolean"
|
|
5911
|
+
},
|
|
5912
|
+
"description": {
|
|
5913
|
+
"char": "d",
|
|
5914
|
+
"description": "Cluster description",
|
|
5915
|
+
"name": "description",
|
|
5916
|
+
"required": true,
|
|
5917
|
+
"hasDynamicHelp": false,
|
|
5918
|
+
"multiple": false,
|
|
5919
|
+
"type": "option"
|
|
5920
|
+
},
|
|
5921
|
+
"domain": {
|
|
5922
|
+
"description": "Custom domain for the cluster",
|
|
5923
|
+
"name": "domain",
|
|
5924
|
+
"required": true,
|
|
5925
|
+
"hasDynamicHelp": false,
|
|
5926
|
+
"multiple": false,
|
|
5927
|
+
"type": "option"
|
|
5928
|
+
},
|
|
5929
|
+
"name": {
|
|
5930
|
+
"char": "n",
|
|
5931
|
+
"description": "Cluster name",
|
|
5932
|
+
"name": "name",
|
|
5933
|
+
"required": true,
|
|
5934
|
+
"hasDynamicHelp": false,
|
|
5935
|
+
"multiple": false,
|
|
5936
|
+
"type": "option"
|
|
5937
|
+
},
|
|
5938
|
+
"output": {
|
|
5939
|
+
"char": "o",
|
|
5940
|
+
"description": "Output format",
|
|
5941
|
+
"name": "output",
|
|
5942
|
+
"required": false,
|
|
5943
|
+
"default": "summary",
|
|
5944
|
+
"hasDynamicHelp": false,
|
|
5945
|
+
"multiple": false,
|
|
5946
|
+
"options": [
|
|
5947
|
+
"summary",
|
|
5948
|
+
"json"
|
|
5949
|
+
],
|
|
5950
|
+
"type": "option"
|
|
5951
|
+
},
|
|
5952
|
+
"type": {
|
|
5953
|
+
"description": "Cluster type",
|
|
5954
|
+
"name": "type",
|
|
5955
|
+
"required": true,
|
|
5956
|
+
"hasDynamicHelp": false,
|
|
5957
|
+
"multiple": false,
|
|
5958
|
+
"options": [
|
|
5959
|
+
"standard",
|
|
5960
|
+
"run"
|
|
5961
|
+
],
|
|
5962
|
+
"type": "option"
|
|
5963
|
+
}
|
|
5964
|
+
},
|
|
5965
|
+
"hasDynamicHelp": false,
|
|
5966
|
+
"hiddenAliases": [],
|
|
5967
|
+
"id": "tenant:cluster:edit",
|
|
5968
|
+
"pluginAlias": "@xano/cli",
|
|
5969
|
+
"pluginName": "@xano/cli",
|
|
5970
|
+
"pluginType": "core",
|
|
5971
|
+
"strict": true,
|
|
5972
|
+
"enableJsonFlag": false,
|
|
5973
|
+
"isESM": true,
|
|
5974
|
+
"relativePath": [
|
|
5975
|
+
"dist",
|
|
5976
|
+
"commands",
|
|
5977
|
+
"tenant",
|
|
5978
|
+
"cluster",
|
|
5979
|
+
"edit",
|
|
5980
|
+
"index.js"
|
|
5981
|
+
]
|
|
5982
|
+
},
|
|
5864
5983
|
"tenant:cluster:get": {
|
|
5865
5984
|
"aliases": [],
|
|
5866
5985
|
"args": {
|
|
@@ -5989,7 +6108,7 @@
|
|
|
5989
6108
|
"index.js"
|
|
5990
6109
|
]
|
|
5991
6110
|
},
|
|
5992
|
-
"tenant:env:
|
|
6111
|
+
"tenant:env:get": {
|
|
5993
6112
|
"aliases": [],
|
|
5994
6113
|
"args": {
|
|
5995
6114
|
"tenant_name": {
|
|
@@ -5998,11 +6117,10 @@
|
|
|
5998
6117
|
"required": true
|
|
5999
6118
|
}
|
|
6000
6119
|
},
|
|
6001
|
-
"description": "
|
|
6120
|
+
"description": "Get a single environment variable for a tenant",
|
|
6002
6121
|
"examples": [
|
|
6003
|
-
"$ xano tenant env
|
|
6004
|
-
"$ xano tenant env
|
|
6005
|
-
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6122
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6123
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6006
6124
|
],
|
|
6007
6125
|
"flags": {
|
|
6008
6126
|
"profile": {
|
|
@@ -6024,14 +6142,6 @@
|
|
|
6024
6142
|
"allowNo": false,
|
|
6025
6143
|
"type": "boolean"
|
|
6026
6144
|
},
|
|
6027
|
-
"force": {
|
|
6028
|
-
"char": "f",
|
|
6029
|
-
"description": "Skip confirmation prompt",
|
|
6030
|
-
"name": "force",
|
|
6031
|
-
"required": false,
|
|
6032
|
-
"allowNo": false,
|
|
6033
|
-
"type": "boolean"
|
|
6034
|
-
},
|
|
6035
6145
|
"name": {
|
|
6036
6146
|
"char": "n",
|
|
6037
6147
|
"description": "Environment variable name",
|
|
@@ -6067,7 +6177,7 @@
|
|
|
6067
6177
|
},
|
|
6068
6178
|
"hasDynamicHelp": false,
|
|
6069
6179
|
"hiddenAliases": [],
|
|
6070
|
-
"id": "tenant:env:
|
|
6180
|
+
"id": "tenant:env:get",
|
|
6071
6181
|
"pluginAlias": "@xano/cli",
|
|
6072
6182
|
"pluginName": "@xano/cli",
|
|
6073
6183
|
"pluginType": "core",
|
|
@@ -6079,23 +6189,23 @@
|
|
|
6079
6189
|
"commands",
|
|
6080
6190
|
"tenant",
|
|
6081
6191
|
"env",
|
|
6082
|
-
"
|
|
6192
|
+
"get",
|
|
6083
6193
|
"index.js"
|
|
6084
6194
|
]
|
|
6085
6195
|
},
|
|
6086
|
-
"tenant:
|
|
6196
|
+
"tenant:env:list": {
|
|
6087
6197
|
"aliases": [],
|
|
6088
6198
|
"args": {
|
|
6089
|
-
"
|
|
6090
|
-
"description": "
|
|
6091
|
-
"name": "
|
|
6199
|
+
"tenant_name": {
|
|
6200
|
+
"description": "Tenant name",
|
|
6201
|
+
"name": "tenant_name",
|
|
6092
6202
|
"required": true
|
|
6093
6203
|
}
|
|
6094
6204
|
},
|
|
6095
|
-
"description": "
|
|
6205
|
+
"description": "List environment variable keys for a tenant",
|
|
6096
6206
|
"examples": [
|
|
6097
|
-
"$ xano tenant
|
|
6098
|
-
"$ xano tenant
|
|
6207
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6208
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6099
6209
|
],
|
|
6100
6210
|
"flags": {
|
|
6101
6211
|
"profile": {
|
|
@@ -6117,32 +6227,6 @@
|
|
|
6117
6227
|
"allowNo": false,
|
|
6118
6228
|
"type": "boolean"
|
|
6119
6229
|
},
|
|
6120
|
-
"description": {
|
|
6121
|
-
"char": "d",
|
|
6122
|
-
"description": "Cluster description",
|
|
6123
|
-
"name": "description",
|
|
6124
|
-
"required": true,
|
|
6125
|
-
"hasDynamicHelp": false,
|
|
6126
|
-
"multiple": false,
|
|
6127
|
-
"type": "option"
|
|
6128
|
-
},
|
|
6129
|
-
"domain": {
|
|
6130
|
-
"description": "Custom domain for the cluster",
|
|
6131
|
-
"name": "domain",
|
|
6132
|
-
"required": true,
|
|
6133
|
-
"hasDynamicHelp": false,
|
|
6134
|
-
"multiple": false,
|
|
6135
|
-
"type": "option"
|
|
6136
|
-
},
|
|
6137
|
-
"name": {
|
|
6138
|
-
"char": "n",
|
|
6139
|
-
"description": "Cluster name",
|
|
6140
|
-
"name": "name",
|
|
6141
|
-
"required": true,
|
|
6142
|
-
"hasDynamicHelp": false,
|
|
6143
|
-
"multiple": false,
|
|
6144
|
-
"type": "option"
|
|
6145
|
-
},
|
|
6146
6230
|
"output": {
|
|
6147
6231
|
"char": "o",
|
|
6148
6232
|
"description": "Output format",
|
|
@@ -6157,22 +6241,19 @@
|
|
|
6157
6241
|
],
|
|
6158
6242
|
"type": "option"
|
|
6159
6243
|
},
|
|
6160
|
-
"
|
|
6161
|
-
"
|
|
6162
|
-
"
|
|
6163
|
-
"
|
|
6244
|
+
"workspace": {
|
|
6245
|
+
"char": "w",
|
|
6246
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6247
|
+
"name": "workspace",
|
|
6248
|
+
"required": false,
|
|
6164
6249
|
"hasDynamicHelp": false,
|
|
6165
6250
|
"multiple": false,
|
|
6166
|
-
"options": [
|
|
6167
|
-
"standard",
|
|
6168
|
-
"run"
|
|
6169
|
-
],
|
|
6170
6251
|
"type": "option"
|
|
6171
6252
|
}
|
|
6172
6253
|
},
|
|
6173
6254
|
"hasDynamicHelp": false,
|
|
6174
6255
|
"hiddenAliases": [],
|
|
6175
|
-
"id": "tenant:
|
|
6256
|
+
"id": "tenant:env:list",
|
|
6176
6257
|
"pluginAlias": "@xano/cli",
|
|
6177
6258
|
"pluginName": "@xano/cli",
|
|
6178
6259
|
"pluginType": "core",
|
|
@@ -6183,8 +6264,8 @@
|
|
|
6183
6264
|
"dist",
|
|
6184
6265
|
"commands",
|
|
6185
6266
|
"tenant",
|
|
6186
|
-
"
|
|
6187
|
-
"
|
|
6267
|
+
"env",
|
|
6268
|
+
"list",
|
|
6188
6269
|
"index.js"
|
|
6189
6270
|
]
|
|
6190
6271
|
},
|
|
@@ -6282,7 +6363,7 @@
|
|
|
6282
6363
|
"index.js"
|
|
6283
6364
|
]
|
|
6284
6365
|
},
|
|
6285
|
-
"tenant:env:
|
|
6366
|
+
"tenant:env:set": {
|
|
6286
6367
|
"aliases": [],
|
|
6287
6368
|
"args": {
|
|
6288
6369
|
"tenant_name": {
|
|
@@ -6291,10 +6372,10 @@
|
|
|
6291
6372
|
"required": true
|
|
6292
6373
|
}
|
|
6293
6374
|
},
|
|
6294
|
-
"description": "
|
|
6375
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6295
6376
|
"examples": [
|
|
6296
|
-
"$ xano tenant env
|
|
6297
|
-
"$ xano tenant env
|
|
6377
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6378
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6298
6379
|
],
|
|
6299
6380
|
"flags": {
|
|
6300
6381
|
"profile": {
|
|
@@ -6316,6 +6397,15 @@
|
|
|
6316
6397
|
"allowNo": false,
|
|
6317
6398
|
"type": "boolean"
|
|
6318
6399
|
},
|
|
6400
|
+
"name": {
|
|
6401
|
+
"char": "n",
|
|
6402
|
+
"description": "Environment variable name",
|
|
6403
|
+
"name": "name",
|
|
6404
|
+
"required": true,
|
|
6405
|
+
"hasDynamicHelp": false,
|
|
6406
|
+
"multiple": false,
|
|
6407
|
+
"type": "option"
|
|
6408
|
+
},
|
|
6319
6409
|
"output": {
|
|
6320
6410
|
"char": "o",
|
|
6321
6411
|
"description": "Output format",
|
|
@@ -6330,6 +6420,14 @@
|
|
|
6330
6420
|
],
|
|
6331
6421
|
"type": "option"
|
|
6332
6422
|
},
|
|
6423
|
+
"value": {
|
|
6424
|
+
"description": "Environment variable value",
|
|
6425
|
+
"name": "value",
|
|
6426
|
+
"required": true,
|
|
6427
|
+
"hasDynamicHelp": false,
|
|
6428
|
+
"multiple": false,
|
|
6429
|
+
"type": "option"
|
|
6430
|
+
},
|
|
6333
6431
|
"workspace": {
|
|
6334
6432
|
"char": "w",
|
|
6335
6433
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6342,7 +6440,7 @@
|
|
|
6342
6440
|
},
|
|
6343
6441
|
"hasDynamicHelp": false,
|
|
6344
6442
|
"hiddenAliases": [],
|
|
6345
|
-
"id": "tenant:env:
|
|
6443
|
+
"id": "tenant:env:set",
|
|
6346
6444
|
"pluginAlias": "@xano/cli",
|
|
6347
6445
|
"pluginName": "@xano/cli",
|
|
6348
6446
|
"pluginType": "core",
|
|
@@ -6354,11 +6452,11 @@
|
|
|
6354
6452
|
"commands",
|
|
6355
6453
|
"tenant",
|
|
6356
6454
|
"env",
|
|
6357
|
-
"
|
|
6455
|
+
"set",
|
|
6358
6456
|
"index.js"
|
|
6359
6457
|
]
|
|
6360
6458
|
},
|
|
6361
|
-
"tenant:env:
|
|
6459
|
+
"tenant:env:set_all": {
|
|
6362
6460
|
"aliases": [],
|
|
6363
6461
|
"args": {
|
|
6364
6462
|
"tenant_name": {
|
|
@@ -6367,10 +6465,11 @@
|
|
|
6367
6465
|
"required": true
|
|
6368
6466
|
}
|
|
6369
6467
|
},
|
|
6370
|
-
"description": "
|
|
6468
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6371
6469
|
"examples": [
|
|
6372
|
-
"$ xano tenant env
|
|
6373
|
-
"$ xano tenant env
|
|
6470
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6471
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6472
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6374
6473
|
],
|
|
6375
6474
|
"flags": {
|
|
6376
6475
|
"profile": {
|
|
@@ -6392,11 +6491,18 @@
|
|
|
6392
6491
|
"allowNo": false,
|
|
6393
6492
|
"type": "boolean"
|
|
6394
6493
|
},
|
|
6395
|
-
"
|
|
6396
|
-
"
|
|
6397
|
-
"
|
|
6398
|
-
"
|
|
6399
|
-
"
|
|
6494
|
+
"clean": {
|
|
6495
|
+
"description": "Remove the source file after successful upload",
|
|
6496
|
+
"name": "clean",
|
|
6497
|
+
"required": false,
|
|
6498
|
+
"allowNo": false,
|
|
6499
|
+
"type": "boolean"
|
|
6500
|
+
},
|
|
6501
|
+
"file": {
|
|
6502
|
+
"char": "f",
|
|
6503
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6504
|
+
"name": "file",
|
|
6505
|
+
"required": false,
|
|
6400
6506
|
"hasDynamicHelp": false,
|
|
6401
6507
|
"multiple": false,
|
|
6402
6508
|
"type": "option"
|
|
@@ -6427,7 +6533,7 @@
|
|
|
6427
6533
|
},
|
|
6428
6534
|
"hasDynamicHelp": false,
|
|
6429
6535
|
"hiddenAliases": [],
|
|
6430
|
-
"id": "tenant:env:
|
|
6536
|
+
"id": "tenant:env:set_all",
|
|
6431
6537
|
"pluginAlias": "@xano/cli",
|
|
6432
6538
|
"pluginName": "@xano/cli",
|
|
6433
6539
|
"pluginType": "core",
|
|
@@ -6439,11 +6545,11 @@
|
|
|
6439
6545
|
"commands",
|
|
6440
6546
|
"tenant",
|
|
6441
6547
|
"env",
|
|
6442
|
-
"
|
|
6548
|
+
"set_all",
|
|
6443
6549
|
"index.js"
|
|
6444
6550
|
]
|
|
6445
6551
|
},
|
|
6446
|
-
"tenant:
|
|
6552
|
+
"tenant:license:get": {
|
|
6447
6553
|
"aliases": [],
|
|
6448
6554
|
"args": {
|
|
6449
6555
|
"tenant_name": {
|
|
@@ -6452,11 +6558,12 @@
|
|
|
6452
6558
|
"required": true
|
|
6453
6559
|
}
|
|
6454
6560
|
},
|
|
6455
|
-
"description": "
|
|
6561
|
+
"description": "Get the license for a tenant",
|
|
6456
6562
|
"examples": [
|
|
6457
|
-
"$ xano tenant
|
|
6458
|
-
"$ xano tenant
|
|
6459
|
-
"$ xano tenant
|
|
6563
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6564
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6565
|
+
"$ xano tenant license get my-tenant --view",
|
|
6566
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6460
6567
|
],
|
|
6461
6568
|
"flags": {
|
|
6462
6569
|
"profile": {
|
|
@@ -6478,16 +6585,9 @@
|
|
|
6478
6585
|
"allowNo": false,
|
|
6479
6586
|
"type": "boolean"
|
|
6480
6587
|
},
|
|
6481
|
-
"clean": {
|
|
6482
|
-
"description": "Remove the source file after successful upload",
|
|
6483
|
-
"name": "clean",
|
|
6484
|
-
"required": false,
|
|
6485
|
-
"allowNo": false,
|
|
6486
|
-
"type": "boolean"
|
|
6487
|
-
},
|
|
6488
6588
|
"file": {
|
|
6489
6589
|
"char": "f",
|
|
6490
|
-
"description": "
|
|
6590
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6491
6591
|
"name": "file",
|
|
6492
6592
|
"required": false,
|
|
6493
6593
|
"hasDynamicHelp": false,
|
|
@@ -6508,6 +6608,13 @@
|
|
|
6508
6608
|
],
|
|
6509
6609
|
"type": "option"
|
|
6510
6610
|
},
|
|
6611
|
+
"view": {
|
|
6612
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6613
|
+
"name": "view",
|
|
6614
|
+
"required": false,
|
|
6615
|
+
"allowNo": false,
|
|
6616
|
+
"type": "boolean"
|
|
6617
|
+
},
|
|
6511
6618
|
"workspace": {
|
|
6512
6619
|
"char": "w",
|
|
6513
6620
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6520,7 +6627,7 @@
|
|
|
6520
6627
|
},
|
|
6521
6628
|
"hasDynamicHelp": false,
|
|
6522
6629
|
"hiddenAliases": [],
|
|
6523
|
-
"id": "tenant:
|
|
6630
|
+
"id": "tenant:license:get",
|
|
6524
6631
|
"pluginAlias": "@xano/cli",
|
|
6525
6632
|
"pluginName": "@xano/cli",
|
|
6526
6633
|
"pluginType": "core",
|
|
@@ -6531,8 +6638,8 @@
|
|
|
6531
6638
|
"dist",
|
|
6532
6639
|
"commands",
|
|
6533
6640
|
"tenant",
|
|
6534
|
-
"
|
|
6535
|
-
"
|
|
6641
|
+
"license",
|
|
6642
|
+
"get",
|
|
6536
6643
|
"index.js"
|
|
6537
6644
|
]
|
|
6538
6645
|
},
|
|
@@ -6648,7 +6755,7 @@
|
|
|
6648
6755
|
"index.js"
|
|
6649
6756
|
]
|
|
6650
6757
|
},
|
|
6651
|
-
"tenant:
|
|
6758
|
+
"tenant:env:delete": {
|
|
6652
6759
|
"aliases": [],
|
|
6653
6760
|
"args": {
|
|
6654
6761
|
"tenant_name": {
|
|
@@ -6657,12 +6764,11 @@
|
|
|
6657
6764
|
"required": true
|
|
6658
6765
|
}
|
|
6659
6766
|
},
|
|
6660
|
-
"description": "
|
|
6767
|
+
"description": "Delete an environment variable from a tenant",
|
|
6661
6768
|
"examples": [
|
|
6662
|
-
"$ xano tenant
|
|
6663
|
-
"$ xano tenant
|
|
6664
|
-
"$ xano tenant
|
|
6665
|
-
"$ xano tenant license get my-tenant -o json"
|
|
6769
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6770
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6771
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6666
6772
|
],
|
|
6667
6773
|
"flags": {
|
|
6668
6774
|
"profile": {
|
|
@@ -6684,11 +6790,19 @@
|
|
|
6684
6790
|
"allowNo": false,
|
|
6685
6791
|
"type": "boolean"
|
|
6686
6792
|
},
|
|
6687
|
-
"
|
|
6793
|
+
"force": {
|
|
6688
6794
|
"char": "f",
|
|
6689
|
-
"description": "
|
|
6690
|
-
"name": "
|
|
6795
|
+
"description": "Skip confirmation prompt",
|
|
6796
|
+
"name": "force",
|
|
6691
6797
|
"required": false,
|
|
6798
|
+
"allowNo": false,
|
|
6799
|
+
"type": "boolean"
|
|
6800
|
+
},
|
|
6801
|
+
"name": {
|
|
6802
|
+
"char": "n",
|
|
6803
|
+
"description": "Environment variable name",
|
|
6804
|
+
"name": "name",
|
|
6805
|
+
"required": true,
|
|
6692
6806
|
"hasDynamicHelp": false,
|
|
6693
6807
|
"multiple": false,
|
|
6694
6808
|
"type": "option"
|
|
@@ -6707,13 +6821,6 @@
|
|
|
6707
6821
|
],
|
|
6708
6822
|
"type": "option"
|
|
6709
6823
|
},
|
|
6710
|
-
"view": {
|
|
6711
|
-
"description": "Print license to stdout instead of saving to file",
|
|
6712
|
-
"name": "view",
|
|
6713
|
-
"required": false,
|
|
6714
|
-
"allowNo": false,
|
|
6715
|
-
"type": "boolean"
|
|
6716
|
-
},
|
|
6717
6824
|
"workspace": {
|
|
6718
6825
|
"char": "w",
|
|
6719
6826
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6726,7 +6833,7 @@
|
|
|
6726
6833
|
},
|
|
6727
6834
|
"hasDynamicHelp": false,
|
|
6728
6835
|
"hiddenAliases": [],
|
|
6729
|
-
"id": "tenant:
|
|
6836
|
+
"id": "tenant:env:delete",
|
|
6730
6837
|
"pluginAlias": "@xano/cli",
|
|
6731
6838
|
"pluginName": "@xano/cli",
|
|
6732
6839
|
"pluginType": "core",
|
|
@@ -6737,8 +6844,8 @@
|
|
|
6737
6844
|
"dist",
|
|
6738
6845
|
"commands",
|
|
6739
6846
|
"tenant",
|
|
6740
|
-
"
|
|
6741
|
-
"
|
|
6847
|
+
"env",
|
|
6848
|
+
"delete",
|
|
6742
6849
|
"index.js"
|
|
6743
6850
|
]
|
|
6744
6851
|
},
|
|
@@ -6836,110 +6943,6 @@
|
|
|
6836
6943
|
"index.js"
|
|
6837
6944
|
]
|
|
6838
6945
|
},
|
|
6839
|
-
"tenant:cluster:license:set": {
|
|
6840
|
-
"aliases": [],
|
|
6841
|
-
"args": {
|
|
6842
|
-
"cluster_id": {
|
|
6843
|
-
"description": "Tenant cluster ID",
|
|
6844
|
-
"name": "cluster_id",
|
|
6845
|
-
"required": true
|
|
6846
|
-
}
|
|
6847
|
-
},
|
|
6848
|
-
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
6849
|
-
"examples": [
|
|
6850
|
-
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
6851
|
-
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
6852
|
-
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
6853
|
-
"$ xano tenant cluster license set 1 -o json"
|
|
6854
|
-
],
|
|
6855
|
-
"flags": {
|
|
6856
|
-
"profile": {
|
|
6857
|
-
"char": "p",
|
|
6858
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
6859
|
-
"env": "XANO_PROFILE",
|
|
6860
|
-
"name": "profile",
|
|
6861
|
-
"required": false,
|
|
6862
|
-
"hasDynamicHelp": false,
|
|
6863
|
-
"multiple": false,
|
|
6864
|
-
"type": "option"
|
|
6865
|
-
},
|
|
6866
|
-
"verbose": {
|
|
6867
|
-
"char": "v",
|
|
6868
|
-
"description": "Show detailed request/response information",
|
|
6869
|
-
"env": "XANO_VERBOSE",
|
|
6870
|
-
"name": "verbose",
|
|
6871
|
-
"required": false,
|
|
6872
|
-
"allowNo": false,
|
|
6873
|
-
"type": "boolean"
|
|
6874
|
-
},
|
|
6875
|
-
"clean": {
|
|
6876
|
-
"description": "Remove the source file after successful upload",
|
|
6877
|
-
"exclusive": [
|
|
6878
|
-
"value"
|
|
6879
|
-
],
|
|
6880
|
-
"name": "clean",
|
|
6881
|
-
"required": false,
|
|
6882
|
-
"allowNo": false,
|
|
6883
|
-
"type": "boolean"
|
|
6884
|
-
},
|
|
6885
|
-
"file": {
|
|
6886
|
-
"char": "f",
|
|
6887
|
-
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
6888
|
-
"exclusive": [
|
|
6889
|
-
"value"
|
|
6890
|
-
],
|
|
6891
|
-
"name": "file",
|
|
6892
|
-
"required": false,
|
|
6893
|
-
"hasDynamicHelp": false,
|
|
6894
|
-
"multiple": false,
|
|
6895
|
-
"type": "option"
|
|
6896
|
-
},
|
|
6897
|
-
"output": {
|
|
6898
|
-
"char": "o",
|
|
6899
|
-
"description": "Output format",
|
|
6900
|
-
"name": "output",
|
|
6901
|
-
"required": false,
|
|
6902
|
-
"default": "summary",
|
|
6903
|
-
"hasDynamicHelp": false,
|
|
6904
|
-
"multiple": false,
|
|
6905
|
-
"options": [
|
|
6906
|
-
"summary",
|
|
6907
|
-
"json"
|
|
6908
|
-
],
|
|
6909
|
-
"type": "option"
|
|
6910
|
-
},
|
|
6911
|
-
"value": {
|
|
6912
|
-
"description": "Inline kubeconfig YAML value",
|
|
6913
|
-
"exclusive": [
|
|
6914
|
-
"file",
|
|
6915
|
-
"clean"
|
|
6916
|
-
],
|
|
6917
|
-
"name": "value",
|
|
6918
|
-
"required": false,
|
|
6919
|
-
"hasDynamicHelp": false,
|
|
6920
|
-
"multiple": false,
|
|
6921
|
-
"type": "option"
|
|
6922
|
-
}
|
|
6923
|
-
},
|
|
6924
|
-
"hasDynamicHelp": false,
|
|
6925
|
-
"hiddenAliases": [],
|
|
6926
|
-
"id": "tenant:cluster:license:set",
|
|
6927
|
-
"pluginAlias": "@xano/cli",
|
|
6928
|
-
"pluginName": "@xano/cli",
|
|
6929
|
-
"pluginType": "core",
|
|
6930
|
-
"strict": true,
|
|
6931
|
-
"enableJsonFlag": false,
|
|
6932
|
-
"isESM": true,
|
|
6933
|
-
"relativePath": [
|
|
6934
|
-
"dist",
|
|
6935
|
-
"commands",
|
|
6936
|
-
"tenant",
|
|
6937
|
-
"cluster",
|
|
6938
|
-
"license",
|
|
6939
|
-
"set",
|
|
6940
|
-
"index.js"
|
|
6941
|
-
]
|
|
6942
|
-
},
|
|
6943
6946
|
"tenant:cluster:license:get": {
|
|
6944
6947
|
"aliases": [],
|
|
6945
6948
|
"args": {
|
|
@@ -7026,19 +7029,21 @@
|
|
|
7026
7029
|
"index.js"
|
|
7027
7030
|
]
|
|
7028
7031
|
},
|
|
7029
|
-
"tenant:
|
|
7032
|
+
"tenant:cluster:license:set": {
|
|
7030
7033
|
"aliases": [],
|
|
7031
7034
|
"args": {
|
|
7032
|
-
"
|
|
7033
|
-
"description": "Tenant
|
|
7034
|
-
"name": "
|
|
7035
|
+
"cluster_id": {
|
|
7036
|
+
"description": "Tenant cluster ID",
|
|
7037
|
+
"name": "cluster_id",
|
|
7035
7038
|
"required": true
|
|
7036
7039
|
}
|
|
7037
7040
|
},
|
|
7038
|
-
"description": "Set
|
|
7041
|
+
"description": "Set/update the license (kubeconfig) for a tenant cluster",
|
|
7039
7042
|
"examples": [
|
|
7040
|
-
"$ xano tenant
|
|
7041
|
-
"$ xano tenant
|
|
7043
|
+
"$ xano tenant cluster license set 1\nReads from kubeconfig-1.yaml\n",
|
|
7044
|
+
"$ xano tenant cluster license set 1 --file ./kubeconfig.yaml",
|
|
7045
|
+
"$ xano tenant cluster license set 1 --value 'apiVersion: v1...'",
|
|
7046
|
+
"$ xano tenant cluster license set 1 -o json"
|
|
7042
7047
|
],
|
|
7043
7048
|
"flags": {
|
|
7044
7049
|
"profile": {
|
|
@@ -7060,11 +7065,24 @@
|
|
|
7060
7065
|
"allowNo": false,
|
|
7061
7066
|
"type": "boolean"
|
|
7062
7067
|
},
|
|
7063
|
-
"
|
|
7064
|
-
"
|
|
7065
|
-
"
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
+
"clean": {
|
|
7069
|
+
"description": "Remove the source file after successful upload",
|
|
7070
|
+
"exclusive": [
|
|
7071
|
+
"value"
|
|
7072
|
+
],
|
|
7073
|
+
"name": "clean",
|
|
7074
|
+
"required": false,
|
|
7075
|
+
"allowNo": false,
|
|
7076
|
+
"type": "boolean"
|
|
7077
|
+
},
|
|
7078
|
+
"file": {
|
|
7079
|
+
"char": "f",
|
|
7080
|
+
"description": "Path to kubeconfig file (default: kubeconfig_<cluster_id>.yaml)",
|
|
7081
|
+
"exclusive": [
|
|
7082
|
+
"value"
|
|
7083
|
+
],
|
|
7084
|
+
"name": "file",
|
|
7085
|
+
"required": false,
|
|
7068
7086
|
"hasDynamicHelp": false,
|
|
7069
7087
|
"multiple": false,
|
|
7070
7088
|
"type": "option"
|
|
@@ -7084,17 +7102,12 @@
|
|
|
7084
7102
|
"type": "option"
|
|
7085
7103
|
},
|
|
7086
7104
|
"value": {
|
|
7087
|
-
"description": "
|
|
7105
|
+
"description": "Inline kubeconfig YAML value",
|
|
7106
|
+
"exclusive": [
|
|
7107
|
+
"file",
|
|
7108
|
+
"clean"
|
|
7109
|
+
],
|
|
7088
7110
|
"name": "value",
|
|
7089
|
-
"required": true,
|
|
7090
|
-
"hasDynamicHelp": false,
|
|
7091
|
-
"multiple": false,
|
|
7092
|
-
"type": "option"
|
|
7093
|
-
},
|
|
7094
|
-
"workspace": {
|
|
7095
|
-
"char": "w",
|
|
7096
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
7097
|
-
"name": "workspace",
|
|
7098
7111
|
"required": false,
|
|
7099
7112
|
"hasDynamicHelp": false,
|
|
7100
7113
|
"multiple": false,
|
|
@@ -7103,7 +7116,7 @@
|
|
|
7103
7116
|
},
|
|
7104
7117
|
"hasDynamicHelp": false,
|
|
7105
7118
|
"hiddenAliases": [],
|
|
7106
|
-
"id": "tenant:
|
|
7119
|
+
"id": "tenant:cluster:license:set",
|
|
7107
7120
|
"pluginAlias": "@xano/cli",
|
|
7108
7121
|
"pluginName": "@xano/cli",
|
|
7109
7122
|
"pluginType": "core",
|
|
@@ -7114,11 +7127,12 @@
|
|
|
7114
7127
|
"dist",
|
|
7115
7128
|
"commands",
|
|
7116
7129
|
"tenant",
|
|
7117
|
-
"
|
|
7130
|
+
"cluster",
|
|
7131
|
+
"license",
|
|
7118
7132
|
"set",
|
|
7119
7133
|
"index.js"
|
|
7120
7134
|
]
|
|
7121
7135
|
}
|
|
7122
7136
|
},
|
|
7123
|
-
"version": "0.0.
|
|
7137
|
+
"version": "0.0.75-beta.2"
|
|
7124
7138
|
}
|