@xano/cli 0.0.19 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/README.md +14 -0
  2. package/dist/base-command.d.ts +2 -0
  3. package/dist/base-command.js +7 -0
  4. package/dist/commands/function/create/index.d.ts +1 -0
  5. package/dist/commands/function/edit/index.d.ts +1 -0
  6. package/dist/commands/function/get/index.d.ts +1 -0
  7. package/dist/commands/function/list/index.d.ts +1 -0
  8. package/dist/commands/profile/edit/index.d.ts +1 -0
  9. package/dist/commands/profile/me/index.d.ts +1 -0
  10. package/dist/commands/run/env/delete/index.d.ts +1 -0
  11. package/dist/commands/run/env/delete/index.js +1 -1
  12. package/dist/commands/run/env/get/index.d.ts +1 -0
  13. package/dist/commands/run/env/get/index.js +1 -1
  14. package/dist/commands/run/env/list/index.d.ts +1 -0
  15. package/dist/commands/run/env/list/index.js +1 -1
  16. package/dist/commands/run/env/set/index.d.ts +1 -0
  17. package/dist/commands/run/env/set/index.js +1 -1
  18. package/dist/commands/run/exec/index.d.ts +1 -0
  19. package/dist/commands/run/exec/index.js +11 -2
  20. package/dist/commands/run/info/index.d.ts +1 -0
  21. package/dist/commands/run/info/index.js +1 -1
  22. package/dist/commands/run/projects/create/index.d.ts +1 -0
  23. package/dist/commands/run/projects/create/index.js +1 -1
  24. package/dist/commands/run/projects/delete/index.d.ts +1 -0
  25. package/dist/commands/run/projects/delete/index.js +1 -1
  26. package/dist/commands/run/projects/list/index.d.ts +1 -0
  27. package/dist/commands/run/projects/list/index.js +1 -1
  28. package/dist/commands/run/projects/update/index.d.ts +1 -0
  29. package/dist/commands/run/projects/update/index.js +1 -1
  30. package/dist/commands/run/secrets/delete/index.d.ts +1 -0
  31. package/dist/commands/run/secrets/delete/index.js +1 -1
  32. package/dist/commands/run/secrets/get/index.d.ts +1 -0
  33. package/dist/commands/run/secrets/get/index.js +1 -1
  34. package/dist/commands/run/secrets/list/index.d.ts +1 -0
  35. package/dist/commands/run/secrets/list/index.js +1 -1
  36. package/dist/commands/run/secrets/set/index.d.ts +1 -0
  37. package/dist/commands/run/secrets/set/index.js +1 -1
  38. package/dist/commands/run/sessions/delete/index.d.ts +1 -0
  39. package/dist/commands/run/sessions/delete/index.js +1 -1
  40. package/dist/commands/run/sessions/get/index.d.ts +1 -0
  41. package/dist/commands/run/sessions/get/index.js +1 -1
  42. package/dist/commands/run/sessions/list/index.d.ts +1 -0
  43. package/dist/commands/run/sessions/list/index.js +1 -1
  44. package/dist/commands/run/sessions/start/index.d.ts +1 -0
  45. package/dist/commands/run/sessions/start/index.js +1 -1
  46. package/dist/commands/run/sessions/stop/index.d.ts +1 -0
  47. package/dist/commands/run/sessions/stop/index.js +1 -1
  48. package/dist/commands/run/sink/get/index.d.ts +1 -0
  49. package/dist/commands/run/sink/get/index.js +1 -1
  50. package/dist/commands/static_host/build/create/index.d.ts +1 -0
  51. package/dist/commands/static_host/build/get/index.d.ts +1 -0
  52. package/dist/commands/static_host/build/list/index.d.ts +1 -0
  53. package/dist/commands/static_host/list/index.d.ts +1 -0
  54. package/dist/commands/workspace/create/index.d.ts +14 -0
  55. package/dist/commands/workspace/create/index.js +131 -0
  56. package/dist/commands/workspace/delete/index.d.ts +20 -0
  57. package/dist/commands/workspace/delete/index.js +141 -0
  58. package/dist/commands/workspace/edit/index.d.ts +22 -0
  59. package/dist/commands/workspace/edit/index.js +176 -0
  60. package/dist/commands/workspace/get/index.d.ts +18 -0
  61. package/dist/commands/workspace/get/index.js +136 -0
  62. package/dist/commands/workspace/list/index.d.ts +1 -0
  63. package/dist/commands/workspace/pull/index.d.ts +1 -0
  64. package/dist/commands/workspace/push/index.d.ts +1 -0
  65. package/dist/lib/base-run-command.d.ts +2 -2
  66. package/dist/lib/base-run-command.js +5 -3
  67. package/dist/lib/run-http-client.d.ts +7 -1
  68. package/dist/lib/run-http-client.js +37 -2
  69. package/oclif.manifest.json +1235 -617
  70. package/package.json +1 -1
@@ -22,6 +22,15 @@
22
22
  "multiple": false,
23
23
  "type": "option"
24
24
  },
25
+ "verbose": {
26
+ "char": "v",
27
+ "description": "Show detailed request/response information",
28
+ "env": "XANO_VERBOSE",
29
+ "name": "verbose",
30
+ "required": false,
31
+ "allowNo": false,
32
+ "type": "boolean"
33
+ },
25
34
  "workspace": {
26
35
  "char": "w",
27
36
  "description": "Workspace ID (optional if set in profile)",
@@ -128,6 +137,15 @@
128
137
  "multiple": false,
129
138
  "type": "option"
130
139
  },
140
+ "verbose": {
141
+ "char": "v",
142
+ "description": "Show detailed request/response information",
143
+ "env": "XANO_VERBOSE",
144
+ "name": "verbose",
145
+ "required": false,
146
+ "allowNo": false,
147
+ "type": "boolean"
148
+ },
131
149
  "workspace": {
132
150
  "char": "w",
133
151
  "description": "Workspace ID (optional if set in profile)",
@@ -236,6 +254,15 @@
236
254
  "multiple": false,
237
255
  "type": "option"
238
256
  },
257
+ "verbose": {
258
+ "char": "v",
259
+ "description": "Show detailed request/response information",
260
+ "env": "XANO_VERBOSE",
261
+ "name": "verbose",
262
+ "required": false,
263
+ "allowNo": false,
264
+ "type": "boolean"
265
+ },
239
266
  "workspace": {
240
267
  "char": "w",
241
268
  "description": "Workspace ID (optional if set in profile)",
@@ -313,6 +340,15 @@
313
340
  "multiple": false,
314
341
  "type": "option"
315
342
  },
343
+ "verbose": {
344
+ "char": "v",
345
+ "description": "Show detailed request/response information",
346
+ "env": "XANO_VERBOSE",
347
+ "name": "verbose",
348
+ "required": false,
349
+ "allowNo": false,
350
+ "type": "boolean"
351
+ },
316
352
  "workspace": {
317
353
  "char": "w",
318
354
  "description": "Workspace ID (optional if set in profile)",
@@ -408,6 +444,207 @@
408
444
  "index.js"
409
445
  ]
410
446
  },
447
+ "run:exec": {
448
+ "aliases": [],
449
+ "args": {
450
+ "path": {
451
+ "description": "Path to file or directory containing XanoScript code (directory creates multidoc from .xs files)",
452
+ "name": "path",
453
+ "required": false
454
+ }
455
+ },
456
+ "description": "Execute XanoScript code (job or service)",
457
+ "examples": [
458
+ "$ xano run exec script.xs\nExecuted successfully!\n...\n",
459
+ "$ xano run exec ./my-workspace\n# Executes all .xs files in directory as multidoc\nExecuted successfully!\n...\n",
460
+ "$ xano run exec script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
461
+ "$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
462
+ "$ xano run exec script.xs -o json\n{\n \"run\": { ... }\n}\n",
463
+ "$ xano run exec script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
464
+ "$ xano run exec script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
465
+ ],
466
+ "flags": {
467
+ "profile": {
468
+ "char": "p",
469
+ "description": "Profile to use for this command",
470
+ "env": "XANO_PROFILE",
471
+ "name": "profile",
472
+ "required": false,
473
+ "hasDynamicHelp": false,
474
+ "multiple": false,
475
+ "type": "option"
476
+ },
477
+ "verbose": {
478
+ "char": "v",
479
+ "description": "Show detailed request/response information",
480
+ "env": "XANO_VERBOSE",
481
+ "name": "verbose",
482
+ "required": false,
483
+ "allowNo": false,
484
+ "type": "boolean"
485
+ },
486
+ "file": {
487
+ "char": "f",
488
+ "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
489
+ "exclusive": [
490
+ "stdin"
491
+ ],
492
+ "name": "file",
493
+ "required": false,
494
+ "hasDynamicHelp": false,
495
+ "multiple": false,
496
+ "type": "option"
497
+ },
498
+ "stdin": {
499
+ "char": "s",
500
+ "description": "Read XanoScript code from stdin",
501
+ "exclusive": [
502
+ "file"
503
+ ],
504
+ "name": "stdin",
505
+ "required": false,
506
+ "allowNo": false,
507
+ "type": "boolean"
508
+ },
509
+ "edit": {
510
+ "char": "e",
511
+ "description": "Open file in editor before running (requires path argument or --file)",
512
+ "name": "edit",
513
+ "required": false,
514
+ "allowNo": false,
515
+ "type": "boolean"
516
+ },
517
+ "output": {
518
+ "char": "o",
519
+ "description": "Output format",
520
+ "name": "output",
521
+ "required": false,
522
+ "default": "summary",
523
+ "hasDynamicHelp": false,
524
+ "multiple": false,
525
+ "options": [
526
+ "summary",
527
+ "json"
528
+ ],
529
+ "type": "option"
530
+ },
531
+ "args": {
532
+ "char": "a",
533
+ "description": "Path or URL to JSON file containing input arguments",
534
+ "name": "args",
535
+ "required": false,
536
+ "hasDynamicHelp": false,
537
+ "multiple": false,
538
+ "type": "option"
539
+ },
540
+ "env": {
541
+ "description": "Environment variable override (key=value)",
542
+ "name": "env",
543
+ "required": false,
544
+ "hasDynamicHelp": false,
545
+ "multiple": true,
546
+ "type": "option"
547
+ }
548
+ },
549
+ "hasDynamicHelp": false,
550
+ "hiddenAliases": [],
551
+ "id": "run:exec",
552
+ "pluginAlias": "@xano/cli",
553
+ "pluginName": "@xano/cli",
554
+ "pluginType": "core",
555
+ "strict": true,
556
+ "isESM": true,
557
+ "relativePath": [
558
+ "dist",
559
+ "commands",
560
+ "run",
561
+ "exec",
562
+ "index.js"
563
+ ]
564
+ },
565
+ "run:info": {
566
+ "aliases": [],
567
+ "args": {},
568
+ "description": "Get information about a XanoScript document (type, inputs, env vars)",
569
+ "examples": [
570
+ "$ 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",
571
+ "$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
572
+ "$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
573
+ ],
574
+ "flags": {
575
+ "profile": {
576
+ "char": "p",
577
+ "description": "Profile to use for this command",
578
+ "env": "XANO_PROFILE",
579
+ "name": "profile",
580
+ "required": false,
581
+ "hasDynamicHelp": false,
582
+ "multiple": false,
583
+ "type": "option"
584
+ },
585
+ "verbose": {
586
+ "char": "v",
587
+ "description": "Show detailed request/response information",
588
+ "env": "XANO_VERBOSE",
589
+ "name": "verbose",
590
+ "required": false,
591
+ "allowNo": false,
592
+ "type": "boolean"
593
+ },
594
+ "file": {
595
+ "char": "f",
596
+ "description": "Path or URL to file containing XanoScript code",
597
+ "exclusive": [
598
+ "stdin"
599
+ ],
600
+ "name": "file",
601
+ "required": false,
602
+ "hasDynamicHelp": false,
603
+ "multiple": false,
604
+ "type": "option"
605
+ },
606
+ "stdin": {
607
+ "char": "s",
608
+ "description": "Read XanoScript code from stdin",
609
+ "exclusive": [
610
+ "file"
611
+ ],
612
+ "name": "stdin",
613
+ "required": false,
614
+ "allowNo": false,
615
+ "type": "boolean"
616
+ },
617
+ "output": {
618
+ "char": "o",
619
+ "description": "Output format",
620
+ "name": "output",
621
+ "required": false,
622
+ "default": "summary",
623
+ "hasDynamicHelp": false,
624
+ "multiple": false,
625
+ "options": [
626
+ "summary",
627
+ "json"
628
+ ],
629
+ "type": "option"
630
+ }
631
+ },
632
+ "hasDynamicHelp": false,
633
+ "hiddenAliases": [],
634
+ "id": "run:info",
635
+ "pluginAlias": "@xano/cli",
636
+ "pluginName": "@xano/cli",
637
+ "pluginType": "core",
638
+ "strict": true,
639
+ "isESM": true,
640
+ "relativePath": [
641
+ "dist",
642
+ "commands",
643
+ "run",
644
+ "info",
645
+ "index.js"
646
+ ]
647
+ },
411
648
  "profile:create": {
412
649
  "aliases": [],
413
650
  "args": {
@@ -514,6 +751,48 @@
514
751
  "index.js"
515
752
  ]
516
753
  },
