@xano/cli 0.0.13 → 0.0.15

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 (62) hide show
  1. package/README.md +97 -12
  2. package/dist/commands/profile/create/index.d.ts +2 -0
  3. package/dist/commands/profile/create/index.js +15 -0
  4. package/dist/commands/profile/edit/index.d.ts +4 -0
  5. package/dist/commands/profile/edit/index.js +37 -1
  6. package/dist/commands/profile/list/index.js +5 -0
  7. package/dist/commands/profile/project/index.d.ts +6 -0
  8. package/dist/commands/profile/project/index.js +54 -0
  9. package/dist/commands/profile/token/index.d.ts +6 -0
  10. package/dist/commands/profile/token/index.js +54 -0
  11. package/dist/commands/profile/wizard/index.d.ts +1 -0
  12. package/dist/commands/profile/wizard/index.js +70 -0
  13. package/dist/commands/run/env/delete/index.d.ts +13 -0
  14. package/dist/commands/run/env/delete/index.js +65 -0
  15. package/dist/commands/run/env/get/index.d.ts +13 -0
  16. package/dist/commands/run/env/get/index.js +52 -0
  17. package/dist/commands/run/env/list/index.d.ts +11 -0
  18. package/dist/commands/run/env/list/index.js +58 -0
  19. package/dist/commands/run/env/set/index.d.ts +13 -0
  20. package/dist/commands/run/env/set/index.js +51 -0
  21. package/dist/commands/{ephemeral/run/job → run/exec}/index.d.ts +4 -3
  22. package/dist/commands/run/exec/index.js +353 -0
  23. package/dist/commands/{ephemeral/run/service → run/info}/index.d.ts +3 -5
  24. package/dist/commands/run/info/index.js +160 -0
  25. package/dist/commands/run/projects/create/index.d.ts +13 -0
  26. package/dist/commands/run/projects/create/index.js +75 -0
  27. package/dist/commands/run/projects/delete/index.d.ts +13 -0
  28. package/dist/commands/run/projects/delete/index.js +65 -0
  29. package/dist/commands/run/projects/list/index.d.ts +12 -0
  30. package/dist/commands/run/projects/list/index.js +66 -0
  31. package/dist/commands/run/projects/update/index.d.ts +15 -0
  32. package/dist/commands/run/projects/update/index.js +86 -0
  33. package/dist/commands/run/secrets/delete/index.d.ts +13 -0
  34. package/dist/commands/run/secrets/delete/index.js +65 -0
  35. package/dist/commands/run/secrets/get/index.d.ts +13 -0
  36. package/dist/commands/run/secrets/get/index.js +52 -0
  37. package/dist/commands/run/secrets/list/index.d.ts +11 -0
  38. package/dist/commands/run/secrets/list/index.js +62 -0
  39. package/dist/commands/run/secrets/set/index.d.ts +15 -0
  40. package/dist/commands/run/secrets/set/index.js +74 -0
  41. package/dist/commands/run/sessions/delete/index.d.ts +13 -0
  42. package/dist/commands/run/sessions/delete/index.js +65 -0
  43. package/dist/commands/run/sessions/get/index.d.ts +13 -0
  44. package/dist/commands/run/sessions/get/index.js +72 -0
  45. package/dist/commands/run/sessions/list/index.d.ts +12 -0
  46. package/dist/commands/run/sessions/list/index.js +64 -0
  47. package/dist/commands/run/sessions/start/index.d.ts +13 -0
  48. package/dist/commands/run/sessions/start/index.js +56 -0
  49. package/dist/commands/run/sessions/stop/index.d.ts +13 -0
  50. package/dist/commands/run/sessions/stop/index.js +56 -0
  51. package/dist/commands/run/sink/get/index.d.ts +13 -0
  52. package/dist/commands/run/sink/get/index.js +63 -0
  53. package/dist/lib/base-run-command.d.ts +41 -0
  54. package/dist/lib/base-run-command.js +73 -0
  55. package/dist/lib/run-http-client.d.ts +58 -0
  56. package/dist/lib/run-http-client.js +136 -0
  57. package/dist/lib/run-types.d.ts +226 -0
  58. package/dist/lib/run-types.js +5 -0
  59. package/oclif.manifest.json +1423 -306
  60. package/package.json +1 -1
  61. package/dist/commands/ephemeral/run/job/index.js +0 -311
  62. package/dist/commands/ephemeral/run/service/index.js +0 -287
@@ -408,72 +408,98 @@
408
408
  "index.js"
409
409
  ]
410
410
  },
