@xano/cli 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/base-command.d.ts +2 -0
- package/dist/base-command.js +7 -0
- package/dist/commands/function/create/index.d.ts +1 -0
- package/dist/commands/function/edit/index.d.ts +1 -0
- package/dist/commands/function/get/index.d.ts +1 -0
- package/dist/commands/function/list/index.d.ts +1 -0
- package/dist/commands/profile/edit/index.d.ts +1 -0
- package/dist/commands/profile/me/index.d.ts +1 -0
- package/dist/commands/run/env/delete/index.d.ts +1 -0
- package/dist/commands/run/env/delete/index.js +1 -1
- package/dist/commands/run/env/get/index.d.ts +1 -0
- package/dist/commands/run/env/get/index.js +1 -1
- package/dist/commands/run/env/list/index.d.ts +1 -0
- package/dist/commands/run/env/list/index.js +1 -1
- package/dist/commands/run/env/set/index.d.ts +1 -0
- package/dist/commands/run/env/set/index.js +1 -1
- package/dist/commands/run/exec/index.d.ts +1 -0
- package/dist/commands/run/exec/index.js +11 -2
- package/dist/commands/run/info/index.d.ts +1 -0
- package/dist/commands/run/info/index.js +1 -1
- package/dist/commands/run/projects/create/index.d.ts +1 -0
- package/dist/commands/run/projects/create/index.js +1 -1
- package/dist/commands/run/projects/delete/index.d.ts +1 -0
- package/dist/commands/run/projects/delete/index.js +1 -1
- package/dist/commands/run/projects/list/index.d.ts +1 -0
- package/dist/commands/run/projects/list/index.js +1 -1
- package/dist/commands/run/projects/update/index.d.ts +1 -0
- package/dist/commands/run/projects/update/index.js +1 -1
- package/dist/commands/run/secrets/delete/index.d.ts +1 -0
- package/dist/commands/run/secrets/delete/index.js +1 -1
- package/dist/commands/run/secrets/get/index.d.ts +1 -0
- package/dist/commands/run/secrets/get/index.js +1 -1
- package/dist/commands/run/secrets/list/index.d.ts +1 -0
- package/dist/commands/run/secrets/list/index.js +1 -1
- package/dist/commands/run/secrets/set/index.d.ts +1 -0
- package/dist/commands/run/secrets/set/index.js +1 -1
- package/dist/commands/run/sessions/delete/index.d.ts +1 -0
- package/dist/commands/run/sessions/delete/index.js +1 -1
- package/dist/commands/run/sessions/get/index.d.ts +1 -0
- package/dist/commands/run/sessions/get/index.js +1 -1
- package/dist/commands/run/sessions/list/index.d.ts +1 -0
- package/dist/commands/run/sessions/list/index.js +1 -1
- package/dist/commands/run/sessions/start/index.d.ts +1 -0
- package/dist/commands/run/sessions/start/index.js +1 -1
- package/dist/commands/run/sessions/stop/index.d.ts +1 -0
- package/dist/commands/run/sessions/stop/index.js +1 -1
- package/dist/commands/run/sink/get/index.d.ts +1 -0
- package/dist/commands/run/sink/get/index.js +1 -1
- package/dist/commands/static_host/build/create/index.d.ts +1 -0
- package/dist/commands/static_host/build/get/index.d.ts +1 -0
- package/dist/commands/static_host/build/list/index.d.ts +1 -0
- package/dist/commands/static_host/list/index.d.ts +1 -0
- package/dist/commands/workspace/list/index.d.ts +1 -0
- package/dist/commands/workspace/pull/index.d.ts +1 -0
- package/dist/commands/workspace/push/index.d.ts +1 -0
- package/dist/lib/base-run-command.d.ts +2 -2
- package/dist/lib/base-run-command.js +5 -3
- package/dist/lib/run-http-client.d.ts +6 -0
- package/dist/lib/run-http-client.js +36 -1
- package/oclif.manifest.json +877 -580
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
"multiple": false,
|
|
23
23
|
"type": "option"
|
|
24
24
|
},
|
|
25
|
+
"verbose": {
|
|
26
|
+
"char": "v",
|
|
27
|
+
"description": "Show detailed request/response information",
|
|
28
|
+
"env": "XANO_VERBOSE",
|
|
29
|
+
"name": "verbose",
|
|
30
|
+
"required": false,
|
|
31
|
+
"allowNo": false,
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
},
|
|
25
34
|
"workspace": {
|
|
26
35
|
"char": "w",
|
|
27
36
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -128,6 +137,15 @@
|
|
|
128
137
|
"multiple": false,
|
|
129
138
|
"type": "option"
|
|
130
139
|
},
|
|
140
|
+
"verbose": {
|
|
141
|
+
"char": "v",
|
|
142
|
+
"description": "Show detailed request/response information",
|
|
143
|
+
"env": "XANO_VERBOSE",
|
|
144
|
+
"name": "verbose",
|
|
145
|
+
"required": false,
|
|
146
|
+
"allowNo": false,
|
|
147
|
+
"type": "boolean"
|
|
148
|
+
},
|
|
131
149
|
"workspace": {
|
|
132
150
|
"char": "w",
|
|
133
151
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -236,6 +254,15 @@
|
|
|
236
254
|
"multiple": false,
|
|
237
255
|
"type": "option"
|
|
238
256
|
},
|
|
257
|
+
"verbose": {
|
|
258
|
+
"char": "v",
|
|
259
|
+
"description": "Show detailed request/response information",
|
|
260
|
+
"env": "XANO_VERBOSE",
|
|
261
|
+
"name": "verbose",
|
|
262
|
+
"required": false,
|
|
263
|
+
"allowNo": false,
|
|
264
|
+
"type": "boolean"
|
|
265
|
+
},
|
|
239
266
|
"workspace": {
|
|
240
267
|
"char": "w",
|
|
241
268
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -313,6 +340,15 @@
|
|
|
313
340
|
"multiple": false,
|
|
314
341
|
"type": "option"
|
|
315
342
|
},
|
|
343
|
+
"verbose": {
|
|
344
|
+
"char": "v",
|
|
345
|
+
"description": "Show detailed request/response information",
|
|
346
|
+
"env": "XANO_VERBOSE",
|
|
347
|
+
"name": "verbose",
|
|
348
|
+
"required": false,
|
|
349
|
+
"allowNo": false,
|
|
350
|
+
"type": "boolean"
|
|
351
|
+
},
|
|
316
352
|
"workspace": {
|
|
317
353
|
"char": "w",
|
|
318
354
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -514,6 +550,48 @@
|
|
|
514
550
|
"index.js"
|
|
515
551
|
]
|
|
516
552
|
},
|
|
553
|
+
"profile:delete": {
|
|
554
|
+
"aliases": [],
|
|
555
|
+
"args": {
|
|
556
|
+
"name": {
|
|
557
|
+
"description": "Profile name to delete",
|
|
558
|
+
"name": "name",
|
|
559
|
+
"required": true
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"description": "Delete a profile configuration",
|
|
563
|
+
"examples": [
|
|
564
|
+
"$ xano profile:delete old-profile\nAre you sure you want to delete profile 'old-profile'? (y/n): y\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
565
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
566
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
567
|
+
],
|
|
568
|
+
"flags": {
|
|
569
|
+
"force": {
|
|
570
|
+
"char": "f",
|
|
571
|
+
"description": "Skip confirmation prompt",
|
|
572
|
+
"name": "force",
|
|
573
|
+
"required": false,
|
|
574
|
+
"allowNo": false,
|
|
575
|
+
"type": "boolean"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
"hasDynamicHelp": false,
|
|
579
|
+
"hiddenAliases": [],
|
|
580
|
+
"id": "profile:delete",
|
|
581
|
+
"pluginAlias": "@xano/cli",
|
|
582
|
+
"pluginName": "@xano/cli",
|
|
583
|
+
"pluginType": "core",
|
|
584
|
+
"strict": true,
|
|
585
|
+
"enableJsonFlag": false,
|
|
586
|
+
"isESM": true,
|
|
587
|
+
"relativePath": [
|
|
588
|
+
"dist",
|
|
589
|
+
"commands",
|
|
590
|
+
"profile",
|
|
591
|
+
"delete",
|
|
592
|
+
"index.js"
|
|
593
|
+
]
|
|
594
|
+
},
|
|
517
595
|
"profile:edit": {
|
|
518
596
|
"aliases": [],
|
|
519
597
|
"args": {
|
|
@@ -544,6 +622,15 @@
|
|
|
544
622
|
"multiple": false,
|
|
545
623
|
"type": "option"
|
|
546
624
|
},
|
|
625
|
+
"verbose": {
|
|
626
|
+
"char": "v",
|
|
627
|
+
"description": "Show detailed request/response information",
|
|
628
|
+
"env": "XANO_VERBOSE",
|
|
629
|
+
"name": "verbose",
|
|
630
|
+
"required": false,
|
|
631
|
+
"allowNo": false,
|
|
632
|
+
"type": "boolean"
|
|
633
|
+
},
|
|
547
634
|
"account_origin": {
|
|
548
635
|
"char": "a",
|
|
549
636
|
"description": "Update account origin URL",
|
|
@@ -653,26 +740,20 @@
|
|
|
653
740
|
"index.js"
|
|
654
741
|
]
|
|
655
742
|
},
|
|
656
|
-
"profile:
|
|
743
|
+
"profile:list": {
|
|
657
744
|
"aliases": [],
|
|
658
|
-
"args": {
|
|
659
|
-
|
|
660
|
-
"description": "Profile name to delete",
|
|
661
|
-
"name": "name",
|
|
662
|
-
"required": true
|
|
663
|
-
}
|
|
664
|
-
},
|
|
665
|
-
"description": "Delete a profile configuration",
|
|
745
|
+
"args": {},
|
|
746
|
+
"description": "List all available profile configurations",
|
|
666
747
|
"examples": [
|
|
667
|
-
"$ xano profile:
|
|
668
|
-
"$ xano profile:
|
|
669
|
-
"$ xano profile:
|
|
748
|
+
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
749
|
+
"$ xano profile:list --details\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n\nProfile: production\n Account Origin: https://account.xano.com\n Instance Origin: https://prod-instance.xano.com\n Access Token: ***...***\n",
|
|
750
|
+
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
670
751
|
],
|
|
671
752
|
"flags": {
|
|
672
|
-
"
|
|
673
|
-
"char": "
|
|
674
|
-
"description": "
|
|
675
|
-
"name": "
|
|
753
|
+
"details": {
|
|
754
|
+
"char": "d",
|
|
755
|
+
"description": "Show detailed information for each profile",
|
|
756
|
+
"name": "details",
|
|
676
757
|
"required": false,
|
|
677
758
|
"allowNo": false,
|
|
678
759
|
"type": "boolean"
|
|
@@ -680,7 +761,7 @@
|
|
|
680
761
|
},
|
|
681
762
|
"hasDynamicHelp": false,
|
|
682
763
|
"hiddenAliases": [],
|
|
683
|
-
"id": "profile:
|
|
764
|
+
"id": "profile:list",
|
|
684
765
|
"pluginAlias": "@xano/cli",
|
|
685
766
|
"pluginName": "@xano/cli",
|
|
686
767
|
"pluginType": "core",
|
|
@@ -691,32 +772,22 @@
|
|
|
691
772
|
"dist",
|
|
692
773
|
"commands",
|
|
693
774
|
"profile",
|
|
694
|
-
"
|
|
775
|
+
"list",
|
|
695
776
|
"index.js"
|
|
696
777
|
]
|
|
697
778
|
},
|
|
698
|
-
"profile:
|
|
779
|
+
"profile:get-default": {
|
|
699
780
|
"aliases": [],
|
|
700
781
|
"args": {},
|
|
701
|
-
"description": "
|
|
782
|
+
"description": "Get the current default profile name",
|
|
702
783
|
"examples": [
|
|
703
|
-
"$ xano profile:
|
|
704
|
-
"$ xano profile:
|
|
705
|
-
"$ xano profile:list -d\nAvailable profiles:\n\nProfile: default\n Account Origin: https://account.xano.com\n Instance Origin: https://instance.xano.com\n Access Token: ***...***\n Workspace: my-workspace\n Branch: main\n Project: my-project\n"
|
|
784
|
+
"$ xano profile:get-default\nproduction\n",
|
|
785
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
706
786
|
],
|
|
707
|
-
"flags": {
|
|
708
|
-
"details": {
|
|
709
|
-
"char": "d",
|
|
710
|
-
"description": "Show detailed information for each profile",
|
|
711
|
-
"name": "details",
|
|
712
|
-
"required": false,
|
|
713
|
-
"allowNo": false,
|
|
714
|
-
"type": "boolean"
|
|
715
|
-
}
|
|
716
|
-
},
|
|
787
|
+
"flags": {},
|
|
717
788
|
"hasDynamicHelp": false,
|
|
718
789
|
"hiddenAliases": [],
|
|
719
|
-
"id": "profile:
|
|
790
|
+
"id": "profile:get-default",
|
|
720
791
|
"pluginAlias": "@xano/cli",
|
|
721
792
|
"pluginName": "@xano/cli",
|
|
722
793
|
"pluginType": "core",
|
|
@@ -727,7 +798,7 @@
|
|
|
727
798
|
"dist",
|
|
728
799
|
"commands",
|
|
729
800
|
"profile",
|
|
730
|
-
"
|
|
801
|
+
"get-default",
|
|
731
802
|
"index.js"
|
|
732
803
|
]
|
|
733
804
|
},
|
|
@@ -751,6 +822,15 @@
|
|
|
751
822
|
"multiple": false,
|
|
752
823
|
"type": "option"
|
|
753
824
|
},
|
|
825
|
+
"verbose": {
|
|
826
|
+
"char": "v",
|
|
827
|
+
"description": "Show detailed request/response information",
|
|
828
|
+
"env": "XANO_VERBOSE",
|
|
829
|
+
"name": "verbose",
|
|
830
|
+
"required": false,
|
|
831
|
+
"allowNo": false,
|
|
832
|
+
"type": "boolean"
|
|
833
|
+
},
|
|
754
834
|
"output": {
|
|
755
835
|
"char": "o",
|
|
756
836
|
"description": "Output format",
|
|
@@ -783,24 +863,18 @@
|
|
|
783
863
|
"index.js"
|
|
784
864
|
]
|
|
785
865
|
},
|
|
786
|
-
"profile:
|
|
866
|
+
"profile:project": {
|
|
787
867
|
"aliases": [],
|
|
788
|
-
"args": {
|
|
789
|
-
|
|
790
|
-
"description": "Profile name to set as default",
|
|
791
|
-
"name": "name",
|
|
792
|
-
"required": true
|
|
793
|
-
}
|
|
794
|
-
},
|
|
795
|
-
"description": "Set the default profile",
|
|
868
|
+
"args": {},
|
|
869
|
+
"description": "Print the project for the default profile",
|
|
796
870
|
"examples": [
|
|
797
|
-
"$ xano profile:
|
|
798
|
-
"$ xano profile:
|
|
871
|
+
"$ xano profile:project\nmy-project-id\n",
|
|
872
|
+
"$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
|
|
799
873
|
],
|
|
800
874
|
"flags": {},
|
|
801
875
|
"hasDynamicHelp": false,
|
|
802
876
|
"hiddenAliases": [],
|
|
803
|
-
"id": "profile:
|
|
877
|
+
"id": "profile:project",
|
|
804
878
|
"pluginAlias": "@xano/cli",
|
|
805
879
|
"pluginName": "@xano/cli",
|
|
806
880
|
"pluginType": "core",
|
|
@@ -811,22 +885,28 @@
|
|
|
811
885
|
"dist",
|
|
812
886
|
"commands",
|
|
813
887
|
"profile",
|
|
814
|
-
"
|
|
888
|
+
"project",
|
|
815
889
|
"index.js"
|
|
816
890
|
]
|
|
817
891
|
},
|
|
818
|
-
"profile:
|
|
892
|
+
"profile:set-default": {
|
|
819
893
|
"aliases": [],
|
|
820
|
-
"args": {
|
|
821
|
-
|
|
894
|
+
"args": {
|
|
895
|
+
"name": {
|
|
896
|
+
"description": "Profile name to set as default",
|
|
897
|
+
"name": "name",
|
|
898
|
+
"required": true
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
"description": "Set the default profile",
|
|
822
902
|
"examples": [
|
|
823
|
-
"$ xano profile:
|
|
824
|
-
"$ xano profile:
|
|
903
|
+
"$ xano profile:set-default production\nDefault profile set to 'production'\n",
|
|
904
|
+
"$ xano profile:set-default staging\nDefault profile set to 'staging'\n"
|
|
825
905
|
],
|
|
826
906
|
"flags": {},
|
|
827
907
|
"hasDynamicHelp": false,
|
|
828
908
|
"hiddenAliases": [],
|
|
829
|
-
"id": "profile:
|
|
909
|
+
"id": "profile:set-default",
|
|
830
910
|
"pluginAlias": "@xano/cli",
|
|
831
911
|
"pluginName": "@xano/cli",
|
|
832
912
|
"pluginType": "core",
|
|
@@ -837,7 +917,7 @@
|
|
|
837
917
|
"dist",
|
|
838
918
|
"commands",
|
|
839
919
|
"profile",
|
|
840
|
-
"
|
|
920
|
+
"set-default",
|
|
841
921
|
"index.js"
|
|
842
922
|
]
|
|
843
923
|
},
|
|
@@ -912,40 +992,15 @@
|
|
|
912
992
|
"index.js"
|
|
913
993
|
]
|
|
914
994
|
},
|
|
915
|
-
"
|
|
916
|
-
"aliases": [],
|
|
917
|
-
"args": {},
|
|
918
|
-
"description": "Get the current default profile name",
|
|
919
|
-
"examples": [
|
|
920
|
-
"$ xano profile:get-default\nproduction\n",
|
|
921
|
-
"$ xano profile:get-default\nNo default profile set\n"
|
|
922
|
-
],
|
|
923
|
-
"flags": {},
|
|
924
|
-
"hasDynamicHelp": false,
|
|
925
|
-
"hiddenAliases": [],
|
|
926
|
-
"id": "profile:get-default",
|
|
927
|
-
"pluginAlias": "@xano/cli",
|
|
928
|
-
"pluginName": "@xano/cli",
|
|
929
|
-
"pluginType": "core",
|
|
930
|
-
"strict": true,
|
|
931
|
-
"enableJsonFlag": false,
|
|
932
|
-
"isESM": true,
|
|
933
|
-
"relativePath": [
|
|
934
|
-
"dist",
|
|
935
|
-
"commands",
|
|
936
|
-
"profile",
|
|
937
|
-
"get-default",
|
|
938
|
-
"index.js"
|
|
939
|
-
]
|
|
940
|
-
},
|
|
941
|
-
"run:info": {
|
|
995
|
+
"static_host:list": {
|
|
942
996
|
"aliases": [],
|
|
943
997
|
"args": {},
|
|
944
|
-
"description": "
|
|
998
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
945
999
|
"examples": [
|
|
946
|
-
"$ xano
|
|
947
|
-
"$
|
|
948
|
-
"$ xano
|
|
1000
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1001
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
1002
|
+
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
1003
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
949
1004
|
],
|
|
950
1005
|
"flags": {
|
|
951
1006
|
"profile": {
|
|
@@ -958,29 +1013,24 @@
|
|
|
958
1013
|
"multiple": false,
|
|
959
1014
|
"type": "option"
|
|
960
1015
|
},
|
|
961
|
-
"
|
|
962
|
-
"char": "
|
|
963
|
-
"description": "
|
|
964
|
-
"
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
"
|
|
1016
|
+
"verbose": {
|
|
1017
|
+
"char": "v",
|
|
1018
|
+
"description": "Show detailed request/response information",
|
|
1019
|
+
"env": "XANO_VERBOSE",
|
|
1020
|
+
"name": "verbose",
|
|
1021
|
+
"required": false,
|
|
1022
|
+
"allowNo": false,
|
|
1023
|
+
"type": "boolean"
|
|
1024
|
+
},
|
|
1025
|
+
"workspace": {
|
|
1026
|
+
"char": "w",
|
|
1027
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1028
|
+
"name": "workspace",
|
|
968
1029
|
"required": false,
|
|
969
1030
|
"hasDynamicHelp": false,
|
|
970
1031
|
"multiple": false,
|
|
971
1032
|
"type": "option"
|
|
972
1033
|
},
|
|
973
|
-
"stdin": {
|
|
974
|
-
"char": "s",
|
|
975
|
-
"description": "Read XanoScript code from stdin",
|
|
976
|
-
"exclusive": [
|
|
977
|
-
"file"
|
|
978
|
-
],
|
|
979
|
-
"name": "stdin",
|
|
980
|
-
"required": false,
|
|
981
|
-
"allowNo": false,
|
|
982
|
-
"type": "boolean"
|
|
983
|
-
},
|
|
984
1034
|
"output": {
|
|
985
1035
|
"char": "o",
|
|
986
1036
|
"description": "Output format",
|
|
@@ -994,21 +1044,40 @@
|
|
|
994
1044
|
"json"
|
|
995
1045
|
],
|
|
996
1046
|
"type": "option"
|
|
1047
|
+
},
|
|
1048
|
+
"page": {
|
|
1049
|
+
"description": "Page number for pagination",
|
|
1050
|
+
"name": "page",
|
|
1051
|
+
"required": false,
|
|
1052
|
+
"default": 1,
|
|
1053
|
+
"hasDynamicHelp": false,
|
|
1054
|
+
"multiple": false,
|
|
1055
|
+
"type": "option"
|
|
1056
|
+
},
|
|
1057
|
+
"per_page": {
|
|
1058
|
+
"description": "Number of results per page",
|
|
1059
|
+
"name": "per_page",
|
|
1060
|
+
"required": false,
|
|
1061
|
+
"default": 50,
|
|
1062
|
+
"hasDynamicHelp": false,
|
|
1063
|
+
"multiple": false,
|
|
1064
|
+
"type": "option"
|
|
997
1065
|
}
|
|
998
1066
|
},
|
|
999
1067
|
"hasDynamicHelp": false,
|
|
1000
1068
|
"hiddenAliases": [],
|
|
1001
|
-
"id": "
|
|
1069
|
+
"id": "static_host:list",
|
|
1002
1070
|
"pluginAlias": "@xano/cli",
|
|
1003
1071
|
"pluginName": "@xano/cli",
|
|
1004
1072
|
"pluginType": "core",
|
|
1005
1073
|
"strict": true,
|
|
1074
|
+
"enableJsonFlag": false,
|
|
1006
1075
|
"isESM": true,
|
|
1007
1076
|
"relativePath": [
|
|
1008
1077
|
"dist",
|
|
1009
1078
|
"commands",
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1079
|
+
"static_host",
|
|
1080
|
+
"list",
|
|
1012
1081
|
"index.js"
|
|
1013
1082
|
]
|
|
1014
1083
|
},
|
|
@@ -1042,7 +1111,16 @@
|
|
|
1042
1111
|
"multiple": false,
|
|
1043
1112
|
"type": "option"
|
|
1044
1113
|
},
|
|
1045
|
-
"
|
|
1114
|
+
"verbose": {
|
|
1115
|
+
"char": "v",
|
|
1116
|
+
"description": "Show detailed request/response information",
|
|
1117
|
+
"env": "XANO_VERBOSE",
|
|
1118
|
+
"name": "verbose",
|
|
1119
|
+
"required": false,
|
|
1120
|
+
"allowNo": false,
|
|
1121
|
+
"type": "boolean"
|
|
1122
|
+
},
|
|
1123
|
+
"file": {
|
|
1046
1124
|
"char": "f",
|
|
1047
1125
|
"description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
|
|
1048
1126
|
"exclusive": [
|
|
@@ -1121,15 +1199,14 @@
|
|
|
1121
1199
|
"index.js"
|
|
1122
1200
|
]
|
|
1123
1201
|
},
|
|
1124
|
-
"
|
|
1202
|
+
"run:info": {
|
|
1125
1203
|
"aliases": [],
|
|
1126
1204
|
"args": {},
|
|
1127
|
-
"description": "
|
|
1205
|
+
"description": "Get information about a XanoScript document (type, inputs, env vars)",
|
|
1128
1206
|
"examples": [
|
|
1129
|
-
"$ xano
|
|
1130
|
-
"$ xano
|
|
1131
|
-
"$ xano
|
|
1132
|
-
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
1207
|
+
"$ xano run info -f script.xs\nDocument Info:\n Type: job\n Inputs:\n - name (string, required)\n - count (number, optional)\n Environment Variables:\n - API_KEY\n - DEBUG\n",
|
|
1208
|
+
"$ cat script.xs | xano run info --stdin\nDocument Info:\n Type: service\n Inputs: none\n Environment Variables: none\n",
|
|
1209
|
+
"$ xano run info -f script.xs -o json\n{ \"type\": \"job\", \"input\": { \"name\": {...} }, \"env\": [\"API_KEY\"] }\n"
|
|
1133
1210
|
],
|
|
1134
1211
|
"flags": {
|
|
1135
1212
|
"profile": {
|
|
@@ -1142,6 +1219,38 @@
|
|
|
1142
1219
|
"multiple": false,
|
|
1143
1220
|
"type": "option"
|
|
1144
1221
|
},
|
|
1222
|
+
"verbose": {
|
|
1223
|
+
"char": "v",
|
|
1224
|
+
"description": "Show detailed request/response information",
|
|
1225
|
+
"env": "XANO_VERBOSE",
|
|
1226
|
+
"name": "verbose",
|
|
1227
|
+
"required": false,
|
|
1228
|
+
"allowNo": false,
|
|
1229
|
+
"type": "boolean"
|
|
1230
|
+
},
|
|
1231
|
+
"file": {
|
|
1232
|
+
"char": "f",
|
|
1233
|
+
"description": "Path or URL to file containing XanoScript code",
|
|
1234
|
+
"exclusive": [
|
|
1235
|
+
"stdin"
|
|
1236
|
+
],
|
|
1237
|
+
"name": "file",
|
|
1238
|
+
"required": false,
|
|
1239
|
+
"hasDynamicHelp": false,
|
|
1240
|
+
"multiple": false,
|
|
1241
|
+
"type": "option"
|
|
1242
|
+
},
|
|
1243
|
+
"stdin": {
|
|
1244
|
+
"char": "s",
|
|
1245
|
+
"description": "Read XanoScript code from stdin",
|
|
1246
|
+
"exclusive": [
|
|
1247
|
+
"file"
|
|
1248
|
+
],
|
|
1249
|
+
"name": "stdin",
|
|
1250
|
+
"required": false,
|
|
1251
|
+
"allowNo": false,
|
|
1252
|
+
"type": "boolean"
|
|
1253
|
+
},
|
|
1145
1254
|
"output": {
|
|
1146
1255
|
"char": "o",
|
|
1147
1256
|
"description": "Output format",
|
|
@@ -1159,30 +1268,29 @@
|
|
|
1159
1268
|
},
|
|
1160
1269
|
"hasDynamicHelp": false,
|
|
1161
1270
|
"hiddenAliases": [],
|
|
1162
|
-
"id": "
|
|
1271
|
+
"id": "run:info",
|
|
1163
1272
|
"pluginAlias": "@xano/cli",
|
|
1164
1273
|
"pluginName": "@xano/cli",
|
|
1165
1274
|
"pluginType": "core",
|
|
1166
1275
|
"strict": true,
|
|
1167
|
-
"enableJsonFlag": false,
|
|
1168
1276
|
"isESM": true,
|
|
1169
1277
|
"relativePath": [
|
|
1170
1278
|
"dist",
|
|
1171
1279
|
"commands",
|
|
1172
|
-
"
|
|
1173
|
-
"
|
|
1280
|
+
"run",
|
|
1281
|
+
"info",
|
|
1174
1282
|
"index.js"
|
|
1175
1283
|
]
|
|
1176
1284
|
},
|
|
1177
|
-
"
|
|
1285
|
+
"workspace:list": {
|
|
1178
1286
|
"aliases": [],
|
|
1179
1287
|
"args": {},
|
|
1180
|
-
"description": "List all
|
|
1288
|
+
"description": "List all workspaces from the Xano Metadata API",
|
|
1181
1289
|
"examples": [
|
|
1182
|
-
"$ xano
|
|
1183
|
-
"$ xano
|
|
1184
|
-
"$ xano
|
|
1185
|
-
"$ xano
|
|
1290
|
+
"$ xano workspace:list\nAvailable workspaces:\n - workspace-1 (ID: 1)\n - workspace-2 (ID: 2)\n - workspace-3 (ID: 3)\n",
|
|
1291
|
+
"$ xano workspace:list --profile production\nAvailable workspaces:\n - my-app (ID: 1)\n - staging-env (ID: 2)\n",
|
|
1292
|
+
"$ xano workspace:list --output json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"workspace-1\"\n },\n {\n \"id\": 2,\n \"name\": \"workspace-2\"\n }\n ]\n}\n",
|
|
1293
|
+
"$ xano workspace:list -p staging -o json\n{\n \"workspaces\": [\n {\n \"id\": 1,\n \"name\": \"my-app\"\n }\n ]\n}\n"
|
|
1186
1294
|
],
|
|
1187
1295
|
"flags": {
|
|
1188
1296
|
"profile": {
|
|
@@ -1195,14 +1303,14 @@
|
|
|
1195
1303
|
"multiple": false,
|
|
1196
1304
|
"type": "option"
|
|
1197
1305
|
},
|
|
1198
|
-
"
|
|
1199
|
-
"char": "
|
|
1200
|
-
"description": "
|
|
1201
|
-
"
|
|
1306
|
+
"verbose": {
|
|
1307
|
+
"char": "v",
|
|
1308
|
+
"description": "Show detailed request/response information",
|
|
1309
|
+
"env": "XANO_VERBOSE",
|
|
1310
|
+
"name": "verbose",
|
|
1202
1311
|
"required": false,
|
|
1203
|
-
"
|
|
1204
|
-
"
|
|
1205
|
-
"type": "option"
|
|
1312
|
+
"allowNo": false,
|
|
1313
|
+
"type": "boolean"
|
|
1206
1314
|
},
|
|
1207
1315
|
"output": {
|
|
1208
1316
|
"char": "o",
|
|
@@ -1217,29 +1325,11 @@
|
|
|
1217
1325
|
"json"
|
|
1218
1326
|
],
|
|
1219
1327
|
"type": "option"
|
|
1220
|
-
},
|
|
1221
|
-
"page": {
|
|
1222
|
-
"description": "Page number for pagination",
|
|
1223
|
-
"name": "page",
|
|
1224
|
-
"required": false,
|
|
1225
|
-
"default": 1,
|
|
1226
|
-
"hasDynamicHelp": false,
|
|
1227
|
-
"multiple": false,
|
|
1228
|
-
"type": "option"
|
|
1229
|
-
},
|
|
1230
|
-
"per_page": {
|
|
1231
|
-
"description": "Number of results per page",
|
|
1232
|
-
"name": "per_page",
|
|
1233
|
-
"required": false,
|
|
1234
|
-
"default": 50,
|
|
1235
|
-
"hasDynamicHelp": false,
|
|
1236
|
-
"multiple": false,
|
|
1237
|
-
"type": "option"
|
|
1238
1328
|
}
|
|
1239
1329
|
},
|
|
1240
1330
|
"hasDynamicHelp": false,
|
|
1241
1331
|
"hiddenAliases": [],
|
|
1242
|
-
"id": "
|
|
1332
|
+
"id": "workspace:list",
|
|
1243
1333
|
"pluginAlias": "@xano/cli",
|
|
1244
1334
|
"pluginName": "@xano/cli",
|
|
1245
1335
|
"pluginType": "core",
|
|
@@ -1249,7 +1339,7 @@
|
|
|
1249
1339
|
"relativePath": [
|
|
1250
1340
|
"dist",
|
|
1251
1341
|
"commands",
|
|
1252
|
-
"
|
|
1342
|
+
"workspace",
|
|
1253
1343
|
"list",
|
|
1254
1344
|
"index.js"
|
|
1255
1345
|
]
|
|
@@ -1280,6 +1370,15 @@
|
|
|
1280
1370
|
"multiple": false,
|
|
1281
1371
|
"type": "option"
|
|
1282
1372
|
},
|
|
1373
|
+
"verbose": {
|
|
1374
|
+
"char": "v",
|
|
1375
|
+
"description": "Show detailed request/response information",
|
|
1376
|
+
"env": "XANO_VERBOSE",
|
|
1377
|
+
"name": "verbose",
|
|
1378
|
+
"required": false,
|
|
1379
|
+
"allowNo": false,
|
|
1380
|
+
"type": "boolean"
|
|
1381
|
+
},
|
|
1283
1382
|
"workspace": {
|
|
1284
1383
|
"char": "w",
|
|
1285
1384
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1347,6 +1446,15 @@
|
|
|
1347
1446
|
"multiple": false,
|
|
1348
1447
|
"type": "option"
|
|
1349
1448
|
},
|
|
1449
|
+
"verbose": {
|
|
1450
|
+
"char": "v",
|
|
1451
|
+
"description": "Show detailed request/response information",
|
|
1452
|
+
"env": "XANO_VERBOSE",
|
|
1453
|
+
"name": "verbose",
|
|
1454
|
+
"required": false,
|
|
1455
|
+
"allowNo": false,
|
|
1456
|
+
"type": "boolean"
|
|
1457
|
+
},
|
|
1350
1458
|
"workspace": {
|
|
1351
1459
|
"char": "w",
|
|
1352
1460
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1374,19 +1482,20 @@
|
|
|
1374
1482
|
"index.js"
|
|
1375
1483
|
]
|
|
1376
1484
|
},
|
|
1377
|
-
"
|
|
1485
|
+
"static_host:build:create": {
|
|
1378
1486
|
"aliases": [],
|
|
1379
1487
|
"args": {
|
|
1380
|
-
"
|
|
1381
|
-
"description": "
|
|
1382
|
-
"name": "
|
|
1488
|
+
"static_host": {
|
|
1489
|
+
"description": "Static Host name",
|
|
1490
|
+
"name": "static_host",
|
|
1383
1491
|
"required": true
|
|
1384
1492
|
}
|
|
1385
1493
|
},
|
|
1386
|
-
"description": "
|
|
1494
|
+
"description": "Create a new build for a static host",
|
|
1387
1495
|
"examples": [
|
|
1388
|
-
"$ xano
|
|
1389
|
-
"$ xano
|
|
1496
|
+
"$ 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",
|
|
1497
|
+
"$ 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",
|
|
1498
|
+
"$ 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"
|
|
1390
1499
|
],
|
|
1391
1500
|
"flags": {
|
|
1392
1501
|
"profile": {
|
|
@@ -1399,45 +1508,104 @@
|
|
|
1399
1508
|
"multiple": false,
|
|
1400
1509
|
"type": "option"
|
|
1401
1510
|
},
|
|
1402
|
-
"
|
|
1403
|
-
"char": "
|
|
1404
|
-
"description": "
|
|
1405
|
-
"
|
|
1511
|
+
"verbose": {
|
|
1512
|
+
"char": "v",
|
|
1513
|
+
"description": "Show detailed request/response information",
|
|
1514
|
+
"env": "XANO_VERBOSE",
|
|
1515
|
+
"name": "verbose",
|
|
1406
1516
|
"required": false,
|
|
1407
1517
|
"allowNo": false,
|
|
1408
1518
|
"type": "boolean"
|
|
1519
|
+
},
|
|
1520
|
+
"workspace": {
|
|
1521
|
+
"char": "w",
|
|
1522
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1523
|
+
"name": "workspace",
|
|
1524
|
+
"required": false,
|
|
1525
|
+
"hasDynamicHelp": false,
|
|
1526
|
+
"multiple": false,
|
|
1527
|
+
"type": "option"
|
|
1528
|
+
},
|
|
1529
|
+
"file": {
|
|
1530
|
+
"char": "f",
|
|
1531
|
+
"description": "Path to zip file to upload",
|
|
1532
|
+
"name": "file",
|
|
1533
|
+
"required": true,
|
|
1534
|
+
"hasDynamicHelp": false,
|
|
1535
|
+
"multiple": false,
|
|
1536
|
+
"type": "option"
|
|
1537
|
+
},
|
|
1538
|
+
"name": {
|
|
1539
|
+
"char": "n",
|
|
1540
|
+
"description": "Build name",
|
|
1541
|
+
"name": "name",
|
|
1542
|
+
"required": true,
|
|
1543
|
+
"hasDynamicHelp": false,
|
|
1544
|
+
"multiple": false,
|
|
1545
|
+
"type": "option"
|
|
1546
|
+
},
|
|
1547
|
+
"description": {
|
|
1548
|
+
"char": "d",
|
|
1549
|
+
"description": "Build description",
|
|
1550
|
+
"name": "description",
|
|
1551
|
+
"required": false,
|
|
1552
|
+
"hasDynamicHelp": false,
|
|
1553
|
+
"multiple": false,
|
|
1554
|
+
"type": "option"
|
|
1555
|
+
},
|
|
1556
|
+
"output": {
|
|
1557
|
+
"char": "o",
|
|
1558
|
+
"description": "Output format",
|
|
1559
|
+
"name": "output",
|
|
1560
|
+
"required": false,
|
|
1561
|
+
"default": "summary",
|
|
1562
|
+
"hasDynamicHelp": false,
|
|
1563
|
+
"multiple": false,
|
|
1564
|
+
"options": [
|
|
1565
|
+
"summary",
|
|
1566
|
+
"json"
|
|
1567
|
+
],
|
|
1568
|
+
"type": "option"
|
|
1409
1569
|
}
|
|
1410
1570
|
},
|
|
1411
1571
|
"hasDynamicHelp": false,
|
|
1412
1572
|
"hiddenAliases": [],
|
|
1413
|
-
"id": "
|
|
1573
|
+
"id": "static_host:build:create",
|
|
1414
1574
|
"pluginAlias": "@xano/cli",
|
|
1415
1575
|
"pluginName": "@xano/cli",
|
|
1416
1576
|
"pluginType": "core",
|
|
1417
1577
|
"strict": true,
|
|
1578
|
+
"enableJsonFlag": false,
|
|
1418
1579
|
"isESM": true,
|
|
1419
1580
|
"relativePath": [
|
|
1420
1581
|
"dist",
|
|
1421
1582
|
"commands",
|
|
1422
|
-
"
|
|
1423
|
-
"
|
|
1424
|
-
"
|
|
1583
|
+
"static_host",
|
|
1584
|
+
"build",
|
|
1585
|
+
"create",
|
|
1425
1586
|
"index.js"
|
|
1426
1587
|
]
|
|
1427
1588
|
},
|
|
1428
|
-
"
|
|
1589
|
+
"static_host:build:get": {
|
|
1429
1590
|
"aliases": [],
|
|
1430
1591
|
"args": {
|
|
1431
|
-
"
|
|
1432
|
-
"description": "
|
|
1433
|
-
"name": "
|
|
1592
|
+
"static_host": {
|
|
1593
|
+
"description": "Static Host name",
|
|
1594
|
+
"name": "static_host",
|
|
1595
|
+
"required": true
|
|
1596
|
+
},
|
|
1597
|
+
"build_id": {
|
|
1598
|
+
"description": "Build ID",
|
|
1599
|
+
"name": "build_id",
|
|
1434
1600
|
"required": true
|
|
1435
1601
|
}
|
|
1436
1602
|
},
|
|
1437
|
-
"description": "Get
|
|
1603
|
+
"description": "Get details of a specific build for a static host",
|
|
1438
1604
|
"examples": [
|
|
1439
|
-
"$ xano
|
|
1440
|
-
"$ xano
|
|
1605
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
1606
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
1607
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
1608
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
1441
1609
|
],
|
|
1442
1610
|
"flags": {
|
|
1443
1611
|
"profile": {
|
|
@@ -1450,16 +1618,34 @@
|
|
|
1450
1618
|
"multiple": false,
|
|
1451
1619
|
"type": "option"
|
|
1452
1620
|
},
|
|
1621
|
+
"verbose": {
|
|
1622
|
+
"char": "v",
|
|
1623
|
+
"description": "Show detailed request/response information",
|
|
1624
|
+
"env": "XANO_VERBOSE",
|
|
1625
|
+
"name": "verbose",
|
|
1626
|
+
"required": false,
|
|
1627
|
+
"allowNo": false,
|
|
1628
|
+
"type": "boolean"
|
|
1629
|
+
},
|
|
1630
|
+
"workspace": {
|
|
1631
|
+
"char": "w",
|
|
1632
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1633
|
+
"name": "workspace",
|
|
1634
|
+
"required": false,
|
|
1635
|
+
"hasDynamicHelp": false,
|
|
1636
|
+
"multiple": false,
|
|
1637
|
+
"type": "option"
|
|
1638
|
+
},
|
|
1453
1639
|
"output": {
|
|
1454
1640
|
"char": "o",
|
|
1455
1641
|
"description": "Output format",
|
|
1456
1642
|
"name": "output",
|
|
1457
1643
|
"required": false,
|
|
1458
|
-
"default": "
|
|
1644
|
+
"default": "summary",
|
|
1459
1645
|
"hasDynamicHelp": false,
|
|
1460
1646
|
"multiple": false,
|
|
1461
1647
|
"options": [
|
|
1462
|
-
"
|
|
1648
|
+
"summary",
|
|
1463
1649
|
"json"
|
|
1464
1650
|
],
|
|
1465
1651
|
"type": "option"
|
|
@@ -1467,39 +1653,37 @@
|
|
|
1467
1653
|
},
|
|
1468
1654
|
"hasDynamicHelp": false,
|
|
1469
1655
|
"hiddenAliases": [],
|
|
1470
|
-
"id": "
|
|
1656
|
+
"id": "static_host:build:get",
|
|
1471
1657
|
"pluginAlias": "@xano/cli",
|
|
1472
1658
|
"pluginName": "@xano/cli",
|
|
1473
1659
|
"pluginType": "core",
|
|
1474
1660
|
"strict": true,
|
|
1661
|
+
"enableJsonFlag": false,
|
|
1475
1662
|
"isESM": true,
|
|
1476
1663
|
"relativePath": [
|
|
1477
1664
|
"dist",
|
|
1478
1665
|
"commands",
|
|
1479
|
-
"
|
|
1480
|
-
"
|
|
1666
|
+
"static_host",
|
|
1667
|
+
"build",
|
|
1481
1668
|
"get",
|
|
1482
1669
|
"index.js"
|
|
1483
1670
|
]
|
|
1484
1671
|
},
|
|
1485
|
-
"
|
|
1672
|
+
"static_host:build:list": {
|
|
1486
1673
|
"aliases": [],
|
|
1487
1674
|
"args": {
|
|
1488
|
-
"
|
|
1489
|
-
"description": "
|
|
1490
|
-
"name": "
|
|
1491
|
-
"required": true
|
|
1492
|
-
},
|
|
1493
|
-
"value": {
|
|
1494
|
-
"description": "Environment variable value",
|
|
1495
|
-
"name": "value",
|
|
1675
|
+
"static_host": {
|
|
1676
|
+
"description": "Static Host name",
|
|
1677
|
+
"name": "static_host",
|
|
1496
1678
|
"required": true
|
|
1497
1679
|
}
|
|
1498
1680
|
},
|
|
1499
|
-
"description": "
|
|
1681
|
+
"description": "List all builds for a static host",
|
|
1500
1682
|
"examples": [
|
|
1501
|
-
"$ xano
|
|
1502
|
-
"$ xano
|
|
1683
|
+
"$ 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",
|
|
1684
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
1685
|
+
"$ 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",
|
|
1686
|
+
"$ 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"
|
|
1503
1687
|
],
|
|
1504
1688
|
"flags": {
|
|
1505
1689
|
"profile": {
|
|
@@ -1511,11 +1695,122 @@
|
|
|
1511
1695
|
"hasDynamicHelp": false,
|
|
1512
1696
|
"multiple": false,
|
|
1513
1697
|
"type": "option"
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1698
|
+
},
|
|
1699
|
+
"verbose": {
|
|
1700
|
+
"char": "v",
|
|
1701
|
+
"description": "Show detailed request/response information",
|
|
1702
|
+
"env": "XANO_VERBOSE",
|
|
1703
|
+
"name": "verbose",
|
|
1704
|
+
"required": false,
|
|
1705
|
+
"allowNo": false,
|
|
1706
|
+
"type": "boolean"
|
|
1707
|
+
},
|
|
1708
|
+
"workspace": {
|
|
1709
|
+
"char": "w",
|
|
1710
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1711
|
+
"name": "workspace",
|
|
1712
|
+
"required": false,
|
|
1713
|
+
"hasDynamicHelp": false,
|
|
1714
|
+
"multiple": false,
|
|
1715
|
+
"type": "option"
|
|
1716
|
+
},
|
|
1717
|
+
"output": {
|
|
1718
|
+
"char": "o",
|
|
1719
|
+
"description": "Output format",
|
|
1720
|
+
"name": "output",
|
|
1721
|
+
"required": false,
|
|
1722
|
+
"default": "summary",
|
|
1723
|
+
"hasDynamicHelp": false,
|
|
1724
|
+
"multiple": false,
|
|
1725
|
+
"options": [
|
|
1726
|
+
"summary",
|
|
1727
|
+
"json"
|
|
1728
|
+
],
|
|
1729
|
+
"type": "option"
|
|
1730
|
+
},
|
|
1731
|
+
"page": {
|
|
1732
|
+
"description": "Page number for pagination",
|
|
1733
|
+
"name": "page",
|
|
1734
|
+
"required": false,
|
|
1735
|
+
"default": 1,
|
|
1736
|
+
"hasDynamicHelp": false,
|
|
1737
|
+
"multiple": false,
|
|
1738
|
+
"type": "option"
|
|
1739
|
+
},
|
|
1740
|
+
"per_page": {
|
|
1741
|
+
"description": "Number of results per page",
|
|
1742
|
+
"name": "per_page",
|
|
1743
|
+
"required": false,
|
|
1744
|
+
"default": 50,
|
|
1745
|
+
"hasDynamicHelp": false,
|
|
1746
|
+
"multiple": false,
|
|
1747
|
+
"type": "option"
|
|
1748
|
+
}
|
|
1749
|
+
},
|
|
1750
|
+
"hasDynamicHelp": false,
|
|
1751
|
+
"hiddenAliases": [],
|
|
1752
|
+
"id": "static_host:build:list",
|
|
1753
|
+
"pluginAlias": "@xano/cli",
|
|
1754
|
+
"pluginName": "@xano/cli",
|
|
1755
|
+
"pluginType": "core",
|
|
1756
|
+
"strict": true,
|
|
1757
|
+
"enableJsonFlag": false,
|
|
1758
|
+
"isESM": true,
|
|
1759
|
+
"relativePath": [
|
|
1760
|
+
"dist",
|
|
1761
|
+
"commands",
|
|
1762
|
+
"static_host",
|
|
1763
|
+
"build",
|
|
1764
|
+
"list",
|
|
1765
|
+
"index.js"
|
|
1766
|
+
]
|
|
1767
|
+
},
|
|
1768
|
+
"run:env:delete": {
|
|
1769
|
+
"aliases": [],
|
|
1770
|
+
"args": {
|
|
1771
|
+
"name": {
|
|
1772
|
+
"description": "Environment variable name",
|
|
1773
|
+
"name": "name",
|
|
1774
|
+
"required": true
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
"description": "Delete an environment variable",
|
|
1778
|
+
"examples": [
|
|
1779
|
+
"$ xano run env delete API_KEY\nAre you sure you want to delete environment variable 'API_KEY'? (y/N)\nEnvironment variable 'API_KEY' deleted successfully!\n",
|
|
1780
|
+
"$ xano run env delete API_KEY --force\nEnvironment variable 'API_KEY' deleted successfully!\n"
|
|
1781
|
+
],
|
|
1782
|
+
"flags": {
|
|
1783
|
+
"profile": {
|
|
1784
|
+
"char": "p",
|
|
1785
|
+
"description": "Profile to use for this command",
|
|
1786
|
+
"env": "XANO_PROFILE",
|
|
1787
|
+
"name": "profile",
|
|
1788
|
+
"required": false,
|
|
1789
|
+
"hasDynamicHelp": false,
|
|
1790
|
+
"multiple": false,
|
|
1791
|
+
"type": "option"
|
|
1792
|
+
},
|
|
1793
|
+
"verbose": {
|
|
1794
|
+
"char": "v",
|
|
1795
|
+
"description": "Show detailed request/response information",
|
|
1796
|
+
"env": "XANO_VERBOSE",
|
|
1797
|
+
"name": "verbose",
|
|
1798
|
+
"required": false,
|
|
1799
|
+
"allowNo": false,
|
|
1800
|
+
"type": "boolean"
|
|
1801
|
+
},
|
|
1802
|
+
"force": {
|
|
1803
|
+
"char": "f",
|
|
1804
|
+
"description": "Skip confirmation prompt",
|
|
1805
|
+
"name": "force",
|
|
1806
|
+
"required": false,
|
|
1807
|
+
"allowNo": false,
|
|
1808
|
+
"type": "boolean"
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
"hasDynamicHelp": false,
|
|
1812
|
+
"hiddenAliases": [],
|
|
1813
|
+
"id": "run:env:delete",
|
|
1519
1814
|
"pluginAlias": "@xano/cli",
|
|
1520
1815
|
"pluginName": "@xano/cli",
|
|
1521
1816
|
"pluginType": "core",
|
|
@@ -1526,23 +1821,23 @@
|
|
|
1526
1821
|
"commands",
|
|
1527
1822
|
"run",
|
|
1528
1823
|
"env",
|
|
1529
|
-
"
|
|
1824
|
+
"delete",
|
|
1530
1825
|
"index.js"
|
|
1531
1826
|
]
|
|
1532
1827
|
},
|
|
1533
|
-
"run:
|
|
1828
|
+
"run:env:get": {
|
|
1534
1829
|
"aliases": [],
|
|
1535
1830
|
"args": {
|
|
1536
|
-
"
|
|
1537
|
-
"description": "
|
|
1538
|
-
"name": "
|
|
1831
|
+
"name": {
|
|
1832
|
+
"description": "Environment variable name",
|
|
1833
|
+
"name": "name",
|
|
1539
1834
|
"required": true
|
|
1540
1835
|
}
|
|
1541
1836
|
},
|
|
1542
|
-
"description": "Get
|
|
1837
|
+
"description": "Get an environment variable value",
|
|
1543
1838
|
"examples": [
|
|
1544
|
-
"$ xano run
|
|
1545
|
-
"$ xano run
|
|
1839
|
+
"$ xano run env get API_KEY\nmy-secret-api-key\n",
|
|
1840
|
+
"$ xano run env get API_KEY -o json\n{ \"name\": \"API_KEY\", \"value\": \"my-secret-api-key\" }\n"
|
|
1546
1841
|
],
|
|
1547
1842
|
"flags": {
|
|
1548
1843
|
"profile": {
|
|
@@ -1555,16 +1850,25 @@
|
|
|
1555
1850
|
"multiple": false,
|
|
1556
1851
|
"type": "option"
|
|
1557
1852
|
},
|
|
1853
|
+
"verbose": {
|
|
1854
|
+
"char": "v",
|
|
1855
|
+
"description": "Show detailed request/response information",
|
|
1856
|
+
"env": "XANO_VERBOSE",
|
|
1857
|
+
"name": "verbose",
|
|
1858
|
+
"required": false,
|
|
1859
|
+
"allowNo": false,
|
|
1860
|
+
"type": "boolean"
|
|
1861
|
+
},
|
|
1558
1862
|
"output": {
|
|
1559
1863
|
"char": "o",
|
|
1560
1864
|
"description": "Output format",
|
|
1561
1865
|
"name": "output",
|
|
1562
1866
|
"required": false,
|
|
1563
|
-
"default": "
|
|
1867
|
+
"default": "value",
|
|
1564
1868
|
"hasDynamicHelp": false,
|
|
1565
1869
|
"multiple": false,
|
|
1566
1870
|
"options": [
|
|
1567
|
-
"
|
|
1871
|
+
"value",
|
|
1568
1872
|
"json"
|
|
1569
1873
|
],
|
|
1570
1874
|
"type": "option"
|
|
@@ -1572,7 +1876,7 @@
|
|
|
1572
1876
|
},
|
|
1573
1877
|
"hasDynamicHelp": false,
|
|
1574
1878
|
"hiddenAliases": [],
|
|
1575
|
-
"id": "run:
|
|
1879
|
+
"id": "run:env:get",
|
|
1576
1880
|
"pluginAlias": "@xano/cli",
|
|
1577
1881
|
"pluginName": "@xano/cli",
|
|
1578
1882
|
"pluginType": "core",
|
|
@@ -1582,7 +1886,7 @@
|
|
|
1582
1886
|
"dist",
|
|
1583
1887
|
"commands",
|
|
1584
1888
|
"run",
|
|
1585
|
-
"
|
|
1889
|
+
"env",
|
|
1586
1890
|
"get",
|
|
1587
1891
|
"index.js"
|
|
1588
1892
|
]
|
|
@@ -1606,6 +1910,15 @@
|
|
|
1606
1910
|
"multiple": false,
|
|
1607
1911
|
"type": "option"
|
|
1608
1912
|
},
|
|
1913
|
+
"verbose": {
|
|
1914
|
+
"char": "v",
|
|
1915
|
+
"description": "Show detailed request/response information",
|
|
1916
|
+
"env": "XANO_VERBOSE",
|
|
1917
|
+
"name": "verbose",
|
|
1918
|
+
"required": false,
|
|
1919
|
+
"allowNo": false,
|
|
1920
|
+
"type": "boolean"
|
|
1921
|
+
},
|
|
1609
1922
|
"output": {
|
|
1610
1923
|
"char": "o",
|
|
1611
1924
|
"description": "Output format",
|
|
@@ -1638,6 +1951,63 @@
|
|
|
1638
1951
|
"index.js"
|
|
1639
1952
|
]
|
|
1640
1953
|
},
|
|
1954
|
+
"run:env:set": {
|
|
1955
|
+
"aliases": [],
|
|
1956
|
+
"args": {
|
|
1957
|
+
"name": {
|
|
1958
|
+
"description": "Environment variable name",
|
|
1959
|
+
"name": "name",
|
|
1960
|
+
"required": true
|
|
1961
|
+
},
|
|
1962
|
+
"value": {
|
|
1963
|
+
"description": "Environment variable value",
|
|
1964
|
+
"name": "value",
|
|
1965
|
+
"required": true
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1968
|
+
"description": "Set an environment variable",
|
|
1969
|
+
"examples": [
|
|
1970
|
+
"$ xano run env set API_KEY my-secret-key\nEnvironment variable 'API_KEY' set successfully!\n",
|
|
1971
|
+
"$ xano run env set DATABASE_URL \"postgres://user:pass@host/db\"\nEnvironment variable 'DATABASE_URL' set successfully!\n"
|
|
1972
|
+
],
|
|
1973
|
+
"flags": {
|
|
1974
|
+
"profile": {
|
|
1975
|
+
"char": "p",
|
|
1976
|
+
"description": "Profile to use for this command",
|
|
1977
|
+
"env": "XANO_PROFILE",
|
|
1978
|
+
"name": "profile",
|
|
1979
|
+
"required": false,
|
|
1980
|
+
"hasDynamicHelp": false,
|
|
1981
|
+
"multiple": false,
|
|
1982
|
+
"type": "option"
|
|
1983
|
+
},
|
|
1984
|
+
"verbose": {
|
|
1985
|
+
"char": "v",
|
|
1986
|
+
"description": "Show detailed request/response information",
|
|
1987
|
+
"env": "XANO_VERBOSE",
|
|
1988
|
+
"name": "verbose",
|
|
1989
|
+
"required": false,
|
|
1990
|
+
"allowNo": false,
|
|
1991
|
+
"type": "boolean"
|
|
1992
|
+
}
|
|
1993
|
+
},
|
|
1994
|
+
"hasDynamicHelp": false,
|
|
1995
|
+
"hiddenAliases": [],
|
|
1996
|
+
"id": "run:env:set",
|
|
1997
|
+
"pluginAlias": "@xano/cli",
|
|
1998
|
+
"pluginName": "@xano/cli",
|
|
1999
|
+
"pluginType": "core",
|
|
2000
|
+
"strict": true,
|
|
2001
|
+
"isESM": true,
|
|
2002
|
+
"relativePath": [
|
|
2003
|
+
"dist",
|
|
2004
|
+
"commands",
|
|
2005
|
+
"run",
|
|
2006
|
+
"env",
|
|
2007
|
+
"set",
|
|
2008
|
+
"index.js"
|
|
2009
|
+
]
|
|
2010
|
+
},
|
|
1641
2011
|
"run:projects:create": {
|
|
1642
2012
|
"aliases": [],
|
|
1643
2013
|
"args": {},
|
|
@@ -1658,6 +2028,15 @@
|
|
|
1658
2028
|
"multiple": false,
|
|
1659
2029
|
"type": "option"
|
|
1660
2030
|
},
|
|
2031
|
+
"verbose": {
|
|
2032
|
+
"char": "v",
|
|
2033
|
+
"description": "Show detailed request/response information",
|
|
2034
|
+
"env": "XANO_VERBOSE",
|
|
2035
|
+
"name": "verbose",
|
|
2036
|
+
"required": false,
|
|
2037
|
+
"allowNo": false,
|
|
2038
|
+
"type": "boolean"
|
|
2039
|
+
},
|
|
1661
2040
|
"name": {
|
|
1662
2041
|
"char": "n",
|
|
1663
2042
|
"description": "Project name",
|
|
@@ -1734,6 +2113,15 @@
|
|
|
1734
2113
|
"multiple": false,
|
|
1735
2114
|
"type": "option"
|
|
1736
2115
|
},
|
|
2116
|
+
"verbose": {
|
|
2117
|
+
"char": "v",
|
|
2118
|
+
"description": "Show detailed request/response information",
|
|
2119
|
+
"env": "XANO_VERBOSE",
|
|
2120
|
+
"name": "verbose",
|
|
2121
|
+
"required": false,
|
|
2122
|
+
"allowNo": false,
|
|
2123
|
+
"type": "boolean"
|
|
2124
|
+
},
|
|
1737
2125
|
"force": {
|
|
1738
2126
|
"char": "f",
|
|
1739
2127
|
"description": "Skip confirmation prompt",
|
|
@@ -1760,20 +2148,13 @@
|
|
|
1760
2148
|
"index.js"
|
|
1761
2149
|
]
|
|
1762
2150
|
},
|
|
1763
|
-
"run:projects:
|
|
2151
|
+
"run:projects:list": {
|
|
1764
2152
|
"aliases": [],
|
|
1765
|
-
"args": {
|
|
1766
|
-
|
|
1767
|
-
"description": "Project ID to update",
|
|
1768
|
-
"name": "projectId",
|
|
1769
|
-
"required": true
|
|
1770
|
-
}
|
|
1771
|
-
},
|
|
1772
|
-
"description": "Update a project",
|
|
2153
|
+
"args": {},
|
|
2154
|
+
"description": "List all projects",
|
|
1773
2155
|
"examples": [
|
|
1774
|
-
"$ xano run projects
|
|
1775
|
-
"$ xano run projects
|
|
1776
|
-
"$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
|
|
2156
|
+
"$ xano run projects list\nID NAME ACCESS\nabc123-def456-ghi789 My Project private\nxyz789-uvw456-rst123 Test Project public\n",
|
|
2157
|
+
"$ xano run projects list -o json\n[\n { \"id\": \"abc123-def456-ghi789\", \"name\": \"My Project\", ... }\n]\n"
|
|
1777
2158
|
],
|
|
1778
2159
|
"flags": {
|
|
1779
2160
|
"profile": {
|
|
@@ -1786,34 +2167,25 @@
|
|
|
1786
2167
|
"multiple": false,
|
|
1787
2168
|
"type": "option"
|
|
1788
2169
|
},
|
|
1789
|
-
"
|
|
1790
|
-
"char": "
|
|
1791
|
-
"description": "
|
|
1792
|
-
"
|
|
1793
|
-
"
|
|
1794
|
-
"hasDynamicHelp": false,
|
|
1795
|
-
"multiple": false,
|
|
1796
|
-
"type": "option"
|
|
1797
|
-
},
|
|
1798
|
-
"description": {
|
|
1799
|
-
"char": "d",
|
|
1800
|
-
"description": "New project description",
|
|
1801
|
-
"name": "description",
|
|
2170
|
+
"verbose": {
|
|
2171
|
+
"char": "v",
|
|
2172
|
+
"description": "Show detailed request/response information",
|
|
2173
|
+
"env": "XANO_VERBOSE",
|
|
2174
|
+
"name": "verbose",
|
|
1802
2175
|
"required": false,
|
|
1803
|
-
"
|
|
1804
|
-
"
|
|
1805
|
-
"type": "option"
|
|
2176
|
+
"allowNo": false,
|
|
2177
|
+
"type": "boolean"
|
|
1806
2178
|
},
|
|
1807
2179
|
"output": {
|
|
1808
2180
|
"char": "o",
|
|
1809
2181
|
"description": "Output format",
|
|
1810
2182
|
"name": "output",
|
|
1811
2183
|
"required": false,
|
|
1812
|
-
"default": "
|
|
2184
|
+
"default": "table",
|
|
1813
2185
|
"hasDynamicHelp": false,
|
|
1814
2186
|
"multiple": false,
|
|
1815
2187
|
"options": [
|
|
1816
|
-
"
|
|
2188
|
+
"table",
|
|
1817
2189
|
"json"
|
|
1818
2190
|
],
|
|
1819
2191
|
"type": "option"
|
|
@@ -1821,7 +2193,7 @@
|
|
|
1821
2193
|
},
|
|
1822
2194
|
"hasDynamicHelp": false,
|
|
1823
2195
|
"hiddenAliases": [],
|
|
1824
|
-
"id": "run:projects:
|
|
2196
|
+
"id": "run:projects:list",
|
|
1825
2197
|
"pluginAlias": "@xano/cli",
|
|
1826
2198
|
"pluginName": "@xano/cli",
|
|
1827
2199
|
"pluginType": "core",
|
|
@@ -1832,17 +2204,24 @@
|
|
|
1832
2204
|
"commands",
|
|
1833
2205
|
"run",
|
|
1834
2206
|
"projects",
|
|
1835
|
-
"
|
|
2207
|
+
"list",
|
|
1836
2208
|
"index.js"
|
|
1837
2209
|
]
|
|
1838
2210
|
},
|
|
1839
|
-
"run:projects:
|
|
2211
|
+
"run:projects:update": {
|
|
1840
2212
|
"aliases": [],
|
|
1841
|
-
"args": {
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
2213
|
+
"args": {
|
|
2214
|
+
"projectId": {
|
|
2215
|
+
"description": "Project ID to update",
|
|
2216
|
+
"name": "projectId",
|
|
2217
|
+
"required": true
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2220
|
+
"description": "Update a project",
|
|
2221
|
+
"examples": [
|
|
2222
|
+
"$ xano run projects update abc123-def456 -n \"New Name\"\nProject updated successfully!\n ID: abc123-def456\n Name: New Name\n",
|
|
2223
|
+
"$ xano run projects update abc123-def456 -d \"New description\"\nProject updated successfully!\n ID: abc123-def456\n Description: New description\n",
|
|
2224
|
+
"$ xano run projects update abc123-def456 -n \"New Name\" -o json\n{ \"id\": \"abc123-def456\", \"name\": \"New Name\", ... }\n"
|
|
1846
2225
|
],
|
|
1847
2226
|
"flags": {
|
|
1848
2227
|
"profile": {
|
|
@@ -1855,16 +2234,43 @@
|
|
|
1855
2234
|
"multiple": false,
|
|
1856
2235
|
"type": "option"
|
|
1857
2236
|
},
|
|
2237
|
+
"verbose": {
|
|
2238
|
+
"char": "v",
|
|
2239
|
+
"description": "Show detailed request/response information",
|
|
2240
|
+
"env": "XANO_VERBOSE",
|
|
2241
|
+
"name": "verbose",
|
|
2242
|
+
"required": false,
|
|
2243
|
+
"allowNo": false,
|
|
2244
|
+
"type": "boolean"
|
|
2245
|
+
},
|
|
2246
|
+
"name": {
|
|
2247
|
+
"char": "n",
|
|
2248
|
+
"description": "New project name",
|
|
2249
|
+
"name": "name",
|
|
2250
|
+
"required": false,
|
|
2251
|
+
"hasDynamicHelp": false,
|
|
2252
|
+
"multiple": false,
|
|
2253
|
+
"type": "option"
|
|
2254
|
+
},
|
|
2255
|
+
"description": {
|
|
2256
|
+
"char": "d",
|
|
2257
|
+
"description": "New project description",
|
|
2258
|
+
"name": "description",
|
|
2259
|
+
"required": false,
|
|
2260
|
+
"hasDynamicHelp": false,
|
|
2261
|
+
"multiple": false,
|
|
2262
|
+
"type": "option"
|
|
2263
|
+
},
|
|
1858
2264
|
"output": {
|
|
1859
2265
|
"char": "o",
|
|
1860
2266
|
"description": "Output format",
|
|
1861
2267
|
"name": "output",
|
|
1862
2268
|
"required": false,
|
|
1863
|
-
"default": "
|
|
2269
|
+
"default": "summary",
|
|
1864
2270
|
"hasDynamicHelp": false,
|
|
1865
2271
|
"multiple": false,
|
|
1866
2272
|
"options": [
|
|
1867
|
-
"
|
|
2273
|
+
"summary",
|
|
1868
2274
|
"json"
|
|
1869
2275
|
],
|
|
1870
2276
|
"type": "option"
|
|
@@ -1872,7 +2278,7 @@
|
|
|
1872
2278
|
},
|
|
1873
2279
|
"hasDynamicHelp": false,
|
|
1874
2280
|
"hiddenAliases": [],
|
|
1875
|
-
"id": "run:projects:
|
|
2281
|
+
"id": "run:projects:update",
|
|
1876
2282
|
"pluginAlias": "@xano/cli",
|
|
1877
2283
|
"pluginName": "@xano/cli",
|
|
1878
2284
|
"pluginType": "core",
|
|
@@ -1883,23 +2289,23 @@
|
|
|
1883
2289
|
"commands",
|
|
1884
2290
|
"run",
|
|
1885
2291
|
"projects",
|
|
1886
|
-
"
|
|
2292
|
+
"update",
|
|
1887
2293
|
"index.js"
|
|
1888
2294
|
]
|
|
1889
2295
|
},
|
|
1890
|
-
"run:
|
|
2296
|
+
"run:secrets:delete": {
|
|
1891
2297
|
"aliases": [],
|
|
1892
2298
|
"args": {
|
|
1893
|
-
"
|
|
1894
|
-
"description": "
|
|
1895
|
-
"name": "
|
|
2299
|
+
"name": {
|
|
2300
|
+
"description": "Secret name",
|
|
2301
|
+
"name": "name",
|
|
1896
2302
|
"required": true
|
|
1897
2303
|
}
|
|
1898
2304
|
},
|
|
1899
|
-
"description": "Delete a
|
|
2305
|
+
"description": "Delete a secret",
|
|
1900
2306
|
"examples": [
|
|
1901
|
-
"$ xano run
|
|
1902
|
-
"$ xano run
|
|
2307
|
+
"$ xano run secrets delete docker-registry\nAre you sure you want to delete secret 'docker-registry'? (y/N)\nSecret 'docker-registry' deleted successfully!\n",
|
|
2308
|
+
"$ xano run secrets delete docker-registry --force\nSecret 'docker-registry' deleted successfully!\n"
|
|
1903
2309
|
],
|
|
1904
2310
|
"flags": {
|
|
1905
2311
|
"profile": {
|
|
@@ -1912,6 +2318,15 @@
|
|
|
1912
2318
|
"multiple": false,
|
|
1913
2319
|
"type": "option"
|
|
1914
2320
|
},
|
|
2321
|
+
"verbose": {
|
|
2322
|
+
"char": "v",
|
|
2323
|
+
"description": "Show detailed request/response information",
|
|
2324
|
+
"env": "XANO_VERBOSE",
|
|
2325
|
+
"name": "verbose",
|
|
2326
|
+
"required": false,
|
|
2327
|
+
"allowNo": false,
|
|
2328
|
+
"type": "boolean"
|
|
2329
|
+
},
|
|
1915
2330
|
"force": {
|
|
1916
2331
|
"char": "f",
|
|
1917
2332
|
"description": "Skip confirmation prompt",
|
|
@@ -1923,7 +2338,7 @@
|
|
|
1923
2338
|
},
|
|
1924
2339
|
"hasDynamicHelp": false,
|
|
1925
2340
|
"hiddenAliases": [],
|
|
1926
|
-
"id": "run:
|
|
2341
|
+
"id": "run:secrets:delete",
|
|
1927
2342
|
"pluginAlias": "@xano/cli",
|
|
1928
2343
|
"pluginName": "@xano/cli",
|
|
1929
2344
|
"pluginType": "core",
|
|
@@ -1933,18 +2348,24 @@
|
|
|
1933
2348
|
"dist",
|
|
1934
2349
|
"commands",
|
|
1935
2350
|
"run",
|
|
1936
|
-
"
|
|
2351
|
+
"secrets",
|
|
1937
2352
|
"delete",
|
|
1938
2353
|
"index.js"
|
|
1939
2354
|
]
|
|
1940
2355
|
},
|
|
1941
|
-
"run:
|
|
2356
|
+
"run:secrets:get": {
|
|
1942
2357
|
"aliases": [],
|
|
1943
|
-
"args": {
|
|
1944
|
-
|
|
2358
|
+
"args": {
|
|
2359
|
+
"name": {
|
|
2360
|
+
"description": "Secret name",
|
|
2361
|
+
"name": "name",
|
|
2362
|
+
"required": true
|
|
2363
|
+
}
|
|
2364
|
+
},
|
|
2365
|
+
"description": "Get a secret value",
|
|
1945
2366
|
"examples": [
|
|
1946
|
-
"$ xano run
|
|
1947
|
-
"$ xano run
|
|
2367
|
+
"$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
|
|
2368
|
+
"$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
|
|
1948
2369
|
],
|
|
1949
2370
|
"flags": {
|
|
1950
2371
|
"profile": {
|
|
@@ -1957,16 +2378,25 @@
|
|
|
1957
2378
|
"multiple": false,
|
|
1958
2379
|
"type": "option"
|
|
1959
2380
|
},
|
|
2381
|
+
"verbose": {
|
|
2382
|
+
"char": "v",
|
|
2383
|
+
"description": "Show detailed request/response information",
|
|
2384
|
+
"env": "XANO_VERBOSE",
|
|
2385
|
+
"name": "verbose",
|
|
2386
|
+
"required": false,
|
|
2387
|
+
"allowNo": false,
|
|
2388
|
+
"type": "boolean"
|
|
2389
|
+
},
|
|
1960
2390
|
"output": {
|
|
1961
2391
|
"char": "o",
|
|
1962
2392
|
"description": "Output format",
|
|
1963
2393
|
"name": "output",
|
|
1964
2394
|
"required": false,
|
|
1965
|
-
"default": "
|
|
2395
|
+
"default": "value",
|
|
1966
2396
|
"hasDynamicHelp": false,
|
|
1967
2397
|
"multiple": false,
|
|
1968
2398
|
"options": [
|
|
1969
|
-
"
|
|
2399
|
+
"value",
|
|
1970
2400
|
"json"
|
|
1971
2401
|
],
|
|
1972
2402
|
"type": "option"
|
|
@@ -1974,7 +2404,7 @@
|
|
|
1974
2404
|
},
|
|
1975
2405
|
"hasDynamicHelp": false,
|
|
1976
2406
|
"hiddenAliases": [],
|
|
1977
|
-
"id": "run:
|
|
2407
|
+
"id": "run:secrets:get",
|
|
1978
2408
|
"pluginAlias": "@xano/cli",
|
|
1979
2409
|
"pluginName": "@xano/cli",
|
|
1980
2410
|
"pluginType": "core",
|
|
@@ -1984,24 +2414,18 @@
|
|
|
1984
2414
|
"dist",
|
|
1985
2415
|
"commands",
|
|
1986
2416
|
"run",
|
|
1987
|
-
"
|
|
1988
|
-
"
|
|
2417
|
+
"secrets",
|
|
2418
|
+
"get",
|
|
1989
2419
|
"index.js"
|
|
1990
2420
|
]
|
|
1991
2421
|
},
|
|
1992
|
-
"run:
|
|
2422
|
+
"run:secrets:list": {
|
|
1993
2423
|
"aliases": [],
|
|
1994
|
-
"args": {
|
|
1995
|
-
|
|
1996
|
-
"description": "Session ID",
|
|
1997
|
-
"name": "sessionId",
|
|
1998
|
-
"required": true
|
|
1999
|
-
}
|
|
2000
|
-
},
|
|
2001
|
-
"description": "Get session details",
|
|
2424
|
+
"args": {},
|
|
2425
|
+
"description": "List all secret keys",
|
|
2002
2426
|
"examples": [
|
|
2003
|
-
"$ xano run
|
|
2004
|
-
"$ xano run
|
|
2427
|
+
"$ xano run secrets list\nNAME TYPE REPO\ndocker-registry kubernetes.io/dockerconfigjson ghcr.io\nservice-account kubernetes.io/service-account-token -\n",
|
|
2428
|
+
"$ xano run secrets list -o json\n{ \"secrets\": [{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"repo\": \"ghcr.io\" }] }\n"
|
|
2005
2429
|
],
|
|
2006
2430
|
"flags": {
|
|
2007
2431
|
"profile": {
|
|
@@ -2014,16 +2438,25 @@
|
|
|
2014
2438
|
"multiple": false,
|
|
2015
2439
|
"type": "option"
|
|
2016
2440
|
},
|
|
2441
|
+
"verbose": {
|
|
2442
|
+
"char": "v",
|
|
2443
|
+
"description": "Show detailed request/response information",
|
|
2444
|
+
"env": "XANO_VERBOSE",
|
|
2445
|
+
"name": "verbose",
|
|
2446
|
+
"required": false,
|
|
2447
|
+
"allowNo": false,
|
|
2448
|
+
"type": "boolean"
|
|
2449
|
+
},
|
|
2017
2450
|
"output": {
|
|
2018
2451
|
"char": "o",
|
|
2019
2452
|
"description": "Output format",
|
|
2020
2453
|
"name": "output",
|
|
2021
2454
|
"required": false,
|
|
2022
|
-
"default": "
|
|
2455
|
+
"default": "table",
|
|
2023
2456
|
"hasDynamicHelp": false,
|
|
2024
2457
|
"multiple": false,
|
|
2025
2458
|
"options": [
|
|
2026
|
-
"
|
|
2459
|
+
"table",
|
|
2027
2460
|
"json"
|
|
2028
2461
|
],
|
|
2029
2462
|
"type": "option"
|
|
@@ -2031,7 +2464,7 @@
|
|
|
2031
2464
|
},
|
|
2032
2465
|
"hasDynamicHelp": false,
|
|
2033
2466
|
"hiddenAliases": [],
|
|
2034
|
-
"id": "run:
|
|
2467
|
+
"id": "run:secrets:list",
|
|
2035
2468
|
"pluginAlias": "@xano/cli",
|
|
2036
2469
|
"pluginName": "@xano/cli",
|
|
2037
2470
|
"pluginType": "core",
|
|
@@ -2041,25 +2474,24 @@
|
|
|
2041
2474
|
"dist",
|
|
2042
2475
|
"commands",
|
|
2043
2476
|
"run",
|
|
2044
|
-
"
|
|
2045
|
-
"
|
|
2477
|
+
"secrets",
|
|
2478
|
+
"list",
|
|
2046
2479
|
"index.js"
|
|
2047
2480
|
]
|
|
2048
2481
|
},
|
|
2049
|
-
"
|
|
2482
|
+
"run:sink:get": {
|
|
2050
2483
|
"aliases": [],
|
|
2051
2484
|
"args": {
|
|
2052
|
-
"
|
|
2053
|
-
"description": "
|
|
2054
|
-
"name": "
|
|
2485
|
+
"sessionId": {
|
|
2486
|
+
"description": "Session ID",
|
|
2487
|
+
"name": "sessionId",
|
|
2055
2488
|
"required": true
|
|
2056
2489
|
}
|
|
2057
2490
|
},
|
|
2058
|
-
"description": "
|
|
2491
|
+
"description": "Get sink data for a completed session",
|
|
2059
2492
|
"examples": [
|
|
2060
|
-
"$ xano
|
|
2061
|
-
"$ xano
|
|
2062
|
-
"$ xano static_host:build:create myhost -f ./app.zip -n \"release-1.2\" -o json\n{\n \"id\": 125,\n \"name\": \"release-1.2\",\n \"status\": \"pending\"\n}\n"
|
|
2493
|
+
"$ xano run sink get abc123-def456\nSink Data:\n Tables: 3\n - users (5 rows)\n - orders (12 rows)\n - products (8 rows)\n Logs: 15 entries\n",
|
|
2494
|
+
"$ xano run sink get abc123-def456 -o json\n{ \"tables\": [...], \"logs\": [...] }\n"
|
|
2063
2495
|
],
|
|
2064
2496
|
"flags": {
|
|
2065
2497
|
"profile": {
|
|
@@ -2072,41 +2504,14 @@
|
|
|
2072
2504
|
"multiple": false,
|
|
2073
2505
|
"type": "option"
|
|
2074
2506
|
},
|
|
2075
|
-
"
|
|
2076
|
-
"char": "
|
|
2077
|
-
"description": "
|
|
2078
|
-
"
|
|
2079
|
-
"
|
|
2080
|
-
"hasDynamicHelp": false,
|
|
2081
|
-
"multiple": false,
|
|
2082
|
-
"type": "option"
|
|
2083
|
-
},
|
|
2084
|
-
"file": {
|
|
2085
|
-
"char": "f",
|
|
2086
|
-
"description": "Path to zip file to upload",
|
|
2087
|
-
"name": "file",
|
|
2088
|
-
"required": true,
|
|
2089
|
-
"hasDynamicHelp": false,
|
|
2090
|
-
"multiple": false,
|
|
2091
|
-
"type": "option"
|
|
2092
|
-
},
|
|
2093
|
-
"name": {
|
|
2094
|
-
"char": "n",
|
|
2095
|
-
"description": "Build name",
|
|
2096
|
-
"name": "name",
|
|
2097
|
-
"required": true,
|
|
2098
|
-
"hasDynamicHelp": false,
|
|
2099
|
-
"multiple": false,
|
|
2100
|
-
"type": "option"
|
|
2101
|
-
},
|
|
2102
|
-
"description": {
|
|
2103
|
-
"char": "d",
|
|
2104
|
-
"description": "Build description",
|
|
2105
|
-
"name": "description",
|
|
2507
|
+
"verbose": {
|
|
2508
|
+
"char": "v",
|
|
2509
|
+
"description": "Show detailed request/response information",
|
|
2510
|
+
"env": "XANO_VERBOSE",
|
|
2511
|
+
"name": "verbose",
|
|
2106
2512
|
"required": false,
|
|
2107
|
-
"
|
|
2108
|
-
"
|
|
2109
|
-
"type": "option"
|
|
2513
|
+
"allowNo": false,
|
|
2514
|
+
"type": "boolean"
|
|
2110
2515
|
},
|
|
2111
2516
|
"output": {
|
|
2112
2517
|
"char": "o",
|
|
@@ -2125,42 +2530,34 @@
|
|
|
2125
2530
|
},
|
|
2126
2531
|
"hasDynamicHelp": false,
|
|
2127
2532
|
"hiddenAliases": [],
|
|
2128
|
-
"id": "
|
|
2533
|
+
"id": "run:sink:get",
|
|
2129
2534
|
"pluginAlias": "@xano/cli",
|
|
2130
2535
|
"pluginName": "@xano/cli",
|
|
2131
2536
|
"pluginType": "core",
|
|
2132
2537
|
"strict": true,
|
|
2133
|
-
"enableJsonFlag": false,
|
|
2134
2538
|
"isESM": true,
|
|
2135
2539
|
"relativePath": [
|
|
2136
2540
|
"dist",
|
|
2137
2541
|
"commands",
|
|
2138
|
-
"
|
|
2139
|
-
"
|
|
2140
|
-
"
|
|
2542
|
+
"run",
|
|
2543
|
+
"sink",
|
|
2544
|
+
"get",
|
|
2141
2545
|
"index.js"
|
|
2142
2546
|
]
|
|
2143
2547
|
},
|
|
2144
|
-
"
|
|
2548
|
+
"run:sessions:delete": {
|
|
2145
2549
|
"aliases": [],
|
|
2146
2550
|
"args": {
|
|
2147
|
-
"
|
|
2148
|
-
"description": "
|
|
2149
|
-
"name": "
|
|
2150
|
-
"required": true
|
|
2151
|
-
},
|
|
2152
|
-
"build_id": {
|
|
2153
|
-
"description": "Build ID",
|
|
2154
|
-
"name": "build_id",
|
|
2551
|
+
"sessionId": {
|
|
2552
|
+
"description": "Session ID",
|
|
2553
|
+
"name": "sessionId",
|
|
2155
2554
|
"required": true
|
|
2156
2555
|
}
|
|
2157
2556
|
},
|
|
2158
|
-
"description": "
|
|
2557
|
+
"description": "Delete a session",
|
|
2159
2558
|
"examples": [
|
|
2160
|
-
"$ xano
|
|
2161
|
-
"$ xano
|
|
2162
|
-
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
2163
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
2559
|
+
"$ xano run sessions delete abc123-def456\nAre you sure you want to delete session 'abc123-def456'? (y/N)\nSession deleted successfully!\n",
|
|
2560
|
+
"$ xano run sessions delete abc123-def456 --force\nSession deleted successfully!\n"
|
|
2164
2561
|
],
|
|
2165
2562
|
"flags": {
|
|
2166
2563
|
"profile": {
|
|
@@ -2173,61 +2570,54 @@
|
|
|
2173
2570
|
"multiple": false,
|
|
2174
2571
|
"type": "option"
|
|
2175
2572
|
},
|
|
2176
|
-
"
|
|
2177
|
-
"char": "
|
|
2178
|
-
"description": "
|
|
2179
|
-
"
|
|
2573
|
+
"verbose": {
|
|
2574
|
+
"char": "v",
|
|
2575
|
+
"description": "Show detailed request/response information",
|
|
2576
|
+
"env": "XANO_VERBOSE",
|
|
2577
|
+
"name": "verbose",
|
|
2180
2578
|
"required": false,
|
|
2181
|
-
"
|
|
2182
|
-
"
|
|
2183
|
-
"type": "option"
|
|
2579
|
+
"allowNo": false,
|
|
2580
|
+
"type": "boolean"
|
|
2184
2581
|
},
|
|
2185
|
-
"
|
|
2186
|
-
"char": "
|
|
2187
|
-
"description": "
|
|
2188
|
-
"name": "
|
|
2582
|
+
"force": {
|
|
2583
|
+
"char": "f",
|
|
2584
|
+
"description": "Skip confirmation prompt",
|
|
2585
|
+
"name": "force",
|
|
2189
2586
|
"required": false,
|
|
2190
|
-
"
|
|
2191
|
-
"
|
|
2192
|
-
"multiple": false,
|
|
2193
|
-
"options": [
|
|
2194
|
-
"summary",
|
|
2195
|
-
"json"
|
|
2196
|
-
],
|
|
2197
|
-
"type": "option"
|
|
2587
|
+
"allowNo": false,
|
|
2588
|
+
"type": "boolean"
|
|
2198
2589
|
}
|
|
2199
2590
|
},
|
|
2200
2591
|
"hasDynamicHelp": false,
|
|
2201
2592
|
"hiddenAliases": [],
|
|
2202
|
-
"id": "
|
|
2593
|
+
"id": "run:sessions:delete",
|
|
2203
2594
|
"pluginAlias": "@xano/cli",
|
|
2204
2595
|
"pluginName": "@xano/cli",
|
|
2205
2596
|
"pluginType": "core",
|
|
2206
2597
|
"strict": true,
|
|
2207
|
-
"enableJsonFlag": false,
|
|
2208
2598
|
"isESM": true,
|
|
2209
2599
|
"relativePath": [
|
|
2210
2600
|
"dist",
|
|
2211
2601
|
"commands",
|
|
2212
|
-
"
|
|
2213
|
-
"
|
|
2214
|
-
"
|
|
2602
|
+
"run",
|
|
2603
|
+
"sessions",
|
|
2604
|
+
"delete",
|
|
2215
2605
|
"index.js"
|
|
2216
2606
|
]
|
|
2217
2607
|
},
|
|
2218
|
-
"run:
|
|
2608
|
+
"run:secrets:set": {
|
|
2219
2609
|
"aliases": [],
|
|
2220
2610
|
"args": {
|
|
2221
|
-
"
|
|
2222
|
-
"description": "
|
|
2223
|
-
"name": "
|
|
2611
|
+
"name": {
|
|
2612
|
+
"description": "Secret name",
|
|
2613
|
+
"name": "name",
|
|
2224
2614
|
"required": true
|
|
2225
2615
|
}
|
|
2226
2616
|
},
|
|
2227
|
-
"description": "
|
|
2617
|
+
"description": "Set a secret",
|
|
2228
2618
|
"examples": [
|
|
2229
|
-
"$ xano run
|
|
2230
|
-
"$ xano run
|
|
2619
|
+
"$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
|
|
2620
|
+
"$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
|
|
2231
2621
|
],
|
|
2232
2622
|
"flags": {
|
|
2233
2623
|
"profile": {
|
|
@@ -2240,24 +2630,50 @@
|
|
|
2240
2630
|
"multiple": false,
|
|
2241
2631
|
"type": "option"
|
|
2242
2632
|
},
|
|
2243
|
-
"
|
|
2244
|
-
"char": "
|
|
2245
|
-
"description": "
|
|
2246
|
-
"
|
|
2633
|
+
"verbose": {
|
|
2634
|
+
"char": "v",
|
|
2635
|
+
"description": "Show detailed request/response information",
|
|
2636
|
+
"env": "XANO_VERBOSE",
|
|
2637
|
+
"name": "verbose",
|
|
2247
2638
|
"required": false,
|
|
2248
|
-
"
|
|
2639
|
+
"allowNo": false,
|
|
2640
|
+
"type": "boolean"
|
|
2641
|
+
},
|
|
2642
|
+
"type": {
|
|
2643
|
+
"char": "t",
|
|
2644
|
+
"description": "Secret type",
|
|
2645
|
+
"name": "type",
|
|
2646
|
+
"required": true,
|
|
2249
2647
|
"hasDynamicHelp": false,
|
|
2250
2648
|
"multiple": false,
|
|
2251
2649
|
"options": [
|
|
2252
|
-
"
|
|
2253
|
-
"
|
|
2650
|
+
"dockerconfigjson",
|
|
2651
|
+
"service-account-token"
|
|
2254
2652
|
],
|
|
2255
2653
|
"type": "option"
|
|
2654
|
+
},
|
|
2655
|
+
"value": {
|
|
2656
|
+
"char": "v",
|
|
2657
|
+
"description": "Secret value",
|
|
2658
|
+
"name": "value",
|
|
2659
|
+
"required": true,
|
|
2660
|
+
"hasDynamicHelp": false,
|
|
2661
|
+
"multiple": false,
|
|
2662
|
+
"type": "option"
|
|
2663
|
+
},
|
|
2664
|
+
"repo": {
|
|
2665
|
+
"char": "r",
|
|
2666
|
+
"description": "Repository (for dockerconfigjson type)",
|
|
2667
|
+
"name": "repo",
|
|
2668
|
+
"required": false,
|
|
2669
|
+
"hasDynamicHelp": false,
|
|
2670
|
+
"multiple": false,
|
|
2671
|
+
"type": "option"
|
|
2256
2672
|
}
|
|
2257
2673
|
},
|
|
2258
2674
|
"hasDynamicHelp": false,
|
|
2259
2675
|
"hiddenAliases": [],
|
|
2260
|
-
"id": "run:
|
|
2676
|
+
"id": "run:secrets:set",
|
|
2261
2677
|
"pluginAlias": "@xano/cli",
|
|
2262
2678
|
"pluginName": "@xano/cli",
|
|
2263
2679
|
"pluginType": "core",
|
|
@@ -2267,12 +2683,12 @@
|
|
|
2267
2683
|
"dist",
|
|
2268
2684
|
"commands",
|
|
2269
2685
|
"run",
|
|
2270
|
-
"
|
|
2271
|
-
"
|
|
2686
|
+
"secrets",
|
|
2687
|
+
"set",
|
|
2272
2688
|
"index.js"
|
|
2273
2689
|
]
|
|
2274
2690
|
},
|
|
2275
|
-
"run:sessions:
|
|
2691
|
+
"run:sessions:get": {
|
|
2276
2692
|
"aliases": [],
|
|
2277
2693
|
"args": {
|
|
2278
2694
|
"sessionId": {
|
|
@@ -2281,10 +2697,10 @@
|
|
|
2281
2697
|
"required": true
|
|
2282
2698
|
}
|
|
2283
2699
|
},
|
|
2284
|
-
"description": "
|
|
2700
|
+
"description": "Get session details",
|
|
2285
2701
|
"examples": [
|
|
2286
|
-
"$ xano run sessions
|
|
2287
|
-
"$ xano run sessions
|
|
2702
|
+
"$ xano run sessions get abc123-def456\nSession Details:\n ID: abc123-def456\n Name: My Session\n Status: running\n Access: private\n URL: https://session.xano.io/abc123\n Uptime: 3600s\n",
|
|
2703
|
+
"$ xano run sessions get abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"name\": \"My Session\", \"status\": \"running\", ... }\n"
|
|
2288
2704
|
],
|
|
2289
2705
|
"flags": {
|
|
2290
2706
|
"profile": {
|
|
@@ -2297,6 +2713,15 @@
|
|
|
2297
2713
|
"multiple": false,
|
|
2298
2714
|
"type": "option"
|
|
2299
2715
|
},
|
|
2716
|
+
"verbose": {
|
|
2717
|
+
"char": "v",
|
|
2718
|
+
"description": "Show detailed request/response information",
|
|
2719
|
+
"env": "XANO_VERBOSE",
|
|
2720
|
+
"name": "verbose",
|
|
2721
|
+
"required": false,
|
|
2722
|
+
"allowNo": false,
|
|
2723
|
+
"type": "boolean"
|
|
2724
|
+
},
|
|
2300
2725
|
"output": {
|
|
2301
2726
|
"char": "o",
|
|
2302
2727
|
"description": "Output format",
|
|
@@ -2314,7 +2739,7 @@
|
|
|
2314
2739
|
},
|
|
2315
2740
|
"hasDynamicHelp": false,
|
|
2316
2741
|
"hiddenAliases": [],
|
|
2317
|
-
"id": "run:sessions:
|
|
2742
|
+
"id": "run:sessions:get",
|
|
2318
2743
|
"pluginAlias": "@xano/cli",
|
|
2319
2744
|
"pluginName": "@xano/cli",
|
|
2320
2745
|
"pluginType": "core",
|
|
@@ -2325,25 +2750,17 @@
|
|
|
2325
2750
|
"commands",
|
|
2326
2751
|
"run",
|
|
2327
2752
|
"sessions",
|
|
2328
|
-
"
|
|
2753
|
+
"get",
|
|
2329
2754
|
"index.js"
|
|
2330
2755
|
]
|
|
2331
2756
|
},
|
|
2332
|
-
"
|
|
2757
|
+
"run:sessions:list": {
|
|
2333
2758
|
"aliases": [],
|
|
2334
|
-
"args": {
|
|
2335
|
-
|
|
2336
|
-
"description": "Static Host name",
|
|
2337
|
-
"name": "static_host",
|
|
2338
|
-
"required": true
|
|
2339
|
-
}
|
|
2340
|
-
},
|
|
2341
|
-
"description": "List all builds for a static host",
|
|
2759
|
+
"args": {},
|
|
2760
|
+
"description": "List all sessions for the project",
|
|
2342
2761
|
"examples": [
|
|
2343
|
-
"$ xano
|
|
2344
|
-
"$ xano
|
|
2345
|
-
"$ 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",
|
|
2346
|
-
"$ 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"
|
|
2762
|
+
"$ xano run sessions list\nID STATE CREATED\nabc123-def456-ghi789 running 2024-01-15T10:30:00Z\nxyz789-uvw456-rst123 stopped 2024-01-14T09:00:00Z\n",
|
|
2763
|
+
"$ xano run sessions list -o json\n{ \"items\": [{ \"id\": \"abc123-def456-ghi789\", \"state\": \"running\", ... }] }\n"
|
|
2347
2764
|
],
|
|
2348
2765
|
"flags": {
|
|
2349
2766
|
"profile": {
|
|
@@ -2356,79 +2773,60 @@
|
|
|
2356
2773
|
"multiple": false,
|
|
2357
2774
|
"type": "option"
|
|
2358
2775
|
},
|
|
2359
|
-
"
|
|
2360
|
-
"char": "
|
|
2361
|
-
"description": "
|
|
2362
|
-
"
|
|
2776
|
+
"verbose": {
|
|
2777
|
+
"char": "v",
|
|
2778
|
+
"description": "Show detailed request/response information",
|
|
2779
|
+
"env": "XANO_VERBOSE",
|
|
2780
|
+
"name": "verbose",
|
|
2363
2781
|
"required": false,
|
|
2364
|
-
"
|
|
2365
|
-
"
|
|
2366
|
-
"type": "option"
|
|
2782
|
+
"allowNo": false,
|
|
2783
|
+
"type": "boolean"
|
|
2367
2784
|
},
|
|
2368
2785
|
"output": {
|
|
2369
2786
|
"char": "o",
|
|
2370
2787
|
"description": "Output format",
|
|
2371
2788
|
"name": "output",
|
|
2372
2789
|
"required": false,
|
|
2373
|
-
"default": "
|
|
2790
|
+
"default": "table",
|
|
2374
2791
|
"hasDynamicHelp": false,
|
|
2375
2792
|
"multiple": false,
|
|
2376
2793
|
"options": [
|
|
2377
|
-
"
|
|
2794
|
+
"table",
|
|
2378
2795
|
"json"
|
|
2379
2796
|
],
|
|
2380
2797
|
"type": "option"
|
|
2381
|
-
},
|
|
2382
|
-
"page": {
|
|
2383
|
-
"description": "Page number for pagination",
|
|
2384
|
-
"name": "page",
|
|
2385
|
-
"required": false,
|
|
2386
|
-
"default": 1,
|
|
2387
|
-
"hasDynamicHelp": false,
|
|
2388
|
-
"multiple": false,
|
|
2389
|
-
"type": "option"
|
|
2390
|
-
},
|
|
2391
|
-
"per_page": {
|
|
2392
|
-
"description": "Number of results per page",
|
|
2393
|
-
"name": "per_page",
|
|
2394
|
-
"required": false,
|
|
2395
|
-
"default": 50,
|
|
2396
|
-
"hasDynamicHelp": false,
|
|
2397
|
-
"multiple": false,
|
|
2398
|
-
"type": "option"
|
|
2399
2798
|
}
|
|
2400
2799
|
},
|
|
2401
2800
|
"hasDynamicHelp": false,
|
|
2402
2801
|
"hiddenAliases": [],
|
|
2403
|
-
"id": "
|
|
2802
|
+
"id": "run:sessions:list",
|
|
2404
2803
|
"pluginAlias": "@xano/cli",
|
|
2405
2804
|
"pluginName": "@xano/cli",
|
|
2406
2805
|
"pluginType": "core",
|
|
2407
2806
|
"strict": true,
|
|
2408
|
-
"enableJsonFlag": false,
|
|
2409
2807
|
"isESM": true,
|
|
2410
2808
|
"relativePath": [
|
|
2411
2809
|
"dist",
|
|
2412
2810
|
"commands",
|
|
2413
|
-
"
|
|
2414
|
-
"
|
|
2811
|
+
"run",
|
|
2812
|
+
"sessions",
|
|
2415
2813
|
"list",
|
|
2416
2814
|
"index.js"
|
|
2417
2815
|
]
|
|
2418
2816
|
},
|
|
2419
|
-
"run:
|
|
2817
|
+
"run:sessions:start": {
|
|
2420
2818
|
"aliases": [],
|
|
2421
2819
|
"args": {
|
|
2422
|
-
"
|
|
2423
|
-
"description": "
|
|
2424
|
-
"name": "
|
|
2820
|
+
"sessionId": {
|
|
2821
|
+
"description": "Session ID",
|
|
2822
|
+
"name": "sessionId",
|
|
2425
2823
|
"required": true
|
|
2426
2824
|
}
|
|
2427
2825
|
},
|
|
2428
|
-
"description": "
|
|
2826
|
+
"description": "Start a session",
|
|
2429
2827
|
"examples": [
|
|
2430
|
-
"$ xano run
|
|
2431
|
-
"$ xano run
|
|
2828
|
+
"$ xano run sessions start abc123-def456\nSession started successfully!\n ID: abc123-def456\n State: running\n",
|
|
2829
|
+
"$ xano run sessions start abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"running\", ... }\n"
|
|
2432
2830
|
],
|
|
2433
2831
|
"flags": {
|
|
2434
2832
|
"profile": {
|
|
@@ -2441,67 +2839,25 @@
|
|
|
2441
2839
|
"multiple": false,
|
|
2442
2840
|
"type": "option"
|
|
2443
2841
|
},
|
|
2444
|
-
"
|
|
2445
|
-
"char": "
|
|
2446
|
-
"description": "
|
|
2447
|
-
"
|
|
2842
|
+
"verbose": {
|
|
2843
|
+
"char": "v",
|
|
2844
|
+
"description": "Show detailed request/response information",
|
|
2845
|
+
"env": "XANO_VERBOSE",
|
|
2846
|
+
"name": "verbose",
|
|
2448
2847
|
"required": false,
|
|
2449
2848
|
"allowNo": false,
|
|
2450
2849
|
"type": "boolean"
|
|
2451
|
-
}
|
|
2452
|
-
},
|
|
2453
|
-
"hasDynamicHelp": false,
|
|
2454
|
-
"hiddenAliases": [],
|
|
2455
|
-
"id": "run:secrets:delete",
|
|
2456
|
-
"pluginAlias": "@xano/cli",
|
|
2457
|
-
"pluginName": "@xano/cli",
|
|
2458
|
-
"pluginType": "core",
|
|
2459
|
-
"strict": true,
|
|
2460
|
-
"isESM": true,
|
|
2461
|
-
"relativePath": [
|
|
2462
|
-
"dist",
|
|
2463
|
-
"commands",
|
|
2464
|
-
"run",
|
|
2465
|
-
"secrets",
|
|
2466
|
-
"delete",
|
|
2467
|
-
"index.js"
|
|
2468
|
-
]
|
|
2469
|
-
},
|
|
2470
|
-
"run:secrets:get": {
|
|
2471
|
-
"aliases": [],
|
|
2472
|
-
"args": {
|
|
2473
|
-
"name": {
|
|
2474
|
-
"description": "Secret name",
|
|
2475
|
-
"name": "name",
|
|
2476
|
-
"required": true
|
|
2477
|
-
}
|
|
2478
|
-
},
|
|
2479
|
-
"description": "Get a secret value",
|
|
2480
|
-
"examples": [
|
|
2481
|
-
"$ xano run secrets get docker-registry\n{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}\n",
|
|
2482
|
-
"$ xano run secrets get docker-registry -o json\n{ \"name\": \"docker-registry\", \"type\": \"kubernetes.io/dockerconfigjson\", \"value\": \"...\" }\n"
|
|
2483
|
-
],
|
|
2484
|
-
"flags": {
|
|
2485
|
-
"profile": {
|
|
2486
|
-
"char": "p",
|
|
2487
|
-
"description": "Profile to use for this command",
|
|
2488
|
-
"env": "XANO_PROFILE",
|
|
2489
|
-
"name": "profile",
|
|
2490
|
-
"required": false,
|
|
2491
|
-
"hasDynamicHelp": false,
|
|
2492
|
-
"multiple": false,
|
|
2493
|
-
"type": "option"
|
|
2494
2850
|
},
|
|
2495
2851
|
"output": {
|
|
2496
2852
|
"char": "o",
|
|
2497
2853
|
"description": "Output format",
|
|
2498
2854
|
"name": "output",
|
|
2499
2855
|
"required": false,
|
|
2500
|
-
"default": "
|
|
2856
|
+
"default": "summary",
|
|
2501
2857
|
"hasDynamicHelp": false,
|
|
2502
2858
|
"multiple": false,
|
|
2503
2859
|
"options": [
|
|
2504
|
-
"
|
|
2860
|
+
"summary",
|
|
2505
2861
|
"json"
|
|
2506
2862
|
],
|
|
2507
2863
|
"type": "option"
|
|
@@ -2509,7 +2865,7 @@
|
|
|
2509
2865
|
},
|
|
2510
2866
|
"hasDynamicHelp": false,
|
|
2511
2867
|
"hiddenAliases": [],
|
|
2512
|
-
"id": "run:
|
|
2868
|
+
"id": "run:sessions:start",
|
|
2513
2869
|
"pluginAlias": "@xano/cli",
|
|
2514
2870
|
"pluginName": "@xano/cli",
|
|
2515
2871
|
"pluginType": "core",
|
|
@@ -2519,18 +2875,24 @@
|
|
|
2519
2875
|
"dist",
|
|
2520
2876
|
"commands",
|
|
2521
2877
|
"run",
|
|
2522
|
-
"
|
|
2523
|
-
"
|
|
2878
|
+
"sessions",
|
|
2879
|
+
"start",
|
|
2524
2880
|
"index.js"
|
|
2525
2881
|
]
|
|
2526
2882
|
},
|
|
2527
|
-
"run:
|
|
2883
|
+
"run:sessions:stop": {
|
|
2528
2884
|
"aliases": [],
|
|
2529
|
-
"args": {
|
|
2530
|
-
|
|
2885
|
+
"args": {
|
|
2886
|
+
"sessionId": {
|
|
2887
|
+
"description": "Session ID",
|
|
2888
|
+
"name": "sessionId",
|
|
2889
|
+
"required": true
|
|
2890
|
+
}
|
|
2891
|
+
},
|
|
2892
|
+
"description": "Stop a session",
|
|
2531
2893
|
"examples": [
|
|
2532
|
-
"$ xano run
|
|
2533
|
-
"$ xano run
|
|
2894
|
+
"$ xano run sessions stop abc123-def456\nSession stopped successfully!\n ID: abc123-def456\n State: stopped\n",
|
|
2895
|
+
"$ xano run sessions stop abc123-def456 -o json\n{ \"id\": \"abc123-def456\", \"state\": \"stopped\", ... }\n"
|
|
2534
2896
|
],
|
|
2535
2897
|
"flags": {
|
|
2536
2898
|
"profile": {
|
|
@@ -2543,16 +2905,25 @@
|
|
|
2543
2905
|
"multiple": false,
|
|
2544
2906
|
"type": "option"
|
|
2545
2907
|
},
|
|
2908
|
+
"verbose": {
|
|
2909
|
+
"char": "v",
|
|
2910
|
+
"description": "Show detailed request/response information",
|
|
2911
|
+
"env": "XANO_VERBOSE",
|
|
2912
|
+
"name": "verbose",
|
|
2913
|
+
"required": false,
|
|
2914
|
+
"allowNo": false,
|
|
2915
|
+
"type": "boolean"
|
|
2916
|
+
},
|
|
2546
2917
|
"output": {
|
|
2547
2918
|
"char": "o",
|
|
2548
2919
|
"description": "Output format",
|
|
2549
2920
|
"name": "output",
|
|
2550
2921
|
"required": false,
|
|
2551
|
-
"default": "
|
|
2922
|
+
"default": "summary",
|
|
2552
2923
|
"hasDynamicHelp": false,
|
|
2553
2924
|
"multiple": false,
|
|
2554
2925
|
"options": [
|
|
2555
|
-
"
|
|
2926
|
+
"summary",
|
|
2556
2927
|
"json"
|
|
2557
2928
|
],
|
|
2558
2929
|
"type": "option"
|
|
@@ -2560,81 +2931,7 @@
|
|
|
2560
2931
|
},
|
|
2561
2932
|
"hasDynamicHelp": false,
|
|
2562
2933
|
"hiddenAliases": [],
|
|
2563
|
-
"id": "run:
|
|
2564
|
-
"pluginAlias": "@xano/cli",
|
|
2565
|
-
"pluginName": "@xano/cli",
|
|
2566
|
-
"pluginType": "core",
|
|
2567
|
-
"strict": true,
|
|
2568
|
-
"isESM": true,
|
|
2569
|
-
"relativePath": [
|
|
2570
|
-
"dist",
|
|
2571
|
-
"commands",
|
|
2572
|
-
"run",
|
|
2573
|
-
"secrets",
|
|
2574
|
-
"list",
|
|
2575
|
-
"index.js"
|
|
2576
|
-
]
|
|
2577
|
-
},
|
|
2578
|
-
"run:secrets:set": {
|
|
2579
|
-
"aliases": [],
|
|
2580
|
-
"args": {
|
|
2581
|
-
"name": {
|
|
2582
|
-
"description": "Secret name",
|
|
2583
|
-
"name": "name",
|
|
2584
|
-
"required": true
|
|
2585
|
-
}
|
|
2586
|
-
},
|
|
2587
|
-
"description": "Set a secret",
|
|
2588
|
-
"examples": [
|
|
2589
|
-
"$ xano run secrets set docker-registry -t dockerconfigjson -v '{\"auths\":{\"ghcr.io\":{\"auth\":\"...\"}}}' -r ghcr.io\nSecret 'docker-registry' set successfully!\n",
|
|
2590
|
-
"$ xano run secrets set service-key -t service-account-token -v 'token-value-here'\nSecret 'service-key' set successfully!\n"
|
|
2591
|
-
],
|
|
2592
|
-
"flags": {
|
|
2593
|
-
"profile": {
|
|
2594
|
-
"char": "p",
|
|
2595
|
-
"description": "Profile to use for this command",
|
|
2596
|
-
"env": "XANO_PROFILE",
|
|
2597
|
-
"name": "profile",
|
|
2598
|
-
"required": false,
|
|
2599
|
-
"hasDynamicHelp": false,
|
|
2600
|
-
"multiple": false,
|
|
2601
|
-
"type": "option"
|
|
2602
|
-
},
|
|
2603
|
-
"type": {
|
|
2604
|
-
"char": "t",
|
|
2605
|
-
"description": "Secret type",
|
|
2606
|
-
"name": "type",
|
|
2607
|
-
"required": true,
|
|
2608
|
-
"hasDynamicHelp": false,
|
|
2609
|
-
"multiple": false,
|
|
2610
|
-
"options": [
|
|
2611
|
-
"dockerconfigjson",
|
|
2612
|
-
"service-account-token"
|
|
2613
|
-
],
|
|
2614
|
-
"type": "option"
|
|
2615
|
-
},
|
|
2616
|
-
"value": {
|
|
2617
|
-
"char": "v",
|
|
2618
|
-
"description": "Secret value",
|
|
2619
|
-
"name": "value",
|
|
2620
|
-
"required": true,
|
|
2621
|
-
"hasDynamicHelp": false,
|
|
2622
|
-
"multiple": false,
|
|
2623
|
-
"type": "option"
|
|
2624
|
-
},
|
|
2625
|
-
"repo": {
|
|
2626
|
-
"char": "r",
|
|
2627
|
-
"description": "Repository (for dockerconfigjson type)",
|
|
2628
|
-
"name": "repo",
|
|
2629
|
-
"required": false,
|
|
2630
|
-
"hasDynamicHelp": false,
|
|
2631
|
-
"multiple": false,
|
|
2632
|
-
"type": "option"
|
|
2633
|
-
}
|
|
2634
|
-
},
|
|
2635
|
-
"hasDynamicHelp": false,
|
|
2636
|
-
"hiddenAliases": [],
|
|
2637
|
-
"id": "run:secrets:set",
|
|
2934
|
+
"id": "run:sessions:stop",
|
|
2638
2935
|
"pluginAlias": "@xano/cli",
|
|
2639
2936
|
"pluginName": "@xano/cli",
|
|
2640
2937
|
"pluginType": "core",
|
|
@@ -2644,11 +2941,11 @@
|
|
|
2644
2941
|
"dist",
|
|
2645
2942
|
"commands",
|
|
2646
2943
|
"run",
|
|
2647
|
-
"
|
|
2648
|
-
"
|
|
2944
|
+
"sessions",
|
|
2945
|
+
"stop",
|
|
2649
2946
|
"index.js"
|
|
2650
2947
|
]
|
|
2651
2948
|
}
|
|
2652
2949
|
},
|
|
2653
|
-
"version": "0.0.
|
|
2950
|
+
"version": "0.0.20"
|
|
2654
2951
|
}
|