754
+ "profile:delete": {
755
+ "aliases": [],
756
+ "args": {
757
+ "name": {
758
+ "description": "Profile name to delete",
759
+ "name": "name",
760
+ "required": true
761
+ }
762
+ },
763
+ "description": "Delete a profile configuration",
764
+ "examples": [
765
+ "$ 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",
766
+ "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
767
+ "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
768
+ ],
769
+ "flags": {
770
+ "force": {
771
+ "char": "f",
772
+ "description": "Skip confirmation prompt",
773
+ "name": "force",
774
+ "required": false,
775
+ "allowNo": false,
776
+ "type": "boolean"
777
+ }
778
+ },
779
+ "hasDynamicHelp": false,
780
+ "hiddenAliases": [],
781
+ "id": "profile:delete",
782
+ "pluginAlias": "@xano/cli",
783
+ "pluginName": "@xano/cli",
784
+ "pluginType": "core",
785
+ "strict": true,
786
+ "enableJsonFlag": false,
787
+ "isESM": true,
788
+ "relativePath": [
789
+ "dist",
790
+ "commands",
791
+ "profile",
792
+ "delete",
793
+ "index.js"
794
+ ]
795
+ },
517
796
  "profile:edit": {
518
797
  "aliases": [],
519
798
  "args": {
@@ -544,7 +823,16 @@
544
823
  "multiple": false,
545
824
  "type": "option"
546
825
  },
547
- "account_origin": {
826
+ "verbose": {
827
+ "char": "v",
828
+ "description": "Show detailed request/response information",
829
+ "env": "XANO_VERBOSE",
830
+ "name": "verbose",
831
+ "required": false,
832
+ "allowNo": false,
833
+ "type": "boolean"
834
+ },
835
+ "account_origin": {
548
836
  "char": "a",
549
837
  "description": "Update account origin URL",
550
838
  "name": "account_origin",
@@ -653,48 +941,6 @@
653
941
  "index.js"
654
942
  ]
655
943
  },
656
- "profile:delete": {
657
- "aliases": [],
658
- "args": {
659
- "name": {
660
- "description": "Profile name to delete",
661
- "name": "name",
662
- "required": true
663
- }
664
- },
665
- "description": "Delete a profile configuration",
666
- "examples": [
667
- "$ 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",
668
- "$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
669
- "$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
670
- ],
671
- "flags": {
672
- "force": {
673
- "char": "f",
674
- "description": "Skip confirmation prompt",
675
- "name": "force",
676
- "required": false,
677
- "allowNo": false,
678
- "type": "boolean"
679
- }
680
- },
681
- "hasDynamicHelp": false,
682
- "hiddenAliases": [],
683
- "id": "profile:delete",
684
- "pluginAlias": "@xano/cli",
685
- "pluginName": "@xano/cli",
686
- "pluginType": "core",
687
- "strict": true,
688
- "enableJsonFlag": false,
689
- "isESM": true,
690
- "relativePath": [
691
- "dist",
692
- "commands",
693
- "profile",
694
- "delete",
695
- "index.js"
696
- ]
697
- },
698
944
  "profile:list": {
699
945
  "aliases": [],
700
946
  "args": {},
@@ -751,6 +997,15 @@
751
997
  "multiple": false,
752
998
  "type": "option"
753
999
  },
1000
+ "verbose": {
1001
+ "char": "v",
1002
+ "description": "Show detailed request/response information",
1003
+ "env": "XANO_VERBOSE",
1004
+ "name": "verbose",
1005
+ "required": false,
1006
+ "allowNo": false,
1007
+ "type": "boolean"
1008
+ },
754
1009
  "output": {
755
1010
  "char": "o",
756
1011
  "description": "Output format",
@@ -783,38 +1038,6 @@
783
1038
  "index.js"
784
1039
  ]
785
1040
  },
786
- "profile:set-default": {
787
- "aliases": [],
788
- "args": {
789
- "name": {
790
- "description": "Profile name to set as default",
791
- "name": "name",
792
- "required": true
793
- }
794
- },
795
- "description": "Set the default profile",
796
- "examples": [
797
- "$ xano profile:set-default production\nDefault profile set to 'production'\n",
798
- "$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
799
- ],
800
- "flags": {},
801
- "hasDynamicHelp": false,
802
- "hiddenAliases": [],
803
- "id": "profile:set-default",
804
- "pluginAlias": "@xano/cli",
805
- "pluginName": "@xano/cli",
806
- "pluginType": "core",
807
- "strict": true,
808
- "enableJsonFlag": false,
809
- "isESM": true,
810
- "relativePath": [
811
- "dist",
812
- "commands",
813
- "profile",
814
- "set-default",
815
- "index.js"
816
- ]
817
- },
818
1041
  "profile:project": {
819
1042
  "aliases": [],
820
1043
  "args": {},
@@ -841,18 +1064,24 @@
841
1064
  "index.js"
842
1065
  ]
843
1066
  },
844
- "profile:token": {
1067
+ "profile:set-default": {
845
1068
  "aliases": [],
846
- "args": {},
847
- "description": "Print the access token for the default profile",
1069
+ "args": {
1070
+ "name": {
1071
+ "description": "Profile name to set as default",
1072
+ "name": "name",
1073
+ "required": true
1074
+ }
1075
+ },
1076
+ "description": "Set the default profile",
848
1077
  "examples": [
849
- "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
850
- "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1078
+ "$ xano profile:set-default production\nDefault profile set to 'production'\n",
1079
+ "$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
851
1080
  ],
852
1081
  "flags": {},
853
1082
  "hasDynamicHelp": false,
854
1083
  "hiddenAliases": [],
855
- "id": "profile:token",
1084
+ "id": "profile:set-default",
856
1085
  "pluginAlias": "@xano/cli",
857
1086
  "pluginName": "@xano/cli",
858
1087
  "pluginType": "core",
@@ -863,7 +1092,7 @@
863
1092
  "dist",
864
1093
  "commands",
865
1094
  "profile",
866
- "token",
1095
+ "set-default",
867
1096
  "index.js"
868
1097
  ]
869
1098
  },
@@ -912,6 +1141,32 @@
912
1141
  "index.js"
913
1142
  ]
914
1143
  },
1144
+ "profile:token": {
1145
+ "aliases": [],
1146
+ "args": {},
1147
+ "description": "Print the access token for the default profile",
1148
+ "examples": [
1149
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
1150
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
1151
+ ],
1152
+ "flags": {},
1153
+ "hasDynamicHelp": false,
1154
+ "hiddenAliases": [],
1155
+ "id": "profile:token",
1156
+ "pluginAlias": "@xano/cli",
1157
+ "pluginName": "@xano/cli",
1158
+ "pluginType": "core",
1159
+ "strict": true,
1160
+ "enableJsonFlag": false,
1161
+ "isESM": true,
1162
+ "relativePath": [
1163
+ "dist",
1164
+ "commands",
1165
+ "profile",
1166
+ "token",
1167
+ "index.js"
1168
+ ]
1169
+ },
915
1170
  "profile:get-default": {
916
1171
  "aliases": [],
917
1172
  "args": {},
@@ -938,14 +1193,14 @@
938
1193
  "index.js"
939
1194
  ]
940
1195
  },
