@xano/cli 0.0.18 → 0.0.19

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.
@@ -408,86 +408,6 @@
408
408
  "index.js"
409
409
  ]
410
410
  },
411
- "static_host:list": {
412
- "aliases": [],
413
- "args": {},
414
- "description": "List all static hosts in a workspace from the Xano Metadata API",
415
- "examples": [
416
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
417
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
418
- "$ 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",
419
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
420
- ],
421
- "flags": {
422
- "profile": {
423
- "char": "p",
424
- "description": "Profile to use for this command",
425
- "env": "XANO_PROFILE",
426
- "name": "profile",
427
- "required": false,
428
- "hasDynamicHelp": false,
429
- "multiple": false,
430
- "type": "option"
431
- },
432
- "workspace": {
433
- "char": "w",
434
- "description": "Workspace ID (optional if set in profile)",
435
- "name": "workspace",
436
- "required": false,
437
- "hasDynamicHelp": false,
438
- "multiple": false,
439
- "type": "option"
440
- },
441
- "output": {
442
- "char": "o",
443
- "description": "Output format",
444
- "name": "output",
445
- "required": false,
446
- "default": "summary",
447
- "hasDynamicHelp": false,
448
- "multiple": false,
449
- "options": [
450
- "summary",
451
- "json"
452
- ],
453
- "type": "option"
454
- },
455
- "page": {
456
- "description": "Page number for pagination",
457
- "name": "page",
458
- "required": false,
459
- "default": 1,
460
- "hasDynamicHelp": false,
461
- "multiple": false,
462
- "type": "option"
463
- },
464
- "per_page": {
465
- "description": "Number of results per page",
466
- "name": "per_page",
467
- "required": false,
468
- "default": 50,
469
- "hasDynamicHelp": false,
470
- "multiple": false,
471
- "type": "option"
472
- }
473
- },
474
- "hasDynamicHelp": false,
475
- "hiddenAliases": [],
476
- "id": "static_host:list",
477
- "pluginAlias": "@xano/cli",
478
- "pluginName": "@xano/cli",
479
- "pluginType": "core",
480
- "strict": true,
481
- "enableJsonFlag": false,
482
- "isESM": true,
483
- "relativePath": [
484
- "dist",
485
- "commands",
486
- "static_host",
487
- "list",
488
- "index.js"
489
- ]
490
- },
491
411
  "profile:create": {
492
412
  "aliases": [],
493
413
  "args": {
@@ -733,32 +653,6 @@
733
653
  "index.js"
734
654
  ]
735
655
  },
736
- "profile:get-default": {
737
- "aliases": [],
738
- "args": {},
739
- "description": "Get the current default profile name",
740
- "examples": [
741
- "$ xano profile:get-default\nproduction\n",
742
- "$ xano profile:get-default\nNo default profile set\n"
743
- ],
744
- "flags": {},
745
- "hasDynamicHelp": false,
746
- "hiddenAliases": [],
747
- "id": "profile:get-default",
748
- "pluginAlias": "@xano/cli",
749
- "pluginName": "@xano/cli",
750
- "pluginType": "core",
751
- "strict": true,
752
- "enableJsonFlag": false,
753
- "isESM": true,
754
- "relativePath": [
755
- "dist",
756
- "commands",
757
- "profile",
758
- "get-default",
759
- "index.js"
760
- ]
761
- },
762
656
  "profile:delete": {
763
657
  "aliases": [],
764
658
  "args": {
@@ -801,6 +695,42 @@
801
695
  "index.js"
802
696
  ]
803
697
  },
698
+ "profile:list": {
699
+ "aliases": [],
700
+ "args": {},
701
+ "description": "List all available profile configurations",
702
+ "examples": [
703
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
704
+ "$ 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",
705
+ "$ 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"
706
+ ],
707
+ "flags": {
708
+ "details": {
709
+ "char": "d",
710
+ "description": "Show detailed information for each profile",
711
+ "name": "details",
712
+ "required": false,
713
+ "allowNo": false,
714
+ "type": "boolean"
715
+ }
716
+ },
717
+ "hasDynamicHelp": false,
718
+ "hiddenAliases": [],
719
+ "id": "profile:list",
720
+ "pluginAlias": "@xano/cli",
721
+ "pluginName": "@xano/cli",
722
+ "pluginType": "core",
723
+ "strict": true,
724
+ "enableJsonFlag": false,
725
+ "isESM": true,
726
+ "relativePath": [
727
+ "dist",
728
+ "commands",
729
+ "profile",
730
+ "list",
731
+ "index.js"
732
+ ]
733
+ },
804
734
  "profile:me": {
805
735
  "aliases": [],
806
736
  "args": {},
@@ -853,32 +783,6 @@
853
783
  "index.js"
854
784
  ]
855
785
  },
856
- "profile:token": {
857
- "aliases": [],
858
- "args": {},
859
- "description": "Print the access token for the default profile",
860
- "examples": [
861
- "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
862
- "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
863
- ],
864
- "flags": {},
865
- "hasDynamicHelp": false,
866
- "hiddenAliases": [],
867
- "id": "profile:token",
868
- "pluginAlias": "@xano/cli",
869
- "pluginName": "@xano/cli",
870
- "pluginType": "core",
871
- "strict": true,
872
- "enableJsonFlag": false,
873
- "isESM": true,
874
- "relativePath": [
875
- "dist",
876
- "commands",
877
- "profile",
878
- "token",
879
- "index.js"
880
- ]
881
- },
882
786
  "profile:set-default": {
883
787
  "aliases": [],
884
788
  "args": {
@@ -937,140 +841,89 @@
937
841
  "index.js"
938
842
  ]
939
843
  },
