@xano/cli 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"auth": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Authenticate with Xano via browser login",
|
|
7
|
+
"examples": [
|
|
8
|
+
"$ xano auth\nOpening browser for Xano login...\nWaiting for authentication...\nAuthenticated as John Doe (john@example.com)\n? Select an instance: US-1 (Production)\n? Profile name: default\nProfile 'default' created successfully!",
|
|
9
|
+
"$ xano auth --origin https://custom.xano.com\nOpening browser for Xano login at https://custom.xano.com..."
|
|
10
|
+
],
|
|
11
|
+
"flags": {
|
|
12
|
+
"origin": {
|
|
13
|
+
"char": "o",
|
|
14
|
+
"description": "Xano account origin URL",
|
|
15
|
+
"name": "origin",
|
|
16
|
+
"default": "https://app.xano.com",
|
|
17
|
+
"hasDynamicHelp": false,
|
|
18
|
+
"multiple": false,
|
|
19
|
+
"type": "option"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"hasDynamicHelp": false,
|
|
23
|
+
"hiddenAliases": [],
|
|
24
|
+
"id": "auth",
|
|
25
|
+
"pluginAlias": "@xano/cli",
|
|
26
|
+
"pluginName": "@xano/cli",
|
|
27
|
+
"pluginType": "core",
|
|
28
|
+
"strict": true,
|
|
29
|
+
"enableJsonFlag": false,
|
|
30
|
+
"isESM": true,
|
|
31
|
+
"relativePath": [
|
|
32
|
+
"dist",
|
|
33
|
+
"commands",
|
|
34
|
+
"auth",
|
|
35
|
+
"index.js"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
3
38
|
"branch:create": {
|
|
4
39
|
"aliases": [],
|
|
5
40
|
"args": {},
|
|
@@ -437,90 +472,6 @@
|
|
|
437
472
|
"index.js"
|
|
438
473
|
]
|
|
439
474
|
},
|
|
440
|
-
"branch:set-live": {
|
|
441
|
-
"aliases": [],
|
|
442
|
-
"args": {
|
|
443
|
-
"branch_label": {
|
|
444
|
-
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
445
|
-
"name": "branch_label",
|
|
446
|
-
"required": true
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
"description": "Set a branch as the live (active) branch for API requests",
|
|
450
|
-
"examples": [
|
|
451
|
-
"$ 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",
|
|
452
|
-
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
453
|
-
"$ 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"
|
|
454
|
-
],
|
|
455
|
-
"flags": {
|
|
456
|
-
"profile": {
|
|
457
|
-
"char": "p",
|
|
458
|
-
"description": "Profile to use for this command",
|
|
459
|
-
"env": "XANO_PROFILE",
|
|
460
|
-
"name": "profile",
|
|
461
|
-
"required": false,
|
|
462
|
-
"hasDynamicHelp": false,
|
|
463
|
-
"multiple": false,
|
|
464
|
-
"type": "option"
|
|
465
|
-
},
|
|
466
|
-
"verbose": {
|
|
467
|
-
"char": "v",
|
|
468
|
-
"description": "Show detailed request/response information",
|
|
469
|
-
"env": "XANO_VERBOSE",
|
|
470
|
-
"name": "verbose",
|
|
471
|
-
"required": false,
|
|
472
|
-
"allowNo": false,
|
|
473
|
-
"type": "boolean"
|
|
474
|
-
},
|
|
475
|
-
"force": {
|
|
476
|
-
"char": "f",
|
|
477
|
-
"description": "Skip confirmation prompt",
|
|
478
|
-
"name": "force",
|
|
479
|
-
"required": false,
|
|
480
|
-
"allowNo": false,
|
|
481
|
-
"type": "boolean"
|
|
482
|
-
},
|
|
483
|
-
"output": {
|
|
484
|
-
"char": "o",
|
|
485
|
-
"description": "Output format",
|
|
486
|
-
"name": "output",
|
|
487
|
-
"required": false,
|
|
488
|
-
"default": "summary",
|
|
489
|
-
"hasDynamicHelp": false,
|
|
490
|
-
"multiple": false,
|
|
491
|
-
"options": [
|
|
492
|
-
"summary",
|
|
493
|
-
"json"
|
|
494
|
-
],
|
|
495
|
-
"type": "option"
|
|
496
|
-
},
|
|
497
|
-
"workspace": {
|
|
498
|
-
"char": "w",
|
|
499
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
500
|
-
"name": "workspace",
|
|
501
|
-
"required": false,
|
|
502
|
-
"hasDynamicHelp": false,
|
|
503
|
-
"multiple": false,
|
|
504
|
-
"type": "option"
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
"hasDynamicHelp": false,
|
|
508
|
-
"hiddenAliases": [],
|
|
509
|
-
"id": "branch:set-live",
|
|
510
|
-
"pluginAlias": "@xano/cli",
|
|
511
|
-
"pluginName": "@xano/cli",
|
|
512
|
-
"pluginType": "core",
|
|
513
|
-
"strict": true,
|
|
514
|
-
"enableJsonFlag": false,
|
|
515
|
-
"isESM": true,
|
|
516
|
-
"relativePath": [
|
|
517
|
-
"dist",
|
|
518
|
-
"commands",
|
|
519
|
-
"branch",
|
|
520
|
-
"set-live",
|
|
521
|
-
"index.js"
|
|
522
|
-
]
|
|
523
|
-
},
|
|
524
475
|
"function:create": {
|
|
525
476
|
"aliases": [],
|
|
526
477
|
"args": {},
|
|
@@ -746,23 +697,20 @@
|
|
|
746
697
|
"index.js"
|
|
747
698
|
]
|
|
748
699
|
},
|
|
749
|
-
"
|
|
700
|
+
"branch:set-live": {
|
|
750
701
|
"aliases": [],
|
|
751
702
|
"args": {
|
|
752
|
-
"
|
|
753
|
-
"description": "
|
|
754
|
-
"name": "
|
|
755
|
-
"required":
|
|
703
|
+
"branch_label": {
|
|
704
|
+
"description": "Branch label to set as live (use \"v1\" for default branch)",
|
|
705
|
+
"name": "branch_label",
|
|
706
|
+
"required": true
|
|
756
707
|
}
|
|
757
708
|
},
|
|
758
|
-
"description": "
|
|
709
|
+
"description": "Set a branch as the live (active) branch for API requests",
|
|
759
710
|
"examples": [
|
|
760
|
-
"$ xano
|
|
761
|
-
"$ xano
|
|
762
|
-
"$ xano
|
|
763
|
-
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
764
|
-
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
765
|
-
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
711
|
+
"$ 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",
|
|
712
|
+
"$ xano branch set-live v1 --force\nBranch 'v1' is now live\n",
|
|
713
|
+
"$ 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"
|
|
766
714
|
],
|
|
767
715
|
"flags": {
|
|
768
716
|
"profile": {
|
|
@@ -784,16 +732,10 @@
|
|
|
784
732
|
"allowNo": false,
|
|
785
733
|
"type": "boolean"
|
|
786
734
|
},
|
|
787
|
-
"
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
"
|
|
791
|
-
"allowNo": false,
|
|
792
|
-
"type": "boolean"
|
|
793
|
-
},
|
|
794
|
-
"include_xanoscript": {
|
|
795
|
-
"description": "Include XanoScript in response",
|
|
796
|
-
"name": "include_xanoscript",
|
|
735
|
+
"force": {
|
|
736
|
+
"char": "f",
|
|
737
|
+
"description": "Skip confirmation prompt",
|
|
738
|
+
"name": "force",
|
|
797
739
|
"required": false,
|
|
798
740
|
"allowNo": false,
|
|
799
741
|
"type": "boolean"
|
|
@@ -808,14 +750,13 @@
|
|
|
808
750
|
"multiple": false,
|
|
809
751
|
"options": [
|
|
810
752
|
"summary",
|
|
811
|
-
"json"
|
|
812
|
-
"xs"
|
|
753
|
+
"json"
|
|
813
754
|
],
|
|
814
755
|
"type": "option"
|
|
815
756
|
},
|
|
816
757
|
"workspace": {
|
|
817
758
|
"char": "w",
|
|
818
|
-
"description": "Workspace ID (
|
|
759
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
819
760
|
"name": "workspace",
|
|
820
761
|
"required": false,
|
|
821
762
|
"hasDynamicHelp": false,
|
|
@@ -825,7 +766,7 @@
|
|
|
825
766
|
},
|
|
826
767
|
"hasDynamicHelp": false,
|
|
827
768
|
"hiddenAliases": [],
|
|
828
|
-
"id": "
|
|
769
|
+
"id": "branch:set-live",
|
|
829
770
|
"pluginAlias": "@xano/cli",
|
|
830
771
|
"pluginName": "@xano/cli",
|
|
831
772
|
"pluginType": "core",
|
|
@@ -835,8 +776,8 @@
|
|
|
835
776
|
"relativePath": [
|
|
836
777
|
"dist",
|
|
837
778
|
"commands",
|
|
838
|
-
"
|
|
839
|
-
"
|
|
779
|
+
"branch",
|
|
780
|
+
"set-live",
|
|
840
781
|
"index.js"
|
|
841
782
|
]
|
|
842
783
|
},
|
|
@@ -965,88 +906,76 @@
|
|
|
965
906
|
"index.js"
|
|
966
907
|
]
|
|
967
908
|
},
|
|
968
|
-
"
|
|
909
|
+
"function:get": {
|
|
969
910
|
"aliases": [],
|
|
970
911
|
"args": {
|
|
971
|
-
"
|
|
972
|
-
"description": "
|
|
973
|
-
"name": "
|
|
974
|
-
"required":
|
|
912
|
+
"function_id": {
|
|
913
|
+
"description": "Function ID",
|
|
914
|
+
"name": "function_id",
|
|
915
|
+
"required": false
|
|
975
916
|
}
|
|
976
917
|
},
|
|
977
|
-
"description": "
|
|
918
|
+
"description": "Get a specific function from a workspace",
|
|
978
919
|
"examples": [
|
|
979
|
-
"$ xano
|
|
980
|
-
"$ xano
|
|
981
|
-
"$ xano
|
|
982
|
-
"$ xano
|
|
983
|
-
"$ xano
|
|
920
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
921
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
922
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
923
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
924
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
925
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
984
926
|
],
|
|
985
927
|
"flags": {
|
|
986
|
-
"
|
|
987
|
-
"char": "
|
|
988
|
-
"description": "
|
|
989
|
-
"
|
|
990
|
-
"
|
|
991
|
-
"hasDynamicHelp": false,
|
|
992
|
-
"multiple": false,
|
|
993
|
-
"type": "option"
|
|
994
|
-
},
|
|
995
|
-
"account_origin": {
|
|
996
|
-
"char": "a",
|
|
997
|
-
"description": "Account origin URL. Optional for self hosted installs.",
|
|
998
|
-
"name": "account_origin",
|
|
928
|
+
"profile": {
|
|
929
|
+
"char": "p",
|
|
930
|
+
"description": "Profile to use for this command",
|
|
931
|
+
"env": "XANO_PROFILE",
|
|
932
|
+
"name": "profile",
|
|
999
933
|
"required": false,
|
|
1000
934
|
"hasDynamicHelp": false,
|
|
1001
935
|
"multiple": false,
|
|
1002
936
|
"type": "option"
|
|
1003
937
|
},
|
|
1004
|
-
"
|
|
1005
|
-
"char": "
|
|
1006
|
-
"description": "
|
|
1007
|
-
"
|
|
938
|
+
"verbose": {
|
|
939
|
+
"char": "v",
|
|
940
|
+
"description": "Show detailed request/response information",
|
|
941
|
+
"env": "XANO_VERBOSE",
|
|
942
|
+
"name": "verbose",
|
|
1008
943
|
"required": false,
|
|
1009
|
-
"
|
|
1010
|
-
"
|
|
1011
|
-
"type": "option"
|
|
944
|
+
"allowNo": false,
|
|
945
|
+
"type": "boolean"
|
|
1012
946
|
},
|
|
1013
|
-
"
|
|
1014
|
-
"description": "
|
|
1015
|
-
"name": "
|
|
947
|
+
"include_draft": {
|
|
948
|
+
"description": "Include draft version",
|
|
949
|
+
"name": "include_draft",
|
|
1016
950
|
"required": false,
|
|
1017
951
|
"allowNo": false,
|
|
1018
952
|
"type": "boolean"
|
|
1019
953
|
},
|
|
1020
|
-
"
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1023
|
-
"name": "instance_origin",
|
|
1024
|
-
"required": true,
|
|
1025
|
-
"hasDynamicHelp": false,
|
|
1026
|
-
"multiple": false,
|
|
1027
|
-
"type": "option"
|
|
1028
|
-
},
|
|
1029
|
-
"project": {
|
|
1030
|
-
"char": "j",
|
|
1031
|
-
"description": "Project name",
|
|
1032
|
-
"name": "project",
|
|
954
|
+
"include_xanoscript": {
|
|
955
|
+
"description": "Include XanoScript in response",
|
|
956
|
+
"name": "include_xanoscript",
|
|
1033
957
|
"required": false,
|
|
1034
|
-
"
|
|
1035
|
-
"
|
|
1036
|
-
"type": "option"
|
|
958
|
+
"allowNo": false,
|
|
959
|
+
"type": "boolean"
|
|
1037
960
|
},
|
|
1038
|
-
"
|
|
1039
|
-
"char": "
|
|
1040
|
-
"description": "
|
|
1041
|
-
"name": "
|
|
961
|
+
"output": {
|
|
962
|
+
"char": "o",
|
|
963
|
+
"description": "Output format",
|
|
964
|
+
"name": "output",
|
|
1042
965
|
"required": false,
|
|
966
|
+
"default": "summary",
|
|
1043
967
|
"hasDynamicHelp": false,
|
|
1044
968
|
"multiple": false,
|
|
969
|
+
"options": [
|
|
970
|
+
"summary",
|
|
971
|
+
"json",
|
|
972
|
+
"xs"
|
|
973
|
+
],
|
|
1045
974
|
"type": "option"
|
|
1046
975
|
},
|
|
1047
976
|
"workspace": {
|
|
1048
977
|
"char": "w",
|
|
1049
|
-
"description": "Workspace
|
|
978
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1050
979
|
"name": "workspace",
|
|
1051
980
|
"required": false,
|
|
1052
981
|
"hasDynamicHelp": false,
|
|
@@ -1056,49 +985,7 @@
|
|
|
1056
985
|
},
|
|
1057
986
|
"hasDynamicHelp": false,
|
|
1058
987
|
"hiddenAliases": [],
|
|
1059
|
-
"id": "
|
|
1060
|
-
"pluginAlias": "@xano/cli",
|
|
1061
|
-
"pluginName": "@xano/cli",
|
|
1062
|
-
"pluginType": "core",
|
|
1063
|
-
"strict": true,
|
|
1064
|
-
"enableJsonFlag": false,
|
|
1065
|
-
"isESM": true,
|
|
1066
|
-
"relativePath": [
|
|
1067
|
-
"dist",
|
|
1068
|
-
"commands",
|
|
1069
|
-
"profile",
|
|
1070
|
-
"create",
|
|
1071
|
-
"index.js"
|
|
1072
|
-
]
|
|
1073
|
-
},
|
|
1074
|
-
"profile:delete": {
|
|
1075
|
-
"aliases": [],
|
|
1076
|
-
"args": {
|
|
1077
|
-
"name": {
|
|
1078
|
-
"description": "Profile name to delete",
|
|
1079
|
-
"name": "name",
|
|
1080
|
-
"required": true
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
"description": "Delete a profile configuration",
|
|
1084
|
-
"examples": [
|
|
1085
|
-
"$ 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",
|
|
1086
|
-
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1087
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1088
|
-
],
|
|
1089
|
-
"flags": {
|
|
1090
|
-
"force": {
|
|
1091
|
-
"char": "f",
|
|
1092
|
-
"description": "Skip confirmation prompt",
|
|
1093
|
-
"name": "force",
|
|
1094
|
-
"required": false,
|
|
1095
|
-
"allowNo": false,
|
|
1096
|
-
"type": "boolean"
|
|
1097
|
-
}
|
|
1098
|
-
},
|
|
1099
|
-
"hasDynamicHelp": false,
|
|
1100
|
-
"hiddenAliases": [],
|
|
1101
|
-
"id": "profile:delete",
|
|
988
|
+
"id": "function:get",
|
|
1102
989
|
"pluginAlias": "@xano/cli",
|
|
1103
990
|
"pluginName": "@xano/cli",
|
|
1104
991
|
"pluginType": "core",
|
|
@@ -1108,29 +995,29 @@
|
|
|
1108
995
|
"relativePath": [
|
|
1109
996
|
"dist",
|
|
1110
997
|
"commands",
|
|
1111
|
-
"
|
|
1112
|
-
"
|
|
998
|
+
"function",
|
|
999
|
+
"get",
|
|
1113
1000
|
"index.js"
|
|
1114
1001
|
]
|
|
1115
1002
|
},
|
|
1116
|
-
"
|
|
1003
|
+
"run:exec": {
|
|
1117
1004
|
"aliases": [],
|
|
1118
1005
|
"args": {
|
|
1119
|
-
"
|
|
1120
|
-
"description": "
|
|
1121
|
-
"name": "
|
|
1006
|
+
"path": {
|
|
1007
|
+
"description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
|
|
1008
|
+
"name": "path",
|
|
1122
1009
|
"required": false
|
|
1123
1010
|
}
|
|
1124
1011
|
},
|
|
1125
|
-
"description": "
|
|
1012
|
+
"description": "Execute XanoScript code (job or service)",
|
|
1126
1013
|
"examples": [
|
|
1127
|
-
"$ xano
|
|
1128
|
-
"$ xano
|
|
1129
|
-
"$ xano
|
|
1130
|
-
"$ xano
|
|
1131
|
-
"$ xano
|
|
1132
|
-
"$ xano
|
|
1133
|
-
"$ xano
|
|
1014
|
+
"$ xano run exec script.xs\nExecuted successfully!\n...\n",
|
|
1015
|
+
"$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
|
|
1016
|
+
"$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
|
|
1017
|
+
"$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
|
|
1018
|
+
"$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
|
|
1019
|
+
"$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
|
|
1020
|
+
"$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
|
|
1134
1021
|
],
|
|
1135
1022
|
"flags": {
|
|
1136
1023
|
"profile": {
|
|
@@ -1152,155 +1039,64 @@
|
|
|
1152
1039
|
"allowNo": false,
|
|
1153
1040
|
"type": "boolean"
|
|
1154
1041
|
},
|
|
1155
|
-
"
|
|
1156
|
-
"char": "t",
|
|
1157
|
-
"description": "Update access token for the Xano Metadata API",
|
|
1158
|
-
"name": "access_token",
|
|
1159
|
-
"required": false,
|
|
1160
|
-
"hasDynamicHelp": false,
|
|
1161
|
-
"multiple": false,
|
|
1162
|
-
"type": "option"
|
|
1163
|
-
},
|
|
1164
|
-
"account_origin": {
|
|
1042
|
+
"args": {
|
|
1165
1043
|
"char": "a",
|
|
1166
|
-
"description": "
|
|
1167
|
-
"name": "
|
|
1044
|
+
"description": "Path or URL to JSON file containing input arguments",
|
|
1045
|
+
"name": "args",
|
|
1168
1046
|
"required": false,
|
|
1169
1047
|
"hasDynamicHelp": false,
|
|
1170
1048
|
"multiple": false,
|
|
1171
1049
|
"type": "option"
|
|
1172
1050
|
},
|
|
1173
|
-
"
|
|
1174
|
-
"char": "
|
|
1175
|
-
"description": "
|
|
1176
|
-
"name": "
|
|
1051
|
+
"edit": {
|
|
1052
|
+
"char": "e",
|
|
1053
|
+
"description": "Open file in editor before running (requires path argument or --file)",
|
|
1054
|
+
"name": "edit",
|
|
1177
1055
|
"required": false,
|
|
1178
|
-
"
|
|
1179
|
-
"
|
|
1180
|
-
"type": "option"
|
|
1056
|
+
"allowNo": false,
|
|
1057
|
+
"type": "boolean"
|
|
1181
1058
|
},
|
|
1182
|
-
"
|
|
1183
|
-
"
|
|
1184
|
-
"
|
|
1185
|
-
"name": "instance_origin",
|
|
1059
|
+
"env": {
|
|
1060
|
+
"description": "Environment variable override (key=value)",
|
|
1061
|
+
"name": "env",
|
|
1186
1062
|
"required": false,
|
|
1187
1063
|
"hasDynamicHelp": false,
|
|
1188
|
-
"multiple":
|
|
1064
|
+
"multiple": true,
|
|
1189
1065
|
"type": "option"
|
|
1190
1066
|
},
|
|
1191
|
-
"
|
|
1192
|
-
"char": "
|
|
1193
|
-
"description": "
|
|
1194
|
-
"
|
|
1067
|
+
"file": {
|
|
1068
|
+
"char": "f",
|
|
1069
|
+
"description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
|
|
1070
|
+
"exclusive": [
|
|
1071
|
+
"stdin"
|
|
1072
|
+
],
|
|
1073
|
+
"name": "file",
|
|
1195
1074
|
"required": false,
|
|
1196
1075
|
"hasDynamicHelp": false,
|
|
1197
1076
|
"multiple": false,
|
|
1198
1077
|
"type": "option"
|
|
1199
1078
|
},
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1202
|
-
"
|
|
1203
|
-
"
|
|
1204
|
-
"allowNo": false,
|
|
1205
|
-
"type": "boolean"
|
|
1206
|
-
},
|
|
1207
|
-
"remove-project": {
|
|
1208
|
-
"description": "Remove project from profile",
|
|
1209
|
-
"name": "remove-project",
|
|
1210
|
-
"required": false,
|
|
1211
|
-
"allowNo": false,
|
|
1212
|
-
"type": "boolean"
|
|
1213
|
-
},
|
|
1214
|
-
"remove-run-base-url": {
|
|
1215
|
-
"description": "Remove run_base_url from profile (use default)",
|
|
1216
|
-
"name": "remove-run-base-url",
|
|
1217
|
-
"required": false,
|
|
1218
|
-
"allowNo": false,
|
|
1219
|
-
"type": "boolean"
|
|
1220
|
-
},
|
|
1221
|
-
"remove-workspace": {
|
|
1222
|
-
"description": "Remove workspace from profile",
|
|
1223
|
-
"name": "remove-workspace",
|
|
1224
|
-
"required": false,
|
|
1225
|
-
"allowNo": false,
|
|
1226
|
-
"type": "boolean"
|
|
1227
|
-
},
|
|
1228
|
-
"run_base_url": {
|
|
1229
|
-
"char": "r",
|
|
1230
|
-
"description": "Update Xano Run API base URL",
|
|
1231
|
-
"name": "run_base_url",
|
|
1079
|
+
"output": {
|
|
1080
|
+
"char": "o",
|
|
1081
|
+
"description": "Output format",
|
|
1082
|
+
"name": "output",
|
|
1232
1083
|
"required": false,
|
|
1084
|
+
"default": "summary",
|
|
1233
1085
|
"hasDynamicHelp": false,
|
|
1234
1086
|
"multiple": false,
|
|
1087
|
+
"options": [
|
|
1088
|
+
"summary",
|
|
1089
|
+
"json"
|
|
1090
|
+
],
|
|
1235
1091
|
"type": "option"
|
|
1236
1092
|
},
|
|
1237
|
-
"
|
|
1238
|
-
"char": "
|
|
1239
|
-
"description": "
|
|
1240
|
-
"
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
"
|
|
1244
|
-
"type": "option"
|
|
1245
|
-
}
|
|
1246
|
-
},
|
|
1247
|
-
"hasDynamicHelp": false,
|
|
1248
|
-
"hiddenAliases": [],
|
|
1249
|
-
"id": "profile:edit",
|
|
1250
|
-
"pluginAlias": "@xano/cli",
|
|
1251
|
-
"pluginName": "@xano/cli",
|
|
1252
|
-
"pluginType": "core",
|
|
1253
|
-
"strict": true,
|
|
1254
|
-
"enableJsonFlag": false,
|
|
1255
|
-
"isESM": true,
|
|
1256
|
-
"relativePath": [
|
|
1257
|
-
"dist",
|
|
1258
|
-
"commands",
|
|
1259
|
-
"profile",
|
|
1260
|
-
"edit",
|
|
1261
|
-
"index.js"
|
|
1262
|
-
]
|
|
1263
|
-
},
|
|
1264
|
-
"profile:get-default": {
|
|
1265
|
-
"aliases": [],
|
|
1266
|
-
"args": {},
|
|
1267
|
-
"description": "Get the current default profile name",
|
|
1268
|
-
"examples": [
|
|
1269
|
-
"$ xano profile:get-default\nproduction\n",
|
|
1270
|
-
"$ xano profile:get-default\nNo default profile set\n"
|
|
1271
|
-
],
|
|
1272
|
-
"flags": {},
|
|
1273
|
-
"hasDynamicHelp": false,
|
|
1274
|
-
"hiddenAliases": [],
|
|
1275
|
-
"id": "profile:get-default",
|
|
1276
|
-
"pluginAlias": "@xano/cli",
|
|
1277
|
-
"pluginName": "@xano/cli",
|
|
1278
|
-
"pluginType": "core",
|
|
1279
|
-
"strict": true,
|
|
1280
|
-
"enableJsonFlag": false,
|
|
1281
|
-
"isESM": true,
|
|
1282
|
-
"relativePath": [
|
|
1283
|
-
"dist",
|
|
1284
|
-
"commands",
|
|
1285
|
-
"profile",
|
|
1286
|
-
"get-default",
|
|
1287
|
-
"index.js"
|
|
1288
|
-
]
|
|
1289
|
-
},
|
|
1290
|
-
"profile:list": {
|
|
1291
|
-
"aliases": [],
|
|
1292
|
-
"args": {},
|
|
1293
|
-
"description": "List all available profile configurations",
|
|
1294
|
-
"examples": [
|
|
1295
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1296
|
-
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1297
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1298
|
-
],
|
|
1299
|
-
"flags": {
|
|
1300
|
-
"details": {
|
|
1301
|
-
"char": "d",
|
|
1302
|
-
"description": "Show detailed information for each profile",
|
|
1303
|
-
"name": "details",
|
|
1093
|
+
"stdin": {
|
|
1094
|
+
"char": "s",
|
|
1095
|
+
"description": "Read XanoScript code from stdin",
|
|
1096
|
+
"exclusive": [
|
|
1097
|
+
"file"
|
|
1098
|
+
],
|
|
1099
|
+
"name": "stdin",
|
|
1304
1100
|
"required": false,
|
|
1305
1101
|
"allowNo": false,
|
|
1306
1102
|
"type": "boolean"
|
|
@@ -1308,29 +1104,28 @@
|
|
|
1308
1104
|
},
|
|
1309
1105
|
"hasDynamicHelp": false,
|
|
1310
1106
|
"hiddenAliases": [],
|
|
1311
|
-
"id": "
|
|
1107
|
+
"id": "run:exec",
|
|
1312
1108
|
"pluginAlias": "@xano/cli",
|
|
1313
1109
|
"pluginName": "@xano/cli",
|
|
1314
1110
|
"pluginType": "core",
|
|
1315
1111
|
"strict": true,
|
|
1316
|
-
"enableJsonFlag": false,
|
|
1317
1112
|
"isESM": true,
|
|
1318
1113
|
"relativePath": [
|
|
1319
1114
|
"dist",
|
|
1320
1115
|
"commands",
|
|
1321
|
-
"
|
|
1322
|
-
"
|
|
1116
|
+
"run",
|
|
1117
|
+
"exec",
|
|
1323
1118
|
"index.js"
|
|
1324
1119
|
]
|
|
1325
1120
|
},
|
|
1326
|
-
"
|
|
1121
|
+
"run:info": {
|
|
1327
1122
|
"aliases": [],
|
|
1328
1123
|
"args": {},
|
|
1329
|
-
"description": "Get information about
|
|
1124
|
+
"description": "Get information about a XanoScript document (type, inputs, env vars)",
|
|
1330
1125
|
"examples": [
|
|
1331
|
-
"$ xano
|
|
1332
|
-
"$ xano
|
|
1333
|
-
"$ xano
|
|
1126
|
+
"$ xano run info -f script.xs\nDocument Info:\n Type: job\n Inputs:\n - name (string, required)\n - count (number, optional)\n Environment Variables:\n - API_KEY\n - DEBUG\n",
|
|
1127
|
+
"$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
|
|
1128
|
+
"$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
|
|
1334
1129
|
],
|
|
1335
1130
|
"flags": {
|
|
1336
1131
|
"profile": {
|
|
@@ -1352,10 +1147,22 @@
|
|
|
1352
1147
|
"allowNo": false,
|
|
1353
1148
|
"type": "boolean"
|
|
1354
1149
|
},
|
|
1355
|
-
"
|
|
1356
|
-
"char": "
|
|
1357
|
-
"description": "
|
|
1358
|
-
"
|
|
1150
|
+
"file": {
|
|
1151
|
+
"char": "f",
|
|
1152
|
+
"description": "Path or URL to file containing XanoScript code",
|
|
1153
|
+
"exclusive": [
|
|
1154
|
+
"stdin"
|
|
1155
|
+
],
|
|
1156
|
+
"name": "file",
|
|
1157
|
+
"required": false,
|
|
1158
|
+
"hasDynamicHelp": false,
|
|
1159
|
+
"multiple": false,
|
|
1160
|
+
"type": "option"
|
|
1161
|
+
},
|
|
1162
|
+
"output": {
|
|
1163
|
+
"char": "o",
|
|
1164
|
+
"description": "Output format",
|
|
1165
|
+
"name": "output",
|
|
1359
1166
|
"required": false,
|
|
1360
1167
|
"default": "summary",
|
|
1361
1168
|
"hasDynamicHelp": false,
|
|
@@ -1365,37 +1172,110 @@
|
|
|
1365
1172
|
"json"
|
|
1366
1173
|
],
|
|
1367
1174
|
"type": "option"
|
|
1175
|
+
},
|
|
1176
|
+
"stdin": {
|
|
1177
|
+
"char": "s",
|
|
1178
|
+
"description": "Read XanoScript code from stdin",
|
|
1179
|
+
"exclusive": [
|
|
1180
|
+
"file"
|
|
1181
|
+
],
|
|
1182
|
+
"name": "stdin",
|
|
1183
|
+
"required": false,
|
|
1184
|
+
"allowNo": false,
|
|
1185
|
+
"type": "boolean"
|
|
1368
1186
|
}
|
|
1369
1187
|
},
|
|
1370
1188
|
"hasDynamicHelp": false,
|
|
1371
1189
|
"hiddenAliases": [],
|
|
1372
|
-
"id": "
|
|
1190
|
+
"id": "run:info",
|
|
1373
1191
|
"pluginAlias": "@xano/cli",
|
|
1374
1192
|
"pluginName": "@xano/cli",
|
|
1375
1193
|
"pluginType": "core",
|
|
1376
1194
|
"strict": true,
|
|
1377
|
-
"enableJsonFlag": false,
|
|
1378
1195
|
"isESM": true,
|
|
1379
1196
|
"relativePath": [
|
|
1380
1197
|
"dist",
|
|
1381
1198
|
"commands",
|
|
1382
|
-
"
|
|
1383
|
-
"
|
|
1199
|
+
"run",
|
|
1200
|
+
"info",
|
|
1384
1201
|
"index.js"
|
|
1385
1202
|
]
|
|
1386
1203
|
},
|
|
1387
|
-
"
|
|
1204
|
+
"static_host:list": {
|
|
1388
1205
|
"aliases": [],
|
|
1389
1206
|
"args": {},
|
|
1390
|
-
"description": "
|
|
1207
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1391
1208
|
"examples": [
|
|
1392
|
-
"$ xano
|
|
1393
|
-
"$ xano
|
|
1209
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1210
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1211
|
+
"$ 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",
|
|
1212
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1394
1213
|
],
|
|
1395
|
-
"flags": {
|
|
1214
|
+
"flags": {
|
|
1215
|
+
"profile": {
|
|
1216
|
+
"char": "p",
|
|
1217
|
+
"description": "Profile to use for this command",
|
|
1218
|
+
"env": "XANO_PROFILE",
|
|
1219
|
+
"name": "profile",
|
|
1220
|
+
"required": false,
|
|
1221
|
+
"hasDynamicHelp": false,
|
|
1222
|
+
"multiple": false,
|
|
1223
|
+
"type": "option"
|
|
1224
|
+
},
|
|
1225
|
+
"verbose": {
|
|
1226
|
+
"char": "v",
|
|
1227
|
+
"description": "Show detailed request/response information",
|
|
1228
|
+
"env": "XANO_VERBOSE",
|
|
1229
|
+
"name": "verbose",
|
|
1230
|
+
"required": false,
|
|
1231
|
+
"allowNo": false,
|
|
1232
|
+
"type": "boolean"
|
|
1233
|
+
},
|
|
1234
|
+
"output": {
|
|
1235
|
+
"char": "o",
|
|
1236
|
+
"description": "Output format",
|
|
1237
|
+
"name": "output",
|
|
1238
|
+
"required": false,
|
|
1239
|
+
"default": "summary",
|
|
1240
|
+
"hasDynamicHelp": false,
|
|
1241
|
+
"multiple": false,
|
|
1242
|
+
"options": [
|
|
1243
|
+
"summary",
|
|
1244
|
+
"json"
|
|
1245
|
+
],
|
|
1246
|
+
"type": "option"
|
|
1247
|
+
},
|
|
1248
|
+
"page": {
|
|
1249
|
+
"description": "Page number for pagination",
|
|
1250
|
+
"name": "page",
|
|
1251
|
+
"required": false,
|
|
1252
|
+
"default": 1,
|
|
1253
|
+
"hasDynamicHelp": false,
|
|
1254
|
+
"multiple": false,
|
|
1255
|
+
"type": "option"
|
|
1256
|
+
},
|
|
1257
|
+
"per_page": {
|
|
1258
|
+
"description": "Number of results per page",
|
|
1259
|
+
"name": "per_page",
|
|
1260
|
+
"required": false,
|
|
1261
|
+
"default": 50,
|
|
1262
|
+
"hasDynamicHelp": false,
|
|
1263
|
+
"multiple": false,
|
|
1264
|
+
"type": "option"
|
|
1265
|
+
},
|
|
1266
|
+
"workspace": {
|
|
1267
|
+
"char": "w",
|
|
1268
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1269
|
+
"name": "workspace",
|
|
1270
|
+
"required": false,
|
|
1271
|
+
"hasDynamicHelp": false,
|
|
1272
|
+
"multiple": false,
|
|
1273
|
+
"type": "option"
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1396
1276
|
"hasDynamicHelp": false,
|
|
1397
1277
|
"hiddenAliases": [],
|
|
1398
|
-
"id": "
|
|
1278
|
+
"id": "static_host:list",
|
|
1399
1279
|
"pluginAlias": "@xano/cli",
|
|
1400
1280
|
"pluginName": "@xano/cli",
|
|
1401
1281
|
"pluginType": "core",
|
|
@@ -1405,215 +1285,135 @@
|
|
|
1405
1285
|
"relativePath": [
|
|
1406
1286
|
"dist",
|
|
1407
1287
|
"commands",
|
|
1408
|
-
"
|
|
1409
|
-
"
|
|
1288
|
+
"static_host",
|
|
1289
|
+
"list",
|
|
1410
1290
|
"index.js"
|
|
1411
1291
|
]
|
|
1412
1292
|
},
|
|
1413
|
-
"profile:
|
|
1293
|
+
"profile:create": {
|
|
1414
1294
|
"aliases": [],
|
|
1415
1295
|
"args": {
|
|
1416
1296
|
"name": {
|
|
1417
|
-
"description": "Profile name
|
|
1297
|
+
"description": "Profile name",
|
|
1418
1298
|
"name": "name",
|
|
1419
1299
|
"required": true
|
|
1420
1300
|
}
|
|
1421
1301
|
},
|
|
1422
|
-
"description": "
|
|
1423
|
-
"examples": [
|
|
1424
|
-
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
1425
|
-
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
1426
|
-
],
|
|
1427
|
-
"flags": {},
|
|
1428
|
-
"hasDynamicHelp": false,
|
|
1429
|
-
"hiddenAliases": [],
|
|
1430
|
-
"id": "profile:set-default",
|
|
1431
|
-
"pluginAlias": "@xano/cli",
|
|
1432
|
-
"pluginName": "@xano/cli",
|
|
1433
|
-
"pluginType": "core",
|
|
1434
|
-
"strict": true,
|
|
1435
|
-
"enableJsonFlag": false,
|
|
1436
|
-
"isESM": true,
|
|
1437
|
-
"relativePath": [
|
|
1438
|
-
"dist",
|
|
1439
|
-
"commands",
|
|
1440
|
-
"profile",
|
|
1441
|
-
"set-default",
|
|
1442
|
-
"index.js"
|
|
1443
|
-
]
|
|
1444
|
-
},
|
|
1445
|
-
"profile:token": {
|
|
1446
|
-
"aliases": [],
|
|
1447
|
-
"args": {},
|
|
1448
|
-
"description": "Print the access token for the default profile",
|
|
1449
|
-
"examples": [
|
|
1450
|
-
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1451
|
-
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1452
|
-
],
|
|
1453
|
-
"flags": {},
|
|
1454
|
-
"hasDynamicHelp": false,
|
|
1455
|
-
"hiddenAliases": [],
|
|
1456
|
-
"id": "profile:token",
|
|
1457
|
-
"pluginAlias": "@xano/cli",
|
|
1458
|
-
"pluginName": "@xano/cli",
|
|
1459
|
-
"pluginType": "core",
|
|
1460
|
-
"strict": true,
|
|
1461
|
-
"enableJsonFlag": false,
|
|
1462
|
-
"isESM": true,
|
|
1463
|
-
"relativePath": [
|
|
1464
|
-
"dist",
|
|
1465
|
-
"commands",
|
|
1466
|
-
"profile",
|
|
1467
|
-
"token",
|
|
1468
|
-
"index.js"
|
|
1469
|
-
]
|
|
1470
|
-
},
|
|
1471
|
-
"profile:wizard": {
|
|
1472
|
-
"aliases": [],
|
|
1473
|
-
"args": {},
|
|
1474
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1302
|
+
"description": "Create a new profile configuration",
|
|
1475
1303
|
"examples": [
|
|
1476
|
-
"$ xano profile:
|
|
1304
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
|
|
1305
|
+
"$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
|
|
1306
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1307
|
+
"$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch -j my-project\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
|
|
1308
|
+
"$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
|
|
1477
1309
|
],
|
|
1478
1310
|
"flags": {
|
|
1479
|
-
"
|
|
1480
|
-
"char": "
|
|
1481
|
-
"description": "
|
|
1482
|
-
"name": "
|
|
1483
|
-
"required":
|
|
1311
|
+
"access_token": {
|
|
1312
|
+
"char": "t",
|
|
1313
|
+
"description": "Access token for the Xano Metadata API",
|
|
1314
|
+
"name": "access_token",
|
|
1315
|
+
"required": true,
|
|
1484
1316
|
"hasDynamicHelp": false,
|
|
1485
1317
|
"multiple": false,
|
|
1486
1318
|
"type": "option"
|
|
1487
1319
|
},
|
|
1488
|
-
"
|
|
1489
|
-
"char": "
|
|
1490
|
-
"description": "
|
|
1491
|
-
"name": "
|
|
1320
|
+
"account_origin": {
|
|
1321
|
+
"char": "a",
|
|
1322
|
+
"description": "Account origin URL. Optional for self hosted installs.",
|
|
1323
|
+
"name": "account_origin",
|
|
1492
1324
|
"required": false,
|
|
1493
|
-
"default": "https://app.xano.com",
|
|
1494
1325
|
"hasDynamicHelp": false,
|
|
1495
1326
|
"multiple": false,
|
|
1496
1327
|
"type": "option"
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
"pluginAlias": "@xano/cli",
|
|
1503
|
-
"pluginName": "@xano/cli",
|
|
1504
|
-
"pluginType": "core",
|
|
1505
|
-
"strict": true,
|
|
1506
|
-
"enableJsonFlag": false,
|
|
1507
|
-
"isESM": true,
|
|
1508
|
-
"relativePath": [
|
|
1509
|
-
"dist",
|
|
1510
|
-
"commands",
|
|
1511
|
-
"profile",
|
|
1512
|
-
"wizard",
|
|
1513
|
-
"index.js"
|
|
1514
|
-
]
|
|
1515
|
-
},
|
|
1516
|
-
"run:info": {
|
|
1517
|
-
"aliases": [],
|
|
1518
|
-
"args": {},
|
|
1519
|
-
"description": "Get information about a XanoScript document (type, inputs, env vars)",
|
|
1520
|
-
"examples": [
|
|
1521
|
-
"$ xano run info -f script.xs\nDocument Info:\n Type: job\n Inputs:\n - name (string, required)\n - count (number, optional)\n Environment Variables:\n - API_KEY\n - DEBUG\n",
|
|
1522
|
-
"$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
|
|
1523
|
-
"$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
|
|
1524
|
-
],
|
|
1525
|
-
"flags": {
|
|
1526
|
-
"profile": {
|
|
1527
|
-
"char": "p",
|
|
1528
|
-
"description": "Profile to use for this command",
|
|
1529
|
-
"env": "XANO_PROFILE",
|
|
1530
|
-
"name": "profile",
|
|
1328
|
+
},
|
|
1329
|
+
"branch": {
|
|
1330
|
+
"char": "b",
|
|
1331
|
+
"description": "Branch name",
|
|
1332
|
+
"name": "branch",
|
|
1531
1333
|
"required": false,
|
|
1532
1334
|
"hasDynamicHelp": false,
|
|
1533
1335
|
"multiple": false,
|
|
1534
1336
|
"type": "option"
|
|
1535
1337
|
},
|
|
1536
|
-
"
|
|
1537
|
-
"
|
|
1538
|
-
"
|
|
1539
|
-
"env": "XANO_VERBOSE",
|
|
1540
|
-
"name": "verbose",
|
|
1338
|
+
"default": {
|
|
1339
|
+
"description": "Set this profile as the default",
|
|
1340
|
+
"name": "default",
|
|
1541
1341
|
"required": false,
|
|
1542
1342
|
"allowNo": false,
|
|
1543
1343
|
"type": "boolean"
|
|
1544
1344
|
},
|
|
1545
|
-
"
|
|
1546
|
-
"char": "
|
|
1547
|
-
"description": "
|
|
1548
|
-
"
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
"
|
|
1345
|
+
"instance_origin": {
|
|
1346
|
+
"char": "i",
|
|
1347
|
+
"description": "Instance origin URL",
|
|
1348
|
+
"name": "instance_origin",
|
|
1349
|
+
"required": true,
|
|
1350
|
+
"hasDynamicHelp": false,
|
|
1351
|
+
"multiple": false,
|
|
1352
|
+
"type": "option"
|
|
1353
|
+
},
|
|
1354
|
+
"project": {
|
|
1355
|
+
"char": "j",
|
|
1356
|
+
"description": "Project name",
|
|
1357
|
+
"name": "project",
|
|
1552
1358
|
"required": false,
|
|
1553
1359
|
"hasDynamicHelp": false,
|
|
1554
1360
|
"multiple": false,
|
|
1555
1361
|
"type": "option"
|
|
1556
1362
|
},
|
|
1557
|
-
"
|
|
1558
|
-
"char": "
|
|
1559
|
-
"description": "
|
|
1560
|
-
"name": "
|
|
1363
|
+
"run_base_url": {
|
|
1364
|
+
"char": "r",
|
|
1365
|
+
"description": "Xano Run API base URL (default: https://app.xano.com/)",
|
|
1366
|
+
"name": "run_base_url",
|
|
1561
1367
|
"required": false,
|
|
1562
|
-
"default": "summary",
|
|
1563
1368
|
"hasDynamicHelp": false,
|
|
1564
1369
|
"multiple": false,
|
|
1565
|
-
"options": [
|
|
1566
|
-
"summary",
|
|
1567
|
-
"json"
|
|
1568
|
-
],
|
|
1569
1370
|
"type": "option"
|
|
1570
1371
|
},
|
|
1571
|
-
"
|
|
1572
|
-
"char": "
|
|
1573
|
-
"description": "
|
|
1574
|
-
"
|
|
1575
|
-
"file"
|
|
1576
|
-
],
|
|
1577
|
-
"name": "stdin",
|
|
1372
|
+
"workspace": {
|
|
1373
|
+
"char": "w",
|
|
1374
|
+
"description": "Workspace name",
|
|
1375
|
+
"name": "workspace",
|
|
1578
1376
|
"required": false,
|
|
1579
|
-
"
|
|
1580
|
-
"
|
|
1377
|
+
"hasDynamicHelp": false,
|
|
1378
|
+
"multiple": false,
|
|
1379
|
+
"type": "option"
|
|
1581
1380
|
}
|
|
1582
1381
|
},
|
|
1583
1382
|
"hasDynamicHelp": false,
|
|
1584
1383
|
"hiddenAliases": [],
|
|
1585
|
-
"id": "
|
|
1384
|
+
"id": "profile:create",
|
|
1586
1385
|
"pluginAlias": "@xano/cli",
|
|
1587
1386
|
"pluginName": "@xano/cli",
|
|
1588
1387
|
"pluginType": "core",
|
|
1589
1388
|
"strict": true,
|
|
1389
|
+
"enableJsonFlag": false,
|
|
1590
1390
|
"isESM": true,
|
|
1591
1391
|
"relativePath": [
|
|
1592
1392
|
"dist",
|
|
1593
1393
|
"commands",
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1394
|
+
"profile",
|
|
1395
|
+
"create",
|
|
1596
1396
|
"index.js"
|
|
1597
1397
|
]
|
|
1598
1398
|
},
|
|
1599
|
-
"
|
|
1399
|
+
"profile:edit": {
|
|
1600
1400
|
"aliases": [],
|
|
1601
1401
|
"args": {
|
|
1602
|
-
"
|
|
1603
|
-
"description": "
|
|
1604
|
-
"name": "
|
|
1402
|
+
"name": {
|
|
1403
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1404
|
+
"name": "name",
|
|
1605
1405
|
"required": false
|
|
1606
1406
|
}
|
|
1607
1407
|
},
|
|
1608
|
-
"description": "
|
|
1408
|
+
"description": "Edit an existing profile configuration",
|
|
1609
1409
|
"examples": [
|
|
1610
|
-
"$ xano
|
|
1611
|
-
"$ xano
|
|
1612
|
-
"$ xano
|
|
1613
|
-
"$
|
|
1614
|
-
"$ xano
|
|
1615
|
-
"$ xano
|
|
1616
|
-
"$ xano
|
|
1410
|
+
"$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1411
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1412
|
+
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1413
|
+
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1414
|
+
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1415
|
+
"$ xano profile:edit -j my-project\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1416
|
+
"$ xano profile:edit --remove-project\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1617
1417
|
],
|
|
1618
1418
|
"flags": {
|
|
1619
1419
|
"profile": {
|
|
@@ -1635,64 +1435,197 @@
|
|
|
1635
1435
|
"allowNo": false,
|
|
1636
1436
|
"type": "boolean"
|
|
1637
1437
|
},
|
|
1638
|
-
"
|
|
1438
|
+
"access_token": {
|
|
1439
|
+
"char": "t",
|
|
1440
|
+
"description": "Update access token for the Xano Metadata API",
|
|
1441
|
+
"name": "access_token",
|
|
1442
|
+
"required": false,
|
|
1443
|
+
"hasDynamicHelp": false,
|
|
1444
|
+
"multiple": false,
|
|
1445
|
+
"type": "option"
|
|
1446
|
+
},
|
|
1447
|
+
"account_origin": {
|
|
1639
1448
|
"char": "a",
|
|
1640
|
-
"description": "
|
|
1641
|
-
"name": "
|
|
1449
|
+
"description": "Update account origin URL",
|
|
1450
|
+
"name": "account_origin",
|
|
1642
1451
|
"required": false,
|
|
1643
1452
|
"hasDynamicHelp": false,
|
|
1644
1453
|
"multiple": false,
|
|
1645
1454
|
"type": "option"
|
|
1646
1455
|
},
|
|
1647
|
-
"
|
|
1648
|
-
"char": "
|
|
1649
|
-
"description": "
|
|
1650
|
-
"name": "
|
|
1456
|
+
"branch": {
|
|
1457
|
+
"char": "b",
|
|
1458
|
+
"description": "Update branch name",
|
|
1459
|
+
"name": "branch",
|
|
1651
1460
|
"required": false,
|
|
1652
|
-
"
|
|
1653
|
-
"
|
|
1461
|
+
"hasDynamicHelp": false,
|
|
1462
|
+
"multiple": false,
|
|
1463
|
+
"type": "option"
|
|
1654
1464
|
},
|
|
1655
|
-
"
|
|
1656
|
-
"
|
|
1657
|
-
"
|
|
1465
|
+
"instance_origin": {
|
|
1466
|
+
"char": "i",
|
|
1467
|
+
"description": "Update instance origin URL",
|
|
1468
|
+
"name": "instance_origin",
|
|
1658
1469
|
"required": false,
|
|
1659
1470
|
"hasDynamicHelp": false,
|
|
1660
|
-
"multiple":
|
|
1471
|
+
"multiple": false,
|
|
1661
1472
|
"type": "option"
|
|
1662
1473
|
},
|
|
1663
|
-
"
|
|
1664
|
-
"char": "
|
|
1665
|
-
"description": "
|
|
1666
|
-
"
|
|
1667
|
-
"stdin"
|
|
1668
|
-
],
|
|
1669
|
-
"name": "file",
|
|
1474
|
+
"project": {
|
|
1475
|
+
"char": "j",
|
|
1476
|
+
"description": "Update project ID",
|
|
1477
|
+
"name": "project",
|
|
1670
1478
|
"required": false,
|
|
1671
1479
|
"hasDynamicHelp": false,
|
|
1672
1480
|
"multiple": false,
|
|
1673
1481
|
"type": "option"
|
|
1674
1482
|
},
|
|
1675
|
-
"
|
|
1676
|
-
"
|
|
1677
|
-
"
|
|
1678
|
-
"
|
|
1483
|
+
"remove-branch": {
|
|
1484
|
+
"description": "Remove branch from profile",
|
|
1485
|
+
"name": "remove-branch",
|
|
1486
|
+
"required": false,
|
|
1487
|
+
"allowNo": false,
|
|
1488
|
+
"type": "boolean"
|
|
1489
|
+
},
|
|
1490
|
+
"remove-project": {
|
|
1491
|
+
"description": "Remove project from profile",
|
|
1492
|
+
"name": "remove-project",
|
|
1493
|
+
"required": false,
|
|
1494
|
+
"allowNo": false,
|
|
1495
|
+
"type": "boolean"
|
|
1496
|
+
},
|
|
1497
|
+
"remove-run-base-url": {
|
|
1498
|
+
"description": "Remove run_base_url from profile (use default)",
|
|
1499
|
+
"name": "remove-run-base-url",
|
|
1500
|
+
"required": false,
|
|
1501
|
+
"allowNo": false,
|
|
1502
|
+
"type": "boolean"
|
|
1503
|
+
},
|
|
1504
|
+
"remove-workspace": {
|
|
1505
|
+
"description": "Remove workspace from profile",
|
|
1506
|
+
"name": "remove-workspace",
|
|
1507
|
+
"required": false,
|
|
1508
|
+
"allowNo": false,
|
|
1509
|
+
"type": "boolean"
|
|
1510
|
+
},
|
|
1511
|
+
"run_base_url": {
|
|
1512
|
+
"char": "r",
|
|
1513
|
+
"description": "Update Xano Run API base URL",
|
|
1514
|
+
"name": "run_base_url",
|
|
1679
1515
|
"required": false,
|
|
1680
|
-
"default": "summary",
|
|
1681
1516
|
"hasDynamicHelp": false,
|
|
1682
1517
|
"multiple": false,
|
|
1683
|
-
"options": [
|
|
1684
|
-
"summary",
|
|
1685
|
-
"json"
|
|
1686
|
-
],
|
|
1687
1518
|
"type": "option"
|
|
1688
1519
|
},
|
|
1689
|
-
"
|
|
1690
|
-
"char": "
|
|
1691
|
-
"description": "
|
|
1692
|
-
"
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
"
|
|
1520
|
+
"workspace": {
|
|
1521
|
+
"char": "w",
|
|
1522
|
+
"description": "Update workspace name",
|
|
1523
|
+
"name": "workspace",
|
|
1524
|
+
"required": false,
|
|
1525
|
+
"hasDynamicHelp": false,
|
|
1526
|
+
"multiple": false,
|
|
1527
|
+
"type": "option"
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
"hasDynamicHelp": false,
|
|
1531
|
+
"hiddenAliases": [],
|
|
1532
|
+
"id": "profile:edit",
|
|
1533
|
+
"pluginAlias": "@xano/cli",
|
|
1534
|
+
"pluginName": "@xano/cli",
|
|
1535
|
+
"pluginType": "core",
|
|
1536
|
+
"strict": true,
|
|
1537
|
+
"enableJsonFlag": false,
|
|
1538
|
+
"isESM": true,
|
|
1539
|
+
"relativePath": [
|
|
1540
|
+
"dist",
|
|
1541
|
+
"commands",
|
|
1542
|
+
"profile",
|
|
1543
|
+
"edit",
|
|
1544
|
+
"index.js"
|
|
1545
|
+
]
|
|
1546
|
+
},
|
|
1547
|
+
"profile:get-default": {
|
|
1548
|
+
"aliases": [],
|
|
1549
|
+
"args": {},
|
|
1550
|
+
"description": "Get the current default profile name",
|
|
1551
|
+
"examples": [
|
|
1552
|
+
"$ xano profile:get-default\nproduction\n",
|
|
1553
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
1554
|
+
],
|
|
1555
|
+
"flags": {},
|
|
1556
|
+
"hasDynamicHelp": false,
|
|
1557
|
+
"hiddenAliases": [],
|
|
1558
|
+
"id": "profile:get-default",
|
|
1559
|
+
"pluginAlias": "@xano/cli",
|
|
1560
|
+
"pluginName": "@xano/cli",
|
|
1561
|
+
"pluginType": "core",
|
|
1562
|
+
"strict": true,
|
|
1563
|
+
"enableJsonFlag": false,
|
|
1564
|
+
"isESM": true,
|
|
1565
|
+
"relativePath": [
|
|
1566
|
+
"dist",
|
|
1567
|
+
"commands",
|
|
1568
|
+
"profile",
|
|
1569
|
+
"get-default",
|
|
1570
|
+
"index.js"
|
|
1571
|
+
]
|
|
1572
|
+
},
|
|
1573
|
+
"profile:delete": {
|
|
1574
|
+
"aliases": [],
|
|
1575
|
+
"args": {
|
|
1576
|
+
"name": {
|
|
1577
|
+
"description": "Profile name to delete",
|
|
1578
|
+
"name": "name",
|
|
1579
|
+
"required": true
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
"description": "Delete a profile configuration",
|
|
1583
|
+
"examples": [
|
|
1584
|
+
"$ 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",
|
|
1585
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
1586
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1587
|
+
],
|
|
1588
|
+
"flags": {
|
|
1589
|
+
"force": {
|
|
1590
|
+
"char": "f",
|
|
1591
|
+
"description": "Skip confirmation prompt",
|
|
1592
|
+
"name": "force",
|
|
1593
|
+
"required": false,
|
|
1594
|
+
"allowNo": false,
|
|
1595
|
+
"type": "boolean"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
"hasDynamicHelp": false,
|
|
1599
|
+
"hiddenAliases": [],
|
|
1600
|
+
"id": "profile:delete",
|
|
1601
|
+
"pluginAlias": "@xano/cli",
|
|
1602
|
+
"pluginName": "@xano/cli",
|
|
1603
|
+
"pluginType": "core",
|
|
1604
|
+
"strict": true,
|
|
1605
|
+
"enableJsonFlag": false,
|
|
1606
|
+
"isESM": true,
|
|
1607
|
+
"relativePath": [
|
|
1608
|
+
"dist",
|
|
1609
|
+
"commands",
|
|
1610
|
+
"profile",
|
|
1611
|
+
"delete",
|
|
1612
|
+
"index.js"
|
|
1613
|
+
]
|
|
1614
|
+
},
|
|
1615
|
+
"profile:list": {
|
|
1616
|
+
"aliases": [],
|
|
1617
|
+
"args": {},
|
|
1618
|
+
"description": "List all available profile configurations",
|
|
1619
|
+
"examples": [
|
|
1620
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1621
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
1622
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
1623
|
+
],
|
|
1624
|
+
"flags": {
|
|
1625
|
+
"details": {
|
|
1626
|
+
"char": "d",
|
|
1627
|
+
"description": "Show detailed information for each profile",
|
|
1628
|
+
"name": "details",
|
|
1696
1629
|
"required": false,
|
|
1697
1630
|
"allowNo": false,
|
|
1698
1631
|
"type": "boolean"
|
|
@@ -1700,29 +1633,29 @@
|
|
|
1700
1633
|
},
|
|
1701
1634
|
"hasDynamicHelp": false,
|
|
1702
1635
|
"hiddenAliases": [],
|
|
1703
|
-
"id": "
|
|
1636
|
+
"id": "profile:list",
|
|
1704
1637
|
"pluginAlias": "@xano/cli",
|
|
1705
1638
|
"pluginName": "@xano/cli",
|
|
1706
1639
|
"pluginType": "core",
|
|
1707
1640
|
"strict": true,
|
|
1641
|
+
"enableJsonFlag": false,
|
|
1708
1642
|
"isESM": true,
|
|
1709
1643
|
"relativePath": [
|
|
1710
1644
|
"dist",
|
|
1711
1645
|
"commands",
|
|
1712
|
-
"
|
|
1713
|
-
"
|
|
1646
|
+
"profile",
|
|
1647
|
+
"list",
|
|
1714
1648
|
"index.js"
|
|
1715
1649
|
]
|
|
1716
1650
|
},
|
|
1717
|
-
"
|
|
1651
|
+
"profile:me": {
|
|
1718
1652
|
"aliases": [],
|
|
1719
1653
|
"args": {},
|
|
1720
|
-
"description": "
|
|
1654
|
+
"description": "Get information about the currently authenticated user",
|
|
1721
1655
|
"examples": [
|
|
1722
|
-
"$ xano
|
|
1723
|
-
"$ xano
|
|
1724
|
-
"$ xano
|
|
1725
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
1656
|
+
"$ xano profile:me\nUser Information:\n ID: 1\n Name: John Doe\n Email: john@example.com\n",
|
|
1657
|
+
"$ xano profile:me --profile production\nUser Information:\n ID: 42\n Name: Admin User\n Email: admin@example.com\n",
|
|
1658
|
+
"$ xano profile:me --output json\n{\n \"id\": 1,\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\"\n}\n"
|
|
1726
1659
|
],
|
|
1727
1660
|
"flags": {
|
|
1728
1661
|
"profile": {
|
|
@@ -1757,30 +1690,106 @@
|
|
|
1757
1690
|
"json"
|
|
1758
1691
|
],
|
|
1759
1692
|
"type": "option"
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
"hasDynamicHelp": false,
|
|
1696
|
+
"hiddenAliases": [],
|
|
1697
|
+
"id": "profile:me",
|
|
1698
|
+
"pluginAlias": "@xano/cli",
|
|
1699
|
+
"pluginName": "@xano/cli",
|
|
1700
|
+
"pluginType": "core",
|
|
1701
|
+
"strict": true,
|
|
1702
|
+
"enableJsonFlag": false,
|
|
1703
|
+
"isESM": true,
|
|
1704
|
+
"relativePath": [
|
|
1705
|
+
"dist",
|
|
1706
|
+
"commands",
|
|
1707
|
+
"profile",
|
|
1708
|
+
"me",
|
|
1709
|
+
"index.js"
|
|
1710
|
+
]
|
|
1711
|
+
},
|
|
1712
|
+
"profile:set-default": {
|
|
1713
|
+
"aliases": [],
|
|
1714
|
+
"args": {
|
|
1715
|
+
"name": {
|
|
1716
|
+
"description": "Profile name to set as default",
|
|
1717
|
+
"name": "name",
|
|
1718
|
+
"required": true
|
|
1719
|
+
}
|
|
1720
|
+
},
|
|
1721
|
+
"description": "Set the default profile",
|
|
1722
|
+
"examples": [
|
|
1723
|
+
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
1724
|
+
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
1725
|
+
],
|
|
1726
|
+
"flags": {},
|
|
1727
|
+
"hasDynamicHelp": false,
|
|
1728
|
+
"hiddenAliases": [],
|
|
1729
|
+
"id": "profile:set-default",
|
|
1730
|
+
"pluginAlias": "@xano/cli",
|
|
1731
|
+
"pluginName": "@xano/cli",
|
|
1732
|
+
"pluginType": "core",
|
|
1733
|
+
"strict": true,
|
|
1734
|
+
"enableJsonFlag": false,
|
|
1735
|
+
"isESM": true,
|
|
1736
|
+
"relativePath": [
|
|
1737
|
+
"dist",
|
|
1738
|
+
"commands",
|
|
1739
|
+
"profile",
|
|
1740
|
+
"set-default",
|
|
1741
|
+
"index.js"
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1744
|
+
"profile:token": {
|
|
1745
|
+
"aliases": [],
|
|
1746
|
+
"args": {},
|
|
1747
|
+
"description": "Print the access token for the default profile",
|
|
1748
|
+
"examples": [
|
|
1749
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
1750
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
1751
|
+
],
|
|
1752
|
+
"flags": {},
|
|
1753
|
+
"hasDynamicHelp": false,
|
|
1754
|
+
"hiddenAliases": [],
|
|
1755
|
+
"id": "profile:token",
|
|
1756
|
+
"pluginAlias": "@xano/cli",
|
|
1757
|
+
"pluginName": "@xano/cli",
|
|
1758
|
+
"pluginType": "core",
|
|
1759
|
+
"strict": true,
|
|
1760
|
+
"enableJsonFlag": false,
|
|
1761
|
+
"isESM": true,
|
|
1762
|
+
"relativePath": [
|
|
1763
|
+
"dist",
|
|
1764
|
+
"commands",
|
|
1765
|
+
"profile",
|
|
1766
|
+
"token",
|
|
1767
|
+
"index.js"
|
|
1768
|
+
]
|
|
1769
|
+
},
|
|
1770
|
+
"profile:wizard": {
|
|
1771
|
+
"aliases": [],
|
|
1772
|
+
"args": {},
|
|
1773
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1774
|
+
"examples": [
|
|
1775
|
+
"$ 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"
|
|
1776
|
+
],
|
|
1777
|
+
"flags": {
|
|
1778
|
+
"name": {
|
|
1779
|
+
"char": "n",
|
|
1780
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1781
|
+
"name": "name",
|
|
1773
1782
|
"required": false,
|
|
1774
|
-
"default": 50,
|
|
1775
1783
|
"hasDynamicHelp": false,
|
|
1776
1784
|
"multiple": false,
|
|
1777
1785
|
"type": "option"
|
|
1778
1786
|
},
|
|
1779
|
-
"
|
|
1780
|
-
"char": "
|
|
1781
|
-
"description": "
|
|
1782
|
-
"name": "
|
|
1787
|
+
"origin": {
|
|
1788
|
+
"char": "o",
|
|
1789
|
+
"description": "Xano instance origin URL",
|
|
1790
|
+
"name": "origin",
|
|
1783
1791
|
"required": false,
|
|
1792
|
+
"default": "https://app.xano.com",
|
|
1784
1793
|
"hasDynamicHelp": false,
|
|
1785
1794
|
"multiple": false,
|
|
1786
1795
|
"type": "option"
|
|
@@ -1788,7 +1797,7 @@
|
|
|
1788
1797
|
},
|
|
1789
1798
|
"hasDynamicHelp": false,
|
|
1790
1799
|
"hiddenAliases": [],
|
|
1791
|
-
"id": "
|
|
1800
|
+
"id": "profile:wizard",
|
|
1792
1801
|
"pluginAlias": "@xano/cli",
|
|
1793
1802
|
"pluginName": "@xano/cli",
|
|
1794
1803
|
"pluginType": "core",
|
|
@@ -1798,8 +1807,8 @@
|
|
|
1798
1807
|
"relativePath": [
|
|
1799
1808
|
"dist",
|
|
1800
1809
|
"commands",
|
|
1801
|
-
"
|
|
1802
|
-
"
|
|
1810
|
+
"profile",
|
|
1811
|
+
"wizard",
|
|
1803
1812
|
"index.js"
|
|
1804
1813
|
]
|
|
1805
1814
|
},
|
|
@@ -1982,6 +1991,81 @@
|
|
|
1982
1991
|
"index.js"
|
|
1983
1992
|
]
|
|
1984
1993
|
},
|
|
1994
|
+
"workspace:delete": {
|
|
1995
|
+
"aliases": [],
|
|
1996
|
+
"args": {
|
|
1997
|
+
"workspace_id": {
|
|
1998
|
+
"description": "Workspace ID to delete",
|
|
1999
|
+
"name": "workspace_id",
|
|
2000
|
+
"required": true
|
|
2001
|
+
}
|
|
2002
|
+
},
|
|
2003
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
2004
|
+
"examples": [
|
|
2005
|
+
"$ 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",
|
|
2006
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
2007
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
2008
|
+
],
|
|
2009
|
+
"flags": {
|
|
2010
|
+
"profile": {
|
|
2011
|
+
"char": "p",
|
|
2012
|
+
"description": "Profile to use for this command",
|
|
2013
|
+
"env": "XANO_PROFILE",
|
|
2014
|
+
"name": "profile",
|
|
2015
|
+
"required": false,
|
|
2016
|
+
"hasDynamicHelp": false,
|
|
2017
|
+
"multiple": false,
|
|
2018
|
+
"type": "option"
|
|
2019
|
+
},
|
|
2020
|
+
"verbose": {
|
|
2021
|
+
"char": "v",
|
|
2022
|
+
"description": "Show detailed request/response information",
|
|
2023
|
+
"env": "XANO_VERBOSE",
|
|
2024
|
+
"name": "verbose",
|
|
2025
|
+
"required": false,
|
|
2026
|
+
"allowNo": false,
|
|
2027
|
+
"type": "boolean"
|
|
2028
|
+
},
|
|
2029
|
+
"force": {
|
|
2030
|
+
"char": "f",
|
|
2031
|
+
"description": "Skip confirmation prompt",
|
|
2032
|
+
"name": "force",
|
|
2033
|
+
"required": false,
|
|
2034
|
+
"allowNo": false,
|
|
2035
|
+
"type": "boolean"
|
|
2036
|
+
},
|
|
2037
|
+
"output": {
|
|
2038
|
+
"char": "o",
|
|
2039
|
+
"description": "Output format",
|
|
2040
|
+
"name": "output",
|
|
2041
|
+
"required": false,
|
|
2042
|
+
"default": "summary",
|
|
2043
|
+
"hasDynamicHelp": false,
|
|
2044
|
+
"multiple": false,
|
|
2045
|
+
"options": [
|
|
2046
|
+
"summary",
|
|
2047
|
+
"json"
|
|
2048
|
+
],
|
|
2049
|
+
"type": "option"
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
"hasDynamicHelp": false,
|
|
2053
|
+
"hiddenAliases": [],
|
|
2054
|
+
"id": "workspace:delete",
|
|
2055
|
+
"pluginAlias": "@xano/cli",
|
|
2056
|
+
"pluginName": "@xano/cli",
|
|
2057
|
+
"pluginType": "core",
|
|
2058
|
+
"strict": true,
|
|
2059
|
+
"enableJsonFlag": false,
|
|
2060
|
+
"isESM": true,
|
|
2061
|
+
"relativePath": [
|
|
2062
|
+
"dist",
|
|
2063
|
+
"commands",
|
|
2064
|
+
"workspace",
|
|
2065
|
+
"delete",
|
|
2066
|
+
"index.js"
|
|
2067
|
+
]
|
|
2068
|
+
},
|
|
1985
2069
|
"workspace:get": {
|
|
1986
2070
|
"aliases": [],
|
|
1987
2071
|
"args": {
|
|
@@ -2369,9 +2453,35 @@
|
|
|
2369
2453
|
"relativePath": [
|
|
2370
2454
|
"dist",
|
|
2371
2455
|
"commands",
|
|
2372
|
-
"run",
|
|
2373
|
-
"env",
|
|
2374
|
-
"get",
|
|
2456
|
+
"run",
|
|
2457
|
+
"env",
|
|
2458
|
+
"get",
|
|
2459
|
+
"index.js"
|
|
2460
|
+
]
|
|
2461
|
+
},
|
|
2462
|
+
"profile:project": {
|
|
2463
|
+
"aliases": [],
|
|
2464
|
+
"args": {},
|
|
2465
|
+
"description": "Print the project for the default profile",
|
|
2466
|
+
"examples": [
|
|
2467
|
+
"$ xano profile:project\nmy-project-id\n",
|
|
2468
|
+
"$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
|
|
2469
|
+
],
|
|
2470
|
+
"flags": {},
|
|
2471
|
+
"hasDynamicHelp": false,
|
|
2472
|
+
"hiddenAliases": [],
|
|
2473
|
+
"id": "profile:project",
|
|
2474
|
+
"pluginAlias": "@xano/cli",
|
|
2475
|
+
"pluginName": "@xano/cli",
|
|
2476
|
+
"pluginType": "core",
|
|
2477
|
+
"strict": true,
|
|
2478
|
+
"enableJsonFlag": false,
|
|
2479
|
+
"isESM": true,
|
|
2480
|
+
"relativePath": [
|
|
2481
|
+
"dist",
|
|
2482
|
+
"commands",
|
|
2483
|
+
"profile",
|
|
2484
|
+
"project",
|
|
2375
2485
|
"index.js"
|
|
2376
2486
|
]
|
|
2377
2487
|
},
|
|
@@ -2492,81 +2602,6 @@
|
|
|
2492
2602
|
"index.js"
|
|
2493
2603
|
]
|
|
2494
2604
|
},
|
|
2495
|
-
"workspace:delete": {
|
|
2496
|
-
"aliases": [],
|
|
2497
|
-
"args": {
|
|
2498
|
-
"workspace_id": {
|
|
2499
|
-
"description": "Workspace ID to delete",
|
|
2500
|
-
"name": "workspace_id",
|
|
2501
|
-
"required": true
|
|
2502
|
-
}
|
|
2503
|
-
},
|
|
2504
|
-
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
2505
|
-
"examples": [
|
|
2506
|
-
"$ 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",
|
|
2507
|
-
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
2508
|
-
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
2509
|
-
],
|
|
2510
|
-
"flags": {
|
|
2511
|
-
"profile": {
|
|
2512
|
-
"char": "p",
|
|
2513
|
-
"description": "Profile to use for this command",
|
|
2514
|
-
"env": "XANO_PROFILE",
|
|
2515
|
-
"name": "profile",
|
|
2516
|
-
"required": false,
|
|
2517
|
-
"hasDynamicHelp": false,
|
|
2518
|
-
"multiple": false,
|
|
2519
|
-
"type": "option"
|
|
2520
|
-
},
|
|
2521
|
-
"verbose": {
|
|
2522
|
-
"char": "v",
|
|
2523
|
-
"description": "Show detailed request/response information",
|
|
2524
|
-
"env": "XANO_VERBOSE",
|
|
2525
|
-
"name": "verbose",
|
|
2526
|
-
"required": false,
|
|
2527
|
-
"allowNo": false,
|
|
2528
|
-
"type": "boolean"
|
|
2529
|
-
},
|
|
2530
|
-
"force": {
|
|
2531
|
-
"char": "f",
|
|
2532
|
-
"description": "Skip confirmation prompt",
|
|
2533
|
-
"name": "force",
|
|
2534
|
-
"required": false,
|
|
2535
|
-
"allowNo": false,
|
|
2536
|
-
"type": "boolean"
|
|
2537
|
-
},
|
|
2538
|
-
"output": {
|
|
2539
|
-
"char": "o",
|
|
2540
|
-
"description": "Output format",
|
|
2541
|
-
"name": "output",
|
|
2542
|
-
"required": false,
|
|
2543
|
-
"default": "summary",
|
|
2544
|
-
"hasDynamicHelp": false,
|
|
2545
|
-
"multiple": false,
|
|
2546
|
-
"options": [
|
|
2547
|
-
"summary",
|
|
2548
|
-
"json"
|
|
2549
|
-
],
|
|
2550
|
-
"type": "option"
|
|
2551
|
-
}
|
|
2552
|
-
},
|
|
2553
|
-
"hasDynamicHelp": false,
|
|
2554
|
-
"hiddenAliases": [],
|
|
2555
|
-
"id": "workspace:delete",
|
|
2556
|
-
"pluginAlias": "@xano/cli",
|
|
2557
|
-
"pluginName": "@xano/cli",
|
|
2558
|
-
"pluginType": "core",
|
|
2559
|
-
"strict": true,
|
|
2560
|
-
"enableJsonFlag": false,
|
|
2561
|
-
"isESM": true,
|
|
2562
|
-
"relativePath": [
|
|
2563
|
-
"dist",
|
|
2564
|
-
"commands",
|
|
2565
|
-
"workspace",
|
|
2566
|
-
"delete",
|
|
2567
|
-
"index.js"
|
|
2568
|
-
]
|
|
2569
|
-
},
|
|
2570
2605
|
"run:projects:create": {
|
|
2571
2606
|
"aliases": [],
|
|
2572
2607
|
"args": {},
|
|
@@ -2647,19 +2682,20 @@
|
|
|
2647
2682
|
"index.js"
|
|
2648
2683
|
]
|
|
2649
2684
|
},
|
|
2650
|
-
"run:projects:
|
|
2685
|
+
"run:projects:update": {
|
|
2651
2686
|
"aliases": [],
|
|
2652
2687
|
"args": {
|
|
2653
2688
|
"projectId": {
|
|
2654
|
-
"description": "Project ID to
|
|
2689
|
+
"description": "Project ID to update",
|
|
2655
2690
|
"name": "projectId",
|
|
2656
2691
|
"required": true
|
|
2657
2692
|
}
|
|
2658
2693
|
},
|
|
2659
|
-
"description": "
|
|
2694
|
+
"description": "Update a project",
|
|
2660
2695
|
"examples": [
|
|
2661
|
-
"$ xano run projects
|
|
2662
|
-
"$ xano run projects
|
|
2696
|
+
"$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
|
|
2697
|
+
"$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
|
|
2698
|
+
"$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
|
|
2663
2699
|
],
|
|
2664
2700
|
"flags": {
|
|
2665
2701
|
"profile": {
|
|
@@ -2681,18 +2717,42 @@
|
|
|
2681
2717
|
"allowNo": false,
|
|
2682
2718
|
"type": "boolean"
|
|
2683
2719
|
},
|
|
2684
|
-
"
|
|
2685
|
-
"char": "
|
|
2686
|
-
"description": "
|
|
2687
|
-
"name": "
|
|
2720
|
+
"description": {
|
|
2721
|
+
"char": "d",
|
|
2722
|
+
"description": "New project description",
|
|
2723
|
+
"name": "description",
|
|
2688
2724
|
"required": false,
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2725
|
+
"hasDynamicHelp": false,
|
|
2726
|
+
"multiple": false,
|
|
2727
|
+
"type": "option"
|
|
2728
|
+
},
|
|
2729
|
+
"name": {
|
|
2730
|
+
"char": "n",
|
|
2731
|
+
"description": "New project name",
|
|
2732
|
+
"name": "name",
|
|
2733
|
+
"required": false,
|
|
2734
|
+
"hasDynamicHelp": false,
|
|
2735
|
+
"multiple": false,
|
|
2736
|
+
"type": "option"
|
|
2737
|
+
},
|
|
2738
|
+
"output": {
|
|
2739
|
+
"char": "o",
|
|
2740
|
+
"description": "Output format",
|
|
2741
|
+
"name": "output",
|
|
2742
|
+
"required": false,
|
|
2743
|
+
"default": "summary",
|
|
2744
|
+
"hasDynamicHelp": false,
|
|
2745
|
+
"multiple": false,
|
|
2746
|
+
"options": [
|
|
2747
|
+
"summary",
|
|
2748
|
+
"json"
|
|
2749
|
+
],
|
|
2750
|
+
"type": "option"
|
|
2691
2751
|
}
|
|
2692
2752
|
},
|
|
2693
2753
|
"hasDynamicHelp": false,
|
|
2694
2754
|
"hiddenAliases": [],
|
|
2695
|
-
"id": "run:projects:
|
|
2755
|
+
"id": "run:projects:update",
|
|
2696
2756
|
"pluginAlias": "@xano/cli",
|
|
2697
2757
|
"pluginName": "@xano/cli",
|
|
2698
2758
|
"pluginType": "core",
|
|
@@ -2703,7 +2763,7 @@
|
|
|
2703
2763
|
"commands",
|
|
2704
2764
|
"run",
|
|
2705
2765
|
"projects",
|
|
2706
|
-
"
|
|
2766
|
+
"update",
|
|
2707
2767
|
"index.js"
|
|
2708
2768
|
]
|
|
2709
2769
|
},
|
|
@@ -2767,20 +2827,19 @@
|
|
|
2767
2827
|
"index.js"
|
|
2768
2828
|
]
|
|
2769
2829
|
},
|
|
2770
|
-
"run:
|
|
2830
|
+
"run:secrets:delete": {
|
|
2771
2831
|
"aliases": [],
|
|
2772
2832
|
"args": {
|
|
2773
|
-
"
|
|
2774
|
-
"description": "
|
|
2775
|
-
"name": "
|
|
2833
|
+
"name": {
|
|
2834
|
+
"description": "Secret name",
|
|
2835
|
+
"name": "name",
|
|
2776
2836
|
"required": true
|
|
2777
2837
|
}
|
|
2778
2838
|
},
|
|
2779
|
-
"description": "
|
|
2839
|
+
"description": "Delete a secret",
|
|
2780
2840
|
"examples": [
|
|
2781
|
-
"$ xano run
|
|
2782
|
-
"$ xano run
|
|
2783
|
-
"$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
|
|
2841
|
+
"$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
|
|
2842
|
+
"$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
|
|
2784
2843
|
],
|
|
2785
2844
|
"flags": {
|
|
2786
2845
|
"profile": {
|
|
@@ -2802,42 +2861,18 @@
|
|
|
2802
2861
|
"allowNo": false,
|
|
2803
2862
|
"type": "boolean"
|
|
2804
2863
|
},
|
|
2805
|
-
"
|
|
2806
|
-
"char": "
|
|
2807
|
-
"description": "
|
|
2808
|
-
"name": "
|
|
2809
|
-
"required": false,
|
|
2810
|
-
"hasDynamicHelp": false,
|
|
2811
|
-
"multiple": false,
|
|
2812
|
-
"type": "option"
|
|
2813
|
-
},
|
|
2814
|
-
"name": {
|
|
2815
|
-
"char": "n",
|
|
2816
|
-
"description": "New project name",
|
|
2817
|
-
"name": "name",
|
|
2818
|
-
"required": false,
|
|
2819
|
-
"hasDynamicHelp": false,
|
|
2820
|
-
"multiple": false,
|
|
2821
|
-
"type": "option"
|
|
2822
|
-
},
|
|
2823
|
-
"output": {
|
|
2824
|
-
"char": "o",
|
|
2825
|
-
"description": "Output format",
|
|
2826
|
-
"name": "output",
|
|
2864
|
+
"force": {
|
|
2865
|
+
"char": "f",
|
|
2866
|
+
"description": "Skip confirmation prompt",
|
|
2867
|
+
"name": "force",
|
|
2827
2868
|
"required": false,
|
|
2828
|
-
"
|
|
2829
|
-
"
|
|
2830
|
-
"multiple": false,
|
|
2831
|
-
"options": [
|
|
2832
|
-
"summary",
|
|
2833
|
-
"json"
|
|
2834
|
-
],
|
|
2835
|
-
"type": "option"
|
|
2869
|
+
"allowNo": false,
|
|
2870
|
+
"type": "boolean"
|
|
2836
2871
|
}
|
|
2837
2872
|
},
|
|
2838
2873
|
"hasDynamicHelp": false,
|
|
2839
2874
|
"hiddenAliases": [],
|
|
2840
|
-
"id": "run:
|
|
2875
|
+
"id": "run:secrets:delete",
|
|
2841
2876
|
"pluginAlias": "@xano/cli",
|
|
2842
2877
|
"pluginName": "@xano/cli",
|
|
2843
2878
|
"pluginType": "core",
|
|
@@ -2847,12 +2882,12 @@
|
|
|
2847
2882
|
"dist",
|
|
2848
2883
|
"commands",
|
|
2849
2884
|
"run",
|
|
2850
|
-
"
|
|
2851
|
-
"
|
|
2885
|
+
"secrets",
|
|
2886
|
+
"delete",
|
|
2852
2887
|
"index.js"
|
|
2853
2888
|
]
|
|
2854
2889
|
},
|
|
2855
|
-
"run:secrets:
|
|
2890
|
+
"run:secrets:get": {
|
|
2856
2891
|
"aliases": [],
|
|
2857
2892
|
"args": {
|
|
2858
2893
|
"name": {
|
|
@@ -2861,10 +2896,10 @@
|
|
|
2861
2896
|
"required": true
|
|
2862
2897
|
}
|
|
2863
2898
|
},
|
|
2864
|
-
"description": "
|
|
2899
|
+
"description": "Get a secret value",
|
|
2865
2900
|
"examples": [
|
|
2866
|
-
"$ xano run secrets
|
|
2867
|
-
"$ xano run secrets
|
|
2901
|
+
"$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
|
|
2902
|
+
"$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
|
|
2868
2903
|
],
|
|
2869
2904
|
"flags": {
|
|
2870
2905
|
"profile": {
|
|
@@ -2886,18 +2921,24 @@
|
|
|
2886
2921
|
"allowNo": false,
|
|
2887
2922
|
"type": "boolean"
|
|
2888
2923
|
},
|
|
2889
|
-
"
|
|
2890
|
-
"char": "
|
|
2891
|
-
"description": "
|
|
2892
|
-
"name": "
|
|
2924
|
+
"output": {
|
|
2925
|
+
"char": "o",
|
|
2926
|
+
"description": "Output format",
|
|
2927
|
+
"name": "output",
|
|
2893
2928
|
"required": false,
|
|
2894
|
-
"
|
|
2895
|
-
"
|
|
2929
|
+
"default": "value",
|
|
2930
|
+
"hasDynamicHelp": false,
|
|
2931
|
+
"multiple": false,
|
|
2932
|
+
"options": [
|
|
2933
|
+
"value",
|
|
2934
|
+
"json"
|
|
2935
|
+
],
|
|
2936
|
+
"type": "option"
|
|
2896
2937
|
}
|
|
2897
2938
|
},
|
|
2898
2939
|
"hasDynamicHelp": false,
|
|
2899
2940
|
"hiddenAliases": [],
|
|
2900
|
-
"id": "run:secrets:
|
|
2941
|
+
"id": "run:secrets:get",
|
|
2901
2942
|
"pluginAlias": "@xano/cli",
|
|
2902
2943
|
"pluginName": "@xano/cli",
|
|
2903
2944
|
"pluginType": "core",
|
|
@@ -2908,23 +2949,23 @@
|
|
|
2908
2949
|
"commands",
|
|
2909
2950
|
"run",
|
|
2910
2951
|
"secrets",
|
|
2911
|
-
"
|
|
2952
|
+
"get",
|
|
2912
2953
|
"index.js"
|
|
2913
2954
|
]
|
|
2914
2955
|
},
|
|
2915
|
-
"run:
|
|
2956
|
+
"run:projects:delete": {
|
|
2916
2957
|
"aliases": [],
|
|
2917
2958
|
"args": {
|
|
2918
|
-
"
|
|
2919
|
-
"description": "
|
|
2920
|
-
"name": "
|
|
2959
|
+
"projectId": {
|
|
2960
|
+
"description": "Project ID to delete",
|
|
2961
|
+
"name": "projectId",
|
|
2921
2962
|
"required": true
|
|
2922
2963
|
}
|
|
2923
2964
|
},
|
|
2924
|
-
"description": "
|
|
2965
|
+
"description": "Delete a project",
|
|
2925
2966
|
"examples": [
|
|
2926
|
-
"$ xano run
|
|
2927
|
-
"$ xano run
|
|
2967
|
+
"$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
|
|
2968
|
+
"$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
|
|
2928
2969
|
],
|
|
2929
2970
|
"flags": {
|
|
2930
2971
|
"profile": {
|
|
@@ -2946,24 +2987,18 @@
|
|
|
2946
2987
|
"allowNo": false,
|
|
2947
2988
|
"type": "boolean"
|
|
2948
2989
|
},
|
|
2949
|
-
"
|
|
2950
|
-
"char": "
|
|
2951
|
-
"description": "
|
|
2952
|
-
"name": "
|
|
2990
|
+
"force": {
|
|
2991
|
+
"char": "f",
|
|
2992
|
+
"description": "Skip confirmation prompt",
|
|
2993
|
+
"name": "force",
|
|
2953
2994
|
"required": false,
|
|
2954
|
-
"
|
|
2955
|
-
"
|
|
2956
|
-
"multiple": false,
|
|
2957
|
-
"options": [
|
|
2958
|
-
"value",
|
|
2959
|
-
"json"
|
|
2960
|
-
],
|
|
2961
|
-
"type": "option"
|
|
2995
|
+
"allowNo": false,
|
|
2996
|
+
"type": "boolean"
|
|
2962
2997
|
}
|
|
2963
2998
|
},
|
|
2964
2999
|
"hasDynamicHelp": false,
|
|
2965
3000
|
"hiddenAliases": [],
|
|
2966
|
-
"id": "run:
|
|
3001
|
+
"id": "run:projects:delete",
|
|
2967
3002
|
"pluginAlias": "@xano/cli",
|
|
2968
3003
|
"pluginName": "@xano/cli",
|
|
2969
3004
|
"pluginType": "core",
|
|
@@ -2973,8 +3008,8 @@
|
|
|
2973
3008
|
"dist",
|
|
2974
3009
|
"commands",
|
|
2975
3010
|
"run",
|
|
2976
|
-
"
|
|
2977
|
-
"
|
|
3011
|
+
"projects",
|
|
3012
|
+
"delete",
|
|
2978
3013
|
"index.js"
|
|
2979
3014
|
]
|
|
2980
3015
|
},
|
|
@@ -3181,19 +3216,13 @@
|
|
|
3181
3216
|
"index.js"
|
|
3182
3217
|
]
|
|
3183
3218
|
},
|
|
3184
|
-
"run:sessions:
|
|
3219
|
+
"run:sessions:list": {
|
|
3185
3220
|
"aliases": [],
|
|
3186
|
-
"args": {
|
|
3187
|
-
|
|
3188
|
-
"description": "Session ID",
|
|
3189
|
-
"name": "sessionId",
|
|
3190
|
-
"required": true
|
|
3191
|
-
}
|
|
3192
|
-
},
|
|
3193
|
-
"description": "Get session details",
|
|
3221
|
+
"args": {},
|
|
3222
|
+
"description": "List all sessions for the project",
|
|
3194
3223
|
"examples": [
|
|
3195
|
-
"$ xano run sessions
|
|
3196
|
-
"$ xano run sessions
|
|
3224
|
+
"$ xano run sessions list\nID STATE CREATED\nabc123-def456-ghi789 running 2024-01-15T10:30:00Z\nxyz789-uvw456-rst123 stopped 2024-01-14T09:00:00Z\n",
|
|
3225
|
+
"$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
|
|
3197
3226
|
],
|
|
3198
3227
|
"flags": {
|
|
3199
3228
|
"profile": {
|
|
@@ -3220,11 +3249,11 @@
|
|
|
3220
3249
|
"description": "Output format",
|
|
3221
3250
|
"name": "output",
|
|
3222
3251
|
"required": false,
|
|
3223
|
-
"default": "
|
|
3252
|
+
"default": "table",
|
|
3224
3253
|
"hasDynamicHelp": false,
|
|
3225
3254
|
"multiple": false,
|
|
3226
3255
|
"options": [
|
|
3227
|
-
"
|
|
3256
|
+
"table",
|
|
3228
3257
|
"json"
|
|
3229
3258
|
],
|
|
3230
3259
|
"type": "option"
|
|
@@ -3232,7 +3261,7 @@
|
|
|
3232
3261
|
},
|
|
3233
3262
|
"hasDynamicHelp": false,
|
|
3234
3263
|
"hiddenAliases": [],
|
|
3235
|
-
"id": "run:sessions:
|
|
3264
|
+
"id": "run:sessions:list",
|
|
3236
3265
|
"pluginAlias": "@xano/cli",
|
|
3237
3266
|
"pluginName": "@xano/cli",
|
|
3238
3267
|
"pluginType": "core",
|
|
@@ -3243,17 +3272,23 @@
|
|
|
3243
3272
|
"commands",
|
|
3244
3273
|
"run",
|
|
3245
3274
|
"sessions",
|
|
3246
|
-
"
|
|
3275
|
+
"list",
|
|
3247
3276
|
"index.js"
|
|
3248
3277
|
]
|
|
3249
3278
|
},
|
|
3250
|
-
"run:sessions:
|
|
3279
|
+
"run:sessions:get": {
|
|
3251
3280
|
"aliases": [],
|
|
3252
|
-
"args": {
|
|
3253
|
-
|
|
3281
|
+
"args": {
|
|
3282
|
+
"sessionId": {
|
|
3283
|
+
"description": "Session ID",
|
|
3284
|
+
"name": "sessionId",
|
|
3285
|
+
"required": true
|
|
3286
|
+
}
|
|
3287
|
+
},
|
|
3288
|
+
"description": "Get session details",
|
|
3254
3289
|
"examples": [
|
|
3255
|
-
"$ xano run sessions
|
|
3256
|
-
"$ xano run sessions
|
|
3290
|
+
"$ xano run sessions get abc123-def456\nSession Details:\n ID: abc123-def456\n Name: My Session\n Status: running\n Access: private\n URL: https://session.xano.io/abc123\n Uptime: 3600s\n",
|
|
3291
|
+
"$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
|
|
3257
3292
|
],
|
|
3258
3293
|
"flags": {
|
|
3259
3294
|
"profile": {
|
|
@@ -3280,11 +3315,11 @@
|
|
|
3280
3315
|
"description": "Output format",
|
|
3281
3316
|
"name": "output",
|
|
3282
3317
|
"required": false,
|
|
3283
|
-
"default": "
|
|
3318
|
+
"default": "summary",
|
|
3284
3319
|
"hasDynamicHelp": false,
|
|
3285
3320
|
"multiple": false,
|
|
3286
3321
|
"options": [
|
|
3287
|
-
"
|
|
3322
|
+
"summary",
|
|
3288
3323
|
"json"
|
|
3289
3324
|
],
|
|
3290
3325
|
"type": "option"
|
|
@@ -3292,7 +3327,7 @@
|
|
|
3292
3327
|
},
|
|
3293
3328
|
"hasDynamicHelp": false,
|
|
3294
3329
|
"hiddenAliases": [],
|
|
3295
|
-
"id": "run:sessions:
|
|
3330
|
+
"id": "run:sessions:get",
|
|
3296
3331
|
"pluginAlias": "@xano/cli",
|
|
3297
3332
|
"pluginName": "@xano/cli",
|
|
3298
3333
|
"pluginType": "core",
|
|
@@ -3303,11 +3338,11 @@
|
|
|
3303
3338
|
"commands",
|
|
3304
3339
|
"run",
|
|
3305
3340
|
"sessions",
|
|
3306
|
-
"
|
|
3341
|
+
"get",
|
|
3307
3342
|
"index.js"
|
|
3308
3343
|
]
|
|
3309
3344
|
},
|
|
3310
|
-
"run:sessions:
|
|
3345
|
+
"run:sessions:start": {
|
|
3311
3346
|
"aliases": [],
|
|
3312
3347
|
"args": {
|
|
3313
3348
|
"sessionId": {
|
|
@@ -3316,10 +3351,10 @@
|
|
|
3316
3351
|
"required": true
|
|
3317
3352
|
}
|
|
3318
3353
|
},
|
|
3319
|
-
"description": "
|
|
3354
|
+
"description": "Start a session",
|
|
3320
3355
|
"examples": [
|
|
3321
|
-
"$ xano run sessions
|
|
3322
|
-
"$ xano run sessions
|
|
3356
|
+
"$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
|
|
3357
|
+
"$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
|
|
3323
3358
|
],
|
|
3324
3359
|
"flags": {
|
|
3325
3360
|
"profile": {
|
|
@@ -3358,7 +3393,7 @@
|
|
|
3358
3393
|
},
|
|
3359
3394
|
"hasDynamicHelp": false,
|
|
3360
3395
|
"hiddenAliases": [],
|
|
3361
|
-
"id": "run:sessions:
|
|
3396
|
+
"id": "run:sessions:start",
|
|
3362
3397
|
"pluginAlias": "@xano/cli",
|
|
3363
3398
|
"pluginName": "@xano/cli",
|
|
3364
3399
|
"pluginType": "core",
|
|
@@ -3369,23 +3404,24 @@
|
|
|
3369
3404
|
"commands",
|
|
3370
3405
|
"run",
|
|
3371
3406
|
"sessions",
|
|
3372
|
-
"
|
|
3407
|
+
"start",
|
|
3373
3408
|
"index.js"
|
|
3374
3409
|
]
|
|
3375
3410
|
},
|
|
3376
|
-
"
|
|
3411
|
+
"static_host:build:create": {
|
|
3377
3412
|
"aliases": [],
|
|
3378
3413
|
"args": {
|
|
3379
|
-
"
|
|
3380
|
-
"description": "
|
|
3381
|
-
"name": "
|
|
3414
|
+
"static_host": {
|
|
3415
|
+
"description": "Static Host name",
|
|
3416
|
+
"name": "static_host",
|
|
3382
3417
|
"required": true
|
|
3383
3418
|
}
|
|
3384
3419
|
},
|
|
3385
|
-
"description": "
|
|
3420
|
+
"description": "Create a new build for a static host",
|
|
3386
3421
|
"examples": [
|
|
3387
|
-
"$ xano
|
|
3388
|
-
"$ xano
|
|
3422
|
+
"$ 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",
|
|
3423
|
+
"$ 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",
|
|
3424
|
+
"$ 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"
|
|
3389
3425
|
],
|
|
3390
3426
|
"flags": {
|
|
3391
3427
|
"profile": {
|
|
@@ -3407,6 +3443,33 @@
|
|
|
3407
3443
|
"allowNo": false,
|
|
3408
3444
|
"type": "boolean"
|
|
3409
3445
|
},
|
|
3446
|
+
"description": {
|
|
3447
|
+
"char": "d",
|
|
3448
|
+
"description": "Build description",
|
|
3449
|
+
"name": "description",
|
|
3450
|
+
"required": false,
|
|
3451
|
+
"hasDynamicHelp": false,
|
|
3452
|
+
"multiple": false,
|
|
3453
|
+
"type": "option"
|
|
3454
|
+
},
|
|
3455
|
+
"file": {
|
|
3456
|
+
"char": "f",
|
|
3457
|
+
"description": "Path to zip file to upload",
|
|
3458
|
+
"name": "file",
|
|
3459
|
+
"required": true,
|
|
3460
|
+
"hasDynamicHelp": false,
|
|
3461
|
+
"multiple": false,
|
|
3462
|
+
"type": "option"
|
|
3463
|
+
},
|
|
3464
|
+
"name": {
|
|
3465
|
+
"char": "n",
|
|
3466
|
+
"description": "Build name",
|
|
3467
|
+
"name": "name",
|
|
3468
|
+
"required": true,
|
|
3469
|
+
"hasDynamicHelp": false,
|
|
3470
|
+
"multiple": false,
|
|
3471
|
+
"type": "option"
|
|
3472
|
+
},
|
|
3410
3473
|
"output": {
|
|
3411
3474
|
"char": "o",
|
|
3412
3475
|
"description": "Output format",
|
|
@@ -3420,38 +3483,55 @@
|
|
|
3420
3483
|
"json"
|
|
3421
3484
|
],
|
|
3422
3485
|
"type": "option"
|
|
3486
|
+
},
|
|
3487
|
+
"workspace": {
|
|
3488
|
+
"char": "w",
|
|
3489
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3490
|
+
"name": "workspace",
|
|
3491
|
+
"required": false,
|
|
3492
|
+
"hasDynamicHelp": false,
|
|
3493
|
+
"multiple": false,
|
|
3494
|
+
"type": "option"
|
|
3423
3495
|
}
|
|
3424
3496
|
},
|
|
3425
3497
|
"hasDynamicHelp": false,
|
|
3426
3498
|
"hiddenAliases": [],
|
|
3427
|
-
"id": "
|
|
3499
|
+
"id": "static_host:build:create",
|
|
3428
3500
|
"pluginAlias": "@xano/cli",
|
|
3429
3501
|
"pluginName": "@xano/cli",
|
|
3430
3502
|
"pluginType": "core",
|
|
3431
3503
|
"strict": true,
|
|
3504
|
+
"enableJsonFlag": false,
|
|
3432
3505
|
"isESM": true,
|
|
3433
3506
|
"relativePath": [
|
|
3434
3507
|
"dist",
|
|
3435
3508
|
"commands",
|
|
3436
|
-
"
|
|
3437
|
-
"
|
|
3438
|
-
"
|
|
3509
|
+
"static_host",
|
|
3510
|
+
"build",
|
|
3511
|
+
"create",
|
|
3439
3512
|
"index.js"
|
|
3440
3513
|
]
|
|
3441
3514
|
},
|
|
3442
|
-
"
|
|
3515
|
+
"static_host:build:get": {
|
|
3443
3516
|
"aliases": [],
|
|
3444
3517
|
"args": {
|
|
3445
|
-
"
|
|
3446
|
-
"description": "
|
|
3447
|
-
"name": "
|
|
3518
|
+
"build_id": {
|
|
3519
|
+
"description": "Build ID",
|
|
3520
|
+
"name": "build_id",
|
|
3521
|
+
"required": true
|
|
3522
|
+
},
|
|
3523
|
+
"static_host": {
|
|
3524
|
+
"description": "Static Host name",
|
|
3525
|
+
"name": "static_host",
|
|
3448
3526
|
"required": true
|
|
3449
3527
|
}
|
|
3450
3528
|
},
|
|
3451
|
-
"description": "Get
|
|
3529
|
+
"description": "Get details of a specific build for a static host",
|
|
3452
3530
|
"examples": [
|
|
3453
|
-
"$ xano
|
|
3454
|
-
"$ xano
|
|
3531
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
3532
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
3533
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
3534
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
3455
3535
|
],
|
|
3456
3536
|
"flags": {
|
|
3457
3537
|
"profile": {
|
|
@@ -3486,39 +3566,48 @@
|
|
|
3486
3566
|
"json"
|
|
3487
3567
|
],
|
|
3488
3568
|
"type": "option"
|
|
3569
|
+
},
|
|
3570
|
+
"workspace": {
|
|
3571
|
+
"char": "w",
|
|
3572
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
3573
|
+
"name": "workspace",
|
|
3574
|
+
"required": false,
|
|
3575
|
+
"hasDynamicHelp": false,
|
|
3576
|
+
"multiple": false,
|
|
3577
|
+
"type": "option"
|
|
3489
3578
|
}
|
|
3490
3579
|
},
|
|
3491
3580
|
"hasDynamicHelp": false,
|
|
3492
3581
|
"hiddenAliases": [],
|
|
3493
|
-
"id": "
|
|
3582
|
+
"id": "static_host:build:get",
|
|
3494
3583
|
"pluginAlias": "@xano/cli",
|
|
3495
3584
|
"pluginName": "@xano/cli",
|
|
3496
3585
|
"pluginType": "core",
|
|
3497
3586
|
"strict": true,
|
|
3587
|
+
"enableJsonFlag": false,
|
|
3498
3588
|
"isESM": true,
|
|
3499
3589
|
"relativePath": [
|
|
3500
3590
|
"dist",
|
|
3501
3591
|
"commands",
|
|
3502
|
-
"
|
|
3503
|
-
"
|
|
3592
|
+
"static_host",
|
|
3593
|
+
"build",
|
|
3504
3594
|
"get",
|
|
3505
3595
|
"index.js"
|
|
3506
3596
|
]
|
|
3507
3597
|
},
|
|
3508
|
-
"
|
|
3598
|
+
"run:sessions:stop": {
|
|
3509
3599
|
"aliases": [],
|
|
3510
3600
|
"args": {
|
|
3511
|
-
"
|
|
3512
|
-
"description": "
|
|
3513
|
-
"name": "
|
|
3601
|
+
"sessionId": {
|
|
3602
|
+
"description": "Session ID",
|
|
3603
|
+
"name": "sessionId",
|
|
3514
3604
|
"required": true
|
|
3515
3605
|
}
|
|
3516
3606
|
},
|
|
3517
|
-
"description": "
|
|
3607
|
+
"description": "Stop a session",
|
|
3518
3608
|
"examples": [
|
|
3519
|
-
"$ xano
|
|
3520
|
-
"$ xano
|
|
3521
|
-
"$ 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"
|
|
3609
|
+
"$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
|
|
3610
|
+
"$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
|
|
3522
3611
|
],
|
|
3523
3612
|
"flags": {
|
|
3524
3613
|
"profile": {
|
|
@@ -3540,33 +3629,6 @@
|
|
|
3540
3629
|
"allowNo": false,
|
|
3541
3630
|
"type": "boolean"
|
|
3542
3631
|
},
|
|
3543
|
-
"description": {
|
|
3544
|
-
"char": "d",
|
|
3545
|
-
"description": "Build description",
|
|
3546
|
-
"name": "description",
|
|
3547
|
-
"required": false,
|
|
3548
|
-
"hasDynamicHelp": false,
|
|
3549
|
-
"multiple": false,
|
|
3550
|
-
"type": "option"
|
|
3551
|
-
},
|
|
3552
|
-
"file": {
|
|
3553
|
-
"char": "f",
|
|
3554
|
-
"description": "Path to zip file to upload",
|
|
3555
|
-
"name": "file",
|
|
3556
|
-
"required": true,
|
|
3557
|
-
"hasDynamicHelp": false,
|
|
3558
|
-
"multiple": false,
|
|
3559
|
-
"type": "option"
|
|
3560
|
-
},
|
|
3561
|
-
"name": {
|
|
3562
|
-
"char": "n",
|
|
3563
|
-
"description": "Build name",
|
|
3564
|
-
"name": "name",
|
|
3565
|
-
"required": true,
|
|
3566
|
-
"hasDynamicHelp": false,
|
|
3567
|
-
"multiple": false,
|
|
3568
|
-
"type": "option"
|
|
3569
|
-
},
|
|
3570
3632
|
"output": {
|
|
3571
3633
|
"char": "o",
|
|
3572
3634
|
"description": "Output format",
|
|
@@ -3580,55 +3642,38 @@
|
|
|
3580
3642
|
"json"
|
|
3581
3643
|
],
|
|
3582
3644
|
"type": "option"
|
|
3583
|
-
},
|
|
3584
|
-
"workspace": {
|
|
3585
|
-
"char": "w",
|
|
3586
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
3587
|
-
"name": "workspace",
|
|
3588
|
-
"required": false,
|
|
3589
|
-
"hasDynamicHelp": false,
|
|
3590
|
-
"multiple": false,
|
|
3591
|
-
"type": "option"
|
|
3592
3645
|
}
|
|
3593
3646
|
},
|
|
3594
3647
|
"hasDynamicHelp": false,
|
|
3595
3648
|
"hiddenAliases": [],
|
|
3596
|
-
"id": "
|
|
3649
|
+
"id": "run:sessions:stop",
|
|
3597
3650
|
"pluginAlias": "@xano/cli",
|
|
3598
3651
|
"pluginName": "@xano/cli",
|
|
3599
3652
|
"pluginType": "core",
|
|
3600
3653
|
"strict": true,
|
|
3601
|
-
"enableJsonFlag": false,
|
|
3602
3654
|
"isESM": true,
|
|
3603
3655
|
"relativePath": [
|
|
3604
3656
|
"dist",
|
|
3605
3657
|
"commands",
|
|
3606
|
-
"
|
|
3607
|
-
"
|
|
3608
|
-
"
|
|
3658
|
+
"run",
|
|
3659
|
+
"sessions",
|
|
3660
|
+
"stop",
|
|
3609
3661
|
"index.js"
|
|
3610
3662
|
]
|
|
3611
3663
|
},
|
|
3612
|
-
"
|
|
3664
|
+
"run:sink:get": {
|
|
3613
3665
|
"aliases": [],
|
|
3614
3666
|
"args": {
|
|
3615
|
-
"
|
|
3616
|
-
"description": "
|
|
3617
|
-
"name": "
|
|
3618
|
-
"required": true
|
|
3619
|
-
},
|
|
3620
|
-
"static_host": {
|
|
3621
|
-
"description": "Static Host name",
|
|
3622
|
-
"name": "static_host",
|
|
3667
|
+
"sessionId": {
|
|
3668
|
+
"description": "Session ID",
|
|
3669
|
+
"name": "sessionId",
|
|
3623
3670
|
"required": true
|
|
3624
3671
|
}
|
|
3625
3672
|
},
|
|
3626
|
-
"description": "Get
|
|
3673
|
+
"description": "Get sink data for a completed session",
|
|
3627
3674
|
"examples": [
|
|
3628
|
-
"$ xano
|
|
3629
|
-
"$ xano
|
|
3630
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
3631
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
3675
|
+
"$ xano run sink get abc123-def456\nSink Data:\n Tables: 3\n - users (5 rows)\n - orders (12 rows)\n - products (8 rows)\n Logs: 15 entries\n",
|
|
3676
|
+
"$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
|
|
3632
3677
|
],
|
|
3633
3678
|
"flags": {
|
|
3634
3679
|
"profile": {
|
|
@@ -3663,31 +3708,21 @@
|
|
|
3663
3708
|
"json"
|
|
3664
3709
|
],
|
|
3665
3710
|
"type": "option"
|
|
3666
|
-
},
|
|
3667
|
-
"workspace": {
|
|
3668
|
-
"char": "w",
|
|
3669
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
3670
|
-
"name": "workspace",
|
|
3671
|
-
"required": false,
|
|
3672
|
-
"hasDynamicHelp": false,
|
|
3673
|
-
"multiple": false,
|
|
3674
|
-
"type": "option"
|
|
3675
3711
|
}
|
|
3676
3712
|
},
|
|
3677
3713
|
"hasDynamicHelp": false,
|
|
3678
3714
|
"hiddenAliases": [],
|
|
3679
|
-
"id": "
|
|
3715
|
+
"id": "run:sink:get",
|
|
3680
3716
|
"pluginAlias": "@xano/cli",
|
|
3681
3717
|
"pluginName": "@xano/cli",
|
|
3682
3718
|
"pluginType": "core",
|
|
3683
3719
|
"strict": true,
|
|
3684
|
-
"enableJsonFlag": false,
|
|
3685
3720
|
"isESM": true,
|
|
3686
3721
|
"relativePath": [
|
|
3687
3722
|
"dist",
|
|
3688
3723
|
"commands",
|
|
3689
|
-
"
|
|
3690
|
-
"
|
|
3724
|
+
"run",
|
|
3725
|
+
"sink",
|
|
3691
3726
|
"get",
|
|
3692
3727
|
"index.js"
|
|
3693
3728
|
]
|
|
@@ -3789,5 +3824,5 @@
|
|
|
3789
3824
|
]
|
|
3790
3825
|
}
|
|
3791
3826
|
},
|
|
3792
|
-
"version": "0.0.
|
|
3827
|
+
"version": "0.0.25"
|
|
3793
3828
|
}
|