@xano/cli 0.0.16 → 0.0.18

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,6 +408,86 @@
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
+ },
411
491
  "profile:create": {
412
492
  "aliases": [],
413
493
  "args": {
@@ -514,48 +594,6 @@
514
594
  "index.js"
515
595
  ]
516
596
  },
517
- "profile:delete": {
518
- "aliases": [],
519
- "args": {
520
- "name": {
521
- "description": "Profile name to delete",
522
- "name": "name",
523
- "required": true
524
- }
525
- },
526
- "description": "Delete a profile configuration",
527
- "examples": [
528
- "$ 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",
529
- "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
530
- "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
531
- ],
532
- "flags": {
533
- "force": {
534
- "char": "f",
535
- "description": "Skip confirmation prompt",
536
- "name": "force",
537
- "required": false,
538
- "allowNo": false,
539
- "type": "boolean"
540
- }
541
- },
542
- "hasDynamicHelp": false,
543
- "hiddenAliases": [],
544
- "id": "profile:delete",
545
- "pluginAlias": "@xano/cli",
546
- "pluginName": "@xano/cli",
547
- "pluginType": "core",
548
- "strict": true,
549
- "enableJsonFlag": false,
550
- "isESM": true,
551
- "relativePath": [
552
- "dist",
553
- "commands",
554
- "profile",
555
- "delete",
556
- "index.js"
557
- ]
558
- },
559
597
  "profile:edit": {
560
598
  "aliases": [],
561
599
  "args": {
@@ -633,21 +671,13 @@
633
671
  },
634
672
  "project": {
635
673
  "char": "j",
636
- "description": "Update project name",
674
+ "description": "Update project ID",
637
675
  "name": "project",
638
676
  "required": false,
639
677
  "hasDynamicHelp": false,
640
678
  "multiple": false,
641
679
  "type": "option"
642
680
  },
643
- "run-project": {
644
- "description": "Update run project ID (for xano run commands)",
645
- "name": "run-project",
646
- "required": false,
647
- "hasDynamicHelp": false,
648
- "multiple": false,
649
- "type": "option"
650
- },
651
681
  "remove-workspace": {
652
682
  "description": "Remove workspace from profile",
653
683
  "name": "remove-workspace",
@@ -669,13 +699,6 @@
669
699
  "allowNo": false,
670
700
  "type": "boolean"
671
701
  },
672
- "remove-run-project": {
673
- "description": "Remove run project from profile",
674
- "name": "remove-run-project",
675
- "required": false,
676
- "allowNo": false,
677
- "type": "boolean"
678
- },
679
702
  "run_base_url": {
680
703
  "char": "r",
681
704
  "description": "Update Xano Run API base URL",
@@ -736,20 +759,26 @@
736
759
  "index.js"
737
760
  ]
738
761
  },
739
- "profile:list": {
762
+ "profile:delete": {
740
763
  "aliases": [],
741
- "args": {},
742
- "description": "List all available profile configurations",
764
+ "args": {
765
+ "name": {
766
+ "description": "Profile name to delete",
767
+ "name": "name",
768
+ "required": true
769
+ }
770
+ },
771
+ "description": "Delete a profile configuration",
743
772
  "examples": [
744
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
745
- "$ 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",
746
- "$ 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"
773
+ "$ 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",
774
+ "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
775
+ "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
747
776
  ],
748
777
  "flags": {
749
- "details": {
750
- "char": "d",
751
- "description": "Show detailed information for each profile",
752
- "name": "details",
778
+ "force": {
779
+ "char": "f",
780
+ "description": "Skip confirmation prompt",
781
+ "name": "force",
753
782
  "required": false,
754
783
  "allowNo": false,
755
784
  "type": "boolean"
@@ -757,7 +786,7 @@
757
786
  },
758
787
  "hasDynamicHelp": false,
759
788
  "hiddenAliases": [],
760
- "id": "profile:list",
789
+ "id": "profile:delete",
761
790
  "pluginAlias": "@xano/cli",
762
791
  "pluginName": "@xano/cli",
763
792
  "pluginType": "core",
@@ -768,7 +797,7 @@
768
797
  "dist",
769
798
  "commands",
770
799
  "profile",
771
- "list",
800
+ "delete",
772
801
  "index.js"
773
802
  ]
774
803
  },
@@ -824,32 +853,6 @@
824
853
  "index.js"
825
854
  ]
826
855
  },
827
- "profile:project": {
828
- "aliases": [],
829
- "args": {},
830
- "description": "Print the project for the default profile",
831
- "examples": [
832
- "$ xano profile:project\nmy-project-id\n",
833
- "$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
834
- ],
835
- "flags": {},
836
- "hasDynamicHelp": false,
837
- "hiddenAliases": [],
838
- "id": "profile:project",
839
- "pluginAlias": "@xano/cli",
840
- "pluginName": "@xano/cli",
841
- "pluginType": "core",
842
- "strict": true,
843
- "enableJsonFlag": false,
844
- "isESM": true,
845
- "relativePath": [
846
- "dist",
847
- "commands",
848
- "profile",
849
- "project",
850
- "index.js"
851
- ]
852
- },
853
856
  "profile:token": {
854
857
  "aliases": [],
855
858
  "args": {},
@@ -908,37 +911,18 @@
908
911
  "index.js"
909
912
  ]