411
- "static_host:list": {
411
+ "profile:create": {
412
412
  "aliases": [],
413
- "args": {},
414
- "description": "List all static hosts in a workspace from the Xano Metadata API",
413
+ "args": {
414
+ "name": {
415
+ "description": "Profile name",
416
+ "name": "name",
417
+ "required": true
418
+ }
419
+ },
420
+ "description": "Create a new profile configuration",
415
421
  "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"
422
+ "$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
423
+ "$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
424
+ "$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
425
+ "$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch -j my-project\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
426
+ "$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
420
427
  ],
421
428
  "flags": {
422
- "profile": {
423
- "char": "p",
424
- "description": "Profile to use for this command",
425
- "env": "XANO_PROFILE",
426
- "name": "profile",
429
+ "account_origin": {
430
+ "char": "a",
431
+ "description": "Account origin URL. Optional for self hosted installs.",
432
+ "name": "account_origin",
427
433
  "required": false,
428
434
  "hasDynamicHelp": false,
429
435
  "multiple": false,
430
436
  "type": "option"
431
437
  },
438
+ "instance_origin": {
439
+ "char": "i",
440
+ "description": "Instance origin URL",
441
+ "name": "instance_origin",
442
+ "required": true,
443
+ "hasDynamicHelp": false,
444
+ "multiple": false,
445
+ "type": "option"
446
+ },
447
+ "access_token": {
448
+ "char": "t",
449
+ "description": "Access token for the Xano Metadata API",
450
+ "name": "access_token",
451
+ "required": true,
452
+ "hasDynamicHelp": false,
453
+ "multiple": false,
454
+ "type": "option"
455
+ },
432
456
  "workspace": {
433
457
  "char": "w",
434
- "description": "Workspace ID (optional if set in profile)",
458
+ "description": "Workspace name",
435
459
  "name": "workspace",
436
460
  "required": false,
437
461
  "hasDynamicHelp": false,
438
462
  "multiple": false,
439
463
  "type": "option"
440
464
  },
441
- "output": {
442
- "char": "o",
443
- "description": "Output format",
444
- "name": "output",
465
+ "branch": {
466
+ "char": "b",
467
+ "description": "Branch name",
468
+ "name": "branch",
445
469
  "required": false,
446
- "default": "summary",
447
470
  "hasDynamicHelp": false,
448
471
  "multiple": false,
449
- "options": [
450
- "summary",
451
- "json"
452
- ],
453
472
  "type": "option"
454
473
  },
455
- "page": {
456
- "description": "Page number for pagination",
457
- "name": "page",
474
+ "project": {
475
+ "char": "j",
476
+ "description": "Project name",
477
+ "name": "project",
458
478
  "required": false,
459
- "default": 1,
460
479
  "hasDynamicHelp": false,
461
480
  "multiple": false,
462
481
  "type": "option"
463
482
  },
464
- "per_page": {
465
- "description": "Number of results per page",
466
- "name": "per_page",
483
+ "run_base_url": {
484
+ "char": "r",
485
+ "description": "Xano Run API base URL (default: https://app.xano.com/)",
486
+ "name": "run_base_url",
467
487
  "required": false,
468
- "default": 50,
469
488
  "hasDynamicHelp": false,
470
489
  "multiple": false,
471
490
  "type": "option"
491
+ },
492
+ "default": {
493
+ "description": "Set this profile as the default",
494
+ "name": "default",
495
+ "required": false,
496
+ "allowNo": false,
497
+ "type": "boolean"
472
498
  }
473
499
  },
474
500
  "hasDynamicHelp": false,
475
501
  "hiddenAliases": [],
476
- "id": "static_host:list",
502
+ "id": "profile:create",
477
503
  "pluginAlias": "@xano/cli",
478
504
  "pluginName": "@xano/cli",
479
505
  "pluginType": "core",
@@ -483,8 +509,8 @@
483
509
  "relativePath": [
484
510
  "dist",
485
511
  "commands",
486
- "static_host",
487
- "list",
512
+ "profile",
513
+ "create",
488
514
  "index.js"
489
515
  ]
490
516
  },
@@ -530,26 +556,39 @@
530
556
  "index.js"
531
557
  ]
532
558
  },
533
- "profile:create": {
559
+ "profile:edit": {
534
560
  "aliases": [],
535
561
  "args": {
536
562
  "name": {
537
- "description": "Profile name",
563
+ "description": "Profile name to edit (uses default profile if not specified)",
538
564
  "name": "name",
539
- "required": true
565
+ "required": false
540
566
  }
541
567
  },
542
- "description": "Create a new profile configuration",
568
+ "description": "Edit an existing profile configuration",
543
569
  "examples": [
544
- "$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n",
545
- "$ xano profile:create staging -a https://staging-account.xano.com -i https://staging-instance.xano.com -t token456\nProfile 'staging' created successfully at ~/.xano/credentials.yaml\n",
546
- "$ xano profile:create dev -i https://dev-instance.xano.com -t token789 -w my-workspace -b feature-branch\nProfile 'dev' created successfully at ~/.xano/credentials.yaml\n",
547
- "$ xano profile:create production --account_origin https://account.xano.com --instance_origin https://instance.xano.com --access_token token123 --default\nProfile 'production' created successfully at ~/.xano/credentials.yaml\nDefault profile set to 'production'\n"
570
+ "$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
571
+ "$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
572
+ "$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
573
+ "$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
574
+ "$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
575
+ "$ xano profile:edit -j my-project\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
576
+ "$ xano profile:edit --remove-project\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
548
577
  ],
549
578
  "flags": {
579
+ "profile": {
580
+ "char": "p",
581
+ "description": "Profile to use for this command",
582
+ "env": "XANO_PROFILE",
583
+ "name": "profile",
584
+ "required": false,
585
+ "hasDynamicHelp": false,
586
+ "multiple": false,
587
+ "type": "option"
588
+ },
550
589
  "account_origin": {
551
590
  "char": "a",
552
- "description": "Account origin URL. Optional for self hosted installs.",
591
+ "description": "Update account origin URL",
553
592
  "name": "account_origin",
554
593
  "required": false,
555
594
  "hasDynamicHelp": false,
@@ -558,25 +597,25 @@
558
597
  },
559
598
  "instance_origin": {
560
599
  "char": "i",
561
- "description": "Instance origin URL",
600
+ "description": "Update instance origin URL",
562
601
  "name": "instance_origin",
563
- "required": true,
602
+ "required": false,
564
603
  "hasDynamicHelp": false,
565
604
  "multiple": false,
566
605
  "type": "option"
567
606
  },
568
607
  "access_token": {
569
608
  "char": "t",
570
- "description": "Access token for the Xano Metadata API",
609
+ "description": "Update access token for the Xano Metadata API",
571
610
  "name": "access_token",
572
- "required": true,
611
+ "required": false,
573
612
  "hasDynamicHelp": false,
574
613
  "multiple": false,
575
614
  "type": "option"
576
615
  },
577
616
  "workspace": {
578
617
  "char": "w",
579
- "description": "Workspace name",
618
+ "description": "Update workspace name",
580
619
  "name": "workspace",
581
620
  "required": false,
582
621
  "hasDynamicHelp": false,
@@ -585,16 +624,55 @@
585
624
  },
586
625
  "branch": {
587
626
  "char": "b",
588
- "description": "Branch name",
627
+ "description": "Update branch name",
589
628
  "name": "branch",
590
629
  "required": false,
591
630
  "hasDynamicHelp": false,
592
631
  "multiple": false,
593
632
  "type": "option"
594
633
  },
595
- "default": {
596
- "description": "Set this profile as the default",
597
- "name": "default",
634
+ "project": {
635
+ "char": "j",
636
+ "description": "Update project name",
637
+ "name": "project",
638
+ "required": false,
639
+ "hasDynamicHelp": false,
640
+ "multiple": false,
641
+ "type": "option"
642
+ },
643
+ "remove-workspace": {
644
+ "description": "Remove workspace from profile",
645
+ "name": "remove-workspace",
646
+ "required": false,
647
+ "allowNo": false,
648
+ "type": "boolean"
649
+ },
650
+ "remove-branch": {
651
+ "description": "Remove branch from profile",
652
+ "name": "remove-branch",
653
+ "required": false,
654
+ "allowNo": false,
655
+ "type": "boolean"
656
+ },
657
+ "remove-project": {
658
+ "description": "Remove project from profile",
659
+ "name": "remove-project",
660
+ "required": false,
661
+ "allowNo": false,
662
+ "type": "boolean"
663
+ },
664
+ "run_base_url": {
665
+ "char": "r",
666
+ "description": "Update Xano Run API base URL",
667
+ "name": "run_base_url",
668
+ "required": false,
669
+ "hasDynamicHelp": false,
670
+ "multiple": false,
671
+ "type": "option"
672
+ },
673
+ "remove-run-base-url": {
674
+ "description": "Remove run_base_url from profile (use default)",
675
+ "name": "remove-run-base-url",
598
676
  "required": false,
599
677
  "allowNo": false,
600
678
  "type": "boolean"
@@ -602,7 +680,7 @@
602
680
  },
603
681
  "hasDynamicHelp": false,
604
682
  "hiddenAliases": [],
605
- "id": "profile:create",
683
+ "id": "profile:edit",
606
684
  "pluginAlias": "@xano/cli",
607
685
  "pluginName": "@xano/cli",
608
686
  "pluginType": "core",
@@ -613,7 +691,7 @@
613
691
  "dist",
614
692
  "commands",
615
693
  "profile",
616
- "create",
694
+ "edit",
617
695
  "index.js"
618
696
  ]
619
697
  },
@@ -643,42 +721,6 @@
643
721
  "index.js"
644
722
  ]
645
723
  },
646
- "profile:list": {
647
- "aliases": [],
648
- "args": {},
649
- "description": "List all available profile configurations",
650
- "examples": [
651
- "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
652
- "$ 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\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
653
- "$ 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"
654
- ],
655
- "flags": {
656
- "details": {
657
- "char": "d",
658
- "description": "Show detailed information for each profile",
659
- "name": "details",
660
- "required": false,
661
- "allowNo": false,
662
- "type": "boolean"
663
- }
664
- },
665
- "hasDynamicHelp": false,
666
- "hiddenAliases": [],
667
- "id": "profile:list",
668
- "pluginAlias": "@xano/cli",
669
- "pluginName": "@xano/cli",
670
- "pluginType": "core",
671
- "strict": true,
672
- "enableJsonFlag": false,
673
- "isESM": true,
674
- "relativePath": [
675
- "dist",
676
- "commands",
677
- "profile",
678
- "list",
679
- "index.js"
680
- ]
681
- },
682
724
  "profile:me": {
683
725
  "aliases": [],
684
726
  "args": {},
@@ -731,37 +773,54 @@
731
773
  "index.js"
732
774
  ]
733
775
  },
734
- "profile:wizard": {
776
+ "profile:project": {
735
777
  "aliases": [],
736
778
  "args": {},
737
- "description": "Create a new profile configuration using an interactive wizard",
779
+ "description": "Print the project for the default profile",
738
780
  "examples": [
739
- "$ 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"
781
+ "$ xano profile:project\nmy-project-id\n",
782
+ "$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
783
+ ],
784
+ "flags": {},
785
+ "hasDynamicHelp": false,
786
+ "hiddenAliases": [],
787
+ "id": "profile:project",
788
+ "pluginAlias": "@xano/cli",
789
+ "pluginName": "@xano/cli",
790
+ "pluginType": "core",
791
+ "strict": true,
792
+ "enableJsonFlag": false,
793
+ "isESM": true,
794
+ "relativePath": [
795
+ "dist",
796
+ "commands",
797
+ "profile",
798
+ "project",
799
+ "index.js"
800
+ ]
801
+ },
802
+ "profile:list": {
803
+ "aliases": [],
804
+ "args": {},
805
+ "description": "List all available profile configurations",
806
+ "examples": [
807
+ "$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
808
+ "$ 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",
809
+ "$ 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"
740
810
  ],
741
811
  "flags": {
742
- "name": {
743
- "char": "n",
744
- "description": "Profile name (skip prompt if provided)",
745
- "name": "name",
746
- "required": false,
747
- "hasDynamicHelp": false,
748
- "multiple": false,
749
- "type": "option"
750
- },
751
- "origin": {
752
- "char": "o",
753
- "description": "Xano instance origin URL",
754
- "name": "origin",
812
+ "details": {
813
+ "char": "d",
814
+ "description": "Show detailed information for each profile",
815
+ "name": "details",
755
816
  "required": false,
756
- "default": "https://app.xano.com",
757
- "hasDynamicHelp": false,
758
- "multiple": false,
759
- "type": "option"
817
+ "allowNo": false,
818
+ "type": "boolean"
760
819
  }
761
820
  },
762
821
  "hasDynamicHelp": false,
763
822
  "hiddenAliases": [],
764
- "id": "profile:wizard",
823
+ "id": "profile:list",
765
824
  "pluginAlias": "@xano/cli",
766
825
  "pluginName": "@xano/cli",
767
826
  "pluginType": "core",
@@ -772,7 +831,7 @@
772
831
  "dist",
773
832
  "commands",
774
833
  "profile",
775
- "wizard",
834
+ "list",
776
835
  "index.js"
777
836
  ]
778
837
  },
@@ -808,45 +867,63 @@
808
867
  "index.js"
809
868
  ]
810
869
  },
