@xano/cli 0.0.18 → 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 +26 -6
- 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 +591 -297
- 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)",
|
|
@@ -408,86 +444,6 @@
|
|
|
408
444
|
"index.js"
|
|
409
445
|
]
|
|
410
446
|
},
|
|
411
|
-
"static_host:list": {
|
|
412
|
-
"aliases": [],
|
|
413
|
-
"args": {},
|
|
414
|
-
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
415
|
-
"examples": [
|
|
416
|
-
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
417
|
-
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
418
|
-
"$ xano static_host:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"my-static-host\",\n \"domain\": \"example.com\"\n }\n]\n",
|
|
419
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
420
|
-
],
|
|
421
|
-
"flags": {
|
|
422
|
-
"profile": {
|
|
423
|
-
"char": "p",
|
|
424
|
-
"description": "Profile to use for this command",
|
|
425
|
-
"env": "XANO_PROFILE",
|
|
426
|
-
"name": "profile",
|
|
427
|
-
"required": false,
|
|
428
|
-
"hasDynamicHelp": false,
|
|
429
|
-
"multiple": false,
|
|
430
|
-
"type": "option"
|
|
431
|
-
},
|
|
432
|
-
"workspace": {
|
|
433
|
-
"char": "w",
|
|
434
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
435
|
-
"name": "workspace",
|
|
436
|
-
"required": false,
|
|
437
|
-
"hasDynamicHelp": false,
|
|
438
|
-
"multiple": false,
|
|
439
|
-
"type": "option"
|
|
440
|
-
},
|
|
441
|
-
"output": {
|
|
442
|
-
"char": "o",
|
|
443
|
-
"description": "Output format",
|
|
444
|
-
"name": "output",
|
|
445
|
-
"required": false,
|
|
446
|
-
"default": "summary",
|
|
447
|
-
"hasDynamicHelp": false,
|
|
448
|
-
"multiple": false,
|
|
449
|
-
"options": [
|
|
450
|
-
"summary",
|
|
451
|
-
"json"
|
|
452
|
-
],
|
|
453
|
-
"type": "option"
|
|
454
|
-
},
|
|
455
|
-
"page": {
|
|
456
|
-
"description": "Page number for pagination",
|
|
457
|
-
"name": "page",
|
|
458
|
-
"required": false,
|
|
459
|
-
"default": 1,
|
|
460
|
-
"hasDynamicHelp": false,
|
|
461
|
-
"multiple": false,
|
|
462
|
-
"type": "option"
|
|
463
|
-
},
|
|
464
|
-
"per_page": {
|
|
465
|
-
"description": "Number of results per page",
|
|
466
|
-
"name": "per_page",
|
|
467
|
-
"required": false,
|
|
468
|
-
"default": 50,
|
|
469
|
-
"hasDynamicHelp": false,
|
|
470
|
-
"multiple": false,
|
|
471
|
-
"type": "option"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
"hasDynamicHelp": false,
|
|
475
|
-
"hiddenAliases": [],
|
|
476
|
-
"id": "static_host:list",
|
|
477
|
-
"pluginAlias": "@xano/cli",
|
|
478
|
-
"pluginName": "@xano/cli",
|
|
479
|
-
"pluginType": "core",
|
|
480
|
-
"strict": true,
|
|
481
|
-
"enableJsonFlag": false,
|
|
482
|
-
"isESM": true,
|
|
483
|
-
"relativePath": [
|
|
484
|
-
"dist",
|
|
485
|
-
"commands",
|
|
486
|
-
"static_host",
|
|
487
|
-
"list",
|
|
488
|
-
"index.js"
|
|
489
|
-
]
|
|
490
|
-
},
|
|
491
447
|
"profile:create": {
|
|
492
448
|
"aliases": [],
|
|
493
449
|
"args": {
|
|
@@ -594,6 +550,48 @@
|
|
|
594
550
|
"index.js"
|
|
595
551
|
]
|
|
596
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
|
+
},
|
|
597
595
|
"profile:edit": {
|
|
598
596
|
"aliases": [],
|
|
599
597
|
"args": {
|
|
@@ -624,6 +622,15 @@
|
|
|
624
622
|
"multiple": false,
|
|
625
623
|
"type": "option"
|
|
626
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
|
+
},
|
|
627
634
|
"account_origin": {
|
|
628
635
|
"char": "a",
|
|
629
636
|
"description": "Update account origin URL",
|
|
@@ -733,18 +740,28 @@
|
|
|
733
740
|
"index.js"
|
|
734
741
|
]
|
|
735
742
|
},
|
|
736
|
-
"profile:
|
|
743
|
+
"profile:list": {
|
|
737
744
|
"aliases": [],
|
|
738
745
|
"args": {},
|
|
739
|
-
"description": "
|
|
746
|
+
"description": "List all available profile configurations",
|
|
740
747
|
"examples": [
|
|
741
|
-
"$ xano profile:
|
|
742
|
-
"$ 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"
|
|
743
751
|
],
|
|
744
|
-
"flags": {
|
|
752
|
+
"flags": {
|
|
753
|
+
"details": {
|
|
754
|
+
"char": "d",
|
|
755
|
+
"description": "Show detailed information for each profile",
|
|
756
|
+
"name": "details",
|
|
757
|
+
"required": false,
|
|
758
|
+
"allowNo": false,
|
|
759
|
+
"type": "boolean"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
745
762
|
"hasDynamicHelp": false,
|
|
746
763
|
"hiddenAliases": [],
|
|
747
|
-
"id": "profile:
|
|
764
|
+
"id": "profile:list",
|
|
748
765
|
"pluginAlias": "@xano/cli",
|
|
749
766
|
"pluginName": "@xano/cli",
|
|
750
767
|
"pluginType": "core",
|
|
@@ -755,38 +772,22 @@
|
|
|
755
772
|
"dist",
|
|
756
773
|
"commands",
|
|
757
774
|
"profile",
|
|
758
|
-
"
|
|
775
|
+
"list",
|
|
759
776
|
"index.js"
|
|
760
777
|
]
|
|
761
778
|
},
|
|
762
|
-
"profile:
|
|
779
|
+
"profile:get-default": {
|
|
763
780
|
"aliases": [],
|
|
764
|
-
"args": {
|
|
765
|
-
|
|
766
|
-
"description": "Profile name to delete",
|
|
767
|
-
"name": "name",
|
|
768
|
-
"required": true
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
"description": "Delete a profile configuration",
|
|
781
|
+
"args": {},
|
|
782
|
+
"description": "Get the current default profile name",
|
|
772
783
|
"examples": [
|
|
773
|
-
"$ xano profile:
|
|
774
|
-
"$ xano profile:
|
|
775
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
784
|
+
"$ xano profile:get-default\nproduction\n",
|
|
785
|
+
"$ xano profile:get-default\nNo default profile set\n"
|
|
776
786
|
],
|
|
777
|
-
"flags": {
|
|
778
|
-
"force": {
|
|
779
|
-
"char": "f",
|
|
780
|
-
"description": "Skip confirmation prompt",
|
|
781
|
-
"name": "force",
|
|
782
|
-
"required": false,
|
|
783
|
-
"allowNo": false,
|
|
784
|
-
"type": "boolean"
|
|
785
|
-
}
|
|
786
|
-
},
|
|
787
|
+
"flags": {},
|
|
787
788
|
"hasDynamicHelp": false,
|
|
788
789
|
"hiddenAliases": [],
|
|
789
|
-
"id": "profile:
|
|
790
|
+
"id": "profile:get-default",
|
|
790
791
|
"pluginAlias": "@xano/cli",
|
|
791
792
|
"pluginName": "@xano/cli",
|
|
792
793
|
"pluginType": "core",
|
|
@@ -797,7 +798,7 @@
|
|
|
797
798
|
"dist",
|
|
798
799
|
"commands",
|
|
799
800
|
"profile",
|
|
800
|
-
"
|
|
801
|
+
"get-default",
|
|
801
802
|
"index.js"
|
|
802
803
|
]
|
|
803
804
|
},
|
|
@@ -821,6 +822,15 @@
|
|
|
821
822
|
"multiple": false,
|
|
822
823
|
"type": "option"
|
|
823
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
|
+
},
|
|
824
834
|
"output": {
|
|
825
835
|
"char": "o",
|
|
826
836
|
"description": "Output format",
|
|
@@ -853,18 +863,18 @@
|
|
|
853
863
|
"index.js"
|
|
854
864
|
]
|
|
855
865
|
},
|
|
856
|
-
"profile:
|
|
866
|
+
"profile:project": {
|
|
857
867
|
"aliases": [],
|
|
858
868
|
"args": {},
|
|
859
|
-
"description": "Print the
|
|
869
|
+
"description": "Print the project for the default profile",
|
|
860
870
|
"examples": [
|
|
861
|
-
"$ xano profile:
|
|
862
|
-
"$ xano profile:
|
|
871
|
+
"$ xano profile:project\nmy-project-id\n",
|
|
872
|
+
"$ xano profile:project | pbcopy\n# Copies the project to clipboard on macOS\n"
|
|
863
873
|
],
|
|
864
874
|
"flags": {},
|
|
865
875
|
"hasDynamicHelp": false,
|
|
866
876
|
"hiddenAliases": [],
|
|
867
|
-
"id": "profile:
|
|
877
|
+
"id": "profile:project",
|
|
868
878
|
"pluginAlias": "@xano/cli",
|
|
869
879
|
"pluginName": "@xano/cli",
|
|
870
880
|
"pluginType": "core",
|
|
@@ -875,7 +885,7 @@
|
|
|
875
885
|
"dist",
|
|
876
886
|
"commands",
|
|
877
887
|
"profile",
|
|
878
|
-
"
|
|
888
|
+
"project",
|
|
879
889
|
"index.js"
|
|
880
890
|
]
|
|
881
891
|
},
|
|
@@ -911,18 +921,18 @@
|
|
|
911
921
|
"index.js"
|
|
912
922
|
]
|
|
913
923
|
},
|
|
914
|
-
"profile:
|
|
924
|
+
"profile:token": {
|
|
915
925
|
"aliases": [],
|
|
916
926
|
"args": {},
|
|
917
|
-
"description": "Print the
|
|
927
|
+
"description": "Print the access token for the default profile",
|
|
918
928
|
"examples": [
|
|
919
|
-
"$ xano profile:
|
|
920
|
-
"$ xano profile:
|
|
929
|
+
"$ xano profile:token\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\n",
|
|
930
|
+
"$ xano profile:token | pbcopy\n# Copies the token to clipboard on macOS\n"
|
|
921
931
|
],
|
|
922
932
|
"flags": {},
|
|
923
933
|
"hasDynamicHelp": false,
|
|
924
934
|
"hiddenAliases": [],
|
|
925
|
-
"id": "profile:
|
|
935
|
+
"id": "profile:token",
|
|
926
936
|
"pluginAlias": "@xano/cli",
|
|
927
937
|
"pluginName": "@xano/cli",
|
|
928
938
|
"pluginType": "core",
|
|
@@ -933,7 +943,141 @@
|
|
|
933
943
|
"dist",
|
|
934
944
|
"commands",
|
|
935
945
|
"profile",
|
|
936
|
-
"
|
|
946
|
+
"token",
|
|
947
|
+
"index.js"
|
|
948
|
+
]
|
|
949
|
+
},
|
|
950
|
+
"profile:wizard": {
|
|
951
|
+
"aliases": [],
|
|
952
|
+
"args": {},
|
|
953
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
954
|
+
"examples": [
|
|
955
|
+
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
956
|
+
],
|
|
957
|
+
"flags": {
|
|
958
|
+
"name": {
|
|
959
|
+
"char": "n",
|
|
960
|
+
"description": "Profile name (skip prompt if provided)",
|
|
961
|
+
"name": "name",
|
|
962
|
+
"required": false,
|
|
963
|
+
"hasDynamicHelp": false,
|
|
964
|
+
"multiple": false,
|
|
965
|
+
"type": "option"
|
|
966
|
+
},
|
|
967
|
+
"origin": {
|
|
968
|
+
"char": "o",
|
|
969
|
+
"description": "Xano instance origin URL",
|
|
970
|
+
"name": "origin",
|
|
971
|
+
"required": false,
|
|
972
|
+
"default": "https://app.xano.com",
|
|
973
|
+
"hasDynamicHelp": false,
|
|
974
|
+
"multiple": false,
|
|
975
|
+
"type": "option"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"hasDynamicHelp": false,
|
|
979
|
+
"hiddenAliases": [],
|
|
980
|
+
"id": "profile:wizard",
|
|
981
|
+
"pluginAlias": "@xano/cli",
|
|
982
|
+
"pluginName": "@xano/cli",
|
|
983
|
+
"pluginType": "core",
|
|
984
|
+
"strict": true,
|
|
985
|
+
"enableJsonFlag": false,
|
|
986
|
+
"isESM": true,
|
|
987
|
+
"relativePath": [
|
|
988
|
+
"dist",
|
|
989
|
+
"commands",
|
|
990
|
+
"profile",
|
|
991
|
+
"wizard",
|
|
992
|
+
"index.js"
|
|
993
|
+
]
|
|
994
|
+
},
|
|
995
|
+
"static_host:list": {
|
|
996
|
+
"aliases": [],
|
|
997
|
+
"args": {},
|
|
998
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
999
|
+
"examples": [
|
|
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"
|
|
1004
|
+
],
|
|
1005
|
+
"flags": {
|
|
1006
|
+
"profile": {
|
|
1007
|
+
"char": "p",
|
|
1008
|
+
"description": "Profile to use for this command",
|
|
1009
|
+
"env": "XANO_PROFILE",
|
|
1010
|
+
"name": "profile",
|
|
1011
|
+
"required": false,
|
|
1012
|
+
"hasDynamicHelp": false,
|
|
1013
|
+
"multiple": false,
|
|
1014
|
+
"type": "option"
|
|
1015
|
+
},
|
|
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",
|
|
1029
|
+
"required": false,
|
|
1030
|
+
"hasDynamicHelp": false,
|
|
1031
|
+
"multiple": false,
|
|
1032
|
+
"type": "option"
|
|
1033
|
+
},
|
|
1034
|
+
"output": {
|
|
1035
|
+
"char": "o",
|
|
1036
|
+
"description": "Output format",
|
|
1037
|
+
"name": "output",
|
|
1038
|
+
"required": false,
|
|
1039
|
+
"default": "summary",
|
|
1040
|
+
"hasDynamicHelp": false,
|
|
1041
|
+
"multiple": false,
|
|
1042
|
+
"options": [
|
|
1043
|
+
"summary",
|
|
1044
|
+
"json"
|
|
1045
|
+
],
|
|
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"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"hasDynamicHelp": false,
|
|
1068
|
+
"hiddenAliases": [],
|
|
1069
|
+
"id": "static_host:list",
|
|
1070
|
+
"pluginAlias": "@xano/cli",
|
|
1071
|
+
"pluginName": "@xano/cli",
|
|
1072
|
+
"pluginType": "core",
|
|
1073
|
+
"strict": true,
|
|
1074
|
+
"enableJsonFlag": false,
|
|
1075
|
+
"isESM": true,
|
|
1076
|
+
"relativePath": [
|
|
1077
|
+
"dist",
|
|
1078
|
+
"commands",
|
|
1079
|
+
"static_host",
|
|
1080
|
+
"list",
|
|
937
1081
|
"index.js"
|
|
938
1082
|
]
|
|
939
1083
|
},
|
|
@@ -967,6 +1111,15 @@
|
|
|
967
1111
|
"multiple": false,
|
|
968
1112
|
"type": "option"
|
|
969
1113
|
},
|
|
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
|
+
},
|
|
970
1123
|
"file": {
|
|
971
1124
|
"char": "f",
|
|
972
1125
|
"description": "Path or URL to file containing XanoScript code (deprecated: use path argument instead)",
|
|
@@ -992,10 +1145,7 @@
|
|
|
992
1145
|
},
|
|
993
1146
|
"edit": {
|
|
994
1147
|
"char": "e",
|
|
995
|
-
"
|
|
996
|
-
"file"
|
|
997
|
-
],
|
|
998
|
-
"description": "Open file in editor before running (requires --file)",
|
|
1148
|
+
"description": "Open file in editor before running (requires path argument or --file)",
|
|
999
1149
|
"name": "edit",
|
|
1000
1150
|
"required": false,
|
|
1001
1151
|
"allowNo": false,
|
|
@@ -1049,87 +1199,6 @@
|
|
|
1049
1199
|
"index.js"
|
|
1050
1200
|
]
|
|
1051
1201
|
},
|
|
1052
|
-
"profile:list": {
|
|
1053
|
-
"aliases": [],
|
|
1054
|
-
"args": {},
|
|
1055
|
-
"description": "List all available profile configurations",
|
|
1056
|
-
"examples": [
|
|
1057
|
-
"$ xano profile:list\nAvailable profiles:\n - default\n - production\n - staging\n - development\n",
|
|
1058
|
-
"$ 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",
|
|
1059
|
-
"$ 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"
|
|
1060
|
-
],
|
|
1061
|
-
"flags": {
|
|
1062
|
-
"details": {
|
|
1063
|
-
"char": "d",
|
|
1064
|
-
"description": "Show detailed information for each profile",
|
|
1065
|
-
"name": "details",
|
|
1066
|
-
"required": false,
|
|
1067
|
-
"allowNo": false,
|
|
1068
|
-
"type": "boolean"
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
"hasDynamicHelp": false,
|
|
1072
|
-
"hiddenAliases": [],
|
|
1073
|
-
"id": "profile:list",
|
|
1074
|
-
"pluginAlias": "@xano/cli",
|
|
1075
|
-
"pluginName": "@xano/cli",
|
|
1076
|
-
"pluginType": "core",
|
|
1077
|
-
"strict": true,
|
|
1078
|
-
"enableJsonFlag": false,
|
|
1079
|
-
"isESM": true,
|
|
1080
|
-
"relativePath": [
|
|
1081
|
-
"dist",
|
|
1082
|
-
"commands",
|
|
1083
|
-
"profile",
|
|
1084
|
-
"list",
|
|
1085
|
-
"index.js"
|
|
1086
|
-
]
|
|
1087
|
-
},
|
|
1088
|
-
"profile:wizard": {
|
|
1089
|
-
"aliases": [],
|
|
1090
|
-
"args": {},
|
|
1091
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1092
|
-
"examples": [
|
|
1093
|
-
"$ xano profile:wizard\nWelcome to the Xano Profile Wizard!\n? Enter your access token: ***...***\n? Select an instance:\n > Production (https://app.xano.com)\n Staging (https://staging.xano.com)\n? Profile name: production\nProfile 'production' created successfully at ~/.xano/credentials.yaml\n"
|
|
1094
|
-
],
|
|
1095
|
-
"flags": {
|
|
1096
|
-
"name": {
|
|
1097
|
-
"char": "n",
|
|
1098
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1099
|
-
"name": "name",
|
|
1100
|
-
"required": false,
|
|
1101
|
-
"hasDynamicHelp": false,
|
|
1102
|
-
"multiple": false,
|
|
1103
|
-
"type": "option"
|
|
1104
|
-
},
|
|
1105
|
-
"origin": {
|
|
1106
|
-
"char": "o",
|
|
1107
|
-
"description": "Xano instance origin URL",
|
|
1108
|
-
"name": "origin",
|
|
1109
|
-
"required": false,
|
|
1110
|
-
"default": "https://app.xano.com",
|
|
1111
|
-
"hasDynamicHelp": false,
|
|
1112
|
-
"multiple": false,
|
|
1113
|
-
"type": "option"
|
|
1114
|
-
}
|
|
1115
|
-
},
|
|
1116
|
-
"hasDynamicHelp": false,
|
|
1117
|
-
"hiddenAliases": [],
|
|
1118
|
-
"id": "profile:wizard",
|
|
1119
|
-
"pluginAlias": "@xano/cli",
|
|
1120
|
-
"pluginName": "@xano/cli",
|
|
1121
|
-
"pluginType": "core",
|
|
1122
|
-
"strict": true,
|
|
1123
|
-
"enableJsonFlag": false,
|
|
1124
|
-
"isESM": true,
|
|
1125
|
-
"relativePath": [
|
|
1126
|
-
"dist",
|
|
1127
|
-
"commands",
|
|
1128
|
-
"profile",
|
|
1129
|
-
"wizard",
|
|
1130
|
-
"index.js"
|
|
1131
|
-
]
|
|
1132
|
-
},
|
|
1133
1202
|
"run:info": {
|
|
1134
1203
|
"aliases": [],
|
|
1135
1204
|
"args": {},
|
|
@@ -1150,6 +1219,15 @@
|
|
|
1150
1219
|
"multiple": false,
|
|
1151
1220
|
"type": "option"
|
|
1152
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
|
+
},
|
|
1153
1231
|
"file": {
|
|
1154
1232
|
"char": "f",
|
|
1155
1233
|
"description": "Path or URL to file containing XanoScript code",
|
|
@@ -1225,6 +1303,15 @@
|
|
|
1225
1303
|
"multiple": false,
|
|
1226
1304
|
"type": "option"
|
|
1227
1305
|
},
|
|
1306
|
+
"verbose": {
|
|
1307
|
+
"char": "v",
|
|
1308
|
+
"description": "Show detailed request/response information",
|
|
1309
|
+
"env": "XANO_VERBOSE",
|
|
1310
|
+
"name": "verbose",
|
|
1311
|
+
"required": false,
|
|
1312
|
+
"allowNo": false,
|
|
1313
|
+
"type": "boolean"
|
|
1314
|
+
},
|
|
1228
1315
|
"output": {
|
|
1229
1316
|
"char": "o",
|
|
1230
1317
|
"description": "Output format",
|
|
@@ -1283,6 +1370,15 @@
|
|
|
1283
1370
|
"multiple": false,
|
|
1284
1371
|
"type": "option"
|
|
1285
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
|
+
},
|
|
1286
1382
|
"workspace": {
|
|
1287
1383
|
"char": "w",
|
|
1288
1384
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1350,6 +1446,15 @@
|
|
|
1350
1446
|
"multiple": false,
|
|
1351
1447
|
"type": "option"
|
|
1352
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
|
+
},
|
|
1353
1458
|
"workspace": {
|
|
1354
1459
|
"char": "w",
|
|
1355
1460
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1403,6 +1508,15 @@
|
|
|
1403
1508
|
"multiple": false,
|
|
1404
1509
|
"type": "option"
|
|
1405
1510
|
},
|
|
1511
|
+
"verbose": {
|
|
1512
|
+
"char": "v",
|
|
1513
|
+
"description": "Show detailed request/response information",
|
|
1514
|
+
"env": "XANO_VERBOSE",
|
|
1515
|
+
"name": "verbose",
|
|
1516
|
+
"required": false,
|
|
1517
|
+
"allowNo": false,
|
|
1518
|
+
"type": "boolean"
|
|
1519
|
+
},
|
|
1406
1520
|
"workspace": {
|
|
1407
1521
|
"char": "w",
|
|
1408
1522
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1504,6 +1618,15 @@
|
|
|
1504
1618
|
"multiple": false,
|
|
1505
1619
|
"type": "option"
|
|
1506
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
|
+
},
|
|
1507
1630
|
"workspace": {
|
|
1508
1631
|
"char": "w",
|
|
1509
1632
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1573,6 +1696,15 @@
|
|
|
1573
1696
|
"multiple": false,
|
|
1574
1697
|
"type": "option"
|
|
1575
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
|
+
},
|
|
1576
1708
|
"workspace": {
|
|
1577
1709
|
"char": "w",
|
|
1578
1710
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -1658,6 +1790,15 @@
|
|
|
1658
1790
|
"multiple": false,
|
|
1659
1791
|
"type": "option"
|
|
1660
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
|
+
},
|
|
1661
1802
|
"force": {
|
|
1662
1803
|
"char": "f",
|
|
1663
1804
|
"description": "Skip confirmation prompt",
|
|
@@ -1709,6 +1850,15 @@
|
|
|
1709
1850
|
"multiple": false,
|
|
1710
1851
|
"type": "option"
|
|
1711
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
|
+
},
|
|
1712
1862
|
"output": {
|
|
1713
1863
|
"char": "o",
|
|
1714
1864
|
"description": "Output format",
|
|
@@ -1760,6 +1910,15 @@
|
|
|
1760
1910
|
"multiple": false,
|
|
1761
1911
|
"type": "option"
|
|
1762
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
|
+
},
|
|
1763
1922
|
"output": {
|
|
1764
1923
|
"char": "o",
|
|
1765
1924
|
"description": "Output format",
|
|
@@ -1821,6 +1980,15 @@
|
|
|
1821
1980
|
"hasDynamicHelp": false,
|
|
1822
1981
|
"multiple": false,
|
|
1823
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"
|
|
1824
1992
|
}
|
|
1825
1993
|
},
|
|
1826
1994
|
"hasDynamicHelp": false,
|
|
@@ -1860,6 +2028,15 @@
|
|
|
1860
2028
|
"multiple": false,
|
|
1861
2029
|
"type": "option"
|
|
1862
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
|
+
},
|
|
1863
2040
|
"name": {
|
|
1864
2041
|
"char": "n",
|
|
1865
2042
|
"description": "Project name",
|
|
@@ -1936,6 +2113,15 @@
|
|
|
1936
2113
|
"multiple": false,
|
|
1937
2114
|
"type": "option"
|
|
1938
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
|
+
},
|
|
1939
2125
|
"force": {
|
|
1940
2126
|
"char": "f",
|
|
1941
2127
|
"description": "Skip confirmation prompt",
|
|
@@ -1981,6 +2167,15 @@
|
|
|
1981
2167
|
"multiple": false,
|
|
1982
2168
|
"type": "option"
|
|
1983
2169
|
},
|
|
2170
|
+
"verbose": {
|
|
2171
|
+
"char": "v",
|
|
2172
|
+
"description": "Show detailed request/response information",
|
|
2173
|
+
"env": "XANO_VERBOSE",
|
|
2174
|
+
"name": "verbose",
|
|
2175
|
+
"required": false,
|
|
2176
|
+
"allowNo": false,
|
|
2177
|
+
"type": "boolean"
|
|
2178
|
+
},
|
|
1984
2179
|
"output": {
|
|
1985
2180
|
"char": "o",
|
|
1986
2181
|
"description": "Output format",
|
|
@@ -2039,6 +2234,15 @@
|
|
|
2039
2234
|
"multiple": false,
|
|
2040
2235
|
"type": "option"
|
|
2041
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
|
+
},
|
|
2042
2246
|
"name": {
|
|
2043
2247
|
"char": "n",
|
|
2044
2248
|
"description": "New project name",
|
|
@@ -2114,6 +2318,15 @@
|
|
|
2114
2318
|
"multiple": false,
|
|
2115
2319
|
"type": "option"
|
|
2116
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
|
+
},
|
|
2117
2330
|
"force": {
|
|
2118
2331
|
"char": "f",
|
|
2119
2332
|
"description": "Skip confirmation prompt",
|
|
@@ -2165,6 +2378,15 @@
|
|
|
2165
2378
|
"multiple": false,
|
|
2166
2379
|
"type": "option"
|
|
2167
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
|
+
},
|
|
2168
2390
|
"output": {
|
|
2169
2391
|
"char": "o",
|
|
2170
2392
|
"description": "Output format",
|
|
@@ -2216,6 +2438,15 @@
|
|
|
2216
2438
|
"multiple": false,
|
|
2217
2439
|
"type": "option"
|
|
2218
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
|
+
},
|
|
2219
2450
|
"output": {
|
|
2220
2451
|
"char": "o",
|
|
2221
2452
|
"description": "Output format",
|
|
@@ -2248,19 +2479,19 @@
|
|
|
2248
2479
|
"index.js"
|
|
2249
2480
|
]
|
|
2250
2481
|
},
|
|
2251
|
-
"run:
|
|
2482
|
+
"run:sink:get": {
|
|
2252
2483
|
"aliases": [],
|
|
2253
2484
|
"args": {
|
|
2254
|
-
"
|
|
2255
|
-
"description": "
|
|
2256
|
-
"name": "
|
|
2485
|
+
"sessionId": {
|
|
2486
|
+
"description": "Session ID",
|
|
2487
|
+
"name": "sessionId",
|
|
2257
2488
|
"required": true
|
|
2258
2489
|
}
|
|
2259
2490
|
},
|
|
2260
|
-
"description": "
|
|
2491
|
+
"description": "Get sink data for a completed session",
|
|
2261
2492
|
"examples": [
|
|
2262
|
-
"$ xano run
|
|
2263
|
-
"$ xano run
|
|
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"
|
|
2264
2495
|
],
|
|
2265
2496
|
"flags": {
|
|
2266
2497
|
"profile": {
|
|
@@ -2273,41 +2504,33 @@
|
|
|
2273
2504
|
"multiple": false,
|
|
2274
2505
|
"type": "option"
|
|
2275
2506
|
},
|
|
2276
|
-
"
|
|
2277
|
-
"char": "t",
|
|
2278
|
-
"description": "Secret type",
|
|
2279
|
-
"name": "type",
|
|
2280
|
-
"required": true,
|
|
2281
|
-
"hasDynamicHelp": false,
|
|
2282
|
-
"multiple": false,
|
|
2283
|
-
"options": [
|
|
2284
|
-
"dockerconfigjson",
|
|
2285
|
-
"service-account-token"
|
|
2286
|
-
],
|
|
2287
|
-
"type": "option"
|
|
2288
|
-
},
|
|
2289
|
-
"value": {
|
|
2507
|
+
"verbose": {
|
|
2290
2508
|
"char": "v",
|
|
2291
|
-
"description": "
|
|
2292
|
-
"
|
|
2293
|
-
"
|
|
2294
|
-
"
|
|
2295
|
-
"
|
|
2296
|
-
"type": "
|
|
2509
|
+
"description": "Show detailed request/response information",
|
|
2510
|
+
"env": "XANO_VERBOSE",
|
|
2511
|
+
"name": "verbose",
|
|
2512
|
+
"required": false,
|
|
2513
|
+
"allowNo": false,
|
|
2514
|
+
"type": "boolean"
|
|
2297
2515
|
},
|
|
2298
|
-
"
|
|
2299
|
-
"char": "
|
|
2300
|
-
"description": "
|
|
2301
|
-
"name": "
|
|
2516
|
+
"output": {
|
|
2517
|
+
"char": "o",
|
|
2518
|
+
"description": "Output format",
|
|
2519
|
+
"name": "output",
|
|
2302
2520
|
"required": false,
|
|
2521
|
+
"default": "summary",
|
|
2303
2522
|
"hasDynamicHelp": false,
|
|
2304
2523
|
"multiple": false,
|
|
2524
|
+
"options": [
|
|
2525
|
+
"summary",
|
|
2526
|
+
"json"
|
|
2527
|
+
],
|
|
2305
2528
|
"type": "option"
|
|
2306
2529
|
}
|
|
2307
2530
|
},
|
|
2308
2531
|
"hasDynamicHelp": false,
|
|
2309
2532
|
"hiddenAliases": [],
|
|
2310
|
-
"id": "run:
|
|
2533
|
+
"id": "run:sink:get",
|
|
2311
2534
|
"pluginAlias": "@xano/cli",
|
|
2312
2535
|
"pluginName": "@xano/cli",
|
|
2313
2536
|
"pluginType": "core",
|
|
@@ -2317,8 +2540,8 @@
|
|
|
2317
2540
|
"dist",
|
|
2318
2541
|
"commands",
|
|
2319
2542
|
"run",
|
|
2320
|
-
"
|
|
2321
|
-
"
|
|
2543
|
+
"sink",
|
|
2544
|
+
"get",
|
|
2322
2545
|
"index.js"
|
|
2323
2546
|
]
|
|
2324
2547
|
},
|
|
@@ -2347,6 +2570,15 @@
|
|
|
2347
2570
|
"multiple": false,
|
|
2348
2571
|
"type": "option"
|
|
2349
2572
|
},
|
|
2573
|
+
"verbose": {
|
|
2574
|
+
"char": "v",
|
|
2575
|
+
"description": "Show detailed request/response information",
|
|
2576
|
+
"env": "XANO_VERBOSE",
|
|
2577
|
+
"name": "verbose",
|
|
2578
|
+
"required": false,
|
|
2579
|
+
"allowNo": false,
|
|
2580
|
+
"type": "boolean"
|
|
2581
|
+
},
|
|
2350
2582
|
"force": {
|
|
2351
2583
|
"char": "f",
|
|
2352
2584
|
"description": "Skip confirmation prompt",
|
|
@@ -2373,19 +2605,19 @@
|
|
|
2373
2605
|
"index.js"
|
|
2374
2606
|
]
|
|
2375
2607
|
},
|
|
2376
|
-
"run:
|
|
2608
|
+
"run:secrets:set": {
|
|
2377
2609
|
"aliases": [],
|
|
2378
2610
|
"args": {
|
|
2379
|
-
"
|
|
2380
|
-
"description": "
|
|
2381
|
-
"name": "
|
|
2611
|
+
"name": {
|
|
2612
|
+
"description": "Secret name",
|
|
2613
|
+
"name": "name",
|
|
2382
2614
|
"required": true
|
|
2383
2615
|
}
|
|
2384
2616
|
},
|
|
2385
|
-
"description": "
|
|
2617
|
+
"description": "Set a secret",
|
|
2386
2618
|
"examples": [
|
|
2387
|
-
"$ xano run
|
|
2388
|
-
"$ 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"
|
|
2389
2621
|
],
|
|
2390
2622
|
"flags": {
|
|
2391
2623
|
"profile": {
|
|
@@ -2398,24 +2630,50 @@
|
|
|
2398
2630
|
"multiple": false,
|
|
2399
2631
|
"type": "option"
|
|
2400
2632
|
},
|
|
2401
|
-
"
|
|
2402
|
-
"char": "
|
|
2403
|
-
"description": "
|
|
2404
|
-
"
|
|
2633
|
+
"verbose": {
|
|
2634
|
+
"char": "v",
|
|
2635
|
+
"description": "Show detailed request/response information",
|
|
2636
|
+
"env": "XANO_VERBOSE",
|
|
2637
|
+
"name": "verbose",
|
|
2405
2638
|
"required": false,
|
|
2406
|
-
"
|
|
2639
|
+
"allowNo": false,
|
|
2640
|
+
"type": "boolean"
|
|
2641
|
+
},
|
|
2642
|
+
"type": {
|
|
2643
|
+
"char": "t",
|
|
2644
|
+
"description": "Secret type",
|
|
2645
|
+
"name": "type",
|
|
2646
|
+
"required": true,
|
|
2407
2647
|
"hasDynamicHelp": false,
|
|
2408
2648
|
"multiple": false,
|
|
2409
2649
|
"options": [
|
|
2410
|
-
"
|
|
2411
|
-
"
|
|
2650
|
+
"dockerconfigjson",
|
|
2651
|
+
"service-account-token"
|
|
2412
2652
|
],
|
|
2413
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"
|
|
2414
2672
|
}
|
|
2415
2673
|
},
|
|
2416
2674
|
"hasDynamicHelp": false,
|
|
2417
2675
|
"hiddenAliases": [],
|
|
2418
|
-
"id": "run:
|
|
2676
|
+
"id": "run:secrets:set",
|
|
2419
2677
|
"pluginAlias": "@xano/cli",
|
|
2420
2678
|
"pluginName": "@xano/cli",
|
|
2421
2679
|
"pluginType": "core",
|
|
@@ -2425,18 +2683,24 @@
|
|
|
2425
2683
|
"dist",
|
|
2426
2684
|
"commands",
|
|
2427
2685
|
"run",
|
|
2428
|
-
"
|
|
2429
|
-
"
|
|
2686
|
+
"secrets",
|
|
2687
|
+
"set",
|
|
2430
2688
|
"index.js"
|
|
2431
2689
|
]
|
|
2432
2690
|
},
|
|
2433
|
-
"run:sessions:
|
|
2691
|
+
"run:sessions:get": {
|
|
2434
2692
|
"aliases": [],
|
|
2435
|
-
"args": {
|
|
2436
|
-
|
|
2693
|
+
"args": {
|
|
2694
|
+
"sessionId": {
|
|
2695
|
+
"description": "Session ID",
|
|
2696
|
+
"name": "sessionId",
|
|
2697
|
+
"required": true
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
"description": "Get session details",
|
|
2437
2701
|
"examples": [
|
|
2438
|
-
"$ xano run sessions
|
|
2439
|
-
"$ 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"
|
|
2440
2704
|
],
|
|
2441
2705
|
"flags": {
|
|
2442
2706
|
"profile": {
|
|
@@ -2449,16 +2713,25 @@
|
|
|
2449
2713
|
"multiple": false,
|
|
2450
2714
|
"type": "option"
|
|
2451
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
|
+
},
|
|
2452
2725
|
"output": {
|
|
2453
2726
|
"char": "o",
|
|
2454
2727
|
"description": "Output format",
|
|
2455
2728
|
"name": "output",
|
|
2456
2729
|
"required": false,
|
|
2457
|
-
"default": "
|
|
2730
|
+
"default": "summary",
|
|
2458
2731
|
"hasDynamicHelp": false,
|
|
2459
2732
|
"multiple": false,
|
|
2460
2733
|
"options": [
|
|
2461
|
-
"
|
|
2734
|
+
"summary",
|
|
2462
2735
|
"json"
|
|
2463
2736
|
],
|
|
2464
2737
|
"type": "option"
|
|
@@ -2466,7 +2739,7 @@
|
|
|
2466
2739
|
},
|
|
2467
2740
|
"hasDynamicHelp": false,
|
|
2468
2741
|
"hiddenAliases": [],
|
|
2469
|
-
"id": "run:sessions:
|
|
2742
|
+
"id": "run:sessions:get",
|
|
2470
2743
|
"pluginAlias": "@xano/cli",
|
|
2471
2744
|
"pluginName": "@xano/cli",
|
|
2472
2745
|
"pluginType": "core",
|
|
@@ -2477,23 +2750,17 @@
|
|
|
2477
2750
|
"commands",
|
|
2478
2751
|
"run",
|
|
2479
2752
|
"sessions",
|
|
2480
|
-
"
|
|
2753
|
+
"get",
|
|
2481
2754
|
"index.js"
|
|
2482
2755
|
]
|
|
2483
2756
|
},
|
|
2484
|
-
"run:sessions:
|
|
2757
|
+
"run:sessions:list": {
|
|
2485
2758
|
"aliases": [],
|
|
2486
|
-
"args": {
|
|
2487
|
-
|
|
2488
|
-
"description": "Session ID",
|
|
2489
|
-
"name": "sessionId",
|
|
2490
|
-
"required": true
|
|
2491
|
-
}
|
|
2492
|
-
},
|
|
2493
|
-
"description": "Start a session",
|
|
2759
|
+
"args": {},
|
|
2760
|
+
"description": "List all sessions for the project",
|
|
2494
2761
|
"examples": [
|
|
2495
|
-
"$ xano run sessions
|
|
2496
|
-
"$ xano run sessions
|
|
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"
|
|
2497
2764
|
],
|
|
2498
2765
|
"flags": {
|
|
2499
2766
|
"profile": {
|
|
@@ -2506,16 +2773,25 @@
|
|
|
2506
2773
|
"multiple": false,
|
|
2507
2774
|
"type": "option"
|
|
2508
2775
|
},
|
|
2776
|
+
"verbose": {
|
|
2777
|
+
"char": "v",
|
|
2778
|
+
"description": "Show detailed request/response information",
|
|
2779
|
+
"env": "XANO_VERBOSE",
|
|
2780
|
+
"name": "verbose",
|
|
2781
|
+
"required": false,
|
|
2782
|
+
"allowNo": false,
|
|
2783
|
+
"type": "boolean"
|
|
2784
|
+
},
|
|
2509
2785
|
"output": {
|
|
2510
2786
|
"char": "o",
|
|
2511
2787
|
"description": "Output format",
|
|
2512
2788
|
"name": "output",
|
|
2513
2789
|
"required": false,
|
|
2514
|
-
"default": "
|
|
2790
|
+
"default": "table",
|
|
2515
2791
|
"hasDynamicHelp": false,
|
|
2516
2792
|
"multiple": false,
|
|
2517
2793
|
"options": [
|
|
2518
|
-
"
|
|
2794
|
+
"table",
|
|
2519
2795
|
"json"
|
|
2520
2796
|
],
|
|
2521
2797
|
"type": "option"
|
|
@@ -2523,7 +2799,7 @@
|
|
|
2523
2799
|
},
|
|
2524
2800
|
"hasDynamicHelp": false,
|
|
2525
2801
|
"hiddenAliases": [],
|
|
2526
|
-
"id": "run:sessions:
|
|
2802
|
+
"id": "run:sessions:list",
|
|
2527
2803
|
"pluginAlias": "@xano/cli",
|
|
2528
2804
|
"pluginName": "@xano/cli",
|
|
2529
2805
|
"pluginType": "core",
|
|
@@ -2534,11 +2810,11 @@
|
|
|
2534
2810
|
"commands",
|
|
2535
2811
|
"run",
|
|
2536
2812
|
"sessions",
|
|
2537
|
-
"
|
|
2813
|
+
"list",
|
|
2538
2814
|
"index.js"
|
|
2539
2815
|
]
|
|
2540
2816
|
},
|
|
2541
|
-
"run:sessions:
|
|
2817
|
+
"run:sessions:start": {
|
|
2542
2818
|
"aliases": [],
|
|
2543
2819
|
"args": {
|
|
2544
2820
|
"sessionId": {
|
|
@@ -2547,10 +2823,10 @@
|
|
|
2547
2823
|
"required": true
|
|
2548
2824
|
}
|
|
2549
2825
|
},
|
|
2550
|
-
"description": "
|
|
2826
|
+
"description": "Start a session",
|
|
2551
2827
|
"examples": [
|
|
2552
|
-
"$ xano run sessions
|
|
2553
|
-
"$ xano run sessions
|
|
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"
|
|
2554
2830
|
],
|
|
2555
2831
|
"flags": {
|
|
2556
2832
|
"profile": {
|
|
@@ -2563,6 +2839,15 @@
|
|
|
2563
2839
|
"multiple": false,
|
|
2564
2840
|
"type": "option"
|
|
2565
2841
|
},
|
|
2842
|
+
"verbose": {
|
|
2843
|
+
"char": "v",
|
|
2844
|
+
"description": "Show detailed request/response information",
|
|
2845
|
+
"env": "XANO_VERBOSE",
|
|
2846
|
+
"name": "verbose",
|
|
2847
|
+
"required": false,
|
|
2848
|
+
"allowNo": false,
|
|
2849
|
+
"type": "boolean"
|
|
2850
|
+
},
|
|
2566
2851
|
"output": {
|
|
2567
2852
|
"char": "o",
|
|
2568
2853
|
"description": "Output format",
|
|
@@ -2580,7 +2865,7 @@
|
|
|
2580
2865
|
},
|
|
2581
2866
|
"hasDynamicHelp": false,
|
|
2582
2867
|
"hiddenAliases": [],
|
|
2583
|
-
"id": "run:sessions:
|
|
2868
|
+
"id": "run:sessions:start",
|
|
2584
2869
|
"pluginAlias": "@xano/cli",
|
|
2585
2870
|
"pluginName": "@xano/cli",
|
|
2586
2871
|
"pluginType": "core",
|
|
@@ -2591,11 +2876,11 @@
|
|
|
2591
2876
|
"commands",
|
|
2592
2877
|
"run",
|
|
2593
2878
|
"sessions",
|
|
2594
|
-
"
|
|
2879
|
+
"start",
|
|
2595
2880
|
"index.js"
|
|
2596
2881
|
]
|
|
2597
2882
|
},
|
|
2598
|
-
"run:
|
|
2883
|
+
"run:sessions:stop": {
|
|
2599
2884
|
"aliases": [],
|
|
2600
2885
|
"args": {
|
|
2601
2886
|
"sessionId": {
|
|
@@ -2604,10 +2889,10 @@
|
|
|
2604
2889
|
"required": true
|
|
2605
2890
|
}
|
|
2606
2891
|
},
|
|
2607
|
-
"description": "
|
|
2892
|
+
"description": "Stop a session",
|
|
2608
2893
|
"examples": [
|
|
2609
|
-
"$ xano run
|
|
2610
|
-
"$ 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"
|
|
2611
2896
|
],
|
|
2612
2897
|
"flags": {
|
|
2613
2898
|
"profile": {
|
|
@@ -2620,6 +2905,15 @@
|
|
|
2620
2905
|
"multiple": false,
|
|
2621
2906
|
"type": "option"
|
|
2622
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
|
+
},
|
|
2623
2917
|
"output": {
|
|
2624
2918
|
"char": "o",
|
|
2625
2919
|
"description": "Output format",
|
|
@@ -2637,7 +2931,7 @@
|
|
|
2637
2931
|
},
|
|
2638
2932
|
"hasDynamicHelp": false,
|
|
2639
2933
|
"hiddenAliases": [],
|
|
2640
|
-
"id": "run:
|
|
2934
|
+
"id": "run:sessions:stop",
|
|
2641
2935
|
"pluginAlias": "@xano/cli",
|
|
2642
2936
|
"pluginName": "@xano/cli",
|
|
2643
2937
|
"pluginType": "core",
|
|
@@ -2647,11 +2941,11 @@
|
|
|
2647
2941
|
"dist",
|
|
2648
2942
|
"commands",
|
|
2649
2943
|
"run",
|
|
2650
|
-
"
|
|
2651
|
-
"
|
|
2944
|
+
"sessions",
|
|
2945
|
+
"stop",
|
|
2652
2946
|
"index.js"
|
|
2653
2947
|
]
|
|
2654
2948
|
}
|
|
2655
2949
|
},
|
|
2656
|
-
"version": "0.0.
|
|
2950
|
+
"version": "0.0.20"
|
|
2657
2951
|
}
|