940
- "run:exec": {
844
+ "profile:token": {
941
845
  "aliases": [],
942
- "args": {
943
- "path": {
944
- "description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
945
- "name": "path",
946
- "required": false
947
- }
948
- },
949
- "description": "Execute XanoScript code (job or service)",
846
+ "args": {},
847
+ "description": "Print the access token for the default profile",
950
848
  "examples": [
951
- "$ xano run exec script.xs\nExecuted successfully!\n...\n",
952
- "$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
953
- "$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
954
- "$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
955
- "$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
956
- "$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
957
- "$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
849
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
850
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
851
+ ],
852
+ "flags": {},
853
+ "hasDynamicHelp": false,
854
+ "hiddenAliases": [],
855
+ "id": "profile:token",
856
+ "pluginAlias": "@xano/cli",
857
+ "pluginName": "@xano/cli",
858
+ "pluginType": "core",
859
+ "strict": true,
860
+ "enableJsonFlag": false,
861
+ "isESM": true,
862
+ "relativePath": [
863
+ "dist",
864
+ "commands",
865
+ "profile",
866
+ "token",
867
+ "index.js"
868
+ ]
869
+ },
870
+ "profile:wizard": {
871
+ "aliases": [],
872
+ "args": {},
873
+ "description": "Create a new profile configuration using an interactive wizard",
874
+ "examples": [
875
+ "$ 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"
958
876
  ],
959
877
  "flags": {
960
- "profile": {
961
- "char": "p",
962
- "description": "Profile to use for this command",
963
- "env": "XANO_PROFILE",
964
- "name": "profile",
878
+ "name": {
879
+ "char": "n",
880
+ "description": "Profile name (skip prompt if provided)",
881
+ "name": "name",
965
882
  "required": false,
966
883
  "hasDynamicHelp": false,
967
884
  "multiple": false,
968
885
  "type": "option"
969
886
  },
970
- "file": {
971
- "char": "f",
972
- "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
973
- "exclusive": [
974
- "stdin"
975
- ],
976
- "name": "file",
887
+ "origin": {
888
+ "char": "o",
889
+ "description": "Xano instance origin URL",
890
+ "name": "origin",
977
891
  "required": false,
892
+ "default": "https://app.xano.com",
978
893
  "hasDynamicHelp": false,
979
894
  "multiple": false,
980
895
  "type": "option"
981
- },
982
- "stdin": {
983
- "char": "s",
984
- "description": "Read XanoScript code from stdin",
985
- "exclusive": [
986
- "file"
987
- ],
988
- "name": "stdin",
989
- "required": false,
990
- "allowNo": false,
991
- "type": "boolean"
992
- },
993
- "edit": {
994
- "char": "e",
995
- "dependsOn": [
996
- "file"
997
- ],
998
- "description": "Open file in editor before running (requires --file)",
999
- "name": "edit",
1000
- "required": false,
1001
- "allowNo": false,
1002
- "type": "boolean"
1003
- },
1004
- "output": {
1005
- "char": "o",
1006
- "description": "Output format",
1007
- "name": "output",
1008
- "required": false,
1009
- "default": "summary",
1010
- "hasDynamicHelp": false,
1011
- "multiple": false,
1012
- "options": [
1013
- "summary",
1014
- "json"
1015
- ],
1016
- "type": "option"
1017
- },
1018
- "args": {
1019
- "char": "a",
1020
- "description": "Path or URL to JSON file containing input arguments",
1021
- "name": "args",
1022
- "required": false,
1023
- "hasDynamicHelp": false,
1024
- "multiple": false,
1025
- "type": "option"
1026
- },
1027
- "env": {
1028
- "description": "Environment variable override (key=value)",
1029
- "name": "env",
1030
- "required": false,
1031
- "hasDynamicHelp": false,
1032
- "multiple": true,
1033
- "type": "option"
1034
896
  }
1035
897
  },
1036
898
  "hasDynamicHelp": false,
1037
899
  "hiddenAliases": [],
1038
- "id": "run:exec",
900
+ "id": "profile:wizard",
1039
901
  "pluginAlias": "@xano/cli",
1040
902
  "pluginName": "@xano/cli",
1041
903
  "pluginType": "core",
1042
904
  "strict": true,
905
+ "enableJsonFlag": false,
1043
906
  "isESM": true,
1044
907
  "relativePath": [
1045
908
  "dist",
1046
909
  "commands",
1047
- "run",
1048
- "exec",
910
+ "profile",
911
+ "wizard",
1049
912
  "index.js"
1050
913
  ]
1051
914
  },
1052
- "profile:list": {
915
+ "profile:get-default": {
1053
916
  "aliases": [],
1054
917
  "args": {},
1055
- "description": "List all available profile configurations",
918
+ "description": "Get the current default profile name",
1056
919
  "examples": [
1057
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
1058
- "$ 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",
1059
- "$ 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"
920
+ "$ xano profile:get-default\nproduction\n",
921
+ "$ xano profile:get-default\nNo default profile set\n"
1060
922
  ],
1061
- "flags": {
1062
- "details": {
1063
- "char": "d",
1064
- "description": "Show detailed information for each profile",
1065
- "name": "details",
1066
- "required": false,
1067
- "allowNo": false,
1068
- "type": "boolean"
1069
- }
1070
- },
923
+ "flags": {},
1071
924
  "hasDynamicHelp": false,
1072
925
  "hiddenAliases": [],
1073
- "id": "profile:list",
926
+ "id": "profile:get-default",
1074
927
  "pluginAlias": "@xano/cli",
1075
928
  "pluginName": "@xano/cli",
1076
929
  "pluginType": "core",
@@ -1081,63 +934,102 @@
1081
934
  "dist",
1082
935
  "commands",
1083
936
  "profile",
1084
- "list",
937
+ "get-default",
1085
938
  "index.js"
1086
939
  ]
1087
940
  },
1088
- "profile:wizard": {
941
+ "run:info": {
1089
942
  "aliases": [],
1090
943
  "args": {},
1091
- "description": "Create a new profile configuration using an interactive wizard",
944
+ "description": "Get information about a XanoScript document (type, inputs, env vars)",
1092
945
  "examples": [
1093
- "$ 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"
946
+ "$ 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",
947
+ "$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
948
+ "$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
1094
949
  ],
1095
950
  "flags": {
1096
- "name": {
1097
- "char": "n",
1098
- "description": "Profile name (skip prompt if provided)",
1099
- "name": "name",
951
+ "profile": {
952
+ "char": "p",
953
+ "description": "Profile to use for this command",
954
+ "env": "XANO_PROFILE",
955
+ "name": "profile",
1100
956
  "required": false,
1101
957
  "hasDynamicHelp": false,
1102
958
  "multiple": false,
1103
959
  "type": "option"
1104
960
  },
1105
- "origin": {
961
+ "file": {
962
+ "char": "f",
963
+ "description": "Path or URL to file containing XanoScript code",
964
+ "exclusive": [
965
+ "stdin"
966
+ ],
967
+ "name": "file",
968
+ "required": false,
969
+ "hasDynamicHelp": false,
970
+ "multiple": false,
971
+ "type": "option"
972
+ },
973
+ "stdin": {
974
+ "char": "s",
975
+ "description": "Read XanoScript code from stdin",
976
+ "exclusive": [
977
+ "file"
978
+ ],
979
+ "name": "stdin",
980
+ "required": false,
981
+ "allowNo": false,
982
+ "type": "boolean"
983
+ },
984
+ "output": {
1106
985
  "char": "o",
1107
- "description": "Xano instance origin URL",
1108
- "name": "origin",
986
+ "description": "Output format",
987
+ "name": "output",
1109
988
  "required": false,
1110
- "default": "https://app.xano.com",
989
+ "default": "summary",
1111
990
  "hasDynamicHelp": false,
1112
991
  "multiple": false,
992
+ "options": [
993
+ "summary",
994
+ "json"
995
+ ],
1113
996
  "type": "option"
1114
997
  }
1115
998
  },
1116
999
  "hasDynamicHelp": false,
1117
1000
  "hiddenAliases": [],
1118
- "id": "profile:wizard",
1001
+ "id": "run:info",
1119
1002
  "pluginAlias": "@xano/cli",
1120
1003
  "pluginName": "@xano/cli",
1121
1004
  "pluginType": "core",
1122
1005
  "strict": true,
1123
- "enableJsonFlag": false,
1124
1006
  "isESM": true,
1125
1007
  "relativePath": [
1126
1008
  "dist",
1127
1009
  "commands",
1128
- "profile",
1129
- "wizard",
1010
+ "run",
1011
+ "info",
1130
1012
  "index.js"
1131
1013
  ]
1132
1014
  },
1133
- "run:info": {
1015
+ "run:exec": {
1134
1016
  "aliases": [],
1135
- "args": {},
1136
- "description": "Get information about a XanoScript document (type, inputs, env vars)",
1017
+ "args": {
1018
+ "path": {
1019
+ "description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
1020
+ "name": "path",
1021
+ "required": false
1022
+ }
1023
+ },
1024
+ "description": "Execute XanoScript code (job or service)",
1137
1025
  "examples": [
1138
- "$ 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",
1139
- "$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
1140
- "$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
1026
+ "$ xano run exec script.xs\nExecuted successfully!\n...\n",
1027
+ "$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
1028
+ "$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
1029
+ "$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
1030
+ "$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
1031
+ "$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
1032
+ "$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
1141
1033
  ],
1142
1034
  "flags": {
1143
1035
  "profile": {
@@ -1152,7 +1044,7 @@
1152
1044
  },
1153
1045
  "file": {
1154
1046
  "char": "f",
1155
- "description": "Path or URL to file containing XanoScript code",
1047
+ "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
1156
1048
  "exclusive": [
1157
1049
  "stdin"
1158
1050
  ],
@@ -1173,6 +1065,14 @@
1173
1065
  "allowNo": false,
1174
1066
  "type": "boolean"
1175
1067
  },
1068
+ "edit": {
1069
+ "char": "e",
1070
+ "description": "Open file in editor before running (requires path argument or --file)",
1071
+ "name": "edit",
1072
+ "required": false,
1073
+ "allowNo": false,
1074
+ "type": "boolean"
1075
+ },
1176
1076
  "output": {
1177
1077
  "char": "o",
1178
1078
  "description": "Output format",
@@ -1186,11 +1086,28 @@
1186
1086
  "json"
1187
1087
  ],
1188
1088
  "type": "option"
1089
+ },
1090
+ "args": {
1091
+ "char": "a",
1092
+ "description": "Path or URL to JSON file containing input arguments",
1093
+ "name": "args",
1094
+ "required": false,
1095
+ "hasDynamicHelp": false,
1096
+ "multiple": false,
1097
+ "type": "option"
1098
+ },
1099
+ "env": {
1100
+ "description": "Environment variable override (key=value)",
1101
+ "name": "env",
1102
+ "required": false,
1103
+ "hasDynamicHelp": false,
1104
+ "multiple": true,
1105
+ "type": "option"
1189
1106
  }
1190
1107
  },
1191
1108
  "hasDynamicHelp": false,
1192
1109
  "hiddenAliases": [],
1193
- "id": "run:info",
1110
+ "id": "run:exec",
1194
1111
  "pluginAlias": "@xano/cli",
1195
1112
  "pluginName": "@xano/cli",
1196
1113
  "pluginType": "core",
@@ -1200,7 +1117,7 @@
1200
1117
  "dist",
1201
1118
  "commands",
1202
1119
  "run",
1203
- "info",
1120
+ "exec",
1204
1121
  "index.js"
1205
1122
  ]
1206
1123
  },
@@ -1257,6 +1174,86 @@
1257
1174
  "index.js"
1258
1175
  ]
1259
1176
  },
1177
+ "static_host:list": {
1178
+ "aliases": [],
1179
+ "args": {},
1180
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
1181
+ "examples": [
1182
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1183
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1184
+ "$ 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",
1185
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
1186
+ ],
1187
+ "flags": {
1188
+ "profile": {
1189
+ "char": "p",
1190
+ "description": "Profile to use for this command",
1191
+ "env": "XANO_PROFILE",
1192
+ "name": "profile",
1193
+ "required": false,
1194
+ "hasDynamicHelp": false,
1195
+ "multiple": false,
1196
+ "type": "option"
1197
+ },
1198
+ "workspace": {
1199
+ "char": "w",
1200
+ "description": "Workspace ID (optional if set in profile)",
1201
+ "name": "workspace",
1202
+ "required": false,
1203
+ "hasDynamicHelp": false,
1204
+ "multiple": false,
1205
+ "type": "option"
1206
+ },
1207
+ "output": {
1208
+ "char": "o",
1209
+ "description": "Output format",
1210
+ "name": "output",
1211
+ "required": false,
1212
+ "default": "summary",
1213
+ "hasDynamicHelp": false,
1214
+ "multiple": false,
1215
+ "options": [
1216
+ "summary",
1217
+ "json"
1218
+ ],
1219
+ "type": "option"
1220
+ },
1221
+ "page": {
1222
+ "description": "Page number for pagination",
1223
+ "name": "page",
1224
+ "required": false,
1225
+ "default": 1,
1226
+ "hasDynamicHelp": false,
1227
+ "multiple": false,
1228
+ "type": "option"
1229
+ },
1230
+ "per_page": {
1231
+ "description": "Number of results per page",
1232
+ "name": "per_page",
1233
+ "required": false,
1234
+ "default": 50,
1235
+ "hasDynamicHelp": false,
1236
+ "multiple": false,
1237
+ "type": "option"
1238
+ }
1239
+ },
1240
+ "hasDynamicHelp": false,
1241
+ "hiddenAliases": [],
1242
+ "id": "static_host:list",
1243
+ "pluginAlias": "@xano/cli",
1244
+ "pluginName": "@xano/cli",
1245
+ "pluginType": "core",
1246
+ "strict": true,
1247
+ "enableJsonFlag": false,
1248
+ "isESM": true,
1249
+ "relativePath": [
1250
+ "dist",
1251
+ "commands",
1252
+ "static_host",
1253
+ "list",
1254
+ "index.js"
1255
+ ]
1256
+ },
1260
1257
  "workspace:pull": {
1261
1258
  "aliases": [],
1262
1259
  "args": {
@@ -1377,20 +1374,19 @@
1377
1374
  "index.js"
1378
1375
  ]
1379
1376
  },
1380
- "static_host:build:create": {
1377
+ "run:env:delete": {
1381
1378
  "aliases": [],
1382
1379
  "args": {
1383
- "static_host": {
1384
- "description": "Static Host name",
1385
- "name": "static_host",
1380
+ "name": {
1381
+ "description": "Environment variable name",
1382
+ "name": "name",
1386
1383
  "required": true
1387
1384
  }
1388
1385
  },
1389
- "description": "Create a new build for a static host",
1386
+ "description": "Delete an environment variable",
1390
1387
  "examples": [
1391
- "$ 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",
1392
- "$ 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",
1393
- "$ 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"
1388
+ "$ xano run env delete API_KEY\nAre you sure you want to delete environment variable 'API_KEY'? (y/N)\nEnvironment variable 'API_KEY' deleted successfully!\n",
1389
+ "$ xano run env delete API_KEY --force\nEnvironment variable 'API_KEY' deleted successfully!\n"
1394
1390
  ],
1395
1391
  "flags": {
1396
1392
  "profile": {
@@ -1403,95 +1399,45 @@
1403
1399
  "multiple": false,
1404
1400
  "type": "option"
1405
1401
  },
1406
- "workspace": {
1407
- "char": "w",
1408
- "description": "Workspace ID (optional if set in profile)",
1409
- "name": "workspace",
1410
- "required": false,
1411
- "hasDynamicHelp": false,
1412
- "multiple": false,
1413
- "type": "option"
1414
- },
1415
- "file": {
1402
+ "force": {
1416
1403
  "char": "f",
1417
- "description": "Path to zip file to upload",
1418
- "name": "file",
1419
- "required": true,
1420
- "hasDynamicHelp": false,
1421
- "multiple": false,
1422
- "type": "option"
1423
- },
1424
- "name": {
1425
- "char": "n",
1426
- "description": "Build name",
1427
- "name": "name",
1428
- "required": true,
1429
- "hasDynamicHelp": false,
1430
- "multiple": false,
1431
- "type": "option"
1432
- },
1433
- "description": {
1434
- "char": "d",
1435
- "description": "Build description",
1436
- "name": "description",
1437
- "required": false,
1438
- "hasDynamicHelp": false,
1439
- "multiple": false,
1440
- "type": "option"
1441
- },
1442
- "output": {
1443
- "char": "o",
1444
- "description": "Output format",
1445
- "name": "output",
1404
+ "description": "Skip confirmation prompt",
1405
+ "name": "force",
1446
1406
  "required": false,
1447
- "default": "summary",
1448
- "hasDynamicHelp": false,
1449
- "multiple": false,
1450
- "options": [
1451
- "summary",
1452
- "json"
1453
- ],
1454
- "type": "option"
1407
+ "allowNo": false,
1408
+ "type": "boolean"
1455
1409
  }
1456
1410
  },
1457
1411
  "hasDynamicHelp": false,
1458
1412
  "hiddenAliases": [],
1459
- "id": "static_host:build:create",
1413
+ "id": "run:env:delete",
1460
1414
  "pluginAlias": "@xano/cli",
1461
1415
  "pluginName": "@xano/cli",
1462
1416
  "pluginType": "core",
1463
1417
  "strict": true,
1464
- "enableJsonFlag": false,
1465
1418
  "isESM": true,
1466
1419
  "relativePath": [
1467
1420
  "dist",
1468
1421
  "commands",
1469
- "static_host",
1470
- "build",
1471
- "create",
1422
+ "run",
1423
+ "env",
1424
+ "delete",
1472
1425
  "index.js"
1473
1426
  ]
1474
1427
  },
1475
- "static_host:build:get": {
1428
+ "run:env:get": {
1476
1429
  "aliases": [],
1477
1430
  "args": {
1478
- "static_host": {
1479
- "description": "Static Host name",
1480
- "name": "static_host",
1481
- "required": true
1482
- },
1483
- "build_id": {
1484
- "description": "Build ID",
1485
- "name": "build_id",
1431
+ "name": {
1432
+ "description": "Environment variable name",
1433
+ "name": "name",
1486
1434
  "required": true
1487
1435
  }
1488
1436
  },
1489
- "description": "Get details of a specific build for a static host",
1437
+ "description": "Get an environment variable value",
1490
1438
  "examples": [
1491
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
1492
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
1493
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
1494
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
1439
+ "$ xano run env get API_KEY\nmy-secret-api-key\n",
1440
+ "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
1495
1441
  ],
1496
1442
  "flags": {
1497
1443
  "profile": {
@@ -1504,25 +1450,16 @@
1504
1450
  "multiple": false,
1505
1451
  "type": "option"
1506
1452
  },
1507
- "workspace": {
1508
- "char": "w",
1509
- "description": "Workspace ID (optional if set in profile)",
1510
- "name": "workspace",
1511
- "required": false,
1512
- "hasDynamicHelp": false,
1513
- "multiple": false,
1514
- "type": "option"
1515
- },
1516
1453
  "output": {
1517
1454
  "char": "o",
1518
1455
  "description": "Output format",
1519
1456
  "name": "output",
1520
1457
  "required": false,
1521
- "default": "summary",
1458
+ "default": "value",
1522
1459
  "hasDynamicHelp": false,
1523
1460
  "multiple": false,
1524
1461
  "options": [
1525
- "summary",
1462
+ "value",
1526
1463
  "json"
1527
1464
  ],
1528
1465
  "type": "option"
@@ -1530,37 +1467,39 @@
1530
1467
  },
1531
1468
  "hasDynamicHelp": false,
1532
1469
  "hiddenAliases": [],
1533
- "id": "static_host:build:get",
1470
+ "id": "run:env:get",
1534
1471
  "pluginAlias": "@xano/cli",
1535
1472
  "pluginName": "@xano/cli",
1536
1473
  "pluginType": "core",
1537
1474
  "strict": true,
1538
- "enableJsonFlag": false,
1539
1475
  "isESM": true,
1540
1476
  "relativePath": [
1541
1477
  "dist",
1542
1478
  "commands",
1543
- "static_host",
1544
- "build",
1479
+ "run",
1480
+ "env",
1545
1481
  "get",
1546
1482
  "index.js"
1547
1483
  ]
1548
1484
  },
1549
- "static_host:build:list": {
1485
+ "run:env:set": {
1550
1486
  "aliases": [],
1551
1487
  "args": {
1552
- "static_host": {
1553
- "description": "Static Host name",
1554
- "name": "static_host",
1488
+ "name": {
1489
+ "description": "Environment variable name",
1490
+ "name": "name",
1491
+ "required": true
1492
+ },
1493
+ "value": {
1494
+ "description": "Environment variable value",
1495
+ "name": "value",
1555
1496
  "required": true
1556
1497
  }
1557
1498
  },
1558
- "description": "List all builds for a static host",
1499
+ "description": "Set an environment variable",
1559
1500
  "examples": [
1560
- "$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
1561
- "$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
1562
- "$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
1563
- "$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
1501
+ "$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
1502
+ "$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
1564
1503
  ],
1565
1504
  "flags": {
1566
1505
  "profile": {
@@ -1572,80 +1511,38 @@
1572
1511
  "hasDynamicHelp": false,
1573
1512
  "multiple": false,
1574
1513
  "type": "option"
1575
- },
1576
- "workspace": {
1577
- "char": "w",
1578
- "description": "Workspace ID (optional if set in profile)",
1579
- "name": "workspace",
1580
- "required": false,
1581
- "hasDynamicHelp": false,
1582
- "multiple": false,
1583
- "type": "option"
1584
- },
1585
- "output": {
1586
- "char": "o",
1587
- "description": "Output format",
1588
- "name": "output",
1589
- "required": false,
1590
- "default": "summary",
1591
- "hasDynamicHelp": false,
1592
- "multiple": false,
1593
- "options": [
1594
- "summary",
1595
- "json"
1596
- ],
1597
- "type": "option"
1598
- },
1599
- "page": {
1600
- "description": "Page number for pagination",
1601
- "name": "page",
1602
- "required": false,
1603
- "default": 1,
1604
- "hasDynamicHelp": false,
1605
- "multiple": false,
1606
- "type": "option"
1607
- },
1608
- "per_page": {
1609
- "description": "Number of results per page",
1610
- "name": "per_page",
1611
- "required": false,
1612
- "default": 50,
1613
- "hasDynamicHelp": false,
1614
- "multiple": false,
1615
- "type": "option"
1616
1514
  }
1617
1515
  },
1618
1516
  "hasDynamicHelp": false,
1619
1517
  "hiddenAliases": [],
1620
- "id": "static_host:build:list",
1518
+ "id": "run:env:set",
1621
1519
  "pluginAlias": "@xano/cli",
1622
1520
  "pluginName": "@xano/cli",
1623
1521
  "pluginType": "core",
1624
1522
  "strict": true,
1625
- "enableJsonFlag": false,
1626
1523
  "isESM": true,
1627
1524
  "relativePath": [
1628
1525
  "dist",
1629
1526
  "commands",
1630
- "static_host",
1631
- "build",
1632
- "list",
1527
+ "run",
1528
+ "env",
1529
+ "set",
1633
1530
  "index.js"
1634
1531
  ]
1635
1532
  },
1636
- "run:env:delete": {
1533
+ "run:sink:get": {
1637
1534
  "aliases": [],
1638
1535
  "args": {
1639
- "name": {
1640
- "description": "Environment variable name",
1641
- "name": "name",
1536
+ "sessionId": {
1537
+ "description": "Session ID",
1538
+ "name": "sessionId",
1642
1539
  "required": true
1643
1540
  }
1644
1541
  },
1645
- "description": "Delete an environment variable",
1542
+ "description": "Get sink data for a completed session",
1646
1543
  "examples": [
1647
- "$ xano run env delete API_KEY\nAre you sure you want to delete environment variable 'API_KEY'? (y/N)\nEnvironment variable 'API_KEY' deleted successfully!\n",
1648
- "$ xano run env delete API_KEY --force\nEnvironment variable 'API_KEY' deleted successfully!\n"
1544
+ "$ 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",
1545
+ "$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
1649
1546
  ],
1650
1547
  "flags": {
1651
1548
  "profile": {
@@ -1658,18 +1555,24 @@
1658
1555
  "multiple": false,
1659
1556
  "type": "option"
1660
1557
  },
1661
- "force": {
1662
- "char": "f",
1663
- "description": "Skip confirmation prompt",
1664
- "name": "force",
1558
+ "output": {
1559
+ "char": "o",
1560
+ "description": "Output format",
1561
+ "name": "output",
1665
1562
  "required": false,
1666
- "allowNo": false,
1667
- "type": "boolean"
1563
+ "default": "summary",
1564
+ "hasDynamicHelp": false,
1565
+ "multiple": false,
1566
+ "options": [
1567
+ "summary",
1568
+ "json"
1569
+ ],
1570
+ "type": "option"
1668
1571
  }
1669
1572
  },
1670
1573
  "hasDynamicHelp": false,
1671
1574
  "hiddenAliases": [],
1672
- "id": "run:env:delete",
1575
+ "id": "run:sink:get",
1673
1576
  "pluginAlias": "@xano/cli",
1674
1577
  "pluginName": "@xano/cli",
1675
1578
  "pluginType": "core",
@@ -1679,24 +1582,18 @@
1679
1582
  "dist",
1680
1583
  "commands",
1681
1584
  "run",
1682
- "env",
1683
- "delete",
1585
+ "sink",
1586
+ "get",
1684
1587
  "index.js"
1685
1588
  ]
1686
1589
  },
1687
- "run:env:get": {
1590
+ "run:env:list": {
1688
1591
  "aliases": [],
1689
- "args": {
1690
- "name": {
1691
- "description": "Environment variable name",
1692
- "name": "name",
1693
- "required": true
1694
- }
1695
- },
1696
- "description": "Get an environment variable value",
1592
+ "args": {},
1593
+ "description": "List all environment variable keys",
1697
1594
  "examples": [
1698
- "$ xano run env get API_KEY\nmy-secret-api-key\n",
1699
- "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
1595
+ "$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
1596
+ "$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
1700
1597
  ],
1701
1598
  "flags": {
1702
1599
  "profile": {
@@ -1714,11 +1611,11 @@
1714
1611
  "description": "Output format",
1715
1612
  "name": "output",
1716
1613
  "required": false,
1717
- "default": "value",
1614
+ "default": "list",
1718
1615
  "hasDynamicHelp": false,
1719
1616
  "multiple": false,
1720
1617
  "options": [
1721
- "value",
1618
+ "list",
1722
1619
  "json"
1723
1620
  ],
1724
1621
  "type": "option"
@@ -1726,7 +1623,7 @@
1726
1623
  },
1727
1624
  "hasDynamicHelp": false,
1728
1625
  "hiddenAliases": [],
1729
- "id": "run:env:get",
1626
+ "id": "run:env:list",
1730
1627
  "pluginAlias": "@xano/cli",
1731
1628
  "pluginName": "@xano/cli",
1732
1629
  "pluginType": "core",
@@ -1737,17 +1634,18 @@
1737
1634
  "commands",
1738
1635
  "run",
1739
1636
  "env",
1740
- "get",
1637
+ "list",
1741
1638
  "index.js"
1742
1639
  ]
1743
1640
  },
1744
- "run:env:list": {
1641
+ "run:projects:create": {
1745
1642
  "aliases": [],
1746
1643
  "args": {},
1747
- "description": "List all environment variable keys",
1644
+ "description": "Create a new project",
1748
1645
  "examples": [
1749
- "$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
1750
- "$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
1646
+ "$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
1647
+ "$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
1648
+ "$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
1751
1649
  ],
1752
1650
  "flags": {
1753
1651
  "profile": {
@@ -1760,16 +1658,35 @@
1760
1658
  "multiple": false,
1761
1659
  "type": "option"
1762
1660
  },
1661
+ "name": {
1662
+ "char": "n",
1663
+ "description": "Project name",
1664
+ "name": "name",
1665
+ "required": true,
1666
+ "hasDynamicHelp": false,
1667
+ "multiple": false,
1668
+ "type": "option"
1669
+ },
1670
+ "description": {
1671
+ "char": "d",
1672
+ "description": "Project description",
1673
+ "name": "description",
1674
+ "required": false,
1675
+ "default": "",
1676
+ "hasDynamicHelp": false,
1677
+ "multiple": false,
1678
+ "type": "option"
1679
+ },
1763
1680
  "output": {
1764
1681
  "char": "o",
1765
1682
  "description": "Output format",
1766
1683
  "name": "output",
1767
1684
  "required": false,
1768
- "default": "list",
1685
+ "default": "summary",
1769
1686
  "hasDynamicHelp": false,
1770
1687
  "multiple": false,
1771
1688
  "options": [
1772
- "list",
1689
+ "summary",
1773
1690
  "json"
1774
1691
  ],
1775
1692
  "type": "option"
@@ -1777,7 +1694,7 @@
1777
1694
  },
1778
1695
  "hasDynamicHelp": false,
1779
1696
  "hiddenAliases": [],
1780
- "id": "run:env:list",
1697
+ "id": "run:projects:create",
1781
1698
  "pluginAlias": "@xano/cli",
1782
1699
  "pluginName": "@xano/cli",
1783
1700
  "pluginType": "core",
@@ -1787,29 +1704,24 @@
1787
1704
  "dist",
1788
1705
  "commands",
1789
1706
  "run",
1790
- "env",
1791
- "list",
1707
+ "projects",
1708
+ "create",
1792
1709
  "index.js"
1793
1710
  ]
1794
1711
  },
1795
- "run:env:set": {
1712
+ "run:projects:delete": {
1796
1713
  "aliases": [],
1797
1714
  "args": {
1798
- "name": {
1799
- "description": "Environment variable name",
1800
- "name": "name",
1801
- "required": true
1802
- },
1803
- "value": {
1804
- "description": "Environment variable value",
1805
- "name": "value",
1715
+ "projectId": {
1716
+ "description": "Project ID to delete",
1717
+ "name": "projectId",
1806
1718
  "required": true
1807
1719
  }
1808
1720
  },
1809
- "description": "Set an environment variable",
1721
+ "description": "Delete a project",
1810
1722
  "examples": [
1811
- "$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
1812
- "$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
1723
+ "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
1724
+ "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
1813
1725
  ],
1814
1726
  "flags": {
1815
1727
  "profile": {
@@ -1821,11 +1733,19 @@
1821
1733
  "hasDynamicHelp": false,
1822
1734
  "multiple": false,
1823
1735
  "type": "option"
1736
+ },
1737
+ "force": {
1738
+ "char": "f",
1739
+ "description": "Skip confirmation prompt",
1740
+ "name": "force",
1741
+ "required": false,
1742
+ "allowNo": false,
1743
+ "type": "boolean"
1824
1744
  }
1825
1745
  },
1826
1746
  "hasDynamicHelp": false,
1827
1747
  "hiddenAliases": [],
1828
- "id": "run:env:set",
1748
+ "id": "run:projects:delete",
1829
1749
  "pluginAlias": "@xano/cli",
1830
1750
  "pluginName": "@xano/cli",
1831
1751
  "pluginType": "core",
@@ -1835,19 +1755,25 @@
1835
1755
  "dist",
1836
1756
  "commands",
1837
1757
  "run",
1838
- "env",
1839
- "set",
1758
+ "projects",
1759
+ "delete",
1840
1760
  "index.js"
1841
1761
  ]
1842
1762
  },
1843
- "run:projects:create": {
1763
+ "run:projects:update": {
1844
1764
  "aliases": [],
1845
- "args": {},
1846
- "description": "Create a new project",
1765
+ "args": {
1766
+ "projectId": {
1767
+ "description": "Project ID to update",
1768
+ "name": "projectId",
1769
+ "required": true
1770
+ }
1771
+ },
1772
+ "description": "Update a project",
1847
1773
  "examples": [
1848
- "$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
1849
- "$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
1850
- "$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
1774
+ "$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
1775
+ "$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
1776
+ "$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
1851
1777
  ],
1852
1778
  "flags": {
1853
1779
  "profile": {
@@ -1862,19 +1788,18 @@
1862
1788
  },
1863
1789
  "name": {
1864
1790
  "char": "n",
1865
- "description": "Project name",
1791
+ "description": "New project name",
1866
1792
  "name": "name",
1867
- "required": true,
1793
+ "required": false,
1868
1794
  "hasDynamicHelp": false,
1869
1795
  "multiple": false,
1870
1796
  "type": "option"
1871
1797
  },
1872
1798
  "description": {
1873
1799
  "char": "d",
1874
- "description": "Project description",
1800
+ "description": "New project description",
1875
1801
  "name": "description",
1876
1802
  "required": false,
1877
- "default": "",
1878
1803
  "hasDynamicHelp": false,
1879
1804
  "multiple": false,
1880
1805
  "type": "option"
@@ -1896,7 +1821,7 @@
1896
1821
  },
1897
1822
  "hasDynamicHelp": false,
1898
1823
  "hiddenAliases": [],
1899
- "id": "run:projects:create",
1824
+ "id": "run:projects:update",
1900
1825
  "pluginAlias": "@xano/cli",
1901
1826
  "pluginName": "@xano/cli",
1902
1827
  "pluginType": "core",
@@ -1907,23 +1832,74 @@
1907
1832
  "commands",
1908
1833
  "run",
1909
1834
  "projects",
1910
- "create",
1835
+ "update",
1836
+ "index.js"
1837
+ ]
1838
+ },
1839
+ "run:projects:list": {
1840
+ "aliases": [],
1841
+ "args": {},
1842
+ "description": "List all projects",
1843
+ "examples": [
1844
+ "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
1845
+ "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
1846
+ ],
1847
+ "flags": {
1848
+ "profile": {
1849
+ "char": "p",
1850
+ "description": "Profile to use for this command",
1851
+ "env": "XANO_PROFILE",
1852
+ "name": "profile",
1853
+ "required": false,
1854
+ "hasDynamicHelp": false,
1855
+ "multiple": false,
1856
+ "type": "option"
1857
+ },
1858
+ "output": {
1859
+ "char": "o",
1860
+ "description": "Output format",
1861
+ "name": "output",
1862
+ "required": false,
1863
+ "default": "table",
1864
+ "hasDynamicHelp": false,
1865
+ "multiple": false,
1866
+ "options": [
1867
+ "table",
1868
+ "json"
1869
+ ],
1870
+ "type": "option"
1871
+ }
1872
+ },
1873
+ "hasDynamicHelp": false,
1874
+ "hiddenAliases": [],
1875
+ "id": "run:projects:list",
1876
+ "pluginAlias": "@xano/cli",
1877
+ "pluginName": "@xano/cli",
1878
+ "pluginType": "core",
1879
+ "strict": true,
1880
+ "isESM": true,
1881
+ "relativePath": [
1882
+ "dist",
1883
+ "commands",
1884
+ "run",
1885
+ "projects",
1886
+ "list",
1911
1887
  "index.js"
1912
1888
  ]
1913
1889
  },
1914
- "run:projects:delete": {
1890
+ "run:sessions:delete": {
1915
1891
  "aliases": [],
1916
1892
  "args": {
1917
- "projectId": {
1918
- "description": "Project ID to delete",
1919
- "name": "projectId",
1893
+ "sessionId": {
1894
+ "description": "Session ID",
1895
+ "name": "sessionId",
1920
1896
  "required": true
1921
1897
  }
1922
1898
  },
1923
- "description": "Delete a project",
1899
+ "description": "Delete a session",
1924
1900
  "examples": [
1925
- "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
1926
- "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
1901
+ "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
1902
+ "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
1927
1903
  ],
1928
1904
  "flags": {
1929
1905
  "profile": {
@@ -1947,7 +1923,7 @@
1947
1923
  },
1948
1924
  "hasDynamicHelp": false,
1949
1925
  "hiddenAliases": [],
1950
- "id": "run:projects:delete",
1926
+ "id": "run:sessions:delete",
1951
1927
  "pluginAlias": "@xano/cli",
1952
1928
  "pluginName": "@xano/cli",
1953
1929
  "pluginType": "core",
@@ -1957,18 +1933,18 @@
1957
1933
  "dist",
1958
1934
  "commands",
1959
1935
  "run",
1960
- "projects",
1936
+ "sessions",
1961
1937
  "delete",
1962
1938
  "index.js"
1963
1939
  ]
1964
1940
  },
1965
- "run:projects:list": {
1941
+ "run:sessions:list": {
1966
1942
  "aliases": [],
1967
1943
  "args": {},
1968
- "description": "List all projects",
1944
+ "description": "List all sessions for the project",
1969
1945
  "examples": [
1970
- "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
1971
- "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
1946
+ "$ 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",
1947
+ "$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
1972
1948
  ],
1973
1949
  "flags": {
1974
1950
  "profile": {
@@ -1998,7 +1974,7 @@
1998
1974
  },
1999
1975
  "hasDynamicHelp": false,
2000
1976
  "hiddenAliases": [],
2001
- "id": "run:projects:list",
1977
+ "id": "run:sessions:list",
2002
1978
  "pluginAlias": "@xano/cli",
2003
1979
  "pluginName": "@xano/cli",
2004
1980
  "pluginType": "core",
@@ -2008,25 +1984,24 @@
2008
1984
  "dist",
2009
1985
  "commands",
2010
1986
  "run",
2011
- "projects",
1987
+ "sessions",
2012
1988
  "list",
2013
1989
  "index.js"
2014
1990
  ]
2015
1991
  },
2016
- "run:projects:update": {
1992
+ "run:sessions:get": {
2017
1993
  "aliases": [],
2018
1994
  "args": {
2019
- "projectId": {
2020
- "description": "Project ID to update",
2021
- "name": "projectId",
1995
+ "sessionId": {
1996
+ "description": "Session ID",
1997
+ "name": "sessionId",
2022
1998
  "required": true
2023
1999
  }
2024
2000
  },
2025
- "description": "Update a project",
2001
+ "description": "Get session details",
2026
2002
  "examples": [
2027
- "$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
2028
- "$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
2029
- "$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
2003
+ "$ 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",
2004
+ "$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
2030
2005
  ],
2031
2006
  "flags": {
2032
2007
  "profile": {
@@ -2039,24 +2014,6 @@
2039
2014
  "multiple": false,
2040
2015
  "type": "option"
2041
2016
  },
2042
- "name": {
2043
- "char": "n",
2044
- "description": "New project name",
2045
- "name": "name",
2046
- "required": false,
2047
- "hasDynamicHelp": false,
2048
- "multiple": false,
2049
- "type": "option"
2050
- },
2051
- "description": {
2052
- "char": "d",
2053
- "description": "New project description",
2054
- "name": "description",
2055
- "required": false,
2056
- "hasDynamicHelp": false,
2057
- "multiple": false,
2058
- "type": "option"
2059
- },
2060
2017
  "output": {
2061
2018
  "char": "o",
2062
2019
  "description": "Output format",
@@ -2074,7 +2031,7 @@
2074
2031
  },
2075
2032
  "hasDynamicHelp": false,
2076
2033
  "hiddenAliases": [],
2077
- "id": "run:projects:update",
2034
+ "id": "run:sessions:get",
2078
2035
  "pluginAlias": "@xano/cli",
2079
2036
  "pluginName": "@xano/cli",
2080
2037
  "pluginType": "core",
@@ -2084,24 +2041,25 @@
2084
2041
  "dist",
2085
2042
  "commands",
2086
2043
  "run",
2087
- "projects",
2088
- "update",
2044
+ "sessions",
2045
+ "get",
2089
2046
  "index.js"
2090
2047
  ]
2091
2048
  },
2092
- "run:secrets:delete": {
2049
+ "static_host:build:create": {
2093
2050
  "aliases": [],
2094
2051
  "args": {
2095
- "name": {
2096
- "description": "Secret name",
2097
- "name": "name",
2052
+ "static_host": {
2053
+ "description": "Static Host name",
2054
+ "name": "static_host",
2098
2055
  "required": true
2099
2056
  }
2100
2057
  },
2101
- "description": "Delete a secret",
2058
+ "description": "Create a new build for a static host",
2102
2059
  "examples": [
2103
- "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
2104
- "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
2060
+ "$ 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",
2061
+ "$ 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",
2062
+ "$ 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"
2105
2063
  ],
2106
2064
  "flags": {
2107
2065
  "profile": {
@@ -2114,52 +2072,37 @@
2114
2072
  "multiple": false,
2115
2073
  "type": "option"
2116
2074
  },
2117
- "force": {
2118
- "char": "f",
2119
- "description": "Skip confirmation prompt",
2120
- "name": "force",
2075
+ "workspace": {
2076
+ "char": "w",
2077
+ "description": "Workspace ID (optional if set in profile)",
2078
+ "name": "workspace",
2121
2079
  "required": false,
2122
- "allowNo": false,
2123
- "type": "boolean"
2124
- }
2125
- },
2126
- "hasDynamicHelp": false,
2127
- "hiddenAliases": [],
2128
- "id": "run:secrets:delete",
2129
- "pluginAlias": "@xano/cli",
2130
- "pluginName": "@xano/cli",
2131
- "pluginType": "core",
2132
- "strict": true,
2133
- "isESM": true,
2134
- "relativePath": [
2135
- "dist",
2136
- "commands",
2137
- "run",
2138
- "secrets",
2139
- "delete",
2140
- "index.js"
2141
- ]
2142
- },
2143
- "run:secrets:get": {
2144
- "aliases": [],
2145
- "args": {
2080
+ "hasDynamicHelp": false,
2081
+ "multiple": false,
2082
+ "type": "option"
2083
+ },
2084
+ "file": {
2085
+ "char": "f",
2086
+ "description": "Path to zip file to upload",
2087
+ "name": "file",
2088
+ "required": true,
2089
+ "hasDynamicHelp": false,
2090
+ "multiple": false,
2091
+ "type": "option"
2092
+ },
2146
2093
  "name": {
2147
- "description": "Secret name",
2094
+ "char": "n",
2095
+ "description": "Build name",
2148
2096
  "name": "name",
2149
- "required": true
2150
- }
2151
- },
2152
- "description": "Get a secret value",
2153
- "examples": [
2154
- "$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
2155
- "$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
2156
- ],
2157
- "flags": {
2158
- "profile": {
2159
- "char": "p",
2160
- "description": "Profile to use for this command",
2161
- "env": "XANO_PROFILE",
2162
- "name": "profile",
2097
+ "required": true,
2098
+ "hasDynamicHelp": false,
2099
+ "multiple": false,
2100
+ "type": "option"
2101
+ },
2102
+ "description": {
2103
+ "char": "d",
2104
+ "description": "Build description",
2105
+ "name": "description",
2163
2106
  "required": false,
2164
2107
  "hasDynamicHelp": false,
2165
2108
  "multiple": false,
@@ -2170,11 +2113,11 @@
2170
2113
  "description": "Output format",
2171
2114
  "name": "output",
2172
2115
  "required": false,
2173
- "default": "value",
2116
+ "default": "summary",
2174
2117
  "hasDynamicHelp": false,
2175
2118
  "multiple": false,
2176
2119
  "options": [
2177
- "value",
2120
+ "summary",
2178
2121
  "json"
2179
2122
  ],
2180
2123
  "type": "option"
@@ -2182,28 +2125,42 @@
2182
2125
  },
2183
2126
  "hasDynamicHelp": false,
2184
2127
  "hiddenAliases": [],
2185
- "id": "run:secrets:get",
2128
+ "id": "static_host:build:create",
2186
2129
  "pluginAlias": "@xano/cli",
2187
2130
  "pluginName": "@xano/cli",
2188
2131
  "pluginType": "core",
2189
2132
  "strict": true,
2133
+ "enableJsonFlag": false,
2190
2134
  "isESM": true,
2191
2135
  "relativePath": [
2192
2136
  "dist",
2193
2137
  "commands",
2194
- "run",
2195
- "secrets",
2196
- "get",
2138
+ "static_host",
2139
+ "build",
2140
+ "create",
2197
2141
  "index.js"
2198
2142
  ]
2199
2143
  },
2200
- "run:secrets:list": {
2144
+ "static_host:build:get": {
2201
2145
  "aliases": [],
2202
- "args": {},
2203
- "description": "List all secret keys",
2146
+ "args": {
2147
+ "static_host": {
2148
+ "description": "Static Host name",
2149
+ "name": "static_host",
2150
+ "required": true
2151
+ },
2152
+ "build_id": {
2153
+ "description": "Build ID",
2154
+ "name": "build_id",
2155
+ "required": true
2156
+ }
2157
+ },
2158
+ "description": "Get details of a specific build for a static host",
2204
2159
  "examples": [
2205
- "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
2206
- "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
2160
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
2161
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
2162
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
2163
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
2207
2164
  ],
2208
2165
  "flags": {
2209
2166
  "profile": {
@@ -2216,16 +2173,25 @@
2216
2173
  "multiple": false,
2217
2174
  "type": "option"
2218
2175
  },
2176
+ "workspace": {
2177
+ "char": "w",
2178
+ "description": "Workspace ID (optional if set in profile)",
2179
+ "name": "workspace",
2180
+ "required": false,
2181
+ "hasDynamicHelp": false,
2182
+ "multiple": false,
2183
+ "type": "option"
2184
+ },
2219
2185
  "output": {
2220
2186
  "char": "o",
2221
2187
  "description": "Output format",
2222
2188
  "name": "output",
2223
2189
  "required": false,
2224
- "default": "table",
2190
+ "default": "summary",
2225
2191
  "hasDynamicHelp": false,
2226
2192
  "multiple": false,
2227
2193
  "options": [
2228
- "table",
2194
+ "summary",
2229
2195
  "json"
2230
2196
  ],
2231
2197
  "type": "option"
@@ -2233,81 +2199,65 @@
2233
2199
  },
2234
2200
  "hasDynamicHelp": false,
2235
2201
  "hiddenAliases": [],
2236
- "id": "run:secrets:list",
2202
+ "id": "static_host:build:get",
2237
2203
  "pluginAlias": "@xano/cli",
2238
2204
  "pluginName": "@xano/cli",
2239
2205
  "pluginType": "core",
2240
2206
  "strict": true,
2207
+ "enableJsonFlag": false,
2241
2208
  "isESM": true,
2242
2209
  "relativePath": [
2243
2210
  "dist",
2244
2211
  "commands",
2245
- "run",
2246
- "secrets",
2247
- "list",
2212
+ "static_host",
2213
+ "build",
2214
+ "get",
2248
2215
  "index.js"
2249
2216
  ]
2250
2217
  },
2251
- "run:secrets:set": {
2218
+ "run:sessions:start": {
2252
2219
  "aliases": [],
2253
2220
  "args": {
2254
- "name": {
2255
- "description": "Secret name",
2256
- "name": "name",
2221
+ "sessionId": {
2222
+ "description": "Session ID",
2223
+ "name": "sessionId",
2257
2224
  "required": true
2258
2225
  }
2259
2226
  },
2260
- "description": "Set a secret",
2261
- "examples": [
2262
- "$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
2263
- "$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
2264
- ],
2265
- "flags": {
2266
- "profile": {
2267
- "char": "p",
2268
- "description": "Profile to use for this command",
2269
- "env": "XANO_PROFILE",
2270
- "name": "profile",
2271
- "required": false,
2272
- "hasDynamicHelp": false,
2273
- "multiple": false,
2274
- "type": "option"
2275
- },
2276
- "type": {
2277
- "char": "t",
2278
- "description": "Secret type",
2279
- "name": "type",
2280
- "required": true,
2281
- "hasDynamicHelp": false,
2282
- "multiple": false,
2283
- "options": [
2284
- "dockerconfigjson",
2285
- "service-account-token"
2286
- ],
2287
- "type": "option"
2288
- },
2289
- "value": {
2290
- "char": "v",
2291
- "description": "Secret value",
2292
- "name": "value",
2293
- "required": true,
2227
+ "description": "Start a session",
2228
+ "examples": [
2229
+ "$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
2230
+ "$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
2231
+ ],
2232
+ "flags": {
2233
+ "profile": {
2234
+ "char": "p",
2235
+ "description": "Profile to use for this command",
2236
+ "env": "XANO_PROFILE",
2237
+ "name": "profile",
2238
+ "required": false,
2294
2239
  "hasDynamicHelp": false,
2295
2240
  "multiple": false,
2296
2241
  "type": "option"
2297
2242
  },
2298
- "repo": {
2299
- "char": "r",
2300
- "description": "Repository (for dockerconfigjson type)",
2301
- "name": "repo",
2243
+ "output": {
2244
+ "char": "o",
2245
+ "description": "Output format",
2246
+ "name": "output",
2302
2247
  "required": false,
2248
+ "default": "summary",
2303
2249
  "hasDynamicHelp": false,
2304
2250
  "multiple": false,
2251
+ "options": [
2252
+ "summary",
2253
+ "json"
2254
+ ],
2305
2255
  "type": "option"
2306
2256
  }
2307
2257
  },
2308
2258
  "hasDynamicHelp": false,
2309
2259
  "hiddenAliases": [],
2310
- "id": "run:secrets:set",
2260
+ "id": "run:sessions:start",
2311
2261
  "pluginAlias": "@xano/cli",
2312
2262
  "pluginName": "@xano/cli",
2313
2263
  "pluginType": "core",
@@ -2317,12 +2267,12 @@
2317
2267
  "dist",
2318
2268
  "commands",
2319
2269
  "run",
2320
- "secrets",
2321
- "set",
2270
+ "sessions",
2271
+ "start",
2322
2272
  "index.js"
2323
2273
  ]
2324
2274
  },
2325
- "run:sessions:delete": {
2275
+ "run:sessions:stop": {
2326
2276
  "aliases": [],
2327
2277
  "args": {
2328
2278
  "sessionId": {
@@ -2331,10 +2281,10 @@
2331
2281
  "required": true
2332
2282
  }
2333
2283
  },
2334
- "description": "Delete a session",
2284
+ "description": "Stop a session",
2335
2285
  "examples": [
2336
- "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
2337
- "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
2286
+ "$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
2287
+ "$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
2338
2288
  ],
2339
2289
  "flags": {
2340
2290
  "profile": {
@@ -2347,18 +2297,24 @@
2347
2297
  "multiple": false,
2348
2298
  "type": "option"
2349
2299
  },
2350
- "force": {
2351
- "char": "f",
2352
- "description": "Skip confirmation prompt",
2353
- "name": "force",
2300
+ "output": {
2301
+ "char": "o",
2302
+ "description": "Output format",
2303
+ "name": "output",
2354
2304
  "required": false,
2355
- "allowNo": false,
2356
- "type": "boolean"
2305
+ "default": "summary",
2306
+ "hasDynamicHelp": false,
2307
+ "multiple": false,
2308
+ "options": [
2309
+ "summary",
2310
+ "json"
2311
+ ],
2312
+ "type": "option"
2357
2313
  }
2358
2314
  },
2359
2315
  "hasDynamicHelp": false,
2360
2316
  "hiddenAliases": [],
2361
- "id": "run:sessions:delete",
2317
+ "id": "run:sessions:stop",
2362
2318
  "pluginAlias": "@xano/cli",
2363
2319
  "pluginName": "@xano/cli",
2364
2320
  "pluginType": "core",
@@ -2369,23 +2325,25 @@
2369
2325
  "commands",
2370
2326
  "run",
2371
2327
  "sessions",
2372
- "delete",
2328
+ "stop",
2373
2329
  "index.js"
2374
2330
  ]
2375
2331
  },
2376
- "run:sessions:get": {
2332
+ "static_host:build:list": {
2377
2333
  "aliases": [],
2378
2334
  "args": {
2379
- "sessionId": {
2380
- "description": "Session ID",
2381
- "name": "sessionId",
2335
+ "static_host": {
2336
+ "description": "Static Host name",
2337
+ "name": "static_host",
2382
2338
  "required": true
2383
2339
  }
2384
2340
  },
2385
- "description": "Get session details",
2341
+ "description": "List all builds for a static host",
2386
2342
  "examples": [
2387
- "$ 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",
2388
- "$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
2343
+ "$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
2344
+ "$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
2345
+ "$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
2346
+ "$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
2389
2347
  ],
2390
2348
  "flags": {
2391
2349
  "profile": {
@@ -2398,6 +2356,15 @@
2398
2356
  "multiple": false,
2399
2357
  "type": "option"
2400
2358
  },
2359
+ "workspace": {
2360
+ "char": "w",
2361
+ "description": "Workspace ID (optional if set in profile)",
2362
+ "name": "workspace",
2363
+ "required": false,
2364
+ "hasDynamicHelp": false,
2365
+ "multiple": false,
2366
+ "type": "option"
2367
+ },
2401
2368
  "output": {
2402
2369
  "char": "o",
2403
2370
  "description": "Output format",
@@ -2411,32 +2378,57 @@
2411
2378
  "json"
2412
2379
  ],
2413
2380
  "type": "option"
2381
+ },
2382
+ "page": {
2383
+ "description": "Page number for pagination",
2384
+ "name": "page",
2385
+ "required": false,
2386
+ "default": 1,
2387
+ "hasDynamicHelp": false,
2388
+ "multiple": false,
2389
+ "type": "option"
2390
+ },
2391
+ "per_page": {
2392
+ "description": "Number of results per page",
2393
+ "name": "per_page",
2394
+ "required": false,
2395
+ "default": 50,
2396
+ "hasDynamicHelp": false,
2397
+ "multiple": false,
2398
+ "type": "option"
2414
2399
  }
2415
2400
  },
2416
2401
  "hasDynamicHelp": false,
2417
2402
  "hiddenAliases": [],
2418
- "id": "run:sessions:get",
2403
+ "id": "static_host:build:list",
2419
2404
  "pluginAlias": "@xano/cli",
2420
2405
  "pluginName": "@xano/cli",
2421
2406
  "pluginType": "core",
2422
2407
  "strict": true,
2408
+ "enableJsonFlag": false,
2423
2409
  "isESM": true,
2424
2410
  "relativePath": [
2425
2411
  "dist",
2426
2412
  "commands",
2427
- "run",
2428
- "sessions",
2429
- "get",
2413
+ "static_host",
2414
+ "build",
2415
+ "list",
2430
2416
  "index.js"
2431
2417
  ]
2432
2418
  },
2433
- "run:sessions:list": {
2419
+ "run:secrets:delete": {
2434
2420
  "aliases": [],
2435
- "args": {},
2436
- "description": "List all sessions for the project",
2421
+ "args": {
2422
+ "name": {
2423
+ "description": "Secret name",
2424
+ "name": "name",
2425
+ "required": true
2426
+ }
2427
+ },
2428
+ "description": "Delete a secret",
2437
2429
  "examples": [
2438
- "$ 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",
2439
- "$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
2430
+ "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
2431
+ "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
2440
2432
  ],
2441
2433
  "flags": {
2442
2434
  "profile": {
@@ -2449,24 +2441,18 @@
2449
2441
  "multiple": false,
2450
2442
  "type": "option"
2451
2443
  },
2452
- "output": {
2453
- "char": "o",
2454
- "description": "Output format",
2455
- "name": "output",
2444
+ "force": {
2445
+ "char": "f",
2446
+ "description": "Skip confirmation prompt",
2447
+ "name": "force",
2456
2448
  "required": false,
2457
- "default": "table",
2458
- "hasDynamicHelp": false,
2459
- "multiple": false,
2460
- "options": [
2461
- "table",
2462
- "json"
2463
- ],
2464
- "type": "option"
2449
+ "allowNo": false,
2450
+ "type": "boolean"
2465
2451
  }
2466
2452
  },
2467
2453
  "hasDynamicHelp": false,
2468
2454
  "hiddenAliases": [],
2469
- "id": "run:sessions:list",
2455
+ "id": "run:secrets:delete",
2470
2456
  "pluginAlias": "@xano/cli",
2471
2457
  "pluginName": "@xano/cli",
2472
2458
  "pluginType": "core",
@@ -2476,24 +2462,24 @@
2476
2462
  "dist",
2477
2463
  "commands",
2478
2464
  "run",
2479
- "sessions",
2480
- "list",
2465
+ "secrets",
2466
+ "delete",
2481
2467
  "index.js"
2482
2468
  ]
2483
2469
  },
2484
- "run:sessions:start": {
2470
+ "run:secrets:get": {
2485
2471
  "aliases": [],
2486
2472
  "args": {
2487
- "sessionId": {
2488
- "description": "Session ID",
2489
- "name": "sessionId",
2473
+ "name": {
2474
+ "description": "Secret name",
2475
+ "name": "name",
2490
2476
  "required": true
2491
2477
  }
2492
2478
  },
2493
- "description": "Start a session",
2479
+ "description": "Get a secret value",
2494
2480
  "examples": [
2495
- "$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
2496
- "$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
2481
+ "$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
2482
+ "$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
2497
2483
  ],
2498
2484
  "flags": {
2499
2485
  "profile": {
@@ -2511,11 +2497,11 @@
2511
2497
  "description": "Output format",
2512
2498
  "name": "output",
2513
2499
  "required": false,
2514
- "default": "summary",
2500
+ "default": "value",
2515
2501
  "hasDynamicHelp": false,
2516
2502
  "multiple": false,
2517
2503
  "options": [
2518
- "summary",
2504
+ "value",
2519
2505
  "json"
2520
2506
  ],
2521
2507
  "type": "option"
@@ -2523,7 +2509,7 @@
2523
2509
  },
2524
2510
  "hasDynamicHelp": false,
2525
2511
  "hiddenAliases": [],
2526
- "id": "run:sessions:start",
2512
+ "id": "run:secrets:get",
2527
2513
  "pluginAlias": "@xano/cli",
2528
2514
  "pluginName": "@xano/cli",
2529
2515
  "pluginType": "core",
@@ -2533,24 +2519,18 @@
2533
2519
  "dist",
2534
2520
  "commands",
2535
2521
  "run",
2536
- "sessions",
2537
- "start",
2522
+ "secrets",
2523
+ "get",
2538
2524
  "index.js"
2539
2525
  ]
2540
2526
  },
2541
- "run:sessions:stop": {
2527
+ "run:secrets:list": {
2542
2528
  "aliases": [],
2543
- "args": {
2544
- "sessionId": {
2545
- "description": "Session ID",
2546
- "name": "sessionId",
2547
- "required": true
2548
- }
2549
- },
2550
- "description": "Stop a session",
2529
+ "args": {},
2530
+ "description": "List all secret keys",
2551
2531
  "examples": [
2552
- "$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
2553
- "$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
2532
+ "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
2533
+ "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
2554
2534
  ],
2555
2535
  "flags": {
2556
2536
  "profile": {
@@ -2568,11 +2548,11 @@
2568
2548
  "description": "Output format",
2569
2549
  "name": "output",
2570
2550
  "required": false,
2571
- "default": "summary",
2551
+ "default": "table",
2572
2552
  "hasDynamicHelp": false,
2573
2553
  "multiple": false,
2574
2554
  "options": [
2575
- "summary",
2555
+ "table",
2576
2556
  "json"
2577
2557
  ],
2578
2558
  "type": "option"
@@ -2580,7 +2560,7 @@
2580
2560
  },
2581
2561
  "hasDynamicHelp": false,
2582
2562
  "hiddenAliases": [],
2583
- "id": "run:sessions:stop",
2563
+ "id": "run:secrets:list",
2584
2564
  "pluginAlias": "@xano/cli",
2585
2565
  "pluginName": "@xano/cli",
2586
2566
  "pluginType": "core",
@@ -2590,24 +2570,24 @@
2590
2570
  "dist",
2591
2571
  "commands",
2592
2572
  "run",
2593
- "sessions",
2594
- "stop",
2573
+ "secrets",
2574
+ "list",
2595
2575
  "index.js"
2596
2576
  ]
2597
2577
  },
2598
- "run:sink:get": {
2578
+ "run:secrets:set": {
2599
2579
  "aliases": [],
2600
2580
  "args": {
2601
- "sessionId": {
2602
- "description": "Session ID",
2603
- "name": "sessionId",
2581
+ "name": {
2582
+ "description": "Secret name",
2583
+ "name": "name",
2604
2584
  "required": true
2605
2585
  }
2606
2586
  },
2607
- "description": "Get sink data for a completed session",
2587
+ "description": "Set a secret",
2608
2588
  "examples": [
2609
- "$ 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",
2610
- "$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
2589
+ "$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
2590
+ "$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
2611
2591
  ],
2612
2592
  "flags": {
2613
2593
  "profile": {
@@ -2620,24 +2600,41 @@
2620
2600
  "multiple": false,
2621
2601
  "type": "option"
2622
2602
  },
2623
- "output": {
2624
- "char": "o",
2625
- "description": "Output format",
2626
- "name": "output",
2627
- "required": false,
2628
- "default": "summary",
2603
+ "type": {
2604
+ "char": "t",
2605
+ "description": "Secret type",
2606
+ "name": "type",
2607
+ "required": true,
2629
2608
  "hasDynamicHelp": false,
2630
2609
  "multiple": false,
2631
2610
  "options": [
2632
- "summary",
2633
- "json"
2611
+ "dockerconfigjson",
2612
+ "service-account-token"
2634
2613
  ],
2635
2614
  "type": "option"
2615
+ },
2616
+ "value": {
2617
+ "char": "v",
2618
+ "description": "Secret value",
2619
+ "name": "value",
2620
+ "required": true,
2621
+ "hasDynamicHelp": false,
2622
+ "multiple": false,
2623
+ "type": "option"
2624
+ },
2625
+ "repo": {
2626
+ "char": "r",
2627
+ "description": "Repository (for dockerconfigjson type)",
2628
+ "name": "repo",
2629
+ "required": false,
2630
+ "hasDynamicHelp": false,
2631
+ "multiple": false,
2632
+ "type": "option"
2636
2633
  }
2637
2634
  },
2638
2635
  "hasDynamicHelp": false,
2639
2636
  "hiddenAliases": [],
2640
- "id": "run:sink:get",
2637
+ "id": "run:secrets:set",
2641
2638
  "pluginAlias": "@xano/cli",
2642
2639
  "pluginName": "@xano/cli",
2643
2640
  "pluginType": "core",
@@ -2647,11 +2644,11 @@
2647
2644
  "dist",
2648
2645
  "commands",
2649
2646
  "run",
2650
- "sink",
2651
- "get",
2647
+ "secrets",
2648
+ "set",
2652
2649
  "index.js"
2653
2650
  ]
2654
2651
  }
2655
2652
  },
2656
- "version": "0.0.18"
2653
+ "version": "0.0.19"
2657
2654
  }