910
913
  },
911
- "profile:wizard": {
914
+ "profile:project": {
912
915
  "aliases": [],
913
916
  "args": {},
914
- "description": "Create a new profile configuration using an interactive wizard",
917
+ "description": "Print the project for the default profile",
915
918
  "examples": [
916
- "$ 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"
919
+ "$ xano profile:project\nmy-project-id\n",
920
+ "$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
917
921
  ],
918
- "flags": {
919
- "name": {
920
- "char": "n",
921
- "description": "Profile name (skip prompt if provided)",
922
- "name": "name",
923
- "required": false,
924
- "hasDynamicHelp": false,
925
- "multiple": false,
926
- "type": "option"
927
- },
928
- "origin": {
929
- "char": "o",
930
- "description": "Xano instance origin URL",
931
- "name": "origin",
932
- "required": false,
933
- "default": "https://app.xano.com",
934
- "hasDynamicHelp": false,
935
- "multiple": false,
936
- "type": "option"
937
- }
938
- },
922
+ "flags": {},
939
923
  "hasDynamicHelp": false,
940
924
  "hiddenAliases": [],
941
- "id": "profile:wizard",
925
+ "id": "profile:project",
942
926
  "pluginAlias": "@xano/cli",
943
927
  "pluginName": "@xano/cli",
944
928
  "pluginType": "core",
@@ -949,21 +933,28 @@
949
933
  "dist",
950
934
  "commands",
951
935
  "profile",
952
- "wizard",
936
+ "project",
953
937
  "index.js"
954
938
  ]
955
939
  },
956
940
  "run:exec": {
957
941
  "aliases": [],
958
- "args": {},
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
+ },
959
949
  "description": "Execute XanoScript code (job or service)",
960
950
  "examples": [
961
- "$ xano run exec -f script.xs\nExecuted successfully!\n...\n",
962
- "$ xano run exec -f script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
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",
963
954
  "$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
964
- "$ xano run exec -f script.xs -o json\n{\n \"run\": { ... }\n}\n",
965
- "$ xano run exec -f script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
966
- "$ xano run exec -f script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\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"
967
958
  ],
968
959
  "flags": {
969
960
  "profile": {
@@ -978,7 +969,7 @@
978
969
  },
979
970
  "file": {
980
971
  "char": "f",
981
- "description": "Path or URL to file containing XanoScript code",
972
+ "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
982
973
  "exclusive": [
983
974
  "stdin"
984
975
  ],
@@ -1058,89 +1049,95 @@
1058
1049
  "index.js"
1059
1050
  ]
1060
1051
  },