811
- "workspace:list": {
870
+ "profile:token": {
812
871
  "aliases": [],
813
872
  "args": {},
814
- "description": "List all workspaces from the Xano Metadata API",
873
+ "description": "Print the access token for the default profile",
815
874
  "examples": [
816
- "$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
817
- "$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
818
- "$ 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",
819
- "$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
875
+ "$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
876
+ "$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
820
877
  ],
821
- "flags": {
822
- "profile": {
823
- "char": "p",
824
- "description": "Profile to use for this command",
825
- "env": "XANO_PROFILE",
826
- "name": "profile",
878
+ "flags": {},
879
+ "hasDynamicHelp": false,
880
+ "hiddenAliases": [],
881
+ "id": "profile:token",
882
+ "pluginAlias": "@xano/cli",
883
+ "pluginName": "@xano/cli",
884
+ "pluginType": "core",
885
+ "strict": true,
886
+ "enableJsonFlag": false,
887
+ "isESM": true,
888
+ "relativePath": [
889
+ "dist",
890
+ "commands",
891
+ "profile",
892
+ "token",
893
+ "index.js"
894
+ ]
895
+ },
896
+ "profile:wizard": {
897
+ "aliases": [],
898
+ "args": {},
899
+ "description": "Create a new profile configuration using an interactive wizard",
900
+ "examples": [
901
+ "$ 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"
902
+ ],
903
+ "flags": {
904
+ "name": {
905
+ "char": "n",
906
+ "description": "Profile name (skip prompt if provided)",
907
+ "name": "name",
827
908
  "required": false,
828
909
  "hasDynamicHelp": false,
829
910
  "multiple": false,
830
911
  "type": "option"
831
912
  },
832
- "output": {
913
+ "origin": {
833
914
  "char": "o",
834
- "description": "Output format",
835
- "name": "output",
915
+ "description": "Xano instance origin URL",
916
+ "name": "origin",
836
917
  "required": false,
837
- "default": "summary",
918
+ "default": "https://app.xano.com",
838
919
  "hasDynamicHelp": false,
839
920
  "multiple": false,
840
- "options": [
841
- "summary",
842
- "json"
843
- ],
844
921
  "type": "option"
845
922
  }
846
923
  },
847
924
  "hasDynamicHelp": false,
848
925
  "hiddenAliases": [],
849
- "id": "workspace:list",
926
+ "id": "profile:wizard",
850
927
  "pluginAlias": "@xano/cli",
851
928
  "pluginName": "@xano/cli",
852
929
  "pluginType": "core",
@@ -856,21 +933,19 @@
856
933
  "relativePath": [
857
934
  "dist",
858
935
  "commands",
859
- "workspace",
860
- "list",
936
+ "profile",
937
+ "wizard",
861
938
  "index.js"
862
939
  ]
863
940
  },
864
- "ephemeral:run:job": {
941
+ "run:info": {
865
942
  "aliases": [],
866
943
  "args": {},
867
- "description": "Run an ephemeral job",
944
+ "description": "Get information about a XanoScript document (type, inputs, env vars)",
868
945
  "examples": [
869
- "$ xano ephemeral:run:job -f script.xs\nJob executed successfully!\n...\n",
870
- "$ xano ephemeral:run:job -f script.xs --edit\n# Opens script.xs in $EDITOR, then runs job with edited content\nJob executed successfully!\n...\n",
871
- "$ cat script.xs | xano ephemeral:run:job --stdin\nJob executed successfully!\n...\n",
872
- "$ xano ephemeral:run:job -f script.xs -o json\n{\n \"job\": { \"id\": 1, \"run\": { \"id\": 1 } },\n \"result\": { ... }\n}\n",
873
- "$ xano ephemeral:run:job -f script.xs -a args.json\n# Runs job with input arguments from args.json\nJob executed successfully!\n...\n"
946
+ "$ xano run info -f script.xs\nDocument Info:\n Type: job\n Inputs:\n - name (string, required)\n - count (number, optional)\n Environment Variables:\n - API_KEY\n - DEBUG\n",
947
+ "$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
948
+ "$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
874
949
  ],
875
950
  "flags": {
876
951
  "profile": {
@@ -906,17 +981,6 @@
906
981
  "allowNo": false,
907
982
  "type": "boolean"
908
983
  },
909
- "edit": {
910
- "char": "e",
911
- "dependsOn": [
912
- "file"
913
- ],
914
- "description": "Open file in editor before running job (requires --file)",
915
- "name": "edit",
916
- "required": false,
917
- "allowNo": false,
918
- "type": "boolean"
919
- },
920
984
  "output": {
921
985
  "char": "o",
922
986
  "description": "Output format",
@@ -930,44 +994,35 @@
930
994
  "json"
931
995
  ],
932
996
  "type": "option"
933
- },
934
- "args": {
935
- "char": "a",
936
- "description": "Path or URL to JSON file containing input arguments",
937
- "name": "args",
938
- "required": false,
939
- "hasDynamicHelp": false,
940
- "multiple": false,
941
- "type": "option"
942
997
  }
943
998
  },
944
999
  "hasDynamicHelp": false,
945
1000
  "hiddenAliases": [],
946
- "id": "ephemeral:run:job",
1001
+ "id": "run:info",
947
1002
  "pluginAlias": "@xano/cli",
948
1003
  "pluginName": "@xano/cli",
949
1004
  "pluginType": "core",
950
1005
  "strict": true,
951
- "enableJsonFlag": false,
952
1006
  "isESM": true,
953
1007
  "relativePath": [
954
1008
  "dist",
955
1009
  "commands",
956
- "ephemeral",
957
1010
  "run",
958
- "job",
1011
+ "info",
959
1012
  "index.js"
960
1013
  ]
961
1014
  },
962
- "ephemeral:run:service": {
1015
+ "run:exec": {
963
1016
  "aliases": [],
964
1017
  "args": {},
965
- "description": "Run an ephemeral service",
1018
+ "description": "Execute XanoScript code (job or service)",
966
1019
  "examples": [
967
- "$ xano ephemeral:run:service -f service.xs\nService created successfully!\n...\n",
968
- "$ xano ephemeral:run:service -f service.xs --edit\n# Opens service.xs in $EDITOR, then creates service with edited content\nService created successfully!\n...\n",
969
- "$ cat service.xs | xano ephemeral:run:service --stdin\nService created successfully!\n...\n",
970
- "$ xano ephemeral:run:service -f service.xs -o json\n{\n \"service\": { \"id\": 1 },\n ...\n}\n"
1020
+ "$ xano run exec -f script.xs\nExecuted successfully!\n...\n",
1021
+ "$ xano run exec -f script.xs --edit\n# Opens script.xs in $EDITOR, then executes\nExecuted successfully!\n...\n",
1022
+ "$ cat script.xs | xano run exec --stdin\nExecuted successfully!\n...\n",
1023
+ "$ xano run exec -f script.xs -o json\n{\n \"run\": { ... }\n}\n",
1024
+ "$ xano run exec -f script.xs -a args.json\n# Executes with input arguments from args.json\nExecuted successfully!\n...\n",
1025
+ "$ xano run exec -f script.xs --env API_KEY=secret --env DEBUG=true\n# Executes with environment variable overrides\nExecuted successfully!\n...\n"
971
1026
  ],
972
1027
  "flags": {
973
1028
  "profile": {
@@ -1008,7 +1063,7 @@
1008
1063
  "dependsOn": [
1009
1064
  "file"
1010
1065
  ],
1011
- "description": "Open file in editor before running service (requires --file)",
1066
+ "description": "Open file in editor before running (requires --file)",
1012
1067
  "name": "edit",
1013
1068
  "required": false,
1014
1069
  "allowNo": false,
@@ -1027,42 +1082,50 @@
1027
1082
  "json"
1028
1083
  ],
1029
1084
  "type": "option"
1085
+ },
1086
+ "args": {
1087
+ "char": "a",
1088
+ "description": "Path or URL to JSON file containing input arguments",
1089
+ "name": "args",
1090
+ "required": false,
1091
+ "hasDynamicHelp": false,
1092
+ "multiple": false,
1093
+ "type": "option"
1094
+ },
1095
+ "env": {
1096
+ "description": "Environment variable override (key=value)",
1097
+ "name": "env",
1098
+ "required": false,
1099
+ "hasDynamicHelp": false,
1100
+ "multiple": true,
1101
+ "type": "option"
1030
1102
  }
1031
1103
  },
1032
1104
  "hasDynamicHelp": false,
1033
1105
  "hiddenAliases": [],
1034
- "id": "ephemeral:run:service",
1106
+ "id": "run:exec",
1035
1107
  "pluginAlias": "@xano/cli",
1036
1108
  "pluginName": "@xano/cli",
1037
1109
  "pluginType": "core",
1038
1110
  "strict": true,
1039
- "enableJsonFlag": false,
1040
1111
  "isESM": true,
1041
1112
  "relativePath": [
1042
1113
  "dist",
1043
1114
  "commands",
1044
- "ephemeral",
1045
1115
  "run",
1046
- "service",
1116
+ "exec",
1047
1117
  "index.js"
1048
1118
  ]
1049
1119
  },
1050
- "profile:edit": {
1120
+ "static_host:list": {
1051
1121
  "aliases": [],
1052
- "args": {
1053
- "name": {
1054
- "description": "Profile name to edit (uses default profile if not specified)",
1055
- "name": "name",
1056
- "required": false
1057
- }
1058
- },
1059
- "description": "Edit an existing profile configuration",
1122
+ "args": {},
1123
+ "description": "List all static hosts in a workspace from the Xano Metadata API",
1060
1124
  "examples": [
1061
- "$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1062
- "$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
1063
- "$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
1064
- "$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
1065
- "$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
1125
+ "$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1126
+ "$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
1127
+ "$ 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",
1128
+ "$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
1066
1129
  ],
1067
1130
  "flags": {
1068
1131
  "profile": {
@@ -1075,69 +1138,51 @@
1075
1138
  "multiple": false,
1076
1139
  "type": "option"
1077
1140
  },
1078
- "account_origin": {
1079
- "char": "a",
1080
- "description": "Update account origin URL",
1081
- "name": "account_origin",
1082
- "required": false,
1083
- "hasDynamicHelp": false,
1084
- "multiple": false,
1085
- "type": "option"
1086
- },
1087
- "instance_origin": {
1088
- "char": "i",
1089
- "description": "Update instance origin URL",
1090
- "name": "instance_origin",
1141
+ "workspace": {
1142
+ "char": "w",
1143
+ "description": "Workspace ID (optional if set in profile)",
1144
+ "name": "workspace",
1091
1145
  "required": false,
1092
1146
  "hasDynamicHelp": false,
1093
1147
  "multiple": false,
1094
1148
  "type": "option"
1095
1149
  },
1096
- "access_token": {
1097
- "char": "t",
1098
- "description": "Update access token for the Xano Metadata API",
1099
- "name": "access_token",
1150
+ "output": {
1151
+ "char": "o",
1152
+ "description": "Output format",
1153
+ "name": "output",
1100
1154
  "required": false,
1155
+ "default": "summary",
1101
1156
  "hasDynamicHelp": false,
1102
1157
  "multiple": false,
1158
+ "options": [
1159
+ "summary",
1160
+ "json"
1161
+ ],
1103
1162
  "type": "option"
1104
1163
  },
1105
- "workspace": {
1106
- "char": "w",
1107
- "description": "Update workspace name",
1108
- "name": "workspace",
1164
+ "page": {
1165
+ "description": "Page number for pagination",
1166
+ "name": "page",
1109
1167
  "required": false,
1168
+ "default": 1,
1110
1169
  "hasDynamicHelp": false,
1111
1170
  "multiple": false,
1112
1171
  "type": "option"
1113
1172
  },
1114
- "branch": {
1115
- "char": "b",
1116
- "description": "Update branch name",
1117
- "name": "branch",
1173
+ "per_page": {
1174
+ "description": "Number of results per page",
1175
+ "name": "per_page",
1118
1176
  "required": false,
1177
+ "default": 50,
1119
1178
  "hasDynamicHelp": false,
1120
1179
  "multiple": false,
1121
1180
  "type": "option"
1122
- },
1123
- "remove-workspace": {
1124
- "description": "Remove workspace from profile",
1125
- "name": "remove-workspace",
1126
- "required": false,
1127
- "allowNo": false,
1128
- "type": "boolean"
1129
- },
1130
- "remove-branch": {
1131
- "description": "Remove branch from profile",
1132
- "name": "remove-branch",
1133
- "required": false,
1134
- "allowNo": false,
1135
- "type": "boolean"
1136
1181
  }
1137
1182
  },
1138
1183
  "hasDynamicHelp": false,
1139
1184
  "hiddenAliases": [],
1140
- "id": "profile:edit",
1185
+ "id": "static_host:list",
1141
1186
  "pluginAlias": "@xano/cli",
1142
1187
  "pluginName": "@xano/cli",
1143
1188
  "pluginType": "core",
@@ -1147,25 +1192,20 @@
1147
1192
  "relativePath": [
1148
1193
  "dist",
1149
1194
  "commands",
1150
- "profile",
1151
- "edit",
1195
+ "static_host",
1196
+ "list",
1152
1197
  "index.js"
1153
1198
  ]
1154
1199
  },
1155
- "static_host:build:create": {
1200
+ "workspace:list": {
1156
1201
  "aliases": [],
1157
- "args": {
1158
- "static_host": {
1159
- "description": "Static Host name",
1160
- "name": "static_host",
1161
- "required": true
1162
- }
1163
- },
1164
- "description": "Create a new build for a static host",
1202
+ "args": {},
1203
+ "description": "List all workspaces from the Xano Metadata API",
1165
1204
  "examples": [
1166
- "$ 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",
1167
- "$ 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",
1168
- "$ 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"
1205
+ "$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
1206
+ "$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
1207
+ "$ 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",
1208
+ "$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
1169
1209
  ],
1170
1210
  "flags": {
1171
1211
  "profile": {
@@ -1178,42 +1218,6 @@
1178
1218
  "multiple": false,
1179
1219
  "type": "option"
1180
1220
  },
1181
- "workspace": {
1182
- "char": "w",
1183
- "description": "Workspace ID (optional if set in profile)",
1184
- "name": "workspace",
1185
- "required": false,
1186
- "hasDynamicHelp": false,
1187
- "multiple": false,
1188
- "type": "option"
1189
- },
1190
- "file": {
1191
- "char": "f",
1192
- "description": "Path to zip file to upload",
1193
- "name": "file",
1194
- "required": true,
1195
- "hasDynamicHelp": false,
1196
- "multiple": false,
1197
- "type": "option"
1198
- },
1199
- "name": {
1200
- "char": "n",
1201
- "description": "Build name",
1202
- "name": "name",
1203
- "required": true,
1204
- "hasDynamicHelp": false,
1205
- "multiple": false,
1206
- "type": "option"
1207
- },
1208
- "description": {
1209
- "char": "d",
1210
- "description": "Build description",
1211
- "name": "description",
1212
- "required": false,
1213
- "hasDynamicHelp": false,
1214
- "multiple": false,
1215
- "type": "option"
1216
- },
1217
1221
  "output": {
1218
1222
  "char": "o",
1219
1223
  "description": "Output format",
@@ -1231,7 +1235,7 @@
1231
1235
  },
1232
1236
  "hasDynamicHelp": false,
1233
1237
  "hiddenAliases": [],
1234
- "id": "static_host:build:create",
1238
+ "id": "workspace:list",
1235
1239
  "pluginAlias": "@xano/cli",
1236
1240
  "pluginName": "@xano/cli",
1237
1241
  "pluginType": "core",
@@ -1241,32 +1245,24 @@
1241
1245
  "relativePath": [
1242
1246
  "dist",
1243
1247
  "commands",
1244
- "static_host",
1245
- "build",
1246
- "create",
1248
+ "workspace",
1249
+ "list",
1247
1250
  "index.js"
1248
1251
  ]
1249
1252
  },
1250
- "static_host:build:get": {
1253
+ "run:env:delete": {
1251
1254
  "aliases": [],
1252
1255
  "args": {
1253
- "static_host": {
1254
- "description": "Static Host name",
1255
- "name": "static_host",
1256
- "required": true
1257
- },
1258
- "build_id": {
1259
- "description": "Build ID",
1260
- "name": "build_id",
1256
+ "name": {
1257
+ "description": "Environment variable name",
1258
+ "name": "name",
1261
1259
  "required": true
1262
1260
  }
1263
1261
  },
1264
- "description": "Get details of a specific build for a static host",
1262
+ "description": "Delete an environment variable",
1265
1263
  "examples": [
1266
- "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
1267
- "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
1268
- "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
1269
- "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
1264
+ "$ 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",
1265
+ "$ xano run env delete API_KEY --force\nEnvironment variable 'API_KEY' deleted successfully!\n"
1270
1266
  ],
1271
1267
  "flags": {
1272
1268
  "profile": {
@@ -1279,14 +1275,1040 @@
1279
1275
  "multiple": false,
1280
1276
  "type": "option"
1281
1277
  },
1282
- "workspace": {
1283
- "char": "w",
1284
- "description": "Workspace ID (optional if set in profile)",
1285
- "name": "workspace",
1278
+ "force": {
1279
+ "char": "f",
1280
+ "description": "Skip confirmation prompt",
1281
+ "name": "force",
1286
1282
  "required": false,
1287
- "hasDynamicHelp": false,
1288
- "multiple": false,
1289
- "type": "option"
1283
+ "allowNo": false,
1284
+ "type": "boolean"
1285
+ }
1286
+ },
1287
+ "hasDynamicHelp": false,
1288
+ "hiddenAliases": [],
1289
+ "id": "run:env:delete",
1290
+ "pluginAlias": "@xano/cli",
1291
+ "pluginName": "@xano/cli",
1292
+ "pluginType": "core",
1293
+ "strict": true,
1294
+ "isESM": true,
1295
+ "relativePath": [
1296
+ "dist",
1297
+ "commands",
1298
+ "run",
1299
+ "env",
1300
+ "delete",
1301
+ "index.js"
1302
+ ]
1303
+ },
1304
+ "run:env:get": {
1305
+ "aliases": [],
1306
+ "args": {
1307
+ "name": {
1308
+ "description": "Environment variable name",
1309
+ "name": "name",
1310
+ "required": true
1311
+ }
1312
+ },
1313
+ "description": "Get an environment variable value",
1314
+ "examples": [
1315
+ "$ xano run env get API_KEY\nmy-secret-api-key\n",
1316
+ "$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
1317
+ ],
1318
+ "flags": {
1319
+ "profile": {
1320
+ "char": "p",
1321
+ "description": "Profile to use for this command",
1322
+ "env": "XANO_PROFILE",
1323
+ "name": "profile",
1324
+ "required": false,
1325
+ "hasDynamicHelp": false,
1326
+ "multiple": false,
1327
+ "type": "option"
1328
+ },
1329
+ "output": {
1330
+ "char": "o",
1331
+ "description": "Output format",
1332
+ "name": "output",
1333
+ "required": false,
1334
+ "default": "value",
1335
+ "hasDynamicHelp": false,
1336
+ "multiple": false,
1337
+ "options": [
1338
+ "value",
1339
+ "json"
1340
+ ],
1341
+ "type": "option"
1342
+ }
1343
+ },
1344
+ "hasDynamicHelp": false,
1345
+ "hiddenAliases": [],
1346
+ "id": "run:env:get",
1347
+ "pluginAlias": "@xano/cli",
1348
+ "pluginName": "@xano/cli",
1349
+ "pluginType": "core",
1350
+ "strict": true,
1351
+ "isESM": true,
1352
+ "relativePath": [
1353
+ "dist",
1354
+ "commands",
1355
+ "run",
1356
+ "env",
1357
+ "get",
1358
+ "index.js"
1359
+ ]
1360
+ },
1361
+ "run:env:list": {
1362
+ "aliases": [],
1363
+ "args": {},
1364
+ "description": "List all environment variable keys",
1365
+ "examples": [
1366
+ "$ xano run env list\nEnvironment variables:\n - API_KEY\n - DATABASE_URL\n - DEBUG\n",
1367
+ "$ xano run env list -o json\n{ \"env\": [\"API_KEY\", \"DATABASE_URL\", \"DEBUG\"] }\n"
1368
+ ],
1369
+ "flags": {
1370
+ "profile": {
1371
+ "char": "p",
1372
+ "description": "Profile to use for this command",
1373
+ "env": "XANO_PROFILE",
1374
+ "name": "profile",
1375
+ "required": false,
1376
+ "hasDynamicHelp": false,
1377
+ "multiple": false,
1378
+ "type": "option"
1379
+ },
1380
+ "output": {
1381
+ "char": "o",
1382
+ "description": "Output format",
1383
+ "name": "output",
1384
+ "required": false,
1385
+ "default": "list",
1386
+ "hasDynamicHelp": false,
1387
+ "multiple": false,
1388
+ "options": [
1389
+ "list",
1390
+ "json"
1391
+ ],
1392
+ "type": "option"
1393
+ }
1394
+ },
1395
+ "hasDynamicHelp": false,
1396
+ "hiddenAliases": [],
1397
+ "id": "run:env:list",
1398
+ "pluginAlias": "@xano/cli",
1399
+ "pluginName": "@xano/cli",
1400
+ "pluginType": "core",
1401
+ "strict": true,
1402
+ "isESM": true,
1403
+ "relativePath": [
1404
+ "dist",
1405
+ "commands",
1406
+ "run",
1407
+ "env",
1408
+ "list",
1409
+ "index.js"
1410
+ ]
1411
+ },
1412
+ "run:env:set": {
1413
+ "aliases": [],
1414
+ "args": {
1415
+ "name": {
1416
+ "description": "Environment variable name",
1417
+ "name": "name",
1418
+ "required": true
1419
+ },
1420
+ "value": {
1421
+ "description": "Environment variable value",
1422
+ "name": "value",
1423
+ "required": true
1424
+ }
1425
+ },
1426
+ "description": "Set an environment variable",
1427
+ "examples": [
1428
+ "$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
1429
+ "$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
1430
+ ],
1431
+ "flags": {
1432
+ "profile": {
1433
+ "char": "p",
1434
+ "description": "Profile to use for this command",
1435
+ "env": "XANO_PROFILE",
1436
+ "name": "profile",
1437
+ "required": false,
1438
+ "hasDynamicHelp": false,
1439
+ "multiple": false,
1440
+ "type": "option"
1441
+ }
1442
+ },
1443
+ "hasDynamicHelp": false,
1444
+ "hiddenAliases": [],
1445
+ "id": "run:env:set",
1446
+ "pluginAlias": "@xano/cli",
1447
+ "pluginName": "@xano/cli",
1448
+ "pluginType": "core",
1449
+ "strict": true,
1450
+ "isESM": true,
1451
+ "relativePath": [
1452
+ "dist",
1453
+ "commands",
1454
+ "run",
1455
+ "env",
1456
+ "set",
1457
+ "index.js"
1458
+ ]
1459
+ },
1460
+ "run:projects:create": {
1461
+ "aliases": [],
1462
+ "args": {},
1463
+ "description": "Create a new project",
1464
+ "examples": [
1465
+ "$ xano run projects create -n \"My Project\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
1466
+ "$ xano run projects create -n \"My Project\" -d \"Description here\"\nProject created successfully!\n ID: abc123-def456-ghi789\n Name: My Project\n",
1467
+ "$ xano run projects create -n \"My Project\" -o json\n{ \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n"
1468
+ ],
1469
+ "flags": {
1470
+ "profile": {
1471
+ "char": "p",
1472
+ "description": "Profile to use for this command",
1473
+ "env": "XANO_PROFILE",
1474
+ "name": "profile",
1475
+ "required": false,
1476
+ "hasDynamicHelp": false,
1477
+ "multiple": false,
1478
+ "type": "option"
1479
+ },
1480
+ "name": {
1481
+ "char": "n",
1482
+ "description": "Project name",
1483
+ "name": "name",
1484
+ "required": true,
1485
+ "hasDynamicHelp": false,
1486
+ "multiple": false,
1487
+ "type": "option"
1488
+ },
1489
+ "description": {
1490
+ "char": "d",
1491
+ "description": "Project description",
1492
+ "name": "description",
1493
+ "required": false,
1494
+ "default": "",
1495
+ "hasDynamicHelp": false,
1496
+ "multiple": false,
1497
+ "type": "option"
1498
+ },
1499
+ "output": {
1500
+ "char": "o",
1501
+ "description": "Output format",
1502
+ "name": "output",
1503
+ "required": false,
1504
+ "default": "summary",
1505
+ "hasDynamicHelp": false,
1506
+ "multiple": false,
1507
+ "options": [
1508
+ "summary",
1509
+ "json"
1510
+ ],
1511
+ "type": "option"
1512
+ }
1513
+ },
1514
+ "hasDynamicHelp": false,
1515
+ "hiddenAliases": [],
1516
+ "id": "run:projects:create",
1517
+ "pluginAlias": "@xano/cli",
1518
+ "pluginName": "@xano/cli",
1519
+ "pluginType": "core",
1520
+ "strict": true,
1521
+ "isESM": true,
1522
+ "relativePath": [
1523
+ "dist",
1524
+ "commands",
1525
+ "run",
1526
+ "projects",
1527
+ "create",
1528
+ "index.js"
1529
+ ]
1530
+ },
1531
+ "run:projects:delete": {
1532
+ "aliases": [],
1533
+ "args": {
1534
+ "projectId": {
1535
+ "description": "Project ID to delete",
1536
+ "name": "projectId",
1537
+ "required": true
1538
+ }
1539
+ },
1540
+ "description": "Delete a project",
1541
+ "examples": [
1542
+ "$ xano run projects delete abc123-def456\nAre you sure you want to delete project 'abc123-def456'? (y/N)\nProject deleted successfully!\n",
1543
+ "$ xano run projects delete abc123-def456 --force\nProject deleted successfully!\n"
1544
+ ],
1545
+ "flags": {
1546
+ "profile": {
1547
+ "char": "p",
1548
+ "description": "Profile to use for this command",
1549
+ "env": "XANO_PROFILE",
1550
+ "name": "profile",
1551
+ "required": false,
1552
+ "hasDynamicHelp": false,
1553
+ "multiple": false,
1554
+ "type": "option"
1555
+ },
1556
+ "force": {
1557
+ "char": "f",
1558
+ "description": "Skip confirmation prompt",
1559
+ "name": "force",
1560
+ "required": false,
1561
+ "allowNo": false,
1562
+ "type": "boolean"
1563
+ }
1564
+ },
1565
+ "hasDynamicHelp": false,
1566
+ "hiddenAliases": [],
1567
+ "id": "run:projects:delete",
1568
+ "pluginAlias": "@xano/cli",
1569
+ "pluginName": "@xano/cli",
1570
+ "pluginType": "core",
1571
+ "strict": true,
1572
+ "isESM": true,
1573
+ "relativePath": [
1574
+ "dist",
1575
+ "commands",
1576
+ "run",
1577
+ "projects",
1578
+ "delete",
1579
+ "index.js"
1580
+ ]
1581
+ },
1582
+ "run:projects:list": {
1583
+ "aliases": [],
1584
+ "args": {},
1585
+ "description": "List all projects",
1586
+ "examples": [
1587
+ "$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
1588
+ "$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
1589
+ ],
1590
+ "flags": {
1591
+ "profile": {
1592
+ "char": "p",
1593
+ "description": "Profile to use for this command",
1594
+ "env": "XANO_PROFILE",
1595
+ "name": "profile",
1596
+ "required": false,
1597
+ "hasDynamicHelp": false,
1598
+ "multiple": false,
1599
+ "type": "option"
1600
+ },
1601
+ "output": {
1602
+ "char": "o",
1603
+ "description": "Output format",
1604
+ "name": "output",
1605
+ "required": false,
1606
+ "default": "table",
1607
+ "hasDynamicHelp": false,
1608
+ "multiple": false,
1609
+ "options": [
1610
+ "table",
1611
+ "json"
1612
+ ],
1613
+ "type": "option"
1614
+ }
1615
+ },
1616
+ "hasDynamicHelp": false,
1617
+ "hiddenAliases": [],
1618
+ "id": "run:projects:list",
1619
+ "pluginAlias": "@xano/cli",
1620
+ "pluginName": "@xano/cli",
1621
+ "pluginType": "core",
1622
+ "strict": true,
1623
+ "isESM": true,
1624
+ "relativePath": [
1625
+ "dist",
1626
+ "commands",
1627
+ "run",
1628
+ "projects",
1629
+ "list",
1630
+ "index.js"
1631
+ ]
1632
+ },
1633
+ "run:projects:update": {
1634
+ "aliases": [],
1635
+ "args": {
1636
+ "projectId": {
1637
+ "description": "Project ID to update",
1638
+ "name": "projectId",
1639
+ "required": true
1640
+ }
1641
+ },
1642
+ "description": "Update a project",
1643
+ "examples": [
1644
+ "$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
1645
+ "$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
1646
+ "$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
1647
+ ],
1648
+ "flags": {
1649
+ "profile": {
1650
+ "char": "p",
1651
+ "description": "Profile to use for this command",
1652
+ "env": "XANO_PROFILE",
1653
+ "name": "profile",
1654
+ "required": false,
1655
+ "hasDynamicHelp": false,
1656
+ "multiple": false,
1657
+ "type": "option"
1658
+ },
1659
+ "name": {
1660
+ "char": "n",
1661
+ "description": "New project name",
1662
+ "name": "name",
1663
+ "required": false,
1664
+ "hasDynamicHelp": false,
1665
+ "multiple": false,
1666
+ "type": "option"
1667
+ },
1668
+ "description": {
1669
+ "char": "d",
1670
+ "description": "New project description",
1671
+ "name": "description",
1672
+ "required": false,
1673
+ "hasDynamicHelp": false,
1674
+ "multiple": false,
1675
+ "type": "option"
1676
+ },
1677
+ "output": {
1678
+ "char": "o",
1679
+ "description": "Output format",
1680
+ "name": "output",
1681
+ "required": false,
1682
+ "default": "summary",
1683
+ "hasDynamicHelp": false,
1684
+ "multiple": false,
1685
+ "options": [
1686
+ "summary",
1687
+ "json"
1688
+ ],
1689
+ "type": "option"
1690
+ }
1691
+ },
1692
+ "hasDynamicHelp": false,
1693
+ "hiddenAliases": [],
1694
+ "id": "run:projects:update",
1695
+ "pluginAlias": "@xano/cli",
1696
+ "pluginName": "@xano/cli",
1697
+ "pluginType": "core",
1698
+ "strict": true,
1699
+ "isESM": true,
1700
+ "relativePath": [
1701
+ "dist",
1702
+ "commands",
1703
+ "run",
1704
+ "projects",
1705
+ "update",
1706
+ "index.js"
1707
+ ]
1708
+ },
1709
+ "run:secrets:delete": {
1710
+ "aliases": [],
1711
+ "args": {
1712
+ "name": {
1713
+ "description": "Secret name",
1714
+ "name": "name",
1715
+ "required": true
1716
+ }
1717
+ },
1718
+ "description": "Delete a secret",
1719
+ "examples": [
1720
+ "$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
1721
+ "$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
1722
+ ],
1723
+ "flags": {
1724
+ "profile": {
1725
+ "char": "p",
1726
+ "description": "Profile to use for this command",
1727
+ "env": "XANO_PROFILE",
1728
+ "name": "profile",
1729
+ "required": false,
1730
+ "hasDynamicHelp": false,
1731
+ "multiple": false,
1732
+ "type": "option"
1733
+ },
1734
+ "force": {
1735
+ "char": "f",
1736
+ "description": "Skip confirmation prompt",
1737
+ "name": "force",
1738
+ "required": false,
1739
+ "allowNo": false,
1740
+ "type": "boolean"
1741
+ }
1742
+ },
1743
+ "hasDynamicHelp": false,
1744
+ "hiddenAliases": [],
1745
+ "id": "run:secrets:delete",
1746
+ "pluginAlias": "@xano/cli",
1747
+ "pluginName": "@xano/cli",
1748
+ "pluginType": "core",
1749
+ "strict": true,
1750
+ "isESM": true,
1751
+ "relativePath": [
1752
+ "dist",
1753
+ "commands",
1754
+ "run",
1755
+ "secrets",
1756
+ "delete",
1757
+ "index.js"
1758
+ ]
1759
+ },
1760
+ "run:secrets:set": {
1761
+ "aliases": [],
1762
+ "args": {
1763
+ "name": {
1764
+ "description": "Secret name",
1765
+ "name": "name",
1766
+ "required": true
1767
+ }
1768
+ },
1769
+ "description": "Set a secret",
1770
+ "examples": [
1771
+ "$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
1772
+ "$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
1773
+ ],
1774
+ "flags": {
1775
+ "profile": {
1776
+ "char": "p",
1777
+ "description": "Profile to use for this command",
1778
+ "env": "XANO_PROFILE",
1779
+ "name": "profile",
1780
+ "required": false,
1781
+ "hasDynamicHelp": false,
1782
+ "multiple": false,
1783
+ "type": "option"
1784
+ },
1785
+ "type": {
1786
+ "char": "t",
1787
+ "description": "Secret type",
1788
+ "name": "type",
1789
+ "required": true,
1790
+ "hasDynamicHelp": false,
1791
+ "multiple": false,
1792
+ "options": [
1793
+ "dockerconfigjson",
1794
+ "service-account-token"
1795
+ ],
1796
+ "type": "option"
1797
+ },
1798
+ "value": {
1799
+ "char": "v",
1800
+ "description": "Secret value",
1801
+ "name": "value",
1802
+ "required": true,
1803
+ "hasDynamicHelp": false,
1804
+ "multiple": false,
1805
+ "type": "option"
1806
+ },
1807
+ "repo": {
1808
+ "char": "r",
1809
+ "description": "Repository (for dockerconfigjson type)",
1810
+ "name": "repo",
1811
+ "required": false,
1812
+ "hasDynamicHelp": false,
1813
+ "multiple": false,
1814
+ "type": "option"
1815
+ }
1816
+ },
1817
+ "hasDynamicHelp": false,
1818
+ "hiddenAliases": [],
1819
+ "id": "run:secrets:set",
1820
+ "pluginAlias": "@xano/cli",
1821
+ "pluginName": "@xano/cli",
1822
+ "pluginType": "core",
1823
+ "strict": true,
1824
+ "isESM": true,
1825
+ "relativePath": [
1826
+ "dist",
1827
+ "commands",
1828
+ "run",
1829
+ "secrets",
1830
+ "set",
1831
+ "index.js"
1832
+ ]
1833
+ },
1834
+ "run:secrets:get": {
1835
+ "aliases": [],
1836
+ "args": {
1837
+ "name": {
1838
+ "description": "Secret name",
1839
+ "name": "name",
1840
+ "required": true
1841
+ }
1842
+ },
1843
+ "description": "Get a secret value",
1844
+ "examples": [
1845
+ "$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
1846
+ "$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
1847
+ ],
1848
+ "flags": {
1849
+ "profile": {
1850
+ "char": "p",
1851
+ "description": "Profile to use for this command",
1852
+ "env": "XANO_PROFILE",
1853
+ "name": "profile",
1854
+ "required": false,
1855
+ "hasDynamicHelp": false,
1856
+ "multiple": false,
1857
+ "type": "option"
1858
+ },
1859
+ "output": {
1860
+ "char": "o",
1861
+ "description": "Output format",
1862
+ "name": "output",
1863
+ "required": false,
1864
+ "default": "value",
1865
+ "hasDynamicHelp": false,
1866
+ "multiple": false,
1867
+ "options": [
1868
+ "value",
1869
+ "json"
1870
+ ],
1871
+ "type": "option"
1872
+ }
1873
+ },
1874
+ "hasDynamicHelp": false,
1875
+ "hiddenAliases": [],
1876
+ "id": "run:secrets:get",
1877
+ "pluginAlias": "@xano/cli",
1878
+ "pluginName": "@xano/cli",
1879
+ "pluginType": "core",
1880
+ "strict": true,
1881
+ "isESM": true,
1882
+ "relativePath": [
1883
+ "dist",
1884
+ "commands",
1885
+ "run",
1886
+ "secrets",
1887
+ "get",
1888
+ "index.js"
1889
+ ]
1890
+ },
1891
+ "run:secrets:list": {
1892
+ "aliases": [],
1893
+ "args": {},
1894
+ "description": "List all secret keys",
1895
+ "examples": [
1896
+ "$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
1897
+ "$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
1898
+ ],
1899
+ "flags": {
1900
+ "profile": {
1901
+ "char": "p",
1902
+ "description": "Profile to use for this command",
1903
+ "env": "XANO_PROFILE",
1904
+ "name": "profile",
1905
+ "required": false,
1906
+ "hasDynamicHelp": false,
1907
+ "multiple": false,
1908
+ "type": "option"
1909
+ },
1910
+ "output": {
1911
+ "char": "o",
1912
+ "description": "Output format",
1913
+ "name": "output",
1914
+ "required": false,
1915
+ "default": "table",
1916
+ "hasDynamicHelp": false,
1917
+ "multiple": false,
1918
+ "options": [
1919
+ "table",
1920
+ "json"
1921
+ ],
1922
+ "type": "option"
1923
+ }
1924
+ },
1925
+ "hasDynamicHelp": false,
1926
+ "hiddenAliases": [],
1927
+ "id": "run:secrets:list",
1928
+ "pluginAlias": "@xano/cli",
1929
+ "pluginName": "@xano/cli",
1930
+ "pluginType": "core",
1931
+ "strict": true,
1932
+ "isESM": true,
1933
+ "relativePath": [
1934
+ "dist",
1935
+ "commands",
1936
+ "run",
1937
+ "secrets",
1938
+ "list",
1939
+ "index.js"
1940
+ ]
1941
+ },
1942
+ "run:sink:get": {
1943
+ "aliases": [],
1944
+ "args": {
1945
+ "sessionId": {
1946
+ "description": "Session ID",
1947
+ "name": "sessionId",
1948
+ "required": true
1949
+ }
1950
+ },
1951
+ "description": "Get sink data for a completed session",
1952
+ "examples": [
1953
+ "$ 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",
1954
+ "$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
1955
+ ],
1956
+ "flags": {
1957
+ "profile": {
1958
+ "char": "p",
1959
+ "description": "Profile to use for this command",
1960
+ "env": "XANO_PROFILE",
1961
+ "name": "profile",
1962
+ "required": false,
1963
+ "hasDynamicHelp": false,
1964
+ "multiple": false,
1965
+ "type": "option"
1966
+ },
1967
+ "output": {
1968
+ "char": "o",
1969
+ "description": "Output format",
1970
+ "name": "output",
1971
+ "required": false,
1972
+ "default": "summary",
1973
+ "hasDynamicHelp": false,
1974
+ "multiple": false,
1975
+ "options": [
1976
+ "summary",
1977
+ "json"
1978
+ ],
1979
+ "type": "option"
1980
+ }
1981
+ },
1982
+ "hasDynamicHelp": false,
1983
+ "hiddenAliases": [],
1984
+ "id": "run:sink:get",
1985
+ "pluginAlias": "@xano/cli",
1986
+ "pluginName": "@xano/cli",
1987
+ "pluginType": "core",
1988
+ "strict": true,
1989
+ "isESM": true,
1990
+ "relativePath": [
1991
+ "dist",
1992
+ "commands",
1993
+ "run",
1994
+ "sink",
1995
+ "get",
1996
+ "index.js"
1997
+ ]
1998
+ },
1999
+ "run:sessions:get": {
2000
+ "aliases": [],
2001
+ "args": {
2002
+ "sessionId": {
2003
+ "description": "Session ID",
2004
+ "name": "sessionId",
2005
+ "required": true
2006
+ }
2007
+ },
2008
+ "description": "Get session details",
2009
+ "examples": [
2010
+ "$ xano run sessions get abc123-def456\nSession Details:\n ID: abc123-def456\n Name: My Session\n Status: running\n Access: private\n URL: https://session.xano.io/abc123\n Uptime: 3600s\n",
2011
+ "$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
2012
+ ],
2013
+ "flags": {
2014
+ "profile": {
2015
+ "char": "p",
2016
+ "description": "Profile to use for this command",
2017
+ "env": "XANO_PROFILE",
2018
+ "name": "profile",
2019
+ "required": false,
2020
+ "hasDynamicHelp": false,
2021
+ "multiple": false,
2022
+ "type": "option"
2023
+ },
2024
+ "output": {
2025
+ "char": "o",
2026
+ "description": "Output format",
2027
+ "name": "output",
2028
+ "required": false,
2029
+ "default": "summary",
2030
+ "hasDynamicHelp": false,
2031
+ "multiple": false,
2032
+ "options": [
2033
+ "summary",
2034
+ "json"
2035
+ ],
2036
+ "type": "option"
2037
+ }
2038
+ },
2039
+ "hasDynamicHelp": false,
2040
+ "hiddenAliases": [],
2041
+ "id": "run:sessions:get",
2042
+ "pluginAlias": "@xano/cli",
2043
+ "pluginName": "@xano/cli",
2044
+ "pluginType": "core",
2045
+ "strict": true,
2046
+ "isESM": true,
2047
+ "relativePath": [
2048
+ "dist",
2049
+ "commands",
2050
+ "run",
2051
+ "sessions",
2052
+ "get",
2053
+ "index.js"
2054
+ ]
2055
+ },
2056
+ "run:sessions:delete": {
2057
+ "aliases": [],
2058
+ "args": {
2059
+ "sessionId": {
2060
+ "description": "Session ID",
2061
+ "name": "sessionId",
2062
+ "required": true
2063
+ }
2064
+ },
2065
+ "description": "Delete a session",
2066
+ "examples": [
2067
+ "$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
2068
+ "$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
2069
+ ],
2070
+ "flags": {
2071
+ "profile": {
2072
+ "char": "p",
2073
+ "description": "Profile to use for this command",
2074
+ "env": "XANO_PROFILE",
2075
+ "name": "profile",
2076
+ "required": false,
2077
+ "hasDynamicHelp": false,
2078
+ "multiple": false,
2079
+ "type": "option"
2080
+ },
2081
+ "force": {
2082
+ "char": "f",
2083
+ "description": "Skip confirmation prompt",
2084
+ "name": "force",
2085
+ "required": false,
2086
+ "allowNo": false,
2087
+ "type": "boolean"
2088
+ }
2089
+ },
2090
+ "hasDynamicHelp": false,
2091
+ "hiddenAliases": [],
2092
+ "id": "run:sessions:delete",
2093
+ "pluginAlias": "@xano/cli",
2094
+ "pluginName": "@xano/cli",
2095
+ "pluginType": "core",
2096
+ "strict": true,
2097
+ "isESM": true,
2098
+ "relativePath": [
2099
+ "dist",
2100
+ "commands",
2101
+ "run",
2102
+ "sessions",
2103
+ "delete",
2104
+ "index.js"
2105
+ ]
2106
+ },
2107
+ "run:sessions:list": {
2108
+ "aliases": [],
2109
+ "args": {},
2110
+ "description": "List all sessions for the project",
2111
+ "examples": [
2112
+ "$ 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",
2113
+ "$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
2114
+ ],
2115
+ "flags": {
2116
+ "profile": {
2117
+ "char": "p",
2118
+ "description": "Profile to use for this command",
2119
+ "env": "XANO_PROFILE",
2120
+ "name": "profile",
2121
+ "required": false,
2122
+ "hasDynamicHelp": false,
2123
+ "multiple": false,
2124
+ "type": "option"
2125
+ },
2126
+ "output": {
2127
+ "char": "o",
2128
+ "description": "Output format",
2129
+ "name": "output",
2130
+ "required": false,
2131
+ "default": "table",
2132
+ "hasDynamicHelp": false,
2133
+ "multiple": false,
2134
+ "options": [
2135
+ "table",
2136
+ "json"
2137
+ ],
2138
+ "type": "option"
2139
+ }
2140
+ },
2141
+ "hasDynamicHelp": false,
2142
+ "hiddenAliases": [],
2143
+ "id": "run:sessions:list",
2144
+ "pluginAlias": "@xano/cli",
2145
+ "pluginName": "@xano/cli",
2146
+ "pluginType": "core",
2147
+ "strict": true,
2148
+ "isESM": true,
2149
+ "relativePath": [
2150
+ "dist",
2151
+ "commands",
2152
+ "run",
2153
+ "sessions",
2154
+ "list",
2155
+ "index.js"
2156
+ ]
2157
+ },
2158
+ "run:sessions:start": {
2159
+ "aliases": [],
2160
+ "args": {
2161
+ "sessionId": {
2162
+ "description": "Session ID",
2163
+ "name": "sessionId",
2164
+ "required": true
2165
+ }
2166
+ },
2167
+ "description": "Start a session",
2168
+ "examples": [
2169
+ "$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
2170
+ "$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
2171
+ ],
2172
+ "flags": {
2173
+ "profile": {
2174
+ "char": "p",
2175
+ "description": "Profile to use for this command",
2176
+ "env": "XANO_PROFILE",
2177
+ "name": "profile",
2178
+ "required": false,
2179
+ "hasDynamicHelp": false,
2180
+ "multiple": false,
2181
+ "type": "option"
2182
+ },
2183
+ "output": {
2184
+ "char": "o",
2185
+ "description": "Output format",
2186
+ "name": "output",
2187
+ "required": false,
2188
+ "default": "summary",
2189
+ "hasDynamicHelp": false,
2190
+ "multiple": false,
2191
+ "options": [
2192
+ "summary",
2193
+ "json"
2194
+ ],
2195
+ "type": "option"
2196
+ }
2197
+ },
2198
+ "hasDynamicHelp": false,
2199
+ "hiddenAliases": [],
2200
+ "id": "run:sessions:start",
2201
+ "pluginAlias": "@xano/cli",
2202
+ "pluginName": "@xano/cli",
2203
+ "pluginType": "core",
2204
+ "strict": true,
2205
+ "isESM": true,
2206
+ "relativePath": [
2207
+ "dist",
2208
+ "commands",
2209
+ "run",
2210
+ "sessions",
2211
+ "start",
2212
+ "index.js"
2213
+ ]
2214
+ },
2215
+ "run:sessions:stop": {
2216
+ "aliases": [],
2217
+ "args": {
2218
+ "sessionId": {
2219
+ "description": "Session ID",
2220
+ "name": "sessionId",
2221
+ "required": true
2222
+ }
2223
+ },
2224
+ "description": "Stop a session",
2225
+ "examples": [
2226
+ "$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
2227
+ "$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
2228
+ ],
2229
+ "flags": {
2230
+ "profile": {
2231
+ "char": "p",
2232
+ "description": "Profile to use for this command",
2233
+ "env": "XANO_PROFILE",
2234
+ "name": "profile",
2235
+ "required": false,
2236
+ "hasDynamicHelp": false,
2237
+ "multiple": false,
2238
+ "type": "option"
2239
+ },
2240
+ "output": {
2241
+ "char": "o",
2242
+ "description": "Output format",
2243
+ "name": "output",
2244
+ "required": false,
2245
+ "default": "summary",
2246
+ "hasDynamicHelp": false,
2247
+ "multiple": false,
2248
+ "options": [
2249
+ "summary",
2250
+ "json"
2251
+ ],
2252
+ "type": "option"
2253
+ }
2254
+ },
2255
+ "hasDynamicHelp": false,
2256
+ "hiddenAliases": [],
2257
+ "id": "run:sessions:stop",
2258
+ "pluginAlias": "@xano/cli",
2259
+ "pluginName": "@xano/cli",
2260
+ "pluginType": "core",
2261
+ "strict": true,
2262
+ "isESM": true,
2263
+ "relativePath": [
2264
+ "dist",
2265
+ "commands",
2266
+ "run",
2267
+ "sessions",
2268
+ "stop",
2269
+ "index.js"
2270
+ ]
2271
+ },
2272
+ "static_host:build:get": {
2273
+ "aliases": [],
2274
+ "args": {
2275
+ "static_host": {
2276
+ "description": "Static Host name",
2277
+ "name": "static_host",
2278
+ "required": true
2279
+ },
2280
+ "build_id": {
2281
+ "description": "Build ID",
2282
+ "name": "build_id",
2283
+ "required": true
2284
+ }
2285
+ },
2286
+ "description": "Get details of a specific build for a static host",
2287
+ "examples": [
2288
+ "$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
2289
+ "$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
2290
+ "$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
2291
+ "$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
2292
+ ],
2293
+ "flags": {
2294
+ "profile": {
2295
+ "char": "p",
2296
+ "description": "Profile to use for this command",
2297
+ "env": "XANO_PROFILE",
2298
+ "name": "profile",
2299
+ "required": false,
2300
+ "hasDynamicHelp": false,
2301
+ "multiple": false,
2302
+ "type": "option"
2303
+ },
2304
+ "workspace": {
2305
+ "char": "w",
2306
+ "description": "Workspace ID (optional if set in profile)",
2307
+ "name": "workspace",
2308
+ "required": false,
2309
+ "hasDynamicHelp": false,
2310
+ "multiple": false,
2311
+ "type": "option"
1290
2312
  },
1291
2313
  "output": {
1292
2314
  "char": "o",
@@ -1321,6 +2343,101 @@
1321
2343
  "index.js"
1322
2344
  ]
1323
2345
  },
2346
+ "static_host:build:create": {
2347
+ "aliases": [],
2348
+ "args": {
2349
+ "static_host": {
2350
+ "description": "Static Host name",
2351
+ "name": "static_host",
2352
+ "required": true
2353
+ }
2354
+ },
2355
+ "description": "Create a new build for a static host",
2356
+ "examples": [
2357
+ "$ 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",
2358
+ "$ 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",
2359
+ "$ 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"
2360
+ ],
2361
+ "flags": {
2362
+ "profile": {
2363
+ "char": "p",
2364
+ "description": "Profile to use for this command",
2365
+ "env": "XANO_PROFILE",
2366
+ "name": "profile",
2367
+ "required": false,
2368
+ "hasDynamicHelp": false,
2369
+ "multiple": false,
2370
+ "type": "option"
2371
+ },
2372
+ "workspace": {
2373
+ "char": "w",
2374
+ "description": "Workspace ID (optional if set in profile)",
2375
+ "name": "workspace",
2376
+ "required": false,
2377
+ "hasDynamicHelp": false,
2378
+ "multiple": false,
2379
+ "type": "option"
2380
+ },
2381
+ "file": {
2382
+ "char": "f",
2383
+ "description": "Path to zip file to upload",
2384
+ "name": "file",
2385
+ "required": true,
2386
+ "hasDynamicHelp": false,
2387
+ "multiple": false,
2388
+ "type": "option"
2389
+ },
2390
+ "name": {
2391
+ "char": "n",
2392
+ "description": "Build name",
2393
+ "name": "name",
2394
+ "required": true,
2395
+ "hasDynamicHelp": false,
2396
+ "multiple": false,
2397
+ "type": "option"
2398
+ },
2399
+ "description": {
2400
+ "char": "d",
2401
+ "description": "Build description",
2402
+ "name": "description",
2403
+ "required": false,
2404
+ "hasDynamicHelp": false,
2405
+ "multiple": false,
2406
+ "type": "option"
2407
+ },
2408
+ "output": {
2409
+ "char": "o",
2410
+ "description": "Output format",
2411
+ "name": "output",
2412
+ "required": false,
2413
+ "default": "summary",
2414
+ "hasDynamicHelp": false,
2415
+ "multiple": false,
2416
+ "options": [
2417
+ "summary",
2418
+ "json"
2419
+ ],
2420
+ "type": "option"
2421
+ }
2422
+ },
2423
+ "hasDynamicHelp": false,
2424
+ "hiddenAliases": [],
2425
+ "id": "static_host:build:create",
2426
+ "pluginAlias": "@xano/cli",
2427
+ "pluginName": "@xano/cli",
2428
+ "pluginType": "core",
2429
+ "strict": true,
2430
+ "enableJsonFlag": false,
2431
+ "isESM": true,
2432
+ "relativePath": [
2433
+ "dist",
2434
+ "commands",
2435
+ "static_host",
2436
+ "build",
2437
+ "create",
2438
+ "index.js"
2439
+ ]
2440
+ },
1324
2441
  "static_host:build:list": {
1325
2442
  "aliases": [],
1326
2443
  "args": {
@@ -1409,5 +2526,5 @@
1409
2526
  ]
1410
2527
  }
1411
2528
  },
1412
- "version": "0.0.13"
2529
+ "version": "0.0.15"
1413
2530
  }