@xano/cli 0.0.69-beta.2 → 0.0.69-beta.3
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/dist/commands/workspace/push/index.js +1 -0
- package/oclif.manifest.json +900 -900
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -463,6 +463,73 @@
|
|
|
463
463
|
"index.js"
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
|
+
"branch:list": {
|
|
467
|
+
"aliases": [],
|
|
468
|
+
"args": {
|
|
469
|
+
"workspace_id": {
|
|
470
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
471
|
+
"name": "workspace_id",
|
|
472
|
+
"required": false
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"description": "List all branches in a workspace",
|
|
476
|
+
"examples": [
|
|
477
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
478
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
479
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
480
|
+
],
|
|
481
|
+
"flags": {
|
|
482
|
+
"profile": {
|
|
483
|
+
"char": "p",
|
|
484
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
485
|
+
"env": "XANO_PROFILE",
|
|
486
|
+
"name": "profile",
|
|
487
|
+
"required": false,
|
|
488
|
+
"hasDynamicHelp": false,
|
|
489
|
+
"multiple": false,
|
|
490
|
+
"type": "option"
|
|
491
|
+
},
|
|
492
|
+
"verbose": {
|
|
493
|
+
"char": "v",
|
|
494
|
+
"description": "Show detailed request/response information",
|
|
495
|
+
"env": "XANO_VERBOSE",
|
|
496
|
+
"name": "verbose",
|
|
497
|
+
"required": false,
|
|
498
|
+
"allowNo": false,
|
|
499
|
+
"type": "boolean"
|
|
500
|
+
},
|
|
501
|
+
"output": {
|
|
502
|
+
"char": "o",
|
|
503
|
+
"description": "Output format",
|
|
504
|
+
"name": "output",
|
|
505
|
+
"required": false,
|
|
506
|
+
"default": "summary",
|
|
507
|
+
"hasDynamicHelp": false,
|
|
508
|
+
"multiple": false,
|
|
509
|
+
"options": [
|
|
510
|
+
"summary",
|
|
511
|
+
"json"
|
|
512
|
+
],
|
|
513
|
+
"type": "option"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"hasDynamicHelp": false,
|
|
517
|
+
"hiddenAliases": [],
|
|
518
|
+
"id": "branch:list",
|
|
519
|
+
"pluginAlias": "@xano/cli",
|
|
520
|
+
"pluginName": "@xano/cli",
|
|
521
|
+
"pluginType": "core",
|
|
522
|
+
"strict": true,
|
|
523
|
+
"enableJsonFlag": false,
|
|
524
|
+
"isESM": true,
|
|
525
|
+
"relativePath": [
|
|
526
|
+
"dist",
|
|
527
|
+
"commands",
|
|
528
|
+
"branch",
|
|
529
|
+
"list",
|
|
530
|
+
"index.js"
|
|
531
|
+
]
|
|
532
|
+
},
|
|
466
533
|
"branch:set_live": {
|
|
467
534
|
"aliases": [],
|
|
468
535
|
"args": {
|
|
@@ -653,23 +720,25 @@
|
|
|
653
720
|
"index.js"
|
|
654
721
|
]
|
|
655
722
|
},
|
|
656
|
-
"function:
|
|
723
|
+
"function:edit": {
|
|
657
724
|
"aliases": [],
|
|
658
725
|
"args": {
|
|
659
726
|
"function_id": {
|
|
660
|
-
"description": "Function ID",
|
|
727
|
+
"description": "Function ID to edit",
|
|
661
728
|
"name": "function_id",
|
|
662
729
|
"required": false
|
|
663
730
|
}
|
|
664
731
|
},
|
|
665
|
-
"description": "
|
|
732
|
+
"description": "Edit a function in a workspace",
|
|
666
733
|
"examples": [
|
|
667
|
-
"$ xano function:
|
|
668
|
-
"$ xano function:
|
|
669
|
-
"$ xano function:
|
|
670
|
-
"$ xano function:
|
|
671
|
-
"$ xano function:
|
|
672
|
-
"$ xano function:
|
|
734
|
+
"$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
735
|
+
"$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
736
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
737
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
738
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
739
|
+
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
740
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
741
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
673
742
|
],
|
|
674
743
|
"flags": {
|
|
675
744
|
"profile": {
|
|
@@ -691,19 +760,25 @@
|
|
|
691
760
|
"allowNo": false,
|
|
692
761
|
"type": "boolean"
|
|
693
762
|
},
|
|
694
|
-
"
|
|
695
|
-
"
|
|
696
|
-
"
|
|
763
|
+
"edit": {
|
|
764
|
+
"char": "e",
|
|
765
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
766
|
+
"name": "edit",
|
|
697
767
|
"required": false,
|
|
698
768
|
"allowNo": false,
|
|
699
769
|
"type": "boolean"
|
|
700
770
|
},
|
|
701
|
-
"
|
|
702
|
-
"
|
|
703
|
-
"
|
|
771
|
+
"file": {
|
|
772
|
+
"char": "f",
|
|
773
|
+
"description": "Path to file containing XanoScript code",
|
|
774
|
+
"exclusive": [
|
|
775
|
+
"stdin"
|
|
776
|
+
],
|
|
777
|
+
"name": "file",
|
|
704
778
|
"required": false,
|
|
705
|
-
"
|
|
706
|
-
"
|
|
779
|
+
"hasDynamicHelp": false,
|
|
780
|
+
"multiple": false,
|
|
781
|
+
"type": "option"
|
|
707
782
|
},
|
|
708
783
|
"output": {
|
|
709
784
|
"char": "o",
|
|
@@ -715,11 +790,28 @@
|
|
|
715
790
|
"multiple": false,
|
|
716
791
|
"options": [
|
|
717
792
|
"summary",
|
|
718
|
-
"json"
|
|
719
|
-
"xs"
|
|
793
|
+
"json"
|
|
720
794
|
],
|
|
721
795
|
"type": "option"
|
|
722
796
|
},
|
|
797
|
+
"publish": {
|
|
798
|
+
"description": "Publish the function after editing",
|
|
799
|
+
"name": "publish",
|
|
800
|
+
"required": false,
|
|
801
|
+
"allowNo": false,
|
|
802
|
+
"type": "boolean"
|
|
803
|
+
},
|
|
804
|
+
"stdin": {
|
|
805
|
+
"char": "s",
|
|
806
|
+
"description": "Read XanoScript code from stdin",
|
|
807
|
+
"exclusive": [
|
|
808
|
+
"file"
|
|
809
|
+
],
|
|
810
|
+
"name": "stdin",
|
|
811
|
+
"required": false,
|
|
812
|
+
"allowNo": false,
|
|
813
|
+
"type": "boolean"
|
|
814
|
+
},
|
|
723
815
|
"workspace": {
|
|
724
816
|
"char": "w",
|
|
725
817
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -732,7 +824,7 @@
|
|
|
732
824
|
},
|
|
733
825
|
"hasDynamicHelp": false,
|
|
734
826
|
"hiddenAliases": [],
|
|
735
|
-
"id": "function:
|
|
827
|
+
"id": "function:edit",
|
|
736
828
|
"pluginAlias": "@xano/cli",
|
|
737
829
|
"pluginName": "@xano/cli",
|
|
738
830
|
"pluginType": "core",
|
|
@@ -743,29 +835,27 @@
|
|
|
743
835
|
"dist",
|
|
744
836
|
"commands",
|
|
745
837
|
"function",
|
|
746
|
-
"
|
|
838
|
+
"edit",
|
|
747
839
|
"index.js"
|
|
748
840
|
]
|
|
749
841
|
},
|
|
750
|
-
"function:
|
|
842
|
+
"function:get": {
|
|
751
843
|
"aliases": [],
|
|
752
844
|
"args": {
|
|
753
845
|
"function_id": {
|
|
754
|
-
"description": "Function ID
|
|
846
|
+
"description": "Function ID",
|
|
755
847
|
"name": "function_id",
|
|
756
848
|
"required": false
|
|
757
849
|
}
|
|
758
850
|
},
|
|
759
|
-
"description": "
|
|
851
|
+
"description": "Get a specific function from a workspace",
|
|
760
852
|
"examples": [
|
|
761
|
-
"$ xano function:
|
|
762
|
-
"$ xano function:
|
|
763
|
-
"$ xano function:
|
|
764
|
-
"$ xano function:
|
|
765
|
-
"$ xano function:
|
|
766
|
-
"$ xano function:
|
|
767
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
768
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
853
|
+
"$ xano function:get 145 -w 40\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\nDescription: Sample function\n",
|
|
854
|
+
"$ xano function:get 145 --profile production\nFunction: yo (ID: 145)\nCreated: 2025-10-10 10:30:00\n",
|
|
855
|
+
"$ xano function:get\nSelect a function:\n ❯ yo (ID: 145) - Sample function\n another-func (ID: 146)\n",
|
|
856
|
+
"$ xano function:get 145 -w 40 --output json\n{\n \"id\": 145,\n \"name\": \"yo\",\n \"description\": \"Sample function\"\n}\n",
|
|
857
|
+
"$ xano function:get 145 -p staging -o json --include_draft\n{\n \"id\": 145,\n \"name\": \"yo\"\n}\n",
|
|
858
|
+
"$ xano function:get 145 -p staging -o xs\nfunction yo {\n input {\n }\n stack {\n }\n response = null\n}\n"
|
|
769
859
|
],
|
|
770
860
|
"flags": {
|
|
771
861
|
"profile": {
|
|
@@ -787,25 +877,19 @@
|
|
|
787
877
|
"allowNo": false,
|
|
788
878
|
"type": "boolean"
|
|
789
879
|
},
|
|
790
|
-
"
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"name": "edit",
|
|
880
|
+
"include_draft": {
|
|
881
|
+
"description": "Include draft version",
|
|
882
|
+
"name": "include_draft",
|
|
794
883
|
"required": false,
|
|
795
884
|
"allowNo": false,
|
|
796
885
|
"type": "boolean"
|
|
797
886
|
},
|
|
798
|
-
"
|
|
799
|
-
"
|
|
800
|
-
"
|
|
801
|
-
"exclusive": [
|
|
802
|
-
"stdin"
|
|
803
|
-
],
|
|
804
|
-
"name": "file",
|
|
887
|
+
"include_xanoscript": {
|
|
888
|
+
"description": "Include XanoScript in response",
|
|
889
|
+
"name": "include_xanoscript",
|
|
805
890
|
"required": false,
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
"type": "option"
|
|
891
|
+
"allowNo": false,
|
|
892
|
+
"type": "boolean"
|
|
809
893
|
},
|
|
810
894
|
"output": {
|
|
811
895
|
"char": "o",
|
|
@@ -817,28 +901,11 @@
|
|
|
817
901
|
"multiple": false,
|
|
818
902
|
"options": [
|
|
819
903
|
"summary",
|
|
820
|
-
"json"
|
|
904
|
+
"json",
|
|
905
|
+
"xs"
|
|
821
906
|
],
|
|
822
907
|
"type": "option"
|
|
823
908
|
},
|
|
824
|
-
"publish": {
|
|
825
|
-
"description": "Publish the function after editing",
|
|
826
|
-
"name": "publish",
|
|
827
|
-
"required": false,
|
|
828
|
-
"allowNo": false,
|
|
829
|
-
"type": "boolean"
|
|
830
|
-
},
|
|
831
|
-
"stdin": {
|
|
832
|
-
"char": "s",
|
|
833
|
-
"description": "Read XanoScript code from stdin",
|
|
834
|
-
"exclusive": [
|
|
835
|
-
"file"
|
|
836
|
-
],
|
|
837
|
-
"name": "stdin",
|
|
838
|
-
"required": false,
|
|
839
|
-
"allowNo": false,
|
|
840
|
-
"type": "boolean"
|
|
841
|
-
},
|
|
842
909
|
"workspace": {
|
|
843
910
|
"char": "w",
|
|
844
911
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -851,7 +918,7 @@
|
|
|
851
918
|
},
|
|
852
919
|
"hasDynamicHelp": false,
|
|
853
920
|
"hiddenAliases": [],
|
|
854
|
-
"id": "function:
|
|
921
|
+
"id": "function:get",
|
|
855
922
|
"pluginAlias": "@xano/cli",
|
|
856
923
|
"pluginName": "@xano/cli",
|
|
857
924
|
"pluginType": "core",
|
|
@@ -862,7 +929,7 @@
|
|
|
862
929
|
"dist",
|
|
863
930
|
"commands",
|
|
864
931
|
"function",
|
|
865
|
-
"
|
|
932
|
+
"get",
|
|
866
933
|
"index.js"
|
|
867
934
|
]
|
|
868
935
|
},
|
|
@@ -2529,20 +2596,19 @@
|
|
|
2529
2596
|
"index.js"
|
|
2530
2597
|
]
|
|
2531
2598
|
},
|
|
2532
|
-
"
|
|
2599
|
+
"tenant:create": {
|
|
2533
2600
|
"aliases": [],
|
|
2534
2601
|
"args": {
|
|
2535
|
-
"
|
|
2536
|
-
"description": "
|
|
2537
|
-
"name": "
|
|
2538
|
-
"required":
|
|
2602
|
+
"display": {
|
|
2603
|
+
"description": "Display name for the tenant",
|
|
2604
|
+
"name": "display",
|
|
2605
|
+
"required": true
|
|
2539
2606
|
}
|
|
2540
2607
|
},
|
|
2541
|
-
"description": "
|
|
2608
|
+
"description": "Create a new tenant in a workspace",
|
|
2542
2609
|
"examples": [
|
|
2543
|
-
"$ xano
|
|
2544
|
-
"$ xano
|
|
2545
|
-
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
2610
|
+
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2611
|
+
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2546
2612
|
],
|
|
2547
2613
|
"flags": {
|
|
2548
2614
|
"profile": {
|
|
@@ -2564,75 +2630,9 @@
|
|
|
2564
2630
|
"allowNo": false,
|
|
2565
2631
|
"type": "boolean"
|
|
2566
2632
|
},
|
|
2567
|
-
"
|
|
2568
|
-
"
|
|
2569
|
-
"
|
|
2570
|
-
"name": "output",
|
|
2571
|
-
"required": false,
|
|
2572
|
-
"default": "summary",
|
|
2573
|
-
"hasDynamicHelp": false,
|
|
2574
|
-
"multiple": false,
|
|
2575
|
-
"options": [
|
|
2576
|
-
"summary",
|
|
2577
|
-
"json"
|
|
2578
|
-
],
|
|
2579
|
-
"type": "option"
|
|
2580
|
-
}
|
|
2581
|
-
},
|
|
2582
|
-
"hasDynamicHelp": false,
|
|
2583
|
-
"hiddenAliases": [],
|
|
2584
|
-
"id": "branch:list",
|
|
2585
|
-
"pluginAlias": "@xano/cli",
|
|
2586
|
-
"pluginName": "@xano/cli",
|
|
2587
|
-
"pluginType": "core",
|
|
2588
|
-
"strict": true,
|
|
2589
|
-
"enableJsonFlag": false,
|
|
2590
|
-
"isESM": true,
|
|
2591
|
-
"relativePath": [
|
|
2592
|
-
"dist",
|
|
2593
|
-
"commands",
|
|
2594
|
-
"branch",
|
|
2595
|
-
"list",
|
|
2596
|
-
"index.js"
|
|
2597
|
-
]
|
|
2598
|
-
},
|
|
2599
|
-
"tenant:create": {
|
|
2600
|
-
"aliases": [],
|
|
2601
|
-
"args": {
|
|
2602
|
-
"display": {
|
|
2603
|
-
"description": "Display name for the tenant",
|
|
2604
|
-
"name": "display",
|
|
2605
|
-
"required": true
|
|
2606
|
-
}
|
|
2607
|
-
},
|
|
2608
|
-
"description": "Create a new tenant in a workspace",
|
|
2609
|
-
"examples": [
|
|
2610
|
-
"$ xano tenant create \"Production\"\nCreated tenant: Production (production) - ID: 42\n",
|
|
2611
|
-
"$ xano tenant create \"Staging\" --description \"Staging env\" --cluster_id 1 --platform_id 1 --license tier2 -o json"
|
|
2612
|
-
],
|
|
2613
|
-
"flags": {
|
|
2614
|
-
"profile": {
|
|
2615
|
-
"char": "p",
|
|
2616
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2617
|
-
"env": "XANO_PROFILE",
|
|
2618
|
-
"name": "profile",
|
|
2619
|
-
"required": false,
|
|
2620
|
-
"hasDynamicHelp": false,
|
|
2621
|
-
"multiple": false,
|
|
2622
|
-
"type": "option"
|
|
2623
|
-
},
|
|
2624
|
-
"verbose": {
|
|
2625
|
-
"char": "v",
|
|
2626
|
-
"description": "Show detailed request/response information",
|
|
2627
|
-
"env": "XANO_VERBOSE",
|
|
2628
|
-
"name": "verbose",
|
|
2629
|
-
"required": false,
|
|
2630
|
-
"allowNo": false,
|
|
2631
|
-
"type": "boolean"
|
|
2632
|
-
},
|
|
2633
|
-
"cluster_id": {
|
|
2634
|
-
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2635
|
-
"name": "cluster_id",
|
|
2633
|
+
"cluster_id": {
|
|
2634
|
+
"description": "Cluster ID to deploy to (required for tier2/tier3)",
|
|
2635
|
+
"name": "cluster_id",
|
|
2636
2636
|
"required": false,
|
|
2637
2637
|
"hasDynamicHelp": false,
|
|
2638
2638
|
"multiple": false,
|
|
@@ -2736,19 +2736,20 @@
|
|
|
2736
2736
|
"index.js"
|
|
2737
2737
|
]
|
|
2738
2738
|
},
|
|
2739
|
-
"tenant:
|
|
2739
|
+
"tenant:delete": {
|
|
2740
2740
|
"aliases": [],
|
|
2741
2741
|
"args": {
|
|
2742
2742
|
"tenant_name": {
|
|
2743
|
-
"description": "Tenant name to
|
|
2743
|
+
"description": "Tenant name to delete",
|
|
2744
2744
|
"name": "tenant_name",
|
|
2745
2745
|
"required": true
|
|
2746
2746
|
}
|
|
2747
2747
|
},
|
|
2748
|
-
"description": "
|
|
2748
|
+
"description": "Delete a tenant permanently. This destroys all associated infrastructure and cannot be undone.",
|
|
2749
2749
|
"examples": [
|
|
2750
|
-
"$ xano tenant
|
|
2751
|
-
"$ xano tenant
|
|
2750
|
+
"$ xano tenant delete t1234-abcd-xyz1\nAre you sure you want to delete tenant t1234-abcd-xyz1? This action cannot be undone. (y/N) y\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2751
|
+
"$ xano tenant delete t1234-abcd-xyz1 --force\nDeleted tenant t1234-abcd-xyz1\n",
|
|
2752
|
+
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2752
2753
|
],
|
|
2753
2754
|
"flags": {
|
|
2754
2755
|
"profile": {
|
|
@@ -2770,6 +2771,14 @@
|
|
|
2770
2771
|
"allowNo": false,
|
|
2771
2772
|
"type": "boolean"
|
|
2772
2773
|
},
|
|
2774
|
+
"force": {
|
|
2775
|
+
"char": "f",
|
|
2776
|
+
"description": "Skip confirmation prompt",
|
|
2777
|
+
"name": "force",
|
|
2778
|
+
"required": false,
|
|
2779
|
+
"allowNo": false,
|
|
2780
|
+
"type": "boolean"
|
|
2781
|
+
},
|
|
2773
2782
|
"output": {
|
|
2774
2783
|
"char": "o",
|
|
2775
2784
|
"description": "Output format",
|
|
@@ -2784,14 +2793,6 @@
|
|
|
2784
2793
|
],
|
|
2785
2794
|
"type": "option"
|
|
2786
2795
|
},
|
|
2787
|
-
"platform_id": {
|
|
2788
|
-
"description": "Platform ID to deploy",
|
|
2789
|
-
"name": "platform_id",
|
|
2790
|
-
"required": true,
|
|
2791
|
-
"hasDynamicHelp": false,
|
|
2792
|
-
"multiple": false,
|
|
2793
|
-
"type": "option"
|
|
2794
|
-
},
|
|
2795
2796
|
"workspace": {
|
|
2796
2797
|
"char": "w",
|
|
2797
2798
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2804,7 +2805,7 @@
|
|
|
2804
2805
|
},
|
|
2805
2806
|
"hasDynamicHelp": false,
|
|
2806
2807
|
"hiddenAliases": [],
|
|
2807
|
-
"id": "tenant:
|
|
2808
|
+
"id": "tenant:delete",
|
|
2808
2809
|
"pluginAlias": "@xano/cli",
|
|
2809
2810
|
"pluginName": "@xano/cli",
|
|
2810
2811
|
"pluginType": "core",
|
|
@@ -2815,24 +2816,23 @@
|
|
|
2815
2816
|
"dist",
|
|
2816
2817
|
"commands",
|
|
2817
2818
|
"tenant",
|
|
2818
|
-
"
|
|
2819
|
+
"delete",
|
|
2819
2820
|
"index.js"
|
|
2820
2821
|
]
|
|
2821
2822
|
},
|
|
2822
|
-
"tenant:
|
|
2823
|
+
"tenant:deploy_platform": {
|
|
2823
2824
|
"aliases": [],
|
|
2824
2825
|
"args": {
|
|
2825
2826
|
"tenant_name": {
|
|
2826
|
-
"description": "Tenant name to
|
|
2827
|
+
"description": "Tenant name to deploy to",
|
|
2827
2828
|
"name": "tenant_name",
|
|
2828
2829
|
"required": true
|
|
2829
2830
|
}
|
|
2830
2831
|
},
|
|
2831
|
-
"description": "
|
|
2832
|
+
"description": "Deploy a platform version to a tenant",
|
|
2832
2833
|
"examples": [
|
|
2833
|
-
"$ xano tenant
|
|
2834
|
-
"$ xano tenant
|
|
2835
|
-
"$ xano tenant delete t1234-abcd-xyz1 -f -o json"
|
|
2834
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5\nDeployed platform 5 to tenant: My Tenant (my-tenant)\n",
|
|
2835
|
+
"$ xano tenant deploy_platform t1234-abcd-xyz1 --platform_id 5 -o json"
|
|
2836
2836
|
],
|
|
2837
2837
|
"flags": {
|
|
2838
2838
|
"profile": {
|
|
@@ -2854,14 +2854,6 @@
|
|
|
2854
2854
|
"allowNo": false,
|
|
2855
2855
|
"type": "boolean"
|
|
2856
2856
|
},
|
|
2857
|
-
"force": {
|
|
2858
|
-
"char": "f",
|
|
2859
|
-
"description": "Skip confirmation prompt",
|
|
2860
|
-
"name": "force",
|
|
2861
|
-
"required": false,
|
|
2862
|
-
"allowNo": false,
|
|
2863
|
-
"type": "boolean"
|
|
2864
|
-
},
|
|
2865
2857
|
"output": {
|
|
2866
2858
|
"char": "o",
|
|
2867
2859
|
"description": "Output format",
|
|
@@ -2876,6 +2868,14 @@
|
|
|
2876
2868
|
],
|
|
2877
2869
|
"type": "option"
|
|
2878
2870
|
},
|
|
2871
|
+
"platform_id": {
|
|
2872
|
+
"description": "Platform ID to deploy",
|
|
2873
|
+
"name": "platform_id",
|
|
2874
|
+
"required": true,
|
|
2875
|
+
"hasDynamicHelp": false,
|
|
2876
|
+
"multiple": false,
|
|
2877
|
+
"type": "option"
|
|
2878
|
+
},
|
|
2879
2879
|
"workspace": {
|
|
2880
2880
|
"char": "w",
|
|
2881
2881
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -2888,7 +2888,7 @@
|
|
|
2888
2888
|
},
|
|
2889
2889
|
"hasDynamicHelp": false,
|
|
2890
2890
|
"hiddenAliases": [],
|
|
2891
|
-
"id": "tenant:
|
|
2891
|
+
"id": "tenant:deploy_platform",
|
|
2892
2892
|
"pluginAlias": "@xano/cli",
|
|
2893
2893
|
"pluginName": "@xano/cli",
|
|
2894
2894
|
"pluginType": "core",
|
|
@@ -2899,7 +2899,7 @@
|
|
|
2899
2899
|
"dist",
|
|
2900
2900
|
"commands",
|
|
2901
2901
|
"tenant",
|
|
2902
|
-
"
|
|
2902
|
+
"deploy_platform",
|
|
2903
2903
|
"index.js"
|
|
2904
2904
|
]
|
|
2905
2905
|
},
|
|
@@ -3789,20 +3789,19 @@
|
|
|
3789
3789
|
"index.js"
|
|
3790
3790
|
]
|
|
3791
3791
|
},
|
|
3792
|
-
"workflow_test:
|
|
3792
|
+
"workflow_test:delete": {
|
|
3793
3793
|
"aliases": [],
|
|
3794
3794
|
"args": {
|
|
3795
3795
|
"workflow_test_id": {
|
|
3796
|
-
"description": "ID of the workflow test",
|
|
3796
|
+
"description": "ID of the workflow test to delete",
|
|
3797
3797
|
"name": "workflow_test_id",
|
|
3798
3798
|
"required": true
|
|
3799
3799
|
}
|
|
3800
3800
|
},
|
|
3801
|
-
"description": "
|
|
3801
|
+
"description": "Delete a workflow test",
|
|
3802
3802
|
"examples": [
|
|
3803
|
-
"$ xano workflow-test
|
|
3804
|
-
"$ xano workflow-test
|
|
3805
|
-
"$ xano workflow-test get 1 -o json"
|
|
3803
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3804
|
+
"$ xano workflow-test delete 1 --force"
|
|
3806
3805
|
],
|
|
3807
3806
|
"flags": {
|
|
3808
3807
|
"profile": {
|
|
@@ -3824,9 +3823,10 @@
|
|
|
3824
3823
|
"allowNo": false,
|
|
3825
3824
|
"type": "boolean"
|
|
3826
3825
|
},
|
|
3827
|
-
"
|
|
3828
|
-
"
|
|
3829
|
-
"
|
|
3826
|
+
"force": {
|
|
3827
|
+
"char": "f",
|
|
3828
|
+
"description": "Skip confirmation prompt",
|
|
3829
|
+
"name": "force",
|
|
3830
3830
|
"required": false,
|
|
3831
3831
|
"allowNo": false,
|
|
3832
3832
|
"type": "boolean"
|
|
@@ -3841,8 +3841,7 @@
|
|
|
3841
3841
|
"multiple": false,
|
|
3842
3842
|
"options": [
|
|
3843
3843
|
"summary",
|
|
3844
|
-
"json"
|
|
3845
|
-
"xs"
|
|
3844
|
+
"json"
|
|
3846
3845
|
],
|
|
3847
3846
|
"type": "option"
|
|
3848
3847
|
},
|
|
@@ -3858,7 +3857,7 @@
|
|
|
3858
3857
|
},
|
|
3859
3858
|
"hasDynamicHelp": false,
|
|
3860
3859
|
"hiddenAliases": [],
|
|
3861
|
-
"id": "workflow_test:
|
|
3860
|
+
"id": "workflow_test:delete",
|
|
3862
3861
|
"pluginAlias": "@xano/cli",
|
|
3863
3862
|
"pluginName": "@xano/cli",
|
|
3864
3863
|
"pluginType": "core",
|
|
@@ -3869,23 +3868,24 @@
|
|
|
3869
3868
|
"dist",
|
|
3870
3869
|
"commands",
|
|
3871
3870
|
"workflow_test",
|
|
3872
|
-
"
|
|
3871
|
+
"delete",
|
|
3873
3872
|
"index.js"
|
|
3874
3873
|
]
|
|
3875
3874
|
},
|
|
3876
|
-
"workflow_test:
|
|
3875
|
+
"workflow_test:get": {
|
|
3877
3876
|
"aliases": [],
|
|
3878
3877
|
"args": {
|
|
3879
3878
|
"workflow_test_id": {
|
|
3880
|
-
"description": "ID of the workflow test
|
|
3879
|
+
"description": "ID of the workflow test",
|
|
3881
3880
|
"name": "workflow_test_id",
|
|
3882
3881
|
"required": true
|
|
3883
3882
|
}
|
|
3884
3883
|
},
|
|
3885
|
-
"description": "
|
|
3884
|
+
"description": "Get a specific workflow test",
|
|
3886
3885
|
"examples": [
|
|
3887
|
-
"$ xano workflow-test
|
|
3888
|
-
"$ xano workflow-test
|
|
3886
|
+
"$ xano workflow-test get 1\nWorkflow Test: my-test (ID: 1)\n Description: Validates auth endpoints\n Branch: main\n",
|
|
3887
|
+
"$ xano workflow-test get 1 -o xs",
|
|
3888
|
+
"$ xano workflow-test get 1 -o json"
|
|
3889
3889
|
],
|
|
3890
3890
|
"flags": {
|
|
3891
3891
|
"profile": {
|
|
@@ -3907,10 +3907,9 @@
|
|
|
3907
3907
|
"allowNo": false,
|
|
3908
3908
|
"type": "boolean"
|
|
3909
3909
|
},
|
|
3910
|
-
"
|
|
3911
|
-
"
|
|
3912
|
-
"
|
|
3913
|
-
"name": "force",
|
|
3910
|
+
"include-draft": {
|
|
3911
|
+
"description": "Include draft version",
|
|
3912
|
+
"name": "include-draft",
|
|
3914
3913
|
"required": false,
|
|
3915
3914
|
"allowNo": false,
|
|
3916
3915
|
"type": "boolean"
|
|
@@ -3925,7 +3924,8 @@
|
|
|
3925
3924
|
"multiple": false,
|
|
3926
3925
|
"options": [
|
|
3927
3926
|
"summary",
|
|
3928
|
-
"json"
|
|
3927
|
+
"json",
|
|
3928
|
+
"xs"
|
|
3929
3929
|
],
|
|
3930
3930
|
"type": "option"
|
|
3931
3931
|
},
|
|
@@ -3941,7 +3941,7 @@
|
|
|
3941
3941
|
},
|
|
3942
3942
|
"hasDynamicHelp": false,
|
|
3943
3943
|
"hiddenAliases": [],
|
|
3944
|
-
"id": "workflow_test:
|
|
3944
|
+
"id": "workflow_test:get",
|
|
3945
3945
|
"pluginAlias": "@xano/cli",
|
|
3946
3946
|
"pluginName": "@xano/cli",
|
|
3947
3947
|
"pluginType": "core",
|
|
@@ -3952,7 +3952,7 @@
|
|
|
3952
3952
|
"dist",
|
|
3953
3953
|
"commands",
|
|
3954
3954
|
"workflow_test",
|
|
3955
|
-
"
|
|
3955
|
+
"get",
|
|
3956
3956
|
"index.js"
|
|
3957
3957
|
]
|
|
3958
3958
|
},
|
|
@@ -4035,6 +4035,81 @@
|
|
|
4035
4035
|
"index.js"
|
|
4036
4036
|
]
|
|
4037
4037
|
},
|
|
4038
|
+
"workflow_test:run": {
|
|
4039
|
+
"aliases": [],
|
|
4040
|
+
"args": {
|
|
4041
|
+
"workflow_test_id": {
|
|
4042
|
+
"description": "ID of the workflow test to run",
|
|
4043
|
+
"name": "workflow_test_id",
|
|
4044
|
+
"required": true
|
|
4045
|
+
}
|
|
4046
|
+
},
|
|
4047
|
+
"description": "Run a workflow test",
|
|
4048
|
+
"examples": [
|
|
4049
|
+
"$ xano workflow-test run 1\nRunning workflow test 1...\nResult: PASS (1.234s)\n",
|
|
4050
|
+
"$ xano workflow-test run 1 -o json"
|
|
4051
|
+
],
|
|
4052
|
+
"flags": {
|
|
4053
|
+
"profile": {
|
|
4054
|
+
"char": "p",
|
|
4055
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4056
|
+
"env": "XANO_PROFILE",
|
|
4057
|
+
"name": "profile",
|
|
4058
|
+
"required": false,
|
|
4059
|
+
"hasDynamicHelp": false,
|
|
4060
|
+
"multiple": false,
|
|
4061
|
+
"type": "option"
|
|
4062
|
+
},
|
|
4063
|
+
"verbose": {
|
|
4064
|
+
"char": "v",
|
|
4065
|
+
"description": "Show detailed request/response information",
|
|
4066
|
+
"env": "XANO_VERBOSE",
|
|
4067
|
+
"name": "verbose",
|
|
4068
|
+
"required": false,
|
|
4069
|
+
"allowNo": false,
|
|
4070
|
+
"type": "boolean"
|
|
4071
|
+
},
|
|
4072
|
+
"output": {
|
|
4073
|
+
"char": "o",
|
|
4074
|
+
"description": "Output format",
|
|
4075
|
+
"name": "output",
|
|
4076
|
+
"required": false,
|
|
4077
|
+
"default": "summary",
|
|
4078
|
+
"hasDynamicHelp": false,
|
|
4079
|
+
"multiple": false,
|
|
4080
|
+
"options": [
|
|
4081
|
+
"summary",
|
|
4082
|
+
"json"
|
|
4083
|
+
],
|
|
4084
|
+
"type": "option"
|
|
4085
|
+
},
|
|
4086
|
+
"workspace": {
|
|
4087
|
+
"char": "w",
|
|
4088
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4089
|
+
"name": "workspace",
|
|
4090
|
+
"required": false,
|
|
4091
|
+
"hasDynamicHelp": false,
|
|
4092
|
+
"multiple": false,
|
|
4093
|
+
"type": "option"
|
|
4094
|
+
}
|
|
4095
|
+
},
|
|
4096
|
+
"hasDynamicHelp": false,
|
|
4097
|
+
"hiddenAliases": [],
|
|
4098
|
+
"id": "workflow_test:run",
|
|
4099
|
+
"pluginAlias": "@xano/cli",
|
|
4100
|
+
"pluginName": "@xano/cli",
|
|
4101
|
+
"pluginType": "core",
|
|
4102
|
+
"strict": true,
|
|
4103
|
+
"enableJsonFlag": false,
|
|
4104
|
+
"isESM": true,
|
|
4105
|
+
"relativePath": [
|
|
4106
|
+
"dist",
|
|
4107
|
+
"commands",
|
|
4108
|
+
"workflow_test",
|
|
4109
|
+
"run",
|
|
4110
|
+
"index.js"
|
|
4111
|
+
]
|
|
4112
|
+
},
|
|
4038
4113
|
"workflow_test:run_all": {
|
|
4039
4114
|
"aliases": [],
|
|
4040
4115
|
"args": {},
|
|
@@ -4493,19 +4568,22 @@
|
|
|
4493
4568
|
"index.js"
|
|
4494
4569
|
]
|
|
4495
4570
|
},
|
|
4496
|
-
"
|
|
4571
|
+
"workspace:pull": {
|
|
4497
4572
|
"aliases": [],
|
|
4498
4573
|
"args": {
|
|
4499
|
-
"
|
|
4500
|
-
"description": "
|
|
4501
|
-
"name": "
|
|
4574
|
+
"directory": {
|
|
4575
|
+
"description": "Output directory for pulled documents",
|
|
4576
|
+
"name": "directory",
|
|
4502
4577
|
"required": true
|
|
4503
4578
|
}
|
|
4504
4579
|
},
|
|
4505
|
-
"description": "
|
|
4580
|
+
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4506
4581
|
"examples": [
|
|
4507
|
-
"$ xano
|
|
4508
|
-
"$ xano
|
|
4582
|
+
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4583
|
+
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4584
|
+
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4585
|
+
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4586
|
+
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4509
4587
|
],
|
|
4510
4588
|
"flags": {
|
|
4511
4589
|
"profile": {
|
|
@@ -4527,88 +4605,10 @@
|
|
|
4527
4605
|
"allowNo": false,
|
|
4528
4606
|
"type": "boolean"
|
|
4529
4607
|
},
|
|
4530
|
-
"
|
|
4531
|
-
"char": "
|
|
4532
|
-
"description": "
|
|
4533
|
-
"name": "
|
|
4534
|
-
"required": false,
|
|
4535
|
-
"default": "summary",
|
|
4536
|
-
"hasDynamicHelp": false,
|
|
4537
|
-
"multiple": false,
|
|
4538
|
-
"options": [
|
|
4539
|
-
"summary",
|
|
4540
|
-
"json"
|
|
4541
|
-
],
|
|
4542
|
-
"type": "option"
|
|
4543
|
-
},
|
|
4544
|
-
"workspace": {
|
|
4545
|
-
"char": "w",
|
|
4546
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4547
|
-
"name": "workspace",
|
|
4548
|
-
"required": false,
|
|
4549
|
-
"hasDynamicHelp": false,
|
|
4550
|
-
"multiple": false,
|
|
4551
|
-
"type": "option"
|
|
4552
|
-
}
|
|
4553
|
-
},
|
|
4554
|
-
"hasDynamicHelp": false,
|
|
4555
|
-
"hiddenAliases": [],
|
|
4556
|
-
"id": "workflow_test:run",
|
|
4557
|
-
"pluginAlias": "@xano/cli",
|
|
4558
|
-
"pluginName": "@xano/cli",
|
|
4559
|
-
"pluginType": "core",
|
|
4560
|
-
"strict": true,
|
|
4561
|
-
"enableJsonFlag": false,
|
|
4562
|
-
"isESM": true,
|
|
4563
|
-
"relativePath": [
|
|
4564
|
-
"dist",
|
|
4565
|
-
"commands",
|
|
4566
|
-
"workflow_test",
|
|
4567
|
-
"run",
|
|
4568
|
-
"index.js"
|
|
4569
|
-
]
|
|
4570
|
-
},
|
|
4571
|
-
"workspace:pull": {
|
|
4572
|
-
"aliases": [],
|
|
4573
|
-
"args": {
|
|
4574
|
-
"directory": {
|
|
4575
|
-
"description": "Output directory for pulled documents",
|
|
4576
|
-
"name": "directory",
|
|
4577
|
-
"required": true
|
|
4578
|
-
}
|
|
4579
|
-
},
|
|
4580
|
-
"description": "Pull a workspace multidoc from the Xano Metadata API and split into individual files",
|
|
4581
|
-
"examples": [
|
|
4582
|
-
"$ xano workspace pull ./my-workspace\nPulled 42 documents to ./my-workspace\n",
|
|
4583
|
-
"$ xano workspace pull ./output -w 40\nPulled 15 documents to ./output\n",
|
|
4584
|
-
"$ xano workspace pull ./backup --profile production --env --records\nPulled 58 documents to ./backup\n",
|
|
4585
|
-
"$ xano workspace pull ./my-workspace --draft\nPulled 42 documents to ./my-workspace\n",
|
|
4586
|
-
"$ xano workspace pull ./my-workspace -b dev\nPulled 42 documents to ./my-workspace\n"
|
|
4587
|
-
],
|
|
4588
|
-
"flags": {
|
|
4589
|
-
"profile": {
|
|
4590
|
-
"char": "p",
|
|
4591
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
4592
|
-
"env": "XANO_PROFILE",
|
|
4593
|
-
"name": "profile",
|
|
4594
|
-
"required": false,
|
|
4595
|
-
"hasDynamicHelp": false,
|
|
4596
|
-
"multiple": false,
|
|
4597
|
-
"type": "option"
|
|
4598
|
-
},
|
|
4599
|
-
"verbose": {
|
|
4600
|
-
"char": "v",
|
|
4601
|
-
"description": "Show detailed request/response information",
|
|
4602
|
-
"env": "XANO_VERBOSE",
|
|
4603
|
-
"name": "verbose",
|
|
4604
|
-
"required": false,
|
|
4605
|
-
"allowNo": false,
|
|
4606
|
-
"type": "boolean"
|
|
4607
|
-
},
|
|
4608
|
-
"branch": {
|
|
4609
|
-
"char": "b",
|
|
4610
|
-
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4611
|
-
"name": "branch",
|
|
4608
|
+
"branch": {
|
|
4609
|
+
"char": "b",
|
|
4610
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4611
|
+
"name": "branch",
|
|
4612
4612
|
"required": false,
|
|
4613
4613
|
"hasDynamicHelp": false,
|
|
4614
4614
|
"multiple": false,
|
|
@@ -4836,7 +4836,7 @@
|
|
|
4836
4836
|
"index.js"
|
|
4837
4837
|
]
|
|
4838
4838
|
},
|
|
4839
|
-
"static_host:build:
|
|
4839
|
+
"static_host:build:create": {
|
|
4840
4840
|
"aliases": [],
|
|
4841
4841
|
"args": {
|
|
4842
4842
|
"static_host": {
|
|
@@ -4845,12 +4845,11 @@
|
|
|
4845
4845
|
"required": true
|
|
4846
4846
|
}
|
|
4847
4847
|
},
|
|
4848
|
-
"description": "
|
|
4848
|
+
"description": "Create a new build for a static host",
|
|
4849
4849
|
"examples": [
|
|
4850
|
-
"$ xano static_host:build:
|
|
4851
|
-
"$ xano static_host:build:
|
|
4852
|
-
"$ xano static_host:build:
|
|
4853
|
-
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
4850
|
+
"$ 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",
|
|
4851
|
+
"$ 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",
|
|
4852
|
+
"$ 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"
|
|
4854
4853
|
],
|
|
4855
4854
|
"flags": {
|
|
4856
4855
|
"profile": {
|
|
@@ -4872,36 +4871,45 @@
|
|
|
4872
4871
|
"allowNo": false,
|
|
4873
4872
|
"type": "boolean"
|
|
4874
4873
|
},
|
|
4875
|
-
"
|
|
4876
|
-
"char": "
|
|
4877
|
-
"description": "
|
|
4878
|
-
"name": "
|
|
4874
|
+
"description": {
|
|
4875
|
+
"char": "d",
|
|
4876
|
+
"description": "Build description",
|
|
4877
|
+
"name": "description",
|
|
4879
4878
|
"required": false,
|
|
4880
|
-
"default": "summary",
|
|
4881
4879
|
"hasDynamicHelp": false,
|
|
4882
4880
|
"multiple": false,
|
|
4883
|
-
"options": [
|
|
4884
|
-
"summary",
|
|
4885
|
-
"json"
|
|
4886
|
-
],
|
|
4887
4881
|
"type": "option"
|
|
4888
4882
|
},
|
|
4889
|
-
"
|
|
4890
|
-
"
|
|
4891
|
-
"
|
|
4892
|
-
"
|
|
4893
|
-
"
|
|
4883
|
+
"file": {
|
|
4884
|
+
"char": "f",
|
|
4885
|
+
"description": "Path to zip file to upload",
|
|
4886
|
+
"name": "file",
|
|
4887
|
+
"required": true,
|
|
4894
4888
|
"hasDynamicHelp": false,
|
|
4895
4889
|
"multiple": false,
|
|
4896
4890
|
"type": "option"
|
|
4897
4891
|
},
|
|
4898
|
-
"
|
|
4899
|
-
"
|
|
4900
|
-
"
|
|
4892
|
+
"name": {
|
|
4893
|
+
"char": "n",
|
|
4894
|
+
"description": "Build name",
|
|
4895
|
+
"name": "name",
|
|
4896
|
+
"required": true,
|
|
4897
|
+
"hasDynamicHelp": false,
|
|
4898
|
+
"multiple": false,
|
|
4899
|
+
"type": "option"
|
|
4900
|
+
},
|
|
4901
|
+
"output": {
|
|
4902
|
+
"char": "o",
|
|
4903
|
+
"description": "Output format",
|
|
4904
|
+
"name": "output",
|
|
4901
4905
|
"required": false,
|
|
4902
|
-
"default":
|
|
4906
|
+
"default": "summary",
|
|
4903
4907
|
"hasDynamicHelp": false,
|
|
4904
4908
|
"multiple": false,
|
|
4909
|
+
"options": [
|
|
4910
|
+
"summary",
|
|
4911
|
+
"json"
|
|
4912
|
+
],
|
|
4905
4913
|
"type": "option"
|
|
4906
4914
|
},
|
|
4907
4915
|
"workspace": {
|
|
@@ -4916,7 +4924,7 @@
|
|
|
4916
4924
|
},
|
|
4917
4925
|
"hasDynamicHelp": false,
|
|
4918
4926
|
"hiddenAliases": [],
|
|
4919
|
-
"id": "static_host:build:
|
|
4927
|
+
"id": "static_host:build:create",
|
|
4920
4928
|
"pluginAlias": "@xano/cli",
|
|
4921
4929
|
"pluginName": "@xano/cli",
|
|
4922
4930
|
"pluginType": "core",
|
|
@@ -4928,24 +4936,30 @@
|
|
|
4928
4936
|
"commands",
|
|
4929
4937
|
"static_host",
|
|
4930
4938
|
"build",
|
|
4931
|
-
"
|
|
4939
|
+
"create",
|
|
4932
4940
|
"index.js"
|
|
4933
4941
|
]
|
|
4934
4942
|
},
|
|
4935
|
-
"
|
|
4943
|
+
"static_host:build:get": {
|
|
4936
4944
|
"aliases": [],
|
|
4937
4945
|
"args": {
|
|
4938
|
-
"
|
|
4939
|
-
"description": "
|
|
4940
|
-
"name": "
|
|
4946
|
+
"build_id": {
|
|
4947
|
+
"description": "Build ID",
|
|
4948
|
+
"name": "build_id",
|
|
4949
|
+
"required": true
|
|
4950
|
+
},
|
|
4951
|
+
"static_host": {
|
|
4952
|
+
"description": "Static Host name",
|
|
4953
|
+
"name": "static_host",
|
|
4941
4954
|
"required": true
|
|
4942
4955
|
}
|
|
4943
4956
|
},
|
|
4944
|
-
"description": "
|
|
4957
|
+
"description": "Get details of a specific build for a static host",
|
|
4945
4958
|
"examples": [
|
|
4946
|
-
"$ xano
|
|
4947
|
-
"$ xano
|
|
4948
|
-
"$ xano
|
|
4959
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4960
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4961
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
4962
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4949
4963
|
],
|
|
4950
4964
|
"flags": {
|
|
4951
4965
|
"profile": {
|
|
@@ -4967,23 +4981,6 @@
|
|
|
4967
4981
|
"allowNo": false,
|
|
4968
4982
|
"type": "boolean"
|
|
4969
4983
|
},
|
|
4970
|
-
"force": {
|
|
4971
|
-
"char": "f",
|
|
4972
|
-
"description": "Skip confirmation prompt",
|
|
4973
|
-
"name": "force",
|
|
4974
|
-
"required": false,
|
|
4975
|
-
"allowNo": false,
|
|
4976
|
-
"type": "boolean"
|
|
4977
|
-
},
|
|
4978
|
-
"name": {
|
|
4979
|
-
"char": "n",
|
|
4980
|
-
"description": "Environment variable name",
|
|
4981
|
-
"name": "name",
|
|
4982
|
-
"required": true,
|
|
4983
|
-
"hasDynamicHelp": false,
|
|
4984
|
-
"multiple": false,
|
|
4985
|
-
"type": "option"
|
|
4986
|
-
},
|
|
4987
4984
|
"output": {
|
|
4988
4985
|
"char": "o",
|
|
4989
4986
|
"description": "Output format",
|
|
@@ -5000,7 +4997,7 @@
|
|
|
5000
4997
|
},
|
|
5001
4998
|
"workspace": {
|
|
5002
4999
|
"char": "w",
|
|
5003
|
-
"description": "Workspace ID (
|
|
5000
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5004
5001
|
"name": "workspace",
|
|
5005
5002
|
"required": false,
|
|
5006
5003
|
"hasDynamicHelp": false,
|
|
@@ -5010,7 +5007,7 @@
|
|
|
5010
5007
|
},
|
|
5011
5008
|
"hasDynamicHelp": false,
|
|
5012
5009
|
"hiddenAliases": [],
|
|
5013
|
-
"id": "
|
|
5010
|
+
"id": "static_host:build:get",
|
|
5014
5011
|
"pluginAlias": "@xano/cli",
|
|
5015
5012
|
"pluginName": "@xano/cli",
|
|
5016
5013
|
"pluginType": "core",
|
|
@@ -5020,32 +5017,27 @@
|
|
|
5020
5017
|
"relativePath": [
|
|
5021
5018
|
"dist",
|
|
5022
5019
|
"commands",
|
|
5023
|
-
"
|
|
5024
|
-
"
|
|
5025
|
-
"
|
|
5020
|
+
"static_host",
|
|
5021
|
+
"build",
|
|
5022
|
+
"get",
|
|
5026
5023
|
"index.js"
|
|
5027
5024
|
]
|
|
5028
5025
|
},
|
|
5029
|
-
"static_host:build:
|
|
5026
|
+
"static_host:build:list": {
|
|
5030
5027
|
"aliases": [],
|
|
5031
5028
|
"args": {
|
|
5032
|
-
"build_id": {
|
|
5033
|
-
"description": "Build ID",
|
|
5034
|
-
"name": "build_id",
|
|
5035
|
-
"required": true
|
|
5036
|
-
},
|
|
5037
5029
|
"static_host": {
|
|
5038
5030
|
"description": "Static Host name",
|
|
5039
5031
|
"name": "static_host",
|
|
5040
5032
|
"required": true
|
|
5041
5033
|
}
|
|
5042
5034
|
},
|
|
5043
|
-
"description": "
|
|
5035
|
+
"description": "List all builds for a static host",
|
|
5044
5036
|
"examples": [
|
|
5045
|
-
"$ xano static_host:build:
|
|
5046
|
-
"$ xano static_host:build:
|
|
5047
|
-
"$ xano static_host:build:
|
|
5048
|
-
"$ xano static_host:build:
|
|
5037
|
+
"$ xano static_host:build:list default -w 40\nAvailable builds:\n - v1.0.0 (ID: 1) - Status: completed\n - v1.0.1 (ID: 2) - Status: pending\n",
|
|
5038
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
5039
|
+
"$ xano static_host:build:list default -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n }\n]\n",
|
|
5040
|
+
"$ xano static_host:build:list default -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"v1.0.2\"\n }\n]\n"
|
|
5049
5041
|
],
|
|
5050
5042
|
"flags": {
|
|
5051
5043
|
"profile": {
|
|
@@ -5081,6 +5073,24 @@
|
|
|
5081
5073
|
],
|
|
5082
5074
|
"type": "option"
|
|
5083
5075
|
},
|
|
5076
|
+
"page": {
|
|
5077
|
+
"description": "Page number for pagination",
|
|
5078
|
+
"name": "page",
|
|
5079
|
+
"required": false,
|
|
5080
|
+
"default": 1,
|
|
5081
|
+
"hasDynamicHelp": false,
|
|
5082
|
+
"multiple": false,
|
|
5083
|
+
"type": "option"
|
|
5084
|
+
},
|
|
5085
|
+
"per_page": {
|
|
5086
|
+
"description": "Number of results per page",
|
|
5087
|
+
"name": "per_page",
|
|
5088
|
+
"required": false,
|
|
5089
|
+
"default": 50,
|
|
5090
|
+
"hasDynamicHelp": false,
|
|
5091
|
+
"multiple": false,
|
|
5092
|
+
"type": "option"
|
|
5093
|
+
},
|
|
5084
5094
|
"workspace": {
|
|
5085
5095
|
"char": "w",
|
|
5086
5096
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -5093,7 +5103,7 @@
|
|
|
5093
5103
|
},
|
|
5094
5104
|
"hasDynamicHelp": false,
|
|
5095
5105
|
"hiddenAliases": [],
|
|
5096
|
-
"id": "static_host:build:
|
|
5106
|
+
"id": "static_host:build:list",
|
|
5097
5107
|
"pluginAlias": "@xano/cli",
|
|
5098
5108
|
"pluginName": "@xano/cli",
|
|
5099
5109
|
"pluginType": "core",
|
|
@@ -5105,23 +5115,23 @@
|
|
|
5105
5115
|
"commands",
|
|
5106
5116
|
"static_host",
|
|
5107
5117
|
"build",
|
|
5108
|
-
"
|
|
5118
|
+
"list",
|
|
5109
5119
|
"index.js"
|
|
5110
5120
|
]
|
|
5111
5121
|
},
|
|
5112
|
-
"tenant:
|
|
5122
|
+
"tenant:backup:create": {
|
|
5113
5123
|
"aliases": [],
|
|
5114
5124
|
"args": {
|
|
5115
5125
|
"tenant_name": {
|
|
5116
|
-
"description": "Tenant name",
|
|
5126
|
+
"description": "Tenant name to back up",
|
|
5117
5127
|
"name": "tenant_name",
|
|
5118
5128
|
"required": true
|
|
5119
5129
|
}
|
|
5120
5130
|
},
|
|
5121
|
-
"description": "
|
|
5131
|
+
"description": "Create a backup for a tenant",
|
|
5122
5132
|
"examples": [
|
|
5123
|
-
"$ xano tenant
|
|
5124
|
-
"$ xano tenant
|
|
5133
|
+
"$ xano tenant backup create t1234-abcd-xyz1 --description \"Pre-deploy backup\"\nCreated backup #15 for tenant t1234-abcd-xyz1\n",
|
|
5134
|
+
"$ xano tenant backup create t1234-abcd-xyz1 -d \"Daily backup\" -o json"
|
|
5125
5135
|
],
|
|
5126
5136
|
"flags": {
|
|
5127
5137
|
"profile": {
|
|
@@ -5143,11 +5153,12 @@
|
|
|
5143
5153
|
"allowNo": false,
|
|
5144
5154
|
"type": "boolean"
|
|
5145
5155
|
},
|
|
5146
|
-
"
|
|
5147
|
-
"char": "
|
|
5148
|
-
"description": "
|
|
5149
|
-
"name": "
|
|
5150
|
-
"required":
|
|
5156
|
+
"description": {
|
|
5157
|
+
"char": "d",
|
|
5158
|
+
"description": "Backup description",
|
|
5159
|
+
"name": "description",
|
|
5160
|
+
"required": false,
|
|
5161
|
+
"default": "",
|
|
5151
5162
|
"hasDynamicHelp": false,
|
|
5152
5163
|
"multiple": false,
|
|
5153
5164
|
"type": "option"
|
|
@@ -5178,7 +5189,7 @@
|
|
|
5178
5189
|
},
|
|
5179
5190
|
"hasDynamicHelp": false,
|
|
5180
5191
|
"hiddenAliases": [],
|
|
5181
|
-
"id": "tenant:
|
|
5192
|
+
"id": "tenant:backup:create",
|
|
5182
5193
|
"pluginAlias": "@xano/cli",
|
|
5183
5194
|
"pluginName": "@xano/cli",
|
|
5184
5195
|
"pluginType": "core",
|
|
@@ -5189,26 +5200,25 @@
|
|
|
5189
5200
|
"dist",
|
|
5190
5201
|
"commands",
|
|
5191
5202
|
"tenant",
|
|
5192
|
-
"
|
|
5193
|
-
"
|
|
5203
|
+
"backup",
|
|
5204
|
+
"create",
|
|
5194
5205
|
"index.js"
|
|
5195
5206
|
]
|
|
5196
5207
|
},
|
|
5197
|
-
"tenant:
|
|
5208
|
+
"tenant:backup:delete": {
|
|
5198
5209
|
"aliases": [],
|
|
5199
5210
|
"args": {
|
|
5200
5211
|
"tenant_name": {
|
|
5201
|
-
"description": "Tenant name",
|
|
5212
|
+
"description": "Tenant name that owns the backup",
|
|
5202
5213
|
"name": "tenant_name",
|
|
5203
5214
|
"required": true
|
|
5204
5215
|
}
|
|
5205
5216
|
},
|
|
5206
|
-
"description": "
|
|
5217
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5207
5218
|
"examples": [
|
|
5208
|
-
"$ xano tenant
|
|
5209
|
-
"$ xano tenant
|
|
5210
|
-
"$ xano tenant
|
|
5211
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
5219
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5220
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5221
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5212
5222
|
],
|
|
5213
5223
|
"flags": {
|
|
5214
5224
|
"profile": {
|
|
@@ -5230,15 +5240,22 @@
|
|
|
5230
5240
|
"allowNo": false,
|
|
5231
5241
|
"type": "boolean"
|
|
5232
5242
|
},
|
|
5233
|
-
"
|
|
5234
|
-
"
|
|
5235
|
-
"
|
|
5236
|
-
"
|
|
5237
|
-
"required": false,
|
|
5243
|
+
"backup_id": {
|
|
5244
|
+
"description": "Backup ID to delete",
|
|
5245
|
+
"name": "backup_id",
|
|
5246
|
+
"required": true,
|
|
5238
5247
|
"hasDynamicHelp": false,
|
|
5239
5248
|
"multiple": false,
|
|
5240
5249
|
"type": "option"
|
|
5241
5250
|
},
|
|
5251
|
+
"force": {
|
|
5252
|
+
"char": "f",
|
|
5253
|
+
"description": "Skip confirmation prompt",
|
|
5254
|
+
"name": "force",
|
|
5255
|
+
"required": false,
|
|
5256
|
+
"allowNo": false,
|
|
5257
|
+
"type": "boolean"
|
|
5258
|
+
},
|
|
5242
5259
|
"output": {
|
|
5243
5260
|
"char": "o",
|
|
5244
5261
|
"description": "Output format",
|
|
@@ -5253,13 +5270,6 @@
|
|
|
5253
5270
|
],
|
|
5254
5271
|
"type": "option"
|
|
5255
5272
|
},
|
|
5256
|
-
"view": {
|
|
5257
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
5258
|
-
"name": "view",
|
|
5259
|
-
"required": false,
|
|
5260
|
-
"allowNo": false,
|
|
5261
|
-
"type": "boolean"
|
|
5262
|
-
},
|
|
5263
5273
|
"workspace": {
|
|
5264
5274
|
"char": "w",
|
|
5265
5275
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5272,7 +5282,7 @@
|
|
|
5272
5282
|
},
|
|
5273
5283
|
"hasDynamicHelp": false,
|
|
5274
5284
|
"hiddenAliases": [],
|
|
5275
|
-
"id": "tenant:
|
|
5285
|
+
"id": "tenant:backup:delete",
|
|
5276
5286
|
"pluginAlias": "@xano/cli",
|
|
5277
5287
|
"pluginName": "@xano/cli",
|
|
5278
5288
|
"pluginType": "core",
|
|
@@ -5283,24 +5293,25 @@
|
|
|
5283
5293
|
"dist",
|
|
5284
5294
|
"commands",
|
|
5285
5295
|
"tenant",
|
|
5286
|
-
"
|
|
5287
|
-
"
|
|
5296
|
+
"backup",
|
|
5297
|
+
"delete",
|
|
5288
5298
|
"index.js"
|
|
5289
5299
|
]
|
|
5290
5300
|
},
|
|
5291
|
-
"tenant:
|
|
5301
|
+
"tenant:backup:export": {
|
|
5292
5302
|
"aliases": [],
|
|
5293
5303
|
"args": {
|
|
5294
5304
|
"tenant_name": {
|
|
5295
|
-
"description": "Tenant name",
|
|
5305
|
+
"description": "Tenant name to export backup from",
|
|
5296
5306
|
"name": "tenant_name",
|
|
5297
5307
|
"required": true
|
|
5298
5308
|
}
|
|
5299
5309
|
},
|
|
5300
|
-
"description": "
|
|
5310
|
+
"description": "Export (download) a tenant backup to a local file",
|
|
5301
5311
|
"examples": [
|
|
5302
|
-
"$ xano tenant
|
|
5303
|
-
"$ xano tenant
|
|
5312
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10\nDownloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz\n",
|
|
5313
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 --output ./backups/my-backup.tar.gz",
|
|
5314
|
+
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5304
5315
|
],
|
|
5305
5316
|
"flags": {
|
|
5306
5317
|
"profile": {
|
|
@@ -5322,10 +5333,18 @@
|
|
|
5322
5333
|
"allowNo": false,
|
|
5323
5334
|
"type": "boolean"
|
|
5324
5335
|
},
|
|
5325
|
-
"
|
|
5336
|
+
"backup_id": {
|
|
5337
|
+
"description": "Backup ID to export",
|
|
5338
|
+
"name": "backup_id",
|
|
5339
|
+
"required": true,
|
|
5340
|
+
"hasDynamicHelp": false,
|
|
5341
|
+
"multiple": false,
|
|
5342
|
+
"type": "option"
|
|
5343
|
+
},
|
|
5344
|
+
"format": {
|
|
5326
5345
|
"char": "o",
|
|
5327
5346
|
"description": "Output format",
|
|
5328
|
-
"name": "
|
|
5347
|
+
"name": "format",
|
|
5329
5348
|
"required": false,
|
|
5330
5349
|
"default": "summary",
|
|
5331
5350
|
"hasDynamicHelp": false,
|
|
@@ -5336,6 +5355,14 @@
|
|
|
5336
5355
|
],
|
|
5337
5356
|
"type": "option"
|
|
5338
5357
|
},
|
|
5358
|
+
"output": {
|
|
5359
|
+
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5360
|
+
"name": "output",
|
|
5361
|
+
"required": false,
|
|
5362
|
+
"hasDynamicHelp": false,
|
|
5363
|
+
"multiple": false,
|
|
5364
|
+
"type": "option"
|
|
5365
|
+
},
|
|
5339
5366
|
"workspace": {
|
|
5340
5367
|
"char": "w",
|
|
5341
5368
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5348,7 +5375,7 @@
|
|
|
5348
5375
|
},
|
|
5349
5376
|
"hasDynamicHelp": false,
|
|
5350
5377
|
"hiddenAliases": [],
|
|
5351
|
-
"id": "tenant:
|
|
5378
|
+
"id": "tenant:backup:export",
|
|
5352
5379
|
"pluginAlias": "@xano/cli",
|
|
5353
5380
|
"pluginName": "@xano/cli",
|
|
5354
5381
|
"pluginType": "core",
|
|
@@ -5359,24 +5386,24 @@
|
|
|
5359
5386
|
"dist",
|
|
5360
5387
|
"commands",
|
|
5361
5388
|
"tenant",
|
|
5362
|
-
"
|
|
5363
|
-
"
|
|
5389
|
+
"backup",
|
|
5390
|
+
"export",
|
|
5364
5391
|
"index.js"
|
|
5365
5392
|
]
|
|
5366
5393
|
},
|
|
5367
|
-
"tenant:
|
|
5394
|
+
"tenant:backup:list": {
|
|
5368
5395
|
"aliases": [],
|
|
5369
5396
|
"args": {
|
|
5370
5397
|
"tenant_name": {
|
|
5371
|
-
"description": "Tenant name",
|
|
5398
|
+
"description": "Tenant name to list backups for",
|
|
5372
5399
|
"name": "tenant_name",
|
|
5373
5400
|
"required": true
|
|
5374
5401
|
}
|
|
5375
5402
|
},
|
|
5376
|
-
"description": "
|
|
5403
|
+
"description": "List backups for a tenant",
|
|
5377
5404
|
"examples": [
|
|
5378
|
-
"$ xano tenant
|
|
5379
|
-
"$ xano tenant
|
|
5405
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5406
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5380
5407
|
],
|
|
5381
5408
|
"flags": {
|
|
5382
5409
|
"profile": {
|
|
@@ -5398,15 +5425,6 @@
|
|
|
5398
5425
|
"allowNo": false,
|
|
5399
5426
|
"type": "boolean"
|
|
5400
5427
|
},
|
|
5401
|
-
"name": {
|
|
5402
|
-
"char": "n",
|
|
5403
|
-
"description": "Environment variable name",
|
|
5404
|
-
"name": "name",
|
|
5405
|
-
"required": true,
|
|
5406
|
-
"hasDynamicHelp": false,
|
|
5407
|
-
"multiple": false,
|
|
5408
|
-
"type": "option"
|
|
5409
|
-
},
|
|
5410
5428
|
"output": {
|
|
5411
5429
|
"char": "o",
|
|
5412
5430
|
"description": "Output format",
|
|
@@ -5421,10 +5439,11 @@
|
|
|
5421
5439
|
],
|
|
5422
5440
|
"type": "option"
|
|
5423
5441
|
},
|
|
5424
|
-
"
|
|
5425
|
-
"description": "
|
|
5426
|
-
"name": "
|
|
5427
|
-
"required":
|
|
5442
|
+
"page": {
|
|
5443
|
+
"description": "Page number for pagination",
|
|
5444
|
+
"name": "page",
|
|
5445
|
+
"required": false,
|
|
5446
|
+
"default": 1,
|
|
5428
5447
|
"hasDynamicHelp": false,
|
|
5429
5448
|
"multiple": false,
|
|
5430
5449
|
"type": "option"
|
|
@@ -5441,7 +5460,7 @@
|
|
|
5441
5460
|
},
|
|
5442
5461
|
"hasDynamicHelp": false,
|
|
5443
5462
|
"hiddenAliases": [],
|
|
5444
|
-
"id": "tenant:
|
|
5463
|
+
"id": "tenant:backup:list",
|
|
5445
5464
|
"pluginAlias": "@xano/cli",
|
|
5446
5465
|
"pluginName": "@xano/cli",
|
|
5447
5466
|
"pluginType": "core",
|
|
@@ -5452,25 +5471,24 @@
|
|
|
5452
5471
|
"dist",
|
|
5453
5472
|
"commands",
|
|
5454
5473
|
"tenant",
|
|
5455
|
-
"
|
|
5456
|
-
"
|
|
5474
|
+
"backup",
|
|
5475
|
+
"list",
|
|
5457
5476
|
"index.js"
|
|
5458
5477
|
]
|
|
5459
5478
|
},
|
|
5460
|
-
"tenant:
|
|
5479
|
+
"tenant:backup:restore": {
|
|
5461
5480
|
"aliases": [],
|
|
5462
5481
|
"args": {
|
|
5463
5482
|
"tenant_name": {
|
|
5464
|
-
"description": "Tenant name",
|
|
5483
|
+
"description": "Tenant name to restore",
|
|
5465
5484
|
"name": "tenant_name",
|
|
5466
5485
|
"required": true
|
|
5467
5486
|
}
|
|
5468
5487
|
},
|
|
5469
|
-
"description": "
|
|
5488
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5470
5489
|
"examples": [
|
|
5471
|
-
"$ xano tenant
|
|
5472
|
-
"$ xano tenant
|
|
5473
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
5490
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5491
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5474
5492
|
],
|
|
5475
5493
|
"flags": {
|
|
5476
5494
|
"profile": {
|
|
@@ -5492,22 +5510,22 @@
|
|
|
5492
5510
|
"allowNo": false,
|
|
5493
5511
|
"type": "boolean"
|
|
5494
5512
|
},
|
|
5495
|
-
"
|
|
5496
|
-
"description": "
|
|
5497
|
-
"name": "
|
|
5498
|
-
"required":
|
|
5499
|
-
"allowNo": false,
|
|
5500
|
-
"type": "boolean"
|
|
5501
|
-
},
|
|
5502
|
-
"file": {
|
|
5503
|
-
"char": "f",
|
|
5504
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
5505
|
-
"name": "file",
|
|
5506
|
-
"required": false,
|
|
5513
|
+
"backup_id": {
|
|
5514
|
+
"description": "Backup ID to restore from",
|
|
5515
|
+
"name": "backup_id",
|
|
5516
|
+
"required": true,
|
|
5507
5517
|
"hasDynamicHelp": false,
|
|
5508
5518
|
"multiple": false,
|
|
5509
5519
|
"type": "option"
|
|
5510
5520
|
},
|
|
5521
|
+
"force": {
|
|
5522
|
+
"char": "f",
|
|
5523
|
+
"description": "Skip confirmation prompt",
|
|
5524
|
+
"name": "force",
|
|
5525
|
+
"required": false,
|
|
5526
|
+
"allowNo": false,
|
|
5527
|
+
"type": "boolean"
|
|
5528
|
+
},
|
|
5511
5529
|
"output": {
|
|
5512
5530
|
"char": "o",
|
|
5513
5531
|
"description": "Output format",
|
|
@@ -5534,7 +5552,7 @@
|
|
|
5534
5552
|
},
|
|
5535
5553
|
"hasDynamicHelp": false,
|
|
5536
5554
|
"hiddenAliases": [],
|
|
5537
|
-
"id": "tenant:
|
|
5555
|
+
"id": "tenant:backup:restore",
|
|
5538
5556
|
"pluginAlias": "@xano/cli",
|
|
5539
5557
|
"pluginName": "@xano/cli",
|
|
5540
5558
|
"pluginType": "core",
|
|
@@ -5545,26 +5563,18 @@
|
|
|
5545
5563
|
"dist",
|
|
5546
5564
|
"commands",
|
|
5547
5565
|
"tenant",
|
|
5548
|
-
"
|
|
5549
|
-
"
|
|
5566
|
+
"backup",
|
|
5567
|
+
"restore",
|
|
5550
5568
|
"index.js"
|
|
5551
5569
|
]
|
|
5552
5570
|
},
|
|
5553
|
-
"tenant:
|
|
5571
|
+
"tenant:cluster:create": {
|
|
5554
5572
|
"aliases": [],
|
|
5555
|
-
"args": {
|
|
5556
|
-
|
|
5557
|
-
"description": "Tenant name",
|
|
5558
|
-
"name": "tenant_name",
|
|
5559
|
-
"required": true
|
|
5560
|
-
}
|
|
5561
|
-
},
|
|
5562
|
-
"description": "Get the license for a tenant",
|
|
5573
|
+
"args": {},
|
|
5574
|
+
"description": "Create a new tenant cluster",
|
|
5563
5575
|
"examples": [
|
|
5564
|
-
"$ xano tenant
|
|
5565
|
-
"$ xano tenant
|
|
5566
|
-
"$ xano tenant license get my-tenant --view",
|
|
5567
|
-
"$ xano tenant license get my-tenant -o json"
|
|
5576
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5577
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5568
5578
|
],
|
|
5569
5579
|
"flags": {
|
|
5570
5580
|
"profile": {
|
|
@@ -5586,15 +5596,54 @@
|
|
|
5586
5596
|
"allowNo": false,
|
|
5587
5597
|
"type": "boolean"
|
|
5588
5598
|
},
|
|
5589
|
-
"
|
|
5590
|
-
"
|
|
5591
|
-
"
|
|
5592
|
-
|
|
5599
|
+
"credentials": {
|
|
5600
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5601
|
+
"exclusive": [
|
|
5602
|
+
"credentials_file"
|
|
5603
|
+
],
|
|
5604
|
+
"name": "credentials",
|
|
5605
|
+
"required": false,
|
|
5606
|
+
"hasDynamicHelp": false,
|
|
5607
|
+
"multiple": false,
|
|
5608
|
+
"type": "option"
|
|
5609
|
+
},
|
|
5610
|
+
"credentials_file": {
|
|
5611
|
+
"description": "Path to kubeconfig credentials file",
|
|
5612
|
+
"exclusive": [
|
|
5613
|
+
"credentials"
|
|
5614
|
+
],
|
|
5615
|
+
"name": "credentials_file",
|
|
5616
|
+
"required": false,
|
|
5617
|
+
"hasDynamicHelp": false,
|
|
5618
|
+
"multiple": false,
|
|
5619
|
+
"type": "option"
|
|
5620
|
+
},
|
|
5621
|
+
"description": {
|
|
5622
|
+
"char": "d",
|
|
5623
|
+
"description": "Cluster description",
|
|
5624
|
+
"name": "description",
|
|
5625
|
+
"required": false,
|
|
5626
|
+
"hasDynamicHelp": false,
|
|
5627
|
+
"multiple": false,
|
|
5628
|
+
"type": "option"
|
|
5629
|
+
},
|
|
5630
|
+
"domain": {
|
|
5631
|
+
"description": "Custom domain for the cluster",
|
|
5632
|
+
"name": "domain",
|
|
5593
5633
|
"required": false,
|
|
5594
5634
|
"hasDynamicHelp": false,
|
|
5595
5635
|
"multiple": false,
|
|
5596
5636
|
"type": "option"
|
|
5597
5637
|
},
|
|
5638
|
+
"name": {
|
|
5639
|
+
"char": "n",
|
|
5640
|
+
"description": "Cluster name",
|
|
5641
|
+
"name": "name",
|
|
5642
|
+
"required": true,
|
|
5643
|
+
"hasDynamicHelp": false,
|
|
5644
|
+
"multiple": false,
|
|
5645
|
+
"type": "option"
|
|
5646
|
+
},
|
|
5598
5647
|
"output": {
|
|
5599
5648
|
"char": "o",
|
|
5600
5649
|
"description": "Output format",
|
|
@@ -5609,26 +5658,23 @@
|
|
|
5609
5658
|
],
|
|
5610
5659
|
"type": "option"
|
|
5611
5660
|
},
|
|
5612
|
-
"
|
|
5613
|
-
"description": "
|
|
5614
|
-
"name": "
|
|
5615
|
-
"required": false,
|
|
5616
|
-
"allowNo": false,
|
|
5617
|
-
"type": "boolean"
|
|
5618
|
-
},
|
|
5619
|
-
"workspace": {
|
|
5620
|
-
"char": "w",
|
|
5621
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5622
|
-
"name": "workspace",
|
|
5661
|
+
"type": {
|
|
5662
|
+
"description": "Cluster type",
|
|
5663
|
+
"name": "type",
|
|
5623
5664
|
"required": false,
|
|
5665
|
+
"default": "standard",
|
|
5624
5666
|
"hasDynamicHelp": false,
|
|
5625
5667
|
"multiple": false,
|
|
5668
|
+
"options": [
|
|
5669
|
+
"standard",
|
|
5670
|
+
"run"
|
|
5671
|
+
],
|
|
5626
5672
|
"type": "option"
|
|
5627
5673
|
}
|
|
5628
5674
|
},
|
|
5629
5675
|
"hasDynamicHelp": false,
|
|
5630
5676
|
"hiddenAliases": [],
|
|
5631
|
-
"id": "tenant:
|
|
5677
|
+
"id": "tenant:cluster:create",
|
|
5632
5678
|
"pluginAlias": "@xano/cli",
|
|
5633
5679
|
"pluginName": "@xano/cli",
|
|
5634
5680
|
"pluginType": "core",
|
|
@@ -5639,26 +5685,24 @@
|
|
|
5639
5685
|
"dist",
|
|
5640
5686
|
"commands",
|
|
5641
5687
|
"tenant",
|
|
5642
|
-
"
|
|
5643
|
-
"
|
|
5688
|
+
"cluster",
|
|
5689
|
+
"create",
|
|
5644
5690
|
"index.js"
|
|
5645
5691
|
]
|
|
5646
5692
|
},
|
|
5647
|
-
"tenant:
|
|
5693
|
+
"tenant:backup:import": {
|
|
5648
5694
|
"aliases": [],
|
|
5649
5695
|
"args": {
|
|
5650
5696
|
"tenant_name": {
|
|
5651
|
-
"description": "Tenant name",
|
|
5697
|
+
"description": "Tenant name to import backup into",
|
|
5652
5698
|
"name": "tenant_name",
|
|
5653
5699
|
"required": true
|
|
5654
5700
|
}
|
|
5655
5701
|
},
|
|
5656
|
-
"description": "
|
|
5702
|
+
"description": "Import a backup file into a tenant",
|
|
5657
5703
|
"examples": [
|
|
5658
|
-
"$ xano tenant
|
|
5659
|
-
"$ xano tenant
|
|
5660
|
-
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
5661
|
-
"$ xano tenant license set my-tenant -o json"
|
|
5704
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5705
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5662
5706
|
],
|
|
5663
5707
|
"flags": {
|
|
5664
5708
|
"profile": {
|
|
@@ -5680,24 +5724,21 @@
|
|
|
5680
5724
|
"allowNo": false,
|
|
5681
5725
|
"type": "boolean"
|
|
5682
5726
|
},
|
|
5683
|
-
"
|
|
5684
|
-
"
|
|
5685
|
-
"
|
|
5686
|
-
|
|
5687
|
-
],
|
|
5688
|
-
"name": "clean",
|
|
5727
|
+
"description": {
|
|
5728
|
+
"char": "d",
|
|
5729
|
+
"description": "Backup description",
|
|
5730
|
+
"name": "description",
|
|
5689
5731
|
"required": false,
|
|
5690
|
-
"
|
|
5691
|
-
"
|
|
5732
|
+
"default": "",
|
|
5733
|
+
"hasDynamicHelp": false,
|
|
5734
|
+
"multiple": false,
|
|
5735
|
+
"type": "option"
|
|
5692
5736
|
},
|
|
5693
5737
|
"file": {
|
|
5694
5738
|
"char": "f",
|
|
5695
|
-
"description": "Path to
|
|
5696
|
-
"exclusive": [
|
|
5697
|
-
"value"
|
|
5698
|
-
],
|
|
5739
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5699
5740
|
"name": "file",
|
|
5700
|
-
"required":
|
|
5741
|
+
"required": true,
|
|
5701
5742
|
"hasDynamicHelp": false,
|
|
5702
5743
|
"multiple": false,
|
|
5703
5744
|
"type": "option"
|
|
@@ -5716,18 +5757,6 @@
|
|
|
5716
5757
|
],
|
|
5717
5758
|
"type": "option"
|
|
5718
5759
|
},
|
|
5719
|
-
"value": {
|
|
5720
|
-
"description": "Inline license value",
|
|
5721
|
-
"exclusive": [
|
|
5722
|
-
"file",
|
|
5723
|
-
"clean"
|
|
5724
|
-
],
|
|
5725
|
-
"name": "value",
|
|
5726
|
-
"required": false,
|
|
5727
|
-
"hasDynamicHelp": false,
|
|
5728
|
-
"multiple": false,
|
|
5729
|
-
"type": "option"
|
|
5730
|
-
},
|
|
5731
5760
|
"workspace": {
|
|
5732
5761
|
"char": "w",
|
|
5733
5762
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -5740,7 +5769,7 @@
|
|
|
5740
5769
|
},
|
|
5741
5770
|
"hasDynamicHelp": false,
|
|
5742
5771
|
"hiddenAliases": [],
|
|
5743
|
-
"id": "tenant:
|
|
5772
|
+
"id": "tenant:backup:import",
|
|
5744
5773
|
"pluginAlias": "@xano/cli",
|
|
5745
5774
|
"pluginName": "@xano/cli",
|
|
5746
5775
|
"pluginType": "core",
|
|
@@ -5751,24 +5780,25 @@
|
|
|
5751
5780
|
"dist",
|
|
5752
5781
|
"commands",
|
|
5753
5782
|
"tenant",
|
|
5754
|
-
"
|
|
5755
|
-
"
|
|
5783
|
+
"backup",
|
|
5784
|
+
"import",
|
|
5756
5785
|
"index.js"
|
|
5757
5786
|
]
|
|
5758
5787
|
},
|
|
5759
|
-
"tenant:
|
|
5788
|
+
"tenant:cluster:delete": {
|
|
5760
5789
|
"aliases": [],
|
|
5761
5790
|
"args": {
|
|
5762
|
-
"
|
|
5763
|
-
"description": "
|
|
5764
|
-
"name": "
|
|
5791
|
+
"cluster_id": {
|
|
5792
|
+
"description": "Cluster ID to delete",
|
|
5793
|
+
"name": "cluster_id",
|
|
5765
5794
|
"required": true
|
|
5766
5795
|
}
|
|
5767
5796
|
},
|
|
5768
|
-
"description": "
|
|
5797
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5769
5798
|
"examples": [
|
|
5770
|
-
"$ xano tenant
|
|
5771
|
-
"$ xano tenant
|
|
5799
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5800
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5801
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5772
5802
|
],
|
|
5773
5803
|
"flags": {
|
|
5774
5804
|
"profile": {
|
|
@@ -5790,15 +5820,13 @@
|
|
|
5790
5820
|
"allowNo": false,
|
|
5791
5821
|
"type": "boolean"
|
|
5792
5822
|
},
|
|
5793
|
-
"
|
|
5794
|
-
"char": "
|
|
5795
|
-
"description": "
|
|
5796
|
-
"name": "
|
|
5823
|
+
"force": {
|
|
5824
|
+
"char": "f",
|
|
5825
|
+
"description": "Skip confirmation prompt",
|
|
5826
|
+
"name": "force",
|
|
5797
5827
|
"required": false,
|
|
5798
|
-
"
|
|
5799
|
-
"
|
|
5800
|
-
"multiple": false,
|
|
5801
|
-
"type": "option"
|
|
5828
|
+
"allowNo": false,
|
|
5829
|
+
"type": "boolean"
|
|
5802
5830
|
},
|
|
5803
5831
|
"output": {
|
|
5804
5832
|
"char": "o",
|
|
@@ -5813,20 +5841,11 @@
|
|
|
5813
5841
|
"json"
|
|
5814
5842
|
],
|
|
5815
5843
|
"type": "option"
|
|
5816
|
-
},
|
|
5817
|
-
"workspace": {
|
|
5818
|
-
"char": "w",
|
|
5819
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5820
|
-
"name": "workspace",
|
|
5821
|
-
"required": false,
|
|
5822
|
-
"hasDynamicHelp": false,
|
|
5823
|
-
"multiple": false,
|
|
5824
|
-
"type": "option"
|
|
5825
5844
|
}
|
|
5826
5845
|
},
|
|
5827
5846
|
"hasDynamicHelp": false,
|
|
5828
5847
|
"hiddenAliases": [],
|
|
5829
|
-
"id": "tenant:
|
|
5848
|
+
"id": "tenant:cluster:delete",
|
|
5830
5849
|
"pluginAlias": "@xano/cli",
|
|
5831
5850
|
"pluginName": "@xano/cli",
|
|
5832
5851
|
"pluginType": "core",
|
|
@@ -5837,25 +5856,24 @@
|
|
|
5837
5856
|
"dist",
|
|
5838
5857
|
"commands",
|
|
5839
5858
|
"tenant",
|
|
5840
|
-
"
|
|
5841
|
-
"
|
|
5859
|
+
"cluster",
|
|
5860
|
+
"delete",
|
|
5842
5861
|
"index.js"
|
|
5843
5862
|
]
|
|
5844
5863
|
},
|
|
5845
|
-
"tenant:
|
|
5864
|
+
"tenant:cluster:edit": {
|
|
5846
5865
|
"aliases": [],
|
|
5847
5866
|
"args": {
|
|
5848
|
-
"
|
|
5849
|
-
"description": "
|
|
5850
|
-
"name": "
|
|
5867
|
+
"cluster_id": {
|
|
5868
|
+
"description": "Cluster ID to edit",
|
|
5869
|
+
"name": "cluster_id",
|
|
5851
5870
|
"required": true
|
|
5852
5871
|
}
|
|
5853
5872
|
},
|
|
5854
|
-
"description": "
|
|
5873
|
+
"description": "Update an existing tenant cluster",
|
|
5855
5874
|
"examples": [
|
|
5856
|
-
"$ xano tenant
|
|
5857
|
-
"$ xano tenant
|
|
5858
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5875
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5876
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5859
5877
|
],
|
|
5860
5878
|
"flags": {
|
|
5861
5879
|
"profile": {
|
|
@@ -5877,21 +5895,31 @@
|
|
|
5877
5895
|
"allowNo": false,
|
|
5878
5896
|
"type": "boolean"
|
|
5879
5897
|
},
|
|
5880
|
-
"
|
|
5881
|
-
"
|
|
5882
|
-
"
|
|
5898
|
+
"description": {
|
|
5899
|
+
"char": "d",
|
|
5900
|
+
"description": "Cluster description",
|
|
5901
|
+
"name": "description",
|
|
5883
5902
|
"required": true,
|
|
5884
5903
|
"hasDynamicHelp": false,
|
|
5885
5904
|
"multiple": false,
|
|
5886
5905
|
"type": "option"
|
|
5887
5906
|
},
|
|
5888
|
-
"
|
|
5889
|
-
"
|
|
5890
|
-
"
|
|
5891
|
-
"
|
|
5892
|
-
"
|
|
5893
|
-
"
|
|
5894
|
-
"type": "
|
|
5907
|
+
"domain": {
|
|
5908
|
+
"description": "Custom domain for the cluster",
|
|
5909
|
+
"name": "domain",
|
|
5910
|
+
"required": true,
|
|
5911
|
+
"hasDynamicHelp": false,
|
|
5912
|
+
"multiple": false,
|
|
5913
|
+
"type": "option"
|
|
5914
|
+
},
|
|
5915
|
+
"name": {
|
|
5916
|
+
"char": "n",
|
|
5917
|
+
"description": "Cluster name",
|
|
5918
|
+
"name": "name",
|
|
5919
|
+
"required": true,
|
|
5920
|
+
"hasDynamicHelp": false,
|
|
5921
|
+
"multiple": false,
|
|
5922
|
+
"type": "option"
|
|
5895
5923
|
},
|
|
5896
5924
|
"output": {
|
|
5897
5925
|
"char": "o",
|
|
@@ -5907,19 +5935,22 @@
|
|
|
5907
5935
|
],
|
|
5908
5936
|
"type": "option"
|
|
5909
5937
|
},
|
|
5910
|
-
"
|
|
5911
|
-
"
|
|
5912
|
-
"
|
|
5913
|
-
"
|
|
5914
|
-
"required": false,
|
|
5938
|
+
"type": {
|
|
5939
|
+
"description": "Cluster type",
|
|
5940
|
+
"name": "type",
|
|
5941
|
+
"required": true,
|
|
5915
5942
|
"hasDynamicHelp": false,
|
|
5916
5943
|
"multiple": false,
|
|
5944
|
+
"options": [
|
|
5945
|
+
"standard",
|
|
5946
|
+
"run"
|
|
5947
|
+
],
|
|
5917
5948
|
"type": "option"
|
|
5918
5949
|
}
|
|
5919
5950
|
},
|
|
5920
5951
|
"hasDynamicHelp": false,
|
|
5921
5952
|
"hiddenAliases": [],
|
|
5922
|
-
"id": "tenant:
|
|
5953
|
+
"id": "tenant:cluster:edit",
|
|
5923
5954
|
"pluginAlias": "@xano/cli",
|
|
5924
5955
|
"pluginName": "@xano/cli",
|
|
5925
5956
|
"pluginType": "core",
|
|
@@ -5930,25 +5961,24 @@
|
|
|
5930
5961
|
"dist",
|
|
5931
5962
|
"commands",
|
|
5932
5963
|
"tenant",
|
|
5933
|
-
"
|
|
5934
|
-
"
|
|
5964
|
+
"cluster",
|
|
5965
|
+
"edit",
|
|
5935
5966
|
"index.js"
|
|
5936
5967
|
]
|
|
5937
5968
|
},
|
|
5938
|
-
"tenant:
|
|
5969
|
+
"tenant:cluster:get": {
|
|
5939
5970
|
"aliases": [],
|
|
5940
5971
|
"args": {
|
|
5941
|
-
"
|
|
5942
|
-
"description": "
|
|
5943
|
-
"name": "
|
|
5972
|
+
"cluster_id": {
|
|
5973
|
+
"description": "Cluster ID to retrieve",
|
|
5974
|
+
"name": "cluster_id",
|
|
5944
5975
|
"required": true
|
|
5945
5976
|
}
|
|
5946
5977
|
},
|
|
5947
|
-
"description": "
|
|
5978
|
+
"description": "Get details of a specific tenant cluster",
|
|
5948
5979
|
"examples": [
|
|
5949
|
-
"$ xano tenant
|
|
5950
|
-
"$ xano tenant
|
|
5951
|
-
"$ xano tenant backup export t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5980
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
5981
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5952
5982
|
],
|
|
5953
5983
|
"flags": {
|
|
5954
5984
|
"profile": {
|
|
@@ -5970,18 +6000,10 @@
|
|
|
5970
6000
|
"allowNo": false,
|
|
5971
6001
|
"type": "boolean"
|
|
5972
6002
|
},
|
|
5973
|
-
"
|
|
5974
|
-
"description": "Backup ID to export",
|
|
5975
|
-
"name": "backup_id",
|
|
5976
|
-
"required": true,
|
|
5977
|
-
"hasDynamicHelp": false,
|
|
5978
|
-
"multiple": false,
|
|
5979
|
-
"type": "option"
|
|
5980
|
-
},
|
|
5981
|
-
"format": {
|
|
6003
|
+
"output": {
|
|
5982
6004
|
"char": "o",
|
|
5983
6005
|
"description": "Output format",
|
|
5984
|
-
"name": "
|
|
6006
|
+
"name": "output",
|
|
5985
6007
|
"required": false,
|
|
5986
6008
|
"default": "summary",
|
|
5987
6009
|
"hasDynamicHelp": false,
|
|
@@ -5991,28 +6013,11 @@
|
|
|
5991
6013
|
"json"
|
|
5992
6014
|
],
|
|
5993
6015
|
"type": "option"
|
|
5994
|
-
},
|
|
5995
|
-
"output": {
|
|
5996
|
-
"description": "Output file path (defaults to ./tenant-{name}-backup-{backup_id}.tar.gz)",
|
|
5997
|
-
"name": "output",
|
|
5998
|
-
"required": false,
|
|
5999
|
-
"hasDynamicHelp": false,
|
|
6000
|
-
"multiple": false,
|
|
6001
|
-
"type": "option"
|
|
6002
|
-
},
|
|
6003
|
-
"workspace": {
|
|
6004
|
-
"char": "w",
|
|
6005
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6006
|
-
"name": "workspace",
|
|
6007
|
-
"required": false,
|
|
6008
|
-
"hasDynamicHelp": false,
|
|
6009
|
-
"multiple": false,
|
|
6010
|
-
"type": "option"
|
|
6011
6016
|
}
|
|
6012
6017
|
},
|
|
6013
6018
|
"hasDynamicHelp": false,
|
|
6014
6019
|
"hiddenAliases": [],
|
|
6015
|
-
"id": "tenant:
|
|
6020
|
+
"id": "tenant:cluster:get",
|
|
6016
6021
|
"pluginAlias": "@xano/cli",
|
|
6017
6022
|
"pluginName": "@xano/cli",
|
|
6018
6023
|
"pluginType": "core",
|
|
@@ -6023,24 +6028,18 @@
|
|
|
6023
6028
|
"dist",
|
|
6024
6029
|
"commands",
|
|
6025
6030
|
"tenant",
|
|
6026
|
-
"
|
|
6027
|
-
"
|
|
6031
|
+
"cluster",
|
|
6032
|
+
"get",
|
|
6028
6033
|
"index.js"
|
|
6029
6034
|
]
|
|
6030
6035
|
},
|
|
6031
|
-
"tenant:
|
|
6036
|
+
"tenant:cluster:list": {
|
|
6032
6037
|
"aliases": [],
|
|
6033
|
-
"args": {
|
|
6034
|
-
|
|
6035
|
-
"description": "Tenant name to import backup into",
|
|
6036
|
-
"name": "tenant_name",
|
|
6037
|
-
"required": true
|
|
6038
|
-
}
|
|
6039
|
-
},
|
|
6040
|
-
"description": "Import a backup file into a tenant",
|
|
6038
|
+
"args": {},
|
|
6039
|
+
"description": "List all tenant clusters",
|
|
6041
6040
|
"examples": [
|
|
6042
|
-
"$ xano tenant
|
|
6043
|
-
"$ xano tenant
|
|
6041
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6042
|
+
"$ xano tenant cluster list --output json"
|
|
6044
6043
|
],
|
|
6045
6044
|
"flags": {
|
|
6046
6045
|
"profile": {
|
|
@@ -6062,25 +6061,6 @@
|
|
|
6062
6061
|
"allowNo": false,
|
|
6063
6062
|
"type": "boolean"
|
|
6064
6063
|
},
|
|
6065
|
-
"description": {
|
|
6066
|
-
"char": "d",
|
|
6067
|
-
"description": "Backup description",
|
|
6068
|
-
"name": "description",
|
|
6069
|
-
"required": false,
|
|
6070
|
-
"default": "",
|
|
6071
|
-
"hasDynamicHelp": false,
|
|
6072
|
-
"multiple": false,
|
|
6073
|
-
"type": "option"
|
|
6074
|
-
},
|
|
6075
|
-
"file": {
|
|
6076
|
-
"char": "f",
|
|
6077
|
-
"description": "Path to the backup file (.tar.gz)",
|
|
6078
|
-
"name": "file",
|
|
6079
|
-
"required": true,
|
|
6080
|
-
"hasDynamicHelp": false,
|
|
6081
|
-
"multiple": false,
|
|
6082
|
-
"type": "option"
|
|
6083
|
-
},
|
|
6084
6064
|
"output": {
|
|
6085
6065
|
"char": "o",
|
|
6086
6066
|
"description": "Output format",
|
|
@@ -6094,20 +6074,11 @@
|
|
|
6094
6074
|
"json"
|
|
6095
6075
|
],
|
|
6096
6076
|
"type": "option"
|
|
6097
|
-
},
|
|
6098
|
-
"workspace": {
|
|
6099
|
-
"char": "w",
|
|
6100
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6101
|
-
"name": "workspace",
|
|
6102
|
-
"required": false,
|
|
6103
|
-
"hasDynamicHelp": false,
|
|
6104
|
-
"multiple": false,
|
|
6105
|
-
"type": "option"
|
|
6106
6077
|
}
|
|
6107
6078
|
},
|
|
6108
6079
|
"hasDynamicHelp": false,
|
|
6109
6080
|
"hiddenAliases": [],
|
|
6110
|
-
"id": "tenant:
|
|
6081
|
+
"id": "tenant:cluster:list",
|
|
6111
6082
|
"pluginAlias": "@xano/cli",
|
|
6112
6083
|
"pluginName": "@xano/cli",
|
|
6113
6084
|
"pluginType": "core",
|
|
@@ -6118,24 +6089,25 @@
|
|
|
6118
6089
|
"dist",
|
|
6119
6090
|
"commands",
|
|
6120
6091
|
"tenant",
|
|
6121
|
-
"
|
|
6122
|
-
"
|
|
6092
|
+
"cluster",
|
|
6093
|
+
"list",
|
|
6123
6094
|
"index.js"
|
|
6124
6095
|
]
|
|
6125
6096
|
},
|
|
6126
|
-
"tenant:
|
|
6097
|
+
"tenant:env:delete": {
|
|
6127
6098
|
"aliases": [],
|
|
6128
6099
|
"args": {
|
|
6129
6100
|
"tenant_name": {
|
|
6130
|
-
"description": "Tenant name
|
|
6101
|
+
"description": "Tenant name",
|
|
6131
6102
|
"name": "tenant_name",
|
|
6132
6103
|
"required": true
|
|
6133
6104
|
}
|
|
6134
6105
|
},
|
|
6135
|
-
"description": "
|
|
6106
|
+
"description": "Delete an environment variable from a tenant",
|
|
6136
6107
|
"examples": [
|
|
6137
|
-
"$ xano tenant
|
|
6138
|
-
"$ xano tenant
|
|
6108
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6109
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6110
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6139
6111
|
],
|
|
6140
6112
|
"flags": {
|
|
6141
6113
|
"profile": {
|
|
@@ -6157,27 +6129,35 @@
|
|
|
6157
6129
|
"allowNo": false,
|
|
6158
6130
|
"type": "boolean"
|
|
6159
6131
|
},
|
|
6160
|
-
"
|
|
6161
|
-
"char": "
|
|
6162
|
-
"description": "
|
|
6163
|
-
"name": "
|
|
6132
|
+
"force": {
|
|
6133
|
+
"char": "f",
|
|
6134
|
+
"description": "Skip confirmation prompt",
|
|
6135
|
+
"name": "force",
|
|
6164
6136
|
"required": false,
|
|
6165
|
-
"
|
|
6137
|
+
"allowNo": false,
|
|
6138
|
+
"type": "boolean"
|
|
6139
|
+
},
|
|
6140
|
+
"name": {
|
|
6141
|
+
"char": "n",
|
|
6142
|
+
"description": "Environment variable name",
|
|
6143
|
+
"name": "name",
|
|
6144
|
+
"required": true,
|
|
6166
6145
|
"hasDynamicHelp": false,
|
|
6167
6146
|
"multiple": false,
|
|
6168
|
-
"options": [
|
|
6169
|
-
"summary",
|
|
6170
|
-
"json"
|
|
6171
|
-
],
|
|
6172
6147
|
"type": "option"
|
|
6173
6148
|
},
|
|
6174
|
-
"
|
|
6175
|
-
"
|
|
6176
|
-
"
|
|
6149
|
+
"output": {
|
|
6150
|
+
"char": "o",
|
|
6151
|
+
"description": "Output format",
|
|
6152
|
+
"name": "output",
|
|
6177
6153
|
"required": false,
|
|
6178
|
-
"default":
|
|
6154
|
+
"default": "summary",
|
|
6179
6155
|
"hasDynamicHelp": false,
|
|
6180
6156
|
"multiple": false,
|
|
6157
|
+
"options": [
|
|
6158
|
+
"summary",
|
|
6159
|
+
"json"
|
|
6160
|
+
],
|
|
6181
6161
|
"type": "option"
|
|
6182
6162
|
},
|
|
6183
6163
|
"workspace": {
|
|
@@ -6192,7 +6172,7 @@
|
|
|
6192
6172
|
},
|
|
6193
6173
|
"hasDynamicHelp": false,
|
|
6194
6174
|
"hiddenAliases": [],
|
|
6195
|
-
"id": "tenant:
|
|
6175
|
+
"id": "tenant:env:delete",
|
|
6196
6176
|
"pluginAlias": "@xano/cli",
|
|
6197
6177
|
"pluginName": "@xano/cli",
|
|
6198
6178
|
"pluginType": "core",
|
|
@@ -6203,24 +6183,24 @@
|
|
|
6203
6183
|
"dist",
|
|
6204
6184
|
"commands",
|
|
6205
6185
|
"tenant",
|
|
6206
|
-
"
|
|
6207
|
-
"
|
|
6186
|
+
"env",
|
|
6187
|
+
"delete",
|
|
6208
6188
|
"index.js"
|
|
6209
6189
|
]
|
|
6210
6190
|
},
|
|
6211
|
-
"tenant:
|
|
6191
|
+
"tenant:env:get": {
|
|
6212
6192
|
"aliases": [],
|
|
6213
6193
|
"args": {
|
|
6214
6194
|
"tenant_name": {
|
|
6215
|
-
"description": "Tenant name
|
|
6195
|
+
"description": "Tenant name",
|
|
6216
6196
|
"name": "tenant_name",
|
|
6217
6197
|
"required": true
|
|
6218
6198
|
}
|
|
6219
6199
|
},
|
|
6220
|
-
"description": "
|
|
6200
|
+
"description": "Get a single environment variable for a tenant",
|
|
6221
6201
|
"examples": [
|
|
6222
|
-
"$ xano tenant
|
|
6223
|
-
"$ xano tenant
|
|
6202
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6203
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6224
6204
|
],
|
|
6225
6205
|
"flags": {
|
|
6226
6206
|
"profile": {
|
|
@@ -6242,22 +6222,15 @@
|
|
|
6242
6222
|
"allowNo": false,
|
|
6243
6223
|
"type": "boolean"
|
|
6244
6224
|
},
|
|
6245
|
-
"
|
|
6246
|
-
"
|
|
6247
|
-
"
|
|
6225
|
+
"name": {
|
|
6226
|
+
"char": "n",
|
|
6227
|
+
"description": "Environment variable name",
|
|
6228
|
+
"name": "name",
|
|
6248
6229
|
"required": true,
|
|
6249
6230
|
"hasDynamicHelp": false,
|
|
6250
6231
|
"multiple": false,
|
|
6251
6232
|
"type": "option"
|
|
6252
6233
|
},
|
|
6253
|
-
"force": {
|
|
6254
|
-
"char": "f",
|
|
6255
|
-
"description": "Skip confirmation prompt",
|
|
6256
|
-
"name": "force",
|
|
6257
|
-
"required": false,
|
|
6258
|
-
"allowNo": false,
|
|
6259
|
-
"type": "boolean"
|
|
6260
|
-
},
|
|
6261
6234
|
"output": {
|
|
6262
6235
|
"char": "o",
|
|
6263
6236
|
"description": "Output format",
|
|
@@ -6284,7 +6257,7 @@
|
|
|
6284
6257
|
},
|
|
6285
6258
|
"hasDynamicHelp": false,
|
|
6286
6259
|
"hiddenAliases": [],
|
|
6287
|
-
"id": "tenant:
|
|
6260
|
+
"id": "tenant:env:get",
|
|
6288
6261
|
"pluginAlias": "@xano/cli",
|
|
6289
6262
|
"pluginName": "@xano/cli",
|
|
6290
6263
|
"pluginType": "core",
|
|
@@ -6295,25 +6268,26 @@
|
|
|
6295
6268
|
"dist",
|
|
6296
6269
|
"commands",
|
|
6297
6270
|
"tenant",
|
|
6298
|
-
"
|
|
6299
|
-
"
|
|
6271
|
+
"env",
|
|
6272
|
+
"get",
|
|
6300
6273
|
"index.js"
|
|
6301
6274
|
]
|
|
6302
6275
|
},
|
|
6303
|
-
"
|
|
6276
|
+
"tenant:env:get_all": {
|
|
6304
6277
|
"aliases": [],
|
|
6305
6278
|
"args": {
|
|
6306
|
-
"
|
|
6307
|
-
"description": "
|
|
6308
|
-
"name": "
|
|
6279
|
+
"tenant_name": {
|
|
6280
|
+
"description": "Tenant name",
|
|
6281
|
+
"name": "tenant_name",
|
|
6309
6282
|
"required": true
|
|
6310
6283
|
}
|
|
6311
6284
|
},
|
|
6312
|
-
"description": "
|
|
6285
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6313
6286
|
"examples": [
|
|
6314
|
-
"$ xano
|
|
6315
|
-
"$ xano
|
|
6316
|
-
"$ xano
|
|
6287
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6288
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6289
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6290
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6317
6291
|
],
|
|
6318
6292
|
"flags": {
|
|
6319
6293
|
"profile": {
|
|
@@ -6335,29 +6309,11 @@
|
|
|
6335
6309
|
"allowNo": false,
|
|
6336
6310
|
"type": "boolean"
|
|
6337
6311
|
},
|
|
6338
|
-
"description": {
|
|
6339
|
-
"char": "d",
|
|
6340
|
-
"description": "Build description",
|
|
6341
|
-
"name": "description",
|
|
6342
|
-
"required": false,
|
|
6343
|
-
"hasDynamicHelp": false,
|
|
6344
|
-
"multiple": false,
|
|
6345
|
-
"type": "option"
|
|
6346
|
-
},
|
|
6347
6312
|
"file": {
|
|
6348
6313
|
"char": "f",
|
|
6349
|
-
"description": "
|
|
6314
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6350
6315
|
"name": "file",
|
|
6351
|
-
"required":
|
|
6352
|
-
"hasDynamicHelp": false,
|
|
6353
|
-
"multiple": false,
|
|
6354
|
-
"type": "option"
|
|
6355
|
-
},
|
|
6356
|
-
"name": {
|
|
6357
|
-
"char": "n",
|
|
6358
|
-
"description": "Build name",
|
|
6359
|
-
"name": "name",
|
|
6360
|
-
"required": true,
|
|
6316
|
+
"required": false,
|
|
6361
6317
|
"hasDynamicHelp": false,
|
|
6362
6318
|
"multiple": false,
|
|
6363
6319
|
"type": "option"
|
|
@@ -6376,9 +6332,16 @@
|
|
|
6376
6332
|
],
|
|
6377
6333
|
"type": "option"
|
|
6378
6334
|
},
|
|
6335
|
+
"view": {
|
|
6336
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6337
|
+
"name": "view",
|
|
6338
|
+
"required": false,
|
|
6339
|
+
"allowNo": false,
|
|
6340
|
+
"type": "boolean"
|
|
6341
|
+
},
|
|
6379
6342
|
"workspace": {
|
|
6380
6343
|
"char": "w",
|
|
6381
|
-
"description": "Workspace ID (
|
|
6344
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6382
6345
|
"name": "workspace",
|
|
6383
6346
|
"required": false,
|
|
6384
6347
|
"hasDynamicHelp": false,
|
|
@@ -6388,7 +6351,7 @@
|
|
|
6388
6351
|
},
|
|
6389
6352
|
"hasDynamicHelp": false,
|
|
6390
6353
|
"hiddenAliases": [],
|
|
6391
|
-
"id": "
|
|
6354
|
+
"id": "tenant:env:get_all",
|
|
6392
6355
|
"pluginAlias": "@xano/cli",
|
|
6393
6356
|
"pluginName": "@xano/cli",
|
|
6394
6357
|
"pluginType": "core",
|
|
@@ -6398,19 +6361,25 @@
|
|
|
6398
6361
|
"relativePath": [
|
|
6399
6362
|
"dist",
|
|
6400
6363
|
"commands",
|
|
6401
|
-
"
|
|
6402
|
-
"
|
|
6403
|
-
"
|
|
6364
|
+
"tenant",
|
|
6365
|
+
"env",
|
|
6366
|
+
"get_all",
|
|
6404
6367
|
"index.js"
|
|
6405
6368
|
]
|
|
6406
6369
|
},
|
|
6407
|
-
"tenant:
|
|
6370
|
+
"tenant:env:list": {
|
|
6408
6371
|
"aliases": [],
|
|
6409
|
-
"args": {
|
|
6410
|
-
|
|
6372
|
+
"args": {
|
|
6373
|
+
"tenant_name": {
|
|
6374
|
+
"description": "Tenant name",
|
|
6375
|
+
"name": "tenant_name",
|
|
6376
|
+
"required": true
|
|
6377
|
+
}
|
|
6378
|
+
},
|
|
6379
|
+
"description": "List environment variable keys for a tenant",
|
|
6411
6380
|
"examples": [
|
|
6412
|
-
"$ xano tenant
|
|
6413
|
-
"$ xano tenant
|
|
6381
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6382
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6414
6383
|
],
|
|
6415
6384
|
"flags": {
|
|
6416
6385
|
"profile": {
|
|
@@ -6432,54 +6401,6 @@
|
|
|
6432
6401
|
"allowNo": false,
|
|
6433
6402
|
"type": "boolean"
|
|
6434
6403
|
},
|
|
6435
|
-
"credentials": {
|
|
6436
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
6437
|
-
"exclusive": [
|
|
6438
|
-
"credentials_file"
|
|
6439
|
-
],
|
|
6440
|
-
"name": "credentials",
|
|
6441
|
-
"required": false,
|
|
6442
|
-
"hasDynamicHelp": false,
|
|
6443
|
-
"multiple": false,
|
|
6444
|
-
"type": "option"
|
|
6445
|
-
},
|
|
6446
|
-
"credentials_file": {
|
|
6447
|
-
"description": "Path to kubeconfig credentials file",
|
|
6448
|
-
"exclusive": [
|
|
6449
|
-
"credentials"
|
|
6450
|
-
],
|
|
6451
|
-
"name": "credentials_file",
|
|
6452
|
-
"required": false,
|
|
6453
|
-
"hasDynamicHelp": false,
|
|
6454
|
-
"multiple": false,
|
|
6455
|
-
"type": "option"
|
|
6456
|
-
},
|
|
6457
|
-
"description": {
|
|
6458
|
-
"char": "d",
|
|
6459
|
-
"description": "Cluster description",
|
|
6460
|
-
"name": "description",
|
|
6461
|
-
"required": false,
|
|
6462
|
-
"hasDynamicHelp": false,
|
|
6463
|
-
"multiple": false,
|
|
6464
|
-
"type": "option"
|
|
6465
|
-
},
|
|
6466
|
-
"domain": {
|
|
6467
|
-
"description": "Custom domain for the cluster",
|
|
6468
|
-
"name": "domain",
|
|
6469
|
-
"required": false,
|
|
6470
|
-
"hasDynamicHelp": false,
|
|
6471
|
-
"multiple": false,
|
|
6472
|
-
"type": "option"
|
|
6473
|
-
},
|
|
6474
|
-
"name": {
|
|
6475
|
-
"char": "n",
|
|
6476
|
-
"description": "Cluster name",
|
|
6477
|
-
"name": "name",
|
|
6478
|
-
"required": true,
|
|
6479
|
-
"hasDynamicHelp": false,
|
|
6480
|
-
"multiple": false,
|
|
6481
|
-
"type": "option"
|
|
6482
|
-
},
|
|
6483
6404
|
"output": {
|
|
6484
6405
|
"char": "o",
|
|
6485
6406
|
"description": "Output format",
|
|
@@ -6494,23 +6415,19 @@
|
|
|
6494
6415
|
],
|
|
6495
6416
|
"type": "option"
|
|
6496
6417
|
},
|
|
6497
|
-
"
|
|
6498
|
-
"
|
|
6499
|
-
"
|
|
6418
|
+
"workspace": {
|
|
6419
|
+
"char": "w",
|
|
6420
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6421
|
+
"name": "workspace",
|
|
6500
6422
|
"required": false,
|
|
6501
|
-
"default": "standard",
|
|
6502
6423
|
"hasDynamicHelp": false,
|
|
6503
6424
|
"multiple": false,
|
|
6504
|
-
"options": [
|
|
6505
|
-
"standard",
|
|
6506
|
-
"run"
|
|
6507
|
-
],
|
|
6508
6425
|
"type": "option"
|
|
6509
6426
|
}
|
|
6510
6427
|
},
|
|
6511
6428
|
"hasDynamicHelp": false,
|
|
6512
6429
|
"hiddenAliases": [],
|
|
6513
|
-
"id": "tenant:
|
|
6430
|
+
"id": "tenant:env:list",
|
|
6514
6431
|
"pluginAlias": "@xano/cli",
|
|
6515
6432
|
"pluginName": "@xano/cli",
|
|
6516
6433
|
"pluginType": "core",
|
|
@@ -6521,25 +6438,24 @@
|
|
|
6521
6438
|
"dist",
|
|
6522
6439
|
"commands",
|
|
6523
6440
|
"tenant",
|
|
6524
|
-
"
|
|
6525
|
-
"
|
|
6441
|
+
"env",
|
|
6442
|
+
"list",
|
|
6526
6443
|
"index.js"
|
|
6527
6444
|
]
|
|
6528
6445
|
},
|
|
6529
|
-
"tenant:
|
|
6446
|
+
"tenant:env:set": {
|
|
6530
6447
|
"aliases": [],
|
|
6531
6448
|
"args": {
|
|
6532
|
-
"
|
|
6533
|
-
"description": "
|
|
6534
|
-
"name": "
|
|
6449
|
+
"tenant_name": {
|
|
6450
|
+
"description": "Tenant name",
|
|
6451
|
+
"name": "tenant_name",
|
|
6535
6452
|
"required": true
|
|
6536
6453
|
}
|
|
6537
6454
|
},
|
|
6538
|
-
"description": "
|
|
6455
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6539
6456
|
"examples": [
|
|
6540
|
-
"$ xano tenant
|
|
6541
|
-
"$ xano tenant
|
|
6542
|
-
"$ xano tenant cluster delete 3 -f -o json"
|
|
6457
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6458
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6543
6459
|
],
|
|
6544
6460
|
"flags": {
|
|
6545
6461
|
"profile": {
|
|
@@ -6561,13 +6477,14 @@
|
|
|
6561
6477
|
"allowNo": false,
|
|
6562
6478
|
"type": "boolean"
|
|
6563
6479
|
},
|
|
6564
|
-
"
|
|
6565
|
-
"char": "
|
|
6566
|
-
"description": "
|
|
6567
|
-
"name": "
|
|
6568
|
-
"required":
|
|
6569
|
-
"
|
|
6570
|
-
"
|
|
6480
|
+
"name": {
|
|
6481
|
+
"char": "n",
|
|
6482
|
+
"description": "Environment variable name",
|
|
6483
|
+
"name": "name",
|
|
6484
|
+
"required": true,
|
|
6485
|
+
"hasDynamicHelp": false,
|
|
6486
|
+
"multiple": false,
|
|
6487
|
+
"type": "option"
|
|
6571
6488
|
},
|
|
6572
6489
|
"output": {
|
|
6573
6490
|
"char": "o",
|
|
@@ -6582,11 +6499,28 @@
|
|
|
6582
6499
|
"json"
|
|
6583
6500
|
],
|
|
6584
6501
|
"type": "option"
|
|
6502
|
+
},
|
|
6503
|
+
"value": {
|
|
6504
|
+
"description": "Environment variable value",
|
|
6505
|
+
"name": "value",
|
|
6506
|
+
"required": true,
|
|
6507
|
+
"hasDynamicHelp": false,
|
|
6508
|
+
"multiple": false,
|
|
6509
|
+
"type": "option"
|
|
6510
|
+
},
|
|
6511
|
+
"workspace": {
|
|
6512
|
+
"char": "w",
|
|
6513
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6514
|
+
"name": "workspace",
|
|
6515
|
+
"required": false,
|
|
6516
|
+
"hasDynamicHelp": false,
|
|
6517
|
+
"multiple": false,
|
|
6518
|
+
"type": "option"
|
|
6585
6519
|
}
|
|
6586
6520
|
},
|
|
6587
6521
|
"hasDynamicHelp": false,
|
|
6588
6522
|
"hiddenAliases": [],
|
|
6589
|
-
"id": "tenant:
|
|
6523
|
+
"id": "tenant:env:set",
|
|
6590
6524
|
"pluginAlias": "@xano/cli",
|
|
6591
6525
|
"pluginName": "@xano/cli",
|
|
6592
6526
|
"pluginType": "core",
|
|
@@ -6597,18 +6531,25 @@
|
|
|
6597
6531
|
"dist",
|
|
6598
6532
|
"commands",
|
|
6599
6533
|
"tenant",
|
|
6600
|
-
"
|
|
6601
|
-
"
|
|
6534
|
+
"env",
|
|
6535
|
+
"set",
|
|
6602
6536
|
"index.js"
|
|
6603
6537
|
]
|
|
6604
6538
|
},
|
|
6605
|
-
"tenant:
|
|
6539
|
+
"tenant:env:set_all": {
|
|
6606
6540
|
"aliases": [],
|
|
6607
|
-
"args": {
|
|
6608
|
-
|
|
6541
|
+
"args": {
|
|
6542
|
+
"tenant_name": {
|
|
6543
|
+
"description": "Tenant name",
|
|
6544
|
+
"name": "tenant_name",
|
|
6545
|
+
"required": true
|
|
6546
|
+
}
|
|
6547
|
+
},
|
|
6548
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6609
6549
|
"examples": [
|
|
6610
|
-
"$ xano tenant
|
|
6611
|
-
"$ xano tenant
|
|
6550
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6551
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6552
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6612
6553
|
],
|
|
6613
6554
|
"flags": {
|
|
6614
6555
|
"profile": {
|
|
@@ -6630,6 +6571,22 @@
|
|
|
6630
6571
|
"allowNo": false,
|
|
6631
6572
|
"type": "boolean"
|
|
6632
6573
|
},
|
|
6574
|
+
"clean": {
|
|
6575
|
+
"description": "Remove the source file after successful upload",
|
|
6576
|
+
"name": "clean",
|
|
6577
|
+
"required": false,
|
|
6578
|
+
"allowNo": false,
|
|
6579
|
+
"type": "boolean"
|
|
6580
|
+
},
|
|
6581
|
+
"file": {
|
|
6582
|
+
"char": "f",
|
|
6583
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6584
|
+
"name": "file",
|
|
6585
|
+
"required": false,
|
|
6586
|
+
"hasDynamicHelp": false,
|
|
6587
|
+
"multiple": false,
|
|
6588
|
+
"type": "option"
|
|
6589
|
+
},
|
|
6633
6590
|
"output": {
|
|
6634
6591
|
"char": "o",
|
|
6635
6592
|
"description": "Output format",
|
|
@@ -6643,11 +6600,20 @@
|
|
|
6643
6600
|
"json"
|
|
6644
6601
|
],
|
|
6645
6602
|
"type": "option"
|
|
6603
|
+
},
|
|
6604
|
+
"workspace": {
|
|
6605
|
+
"char": "w",
|
|
6606
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6607
|
+
"name": "workspace",
|
|
6608
|
+
"required": false,
|
|
6609
|
+
"hasDynamicHelp": false,
|
|
6610
|
+
"multiple": false,
|
|
6611
|
+
"type": "option"
|
|
6646
6612
|
}
|
|
6647
6613
|
},
|
|
6648
6614
|
"hasDynamicHelp": false,
|
|
6649
6615
|
"hiddenAliases": [],
|
|
6650
|
-
"id": "tenant:
|
|
6616
|
+
"id": "tenant:env:set_all",
|
|
6651
6617
|
"pluginAlias": "@xano/cli",
|
|
6652
6618
|
"pluginName": "@xano/cli",
|
|
6653
6619
|
"pluginType": "core",
|
|
@@ -6658,29 +6624,26 @@
|
|
|
6658
6624
|
"dist",
|
|
6659
6625
|
"commands",
|
|
6660
6626
|
"tenant",
|
|
6661
|
-
"
|
|
6662
|
-
"
|
|
6627
|
+
"env",
|
|
6628
|
+
"set_all",
|
|
6663
6629
|
"index.js"
|
|
6664
6630
|
]
|
|
6665
6631
|
},
|
|
6666
|
-
"
|
|
6632
|
+
"tenant:license:get": {
|
|
6667
6633
|
"aliases": [],
|
|
6668
6634
|
"args": {
|
|
6669
|
-
"
|
|
6670
|
-
"description": "
|
|
6671
|
-
"name": "
|
|
6635
|
+
"tenant_name": {
|
|
6636
|
+
"description": "Tenant name",
|
|
6637
|
+
"name": "tenant_name",
|
|
6672
6638
|
"required": true
|
|
6673
6639
|
}
|
|
6674
6640
|
},
|
|
6675
|
-
"description": "
|
|
6641
|
+
"description": "Get the license for a tenant",
|
|
6676
6642
|
"examples": [
|
|
6677
|
-
"$ xano
|
|
6678
|
-
"$ xano
|
|
6679
|
-
"$ xano
|
|
6680
|
-
"$ xano
|
|
6681
|
-
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6682
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6683
|
-
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6643
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6644
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6645
|
+
"$ xano tenant license get my-tenant --view",
|
|
6646
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6684
6647
|
],
|
|
6685
6648
|
"flags": {
|
|
6686
6649
|
"profile": {
|
|
@@ -6702,37 +6665,40 @@
|
|
|
6702
6665
|
"allowNo": false,
|
|
6703
6666
|
"type": "boolean"
|
|
6704
6667
|
},
|
|
6705
|
-
"
|
|
6706
|
-
"char": "
|
|
6707
|
-
"description": "
|
|
6708
|
-
"name": "
|
|
6668
|
+
"file": {
|
|
6669
|
+
"char": "f",
|
|
6670
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6671
|
+
"name": "file",
|
|
6709
6672
|
"required": false,
|
|
6710
6673
|
"hasDynamicHelp": false,
|
|
6711
6674
|
"multiple": false,
|
|
6712
6675
|
"type": "option"
|
|
6713
6676
|
},
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6716
|
-
"
|
|
6677
|
+
"output": {
|
|
6678
|
+
"char": "o",
|
|
6679
|
+
"description": "Output format",
|
|
6680
|
+
"name": "output",
|
|
6717
6681
|
"required": false,
|
|
6682
|
+
"default": "summary",
|
|
6718
6683
|
"hasDynamicHelp": false,
|
|
6719
6684
|
"multiple": false,
|
|
6685
|
+
"options": [
|
|
6686
|
+
"summary",
|
|
6687
|
+
"json"
|
|
6688
|
+
],
|
|
6720
6689
|
"type": "option"
|
|
6721
6690
|
},
|
|
6722
|
-
"
|
|
6723
|
-
"
|
|
6724
|
-
"
|
|
6725
|
-
"
|
|
6726
|
-
"
|
|
6727
|
-
"
|
|
6728
|
-
"multiple": false,
|
|
6729
|
-
"type": "option"
|
|
6691
|
+
"view": {
|
|
6692
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6693
|
+
"name": "view",
|
|
6694
|
+
"required": false,
|
|
6695
|
+
"allowNo": false,
|
|
6696
|
+
"type": "boolean"
|
|
6730
6697
|
},
|
|
6731
|
-
"
|
|
6732
|
-
"char": "
|
|
6733
|
-
"description": "
|
|
6734
|
-
"
|
|
6735
|
-
"name": "token",
|
|
6698
|
+
"workspace": {
|
|
6699
|
+
"char": "w",
|
|
6700
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6701
|
+
"name": "workspace",
|
|
6736
6702
|
"required": false,
|
|
6737
6703
|
"hasDynamicHelp": false,
|
|
6738
6704
|
"multiple": false,
|
|
@@ -6741,7 +6707,7 @@
|
|
|
6741
6707
|
},
|
|
6742
6708
|
"hasDynamicHelp": false,
|
|
6743
6709
|
"hiddenAliases": [],
|
|
6744
|
-
"id": "
|
|
6710
|
+
"id": "tenant:license:get",
|
|
6745
6711
|
"pluginAlias": "@xano/cli",
|
|
6746
6712
|
"pluginName": "@xano/cli",
|
|
6747
6713
|
"pluginType": "core",
|
|
@@ -6751,25 +6717,27 @@
|
|
|
6751
6717
|
"relativePath": [
|
|
6752
6718
|
"dist",
|
|
6753
6719
|
"commands",
|
|
6754
|
-
"
|
|
6755
|
-
"
|
|
6756
|
-
"
|
|
6720
|
+
"tenant",
|
|
6721
|
+
"license",
|
|
6722
|
+
"get",
|
|
6757
6723
|
"index.js"
|
|
6758
6724
|
]
|
|
6759
6725
|
},
|
|
6760
|
-
"tenant:
|
|
6726
|
+
"tenant:license:set": {
|
|
6761
6727
|
"aliases": [],
|
|
6762
6728
|
"args": {
|
|
6763
|
-
"
|
|
6764
|
-
"description": "
|
|
6765
|
-
"name": "
|
|
6729
|
+
"tenant_name": {
|
|
6730
|
+
"description": "Tenant name",
|
|
6731
|
+
"name": "tenant_name",
|
|
6766
6732
|
"required": true
|
|
6767
6733
|
}
|
|
6768
6734
|
},
|
|
6769
|
-
"description": "
|
|
6735
|
+
"description": "Set/update the license for a tenant",
|
|
6770
6736
|
"examples": [
|
|
6771
|
-
"$ xano tenant
|
|
6772
|
-
"$ xano tenant
|
|
6737
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6738
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6739
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6740
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6773
6741
|
],
|
|
6774
6742
|
"flags": {
|
|
6775
6743
|
"profile": {
|
|
@@ -6791,6 +6759,28 @@
|
|
|
6791
6759
|
"allowNo": false,
|
|
6792
6760
|
"type": "boolean"
|
|
6793
6761
|
},
|
|
6762
|
+
"clean": {
|
|
6763
|
+
"description": "Remove the source file after successful upload",
|
|
6764
|
+
"exclusive": [
|
|
6765
|
+
"value"
|
|
6766
|
+
],
|
|
6767
|
+
"name": "clean",
|
|
6768
|
+
"required": false,
|
|
6769
|
+
"allowNo": false,
|
|
6770
|
+
"type": "boolean"
|
|
6771
|
+
},
|
|
6772
|
+
"file": {
|
|
6773
|
+
"char": "f",
|
|
6774
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6775
|
+
"exclusive": [
|
|
6776
|
+
"value"
|
|
6777
|
+
],
|
|
6778
|
+
"name": "file",
|
|
6779
|
+
"required": false,
|
|
6780
|
+
"hasDynamicHelp": false,
|
|
6781
|
+
"multiple": false,
|
|
6782
|
+
"type": "option"
|
|
6783
|
+
},
|
|
6794
6784
|
"output": {
|
|
6795
6785
|
"char": "o",
|
|
6796
6786
|
"description": "Output format",
|
|
@@ -6804,11 +6794,32 @@
|
|
|
6804
6794
|
"json"
|
|
6805
6795
|
],
|
|
6806
6796
|
"type": "option"
|
|
6797
|
+
},
|
|
6798
|
+
"value": {
|
|
6799
|
+
"description": "Inline license value",
|
|
6800
|
+
"exclusive": [
|
|
6801
|
+
"file",
|
|
6802
|
+
"clean"
|
|
6803
|
+
],
|
|
6804
|
+
"name": "value",
|
|
6805
|
+
"required": false,
|
|
6806
|
+
"hasDynamicHelp": false,
|
|
6807
|
+
"multiple": false,
|
|
6808
|
+
"type": "option"
|
|
6809
|
+
},
|
|
6810
|
+
"workspace": {
|
|
6811
|
+
"char": "w",
|
|
6812
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6813
|
+
"name": "workspace",
|
|
6814
|
+
"required": false,
|
|
6815
|
+
"hasDynamicHelp": false,
|
|
6816
|
+
"multiple": false,
|
|
6817
|
+
"type": "option"
|
|
6807
6818
|
}
|
|
6808
6819
|
},
|
|
6809
6820
|
"hasDynamicHelp": false,
|
|
6810
6821
|
"hiddenAliases": [],
|
|
6811
|
-
"id": "tenant:
|
|
6822
|
+
"id": "tenant:license:set",
|
|
6812
6823
|
"pluginAlias": "@xano/cli",
|
|
6813
6824
|
"pluginName": "@xano/cli",
|
|
6814
6825
|
"pluginType": "core",
|
|
@@ -6819,24 +6830,29 @@
|
|
|
6819
6830
|
"dist",
|
|
6820
6831
|
"commands",
|
|
6821
6832
|
"tenant",
|
|
6822
|
-
"
|
|
6823
|
-
"
|
|
6833
|
+
"license",
|
|
6834
|
+
"set",
|
|
6824
6835
|
"index.js"
|
|
6825
6836
|
]
|
|
6826
6837
|
},
|
|
6827
|
-
"
|
|
6838
|
+
"workspace:git:pull": {
|
|
6828
6839
|
"aliases": [],
|
|
6829
6840
|
"args": {
|
|
6830
|
-
"
|
|
6831
|
-
"description": "
|
|
6832
|
-
"name": "
|
|
6841
|
+
"directory": {
|
|
6842
|
+
"description": "Output directory for imported files",
|
|
6843
|
+
"name": "directory",
|
|
6833
6844
|
"required": true
|
|
6834
6845
|
}
|
|
6835
6846
|
},
|
|
6836
|
-
"description": "
|
|
6847
|
+
"description": "Pull XanoScript files from a git repository into a local directory",
|
|
6837
6848
|
"examples": [
|
|
6838
|
-
"$ xano
|
|
6839
|
-
"$ xano
|
|
6849
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo",
|
|
6850
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/tree/main/path/to/dir",
|
|
6851
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/repo/blob/main/path/to/file.xs",
|
|
6852
|
+
"$ xano workspace git pull ./output -r git@github.com:owner/repo.git",
|
|
6853
|
+
"$ xano workspace git pull ./output -r https://github.com/owner/private-repo -t ghp_xxx",
|
|
6854
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo/-/tree/master/path",
|
|
6855
|
+
"$ xano workspace git pull ./output -r https://gitlab.com/owner/repo -b main"
|
|
6840
6856
|
],
|
|
6841
6857
|
"flags": {
|
|
6842
6858
|
"profile": {
|
|
@@ -6858,62 +6874,46 @@
|
|
|
6858
6874
|
"allowNo": false,
|
|
6859
6875
|
"type": "boolean"
|
|
6860
6876
|
},
|
|
6861
|
-
"
|
|
6862
|
-
"char": "
|
|
6863
|
-
"description": "
|
|
6864
|
-
"name": "
|
|
6865
|
-
"required":
|
|
6877
|
+
"branch": {
|
|
6878
|
+
"char": "b",
|
|
6879
|
+
"description": "Branch, tag, or ref to fetch (defaults to repository default branch)",
|
|
6880
|
+
"name": "branch",
|
|
6881
|
+
"required": false,
|
|
6866
6882
|
"hasDynamicHelp": false,
|
|
6867
6883
|
"multiple": false,
|
|
6868
6884
|
"type": "option"
|
|
6869
6885
|
},
|
|
6870
|
-
"
|
|
6871
|
-
"description": "
|
|
6872
|
-
"name": "
|
|
6873
|
-
"required":
|
|
6886
|
+
"path": {
|
|
6887
|
+
"description": "Subdirectory within the repo to import from",
|
|
6888
|
+
"name": "path",
|
|
6889
|
+
"required": false,
|
|
6874
6890
|
"hasDynamicHelp": false,
|
|
6875
6891
|
"multiple": false,
|
|
6876
6892
|
"type": "option"
|
|
6877
6893
|
},
|
|
6878
|
-
"
|
|
6879
|
-
"char": "
|
|
6880
|
-
"description": "
|
|
6881
|
-
"name": "
|
|
6894
|
+
"repo": {
|
|
6895
|
+
"char": "r",
|
|
6896
|
+
"description": "Git repository URL (GitHub HTTPS, SSH, or any git URL)",
|
|
6897
|
+
"name": "repo",
|
|
6882
6898
|
"required": true,
|
|
6883
6899
|
"hasDynamicHelp": false,
|
|
6884
6900
|
"multiple": false,
|
|
6885
6901
|
"type": "option"
|
|
6886
6902
|
},
|
|
6887
|
-
"
|
|
6888
|
-
"char": "
|
|
6889
|
-
"description": "
|
|
6890
|
-
"
|
|
6903
|
+
"token": {
|
|
6904
|
+
"char": "t",
|
|
6905
|
+
"description": "Personal access token for private repos (falls back to GITHUB_TOKEN env var)",
|
|
6906
|
+
"env": "GITHUB_TOKEN",
|
|
6907
|
+
"name": "token",
|
|
6891
6908
|
"required": false,
|
|
6892
|
-
"default": "summary",
|
|
6893
|
-
"hasDynamicHelp": false,
|
|
6894
|
-
"multiple": false,
|
|
6895
|
-
"options": [
|
|
6896
|
-
"summary",
|
|
6897
|
-
"json"
|
|
6898
|
-
],
|
|
6899
|
-
"type": "option"
|
|
6900
|
-
},
|
|
6901
|
-
"type": {
|
|
6902
|
-
"description": "Cluster type",
|
|
6903
|
-
"name": "type",
|
|
6904
|
-
"required": true,
|
|
6905
6909
|
"hasDynamicHelp": false,
|
|
6906
6910
|
"multiple": false,
|
|
6907
|
-
"options": [
|
|
6908
|
-
"standard",
|
|
6909
|
-
"run"
|
|
6910
|
-
],
|
|
6911
6911
|
"type": "option"
|
|
6912
6912
|
}
|
|
6913
6913
|
},
|
|
6914
6914
|
"hasDynamicHelp": false,
|
|
6915
6915
|
"hiddenAliases": [],
|
|
6916
|
-
"id": "
|
|
6916
|
+
"id": "workspace:git:pull",
|
|
6917
6917
|
"pluginAlias": "@xano/cli",
|
|
6918
6918
|
"pluginName": "@xano/cli",
|
|
6919
6919
|
"pluginType": "core",
|
|
@@ -6923,9 +6923,9 @@
|
|
|
6923
6923
|
"relativePath": [
|
|
6924
6924
|
"dist",
|
|
6925
6925
|
"commands",
|
|
6926
|
-
"
|
|
6927
|
-
"
|
|
6928
|
-
"
|
|
6926
|
+
"workspace",
|
|
6927
|
+
"git",
|
|
6928
|
+
"pull",
|
|
6929
6929
|
"index.js"
|
|
6930
6930
|
]
|
|
6931
6931
|
},
|
|
@@ -7120,5 +7120,5 @@
|
|
|
7120
7120
|
]
|
|
7121
7121
|
}
|
|
7122
7122
|
},
|
|
7123
|
-
"version": "0.0.69-beta.
|
|
7123
|
+
"version": "0.0.69-beta.3"
|
|
7124
7124
|
}
|