941
- "run:info": {
1196
+ "workspace:create": {
942
1197
  "aliases": [],
943
1198
  "args": {},
944
- "description": "Get information about a XanoScript document (type, inputs, env vars)",
1199
+ "description": "Create a new workspace via the Xano Metadata API",
945
1200
  "examples": [
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"
1201
+ "$ xano workspace create --name \"my-workspace\"\nCreated workspace: my-workspace (ID: 123)\n",
1202
+ "$ xano workspace create --name \"my-app\" --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
1203
+ "$ xano workspace create -n \"new-project\" -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
949
1204
  ],
950
1205
  "flags": {
951
1206
  "profile": {
@@ -958,28 +1213,32 @@
958
1213
  "multiple": false,
959
1214
  "type": "option"
960
1215
  },
961
- "file": {
962
- "char": "f",
963
- "description": "Path or URL to file containing XanoScript code",
964
- "exclusive": [
965
- "stdin"
966
- ],
967
- "name": "file",
1216
+ "verbose": {
1217
+ "char": "v",
1218
+ "description": "Show detailed request/response information",
1219
+ "env": "XANO_VERBOSE",
1220
+ "name": "verbose",
968
1221
  "required": false,
1222
+ "allowNo": false,
1223
+ "type": "boolean"
1224
+ },
1225
+ "name": {
1226
+ "char": "n",
1227
+ "description": "Name of the workspace",
1228
+ "name": "name",
1229
+ "required": true,
969
1230
  "hasDynamicHelp": false,
970
1231
  "multiple": false,
971
1232
  "type": "option"
972
1233
  },
973
- "stdin": {
974
- "char": "s",
975
- "description": "Read XanoScript code from stdin",
976
- "exclusive": [
977
- "file"
978
- ],
979
- "name": "stdin",
1234
+ "description": {
1235
+ "char": "d",
1236
+ "description": "Description for the workspace",
1237
+ "name": "description",
980
1238
  "required": false,
981
- "allowNo": false,
982
- "type": "boolean"
1239
+ "hasDynamicHelp": false,
1240
+ "multiple": false,
1241
+ "type": "option"
983
1242
  },
984
1243
  "output": {
985
1244
  "char": "o",
@@ -998,38 +1257,35 @@
998
1257
  },
999
1258
  "hasDynamicHelp": false,
1000
1259
  "hiddenAliases": [],
1001
- "id": "run:info",
1260
+ "id": "workspace:create",
1002
1261
  "pluginAlias": "@xano/cli",
1003
1262
  "pluginName": "@xano/cli",
1004
1263
  "pluginType": "core",
1005
1264
  "strict": true,
1265
+ "enableJsonFlag": false,
1006
1266
  "isESM": true,
1007
1267
  "relativePath": [
1008
1268
  "dist",
1009
1269
  "commands",
1010
- "run",
1011
- "info",
1270
+ "workspace",
1271
+ "create",
1012
1272
  "index.js"
1013
1273
  ]
1014
1274
  },
1015
- "run:exec": {
1275
+ "workspace:delete": {
1016
1276
  "aliases": [],
1017
1277
  "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
1278
+ "workspace_id": {
1279
+ "description": "Workspace ID to delete",
1280
+ "name": "workspace_id",
1281
+ "required": true
1022
1282
  }
1023
1283
  },
1024
- "description": "Execute XanoScript code (job or service)",
1284
+ "description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
1025
1285
  "examples": [
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"
1286
+ "$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
1287
+ "$ xano workspace delete 123 --force\nDeleted workspace 123\n",
1288
+ "$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
1033
1289
  ],
1034
1290
  "flags": {
1035
1291
  "profile": {
@@ -1042,33 +1298,19 @@
1042
1298
  "multiple": false,
1043
1299
  "type": "option"
1044
1300
  },
1045
- "file": {
1046
- "char": "f",
1047
- "description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
1048
- "exclusive": [
1049
- "stdin"
1050
- ],
1051
- "name": "file",
1052
- "required": false,
1053
- "hasDynamicHelp": false,
1054
- "multiple": false,
1055
- "type": "option"
1056
- },
1057
- "stdin": {
1058
- "char": "s",
1059
- "description": "Read XanoScript code from stdin",
1060
- "exclusive": [
1061
- "file"
1062
- ],
1063
- "name": "stdin",
1301
+ "verbose": {
1302
+ "char": "v",
1303
+ "description": "Show detailed request/response information",
1304
+ "env": "XANO_VERBOSE",
1305
+ "name": "verbose",
1064
1306
  "required": false,
1065
1307
  "allowNo": false,
1066
1308
  "type": "boolean"
1067
1309
  },
1068
- "edit": {
1069
- "char": "e",
1070
- "description": "Open file in editor before running (requires path argument or --file)",
1071
- "name": "edit",
1310
+ "force": {
1311
+ "char": "f",
1312
+ "description": "Skip confirmation prompt",
1313
+ "name": "force",
1072
1314
  "required": false,
1073
1315
  "allowNo": false,
1074
1316
  "type": "boolean"
@@ -1086,50 +1328,34 @@
1086
1328
  "json"
1087
1329
  ],
1088
1330
  "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"
1106
1331
  }
1107
1332
  },
1108
1333
  "hasDynamicHelp": false,
1109
1334
  "hiddenAliases": [],
1110
- "id": "run:exec",
1335
+ "id": "workspace:delete",
1111
1336
  "pluginAlias": "@xano/cli",
1112
1337
  "pluginName": "@xano/cli",
1113
1338
  "pluginType": "core",
1114
1339
  "strict": true,
1340
+ "enableJsonFlag": false,
1115
1341
  "isESM": true,
1116
1342
  "relativePath": [
1117
1343
  "dist",
1118
1344
  "commands",
1119
- "run",
1120
- "exec",
1345
+ "workspace",
1346
+ "delete",
1121
1347
  "index.js"
1122
1348
  ]
1123
1349
  },
1124
- "workspace:list": {
1350
+ "static_host:list": {
1125
1351
  "aliases": [],
1126
1352
  "args": {},
1127
- "description": "List all workspaces from the Xano Metadata API",
1353
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
1128
1354
  "examples": [
1129
- "$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
1130
- "$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
1131
- "$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
1132
- "$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
1355
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1356
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1357
+ "$ 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",
1358
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
1133
1359
  ],
1134
1360
  "flags": {
1135
1361
  "profile": {
@@ -1142,24 +1368,60 @@
1142
1368
  "multiple": false,
1143
1369
  "type": "option"
1144
1370
  },
1145
- "output": {
1146
- "char": "o",
1147
- "description": "Output format",
1148
- "name": "output",
1371
+ "verbose": {
1372
+ "char": "v",
1373
+ "description": "Show detailed request/response information",
1374
+ "env": "XANO_VERBOSE",
1375
+ "name": "verbose",
1149
1376
  "required": false,
1150
- "default": "summary",
1151
- "hasDynamicHelp": false,
1377
+ "allowNo": false,
1378
+ "type": "boolean"
1379
+ },
1380
+ "workspace": {
1381
+ "char": "w",
1382
+ "description": "Workspace ID (optional if set in profile)",
1383
+ "name": "workspace",
1384
+ "required": false,
1385
+ "hasDynamicHelp": false,
1386
+ "multiple": false,
1387
+ "type": "option"
1388
+ },
1389
+ "output": {
1390
+ "char": "o",
1391
+ "description": "Output format",
1392
+ "name": "output",
1393
+ "required": false,
1394
+ "default": "summary",
1395
+ "hasDynamicHelp": false,
1152
1396
  "multiple": false,
1153
1397
  "options": [
1154
1398
  "summary",
1155
1399
  "json"
1156
1400
  ],
1157
1401
  "type": "option"
1402
+ },
1403
+ "page": {
1404
+ "description": "Page number for pagination",
1405
+ "name": "page",
1406
+ "required": false,
1407
+ "default": 1,
1408
+ "hasDynamicHelp": false,
1409
+ "multiple": false,
1410
+ "type": "option"
1411
+ },
1412
+ "per_page": {
1413
+ "description": "Number of results per page",
1414
+ "name": "per_page",
1415
+ "required": false,
1416
+ "default": 50,
1417
+ "hasDynamicHelp": false,
1418
+ "multiple": false,
1419
+ "type": "option"
1158
1420
  }
1159
1421
  },
1160
1422
  "hasDynamicHelp": false,
1161
1423
  "hiddenAliases": [],
1162
- "id": "workspace:list",
1424
+ "id": "static_host:list",
1163
1425
  "pluginAlias": "@xano/cli",
1164
1426
  "pluginName": "@xano/cli",
1165
1427
  "pluginType": "core",
@@ -1169,20 +1431,125 @@
1169
1431
  "relativePath": [
1170
1432
  "dist",
1171
1433
  "commands",
1172
- "workspace",
1434
+ "static_host",
1173
1435
  "list",
1174
1436
  "index.js"
1175
1437
  ]
1176
1438
  },
1177
- "static_host:list": {
1439
+ "workspace:edit": {
1178
1440
  "aliases": [],
1179
- "args": {},
1180
- "description": "List all static hosts in a workspace from the Xano Metadata API",
1441
+ "args": {
1442
+ "workspace_id": {
1443
+ "description": "Workspace ID to edit (uses profile workspace if not provided)",
1444
+ "name": "workspace_id",
1445
+ "required": false
1446
+ }
1447
+ },
1448
+ "description": "Edit an existing workspace via the Xano Metadata API",
1181
1449
  "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"
1450
+ "$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
1451
+ "$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
1452
+ "$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
1453
+ "$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
1454
+ ],
1455
+ "flags": {
1456
+ "profile": {
1457
+ "char": "p",
1458
+ "description": "Profile to use for this command",
1459
+ "env": "XANO_PROFILE",
1460
+ "name": "profile",
1461
+ "required": false,
1462
+ "hasDynamicHelp": false,
1463
+ "multiple": false,
1464
+ "type": "option"
1465
+ },
1466
+ "verbose": {
1467
+ "char": "v",
1468
+ "description": "Show detailed request/response information",
1469
+ "env": "XANO_VERBOSE",
1470
+ "name": "verbose",
1471
+ "required": false,
1472
+ "allowNo": false,
1473
+ "type": "boolean"
1474
+ },
1475
+ "name": {
1476
+ "char": "n",
1477
+ "description": "New name for the workspace",
1478
+ "name": "name",
1479
+ "required": false,
1480
+ "hasDynamicHelp": false,
1481
+ "multiple": false,
1482
+ "type": "option"
1483
+ },
1484
+ "description": {
1485
+ "char": "d",
1486
+ "description": "New description for the workspace",
1487
+ "name": "description",
1488
+ "required": false,
1489
+ "hasDynamicHelp": false,
1490
+ "multiple": false,
1491
+ "type": "option"
1492
+ },
1493
+ "swagger": {
1494
+ "description": "Enable or disable swagger documentation",
1495
+ "name": "swagger",
1496
+ "required": false,
1497
+ "allowNo": true,
1498
+ "type": "boolean"
1499
+ },
1500
+ "require-token": {
1501
+ "description": "Whether to require a token for documentation access",
1502
+ "name": "require-token",
1503
+ "required": false,
1504
+ "allowNo": true,
1505
+ "type": "boolean"
1506
+ },
1507
+ "output": {
1508
+ "char": "o",
1509
+ "description": "Output format",
1510
+ "name": "output",
1511
+ "required": false,
1512
+ "default": "summary",
1513
+ "hasDynamicHelp": false,
1514
+ "multiple": false,
1515
+ "options": [
1516
+ "summary",
1517
+ "json"
1518
+ ],
1519
+ "type": "option"
1520
+ }
1521
+ },
1522
+ "hasDynamicHelp": false,
1523
+ "hiddenAliases": [],
1524
+ "id": "workspace:edit",
1525
+ "pluginAlias": "@xano/cli",
1526
+ "pluginName": "@xano/cli",
1527
+ "pluginType": "core",
1528
+ "strict": true,
1529
+ "enableJsonFlag": false,
1530
+ "isESM": true,
1531
+ "relativePath": [
1532
+ "dist",
1533
+ "commands",
1534
+ "workspace",
1535
+ "edit",
1536
+ "index.js"
1537
+ ]
1538
+ },
1539
+ "workspace:pull": {
1540
+ "aliases": [],
1541
+ "args": {
1542
+ "directory": {
1543
+ "description": "Output directory for pulled documents",
1544
+ "name": "directory",
1545
+ "required": true
1546
+ }
1547
+ },
1548
+ "description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
1549
+ "examples": [
1550
+ "$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
1551
+ "$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
1552
+ "$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n"
1186
1553
  ],
1187
1554
  "flags": {
1188
1555
  "profile": {
@@ -1195,6 +1562,15 @@
1195
1562
  "multiple": false,
1196
1563
  "type": "option"
1197
1564
  },
1565
+ "verbose": {
1566
+ "char": "v",
1567
+ "description": "Show detailed request/response information",
1568
+ "env": "XANO_VERBOSE",
1569
+ "name": "verbose",
1570
+ "required": false,
1571
+ "allowNo": false,
1572
+ "type": "boolean"
1573
+ },
1198
1574
  "workspace": {
1199
1575
  "char": "w",
1200
1576
  "description": "Workspace ID (optional if set in profile)",
@@ -1204,6 +1580,73 @@
1204
1580
  "multiple": false,
1205
1581
  "type": "option"
1206
1582
  },
1583
+ "env": {
1584
+ "description": "Include environment variables",
1585
+ "name": "env",
1586
+ "required": false,
1587
+ "allowNo": false,
1588
+ "type": "boolean"
1589
+ },
1590
+ "records": {
1591
+ "description": "Include records",
1592
+ "name": "records",
1593
+ "required": false,
1594
+ "allowNo": false,
1595
+ "type": "boolean"
1596
+ }
1597
+ },
1598
+ "hasDynamicHelp": false,
1599
+ "hiddenAliases": [],
1600
+ "id": "workspace:pull",
1601
+ "pluginAlias": "@xano/cli",
1602
+ "pluginName": "@xano/cli",
1603
+ "pluginType": "core",
1604
+ "strict": true,
1605
+ "enableJsonFlag": false,
1606
+ "isESM": true,
1607
+ "relativePath": [
1608
+ "dist",
1609
+ "commands",
1610
+ "workspace",
1611
+ "pull",
1612
+ "index.js"
1613
+ ]
1614
+ },
1615
+ "workspace:get": {
1616
+ "aliases": [],
1617
+ "args": {
1618
+ "workspace_id": {
1619
+ "description": "Workspace ID to get details for (uses profile workspace if not provided)",
1620
+ "name": "workspace_id",
1621
+ "required": false
1622
+ }
1623
+ },
1624
+ "description": "Get details of a specific workspace from the Xano Metadata API",
1625
+ "examples": [
1626
+ "$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
1627
+ "$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
1628
+ "$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
1629
+ ],
1630
+ "flags": {
1631
+ "profile": {
1632
+ "char": "p",
1633
+ "description": "Profile to use for this command",
1634
+ "env": "XANO_PROFILE",
1635
+ "name": "profile",
1636
+ "required": false,
1637
+ "hasDynamicHelp": false,
1638
+ "multiple": false,
1639
+ "type": "option"
1640
+ },
1641
+ "verbose": {
1642
+ "char": "v",
1643
+ "description": "Show detailed request/response information",
1644
+ "env": "XANO_VERBOSE",
1645
+ "name": "verbose",
1646
+ "required": false,
1647
+ "allowNo": false,
1648
+ "type": "boolean"
1649
+ },
1207
1650
  "output": {
1208
1651
  "char": "o",
1209
1652
  "description": "Output format",
@@ -1217,29 +1660,73 @@
1217
1660
  "json"
1218
1661
  ],
1219
1662
  "type": "option"
1220
- },
1221
- "page": {
1222
- "description": "Page number for pagination",
1223
- "name": "page",
1663
+ }
1664
+ },
1665
+ "hasDynamicHelp": false,
1666
+ "hiddenAliases": [],
1667
+ "id": "workspace:get",
1668
+ "pluginAlias": "@xano/cli",
1669
+ "pluginName": "@xano/cli",
1670
+ "pluginType": "core",
1671
+ "strict": true,
1672
+ "enableJsonFlag": false,
1673
+ "isESM": true,
1674
+ "relativePath": [
1675
+ "dist",
1676
+ "commands",
1677
+ "workspace",
1678
+ "get",
1679
+ "index.js"
1680
+ ]
1681
+ },
1682
+ "workspace:list": {
1683
+ "aliases": [],
1684
+ "args": {},
1685
+ "description": "List all workspaces from the Xano Metadata API",
1686
+ "examples": [
1687
+ "$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
1688
+ "$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
1689
+ "$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
1690
+ "$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
1691
+ ],
1692
+ "flags": {
1693
+ "profile": {
1694
+ "char": "p",
1695
+ "description": "Profile to use for this command",
1696
+ "env": "XANO_PROFILE",
1697
+ "name": "profile",
1224
1698
  "required": false,
1225
- "default": 1,
1226
1699
  "hasDynamicHelp": false,
1227
1700
  "multiple": false,
1228
1701
  "type": "option"
1229
1702
  },
1230
- "per_page": {
1231
- "description": "Number of results per page",
1232
- "name": "per_page",
1703
+ "verbose": {
1704
+ "char": "v",
1705
+ "description": "Show detailed request/response information",
1706
+ "env": "XANO_VERBOSE",
1707
+ "name": "verbose",
1233
1708
  "required": false,
1234
- "default": 50,
1709
+ "allowNo": false,
1710
+ "type": "boolean"
1711
+ },
1712
+ "output": {
1713
+ "char": "o",
1714
+ "description": "Output format",
1715
+ "name": "output",
1716
+ "required": false,
1717
+ "default": "summary",
1235
1718
  "hasDynamicHelp": false,
1236
1719
  "multiple": false,
1720
+ "options": [
1721
+ "summary",
1722
+ "json"
1723
+ ],
1237
1724
  "type": "option"
1238
1725
  }
1239
1726
  },
1240
1727
  "hasDynamicHelp": false,
1241
1728
  "hiddenAliases": [],
1242
- "id": "static_host:list",
1729
+ "id": "workspace:list",
1243
1730
  "pluginAlias": "@xano/cli",
1244
1731
  "pluginName": "@xano/cli",
1245
1732
  "pluginType": "core",
@@ -1249,25 +1736,25 @@
1249
1736
  "relativePath": [
1250
1737
  "dist",
1251
1738
  "commands",
1252
- "static_host",
1739
+ "workspace",
1253
1740
  "list",
1254
1741
  "index.js"
1255
1742
  ]
1256
1743
  },
1257
- "workspace:pull": {
1744
+ "workspace:push": {
1258
1745
  "aliases": [],
1259
1746
  "args": {
1260
1747
  "directory": {
1261
- "description": "Output directory for pulled documents",
1748
+ "description": "Directory containing documents to push (as produced by workspace pull)",
1262
1749
  "name": "directory",
1263
1750
  "required": true
1264
1751
  }
1265
1752
  },
1266
- "description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
1753
+ "description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
1267
1754
  "examples": [
1268
- "$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
1269
- "$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
1270
- "$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n"
1755
+ "$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
1756
+ "$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
1757
+ "$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n"
1271
1758
  ],
1272
1759
  "flags": {
1273
1760
  "profile": {
@@ -1280,6 +1767,15 @@
1280
1767
  "multiple": false,
1281
1768
  "type": "option"
1282
1769
  },
1770
+ "verbose": {
1771
+ "char": "v",
1772
+ "description": "Show detailed request/response information",
1773
+ "env": "XANO_VERBOSE",
1774
+ "name": "verbose",
1775
+ "required": false,
1776
+ "allowNo": false,
1777
+ "type": "boolean"
1778
+ },
1283
1779
  "workspace": {
1284
1780
  "char": "w",
1285
1781
  "description": "Workspace ID (optional if set in profile)",
@@ -1288,53 +1784,169 @@
1288
1784
  "hasDynamicHelp": false,
1289
1785
  "multiple": false,
1290
1786
  "type": "option"
1787
+ }
1788
+ },
1789
+ "hasDynamicHelp": false,
1790
+ "hiddenAliases": [],
1791
+ "id": "workspace:push",
1792
+ "pluginAlias": "@xano/cli",
1793
+ "pluginName": "@xano/cli",
1794
+ "pluginType": "core",
1795
+ "strict": true,
1796
+ "enableJsonFlag": false,
1797
+ "isESM": true,
1798
+ "relativePath": [
1799
+ "dist",
1800
+ "commands",
1801
+ "workspace",
1802
+ "push",
1803
+ "index.js"
1804
+ ]
1805
+ },
1806
+ "run:env:list": {
1807
+ "aliases": [],
1808
+ "args": {},
1809
+ "description": "List all environment variable keys",
1810
+ "examples": [
1811
+ "$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
1812
+ "$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
1813
+ ],
1814
+ "flags": {
1815
+ "profile": {
1816
+ "char": "p",
1817
+ "description": "Profile to use for this command",
1818
+ "env": "XANO_PROFILE",
1819
+ "name": "profile",
1820
+ "required": false,
1821
+ "hasDynamicHelp": false,
1822
+ "multiple": false,
1823
+ "type": "option"
1291
1824
  },
1292
- "env": {
1293
- "description": "Include environment variables",
1294
- "name": "env",
1825
+ "verbose": {
1826
+ "char": "v",
1827
+ "description": "Show detailed request/response information",
1828
+ "env": "XANO_VERBOSE",
1829
+ "name": "verbose",
1295
1830
  "required": false,
1296
1831
  "allowNo": false,
1297
1832
  "type": "boolean"
1298
1833
  },
1299
- "records": {
1300
- "description": "Include records",
1301
- "name": "records",
1834
+ "output": {
1835
+ "char": "o",
1836
+ "description": "Output format",
1837
+ "name": "output",
1838
+ "required": false,
1839
+ "default": "list",
1840
+ "hasDynamicHelp": false,
1841
+ "multiple": false,
1842
+ "options": [
1843
+ "list",
1844
+ "json"
1845
+ ],
1846
+ "type": "option"
1847
+ }
1848
+ },
1849
+ "hasDynamicHelp": false,
1850
+ "hiddenAliases": [],
1851
+ "id": "run:env:list",
1852
+ "pluginAlias": "@xano/cli",
1853
+ "pluginName": "@xano/cli",
1854
+ "pluginType": "core",
1855
+ "strict": true,
1856
+ "isESM": true,
1857
+ "relativePath": [
1858
+ "dist",
1859
+ "commands",
1860
+ "run",
1861
+ "env",
1862
+ "list",
1863
+ "index.js"
1864
+ ]
1865
+ },
1866
+ "run:env:get": {
1867
+ "aliases": [],
1868
+ "args": {
1869
+ "name": {
1870
+ "description": "Environment variable name",
1871
+ "name": "name",
1872
+ "required": true
1873
+ }
1874
+ },
1875
+ "description": "Get an environment variable value",
1876
+ "examples": [
1877
+ "$ xano run env get API_KEY\nmy-secret-api-key\n",
1878
+ "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
1879
+ ],
1880
+ "flags": {
1881
+ "profile": {
1882
+ "char": "p",
1883
+ "description": "Profile to use for this command",
1884
+ "env": "XANO_PROFILE",
1885
+ "name": "profile",
1886
+ "required": false,
1887
+ "hasDynamicHelp": false,
1888
+ "multiple": false,
1889
+ "type": "option"
1890
+ },
1891
+ "verbose": {
1892
+ "char": "v",
1893
+ "description": "Show detailed request/response information",
1894
+ "env": "XANO_VERBOSE",
1895
+ "name": "verbose",
1302
1896
  "required": false,
1303
1897
  "allowNo": false,
1304
1898
  "type": "boolean"
1899
+ },
1900
+ "output": {
1901
+ "char": "o",
1902
+ "description": "Output format",
1903
+ "name": "output",
1904
+ "required": false,
1905
+ "default": "value",
1906
+ "hasDynamicHelp": false,
1907
+ "multiple": false,
1908
+ "options": [
1909
+ "value",
1910
+ "json"
1911
+ ],
1912
+ "type": "option"
1305
1913
  }
1306
1914
  },
1307
1915
  "hasDynamicHelp": false,
1308
1916
  "hiddenAliases": [],
1309
- "id": "workspace:pull",
1917
+ "id": "run:env:get",
1310
1918
  "pluginAlias": "@xano/cli",
1311
1919
  "pluginName": "@xano/cli",
1312
1920
  "pluginType": "core",
1313
1921
  "strict": true,
1314
- "enableJsonFlag": false,
1315
1922
  "isESM": true,
1316
1923
  "relativePath": [
1317
1924
  "dist",
1318
1925
  "commands",
1319
- "workspace",
1320
- "pull",
1926
+ "run",
1927
+ "env",
1928
+ "get",
1321
1929
  "index.js"
1322
1930
  ]
1323
1931
  },
1324
- "workspace:push": {
1932
+ "run:env:set": {
1325
1933
  "aliases": [],
1326
1934
  "args": {
1327
- "directory": {
1328
- "description": "Directory containing documents to push (as produced by workspace pull)",
1329
- "name": "directory",
1935
+ "name": {
1936
+ "description": "Environment variable name",
1937
+ "name": "name",
1938
+ "required": true
1939
+ },
1940
+ "value": {
1941
+ "description": "Environment variable value",
1942
+ "name": "value",
1330
1943
  "required": true
1331
1944
  }
1332
1945
  },
1333
- "description": "Push local documents to a workspace via the Xano Metadata API multidoc endpoint",
1946
+ "description": "Set an environment variable",
1334
1947
  "examples": [
1335
- "$ xano workspace push ./my-workspace\nPushed 42 documents from ./my-workspace\n",
1336
- "$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
1337
- "$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n"
1948
+ "$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
1949
+ "$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
1338
1950
  ],
1339
1951
  "flags": {
1340
1952
  "profile": {
@@ -1347,30 +1959,30 @@
1347
1959
  "multiple": false,
1348
1960
  "type": "option"
1349
1961
  },
1350
- "workspace": {
1351
- "char": "w",
1352
- "description": "Workspace ID (optional if set in profile)",
1353
- "name": "workspace",
1962
+ "verbose": {
1963
+ "char": "v",
1964
+ "description": "Show detailed request/response information",
1965
+ "env": "XANO_VERBOSE",
1966
+ "name": "verbose",
1354
1967
  "required": false,
1355
- "hasDynamicHelp": false,
1356
- "multiple": false,
1357
- "type": "option"
1968
+ "allowNo": false,
1969
+ "type": "boolean"
1358
1970
  }
1359
1971
  },
1360
1972
  "hasDynamicHelp": false,
1361
1973
  "hiddenAliases": [],
1362
- "id": "workspace:push",
1974
+ "id": "run:env:set",
1363
1975
  "pluginAlias": "@xano/cli",
1364
1976
  "pluginName": "@xano/cli",
1365
1977
  "pluginType": "core",
1366
1978
  "strict": true,
1367
- "enableJsonFlag": false,
1368
1979
  "isESM": true,
1369
1980
  "relativePath": [
1370
1981
  "dist",
1371
1982
  "commands",
1372
- "workspace",
1373
- "push",
1983
+ "run",
1984
+ "env",
1985
+ "set",
1374
1986
  "index.js"
1375
1987
  ]
1376
1988
  },
@@ -1399,6 +2011,15 @@
1399
2011
  "multiple": false,
1400
2012
  "type": "option"
1401
2013
  },
2014
+ "verbose": {
2015
+ "char": "v",
2016
+ "description": "Show detailed request/response information",
2017
+ "env": "XANO_VERBOSE",
2018
+ "name": "verbose",
2019
+ "required": false,
2020
+ "allowNo": false,
2021
+ "type": "boolean"
2022
+ },
1402
2023
  "force": {
1403
2024
  "char": "f",
1404
2025
  "description": "Skip confirmation prompt",
@@ -1425,19 +2046,19 @@
1425
2046
  "index.js"
1426
2047
  ]
1427
2048
  },
1428
- "run:env:get": {
2049
+ "run:secrets:delete": {
1429
2050
  "aliases": [],
1430
2051
  "args": {
1431
2052
  "name": {
1432
- "description": "Environment variable name",
2053
+ "description": "Secret name",
1433
2054
  "name": "name",
1434
2055
  "required": true
1435
2056
  }
1436
2057
  },
1437
- "description": "Get an environment variable value",
2058
+ "description": "Delete a secret",
1438
2059
  "examples": [
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"
2060
+ "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
2061
+ "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
1441
2062
  ],
1442
2063
  "flags": {
1443
2064
  "profile": {
@@ -1450,24 +2071,27 @@
1450
2071
  "multiple": false,
1451
2072
  "type": "option"
1452
2073
  },
1453
- "output": {
1454
- "char": "o",
1455
- "description": "Output format",
1456
- "name": "output",
2074
+ "verbose": {
2075
+ "char": "v",
2076
+ "description": "Show detailed request/response information",
2077
+ "env": "XANO_VERBOSE",
2078
+ "name": "verbose",
1457
2079
  "required": false,
1458
- "default": "value",
1459
- "hasDynamicHelp": false,
1460
- "multiple": false,
1461
- "options": [
1462
- "value",
1463
- "json"
1464
- ],
1465
- "type": "option"
2080
+ "allowNo": false,
2081
+ "type": "boolean"
2082
+ },
2083
+ "force": {
2084
+ "char": "f",
2085
+ "description": "Skip confirmation prompt",
2086
+ "name": "force",
2087
+ "required": false,
2088
+ "allowNo": false,
2089
+ "type": "boolean"
1466
2090
  }
1467
2091
  },
1468
2092
  "hasDynamicHelp": false,
1469
2093
  "hiddenAliases": [],
1470
- "id": "run:env:get",
2094
+ "id": "run:secrets:delete",
1471
2095
  "pluginAlias": "@xano/cli",
1472
2096
  "pluginName": "@xano/cli",
1473
2097
  "pluginType": "core",
@@ -1477,29 +2101,18 @@
1477
2101
  "dist",
1478
2102
  "commands",
1479
2103
  "run",
1480
- "env",
1481
- "get",
2104
+ "secrets",
2105
+ "delete",
1482
2106
  "index.js"
1483
2107
  ]
1484
2108
  },
1485
- "run:env:set": {
2109
+ "run:secrets:list": {
1486
2110
  "aliases": [],
1487
- "args": {
1488
- "name": {
1489
- "description": "Environment variable name",
1490
- "name": "name",
1491
- "required": true
1492
- },
1493
- "value": {
1494
- "description": "Environment variable value",
1495
- "name": "value",
1496
- "required": true
1497
- }
1498
- },
1499
- "description": "Set an environment variable",
2111
+ "args": {},
2112
+ "description": "List all secret keys",
1500
2113
  "examples": [
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"
2114
+ "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
2115
+ "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
1503
2116
  ],
1504
2117
  "flags": {
1505
2118
  "profile": {
@@ -1511,11 +2124,34 @@
1511
2124
  "hasDynamicHelp": false,
1512
2125
  "multiple": false,
1513
2126
  "type": "option"
2127
+ },
2128
+ "verbose": {
2129
+ "char": "v",
2130
+ "description": "Show detailed request/response information",
2131
+ "env": "XANO_VERBOSE",
2132
+ "name": "verbose",
2133
+ "required": false,
2134
+ "allowNo": false,
2135
+ "type": "boolean"
2136
+ },
2137
+ "output": {
2138
+ "char": "o",
2139
+ "description": "Output format",
2140
+ "name": "output",
2141
+ "required": false,
2142
+ "default": "table",
2143
+ "hasDynamicHelp": false,
2144
+ "multiple": false,
2145
+ "options": [
2146
+ "table",
2147
+ "json"
2148
+ ],
2149
+ "type": "option"
1514
2150
  }
1515
2151
  },
1516
2152
  "hasDynamicHelp": false,
1517
2153
  "hiddenAliases": [],
1518
- "id": "run:env:set",
2154
+ "id": "run:secrets:list",
1519
2155
  "pluginAlias": "@xano/cli",
1520
2156
  "pluginName": "@xano/cli",
1521
2157
  "pluginType": "core",
@@ -1525,24 +2161,24 @@
1525
2161
  "dist",
1526
2162
  "commands",
1527
2163
  "run",
1528
- "env",
1529
- "set",
2164
+ "secrets",
2165
+ "list",
1530
2166
  "index.js"
1531
2167
  ]
1532
2168
  },
1533
- "run:sink:get": {
2169
+ "run:secrets:set": {
1534
2170
  "aliases": [],
1535
2171
  "args": {
1536
- "sessionId": {
1537
- "description": "Session ID",
1538
- "name": "sessionId",
2172
+ "name": {
2173
+ "description": "Secret name",
2174
+ "name": "name",
1539
2175
  "required": true
1540
2176
  }
1541
2177
  },
1542
- "description": "Get sink data for a completed session",
2178
+ "description": "Set a secret",
1543
2179
  "examples": [
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"
2180
+ "$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
2181
+ "$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
1546
2182
  ],
1547
2183
  "flags": {
1548
2184
  "profile": {
@@ -1555,24 +2191,50 @@
1555
2191
  "multiple": false,
1556
2192
  "type": "option"
1557
2193
  },
1558
- "output": {
1559
- "char": "o",
1560
- "description": "Output format",
1561
- "name": "output",
2194
+ "verbose": {
2195
+ "char": "v",
2196
+ "description": "Show detailed request/response information",
2197
+ "env": "XANO_VERBOSE",
2198
+ "name": "verbose",
1562
2199
  "required": false,
1563
- "default": "summary",
2200
+ "allowNo": false,
2201
+ "type": "boolean"
2202
+ },
2203
+ "type": {
2204
+ "char": "t",
2205
+ "description": "Secret type",
2206
+ "name": "type",
2207
+ "required": true,
1564
2208
  "hasDynamicHelp": false,
1565
2209
  "multiple": false,
1566
2210
  "options": [
1567
- "summary",
1568
- "json"
2211
+ "dockerconfigjson",
2212
+ "service-account-token"
1569
2213
  ],
1570
2214
  "type": "option"
2215
+ },
2216
+ "value": {
2217
+ "char": "v",
2218
+ "description": "Secret value",
2219
+ "name": "value",
2220
+ "required": true,
2221
+ "hasDynamicHelp": false,
2222
+ "multiple": false,
2223
+ "type": "option"
2224
+ },
2225
+ "repo": {
2226
+ "char": "r",
2227
+ "description": "Repository (for dockerconfigjson type)",
2228
+ "name": "repo",
2229
+ "required": false,
2230
+ "hasDynamicHelp": false,
2231
+ "multiple": false,
2232
+ "type": "option"
1571
2233
  }
1572
2234
  },
1573
2235
  "hasDynamicHelp": false,
1574
2236
  "hiddenAliases": [],
1575
- "id": "run:sink:get",
2237
+ "id": "run:secrets:set",
1576
2238
  "pluginAlias": "@xano/cli",
1577
2239
  "pluginName": "@xano/cli",
1578
2240
  "pluginType": "core",
@@ -1582,18 +2244,24 @@
1582
2244
  "dist",
1583
2245
  "commands",
1584
2246
  "run",
1585
- "sink",
1586
- "get",
2247
+ "secrets",
2248
+ "set",
1587
2249
  "index.js"
1588
2250
  ]
1589
2251
  },
1590
- "run:env:list": {
2252
+ "run:secrets:get": {
1591
2253
  "aliases": [],
1592
- "args": {},
1593
- "description": "List all environment variable keys",
2254
+ "args": {
2255
+ "name": {
2256
+ "description": "Secret name",
2257
+ "name": "name",
2258
+ "required": true
2259
+ }
2260
+ },
2261
+ "description": "Get a secret value",
1594
2262
  "examples": [
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"
2263
+ "$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
2264
+ "$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
1597
2265
  ],
1598
2266
  "flags": {
1599
2267
  "profile": {
@@ -1606,16 +2274,25 @@
1606
2274
  "multiple": false,
1607
2275
  "type": "option"
1608
2276
  },
2277
+ "verbose": {
2278
+ "char": "v",
2279
+ "description": "Show detailed request/response information",
2280
+ "env": "XANO_VERBOSE",
2281
+ "name": "verbose",
2282
+ "required": false,
2283
+ "allowNo": false,
2284
+ "type": "boolean"
2285
+ },
1609
2286
  "output": {
1610
2287
  "char": "o",
1611
2288
  "description": "Output format",
1612
2289
  "name": "output",
1613
2290
  "required": false,
1614
- "default": "list",
2291
+ "default": "value",
1615
2292
  "hasDynamicHelp": false,
1616
2293
  "multiple": false,
1617
2294
  "options": [
1618
- "list",
2295
+ "value",
1619
2296
  "json"
1620
2297
  ],
1621
2298
  "type": "option"
@@ -1623,7 +2300,7 @@
1623
2300
  },
1624
2301
  "hasDynamicHelp": false,
1625
2302
  "hiddenAliases": [],
1626
- "id": "run:env:list",
2303
+ "id": "run:secrets:get",
1627
2304
  "pluginAlias": "@xano/cli",
1628
2305
  "pluginName": "@xano/cli",
1629
2306
  "pluginType": "core",
@@ -1633,8 +2310,8 @@
1633
2310
  "dist",
1634
2311
  "commands",
1635
2312
  "run",
1636
- "env",
1637
- "list",
2313
+ "secrets",
2314
+ "get",
1638
2315
  "index.js"
1639
2316
  ]
1640
2317
  },
@@ -1658,6 +2335,15 @@
1658
2335
  "multiple": false,
1659
2336
  "type": "option"
1660
2337
  },
2338
+ "verbose": {
2339
+ "char": "v",
2340
+ "description": "Show detailed request/response information",
2341
+ "env": "XANO_VERBOSE",
2342
+ "name": "verbose",
2343
+ "required": false,
2344
+ "allowNo": false,
2345
+ "type": "boolean"
2346
+ },
1661
2347
  "name": {
1662
2348
  "char": "n",
1663
2349
  "description": "Project name",
@@ -1705,23 +2391,17 @@
1705
2391
  "commands",
1706
2392
  "run",
1707
2393
  "projects",
1708
- "create",
1709
- "index.js"
1710
- ]
1711
- },
1712
- "run:projects:delete": {
1713
- "aliases": [],
1714
- "args": {
1715
- "projectId": {
1716
- "description": "Project ID to delete",
1717
- "name": "projectId",
1718
- "required": true
1719
- }
1720
- },
1721
- "description": "Delete a project",
2394
+ "create",
2395
+ "index.js"
2396
+ ]
2397
+ },
2398
+ "run:projects:list": {
2399
+ "aliases": [],
2400
+ "args": {},
2401
+ "description": "List all projects",
1722
2402
  "examples": [
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"
2403
+ "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
2404
+ "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
1725
2405
  ],
1726
2406
  "flags": {
1727
2407
  "profile": {
@@ -1734,18 +2414,33 @@
1734
2414
  "multiple": false,
1735
2415
  "type": "option"
1736
2416
  },
1737
- "force": {
1738
- "char": "f",
1739
- "description": "Skip confirmation prompt",
1740
- "name": "force",
2417
+ "verbose": {
2418
+ "char": "v",
2419
+ "description": "Show detailed request/response information",
2420
+ "env": "XANO_VERBOSE",
2421
+ "name": "verbose",
1741
2422
  "required": false,
1742
2423
  "allowNo": false,
1743
2424
  "type": "boolean"
2425
+ },
2426
+ "output": {
2427
+ "char": "o",
2428
+ "description": "Output format",
2429
+ "name": "output",
2430
+ "required": false,
2431
+ "default": "table",
2432
+ "hasDynamicHelp": false,
2433
+ "multiple": false,
2434
+ "options": [
2435
+ "table",
2436
+ "json"
2437
+ ],
2438
+ "type": "option"
1744
2439
  }
1745
2440
  },
1746
2441
  "hasDynamicHelp": false,
1747
2442
  "hiddenAliases": [],
1748
- "id": "run:projects:delete",
2443
+ "id": "run:projects:list",
1749
2444
  "pluginAlias": "@xano/cli",
1750
2445
  "pluginName": "@xano/cli",
1751
2446
  "pluginType": "core",
@@ -1756,7 +2451,7 @@
1756
2451
  "commands",
1757
2452
  "run",
1758
2453
  "projects",
1759
- "delete",
2454
+ "list",
1760
2455
  "index.js"
1761
2456
  ]
1762
2457
  },
@@ -1786,6 +2481,15 @@
1786
2481
  "multiple": false,
1787
2482
  "type": "option"
1788
2483
  },
2484
+ "verbose": {
2485
+ "char": "v",
2486
+ "description": "Show detailed request/response information",
2487
+ "env": "XANO_VERBOSE",
2488
+ "name": "verbose",
2489
+ "required": false,
2490
+ "allowNo": false,
2491
+ "type": "boolean"
2492
+ },
1789
2493
  "name": {
1790
2494
  "char": "n",
1791
2495
  "description": "New project name",
@@ -1836,13 +2540,19 @@
1836
2540
  "index.js"
1837
2541
  ]
1838
2542
  },
1839
- "run:projects:list": {
2543
+ "run:projects:delete": {
1840
2544
  "aliases": [],
1841
- "args": {},
1842
- "description": "List all projects",
2545
+ "args": {
2546
+ "projectId": {
2547
+ "description": "Project ID to delete",
2548
+ "name": "projectId",
2549
+ "required": true
2550
+ }
2551
+ },
2552
+ "description": "Delete a project",
1843
2553
  "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"
2554
+ "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
2555
+ "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
1846
2556
  ],
1847
2557
  "flags": {
1848
2558
  "profile": {
@@ -1855,24 +2565,27 @@
1855
2565
  "multiple": false,
1856
2566
  "type": "option"
1857
2567
  },
1858
- "output": {
1859
- "char": "o",
1860
- "description": "Output format",
1861
- "name": "output",
2568
+ "verbose": {
2569
+ "char": "v",
2570
+ "description": "Show detailed request/response information",
2571
+ "env": "XANO_VERBOSE",
2572
+ "name": "verbose",
1862
2573
  "required": false,
1863
- "default": "table",
1864
- "hasDynamicHelp": false,
1865
- "multiple": false,
1866
- "options": [
1867
- "table",
1868
- "json"
1869
- ],
1870
- "type": "option"
2574
+ "allowNo": false,
2575
+ "type": "boolean"
2576
+ },
2577
+ "force": {
2578
+ "char": "f",
2579
+ "description": "Skip confirmation prompt",
2580
+ "name": "force",
2581
+ "required": false,
2582
+ "allowNo": false,
2583
+ "type": "boolean"
1871
2584
  }
1872
2585
  },
1873
2586
  "hasDynamicHelp": false,
1874
2587
  "hiddenAliases": [],
1875
- "id": "run:projects:list",
2588
+ "id": "run:projects:delete",
1876
2589
  "pluginAlias": "@xano/cli",
1877
2590
  "pluginName": "@xano/cli",
1878
2591
  "pluginType": "core",
@@ -1883,7 +2596,7 @@
1883
2596
  "commands",
1884
2597
  "run",
1885
2598
  "projects",
1886
- "list",
2599
+ "delete",
1887
2600
  "index.js"
1888
2601
  ]
1889
2602
  },
@@ -1912,6 +2625,15 @@
1912
2625
  "multiple": false,
1913
2626
  "type": "option"
1914
2627
  },
2628
+ "verbose": {
2629
+ "char": "v",
2630
+ "description": "Show detailed request/response information",
2631
+ "env": "XANO_VERBOSE",
2632
+ "name": "verbose",
2633
+ "required": false,
2634
+ "allowNo": false,
2635
+ "type": "boolean"
2636
+ },
1915
2637
  "force": {
1916
2638
  "char": "f",
1917
2639
  "description": "Skip confirmation prompt",
@@ -1938,57 +2660,6 @@
1938
2660
  "index.js"
1939
2661
  ]
1940
2662
  },
1941
- "run:sessions:list": {
1942
- "aliases": [],
1943
- "args": {},
1944
- "description": "List all sessions for the project",
1945
- "examples": [
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"
1948
- ],
1949
- "flags": {
1950
- "profile": {
1951
- "char": "p",
1952
- "description": "Profile to use for this command",
1953
- "env": "XANO_PROFILE",
1954
- "name": "profile",
1955
- "required": false,
1956
- "hasDynamicHelp": false,
1957
- "multiple": false,
1958
- "type": "option"
1959
- },
1960
- "output": {
1961
- "char": "o",
1962
- "description": "Output format",
1963
- "name": "output",
1964
- "required": false,
1965
- "default": "table",
1966
- "hasDynamicHelp": false,
1967
- "multiple": false,
1968
- "options": [
1969
- "table",
1970
- "json"
1971
- ],
1972
- "type": "option"
1973
- }
1974
- },
1975
- "hasDynamicHelp": false,
1976
- "hiddenAliases": [],
1977
- "id": "run:sessions:list",
1978
- "pluginAlias": "@xano/cli",
1979
- "pluginName": "@xano/cli",
1980
- "pluginType": "core",
1981
- "strict": true,
1982
- "isESM": true,
1983
- "relativePath": [
1984
- "dist",
1985
- "commands",
1986
- "run",
1987
- "sessions",
1988
- "list",
1989
- "index.js"
1990
- ]
1991
- },
1992
2663
  "run:sessions:get": {
1993
2664
  "aliases": [],
1994
2665
  "args": {
@@ -2014,6 +2685,15 @@
2014
2685
  "multiple": false,
2015
2686
  "type": "option"
2016
2687
  },
2688
+ "verbose": {
2689
+ "char": "v",
2690
+ "description": "Show detailed request/response information",
2691
+ "env": "XANO_VERBOSE",
2692
+ "name": "verbose",
2693
+ "required": false,
2694
+ "allowNo": false,
2695
+ "type": "boolean"
2696
+ },
2017
2697
  "output": {
2018
2698
  "char": "o",
2019
2699
  "description": "Output format",
@@ -2046,20 +2726,19 @@
2046
2726
  "index.js"
2047
2727
  ]
2048
2728
  },
2049
- "static_host:build:create": {
2729
+ "run:sessions:start": {
2050
2730
  "aliases": [],
2051
2731
  "args": {
2052
- "static_host": {
2053
- "description": "Static Host name",
2054
- "name": "static_host",
2732
+ "sessionId": {
2733
+ "description": "Session ID",
2734
+ "name": "sessionId",
2055
2735
  "required": true
2056
2736
  }
2057
2737
  },
2058
- "description": "Create a new build for a static host",
2738
+ "description": "Start a session",
2059
2739
  "examples": [
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"
2740
+ "$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
2741
+ "$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
2063
2742
  ],
2064
2743
  "flags": {
2065
2744
  "profile": {
@@ -2072,41 +2751,14 @@
2072
2751
  "multiple": false,
2073
2752
  "type": "option"
2074
2753
  },
2075
- "workspace": {
2076
- "char": "w",
2077
- "description": "Workspace ID (optional if set in profile)",
2078
- "name": "workspace",
2079
- "required": false,
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
- },
2093
- "name": {
2094
- "char": "n",
2095
- "description": "Build name",
2096
- "name": "name",
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",
2754
+ "verbose": {
2755
+ "char": "v",
2756
+ "description": "Show detailed request/response information",
2757
+ "env": "XANO_VERBOSE",
2758
+ "name": "verbose",
2106
2759
  "required": false,
2107
- "hasDynamicHelp": false,
2108
- "multiple": false,
2109
- "type": "option"
2760
+ "allowNo": false,
2761
+ "type": "boolean"
2110
2762
  },
2111
2763
  "output": {
2112
2764
  "char": "o",
@@ -2125,42 +2777,34 @@
2125
2777
  },
2126
2778
  "hasDynamicHelp": false,
2127
2779
  "hiddenAliases": [],
2128
- "id": "static_host:build:create",
2780
+ "id": "run:sessions:start",
2129
2781
  "pluginAlias": "@xano/cli",
2130
2782
  "pluginName": "@xano/cli",
2131
2783
  "pluginType": "core",
2132
2784
  "strict": true,
2133
- "enableJsonFlag": false,
2134
2785
  "isESM": true,
2135
2786
  "relativePath": [
2136
2787
  "dist",
2137
2788
  "commands",
2138
- "static_host",
2139
- "build",
2140
- "create",
2789
+ "run",
2790
+ "sessions",
2791
+ "start",
2141
2792
  "index.js"
2142
2793
  ]
2143
2794
  },
2144
- "static_host:build:get": {
2795
+ "run:sessions:stop": {
2145
2796
  "aliases": [],
2146
2797
  "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",
2798
+ "sessionId": {
2799
+ "description": "Session ID",
2800
+ "name": "sessionId",
2155
2801
  "required": true
2156
2802
  }
2157
2803
  },
2158
- "description": "Get details of a specific build for a static host",
2804
+ "description": "Stop a session",
2159
2805
  "examples": [
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"
2806
+ "$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
2807
+ "$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
2164
2808
  ],
2165
2809
  "flags": {
2166
2810
  "profile": {
@@ -2173,14 +2817,14 @@
2173
2817
  "multiple": false,
2174
2818
  "type": "option"
2175
2819
  },
2176
- "workspace": {
2177
- "char": "w",
2178
- "description": "Workspace ID (optional if set in profile)",
2179
- "name": "workspace",
2820
+ "verbose": {
2821
+ "char": "v",
2822
+ "description": "Show detailed request/response information",
2823
+ "env": "XANO_VERBOSE",
2824
+ "name": "verbose",
2180
2825
  "required": false,
2181
- "hasDynamicHelp": false,
2182
- "multiple": false,
2183
- "type": "option"
2826
+ "allowNo": false,
2827
+ "type": "boolean"
2184
2828
  },
2185
2829
  "output": {
2186
2830
  "char": "o",
@@ -2199,35 +2843,28 @@
2199
2843
  },
2200
2844
  "hasDynamicHelp": false,
2201
2845
  "hiddenAliases": [],
2202
- "id": "static_host:build:get",
2846
+ "id": "run:sessions:stop",
2203
2847
  "pluginAlias": "@xano/cli",
2204
2848
  "pluginName": "@xano/cli",
2205
2849
  "pluginType": "core",
2206
2850
  "strict": true,
2207
- "enableJsonFlag": false,
2208
2851
  "isESM": true,
2209
2852
  "relativePath": [
2210
2853
  "dist",
2211
2854
  "commands",
2212
- "static_host",
2213
- "build",
2214
- "get",
2215
- "index.js"
2216
- ]
2217
- },
2218
- "run:sessions:start": {
2219
- "aliases": [],
2220
- "args": {
2221
- "sessionId": {
2222
- "description": "Session ID",
2223
- "name": "sessionId",
2224
- "required": true
2225
- }
2226
- },
2227
- "description": "Start a session",
2855
+ "run",
2856
+ "sessions",
2857
+ "stop",
2858
+ "index.js"
2859
+ ]
2860
+ },
2861
+ "run:sessions:list": {
2862
+ "aliases": [],
2863
+ "args": {},
2864
+ "description": "List all sessions for the project",
2228
2865
  "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"
2866
+ "$ 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",
2867
+ "$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
2231
2868
  ],
2232
2869
  "flags": {
2233
2870
  "profile": {
@@ -2240,16 +2877,25 @@
2240
2877
  "multiple": false,
2241
2878
  "type": "option"
2242
2879
  },
2880
+ "verbose": {
2881
+ "char": "v",
2882
+ "description": "Show detailed request/response information",
2883
+ "env": "XANO_VERBOSE",
2884
+ "name": "verbose",
2885
+ "required": false,
2886
+ "allowNo": false,
2887
+ "type": "boolean"
2888
+ },
2243
2889
  "output": {
2244
2890
  "char": "o",
2245
2891
  "description": "Output format",
2246
2892
  "name": "output",
2247
2893
  "required": false,
2248
- "default": "summary",
2894
+ "default": "table",
2249
2895
  "hasDynamicHelp": false,
2250
2896
  "multiple": false,
2251
2897
  "options": [
2252
- "summary",
2898
+ "table",
2253
2899
  "json"
2254
2900
  ],
2255
2901
  "type": "option"
@@ -2257,7 +2903,7 @@
2257
2903
  },
2258
2904
  "hasDynamicHelp": false,
2259
2905
  "hiddenAliases": [],
2260
- "id": "run:sessions:start",
2906
+ "id": "run:sessions:list",
2261
2907
  "pluginAlias": "@xano/cli",
2262
2908
  "pluginName": "@xano/cli",
2263
2909
  "pluginType": "core",
@@ -2268,11 +2914,11 @@
2268
2914
  "commands",
2269
2915
  "run",
2270
2916
  "sessions",
2271
- "start",
2917
+ "list",
2272
2918
  "index.js"
2273
2919
  ]
2274
2920
  },
2275
- "run:sessions:stop": {
2921
+ "run:sink:get": {
2276
2922
  "aliases": [],
2277
2923
  "args": {
2278
2924
  "sessionId": {
@@ -2281,10 +2927,10 @@
2281
2927
  "required": true
2282
2928
  }
2283
2929
  },
2284
- "description": "Stop a session",
2930
+ "description": "Get sink data for a completed session",
2285
2931
  "examples": [
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"
2932
+ "$ 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",
2933
+ "$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
2288
2934
  ],
2289
2935
  "flags": {
2290
2936
  "profile": {
@@ -2297,6 +2943,15 @@
2297
2943
  "multiple": false,
2298
2944
  "type": "option"
2299
2945
  },
2946
+ "verbose": {
2947
+ "char": "v",
2948
+ "description": "Show detailed request/response information",
2949
+ "env": "XANO_VERBOSE",
2950
+ "name": "verbose",
2951
+ "required": false,
2952
+ "allowNo": false,
2953
+ "type": "boolean"
2954
+ },
2300
2955
  "output": {
2301
2956
  "char": "o",
2302
2957
  "description": "Output format",
@@ -2314,7 +2969,7 @@
2314
2969
  },
2315
2970
  "hasDynamicHelp": false,
2316
2971
  "hiddenAliases": [],
2317
- "id": "run:sessions:stop",
2972
+ "id": "run:sink:get",
2318
2973
  "pluginAlias": "@xano/cli",
2319
2974
  "pluginName": "@xano/cli",
2320
2975
  "pluginType": "core",
@@ -2324,8 +2979,8 @@
2324
2979
  "dist",
2325
2980
  "commands",
2326
2981
  "run",
2327
- "sessions",
2328
- "stop",
2982
+ "sink",
2983
+ "get",
2329
2984
  "index.js"
2330
2985
  ]
2331
2986
  },
@@ -2356,6 +3011,15 @@
2356
3011
  "multiple": false,
2357
3012
  "type": "option"
2358
3013
  },
3014
+ "verbose": {
3015
+ "char": "v",
3016
+ "description": "Show detailed request/response information",
3017
+ "env": "XANO_VERBOSE",
3018
+ "name": "verbose",
3019
+ "required": false,
3020
+ "allowNo": false,
3021
+ "type": "boolean"
3022
+ },
2359
3023
  "workspace": {
2360
3024
  "char": "w",
2361
3025
  "description": "Workspace ID (optional if set in profile)",
@@ -2416,19 +3080,26 @@
2416
3080
  "index.js"
2417
3081
  ]
2418
3082
  },
2419
- "run:secrets:delete": {
3083
+ "static_host:build:get": {
2420
3084
  "aliases": [],
2421
3085
  "args": {
2422
- "name": {
2423
- "description": "Secret name",
2424
- "name": "name",
3086
+ "static_host": {
3087
+ "description": "Static Host name",
3088
+ "name": "static_host",
3089
+ "required": true
3090
+ },
3091
+ "build_id": {
3092
+ "description": "Build ID",
3093
+ "name": "build_id",
2425
3094
  "required": true
2426
3095
  }
2427
3096
  },
2428
- "description": "Delete a secret",
3097
+ "description": "Get details of a specific build for a static host",
2429
3098
  "examples": [
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"
3099
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
3100
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
3101
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
3102
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
2432
3103
  ],
2433
3104
  "flags": {
2434
3105
  "profile": {
@@ -2441,52 +3112,19 @@
2441
3112
  "multiple": false,
2442
3113
  "type": "option"
2443
3114
  },
2444
- "force": {
2445
- "char": "f",
2446
- "description": "Skip confirmation prompt",
2447
- "name": "force",
3115
+ "verbose": {
3116
+ "char": "v",
3117
+ "description": "Show detailed request/response information",
3118
+ "env": "XANO_VERBOSE",
3119
+ "name": "verbose",
2448
3120
  "required": false,
2449
3121
  "allowNo": false,
2450
3122
  "type": "boolean"
2451
- }
2452
- },
2453
- "hasDynamicHelp": false,
2454
- "hiddenAliases": [],
2455
- "id": "run:secrets:delete",
2456
- "pluginAlias": "@xano/cli",
2457
- "pluginName": "@xano/cli",
2458
- "pluginType": "core",
2459
- "strict": true,
2460
- "isESM": true,
2461
- "relativePath": [
2462
- "dist",
2463
- "commands",
2464
- "run",
2465
- "secrets",
2466
- "delete",
2467
- "index.js"
2468
- ]
2469
- },
2470
- "run:secrets:get": {
2471
- "aliases": [],
2472
- "args": {
2473
- "name": {
2474
- "description": "Secret name",
2475
- "name": "name",
2476
- "required": true
2477
- }
2478
- },
2479
- "description": "Get a secret value",
2480
- "examples": [
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"
2483
- ],
2484
- "flags": {
2485
- "profile": {
2486
- "char": "p",
2487
- "description": "Profile to use for this command",
2488
- "env": "XANO_PROFILE",
2489
- "name": "profile",
3123
+ },
3124
+ "workspace": {
3125
+ "char": "w",
3126
+ "description": "Workspace ID (optional if set in profile)",
3127
+ "name": "workspace",
2490
3128
  "required": false,
2491
3129
  "hasDynamicHelp": false,
2492
3130
  "multiple": false,
@@ -2497,11 +3135,11 @@
2497
3135
  "description": "Output format",
2498
3136
  "name": "output",
2499
3137
  "required": false,
2500
- "default": "value",
3138
+ "default": "summary",
2501
3139
  "hasDynamicHelp": false,
2502
3140
  "multiple": false,
2503
3141
  "options": [
2504
- "value",
3142
+ "summary",
2505
3143
  "json"
2506
3144
  ],
2507
3145
  "type": "option"
@@ -2509,28 +3147,36 @@
2509
3147
  },
2510
3148
  "hasDynamicHelp": false,
2511
3149
  "hiddenAliases": [],
2512
- "id": "run:secrets:get",
3150
+ "id": "static_host:build:get",
2513
3151
  "pluginAlias": "@xano/cli",
2514
3152
  "pluginName": "@xano/cli",
2515
3153
  "pluginType": "core",
2516
3154
  "strict": true,
3155
+ "enableJsonFlag": false,
2517
3156
  "isESM": true,
2518
3157
  "relativePath": [
2519
3158
  "dist",
2520
3159
  "commands",
2521
- "run",
2522
- "secrets",
3160
+ "static_host",
3161
+ "build",
2523
3162
  "get",
2524
3163
  "index.js"
2525
3164
  ]
2526
3165
  },
2527
- "run:secrets:list": {
3166
+ "static_host:build:create": {
2528
3167
  "aliases": [],
2529
- "args": {},
2530
- "description": "List all secret keys",
3168
+ "args": {
3169
+ "static_host": {
3170
+ "description": "Static Host name",
3171
+ "name": "static_host",
3172
+ "required": true
3173
+ }
3174
+ },
3175
+ "description": "Create a new build for a static host",
2531
3176
  "examples": [
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"
3177
+ "$ 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",
3178
+ "$ 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",
3179
+ "$ 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"
2534
3180
  ],
2535
3181
  "flags": {
2536
3182
  "profile": {
@@ -2543,112 +3189,84 @@
2543
3189
  "multiple": false,
2544
3190
  "type": "option"
2545
3191
  },
2546
- "output": {
2547
- "char": "o",
2548
- "description": "Output format",
2549
- "name": "output",
3192
+ "verbose": {
3193
+ "char": "v",
3194
+ "description": "Show detailed request/response information",
3195
+ "env": "XANO_VERBOSE",
3196
+ "name": "verbose",
3197
+ "required": false,
3198
+ "allowNo": false,
3199
+ "type": "boolean"
3200
+ },
3201
+ "workspace": {
3202
+ "char": "w",
3203
+ "description": "Workspace ID (optional if set in profile)",
3204
+ "name": "workspace",
2550
3205
  "required": false,
2551
- "default": "table",
2552
3206
  "hasDynamicHelp": false,
2553
3207
  "multiple": false,
2554
- "options": [
2555
- "table",
2556
- "json"
2557
- ],
2558
3208
  "type": "option"
2559
- }
2560
- },
2561
- "hasDynamicHelp": false,
2562
- "hiddenAliases": [],
2563
- "id": "run:secrets:list",
2564
- "pluginAlias": "@xano/cli",
2565
- "pluginName": "@xano/cli",
2566
- "pluginType": "core",
2567
- "strict": true,
2568
- "isESM": true,
2569
- "relativePath": [
2570
- "dist",
2571
- "commands",
2572
- "run",
2573
- "secrets",
2574
- "list",
2575
- "index.js"
2576
- ]
2577
- },
2578
- "run:secrets:set": {
2579
- "aliases": [],
2580
- "args": {
2581
- "name": {
2582
- "description": "Secret name",
2583
- "name": "name",
2584
- "required": true
2585
- }
2586
- },
2587
- "description": "Set a secret",
2588
- "examples": [
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"
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,
3209
+ },
3210
+ "file": {
3211
+ "char": "f",
3212
+ "description": "Path to zip file to upload",
3213
+ "name": "file",
3214
+ "required": true,
2599
3215
  "hasDynamicHelp": false,
2600
3216
  "multiple": false,
2601
3217
  "type": "option"
2602
3218
  },
2603
- "type": {
2604
- "char": "t",
2605
- "description": "Secret type",
2606
- "name": "type",
3219
+ "name": {
3220
+ "char": "n",
3221
+ "description": "Build name",
3222
+ "name": "name",
2607
3223
  "required": true,
2608
3224
  "hasDynamicHelp": false,
2609
3225
  "multiple": false,
2610
- "options": [
2611
- "dockerconfigjson",
2612
- "service-account-token"
2613
- ],
2614
3226
  "type": "option"
2615
3227
  },
2616
- "value": {
2617
- "char": "v",
2618
- "description": "Secret value",
2619
- "name": "value",
2620
- "required": true,
3228
+ "description": {
3229
+ "char": "d",
3230
+ "description": "Build description",
3231
+ "name": "description",
3232
+ "required": false,
2621
3233
  "hasDynamicHelp": false,
2622
3234
  "multiple": false,
2623
3235
  "type": "option"
2624
3236
  },
2625
- "repo": {
2626
- "char": "r",
2627
- "description": "Repository (for dockerconfigjson type)",
2628
- "name": "repo",
3237
+ "output": {
3238
+ "char": "o",
3239
+ "description": "Output format",
3240
+ "name": "output",
2629
3241
  "required": false,
3242
+ "default": "summary",
2630
3243
  "hasDynamicHelp": false,
2631
3244
  "multiple": false,
3245
+ "options": [
3246
+ "summary",
3247
+ "json"
3248
+ ],
2632
3249
  "type": "option"
2633
3250
  }
2634
3251
  },
2635
3252
  "hasDynamicHelp": false,
2636
3253
  "hiddenAliases": [],
2637
- "id": "run:secrets:set",
3254
+ "id": "static_host:build:create",
2638
3255
  "pluginAlias": "@xano/cli",
2639
3256
  "pluginName": "@xano/cli",
2640
3257
  "pluginType": "core",
2641
3258
  "strict": true,
3259
+ "enableJsonFlag": false,
2642
3260
  "isESM": true,
2643
3261
  "relativePath": [
2644
3262
  "dist",
2645
3263
  "commands",
2646
- "run",
2647
- "secrets",
2648
- "set",
3264
+ "static_host",
3265
+ "build",
3266
+ "create",
2649
3267
  "index.js"
2650
3268
  ]
2651
3269
  }
2652
3270
  },
2653
- "version": "0.0.19"
3271
+ "version": "0.0.21"
2654
3272
  }