@xano/cli 0.0.14 → 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.
- package/README.md +97 -12
- package/dist/commands/profile/create/index.d.ts +2 -0
- package/dist/commands/profile/create/index.js +15 -0
- package/dist/commands/profile/edit/index.d.ts +4 -0
- package/dist/commands/profile/edit/index.js +37 -1
- package/dist/commands/profile/list/index.js +5 -0
- package/dist/commands/profile/project/index.d.ts +6 -0
- package/dist/commands/profile/project/index.js +54 -0
- package/dist/commands/profile/token/index.d.ts +6 -0
- package/dist/commands/profile/token/index.js +54 -0
- package/dist/commands/profile/wizard/index.d.ts +1 -0
- package/dist/commands/profile/wizard/index.js +70 -0
- package/dist/commands/run/env/delete/index.d.ts +13 -0
- package/dist/commands/run/env/delete/index.js +65 -0
- package/dist/commands/run/env/get/index.d.ts +13 -0
- package/dist/commands/run/env/get/index.js +52 -0
- package/dist/commands/run/env/list/index.d.ts +11 -0
- package/dist/commands/run/env/list/index.js +58 -0
- package/dist/commands/run/env/set/index.d.ts +13 -0
- package/dist/commands/run/env/set/index.js +51 -0
- package/dist/commands/{ephemeral/run/job → run/exec}/index.d.ts +4 -3
- package/dist/commands/run/exec/index.js +353 -0
- package/dist/commands/{ephemeral/run/service → run/info}/index.d.ts +3 -5
- package/dist/commands/run/info/index.js +160 -0
- package/dist/commands/run/projects/create/index.d.ts +13 -0
- package/dist/commands/run/projects/create/index.js +75 -0
- package/dist/commands/run/projects/delete/index.d.ts +13 -0
- package/dist/commands/run/projects/delete/index.js +65 -0
- package/dist/commands/run/projects/list/index.d.ts +12 -0
- package/dist/commands/run/projects/list/index.js +66 -0
- package/dist/commands/run/projects/update/index.d.ts +15 -0
- package/dist/commands/run/projects/update/index.js +86 -0
- package/dist/commands/run/secrets/delete/index.d.ts +13 -0
- package/dist/commands/run/secrets/delete/index.js +65 -0
- package/dist/commands/run/secrets/get/index.d.ts +13 -0
- package/dist/commands/run/secrets/get/index.js +52 -0
- package/dist/commands/run/secrets/list/index.d.ts +11 -0
- package/dist/commands/run/secrets/list/index.js +62 -0
- package/dist/commands/run/secrets/set/index.d.ts +15 -0
- package/dist/commands/run/secrets/set/index.js +74 -0
- package/dist/commands/run/sessions/delete/index.d.ts +13 -0
- package/dist/commands/run/sessions/delete/index.js +65 -0
- package/dist/commands/run/sessions/get/index.d.ts +13 -0
- package/dist/commands/run/sessions/get/index.js +72 -0
- package/dist/commands/run/sessions/list/index.d.ts +12 -0
- package/dist/commands/run/sessions/list/index.js +64 -0
- package/dist/commands/run/sessions/start/index.d.ts +13 -0
- package/dist/commands/run/sessions/start/index.js +56 -0
- package/dist/commands/run/sessions/stop/index.d.ts +13 -0
- package/dist/commands/run/sessions/stop/index.js +56 -0
- package/dist/commands/run/sink/get/index.d.ts +13 -0
- package/dist/commands/run/sink/get/index.js +63 -0
- package/dist/lib/base-run-command.d.ts +41 -0
- package/dist/lib/base-run-command.js +73 -0
- package/dist/lib/run-http-client.d.ts +58 -0
- package/dist/lib/run-http-client.js +136 -0
- package/dist/lib/run-types.d.ts +226 -0
- package/dist/lib/run-types.js +5 -0
- package/oclif.manifest.json +1492 -375
- package/package.json +1 -1
- package/dist/commands/ephemeral/run/job/index.js +0 -311
- package/dist/commands/ephemeral/run/service/index.js +0 -287
package/oclif.manifest.json
CHANGED
|
@@ -408,86 +408,6 @@
|
|
|
408
408
|
"index.js"
|
|
409
409
|
]
|
|
410
410
|
},
|
|
411
|
-
"static_host:list": {
|
|
412
|
-
"aliases": [],
|
|
413
|
-
"args": {},
|
|
414
|
-
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
415
|
-
"examples": [
|
|
416
|
-
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
417
|
-
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
418
|
-
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
419
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
420
|
-
],
|
|
421
|
-
"flags": {
|
|
422
|
-
"profile": {
|
|
423
|
-
"char": "p",
|
|
424
|
-
"description": "Profile to use for this command",
|
|
425
|
-
"env": "XANO_PROFILE",
|
|
426
|
-
"name": "profile",
|
|
427
|
-
"required": false,
|
|
428
|
-
"hasDynamicHelp": false,
|
|
429
|
-
"multiple": false,
|
|
430
|
-
"type": "option"
|
|
431
|
-
},
|
|
432
|
-
"workspace": {
|
|
433
|
-
"char": "w",
|
|
434
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
435
|
-
"name": "workspace",
|
|
436
|
-
"required": false,
|
|
437
|
-
"hasDynamicHelp": false,
|
|
438
|
-
"multiple": false,
|
|
439
|
-
"type": "option"
|
|
440
|
-
},
|
|
441
|
-
"output": {
|
|
442
|
-
"char": "o",
|
|
443
|
-
"description": "Output format",
|
|
444
|
-
"name": "output",
|
|
445
|
-
"required": false,
|
|
446
|
-
"default": "summary",
|
|
447
|
-
"hasDynamicHelp": false,
|
|
448
|
-
"multiple": false,
|
|
449
|
-
"options": [
|
|
450
|
-
"summary",
|
|
451
|
-
"json"
|
|
452
|
-
],
|
|
453
|
-
"type": "option"
|
|
454
|
-
},
|
|
455
|
-
"page": {
|
|
456
|
-
"description": "Page number for pagination",
|
|
457
|
-
"name": "page",
|
|
458
|
-
"required": false,
|
|
459
|
-
"default": 1,
|
|
460
|
-
"hasDynamicHelp": false,
|
|
461
|
-
"multiple": false,
|
|
462
|
-
"type": "option"
|
|
463
|
-
},
|
|
464
|
-
"per_page": {
|
|
465
|
-
"description": "Number of results per page",
|
|
466
|
-
"name": "per_page",
|
|
467
|
-
"required": false,
|
|
468
|
-
"default": 50,
|
|
469
|
-
"hasDynamicHelp": false,
|
|
470
|
-
"multiple": false,
|
|
471
|
-
"type": "option"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
"hasDynamicHelp": false,
|
|
475
|
-
"hiddenAliases": [],
|
|
476
|
-
"id": "static_host:list",
|
|
477
|
-
"pluginAlias": "@xano/cli",
|
|
478
|
-
"pluginName": "@xano/cli",
|
|
479
|
-
"pluginType": "core",
|
|
480
|
-
"strict": true,
|
|
481
|
-
"enableJsonFlag": false,
|
|
482
|
-
"isESM": true,
|
|
483
|
-
"relativePath": [
|
|
484
|
-
"dist",
|
|
485
|
-
"commands",
|
|
486
|
-
"static_host",
|
|
487
|
-
"list",
|
|
488
|
-
"index.js"
|
|
489
|
-
]
|
|
490
|
-
},
|
|
491
411
|
"profile:create": {
|
|
492
412
|
"aliases": [],
|
|
493
413
|
"args": {
|
|
@@ -502,6 +422,7 @@
|
|
|
502
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",
|
|
503
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",
|
|
504
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",
|
|
505
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"
|
|
506
427
|
],
|
|
507
428
|
"flags": {
|
|
@@ -550,6 +471,24 @@
|
|
|
550
471
|
"multiple": false,
|
|
551
472
|
"type": "option"
|
|
552
473
|
},
|
|
474
|
+
"project": {
|
|
475
|
+
"char": "j",
|
|
476
|
+
"description": "Project name",
|
|
477
|
+
"name": "project",
|
|
478
|
+
"required": false,
|
|
479
|
+
"hasDynamicHelp": false,
|
|
480
|
+
"multiple": false,
|
|
481
|
+
"type": "option"
|
|
482
|
+
},
|
|
483
|
+
"run_base_url": {
|
|
484
|
+
"char": "r",
|
|
485
|
+
"description": "Xano Run API base URL (default: https://app.xano.com/)",
|
|
486
|
+
"name": "run_base_url",
|
|
487
|
+
"required": false,
|
|
488
|
+
"hasDynamicHelp": false,
|
|
489
|
+
"multiple": false,
|
|
490
|
+
"type": "option"
|
|
491
|
+
},
|
|
553
492
|
"default": {
|
|
554
493
|
"description": "Set this profile as the default",
|
|
555
494
|
"name": "default",
|
|
@@ -617,18 +556,131 @@
|
|
|
617
556
|
"index.js"
|
|
618
557
|
]
|
|
619
558
|
},
|
|
620
|
-
"profile:
|
|
559
|
+
"profile:edit": {
|
|
621
560
|
"aliases": [],
|
|
622
|
-
"args": {
|
|
623
|
-
|
|
561
|
+
"args": {
|
|
562
|
+
"name": {
|
|
563
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
564
|
+
"name": "name",
|
|
565
|
+
"required": false
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"description": "Edit an existing profile configuration",
|
|
624
569
|
"examples": [
|
|
625
|
-
"$ xano profile:
|
|
626
|
-
"$ xano profile:
|
|
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"
|
|
627
577
|
],
|
|
628
|
-
"flags": {
|
|
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
|
+
},
|
|
589
|
+
"account_origin": {
|
|
590
|
+
"char": "a",
|
|
591
|
+
"description": "Update account origin URL",
|
|
592
|
+
"name": "account_origin",
|
|
593
|
+
"required": false,
|
|
594
|
+
"hasDynamicHelp": false,
|
|
595
|
+
"multiple": false,
|
|
596
|
+
"type": "option"
|
|
597
|
+
},
|
|
598
|
+
"instance_origin": {
|
|
599
|
+
"char": "i",
|
|
600
|
+
"description": "Update instance origin URL",
|
|
601
|
+
"name": "instance_origin",
|
|
602
|
+
"required": false,
|
|
603
|
+
"hasDynamicHelp": false,
|
|
604
|
+
"multiple": false,
|
|
605
|
+
"type": "option"
|
|
606
|
+
},
|
|
607
|
+
"access_token": {
|
|
608
|
+
"char": "t",
|
|
609
|
+
"description": "Update access token for the Xano Metadata API",
|
|
610
|
+
"name": "access_token",
|
|
611
|
+
"required": false,
|
|
612
|
+
"hasDynamicHelp": false,
|
|
613
|
+
"multiple": false,
|
|
614
|
+
"type": "option"
|
|
615
|
+
},
|
|
616
|
+
"workspace": {
|
|
617
|
+
"char": "w",
|
|
618
|
+
"description": "Update workspace name",
|
|
619
|
+
"name": "workspace",
|
|
620
|
+
"required": false,
|
|
621
|
+
"hasDynamicHelp": false,
|
|
622
|
+
"multiple": false,
|
|
623
|
+
"type": "option"
|
|
624
|
+
},
|
|
625
|
+
"branch": {
|
|
626
|
+
"char": "b",
|
|
627
|
+
"description": "Update branch name",
|
|
628
|
+
"name": "branch",
|
|
629
|
+
"required": false,
|
|
630
|
+
"hasDynamicHelp": false,
|
|
631
|
+
"multiple": false,
|
|
632
|
+
"type": "option"
|
|
633
|
+
},
|
|
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",
|
|
676
|
+
"required": false,
|
|
677
|
+
"allowNo": false,
|
|
678
|
+
"type": "boolean"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
629
681
|
"hasDynamicHelp": false,
|
|
630
682
|
"hiddenAliases": [],
|
|
631
|
-
"id": "profile:
|
|
683
|
+
"id": "profile:edit",
|
|
632
684
|
"pluginAlias": "@xano/cli",
|
|
633
685
|
"pluginName": "@xano/cli",
|
|
634
686
|
"pluginType": "core",
|
|
@@ -639,32 +691,22 @@
|
|
|
639
691
|
"dist",
|
|
640
692
|
"commands",
|
|
641
693
|
"profile",
|
|
642
|
-
"
|
|
694
|
+
"edit",
|
|
643
695
|
"index.js"
|
|
644
696
|
]
|
|
645
697
|
},
|
|
646
|
-
"profile:
|
|
698
|
+
"profile:get-default": {
|
|
647
699
|
"aliases": [],
|
|
648
700
|
"args": {},
|
|
649
|
-
"description": "
|
|
701
|
+
"description": "Get the current default profile name",
|
|
650
702
|
"examples": [
|
|
651
|
-
"$ xano profile:
|
|
652
|
-
"$ xano profile:
|
|
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"
|
|
703
|
+
"$ xano profile:get-default\nproduction\n",
|
|
704
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
654
705
|
],
|
|
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
|
-
},
|
|
706
|
+
"flags": {},
|
|
665
707
|
"hasDynamicHelp": false,
|
|
666
708
|
"hiddenAliases": [],
|
|
667
|
-
"id": "profile:
|
|
709
|
+
"id": "profile:get-default",
|
|
668
710
|
"pluginAlias": "@xano/cli",
|
|
669
711
|
"pluginName": "@xano/cli",
|
|
670
712
|
"pluginType": "core",
|
|
@@ -675,7 +717,7 @@
|
|
|
675
717
|
"dist",
|
|
676
718
|
"commands",
|
|
677
719
|
"profile",
|
|
678
|
-
"
|
|
720
|
+
"get-default",
|
|
679
721
|
"index.js"
|
|
680
722
|
]
|
|
681
723
|
},
|
|
@@ -731,24 +773,18 @@
|
|
|
731
773
|
"index.js"
|
|
732
774
|
]
|
|
733
775
|
},
|
|
734
|
-
"profile:
|
|
776
|
+
"profile:project": {
|
|
735
777
|
"aliases": [],
|
|
736
|
-
"args": {
|
|
737
|
-
|
|
738
|
-
"description": "Profile name to set as default",
|
|
739
|
-
"name": "name",
|
|
740
|
-
"required": true
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
"description": "Set the default profile",
|
|
778
|
+
"args": {},
|
|
779
|
+
"description": "Print the project for the default profile",
|
|
744
780
|
"examples": [
|
|
745
|
-
"$ xano profile:
|
|
746
|
-
"$ xano profile:
|
|
781
|
+
"$ xano profile:project\nmy-project-id\n",
|
|
782
|
+
"$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
|
|
747
783
|
],
|
|
748
784
|
"flags": {},
|
|
749
785
|
"hasDynamicHelp": false,
|
|
750
786
|
"hiddenAliases": [],
|
|
751
|
-
"id": "profile:
|
|
787
|
+
"id": "profile:project",
|
|
752
788
|
"pluginAlias": "@xano/cli",
|
|
753
789
|
"pluginName": "@xano/cli",
|
|
754
790
|
"pluginType": "core",
|
|
@@ -759,27 +795,121 @@
|
|
|
759
795
|
"dist",
|
|
760
796
|
"commands",
|
|
761
797
|
"profile",
|
|
762
|
-
"
|
|
798
|
+
"project",
|
|
763
799
|
"index.js"
|
|
764
800
|
]
|
|
765
801
|
},
|
|
766
|
-
"profile:
|
|
802
|
+
"profile:list": {
|
|
767
803
|
"aliases": [],
|
|
768
804
|
"args": {},
|
|
769
|
-
"description": "
|
|
805
|
+
"description": "List all available profile configurations",
|
|
770
806
|
"examples": [
|
|
771
|
-
"$ xano profile:
|
|
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"
|
|
772
810
|
],
|
|
773
811
|
"flags": {
|
|
774
|
-
"
|
|
775
|
-
"char": "
|
|
776
|
-
"description": "
|
|
777
|
-
"name": "
|
|
812
|
+
"details": {
|
|
813
|
+
"char": "d",
|
|
814
|
+
"description": "Show detailed information for each profile",
|
|
815
|
+
"name": "details",
|
|
778
816
|
"required": false,
|
|
779
|
-
"
|
|
780
|
-
"
|
|
781
|
-
|
|
782
|
-
|
|
817
|
+
"allowNo": false,
|
|
818
|
+
"type": "boolean"
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"hasDynamicHelp": false,
|
|
822
|
+
"hiddenAliases": [],
|
|
823
|
+
"id": "profile:list",
|
|
824
|
+
"pluginAlias": "@xano/cli",
|
|
825
|
+
"pluginName": "@xano/cli",
|
|
826
|
+
"pluginType": "core",
|
|
827
|
+
"strict": true,
|
|
828
|
+
"enableJsonFlag": false,
|
|
829
|
+
"isESM": true,
|
|
830
|
+
"relativePath": [
|
|
831
|
+
"dist",
|
|
832
|
+
"commands",
|
|
833
|
+
"profile",
|
|
834
|
+
"list",
|
|
835
|
+
"index.js"
|
|
836
|
+
]
|
|
837
|
+
},
|
|
838
|
+
"profile:set-default": {
|
|
839
|
+
"aliases": [],
|
|
840
|
+
"args": {
|
|
841
|
+
"name": {
|
|
842
|
+
"description": "Profile name to set as default",
|
|
843
|
+
"name": "name",
|
|
844
|
+
"required": true
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"description": "Set the default profile",
|
|
848
|
+
"examples": [
|
|
849
|
+
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
850
|
+
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
851
|
+
],
|
|
852
|
+
"flags": {},
|
|
853
|
+
"hasDynamicHelp": false,
|
|
854
|
+
"hiddenAliases": [],
|
|
855
|
+
"id": "profile:set-default",
|
|
856
|
+
"pluginAlias": "@xano/cli",
|
|
857
|
+
"pluginName": "@xano/cli",
|
|
858
|
+
"pluginType": "core",
|
|
859
|
+
"strict": true,
|
|
860
|
+
"enableJsonFlag": false,
|
|
861
|
+
"isESM": true,
|
|
862
|
+
"relativePath": [
|
|
863
|
+
"dist",
|
|
864
|
+
"commands",
|
|
865
|
+
"profile",
|
|
866
|
+
"set-default",
|
|
867
|
+
"index.js"
|
|
868
|
+
]
|
|
869
|
+
},
|
|
870
|
+
"profile:token": {
|
|
871
|
+
"aliases": [],
|
|
872
|
+
"args": {},
|
|
873
|
+
"description": "Print the access token for the default profile",
|
|
874
|
+
"examples": [
|
|
875
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
876
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
877
|
+
],
|
|
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",
|
|
908
|
+
"required": false,
|
|
909
|
+
"hasDynamicHelp": false,
|
|
910
|
+
"multiple": false,
|
|
911
|
+
"type": "option"
|
|
912
|
+
},
|
|
783
913
|
"origin": {
|
|
784
914
|
"char": "o",
|
|
785
915
|
"description": "Xano instance origin URL",
|
|
@@ -808,15 +938,1179 @@
|
|
|
808
938
|
"index.js"
|
|
809
939
|
]
|
|
810
940
|
},
|
|
811
|
-
"
|
|
941
|
+
"run:info": {
|
|
812
942
|
"aliases": [],
|
|
813
943
|
"args": {},
|
|
814
|
-
"description": "
|
|
944
|
+
"description": "Get information about a XanoScript document (type, inputs, env vars)",
|
|
815
945
|
"examples": [
|
|
816
|
-
"$ xano
|
|
817
|
-
"$ xano
|
|
818
|
-
"$ xano
|
|
819
|
-
|
|
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"
|
|
949
|
+
],
|
|
950
|
+
"flags": {
|
|
951
|
+
"profile": {
|
|
952
|
+
"char": "p",
|
|
953
|
+
"description": "Profile to use for this command",
|
|
954
|
+
"env": "XANO_PROFILE",
|
|
955
|
+
"name": "profile",
|
|
956
|
+
"required": false,
|
|
957
|
+
"hasDynamicHelp": false,
|
|
958
|
+
"multiple": false,
|
|
959
|
+
"type": "option"
|
|
960
|
+
},
|
|
961
|
+
"file": {
|
|
962
|
+
"char": "f",
|
|
963
|
+
"description": "Path or URL to file containing XanoScript code",
|
|
964
|
+
"exclusive": [
|
|
965
|
+
"stdin"
|
|
966
|
+
],
|
|
967
|
+
"name": "file",
|
|
968
|
+
"required": false,
|
|
969
|
+
"hasDynamicHelp": false,
|
|
970
|
+
"multiple": false,
|
|
971
|
+
"type": "option"
|
|
972
|
+
},
|
|
973
|
+
"stdin": {
|
|
974
|
+
"char": "s",
|
|
975
|
+
"description": "Read XanoScript code from stdin",
|
|
976
|
+
"exclusive": [
|
|
977
|
+
"file"
|
|
978
|
+
],
|
|
979
|
+
"name": "stdin",
|
|
980
|
+
"required": false,
|
|
981
|
+
"allowNo": false,
|
|
982
|
+
"type": "boolean"
|
|
983
|
+
},
|
|
984
|
+
"output": {
|
|
985
|
+
"char": "o",
|
|
986
|
+
"description": "Output format",
|
|
987
|
+
"name": "output",
|
|
988
|
+
"required": false,
|
|
989
|
+
"default": "summary",
|
|
990
|
+
"hasDynamicHelp": false,
|
|
991
|
+
"multiple": false,
|
|
992
|
+
"options": [
|
|
993
|
+
"summary",
|
|
994
|
+
"json"
|
|
995
|
+
],
|
|
996
|
+
"type": "option"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"hasDynamicHelp": false,
|
|
1000
|
+
"hiddenAliases": [],
|
|
1001
|
+
"id": "run:info",
|
|
1002
|
+
"pluginAlias": "@xano/cli",
|
|
1003
|
+
"pluginName": "@xano/cli",
|
|
1004
|
+
"pluginType": "core",
|
|
1005
|
+
"strict": true,
|
|
1006
|
+
"isESM": true,
|
|
1007
|
+
"relativePath": [
|
|
1008
|
+
"dist",
|
|
1009
|
+
"commands",
|
|
1010
|
+
"run",
|
|
1011
|
+
"info",
|
|
1012
|
+
"index.js"
|
|
1013
|
+
]
|
|
1014
|
+
},
|
|
1015
|
+
"run:exec": {
|
|
1016
|
+
"aliases": [],
|
|
1017
|
+
"args": {},
|
|
1018
|
+
"description": "Execute XanoScript code (job or service)",
|
|
1019
|
+
"examples": [
|
|
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"
|
|
1026
|
+
],
|
|
1027
|
+
"flags": {
|
|
1028
|
+
"profile": {
|
|
1029
|
+
"char": "p",
|
|
1030
|
+
"description": "Profile to use for this command",
|
|
1031
|
+
"env": "XANO_PROFILE",
|
|
1032
|
+
"name": "profile",
|
|
1033
|
+
"required": false,
|
|
1034
|
+
"hasDynamicHelp": false,
|
|
1035
|
+
"multiple": false,
|
|
1036
|
+
"type": "option"
|
|
1037
|
+
},
|
|
1038
|
+
"file": {
|
|
1039
|
+
"char": "f",
|
|
1040
|
+
"description": "Path or URL to file containing XanoScript code",
|
|
1041
|
+
"exclusive": [
|
|
1042
|
+
"stdin"
|
|
1043
|
+
],
|
|
1044
|
+
"name": "file",
|
|
1045
|
+
"required": false,
|
|
1046
|
+
"hasDynamicHelp": false,
|
|
1047
|
+
"multiple": false,
|
|
1048
|
+
"type": "option"
|
|
1049
|
+
},
|
|
1050
|
+
"stdin": {
|
|
1051
|
+
"char": "s",
|
|
1052
|
+
"description": "Read XanoScript code from stdin",
|
|
1053
|
+
"exclusive": [
|
|
1054
|
+
"file"
|
|
1055
|
+
],
|
|
1056
|
+
"name": "stdin",
|
|
1057
|
+
"required": false,
|
|
1058
|
+
"allowNo": false,
|
|
1059
|
+
"type": "boolean"
|
|
1060
|
+
},
|
|
1061
|
+
"edit": {
|
|
1062
|
+
"char": "e",
|
|
1063
|
+
"dependsOn": [
|
|
1064
|
+
"file"
|
|
1065
|
+
],
|
|
1066
|
+
"description": "Open file in editor before running (requires --file)",
|
|
1067
|
+
"name": "edit",
|
|
1068
|
+
"required": false,
|
|
1069
|
+
"allowNo": false,
|
|
1070
|
+
"type": "boolean"
|
|
1071
|
+
},
|
|
1072
|
+
"output": {
|
|
1073
|
+
"char": "o",
|
|
1074
|
+
"description": "Output format",
|
|
1075
|
+
"name": "output",
|
|
1076
|
+
"required": false,
|
|
1077
|
+
"default": "summary",
|
|
1078
|
+
"hasDynamicHelp": false,
|
|
1079
|
+
"multiple": false,
|
|
1080
|
+
"options": [
|
|
1081
|
+
"summary",
|
|
1082
|
+
"json"
|
|
1083
|
+
],
|
|
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"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
"hasDynamicHelp": false,
|
|
1105
|
+
"hiddenAliases": [],
|
|
1106
|
+
"id": "run:exec",
|
|
1107
|
+
"pluginAlias": "@xano/cli",
|
|
1108
|
+
"pluginName": "@xano/cli",
|
|
1109
|
+
"pluginType": "core",
|
|
1110
|
+
"strict": true,
|
|
1111
|
+
"isESM": true,
|
|
1112
|
+
"relativePath": [
|
|
1113
|
+
"dist",
|
|
1114
|
+
"commands",
|
|
1115
|
+
"run",
|
|
1116
|
+
"exec",
|
|
1117
|
+
"index.js"
|
|
1118
|
+
]
|
|
1119
|
+
},
|
|
1120
|
+
"static_host:list": {
|
|
1121
|
+
"aliases": [],
|
|
1122
|
+
"args": {},
|
|
1123
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
1124
|
+
"examples": [
|
|
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"
|
|
1129
|
+
],
|
|
1130
|
+
"flags": {
|
|
1131
|
+
"profile": {
|
|
1132
|
+
"char": "p",
|
|
1133
|
+
"description": "Profile to use for this command",
|
|
1134
|
+
"env": "XANO_PROFILE",
|
|
1135
|
+
"name": "profile",
|
|
1136
|
+
"required": false,
|
|
1137
|
+
"hasDynamicHelp": false,
|
|
1138
|
+
"multiple": false,
|
|
1139
|
+
"type": "option"
|
|
1140
|
+
},
|
|
1141
|
+
"workspace": {
|
|
1142
|
+
"char": "w",
|
|
1143
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1144
|
+
"name": "workspace",
|
|
1145
|
+
"required": false,
|
|
1146
|
+
"hasDynamicHelp": false,
|
|
1147
|
+
"multiple": false,
|
|
1148
|
+
"type": "option"
|
|
1149
|
+
},
|
|
1150
|
+
"output": {
|
|
1151
|
+
"char": "o",
|
|
1152
|
+
"description": "Output format",
|
|
1153
|
+
"name": "output",
|
|
1154
|
+
"required": false,
|
|
1155
|
+
"default": "summary",
|
|
1156
|
+
"hasDynamicHelp": false,
|
|
1157
|
+
"multiple": false,
|
|
1158
|
+
"options": [
|
|
1159
|
+
"summary",
|
|
1160
|
+
"json"
|
|
1161
|
+
],
|
|
1162
|
+
"type": "option"
|
|
1163
|
+
},
|
|
1164
|
+
"page": {
|
|
1165
|
+
"description": "Page number for pagination",
|
|
1166
|
+
"name": "page",
|
|
1167
|
+
"required": false,
|
|
1168
|
+
"default": 1,
|
|
1169
|
+
"hasDynamicHelp": false,
|
|
1170
|
+
"multiple": false,
|
|
1171
|
+
"type": "option"
|
|
1172
|
+
},
|
|
1173
|
+
"per_page": {
|
|
1174
|
+
"description": "Number of results per page",
|
|
1175
|
+
"name": "per_page",
|
|
1176
|
+
"required": false,
|
|
1177
|
+
"default": 50,
|
|
1178
|
+
"hasDynamicHelp": false,
|
|
1179
|
+
"multiple": false,
|
|
1180
|
+
"type": "option"
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
"hasDynamicHelp": false,
|
|
1184
|
+
"hiddenAliases": [],
|
|
1185
|
+
"id": "static_host:list",
|
|
1186
|
+
"pluginAlias": "@xano/cli",
|
|
1187
|
+
"pluginName": "@xano/cli",
|
|
1188
|
+
"pluginType": "core",
|
|
1189
|
+
"strict": true,
|
|
1190
|
+
"enableJsonFlag": false,
|
|
1191
|
+
"isESM": true,
|
|
1192
|
+
"relativePath": [
|
|
1193
|
+
"dist",
|
|
1194
|
+
"commands",
|
|
1195
|
+
"static_host",
|
|
1196
|
+
"list",
|
|
1197
|
+
"index.js"
|
|
1198
|
+
]
|
|
1199
|
+
},
|
|
1200
|
+
"workspace:list": {
|
|
1201
|
+
"aliases": [],
|
|
1202
|
+
"args": {},
|
|
1203
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
1204
|
+
"examples": [
|
|
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"
|
|
1209
|
+
],
|
|
1210
|
+
"flags": {
|
|
1211
|
+
"profile": {
|
|
1212
|
+
"char": "p",
|
|
1213
|
+
"description": "Profile to use for this command",
|
|
1214
|
+
"env": "XANO_PROFILE",
|
|
1215
|
+
"name": "profile",
|
|
1216
|
+
"required": false,
|
|
1217
|
+
"hasDynamicHelp": false,
|
|
1218
|
+
"multiple": false,
|
|
1219
|
+
"type": "option"
|
|
1220
|
+
},
|
|
1221
|
+
"output": {
|
|
1222
|
+
"char": "o",
|
|
1223
|
+
"description": "Output format",
|
|
1224
|
+
"name": "output",
|
|
1225
|
+
"required": false,
|
|
1226
|
+
"default": "summary",
|
|
1227
|
+
"hasDynamicHelp": false,
|
|
1228
|
+
"multiple": false,
|
|
1229
|
+
"options": [
|
|
1230
|
+
"summary",
|
|
1231
|
+
"json"
|
|
1232
|
+
],
|
|
1233
|
+
"type": "option"
|
|
1234
|
+
}
|
|
1235
|
+
},
|
|
1236
|
+
"hasDynamicHelp": false,
|
|
1237
|
+
"hiddenAliases": [],
|
|
1238
|
+
"id": "workspace:list",
|
|
1239
|
+
"pluginAlias": "@xano/cli",
|
|
1240
|
+
"pluginName": "@xano/cli",
|
|
1241
|
+
"pluginType": "core",
|
|
1242
|
+
"strict": true,
|
|
1243
|
+
"enableJsonFlag": false,
|
|
1244
|
+
"isESM": true,
|
|
1245
|
+
"relativePath": [
|
|
1246
|
+
"dist",
|
|
1247
|
+
"commands",
|
|
1248
|
+
"workspace",
|
|
1249
|
+
"list",
|
|
1250
|
+
"index.js"
|
|
1251
|
+
]
|
|
1252
|
+
},
|
|
1253
|
+
"run:env:delete": {
|
|
1254
|
+
"aliases": [],
|
|
1255
|
+
"args": {
|
|
1256
|
+
"name": {
|
|
1257
|
+
"description": "Environment variable name",
|
|
1258
|
+
"name": "name",
|
|
1259
|
+
"required": true
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1262
|
+
"description": "Delete an environment variable",
|
|
1263
|
+
"examples": [
|
|
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"
|
|
1266
|
+
],
|
|
1267
|
+
"flags": {
|
|
1268
|
+
"profile": {
|
|
1269
|
+
"char": "p",
|
|
1270
|
+
"description": "Profile to use for this command",
|
|
1271
|
+
"env": "XANO_PROFILE",
|
|
1272
|
+
"name": "profile",
|
|
1273
|
+
"required": false,
|
|
1274
|
+
"hasDynamicHelp": false,
|
|
1275
|
+
"multiple": false,
|
|
1276
|
+
"type": "option"
|
|
1277
|
+
},
|
|
1278
|
+
"force": {
|
|
1279
|
+
"char": "f",
|
|
1280
|
+
"description": "Skip confirmation prompt",
|
|
1281
|
+
"name": "force",
|
|
1282
|
+
"required": false,
|
|
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"
|
|
820
2114
|
],
|
|
821
2115
|
"flags": {
|
|
822
2116
|
"profile": {
|
|
@@ -834,11 +2128,11 @@
|
|
|
834
2128
|
"description": "Output format",
|
|
835
2129
|
"name": "output",
|
|
836
2130
|
"required": false,
|
|
837
|
-
"default": "
|
|
2131
|
+
"default": "table",
|
|
838
2132
|
"hasDynamicHelp": false,
|
|
839
2133
|
"multiple": false,
|
|
840
2134
|
"options": [
|
|
841
|
-
"
|
|
2135
|
+
"table",
|
|
842
2136
|
"json"
|
|
843
2137
|
],
|
|
844
2138
|
"type": "option"
|
|
@@ -846,31 +2140,34 @@
|
|
|
846
2140
|
},
|
|
847
2141
|
"hasDynamicHelp": false,
|
|
848
2142
|
"hiddenAliases": [],
|
|
849
|
-
"id": "
|
|
2143
|
+
"id": "run:sessions:list",
|
|
850
2144
|
"pluginAlias": "@xano/cli",
|
|
851
2145
|
"pluginName": "@xano/cli",
|
|
852
2146
|
"pluginType": "core",
|
|
853
2147
|
"strict": true,
|
|
854
|
-
"enableJsonFlag": false,
|
|
855
2148
|
"isESM": true,
|
|
856
2149
|
"relativePath": [
|
|
857
2150
|
"dist",
|
|
858
2151
|
"commands",
|
|
859
|
-
"
|
|
2152
|
+
"run",
|
|
2153
|
+
"sessions",
|
|
860
2154
|
"list",
|
|
861
2155
|
"index.js"
|
|
862
2156
|
]
|
|
863
2157
|
},
|
|
864
|
-
"
|
|
2158
|
+
"run:sessions:start": {
|
|
865
2159
|
"aliases": [],
|
|
866
|
-
"args": {
|
|
867
|
-
|
|
2160
|
+
"args": {
|
|
2161
|
+
"sessionId": {
|
|
2162
|
+
"description": "Session ID",
|
|
2163
|
+
"name": "sessionId",
|
|
2164
|
+
"required": true
|
|
2165
|
+
}
|
|
2166
|
+
},
|
|
2167
|
+
"description": "Start a session",
|
|
868
2168
|
"examples": [
|
|
869
|
-
"$ xano
|
|
870
|
-
"$ xano
|
|
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"
|
|
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"
|
|
874
2171
|
],
|
|
875
2172
|
"flags": {
|
|
876
2173
|
"profile": {
|
|
@@ -883,40 +2180,6 @@
|
|
|
883
2180
|
"multiple": false,
|
|
884
2181
|
"type": "option"
|
|
885
2182
|
},
|
|
886
|
-
"file": {
|
|
887
|
-
"char": "f",
|
|
888
|
-
"description": "Path or URL to file containing XanoScript code",
|
|
889
|
-
"exclusive": [
|
|
890
|
-
"stdin"
|
|
891
|
-
],
|
|
892
|
-
"name": "file",
|
|
893
|
-
"required": false,
|
|
894
|
-
"hasDynamicHelp": false,
|
|
895
|
-
"multiple": false,
|
|
896
|
-
"type": "option"
|
|
897
|
-
},
|
|
898
|
-
"stdin": {
|
|
899
|
-
"char": "s",
|
|
900
|
-
"description": "Read XanoScript code from stdin",
|
|
901
|
-
"exclusive": [
|
|
902
|
-
"file"
|
|
903
|
-
],
|
|
904
|
-
"name": "stdin",
|
|
905
|
-
"required": false,
|
|
906
|
-
"allowNo": false,
|
|
907
|
-
"type": "boolean"
|
|
908
|
-
},
|
|
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
2183
|
"output": {
|
|
921
2184
|
"char": "o",
|
|
922
2185
|
"description": "Output format",
|
|
@@ -930,44 +2193,38 @@
|
|
|
930
2193
|
"json"
|
|
931
2194
|
],
|
|
932
2195
|
"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
2196
|
}
|
|
943
2197
|
},
|
|
944
2198
|
"hasDynamicHelp": false,
|
|
945
2199
|
"hiddenAliases": [],
|
|
946
|
-
"id": "
|
|
2200
|
+
"id": "run:sessions:start",
|
|
947
2201
|
"pluginAlias": "@xano/cli",
|
|
948
2202
|
"pluginName": "@xano/cli",
|
|
949
2203
|
"pluginType": "core",
|
|
950
2204
|
"strict": true,
|
|
951
|
-
"enableJsonFlag": false,
|
|
952
2205
|
"isESM": true,
|
|
953
2206
|
"relativePath": [
|
|
954
2207
|
"dist",
|
|
955
2208
|
"commands",
|
|
956
|
-
"ephemeral",
|
|
957
2209
|
"run",
|
|
958
|
-
"
|
|
2210
|
+
"sessions",
|
|
2211
|
+
"start",
|
|
959
2212
|
"index.js"
|
|
960
2213
|
]
|
|
961
2214
|
},
|
|
962
|
-
"
|
|
2215
|
+
"run:sessions:stop": {
|
|
963
2216
|
"aliases": [],
|
|
964
|
-
"args": {
|
|
965
|
-
|
|
2217
|
+
"args": {
|
|
2218
|
+
"sessionId": {
|
|
2219
|
+
"description": "Session ID",
|
|
2220
|
+
"name": "sessionId",
|
|
2221
|
+
"required": true
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
"description": "Stop a session",
|
|
966
2225
|
"examples": [
|
|
967
|
-
"$ xano
|
|
968
|
-
"$ xano
|
|
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"
|
|
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"
|
|
971
2228
|
],
|
|
972
2229
|
"flags": {
|
|
973
2230
|
"profile": {
|
|
@@ -980,40 +2237,6 @@
|
|
|
980
2237
|
"multiple": false,
|
|
981
2238
|
"type": "option"
|
|
982
2239
|
},
|
|
983
|
-
"file": {
|
|
984
|
-
"char": "f",
|
|
985
|
-
"description": "Path or URL to file containing XanoScript code",
|
|
986
|
-
"exclusive": [
|
|
987
|
-
"stdin"
|
|
988
|
-
],
|
|
989
|
-
"name": "file",
|
|
990
|
-
"required": false,
|
|
991
|
-
"hasDynamicHelp": false,
|
|
992
|
-
"multiple": false,
|
|
993
|
-
"type": "option"
|
|
994
|
-
},
|
|
995
|
-
"stdin": {
|
|
996
|
-
"char": "s",
|
|
997
|
-
"description": "Read XanoScript code from stdin",
|
|
998
|
-
"exclusive": [
|
|
999
|
-
"file"
|
|
1000
|
-
],
|
|
1001
|
-
"name": "stdin",
|
|
1002
|
-
"required": false,
|
|
1003
|
-
"allowNo": false,
|
|
1004
|
-
"type": "boolean"
|
|
1005
|
-
},
|
|
1006
|
-
"edit": {
|
|
1007
|
-
"char": "e",
|
|
1008
|
-
"dependsOn": [
|
|
1009
|
-
"file"
|
|
1010
|
-
],
|
|
1011
|
-
"description": "Open file in editor before running service (requires --file)",
|
|
1012
|
-
"name": "edit",
|
|
1013
|
-
"required": false,
|
|
1014
|
-
"allowNo": false,
|
|
1015
|
-
"type": "boolean"
|
|
1016
|
-
},
|
|
1017
2240
|
"output": {
|
|
1018
2241
|
"char": "o",
|
|
1019
2242
|
"description": "Output format",
|
|
@@ -1031,38 +2254,41 @@
|
|
|
1031
2254
|
},
|
|
1032
2255
|
"hasDynamicHelp": false,
|
|
1033
2256
|
"hiddenAliases": [],
|
|
1034
|
-
"id": "
|
|
2257
|
+
"id": "run:sessions:stop",
|
|
1035
2258
|
"pluginAlias": "@xano/cli",
|
|
1036
2259
|
"pluginName": "@xano/cli",
|
|
1037
2260
|
"pluginType": "core",
|
|
1038
2261
|
"strict": true,
|
|
1039
|
-
"enableJsonFlag": false,
|
|
1040
2262
|
"isESM": true,
|
|
1041
2263
|
"relativePath": [
|
|
1042
2264
|
"dist",
|
|
1043
2265
|
"commands",
|
|
1044
|
-
"ephemeral",
|
|
1045
2266
|
"run",
|
|
1046
|
-
"
|
|
2267
|
+
"sessions",
|
|
2268
|
+
"stop",
|
|
1047
2269
|
"index.js"
|
|
1048
2270
|
]
|
|
1049
2271
|
},
|
|
1050
|
-
"
|
|
2272
|
+
"static_host:build:get": {
|
|
1051
2273
|
"aliases": [],
|
|
1052
2274
|
"args": {
|
|
1053
|
-
"
|
|
1054
|
-
"description": "
|
|
1055
|
-
"name": "
|
|
1056
|
-
"required":
|
|
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
|
|
1057
2284
|
}
|
|
1058
2285
|
},
|
|
1059
|
-
"description": "
|
|
2286
|
+
"description": "Get details of a specific build for a static host",
|
|
1060
2287
|
"examples": [
|
|
1061
|
-
"$ xano
|
|
1062
|
-
"$ xano
|
|
1063
|
-
"$ xano
|
|
1064
|
-
"$ xano
|
|
1065
|
-
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
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"
|
|
1066
2292
|
],
|
|
1067
2293
|
"flags": {
|
|
1068
2294
|
"profile": {
|
|
@@ -1075,69 +2301,33 @@
|
|
|
1075
2301
|
"multiple": false,
|
|
1076
2302
|
"type": "option"
|
|
1077
2303
|
},
|
|
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",
|
|
1091
|
-
"required": false,
|
|
1092
|
-
"hasDynamicHelp": false,
|
|
1093
|
-
"multiple": false,
|
|
1094
|
-
"type": "option"
|
|
1095
|
-
},
|
|
1096
|
-
"access_token": {
|
|
1097
|
-
"char": "t",
|
|
1098
|
-
"description": "Update access token for the Xano Metadata API",
|
|
1099
|
-
"name": "access_token",
|
|
1100
|
-
"required": false,
|
|
1101
|
-
"hasDynamicHelp": false,
|
|
1102
|
-
"multiple": false,
|
|
1103
|
-
"type": "option"
|
|
1104
|
-
},
|
|
1105
2304
|
"workspace": {
|
|
1106
2305
|
"char": "w",
|
|
1107
|
-
"description": "
|
|
2306
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1108
2307
|
"name": "workspace",
|
|
1109
2308
|
"required": false,
|
|
1110
2309
|
"hasDynamicHelp": false,
|
|
1111
2310
|
"multiple": false,
|
|
1112
2311
|
"type": "option"
|
|
1113
2312
|
},
|
|
1114
|
-
"
|
|
1115
|
-
"char": "
|
|
1116
|
-
"description": "
|
|
1117
|
-
"name": "
|
|
2313
|
+
"output": {
|
|
2314
|
+
"char": "o",
|
|
2315
|
+
"description": "Output format",
|
|
2316
|
+
"name": "output",
|
|
1118
2317
|
"required": false,
|
|
2318
|
+
"default": "summary",
|
|
1119
2319
|
"hasDynamicHelp": false,
|
|
1120
2320
|
"multiple": false,
|
|
2321
|
+
"options": [
|
|
2322
|
+
"summary",
|
|
2323
|
+
"json"
|
|
2324
|
+
],
|
|
1121
2325
|
"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
2326
|
}
|
|
1137
2327
|
},
|
|
1138
2328
|
"hasDynamicHelp": false,
|
|
1139
2329
|
"hiddenAliases": [],
|
|
1140
|
-
"id": "
|
|
2330
|
+
"id": "static_host:build:get",
|
|
1141
2331
|
"pluginAlias": "@xano/cli",
|
|
1142
2332
|
"pluginName": "@xano/cli",
|
|
1143
2333
|
"pluginType": "core",
|
|
@@ -1147,8 +2337,9 @@
|
|
|
1147
2337
|
"relativePath": [
|
|
1148
2338
|
"dist",
|
|
1149
2339
|
"commands",
|
|
1150
|
-
"
|
|
1151
|
-
"
|
|
2340
|
+
"static_host",
|
|
2341
|
+
"build",
|
|
2342
|
+
"get",
|
|
1152
2343
|
"index.js"
|
|
1153
2344
|
]
|
|
1154
2345
|
},
|
|
@@ -1247,80 +2438,6 @@
|
|
|
1247
2438
|
"index.js"
|
|
1248
2439
|
]
|
|
1249
2440
|
},
|
|
1250
|
-
"static_host:build:get": {
|
|
1251
|
-
"aliases": [],
|
|
1252
|
-
"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",
|
|
1261
|
-
"required": true
|
|
1262
|
-
}
|
|
1263
|
-
},
|
|
1264
|
-
"description": "Get details of a specific build for a static host",
|
|
1265
|
-
"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"
|
|
1270
|
-
],
|
|
1271
|
-
"flags": {
|
|
1272
|
-
"profile": {
|
|
1273
|
-
"char": "p",
|
|
1274
|
-
"description": "Profile to use for this command",
|
|
1275
|
-
"env": "XANO_PROFILE",
|
|
1276
|
-
"name": "profile",
|
|
1277
|
-
"required": false,
|
|
1278
|
-
"hasDynamicHelp": false,
|
|
1279
|
-
"multiple": false,
|
|
1280
|
-
"type": "option"
|
|
1281
|
-
},
|
|
1282
|
-
"workspace": {
|
|
1283
|
-
"char": "w",
|
|
1284
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
1285
|
-
"name": "workspace",
|
|
1286
|
-
"required": false,
|
|
1287
|
-
"hasDynamicHelp": false,
|
|
1288
|
-
"multiple": false,
|
|
1289
|
-
"type": "option"
|
|
1290
|
-
},
|
|
1291
|
-
"output": {
|
|
1292
|
-
"char": "o",
|
|
1293
|
-
"description": "Output format",
|
|
1294
|
-
"name": "output",
|
|
1295
|
-
"required": false,
|
|
1296
|
-
"default": "summary",
|
|
1297
|
-
"hasDynamicHelp": false,
|
|
1298
|
-
"multiple": false,
|
|
1299
|
-
"options": [
|
|
1300
|
-
"summary",
|
|
1301
|
-
"json"
|
|
1302
|
-
],
|
|
1303
|
-
"type": "option"
|
|
1304
|
-
}
|
|
1305
|
-
},
|
|
1306
|
-
"hasDynamicHelp": false,
|
|
1307
|
-
"hiddenAliases": [],
|
|
1308
|
-
"id": "static_host:build:get",
|
|
1309
|
-
"pluginAlias": "@xano/cli",
|
|
1310
|
-
"pluginName": "@xano/cli",
|
|
1311
|
-
"pluginType": "core",
|
|
1312
|
-
"strict": true,
|
|
1313
|
-
"enableJsonFlag": false,
|
|
1314
|
-
"isESM": true,
|
|
1315
|
-
"relativePath": [
|
|
1316
|
-
"dist",
|
|
1317
|
-
"commands",
|
|
1318
|
-
"static_host",
|
|
1319
|
-
"build",
|
|
1320
|
-
"get",
|
|
1321
|
-
"index.js"
|
|
1322
|
-
]
|
|
1323
|
-
},
|
|
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.
|
|
2529
|
+
"version": "0.0.15"
|
|
1413
2530
|
}
|