1061
- "run:info": {
1052
+ "profile:list": {
1062
1053
  "aliases": [],
1063
1054
  "args": {},
1064
- "description": "Get information about a XanoScript document (type, inputs, env vars)",
1055
+ "description": "List all available profile configurations",
1065
1056
  "examples": [
1066
- "$ 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",
1067
- "$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
1068
- "$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
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"
1069
1060
  ],
1070
1061
  "flags": {
1071
- "profile": {
1072
- "char": "p",
1073
- "description": "Profile to use for this command",
1074
- "env": "XANO_PROFILE",
1075
- "name": "profile",
1062
+ "details": {
1063
+ "char": "d",
1064
+ "description": "Show detailed information for each profile",
1065
+ "name": "details",
1076
1066
  "required": false,
1077
- "hasDynamicHelp": false,
1078
- "multiple": false,
1079
- "type": "option"
1080
- },
1081
- "file": {
1082
- "char": "f",
1083
- "description": "Path or URL to file containing XanoScript code",
1084
- "exclusive": [
1085
- "stdin"
1086
- ],
1087
- "name": "file",
1067
+ "allowNo": false,
1068
+ "type": "boolean"
1069
+ }
1070
+ },
1071
+ "hasDynamicHelp": false,
1072
+ "hiddenAliases": [],
1073
+ "id": "profile:list",
1074
+ "pluginAlias": "@xano/cli",
1075
+ "pluginName": "@xano/cli",
1076
+ "pluginType": "core",
1077
+ "strict": true,
1078
+ "enableJsonFlag": false,
1079
+ "isESM": true,
1080
+ "relativePath": [
1081
+ "dist",
1082
+ "commands",
1083
+ "profile",
1084
+ "list",
1085
+ "index.js"
1086
+ ]
1087
+ },
1088
+ "profile:wizard": {
1089
+ "aliases": [],
1090
+ "args": {},
1091
+ "description": "Create a new profile configuration using an interactive wizard",
1092
+ "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"
1094
+ ],
1095
+ "flags": {
1096
+ "name": {
1097
+ "char": "n",
1098
+ "description": "Profile name (skip prompt if provided)",
1099
+ "name": "name",
1088
1100
  "required": false,
1089
1101
  "hasDynamicHelp": false,
1090
1102
  "multiple": false,
1091
1103
  "type": "option"
1092
1104
  },
1093
- "stdin": {
1094
- "char": "s",
1095
- "description": "Read XanoScript code from stdin",
1096
- "exclusive": [
1097
- "file"
1098
- ],
1099
- "name": "stdin",
1100
- "required": false,
1101
- "allowNo": false,
1102
- "type": "boolean"
1103
- },
1104
- "output": {
1105
+ "origin": {
1105
1106
  "char": "o",
1106
- "description": "Output format",
1107
- "name": "output",
1107
+ "description": "Xano instance origin URL",
1108
+ "name": "origin",
1108
1109
  "required": false,
1109
- "default": "summary",
1110
+ "default": "https://app.xano.com",
1110
1111
  "hasDynamicHelp": false,
1111
1112
  "multiple": false,
1112
- "options": [
1113
- "summary",
1114
- "json"
1115
- ],
1116
1113
  "type": "option"
1117
1114
  }
1118
1115
  },
1119
1116
  "hasDynamicHelp": false,
1120
1117
  "hiddenAliases": [],
1121
- "id": "run:info",
1118
+ "id": "profile:wizard",
1122
1119
  "pluginAlias": "@xano/cli",
1123
1120
  "pluginName": "@xano/cli",
1124
1121
  "pluginType": "core",
1125
1122
  "strict": true,
1123
+ "enableJsonFlag": false,
1126
1124
  "isESM": true,
1127
1125
  "relativePath": [
1128
1126
  "dist",
1129
1127
  "commands",
1130
- "run",
1131
- "info",
1128
+ "profile",
1129
+ "wizard",
1132
1130
  "index.js"
1133
1131
  ]
1134
1132
  },
1135
- "static_host:list": {
1133
+ "run:info": {
1136
1134
  "aliases": [],
1137
1135
  "args": {},
1138
- "description": "List all static hosts in a workspace from the Xano Metadata API",
1136
+ "description": "Get information about a XanoScript document (type, inputs, env vars)",
1139
1137
  "examples": [
1140
- "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1141
- "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1142
- "$ 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",
1143
- "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
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"
1144
1141
  ],
1145
1142
  "flags": {
1146
1143
  "profile": {
@@ -1153,15 +1150,29 @@
1153
1150
  "multiple": false,
1154
1151
  "type": "option"
1155
1152
  },
1156
- "workspace": {
1157
- "char": "w",
1158
- "description": "Workspace ID (optional if set in profile)",
1159
- "name": "workspace",
1153
+ "file": {
1154
+ "char": "f",
1155
+ "description": "Path or URL to file containing XanoScript code",
1156
+ "exclusive": [
1157
+ "stdin"
1158
+ ],
1159
+ "name": "file",
1160
1160
  "required": false,
1161
1161
  "hasDynamicHelp": false,
1162
1162
  "multiple": false,
1163
1163
  "type": "option"
1164
1164
  },
1165
+ "stdin": {
1166
+ "char": "s",
1167
+ "description": "Read XanoScript code from stdin",
1168
+ "exclusive": [
1169
+ "file"
1170
+ ],
1171
+ "name": "stdin",
1172
+ "required": false,
1173
+ "allowNo": false,
1174
+ "type": "boolean"
1175
+ },
1165
1176
  "output": {
1166
1177
  "char": "o",
1167
1178
  "description": "Output format",
@@ -1175,40 +1186,21 @@
1175
1186
  "json"
1176
1187
  ],
1177
1188
  "type": "option"
1178
- },
1179
- "page": {
1180
- "description": "Page number for pagination",
1181
- "name": "page",
1182
- "required": false,
1183
- "default": 1,
1184
- "hasDynamicHelp": false,
1185
- "multiple": false,
1186
- "type": "option"
1187
- },
1188
- "per_page": {
1189
- "description": "Number of results per page",
1190
- "name": "per_page",
1191
- "required": false,
1192
- "default": 50,
1193
- "hasDynamicHelp": false,
1194
- "multiple": false,
1195
- "type": "option"
1196
1189
  }
1197
1190
  },
1198
1191
  "hasDynamicHelp": false,
1199
1192
  "hiddenAliases": [],
1200
- "id": "static_host:list",
1193
+ "id": "run:info",
1201
1194
  "pluginAlias": "@xano/cli",
1202
1195
  "pluginName": "@xano/cli",
1203
1196
  "pluginType": "core",
1204
1197
  "strict": true,
1205
- "enableJsonFlag": false,
1206
1198
  "isESM": true,
1207
1199
  "relativePath": [
1208
1200
  "dist",
1209
1201
  "commands",
1210
- "static_host",
1211
- "list",
1202
+ "run",
1203
+ "info",
1212
1204
  "index.js"
1213
1205
  ]
1214
1206
  },
@@ -1385,19 +1377,20 @@
1385
1377
  "index.js"
1386
1378
  ]
1387
1379
  },
1388
- "run:env:delete": {
1380
+ "static_host:build:create": {
1389
1381
  "aliases": [],
1390
1382
  "args": {
1391
- "name": {
1392
- "description": "Environment variable name",
1393
- "name": "name",
1383
+ "static_host": {
1384
+ "description": "Static Host name",
1385
+ "name": "static_host",
1394
1386
  "required": true
1395
1387
  }
1396
1388
  },
1397
- "description": "Delete an environment variable",
1389
+ "description": "Create a new build for a static host",
1398
1390
  "examples": [
1399
- "$ 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",
1400
- "$ xano run env delete API_KEY --force\nEnvironment variable 'API_KEY' deleted successfully!\n"
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"
1401
1394
  ],
1402
1395
  "flags": {
1403
1396
  "profile": {
@@ -1410,45 +1403,95 @@
1410
1403
  "multiple": false,
1411
1404
  "type": "option"
1412
1405
  },
1413
- "force": {
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": {
1414
1416
  "char": "f",
1415
- "description": "Skip confirmation prompt",
1416
- "name": "force",
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",
1417
1437
  "required": false,
1418
- "allowNo": false,
1419
- "type": "boolean"
1438
+ "hasDynamicHelp": false,
1439
+ "multiple": false,
1440
+ "type": "option"
1441
+ },
1442
+ "output": {
1443
+ "char": "o",
1444
+ "description": "Output format",
1445
+ "name": "output",
1446
+ "required": false,
1447
+ "default": "summary",
1448
+ "hasDynamicHelp": false,
1449
+ "multiple": false,
1450
+ "options": [
1451
+ "summary",
1452
+ "json"
1453
+ ],
1454
+ "type": "option"
1420
1455
  }
1421
1456
  },
1422
1457
  "hasDynamicHelp": false,
1423
1458
  "hiddenAliases": [],
1424
- "id": "run:env:delete",
1459
+ "id": "static_host:build:create",
1425
1460
  "pluginAlias": "@xano/cli",
1426
1461
  "pluginName": "@xano/cli",
1427
1462
  "pluginType": "core",
1428
1463
  "strict": true,
1464
+ "enableJsonFlag": false,
1429
1465
  "isESM": true,
1430
1466
  "relativePath": [
1431
1467
  "dist",
1432
1468
  "commands",
1433
- "run",
1434
- "env",
1435
- "delete",
1469
+ "static_host",
1470
+ "build",
1471
+ "create",
1436
1472
  "index.js"
1437
1473
  ]
1438
1474
  },
1439
- "run:env:get": {
1475
+ "static_host:build:get": {
1440
1476
  "aliases": [],
1441
1477
  "args": {
1442
- "name": {
1443
- "description": "Environment variable name",
1444
- "name": "name",
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",
1445
1486
  "required": true
1446
1487
  }
1447
1488
  },
1448
- "description": "Get an environment variable value",
1489
+ "description": "Get details of a specific build for a static host",
1449
1490
  "examples": [
1450
- "$ xano run env get API_KEY\nmy-secret-api-key\n",
1451
- "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
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"
1452
1495
  ],
1453
1496
  "flags": {
1454
1497
  "profile": {
@@ -1461,16 +1504,25 @@
1461
1504
  "multiple": false,
1462
1505
  "type": "option"
1463
1506
  },
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
+ },
1464
1516
  "output": {
1465
1517
  "char": "o",
1466
1518
  "description": "Output format",
1467
1519
  "name": "output",
1468
1520
  "required": false,
1469
- "default": "value",
1521
+ "default": "summary",
1470
1522
  "hasDynamicHelp": false,
1471
1523
  "multiple": false,
1472
1524
  "options": [
1473
- "value",
1525
+ "summary",
1474
1526
  "json"
1475
1527
  ],
1476
1528
  "type": "option"
@@ -1478,28 +1530,224 @@
1478
1530
  },
1479
1531
  "hasDynamicHelp": false,
1480
1532
  "hiddenAliases": [],
1481
- "id": "run:env:get",
1533
+ "id": "static_host:build:get",
1482
1534
  "pluginAlias": "@xano/cli",
1483
1535
  "pluginName": "@xano/cli",
1484
1536
  "pluginType": "core",
1485
1537
  "strict": true,
1538
+ "enableJsonFlag": false,
1486
1539
  "isESM": true,
1487
1540
  "relativePath": [
1488
1541
  "dist",
1489
1542
  "commands",
1490
- "run",
1491
- "env",
1543
+ "static_host",
1544
+ "build",
1492
1545
  "get",
1493
1546
  "index.js"
1494
1547
  ]
1495
1548
  },
1496
- "run:env:list": {
1549
+ "static_host:build:list": {
1497
1550
  "aliases": [],
1498
- "args": {},
1499
- "description": "List all environment variable keys",
1551
+ "args": {
1552
+ "static_host": {
1553
+ "description": "Static Host name",
1554
+ "name": "static_host",
1555
+ "required": true
1556
+ }
1557
+ },
1558
+ "description": "List all builds for a static host",
1500
1559
  "examples": [
1501
- "$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
1502
- "$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
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"
1564
+ ],
1565
+ "flags": {
1566
+ "profile": {
1567
+ "char": "p",
1568
+ "description": "Profile to use for this command",
1569
+ "env": "XANO_PROFILE",
1570
+ "name": "profile",
1571
+ "required": false,
1572
+ "hasDynamicHelp": false,
1573
+ "multiple": false,
1574
+ "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
+ }
1617
+ },
1618
+ "hasDynamicHelp": false,
1619
+ "hiddenAliases": [],
1620
+ "id": "static_host:build:list",
1621
+ "pluginAlias": "@xano/cli",
1622
+ "pluginName": "@xano/cli",
1623
+ "pluginType": "core",
1624
+ "strict": true,
1625
+ "enableJsonFlag": false,
1626
+ "isESM": true,
1627
+ "relativePath": [
1628
+ "dist",
1629
+ "commands",
1630
+ "static_host",
1631
+ "build",
1632
+ "list",
1633
+ "index.js"
1634
+ ]
1635
+ },
1636
+ "run:env:delete": {
1637
+ "aliases": [],
1638
+ "args": {
1639
+ "name": {
1640
+ "description": "Environment variable name",
1641
+ "name": "name",
1642
+ "required": true
1643
+ }
1644
+ },
1645
+ "description": "Delete an environment variable",
1646
+ "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"
1649
+ ],
1650
+ "flags": {
1651
+ "profile": {
1652
+ "char": "p",
1653
+ "description": "Profile to use for this command",
1654
+ "env": "XANO_PROFILE",
1655
+ "name": "profile",
1656
+ "required": false,
1657
+ "hasDynamicHelp": false,
1658
+ "multiple": false,
1659
+ "type": "option"
1660
+ },
1661
+ "force": {
1662
+ "char": "f",
1663
+ "description": "Skip confirmation prompt",
1664
+ "name": "force",
1665
+ "required": false,
1666
+ "allowNo": false,
1667
+ "type": "boolean"
1668
+ }
1669
+ },
1670
+ "hasDynamicHelp": false,
1671
+ "hiddenAliases": [],
1672
+ "id": "run:env:delete",
1673
+ "pluginAlias": "@xano/cli",
1674
+ "pluginName": "@xano/cli",
1675
+ "pluginType": "core",
1676
+ "strict": true,
1677
+ "isESM": true,
1678
+ "relativePath": [
1679
+ "dist",
1680
+ "commands",
1681
+ "run",
1682
+ "env",
1683
+ "delete",
1684
+ "index.js"
1685
+ ]
1686
+ },
1687
+ "run:env:get": {
1688
+ "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",
1697
+ "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"
1700
+ ],
1701
+ "flags": {
1702
+ "profile": {
1703
+ "char": "p",
1704
+ "description": "Profile to use for this command",
1705
+ "env": "XANO_PROFILE",
1706
+ "name": "profile",
1707
+ "required": false,
1708
+ "hasDynamicHelp": false,
1709
+ "multiple": false,
1710
+ "type": "option"
1711
+ },
1712
+ "output": {
1713
+ "char": "o",
1714
+ "description": "Output format",
1715
+ "name": "output",
1716
+ "required": false,
1717
+ "default": "value",
1718
+ "hasDynamicHelp": false,
1719
+ "multiple": false,
1720
+ "options": [
1721
+ "value",
1722
+ "json"
1723
+ ],
1724
+ "type": "option"
1725
+ }
1726
+ },
1727
+ "hasDynamicHelp": false,
1728
+ "hiddenAliases": [],
1729
+ "id": "run:env:get",
1730
+ "pluginAlias": "@xano/cli",
1731
+ "pluginName": "@xano/cli",
1732
+ "pluginType": "core",
1733
+ "strict": true,
1734
+ "isESM": true,
1735
+ "relativePath": [
1736
+ "dist",
1737
+ "commands",
1738
+ "run",
1739
+ "env",
1740
+ "get",
1741
+ "index.js"
1742
+ ]
1743
+ },
1744
+ "run:env:list": {
1745
+ "aliases": [],
1746
+ "args": {},
1747
+ "description": "List all environment variable keys",
1748
+ "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"
1503
1751
  ],
1504
1752
  "flags": {
1505
1753
  "profile": {
@@ -1714,6 +1962,57 @@
1714
1962
  "index.js"
1715
1963
  ]
1716
1964
  },
1965
+ "run:projects:list": {
1966
+ "aliases": [],
1967
+ "args": {},
1968
+ "description": "List all projects",
1969
+ "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"
1972
+ ],
1973
+ "flags": {
1974
+ "profile": {
1975
+ "char": "p",
1976
+ "description": "Profile to use for this command",
1977
+ "env": "XANO_PROFILE",
1978
+ "name": "profile",
1979
+ "required": false,
1980
+ "hasDynamicHelp": false,
1981
+ "multiple": false,
1982
+ "type": "option"
1983
+ },
1984
+ "output": {
1985
+ "char": "o",
1986
+ "description": "Output format",
1987
+ "name": "output",
1988
+ "required": false,
1989
+ "default": "table",
1990
+ "hasDynamicHelp": false,
1991
+ "multiple": false,
1992
+ "options": [
1993
+ "table",
1994
+ "json"
1995
+ ],
1996
+ "type": "option"
1997
+ }
1998
+ },
1999
+ "hasDynamicHelp": false,
2000
+ "hiddenAliases": [],
2001
+ "id": "run:projects:list",
2002
+ "pluginAlias": "@xano/cli",
2003
+ "pluginName": "@xano/cli",
2004
+ "pluginType": "core",
2005
+ "strict": true,
2006
+ "isESM": true,
2007
+ "relativePath": [
2008
+ "dist",
2009
+ "commands",
2010
+ "run",
2011
+ "projects",
2012
+ "list",
2013
+ "index.js"
2014
+ ]
2015
+ },
1717
2016
  "run:projects:update": {
1718
2017
  "aliases": [],
1719
2018
  "args": {
@@ -1790,70 +2089,19 @@
1790
2089
  "index.js"
1791
2090
  ]
1792
2091
  },
1793
- "run:projects:list": {
2092
+ "run:secrets:delete": {
1794
2093
  "aliases": [],
1795
- "args": {},
1796
- "description": "List all projects",
2094
+ "args": {
2095
+ "name": {
2096
+ "description": "Secret name",
2097
+ "name": "name",
2098
+ "required": true
2099
+ }
2100
+ },
2101
+ "description": "Delete a secret",
1797
2102
  "examples": [
1798
- "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
1799
- "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
1800
- ],
1801
- "flags": {
1802
- "profile": {
1803
- "char": "p",
1804
- "description": "Profile to use for this command",
1805
- "env": "XANO_PROFILE",
1806
- "name": "profile",
1807
- "required": false,
1808
- "hasDynamicHelp": false,
1809
- "multiple": false,
1810
- "type": "option"
1811
- },
1812
- "output": {
1813
- "char": "o",
1814
- "description": "Output format",
1815
- "name": "output",
1816
- "required": false,
1817
- "default": "table",
1818
- "hasDynamicHelp": false,
1819
- "multiple": false,
1820
- "options": [
1821
- "table",
1822
- "json"
1823
- ],
1824
- "type": "option"
1825
- }
1826
- },
1827
- "hasDynamicHelp": false,
1828
- "hiddenAliases": [],
1829
- "id": "run:projects:list",
1830
- "pluginAlias": "@xano/cli",
1831
- "pluginName": "@xano/cli",
1832
- "pluginType": "core",
1833
- "strict": true,
1834
- "isESM": true,
1835
- "relativePath": [
1836
- "dist",
1837
- "commands",
1838
- "run",
1839
- "projects",
1840
- "list",
1841
- "index.js"
1842
- ]
1843
- },
1844
- "run:secrets:delete": {
1845
- "aliases": [],
1846
- "args": {
1847
- "name": {
1848
- "description": "Secret name",
1849
- "name": "name",
1850
- "required": true
1851
- }
1852
- },
1853
- "description": "Delete a secret",
1854
- "examples": [
1855
- "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
1856
- "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
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"
1857
2105
  ],
1858
2106
  "flags": {
1859
2107
  "profile": {
@@ -2000,57 +2248,6 @@
2000
2248
  "index.js"
2001
2249
  ]
2002
2250
  },
2003
- "run:sessions:delete": {
2004
- "aliases": [],
2005
- "args": {
2006
- "sessionId": {
2007
- "description": "Session ID",
2008
- "name": "sessionId",
2009
- "required": true
2010
- }
2011
- },
2012
- "description": "Delete a session",
2013
- "examples": [
2014
- "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
2015
- "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
2016
- ],
2017
- "flags": {
2018
- "profile": {
2019
- "char": "p",
2020
- "description": "Profile to use for this command",
2021
- "env": "XANO_PROFILE",
2022
- "name": "profile",
2023
- "required": false,
2024
- "hasDynamicHelp": false,
2025
- "multiple": false,
2026
- "type": "option"
2027
- },
2028
- "force": {
2029
- "char": "f",
2030
- "description": "Skip confirmation prompt",
2031
- "name": "force",
2032
- "required": false,
2033
- "allowNo": false,
2034
- "type": "boolean"
2035
- }
2036
- },
2037
- "hasDynamicHelp": false,
2038
- "hiddenAliases": [],
2039
- "id": "run:sessions:delete",
2040
- "pluginAlias": "@xano/cli",
2041
- "pluginName": "@xano/cli",
2042
- "pluginType": "core",
2043
- "strict": true,
2044
- "isESM": true,
2045
- "relativePath": [
2046
- "dist",
2047
- "commands",
2048
- "run",
2049
- "sessions",
2050
- "delete",
2051
- "index.js"
2052
- ]
2053
- },
2054
2251
  "run:secrets:set": {
2055
2252
  "aliases": [],
2056
2253
  "args": {
@@ -2125,6 +2322,57 @@
2125
2322
  "index.js"
2126
2323
  ]
2127
2324
  },
2325
+ "run:sessions:delete": {
2326
+ "aliases": [],
2327
+ "args": {
2328
+ "sessionId": {
2329
+ "description": "Session ID",
2330
+ "name": "sessionId",
2331
+ "required": true
2332
+ }
2333
+ },
2334
+ "description": "Delete a session",
2335
+ "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"
2338
+ ],
2339
+ "flags": {
2340
+ "profile": {
2341
+ "char": "p",
2342
+ "description": "Profile to use for this command",
2343
+ "env": "XANO_PROFILE",
2344
+ "name": "profile",
2345
+ "required": false,
2346
+ "hasDynamicHelp": false,
2347
+ "multiple": false,
2348
+ "type": "option"
2349
+ },
2350
+ "force": {
2351
+ "char": "f",
2352
+ "description": "Skip confirmation prompt",
2353
+ "name": "force",
2354
+ "required": false,
2355
+ "allowNo": false,
2356
+ "type": "boolean"
2357
+ }
2358
+ },
2359
+ "hasDynamicHelp": false,
2360
+ "hiddenAliases": [],
2361
+ "id": "run:sessions:delete",
2362
+ "pluginAlias": "@xano/cli",
2363
+ "pluginName": "@xano/cli",
2364
+ "pluginType": "core",
2365
+ "strict": true,
2366
+ "isESM": true,
2367
+ "relativePath": [
2368
+ "dist",
2369
+ "commands",
2370
+ "run",
2371
+ "sessions",
2372
+ "delete",
2373
+ "index.js"
2374
+ ]
2375
+ },
2128
2376
  "run:sessions:get": {
2129
2377
  "aliases": [],
2130
2378
  "args": {
@@ -2403,263 +2651,7 @@
2403
2651
  "get",
2404
2652
  "index.js"
2405
2653
  ]
2406
- },
2407
- "static_host:build:create": {
2408
- "aliases": [],
2409
- "args": {
2410
- "static_host": {
2411
- "description": "Static Host name",
2412
- "name": "static_host",
2413
- "required": true
2414
- }
2415
- },
2416
- "description": "Create a new build for a static host",
2417
- "examples": [
2418
- "$ 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",
2419
- "$ 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",
2420
- "$ 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"
2421
- ],
2422
- "flags": {
2423
- "profile": {
2424
- "char": "p",
2425
- "description": "Profile to use for this command",
2426
- "env": "XANO_PROFILE",
2427
- "name": "profile",
2428
- "required": false,
2429
- "hasDynamicHelp": false,
2430
- "multiple": false,
2431
- "type": "option"
2432
- },
2433
- "workspace": {
2434
- "char": "w",
2435
- "description": "Workspace ID (optional if set in profile)",
2436
- "name": "workspace",
2437
- "required": false,
2438
- "hasDynamicHelp": false,
2439
- "multiple": false,
2440
- "type": "option"
2441
- },
2442
- "file": {
2443
- "char": "f",
2444
- "description": "Path to zip file to upload",
2445
- "name": "file",
2446
- "required": true,
2447
- "hasDynamicHelp": false,
2448
- "multiple": false,
2449
- "type": "option"
2450
- },
2451
- "name": {
2452
- "char": "n",
2453
- "description": "Build name",
2454
- "name": "name",
2455
- "required": true,
2456
- "hasDynamicHelp": false,
2457
- "multiple": false,
2458
- "type": "option"
2459
- },
2460
- "description": {
2461
- "char": "d",
2462
- "description": "Build description",
2463
- "name": "description",
2464
- "required": false,
2465
- "hasDynamicHelp": false,
2466
- "multiple": false,
2467
- "type": "option"
2468
- },
2469
- "output": {
2470
- "char": "o",
2471
- "description": "Output format",
2472
- "name": "output",
2473
- "required": false,
2474
- "default": "summary",
2475
- "hasDynamicHelp": false,
2476
- "multiple": false,
2477
- "options": [
2478
- "summary",
2479
- "json"
2480
- ],
2481
- "type": "option"
2482
- }
2483
- },
2484
- "hasDynamicHelp": false,
2485
- "hiddenAliases": [],
2486
- "id": "static_host:build:create",
2487
- "pluginAlias": "@xano/cli",
2488
- "pluginName": "@xano/cli",
2489
- "pluginType": "core",
2490
- "strict": true,
2491
- "enableJsonFlag": false,
2492
- "isESM": true,
2493
- "relativePath": [
2494
- "dist",
2495
- "commands",
2496
- "static_host",
2497
- "build",
2498
- "create",
2499
- "index.js"
2500
- ]
2501
- },
2502
- "static_host:build:get": {
2503
- "aliases": [],
2504
- "args": {
2505
- "static_host": {
2506
- "description": "Static Host name",
2507
- "name": "static_host",
2508
- "required": true
2509
- },
2510
- "build_id": {
2511
- "description": "Build ID",
2512
- "name": "build_id",
2513
- "required": true
2514
- }
2515
- },
2516
- "description": "Get details of a specific build for a static host",
2517
- "examples": [
2518
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
2519
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
2520
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
2521
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
2522
- ],
2523
- "flags": {
2524
- "profile": {
2525
- "char": "p",
2526
- "description": "Profile to use for this command",
2527
- "env": "XANO_PROFILE",
2528
- "name": "profile",
2529
- "required": false,
2530
- "hasDynamicHelp": false,
2531
- "multiple": false,
2532
- "type": "option"
2533
- },
2534
- "workspace": {
2535
- "char": "w",
2536
- "description": "Workspace ID (optional if set in profile)",
2537
- "name": "workspace",
2538
- "required": false,
2539
- "hasDynamicHelp": false,
2540
- "multiple": false,
2541
- "type": "option"
2542
- },
2543
- "output": {
2544
- "char": "o",
2545
- "description": "Output format",
2546
- "name": "output",
2547
- "required": false,
2548
- "default": "summary",
2549
- "hasDynamicHelp": false,
2550
- "multiple": false,
2551
- "options": [
2552
- "summary",
2553
- "json"
2554
- ],
2555
- "type": "option"
2556
- }
2557
- },
2558
- "hasDynamicHelp": false,
2559
- "hiddenAliases": [],
2560
- "id": "static_host:build:get",
2561
- "pluginAlias": "@xano/cli",
2562
- "pluginName": "@xano/cli",
2563
- "pluginType": "core",
2564
- "strict": true,
2565
- "enableJsonFlag": false,
2566
- "isESM": true,
2567
- "relativePath": [
2568
- "dist",
2569
- "commands",
2570
- "static_host",
2571
- "build",
2572
- "get",
2573
- "index.js"
2574
- ]
2575
- },
2576
- "static_host:build:list": {
2577
- "aliases": [],
2578
- "args": {
2579
- "static_host": {
2580
- "description": "Static Host name",
2581
- "name": "static_host",
2582
- "required": true
2583
- }
2584
- },
2585
- "description": "List all builds for a static host",
2586
- "examples": [
2587
- "$ 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",
2588
- "$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
2589
- "$ 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",
2590
- "$ 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"
2591
- ],
2592
- "flags": {
2593
- "profile": {
2594
- "char": "p",
2595
- "description": "Profile to use for this command",
2596
- "env": "XANO_PROFILE",
2597
- "name": "profile",
2598
- "required": false,
2599
- "hasDynamicHelp": false,
2600
- "multiple": false,
2601
- "type": "option"
2602
- },
2603
- "workspace": {
2604
- "char": "w",
2605
- "description": "Workspace ID (optional if set in profile)",
2606
- "name": "workspace",
2607
- "required": false,
2608
- "hasDynamicHelp": false,
2609
- "multiple": false,
2610
- "type": "option"
2611
- },
2612
- "output": {
2613
- "char": "o",
2614
- "description": "Output format",
2615
- "name": "output",
2616
- "required": false,
2617
- "default": "summary",
2618
- "hasDynamicHelp": false,
2619
- "multiple": false,
2620
- "options": [
2621
- "summary",
2622
- "json"
2623
- ],
2624
- "type": "option"
2625
- },
2626
- "page": {
2627
- "description": "Page number for pagination",
2628
- "name": "page",
2629
- "required": false,
2630
- "default": 1,
2631
- "hasDynamicHelp": false,
2632
- "multiple": false,
2633
- "type": "option"
2634
- },
2635
- "per_page": {
2636
- "description": "Number of results per page",
2637
- "name": "per_page",
2638
- "required": false,
2639
- "default": 50,
2640
- "hasDynamicHelp": false,
2641
- "multiple": false,
2642
- "type": "option"
2643
- }
2644
- },
2645
- "hasDynamicHelp": false,
2646
- "hiddenAliases": [],
2647
- "id": "static_host:build:list",
2648
- "pluginAlias": "@xano/cli",
2649
- "pluginName": "@xano/cli",
2650
- "pluginType": "core",
2651
- "strict": true,
2652
- "enableJsonFlag": false,
2653
- "isESM": true,
2654
- "relativePath": [
2655
- "dist",
2656
- "commands",
2657
- "static_host",
2658
- "build",
2659
- "list",
2660
- "index.js"
2661
- ]
2662
2654
  }
2663
2655
  },
2664
- "version": "0.0.16"
2656
+ "version": "0.0.18"
2665
2657
  }