@xano/cli 0.0.82-beta.6 → 0.0.83
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/oclif.manifest.json +1598 -1598
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -291,20 +291,20 @@
|
|
|
291
291
|
"index.js"
|
|
292
292
|
]
|
|
293
293
|
},
|
|
294
|
-
"branch:
|
|
294
|
+
"branch:edit": {
|
|
295
295
|
"aliases": [],
|
|
296
296
|
"args": {
|
|
297
|
-
"
|
|
298
|
-
"description": "
|
|
299
|
-
"name": "
|
|
300
|
-
"required":
|
|
297
|
+
"branch_label": {
|
|
298
|
+
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
299
|
+
"name": "branch_label",
|
|
300
|
+
"required": true
|
|
301
301
|
}
|
|
302
302
|
},
|
|
303
|
-
"description": "
|
|
303
|
+
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
304
304
|
"examples": [
|
|
305
|
-
"$ xano branch
|
|
306
|
-
"$ xano branch
|
|
307
|
-
"$ xano branch
|
|
305
|
+
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
306
|
+
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
307
|
+
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
308
308
|
],
|
|
309
309
|
"flags": {
|
|
310
310
|
"profile": {
|
|
@@ -326,6 +326,33 @@
|
|
|
326
326
|
"allowNo": false,
|
|
327
327
|
"type": "boolean"
|
|
328
328
|
},
|
|
329
|
+
"color": {
|
|
330
|
+
"char": "c",
|
|
331
|
+
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
332
|
+
"name": "color",
|
|
333
|
+
"required": false,
|
|
334
|
+
"hasDynamicHelp": false,
|
|
335
|
+
"multiple": false,
|
|
336
|
+
"type": "option"
|
|
337
|
+
},
|
|
338
|
+
"description": {
|
|
339
|
+
"char": "d",
|
|
340
|
+
"description": "New description for the branch",
|
|
341
|
+
"name": "description",
|
|
342
|
+
"required": false,
|
|
343
|
+
"hasDynamicHelp": false,
|
|
344
|
+
"multiple": false,
|
|
345
|
+
"type": "option"
|
|
346
|
+
},
|
|
347
|
+
"label": {
|
|
348
|
+
"char": "l",
|
|
349
|
+
"description": "New label for the branch",
|
|
350
|
+
"name": "label",
|
|
351
|
+
"required": false,
|
|
352
|
+
"hasDynamicHelp": false,
|
|
353
|
+
"multiple": false,
|
|
354
|
+
"type": "option"
|
|
355
|
+
},
|
|
329
356
|
"output": {
|
|
330
357
|
"char": "o",
|
|
331
358
|
"description": "Output format",
|
|
@@ -339,11 +366,20 @@
|
|
|
339
366
|
"json"
|
|
340
367
|
],
|
|
341
368
|
"type": "option"
|
|
369
|
+
},
|
|
370
|
+
"workspace": {
|
|
371
|
+
"char": "w",
|
|
372
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
373
|
+
"name": "workspace",
|
|
374
|
+
"required": false,
|
|
375
|
+
"hasDynamicHelp": false,
|
|
376
|
+
"multiple": false,
|
|
377
|
+
"type": "option"
|
|
342
378
|
}
|
|
343
379
|
},
|
|
344
380
|
"hasDynamicHelp": false,
|
|
345
381
|
"hiddenAliases": [],
|
|
346
|
-
"id": "branch:
|
|
382
|
+
"id": "branch:edit",
|
|
347
383
|
"pluginAlias": "@xano/cli",
|
|
348
384
|
"pluginName": "@xano/cli",
|
|
349
385
|
"pluginType": "core",
|
|
@@ -354,7 +390,7 @@
|
|
|
354
390
|
"dist",
|
|
355
391
|
"commands",
|
|
356
392
|
"branch",
|
|
357
|
-
"
|
|
393
|
+
"edit",
|
|
358
394
|
"index.js"
|
|
359
395
|
]
|
|
360
396
|
},
|
|
@@ -442,16 +478,20 @@
|
|
|
442
478
|
"index.js"
|
|
443
479
|
]
|
|
444
480
|
},
|
|
445
|
-
"
|
|
481
|
+
"branch:list": {
|
|
446
482
|
"aliases": [],
|
|
447
|
-
"args": {
|
|
448
|
-
|
|
483
|
+
"args": {
|
|
484
|
+
"workspace_id": {
|
|
485
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
486
|
+
"name": "workspace_id",
|
|
487
|
+
"required": false
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"description": "List all branches in a workspace",
|
|
449
491
|
"examples": [
|
|
450
|
-
"$ xano
|
|
451
|
-
"$ xano
|
|
452
|
-
"$ xano
|
|
453
|
-
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
454
|
-
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
492
|
+
"$ xano branch list\nAvailable branches:\n - v1 (live)\n - dev\n - staging\n",
|
|
493
|
+
"$ xano branch list 123\nAvailable branches:\n - v1 (live)\n - feature-auth\n",
|
|
494
|
+
"$ xano branch list --output json\n[\n {\n \"created_at\": \"2024-01-15T10:30:00Z\",\n \"label\": \"v1\",\n \"backup\": false,\n \"live\": true\n }\n]\n"
|
|
455
495
|
],
|
|
456
496
|
"flags": {
|
|
457
497
|
"profile": {
|
|
@@ -473,29 +513,6 @@
|
|
|
473
513
|
"allowNo": false,
|
|
474
514
|
"type": "boolean"
|
|
475
515
|
},
|
|
476
|
-
"edit": {
|
|
477
|
-
"char": "e",
|
|
478
|
-
"dependsOn": [
|
|
479
|
-
"file"
|
|
480
|
-
],
|
|
481
|
-
"description": "Open file in editor before creating function (requires --file)",
|
|
482
|
-
"name": "edit",
|
|
483
|
-
"required": false,
|
|
484
|
-
"allowNo": false,
|
|
485
|
-
"type": "boolean"
|
|
486
|
-
},
|
|
487
|
-
"file": {
|
|
488
|
-
"char": "f",
|
|
489
|
-
"description": "Path to file containing XanoScript code",
|
|
490
|
-
"exclusive": [
|
|
491
|
-
"stdin"
|
|
492
|
-
],
|
|
493
|
-
"name": "file",
|
|
494
|
-
"required": false,
|
|
495
|
-
"hasDynamicHelp": false,
|
|
496
|
-
"multiple": false,
|
|
497
|
-
"type": "option"
|
|
498
|
-
},
|
|
499
516
|
"output": {
|
|
500
517
|
"char": "o",
|
|
501
518
|
"description": "Output format",
|
|
@@ -509,31 +526,11 @@
|
|
|
509
526
|
"json"
|
|
510
527
|
],
|
|
511
528
|
"type": "option"
|
|
512
|
-
},
|
|
513
|
-
"stdin": {
|
|
514
|
-
"char": "s",
|
|
515
|
-
"description": "Read XanoScript code from stdin",
|
|
516
|
-
"exclusive": [
|
|
517
|
-
"file"
|
|
518
|
-
],
|
|
519
|
-
"name": "stdin",
|
|
520
|
-
"required": false,
|
|
521
|
-
"allowNo": false,
|
|
522
|
-
"type": "boolean"
|
|
523
|
-
},
|
|
524
|
-
"workspace": {
|
|
525
|
-
"char": "w",
|
|
526
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
527
|
-
"name": "workspace",
|
|
528
|
-
"required": false,
|
|
529
|
-
"hasDynamicHelp": false,
|
|
530
|
-
"multiple": false,
|
|
531
|
-
"type": "option"
|
|
532
529
|
}
|
|
533
530
|
},
|
|
534
531
|
"hasDynamicHelp": false,
|
|
535
532
|
"hiddenAliases": [],
|
|
536
|
-
"id": "
|
|
533
|
+
"id": "branch:list",
|
|
537
534
|
"pluginAlias": "@xano/cli",
|
|
538
535
|
"pluginName": "@xano/cli",
|
|
539
536
|
"pluginType": "core",
|
|
@@ -543,30 +540,21 @@
|
|
|
543
540
|
"relativePath": [
|
|
544
541
|
"dist",
|
|
545
542
|
"commands",
|
|
546
|
-
"
|
|
547
|
-
"
|
|
543
|
+
"branch",
|
|
544
|
+
"list",
|
|
548
545
|
"index.js"
|
|
549
546
|
]
|
|
550
547
|
},
|
|
551
|
-
"function:
|
|
548
|
+
"function:create": {
|
|
552
549
|
"aliases": [],
|
|
553
|
-
"args": {
|
|
554
|
-
|
|
555
|
-
"description": "Function ID to edit",
|
|
556
|
-
"name": "function_id",
|
|
557
|
-
"required": false
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
"description": "Edit a function in a workspace",
|
|
550
|
+
"args": {},
|
|
551
|
+
"description": "Create a new function in a workspace",
|
|
561
552
|
"examples": [
|
|
562
|
-
"$ xano function:
|
|
563
|
-
"$ xano function:
|
|
564
|
-
"$ xano function:
|
|
565
|
-
"$ xano function:
|
|
566
|
-
"$ xano function:
|
|
567
|
-
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
568
|
-
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
569
|
-
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
553
|
+
"$ xano function:create -w 40 -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
554
|
+
"$ xano function:create -f function.xs\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
555
|
+
"$ xano function:create -w 40 -f function.xs --edit\n# Opens function.xs in $EDITOR, then creates function with edited content\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
556
|
+
"$ cat function.xs | xano function:create -w 40 --stdin\nFunction created successfully!\nID: 123\nName: my_function\n",
|
|
557
|
+
"$ xano function:create -w 40 -f function.xs -o json\n{\n \"id\": 123,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
570
558
|
],
|
|
571
559
|
"flags": {
|
|
572
560
|
"profile": {
|
|
@@ -590,7 +578,10 @@
|
|
|
590
578
|
},
|
|
591
579
|
"edit": {
|
|
592
580
|
"char": "e",
|
|
593
|
-
"
|
|
581
|
+
"dependsOn": [
|
|
582
|
+
"file"
|
|
583
|
+
],
|
|
584
|
+
"description": "Open file in editor before creating function (requires --file)",
|
|
594
585
|
"name": "edit",
|
|
595
586
|
"required": false,
|
|
596
587
|
"allowNo": false,
|
|
@@ -622,13 +613,6 @@
|
|
|
622
613
|
],
|
|
623
614
|
"type": "option"
|
|
624
615
|
},
|
|
625
|
-
"publish": {
|
|
626
|
-
"description": "Publish the function after editing",
|
|
627
|
-
"name": "publish",
|
|
628
|
-
"required": false,
|
|
629
|
-
"allowNo": false,
|
|
630
|
-
"type": "boolean"
|
|
631
|
-
},
|
|
632
616
|
"stdin": {
|
|
633
617
|
"char": "s",
|
|
634
618
|
"description": "Read XanoScript code from stdin",
|
|
@@ -652,7 +636,7 @@
|
|
|
652
636
|
},
|
|
653
637
|
"hasDynamicHelp": false,
|
|
654
638
|
"hiddenAliases": [],
|
|
655
|
-
"id": "function:
|
|
639
|
+
"id": "function:create",
|
|
656
640
|
"pluginAlias": "@xano/cli",
|
|
657
641
|
"pluginName": "@xano/cli",
|
|
658
642
|
"pluginType": "core",
|
|
@@ -663,7 +647,7 @@
|
|
|
663
647
|
"dist",
|
|
664
648
|
"commands",
|
|
665
649
|
"function",
|
|
666
|
-
"
|
|
650
|
+
"create",
|
|
667
651
|
"index.js"
|
|
668
652
|
]
|
|
669
653
|
},
|
|
@@ -761,15 +745,25 @@
|
|
|
761
745
|
"index.js"
|
|
762
746
|
]
|
|
763
747
|
},
|
|
764
|
-
"function:
|
|
748
|
+
"function:edit": {
|
|
765
749
|
"aliases": [],
|
|
766
|
-
"args": {
|
|
767
|
-
|
|
750
|
+
"args": {
|
|
751
|
+
"function_id": {
|
|
752
|
+
"description": "Function ID to edit",
|
|
753
|
+
"name": "function_id",
|
|
754
|
+
"required": false
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"description": "Edit a function in a workspace",
|
|
768
758
|
"examples": [
|
|
769
|
-
"$ xano function:
|
|
770
|
-
"$ xano function:
|
|
771
|
-
"$ xano function:
|
|
772
|
-
"$ xano function:
|
|
759
|
+
"$ xano function:edit 163\n# Fetches the function code and opens it in $EDITOR for editing\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
760
|
+
"$ xano function:edit\n# Prompts for function, fetches the code and opens it in $EDITOR for editing\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
761
|
+
"$ xano function:edit 163 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
762
|
+
"$ xano function:edit 163 -w 40 -f function.xs\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
763
|
+
"$ xano function:edit -f function.xs\nSelect a function to edit:\n ❯ my_function (ID: 163) - Sample function\n another-func (ID: 164)\n",
|
|
764
|
+
"$ xano function:edit 163 -f function.xs --edit\n# Opens function.xs in $EDITOR, then updates function with edited content\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
765
|
+
"$ cat function.xs | xano function:edit 163 --stdin\nFunction updated successfully!\nID: 163\nName: my_function\n",
|
|
766
|
+
"$ xano function:edit 163 -f function.xs -o json\n{\n \"id\": 163,\n \"name\": \"my_function\",\n ...\n}\n"
|
|
773
767
|
],
|
|
774
768
|
"flags": {
|
|
775
769
|
"profile": {
|
|
@@ -791,31 +785,24 @@
|
|
|
791
785
|
"allowNo": false,
|
|
792
786
|
"type": "boolean"
|
|
793
787
|
},
|
|
794
|
-
"
|
|
795
|
-
"
|
|
796
|
-
"
|
|
797
|
-
"
|
|
798
|
-
"allowNo": false,
|
|
799
|
-
"type": "boolean"
|
|
800
|
-
},
|
|
801
|
-
"include_xanoscript": {
|
|
802
|
-
"description": "Include XanoScript in response",
|
|
803
|
-
"name": "include_xanoscript",
|
|
788
|
+
"edit": {
|
|
789
|
+
"char": "e",
|
|
790
|
+
"description": "Open file in editor before updating function (requires --file)",
|
|
791
|
+
"name": "edit",
|
|
804
792
|
"required": false,
|
|
805
793
|
"allowNo": false,
|
|
806
794
|
"type": "boolean"
|
|
807
795
|
},
|
|
808
|
-
"
|
|
809
|
-
"
|
|
810
|
-
"
|
|
796
|
+
"file": {
|
|
797
|
+
"char": "f",
|
|
798
|
+
"description": "Path to file containing XanoScript code",
|
|
799
|
+
"exclusive": [
|
|
800
|
+
"stdin"
|
|
801
|
+
],
|
|
802
|
+
"name": "file",
|
|
811
803
|
"required": false,
|
|
812
|
-
"default": "desc",
|
|
813
804
|
"hasDynamicHelp": false,
|
|
814
805
|
"multiple": false,
|
|
815
|
-
"options": [
|
|
816
|
-
"asc",
|
|
817
|
-
"desc"
|
|
818
|
-
],
|
|
819
806
|
"type": "option"
|
|
820
807
|
},
|
|
821
808
|
"output": {
|
|
@@ -832,37 +819,28 @@
|
|
|
832
819
|
],
|
|
833
820
|
"type": "option"
|
|
834
821
|
},
|
|
835
|
-
"
|
|
836
|
-
"description": "
|
|
837
|
-
"name": "
|
|
822
|
+
"publish": {
|
|
823
|
+
"description": "Publish the function after editing",
|
|
824
|
+
"name": "publish",
|
|
838
825
|
"required": false,
|
|
839
|
-
"
|
|
840
|
-
"
|
|
841
|
-
"multiple": false,
|
|
842
|
-
"type": "option"
|
|
826
|
+
"allowNo": false,
|
|
827
|
+
"type": "boolean"
|
|
843
828
|
},
|
|
844
|
-
"
|
|
845
|
-
"
|
|
846
|
-
"
|
|
847
|
-
"
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
"
|
|
857
|
-
"
|
|
858
|
-
"
|
|
859
|
-
"multiple": false,
|
|
860
|
-
"type": "option"
|
|
861
|
-
},
|
|
862
|
-
"workspace": {
|
|
863
|
-
"char": "w",
|
|
864
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
865
|
-
"name": "workspace",
|
|
829
|
+
"stdin": {
|
|
830
|
+
"char": "s",
|
|
831
|
+
"description": "Read XanoScript code from stdin",
|
|
832
|
+
"exclusive": [
|
|
833
|
+
"file"
|
|
834
|
+
],
|
|
835
|
+
"name": "stdin",
|
|
836
|
+
"required": false,
|
|
837
|
+
"allowNo": false,
|
|
838
|
+
"type": "boolean"
|
|
839
|
+
},
|
|
840
|
+
"workspace": {
|
|
841
|
+
"char": "w",
|
|
842
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
843
|
+
"name": "workspace",
|
|
866
844
|
"required": false,
|
|
867
845
|
"hasDynamicHelp": false,
|
|
868
846
|
"multiple": false,
|
|
@@ -871,7 +849,7 @@
|
|
|
871
849
|
},
|
|
872
850
|
"hasDynamicHelp": false,
|
|
873
851
|
"hiddenAliases": [],
|
|
874
|
-
"id": "function:
|
|
852
|
+
"id": "function:edit",
|
|
875
853
|
"pluginAlias": "@xano/cli",
|
|
876
854
|
"pluginName": "@xano/cli",
|
|
877
855
|
"pluginType": "core",
|
|
@@ -882,17 +860,19 @@
|
|
|
882
860
|
"dist",
|
|
883
861
|
"commands",
|
|
884
862
|
"function",
|
|
885
|
-
"
|
|
863
|
+
"edit",
|
|
886
864
|
"index.js"
|
|
887
865
|
]
|
|
888
866
|
},
|
|
889
|
-
"
|
|
867
|
+
"function:list": {
|
|
890
868
|
"aliases": [],
|
|
891
869
|
"args": {},
|
|
892
|
-
"description": "List all
|
|
870
|
+
"description": "List all functions in a workspace from the Xano Metadata API",
|
|
893
871
|
"examples": [
|
|
894
|
-
"$ xano
|
|
895
|
-
"$ xano
|
|
872
|
+
"$ xano function:list -w 40\nAvailable functions:\n - function-1 (ID: 1)\n - function-2 (ID: 2)\n - function-3 (ID: 3)\n",
|
|
873
|
+
"$ xano function:list --profile production\nAvailable functions:\n - my-function (ID: 1)\n - another-function (ID: 2)\n",
|
|
874
|
+
"$ xano function:list -w 40 --output json\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n",
|
|
875
|
+
"$ xano function:list -p staging -o json --include_draft\n[\n {\n \"id\": 1,\n \"name\": \"function-1\"\n }\n]\n"
|
|
896
876
|
],
|
|
897
877
|
"flags": {
|
|
898
878
|
"profile": {
|
|
@@ -914,71 +894,32 @@
|
|
|
914
894
|
"allowNo": false,
|
|
915
895
|
"type": "boolean"
|
|
916
896
|
},
|
|
917
|
-
"
|
|
918
|
-
"
|
|
919
|
-
"
|
|
920
|
-
"name": "output",
|
|
897
|
+
"include_draft": {
|
|
898
|
+
"description": "Include draft functions",
|
|
899
|
+
"name": "include_draft",
|
|
921
900
|
"required": false,
|
|
922
|
-
"
|
|
901
|
+
"allowNo": false,
|
|
902
|
+
"type": "boolean"
|
|
903
|
+
},
|
|
904
|
+
"include_xanoscript": {
|
|
905
|
+
"description": "Include XanoScript in response",
|
|
906
|
+
"name": "include_xanoscript",
|
|
907
|
+
"required": false,
|
|
908
|
+
"allowNo": false,
|
|
909
|
+
"type": "boolean"
|
|
910
|
+
},
|
|
911
|
+
"order": {
|
|
912
|
+
"description": "Sort order",
|
|
913
|
+
"name": "order",
|
|
914
|
+
"required": false,
|
|
915
|
+
"default": "desc",
|
|
923
916
|
"hasDynamicHelp": false,
|
|
924
917
|
"multiple": false,
|
|
925
918
|
"options": [
|
|
926
|
-
"
|
|
927
|
-
"
|
|
919
|
+
"asc",
|
|
920
|
+
"desc"
|
|
928
921
|
],
|
|
929
922
|
"type": "option"
|
|
930
|
-
}
|
|
931
|
-
},
|
|
932
|
-
"hasDynamicHelp": false,
|
|
933
|
-
"hiddenAliases": [],
|
|
934
|
-
"id": "platform:list",
|
|
935
|
-
"pluginAlias": "@xano/cli",
|
|
936
|
-
"pluginName": "@xano/cli",
|
|
937
|
-
"pluginType": "core",
|
|
938
|
-
"strict": true,
|
|
939
|
-
"enableJsonFlag": false,
|
|
940
|
-
"isESM": true,
|
|
941
|
-
"relativePath": [
|
|
942
|
-
"dist",
|
|
943
|
-
"commands",
|
|
944
|
-
"platform",
|
|
945
|
-
"list",
|
|
946
|
-
"index.js"
|
|
947
|
-
]
|
|
948
|
-
},
|
|
949
|
-
"platform:get": {
|
|
950
|
-
"aliases": [],
|
|
951
|
-
"args": {
|
|
952
|
-
"platform_id": {
|
|
953
|
-
"description": "Platform ID to retrieve",
|
|
954
|
-
"name": "platform_id",
|
|
955
|
-
"required": true
|
|
956
|
-
}
|
|
957
|
-
},
|
|
958
|
-
"description": "Get details of a specific platform",
|
|
959
|
-
"examples": [
|
|
960
|
-
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
961
|
-
"$ xano platform get 23629 -o json"
|
|
962
|
-
],
|
|
963
|
-
"flags": {
|
|
964
|
-
"profile": {
|
|
965
|
-
"char": "p",
|
|
966
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
967
|
-
"env": "XANO_PROFILE",
|
|
968
|
-
"name": "profile",
|
|
969
|
-
"required": false,
|
|
970
|
-
"hasDynamicHelp": false,
|
|
971
|
-
"multiple": false,
|
|
972
|
-
"type": "option"
|
|
973
|
-
},
|
|
974
|
-
"verbose": {
|
|
975
|
-
"char": "v",
|
|
976
|
-
"description": "Show detailed request/response information",
|
|
977
|
-
"env": "XANO_VERBOSE",
|
|
978
|
-
"name": "verbose",
|
|
979
|
-
"required": false,
|
|
980
|
-
"allowNo": false,
|
|
981
|
-
"type": "boolean"
|
|
982
923
|
},
|
|
983
924
|
"output": {
|
|
984
925
|
"char": "o",
|
|
@@ -993,104 +934,37 @@
|
|
|
993
934
|
"json"
|
|
994
935
|
],
|
|
995
936
|
"type": "option"
|
|
996
|
-
}
|
|
997
|
-
},
|
|
998
|
-
"hasDynamicHelp": false,
|
|
999
|
-
"hiddenAliases": [],
|
|
1000
|
-
"id": "platform:get",
|
|
1001
|
-
"pluginAlias": "@xano/cli",
|
|
1002
|
-
"pluginName": "@xano/cli",
|
|
1003
|
-
"pluginType": "core",
|
|
1004
|
-
"strict": true,
|
|
1005
|
-
"enableJsonFlag": false,
|
|
1006
|
-
"isESM": true,
|
|
1007
|
-
"relativePath": [
|
|
1008
|
-
"dist",
|
|
1009
|
-
"commands",
|
|
1010
|
-
"platform",
|
|
1011
|
-
"get",
|
|
1012
|
-
"index.js"
|
|
1013
|
-
]
|
|
1014
|
-
},
|
|
1015
|
-
"branch:edit": {
|
|
1016
|
-
"aliases": [],
|
|
1017
|
-
"args": {
|
|
1018
|
-
"branch_label": {
|
|
1019
|
-
"description": "Branch label to edit (cannot edit \"v1\" label)",
|
|
1020
|
-
"name": "branch_label",
|
|
1021
|
-
"required": true
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
"description": "Update an existing branch (cannot update \"v1\" label)",
|
|
1025
|
-
"examples": [
|
|
1026
|
-
"$ xano branch edit dev --label development\nUpdated branch: development\n",
|
|
1027
|
-
"$ xano branch edit feature-auth -l feature-authentication --color \"#ff5733\"\nUpdated branch: feature-authentication\n Color: #ff5733\n",
|
|
1028
|
-
"$ xano branch edit staging --description \"Staging environment\" -o json\n{\n \"created_at\": \"2024-02-10T09:15:00Z\",\n \"label\": \"staging\",\n \"backup\": false\n}\n"
|
|
1029
|
-
],
|
|
1030
|
-
"flags": {
|
|
1031
|
-
"profile": {
|
|
1032
|
-
"char": "p",
|
|
1033
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
1034
|
-
"env": "XANO_PROFILE",
|
|
1035
|
-
"name": "profile",
|
|
1036
|
-
"required": false,
|
|
1037
|
-
"hasDynamicHelp": false,
|
|
1038
|
-
"multiple": false,
|
|
1039
|
-
"type": "option"
|
|
1040
|
-
},
|
|
1041
|
-
"verbose": {
|
|
1042
|
-
"char": "v",
|
|
1043
|
-
"description": "Show detailed request/response information",
|
|
1044
|
-
"env": "XANO_VERBOSE",
|
|
1045
|
-
"name": "verbose",
|
|
1046
|
-
"required": false,
|
|
1047
|
-
"allowNo": false,
|
|
1048
|
-
"type": "boolean"
|
|
1049
|
-
},
|
|
1050
|
-
"color": {
|
|
1051
|
-
"char": "c",
|
|
1052
|
-
"description": "New color hex code for the branch (e.g., \"#ff5733\")",
|
|
1053
|
-
"name": "color",
|
|
1054
|
-
"required": false,
|
|
1055
|
-
"hasDynamicHelp": false,
|
|
1056
|
-
"multiple": false,
|
|
1057
|
-
"type": "option"
|
|
1058
937
|
},
|
|
1059
|
-
"
|
|
1060
|
-
"
|
|
1061
|
-
"
|
|
1062
|
-
"name": "description",
|
|
938
|
+
"page": {
|
|
939
|
+
"description": "Page number for pagination",
|
|
940
|
+
"name": "page",
|
|
1063
941
|
"required": false,
|
|
942
|
+
"default": 1,
|
|
1064
943
|
"hasDynamicHelp": false,
|
|
1065
944
|
"multiple": false,
|
|
1066
945
|
"type": "option"
|
|
1067
946
|
},
|
|
1068
|
-
"
|
|
1069
|
-
"
|
|
1070
|
-
"
|
|
1071
|
-
"name": "label",
|
|
947
|
+
"per_page": {
|
|
948
|
+
"description": "Number of results per page",
|
|
949
|
+
"name": "per_page",
|
|
1072
950
|
"required": false,
|
|
951
|
+
"default": 50,
|
|
1073
952
|
"hasDynamicHelp": false,
|
|
1074
953
|
"multiple": false,
|
|
1075
954
|
"type": "option"
|
|
1076
955
|
},
|
|
1077
|
-
"
|
|
1078
|
-
"
|
|
1079
|
-
"
|
|
1080
|
-
"name": "output",
|
|
956
|
+
"sort": {
|
|
957
|
+
"description": "Sort field",
|
|
958
|
+
"name": "sort",
|
|
1081
959
|
"required": false,
|
|
1082
|
-
"default": "
|
|
960
|
+
"default": "created_at",
|
|
1083
961
|
"hasDynamicHelp": false,
|
|
1084
962
|
"multiple": false,
|
|
1085
|
-
"options": [
|
|
1086
|
-
"summary",
|
|
1087
|
-
"json"
|
|
1088
|
-
],
|
|
1089
963
|
"type": "option"
|
|
1090
964
|
},
|
|
1091
965
|
"workspace": {
|
|
1092
966
|
"char": "w",
|
|
1093
|
-
"description": "Workspace ID (
|
|
967
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
1094
968
|
"name": "workspace",
|
|
1095
969
|
"required": false,
|
|
1096
970
|
"hasDynamicHelp": false,
|
|
@@ -1100,7 +974,7 @@
|
|
|
1100
974
|
},
|
|
1101
975
|
"hasDynamicHelp": false,
|
|
1102
976
|
"hiddenAliases": [],
|
|
1103
|
-
"id": "
|
|
977
|
+
"id": "function:list",
|
|
1104
978
|
"pluginAlias": "@xano/cli",
|
|
1105
979
|
"pluginName": "@xano/cli",
|
|
1106
980
|
"pluginType": "core",
|
|
@@ -1110,8 +984,8 @@
|
|
|
1110
984
|
"relativePath": [
|
|
1111
985
|
"dist",
|
|
1112
986
|
"commands",
|
|
1113
|
-
"
|
|
1114
|
-
"
|
|
987
|
+
"function",
|
|
988
|
+
"list",
|
|
1115
989
|
"index.js"
|
|
1116
990
|
]
|
|
1117
991
|
},
|
|
@@ -1287,34 +1161,143 @@
|
|
|
1287
1161
|
"index.js"
|
|
1288
1162
|
]
|
|
1289
1163
|
},
|
|
1290
|
-
"
|
|
1164
|
+
"platform:get": {
|
|
1291
1165
|
"aliases": [],
|
|
1292
1166
|
"args": {
|
|
1293
|
-
"
|
|
1294
|
-
"description": "
|
|
1295
|
-
"name": "
|
|
1167
|
+
"platform_id": {
|
|
1168
|
+
"description": "Platform ID to retrieve",
|
|
1169
|
+
"name": "platform_id",
|
|
1296
1170
|
"required": true
|
|
1297
1171
|
}
|
|
1298
1172
|
},
|
|
1299
|
-
"description": "
|
|
1173
|
+
"description": "Get details of a specific platform",
|
|
1300
1174
|
"examples": [
|
|
1301
|
-
"$ xano
|
|
1302
|
-
"$ xano
|
|
1303
|
-
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
1175
|
+
"$ xano platform get 23629\nPlatform ID: 23629\n Created: 2025-11-28\n Helm: 0.1.356\n Images:\n backend 0.0.2985\n frontend 0.1.3427\n database 0.1.6\n node 0.1.192\n deno 0.0.212\n redis 0.1.34\n realtime 0.1.149\n standalone 0.0.2456\n playwright 0.0.992\n static 0.0.10\n static-build 0.0.4\n backend-encoded 0.0.1396\n",
|
|
1176
|
+
"$ xano platform get 23629 -o json"
|
|
1304
1177
|
],
|
|
1305
1178
|
"flags": {
|
|
1306
|
-
"
|
|
1307
|
-
"char": "
|
|
1308
|
-
"description": "
|
|
1309
|
-
"
|
|
1179
|
+
"profile": {
|
|
1180
|
+
"char": "p",
|
|
1181
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1182
|
+
"env": "XANO_PROFILE",
|
|
1183
|
+
"name": "profile",
|
|
1184
|
+
"required": false,
|
|
1185
|
+
"hasDynamicHelp": false,
|
|
1186
|
+
"multiple": false,
|
|
1187
|
+
"type": "option"
|
|
1188
|
+
},
|
|
1189
|
+
"verbose": {
|
|
1190
|
+
"char": "v",
|
|
1191
|
+
"description": "Show detailed request/response information",
|
|
1192
|
+
"env": "XANO_VERBOSE",
|
|
1193
|
+
"name": "verbose",
|
|
1310
1194
|
"required": false,
|
|
1311
1195
|
"allowNo": false,
|
|
1312
1196
|
"type": "boolean"
|
|
1197
|
+
},
|
|
1198
|
+
"output": {
|
|
1199
|
+
"char": "o",
|
|
1200
|
+
"description": "Output format",
|
|
1201
|
+
"name": "output",
|
|
1202
|
+
"required": false,
|
|
1203
|
+
"default": "summary",
|
|
1204
|
+
"hasDynamicHelp": false,
|
|
1205
|
+
"multiple": false,
|
|
1206
|
+
"options": [
|
|
1207
|
+
"summary",
|
|
1208
|
+
"json"
|
|
1209
|
+
],
|
|
1210
|
+
"type": "option"
|
|
1313
1211
|
}
|
|
1314
1212
|
},
|
|
1315
1213
|
"hasDynamicHelp": false,
|
|
1316
1214
|
"hiddenAliases": [],
|
|
1317
|
-
"id": "
|
|
1215
|
+
"id": "platform:get",
|
|
1216
|
+
"pluginAlias": "@xano/cli",
|
|
1217
|
+
"pluginName": "@xano/cli",
|
|
1218
|
+
"pluginType": "core",
|
|
1219
|
+
"strict": true,
|
|
1220
|
+
"enableJsonFlag": false,
|
|
1221
|
+
"isESM": true,
|
|
1222
|
+
"relativePath": [
|
|
1223
|
+
"dist",
|
|
1224
|
+
"commands",
|
|
1225
|
+
"platform",
|
|
1226
|
+
"get",
|
|
1227
|
+
"index.js"
|
|
1228
|
+
]
|
|
1229
|
+
},
|
|
1230
|
+
"platform:list": {
|
|
1231
|
+
"aliases": [],
|
|
1232
|
+
"args": {},
|
|
1233
|
+
"description": "List all platforms",
|
|
1234
|
+
"examples": [
|
|
1235
|
+
"$ xano platform list\nPlatforms:\n ID: 23629 | Helm: 0.1.356 | Created: 2025-11-28\n",
|
|
1236
|
+
"$ xano platform list --output json"
|
|
1237
|
+
],
|
|
1238
|
+
"flags": {
|
|
1239
|
+
"profile": {
|
|
1240
|
+
"char": "p",
|
|
1241
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1242
|
+
"env": "XANO_PROFILE",
|
|
1243
|
+
"name": "profile",
|
|
1244
|
+
"required": false,
|
|
1245
|
+
"hasDynamicHelp": false,
|
|
1246
|
+
"multiple": false,
|
|
1247
|
+
"type": "option"
|
|
1248
|
+
},
|
|
1249
|
+
"verbose": {
|
|
1250
|
+
"char": "v",
|
|
1251
|
+
"description": "Show detailed request/response information",
|
|
1252
|
+
"env": "XANO_VERBOSE",
|
|
1253
|
+
"name": "verbose",
|
|
1254
|
+
"required": false,
|
|
1255
|
+
"allowNo": false,
|
|
1256
|
+
"type": "boolean"
|
|
1257
|
+
},
|
|
1258
|
+
"output": {
|
|
1259
|
+
"char": "o",
|
|
1260
|
+
"description": "Output format",
|
|
1261
|
+
"name": "output",
|
|
1262
|
+
"required": false,
|
|
1263
|
+
"default": "summary",
|
|
1264
|
+
"hasDynamicHelp": false,
|
|
1265
|
+
"multiple": false,
|
|
1266
|
+
"options": [
|
|
1267
|
+
"summary",
|
|
1268
|
+
"json"
|
|
1269
|
+
],
|
|
1270
|
+
"type": "option"
|
|
1271
|
+
}
|
|
1272
|
+
},
|
|
1273
|
+
"hasDynamicHelp": false,
|
|
1274
|
+
"hiddenAliases": [],
|
|
1275
|
+
"id": "platform:list",
|
|
1276
|
+
"pluginAlias": "@xano/cli",
|
|
1277
|
+
"pluginName": "@xano/cli",
|
|
1278
|
+
"pluginType": "core",
|
|
1279
|
+
"strict": true,
|
|
1280
|
+
"enableJsonFlag": false,
|
|
1281
|
+
"isESM": true,
|
|
1282
|
+
"relativePath": [
|
|
1283
|
+
"dist",
|
|
1284
|
+
"commands",
|
|
1285
|
+
"platform",
|
|
1286
|
+
"list",
|
|
1287
|
+
"index.js"
|
|
1288
|
+
]
|
|
1289
|
+
},
|
|
1290
|
+
"profile:get": {
|
|
1291
|
+
"aliases": [],
|
|
1292
|
+
"args": {},
|
|
1293
|
+
"description": "Get the current default profile name",
|
|
1294
|
+
"examples": [
|
|
1295
|
+
"$ xano profile get\nproduction\n"
|
|
1296
|
+
],
|
|
1297
|
+
"flags": {},
|
|
1298
|
+
"hasDynamicHelp": false,
|
|
1299
|
+
"hiddenAliases": [],
|
|
1300
|
+
"id": "profile:get",
|
|
1318
1301
|
"pluginAlias": "@xano/cli",
|
|
1319
1302
|
"pluginName": "@xano/cli",
|
|
1320
1303
|
"pluginType": "core",
|
|
@@ -1325,7 +1308,7 @@
|
|
|
1325
1308
|
"dist",
|
|
1326
1309
|
"commands",
|
|
1327
1310
|
"profile",
|
|
1328
|
-
"
|
|
1311
|
+
"get",
|
|
1329
1312
|
"index.js"
|
|
1330
1313
|
]
|
|
1331
1314
|
},
|
|
@@ -1365,6 +1348,136 @@
|
|
|
1365
1348
|
"index.js"
|
|
1366
1349
|
]
|
|
1367
1350
|
},
|
|
1351
|
+
"profile:edit": {
|
|
1352
|
+
"aliases": [],
|
|
1353
|
+
"args": {
|
|
1354
|
+
"name": {
|
|
1355
|
+
"description": "Profile name to edit (uses default profile if not specified)",
|
|
1356
|
+
"name": "name",
|
|
1357
|
+
"required": false
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
"description": "Edit an existing profile configuration",
|
|
1361
|
+
"examples": [
|
|
1362
|
+
"$ xano profile:edit --access_token new_token123\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1363
|
+
"$ xano profile:edit production --access_token new_token123\nProfile 'production' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1364
|
+
"$ xano profile:edit staging -i https://new-staging-instance.xano.com -t new_token456\nProfile 'staging' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1365
|
+
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1366
|
+
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1367
|
+
"$ xano profile:edit --insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1368
|
+
"$ xano profile:edit --remove-insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1369
|
+
],
|
|
1370
|
+
"flags": {
|
|
1371
|
+
"profile": {
|
|
1372
|
+
"char": "p",
|
|
1373
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
1374
|
+
"env": "XANO_PROFILE",
|
|
1375
|
+
"name": "profile",
|
|
1376
|
+
"required": false,
|
|
1377
|
+
"hasDynamicHelp": false,
|
|
1378
|
+
"multiple": false,
|
|
1379
|
+
"type": "option"
|
|
1380
|
+
},
|
|
1381
|
+
"verbose": {
|
|
1382
|
+
"char": "v",
|
|
1383
|
+
"description": "Show detailed request/response information",
|
|
1384
|
+
"env": "XANO_VERBOSE",
|
|
1385
|
+
"name": "verbose",
|
|
1386
|
+
"required": false,
|
|
1387
|
+
"allowNo": false,
|
|
1388
|
+
"type": "boolean"
|
|
1389
|
+
},
|
|
1390
|
+
"access_token": {
|
|
1391
|
+
"char": "t",
|
|
1392
|
+
"description": "Update access token for the Xano Metadata API",
|
|
1393
|
+
"name": "access_token",
|
|
1394
|
+
"required": false,
|
|
1395
|
+
"hasDynamicHelp": false,
|
|
1396
|
+
"multiple": false,
|
|
1397
|
+
"type": "option"
|
|
1398
|
+
},
|
|
1399
|
+
"account_origin": {
|
|
1400
|
+
"char": "a",
|
|
1401
|
+
"description": "Update account origin URL",
|
|
1402
|
+
"name": "account_origin",
|
|
1403
|
+
"required": false,
|
|
1404
|
+
"hasDynamicHelp": false,
|
|
1405
|
+
"multiple": false,
|
|
1406
|
+
"type": "option"
|
|
1407
|
+
},
|
|
1408
|
+
"branch": {
|
|
1409
|
+
"char": "b",
|
|
1410
|
+
"description": "Update branch name",
|
|
1411
|
+
"name": "branch",
|
|
1412
|
+
"required": false,
|
|
1413
|
+
"hasDynamicHelp": false,
|
|
1414
|
+
"multiple": false,
|
|
1415
|
+
"type": "option"
|
|
1416
|
+
},
|
|
1417
|
+
"insecure": {
|
|
1418
|
+
"description": "Enable insecure mode (skip TLS certificate verification)",
|
|
1419
|
+
"name": "insecure",
|
|
1420
|
+
"required": false,
|
|
1421
|
+
"allowNo": false,
|
|
1422
|
+
"type": "boolean"
|
|
1423
|
+
},
|
|
1424
|
+
"instance_origin": {
|
|
1425
|
+
"char": "i",
|
|
1426
|
+
"description": "Update instance origin URL",
|
|
1427
|
+
"name": "instance_origin",
|
|
1428
|
+
"required": false,
|
|
1429
|
+
"hasDynamicHelp": false,
|
|
1430
|
+
"multiple": false,
|
|
1431
|
+
"type": "option"
|
|
1432
|
+
},
|
|
1433
|
+
"remove-branch": {
|
|
1434
|
+
"description": "Remove branch from profile",
|
|
1435
|
+
"name": "remove-branch",
|
|
1436
|
+
"required": false,
|
|
1437
|
+
"allowNo": false,
|
|
1438
|
+
"type": "boolean"
|
|
1439
|
+
},
|
|
1440
|
+
"remove-insecure": {
|
|
1441
|
+
"description": "Remove insecure mode from profile",
|
|
1442
|
+
"name": "remove-insecure",
|
|
1443
|
+
"required": false,
|
|
1444
|
+
"allowNo": false,
|
|
1445
|
+
"type": "boolean"
|
|
1446
|
+
},
|
|
1447
|
+
"remove-workspace": {
|
|
1448
|
+
"description": "Remove workspace from profile",
|
|
1449
|
+
"name": "remove-workspace",
|
|
1450
|
+
"required": false,
|
|
1451
|
+
"allowNo": false,
|
|
1452
|
+
"type": "boolean"
|
|
1453
|
+
},
|
|
1454
|
+
"workspace": {
|
|
1455
|
+
"char": "w",
|
|
1456
|
+
"description": "Update workspace name",
|
|
1457
|
+
"name": "workspace",
|
|
1458
|
+
"required": false,
|
|
1459
|
+
"hasDynamicHelp": false,
|
|
1460
|
+
"multiple": false,
|
|
1461
|
+
"type": "option"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
"hasDynamicHelp": false,
|
|
1465
|
+
"hiddenAliases": [],
|
|
1466
|
+
"id": "profile:edit",
|
|
1467
|
+
"pluginAlias": "@xano/cli",
|
|
1468
|
+
"pluginName": "@xano/cli",
|
|
1469
|
+
"pluginType": "core",
|
|
1470
|
+
"strict": true,
|
|
1471
|
+
"enableJsonFlag": false,
|
|
1472
|
+
"isESM": true,
|
|
1473
|
+
"relativePath": [
|
|
1474
|
+
"dist",
|
|
1475
|
+
"commands",
|
|
1476
|
+
"profile",
|
|
1477
|
+
"edit",
|
|
1478
|
+
"index.js"
|
|
1479
|
+
]
|
|
1480
|
+
},
|
|
1368
1481
|
"profile:me": {
|
|
1369
1482
|
"aliases": [],
|
|
1370
1483
|
"args": {},
|
|
@@ -1426,17 +1539,23 @@
|
|
|
1426
1539
|
"index.js"
|
|
1427
1540
|
]
|
|
1428
1541
|
},
|
|
1429
|
-
"profile:
|
|
1542
|
+
"profile:set": {
|
|
1430
1543
|
"aliases": [],
|
|
1431
|
-
"args": {
|
|
1432
|
-
|
|
1544
|
+
"args": {
|
|
1545
|
+
"name": {
|
|
1546
|
+
"description": "Profile name to set as default",
|
|
1547
|
+
"name": "name",
|
|
1548
|
+
"required": true
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
"description": "Set the default profile",
|
|
1433
1552
|
"examples": [
|
|
1434
|
-
"$ xano profile
|
|
1553
|
+
"$ xano profile set production\nDefault profile set to 'production'\n"
|
|
1435
1554
|
],
|
|
1436
1555
|
"flags": {},
|
|
1437
1556
|
"hasDynamicHelp": false,
|
|
1438
1557
|
"hiddenAliases": [],
|
|
1439
|
-
"id": "profile:
|
|
1558
|
+
"id": "profile:set",
|
|
1440
1559
|
"pluginAlias": "@xano/cli",
|
|
1441
1560
|
"pluginName": "@xano/cli",
|
|
1442
1561
|
"pluginType": "core",
|
|
@@ -1447,7 +1566,7 @@
|
|
|
1447
1566
|
"dist",
|
|
1448
1567
|
"commands",
|
|
1449
1568
|
"profile",
|
|
1450
|
-
"
|
|
1569
|
+
"set",
|
|
1451
1570
|
"index.js"
|
|
1452
1571
|
]
|
|
1453
1572
|
},
|
|
@@ -1477,23 +1596,71 @@
|
|
|
1477
1596
|
"index.js"
|
|
1478
1597
|
]
|
|
1479
1598
|
},
|
|
1480
|
-
"profile:
|
|
1599
|
+
"profile:wizard": {
|
|
1481
1600
|
"aliases": [],
|
|
1482
|
-
"args": {
|
|
1601
|
+
"args": {},
|
|
1602
|
+
"description": "Create a new profile configuration using an interactive wizard",
|
|
1603
|
+
"examples": [
|
|
1604
|
+
"$ 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"
|
|
1605
|
+
],
|
|
1606
|
+
"flags": {
|
|
1607
|
+
"insecure": {
|
|
1608
|
+
"char": "k",
|
|
1609
|
+
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1610
|
+
"name": "insecure",
|
|
1611
|
+
"required": false,
|
|
1612
|
+
"allowNo": false,
|
|
1613
|
+
"type": "boolean"
|
|
1614
|
+
},
|
|
1483
1615
|
"name": {
|
|
1484
|
-
"
|
|
1616
|
+
"char": "n",
|
|
1617
|
+
"description": "Profile name (skip prompt if provided)",
|
|
1485
1618
|
"name": "name",
|
|
1486
|
-
"required":
|
|
1619
|
+
"required": false,
|
|
1620
|
+
"hasDynamicHelp": false,
|
|
1621
|
+
"multiple": false,
|
|
1622
|
+
"type": "option"
|
|
1623
|
+
},
|
|
1624
|
+
"origin": {
|
|
1625
|
+
"char": "o",
|
|
1626
|
+
"description": "Xano instance origin URL",
|
|
1627
|
+
"name": "origin",
|
|
1628
|
+
"required": false,
|
|
1629
|
+
"default": "https://app.xano.com",
|
|
1630
|
+
"hasDynamicHelp": false,
|
|
1631
|
+
"multiple": false,
|
|
1632
|
+
"type": "option"
|
|
1487
1633
|
}
|
|
1488
1634
|
},
|
|
1489
|
-
"
|
|
1635
|
+
"hasDynamicHelp": false,
|
|
1636
|
+
"hiddenAliases": [],
|
|
1637
|
+
"id": "profile:wizard",
|
|
1638
|
+
"pluginAlias": "@xano/cli",
|
|
1639
|
+
"pluginName": "@xano/cli",
|
|
1640
|
+
"pluginType": "core",
|
|
1641
|
+
"strict": true,
|
|
1642
|
+
"enableJsonFlag": false,
|
|
1643
|
+
"isESM": true,
|
|
1644
|
+
"relativePath": [
|
|
1645
|
+
"dist",
|
|
1646
|
+
"commands",
|
|
1647
|
+
"profile",
|
|
1648
|
+
"wizard",
|
|
1649
|
+
"index.js"
|
|
1650
|
+
]
|
|
1651
|
+
},
|
|
1652
|
+
"profile:workspace": {
|
|
1653
|
+
"aliases": [],
|
|
1654
|
+
"args": {},
|
|
1655
|
+
"description": "Print the workspace ID for the default profile",
|
|
1490
1656
|
"examples": [
|
|
1491
|
-
"$ xano profile
|
|
1657
|
+
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1658
|
+
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1492
1659
|
],
|
|
1493
1660
|
"flags": {},
|
|
1494
1661
|
"hasDynamicHelp": false,
|
|
1495
1662
|
"hiddenAliases": [],
|
|
1496
|
-
"id": "profile:
|
|
1663
|
+
"id": "profile:workspace",
|
|
1497
1664
|
"pluginAlias": "@xano/cli",
|
|
1498
1665
|
"pluginName": "@xano/cli",
|
|
1499
1666
|
"pluginType": "core",
|
|
@@ -1504,7 +1671,7 @@
|
|
|
1504
1671
|
"dist",
|
|
1505
1672
|
"commands",
|
|
1506
1673
|
"profile",
|
|
1507
|
-
"
|
|
1674
|
+
"workspace",
|
|
1508
1675
|
"index.js"
|
|
1509
1676
|
]
|
|
1510
1677
|
},
|
|
@@ -1614,108 +1781,25 @@
|
|
|
1614
1781
|
"relativePath": [
|
|
1615
1782
|
"dist",
|
|
1616
1783
|
"commands",
|
|
1617
|
-
"release",
|
|
1618
|
-
"create",
|
|
1619
|
-
"index.js"
|
|
1620
|
-
]
|
|
1621
|
-
},
|
|
1622
|
-
"profile:workspace": {
|
|
1623
|
-
"aliases": [],
|
|
1624
|
-
"args": {},
|
|
1625
|
-
"description": "Print the workspace ID for the default profile",
|
|
1626
|
-
"examples": [
|
|
1627
|
-
"$ xano profile:workspace\nabc123-workspace-id\n",
|
|
1628
|
-
"$ xano profile:workspace | pbcopy\n# Copies the workspace ID to clipboard on macOS\n"
|
|
1629
|
-
],
|
|
1630
|
-
"flags": {},
|
|
1631
|
-
"hasDynamicHelp": false,
|
|
1632
|
-
"hiddenAliases": [],
|
|
1633
|
-
"id": "profile:workspace",
|
|
1634
|
-
"pluginAlias": "@xano/cli",
|
|
1635
|
-
"pluginName": "@xano/cli",
|
|
1636
|
-
"pluginType": "core",
|
|
1637
|
-
"strict": true,
|
|
1638
|
-
"enableJsonFlag": false,
|
|
1639
|
-
"isESM": true,
|
|
1640
|
-
"relativePath": [
|
|
1641
|
-
"dist",
|
|
1642
|
-
"commands",
|
|
1643
|
-
"profile",
|
|
1644
|
-
"workspace",
|
|
1645
|
-
"index.js"
|
|
1646
|
-
]
|
|
1647
|
-
},
|
|
1648
|
-
"profile:wizard": {
|
|
1649
|
-
"aliases": [],
|
|
1650
|
-
"args": {},
|
|
1651
|
-
"description": "Create a new profile configuration using an interactive wizard",
|
|
1652
|
-
"examples": [
|
|
1653
|
-
"$ 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"
|
|
1654
|
-
],
|
|
1655
|
-
"flags": {
|
|
1656
|
-
"insecure": {
|
|
1657
|
-
"char": "k",
|
|
1658
|
-
"description": "Skip TLS certificate verification (for self-signed certificates)",
|
|
1659
|
-
"name": "insecure",
|
|
1660
|
-
"required": false,
|
|
1661
|
-
"allowNo": false,
|
|
1662
|
-
"type": "boolean"
|
|
1663
|
-
},
|
|
1664
|
-
"name": {
|
|
1665
|
-
"char": "n",
|
|
1666
|
-
"description": "Profile name (skip prompt if provided)",
|
|
1667
|
-
"name": "name",
|
|
1668
|
-
"required": false,
|
|
1669
|
-
"hasDynamicHelp": false,
|
|
1670
|
-
"multiple": false,
|
|
1671
|
-
"type": "option"
|
|
1672
|
-
},
|
|
1673
|
-
"origin": {
|
|
1674
|
-
"char": "o",
|
|
1675
|
-
"description": "Xano instance origin URL",
|
|
1676
|
-
"name": "origin",
|
|
1677
|
-
"required": false,
|
|
1678
|
-
"default": "https://app.xano.com",
|
|
1679
|
-
"hasDynamicHelp": false,
|
|
1680
|
-
"multiple": false,
|
|
1681
|
-
"type": "option"
|
|
1682
|
-
}
|
|
1683
|
-
},
|
|
1684
|
-
"hasDynamicHelp": false,
|
|
1685
|
-
"hiddenAliases": [],
|
|
1686
|
-
"id": "profile:wizard",
|
|
1687
|
-
"pluginAlias": "@xano/cli",
|
|
1688
|
-
"pluginName": "@xano/cli",
|
|
1689
|
-
"pluginType": "core",
|
|
1690
|
-
"strict": true,
|
|
1691
|
-
"enableJsonFlag": false,
|
|
1692
|
-
"isESM": true,
|
|
1693
|
-
"relativePath": [
|
|
1694
|
-
"dist",
|
|
1695
|
-
"commands",
|
|
1696
|
-
"profile",
|
|
1697
|
-
"wizard",
|
|
1784
|
+
"release",
|
|
1785
|
+
"create",
|
|
1698
1786
|
"index.js"
|
|
1699
1787
|
]
|
|
1700
1788
|
},
|
|
1701
|
-
"
|
|
1789
|
+
"release:delete": {
|
|
1702
1790
|
"aliases": [],
|
|
1703
1791
|
"args": {
|
|
1704
|
-
"
|
|
1705
|
-
"description": "
|
|
1706
|
-
"name": "
|
|
1707
|
-
"required":
|
|
1792
|
+
"release_name": {
|
|
1793
|
+
"description": "Release name to delete",
|
|
1794
|
+
"name": "release_name",
|
|
1795
|
+
"required": true
|
|
1708
1796
|
}
|
|
1709
1797
|
},
|
|
1710
|
-
"description": "
|
|
1798
|
+
"description": "Delete a release permanently. This action cannot be undone.",
|
|
1711
1799
|
"examples": [
|
|
1712
|
-
"$ xano
|
|
1713
|
-
"$ xano
|
|
1714
|
-
"$ xano
|
|
1715
|
-
"$ xano profile:edit -b new-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1716
|
-
"$ xano profile:edit --remove-branch\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1717
|
-
"$ xano profile:edit --insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n",
|
|
1718
|
-
"$ xano profile:edit --remove-insecure\nProfile 'default' updated successfully at ~/.xano/credentials.yaml\n"
|
|
1800
|
+
"$ xano release delete v1.0\nAre you sure you want to delete release 'v1.0'? This action cannot be undone. (y/N) y\nDeleted release 'v1.0'\n",
|
|
1801
|
+
"$ xano release delete v1.0 --force\nDeleted release 'v1.0'\n",
|
|
1802
|
+
"$ xano release delete v1.0 -f -o json"
|
|
1719
1803
|
],
|
|
1720
1804
|
"flags": {
|
|
1721
1805
|
"profile": {
|
|
@@ -1737,73 +1821,31 @@
|
|
|
1737
1821
|
"allowNo": false,
|
|
1738
1822
|
"type": "boolean"
|
|
1739
1823
|
},
|
|
1740
|
-
"
|
|
1741
|
-
"char": "
|
|
1742
|
-
"description": "
|
|
1743
|
-
"name": "
|
|
1744
|
-
"required": false,
|
|
1745
|
-
"hasDynamicHelp": false,
|
|
1746
|
-
"multiple": false,
|
|
1747
|
-
"type": "option"
|
|
1748
|
-
},
|
|
1749
|
-
"account_origin": {
|
|
1750
|
-
"char": "a",
|
|
1751
|
-
"description": "Update account origin URL",
|
|
1752
|
-
"name": "account_origin",
|
|
1753
|
-
"required": false,
|
|
1754
|
-
"hasDynamicHelp": false,
|
|
1755
|
-
"multiple": false,
|
|
1756
|
-
"type": "option"
|
|
1757
|
-
},
|
|
1758
|
-
"branch": {
|
|
1759
|
-
"char": "b",
|
|
1760
|
-
"description": "Update branch name",
|
|
1761
|
-
"name": "branch",
|
|
1762
|
-
"required": false,
|
|
1763
|
-
"hasDynamicHelp": false,
|
|
1764
|
-
"multiple": false,
|
|
1765
|
-
"type": "option"
|
|
1766
|
-
},
|
|
1767
|
-
"insecure": {
|
|
1768
|
-
"description": "Enable insecure mode (skip TLS certificate verification)",
|
|
1769
|
-
"name": "insecure",
|
|
1824
|
+
"force": {
|
|
1825
|
+
"char": "f",
|
|
1826
|
+
"description": "Skip confirmation prompt",
|
|
1827
|
+
"name": "force",
|
|
1770
1828
|
"required": false,
|
|
1771
1829
|
"allowNo": false,
|
|
1772
1830
|
"type": "boolean"
|
|
1773
1831
|
},
|
|
1774
|
-
"
|
|
1775
|
-
"char": "
|
|
1776
|
-
"description": "
|
|
1777
|
-
"name": "
|
|
1832
|
+
"output": {
|
|
1833
|
+
"char": "o",
|
|
1834
|
+
"description": "Output format",
|
|
1835
|
+
"name": "output",
|
|
1778
1836
|
"required": false,
|
|
1837
|
+
"default": "summary",
|
|
1779
1838
|
"hasDynamicHelp": false,
|
|
1780
1839
|
"multiple": false,
|
|
1840
|
+
"options": [
|
|
1841
|
+
"summary",
|
|
1842
|
+
"json"
|
|
1843
|
+
],
|
|
1781
1844
|
"type": "option"
|
|
1782
1845
|
},
|
|
1783
|
-
"remove-branch": {
|
|
1784
|
-
"description": "Remove branch from profile",
|
|
1785
|
-
"name": "remove-branch",
|
|
1786
|
-
"required": false,
|
|
1787
|
-
"allowNo": false,
|
|
1788
|
-
"type": "boolean"
|
|
1789
|
-
},
|
|
1790
|
-
"remove-insecure": {
|
|
1791
|
-
"description": "Remove insecure mode from profile",
|
|
1792
|
-
"name": "remove-insecure",
|
|
1793
|
-
"required": false,
|
|
1794
|
-
"allowNo": false,
|
|
1795
|
-
"type": "boolean"
|
|
1796
|
-
},
|
|
1797
|
-
"remove-workspace": {
|
|
1798
|
-
"description": "Remove workspace from profile",
|
|
1799
|
-
"name": "remove-workspace",
|
|
1800
|
-
"required": false,
|
|
1801
|
-
"allowNo": false,
|
|
1802
|
-
"type": "boolean"
|
|
1803
|
-
},
|
|
1804
1846
|
"workspace": {
|
|
1805
1847
|
"char": "w",
|
|
1806
|
-
"description": "
|
|
1848
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
1807
1849
|
"name": "workspace",
|
|
1808
1850
|
"required": false,
|
|
1809
1851
|
"hasDynamicHelp": false,
|
|
@@ -1813,7 +1855,7 @@
|
|
|
1813
1855
|
},
|
|
1814
1856
|
"hasDynamicHelp": false,
|
|
1815
1857
|
"hiddenAliases": [],
|
|
1816
|
-
"id": "
|
|
1858
|
+
"id": "release:delete",
|
|
1817
1859
|
"pluginAlias": "@xano/cli",
|
|
1818
1860
|
"pluginName": "@xano/cli",
|
|
1819
1861
|
"pluginType": "core",
|
|
@@ -1823,8 +1865,8 @@
|
|
|
1823
1865
|
"relativePath": [
|
|
1824
1866
|
"dist",
|
|
1825
1867
|
"commands",
|
|
1826
|
-
"
|
|
1827
|
-
"
|
|
1868
|
+
"release",
|
|
1869
|
+
"delete",
|
|
1828
1870
|
"index.js"
|
|
1829
1871
|
]
|
|
1830
1872
|
},
|
|
@@ -1921,20 +1963,20 @@
|
|
|
1921
1963
|
"index.js"
|
|
1922
1964
|
]
|
|
1923
1965
|
},
|
|
1924
|
-
"release:
|
|
1966
|
+
"release:export": {
|
|
1925
1967
|
"aliases": [],
|
|
1926
1968
|
"args": {
|
|
1927
1969
|
"release_name": {
|
|
1928
|
-
"description": "Release name to
|
|
1970
|
+
"description": "Release name to export",
|
|
1929
1971
|
"name": "release_name",
|
|
1930
1972
|
"required": true
|
|
1931
1973
|
}
|
|
1932
1974
|
},
|
|
1933
|
-
"description": "
|
|
1975
|
+
"description": "Export (download) a release to a local file",
|
|
1934
1976
|
"examples": [
|
|
1935
|
-
"$ xano release
|
|
1936
|
-
"$ xano release
|
|
1937
|
-
"$ xano release
|
|
1977
|
+
"$ xano release export v1.0\nDownloaded release 'v1.0' to ./release-v1.0.tar.gz\n",
|
|
1978
|
+
"$ xano release export v1.0 --output ./backups/my-release.tar.gz",
|
|
1979
|
+
"$ xano release export v1.0 -o json"
|
|
1938
1980
|
],
|
|
1939
1981
|
"flags": {
|
|
1940
1982
|
"profile": {
|
|
@@ -1956,18 +1998,10 @@
|
|
|
1956
1998
|
"allowNo": false,
|
|
1957
1999
|
"type": "boolean"
|
|
1958
2000
|
},
|
|
1959
|
-
"
|
|
1960
|
-
"char": "f",
|
|
1961
|
-
"description": "Skip confirmation prompt",
|
|
1962
|
-
"name": "force",
|
|
1963
|
-
"required": false,
|
|
1964
|
-
"allowNo": false,
|
|
1965
|
-
"type": "boolean"
|
|
1966
|
-
},
|
|
1967
|
-
"output": {
|
|
2001
|
+
"format": {
|
|
1968
2002
|
"char": "o",
|
|
1969
2003
|
"description": "Output format",
|
|
1970
|
-
"name": "
|
|
2004
|
+
"name": "format",
|
|
1971
2005
|
"required": false,
|
|
1972
2006
|
"default": "summary",
|
|
1973
2007
|
"hasDynamicHelp": false,
|
|
@@ -1978,6 +2012,14 @@
|
|
|
1978
2012
|
],
|
|
1979
2013
|
"type": "option"
|
|
1980
2014
|
},
|
|
2015
|
+
"output": {
|
|
2016
|
+
"description": "Output file path (defaults to ./release-{name}.tar.gz)",
|
|
2017
|
+
"name": "output",
|
|
2018
|
+
"required": false,
|
|
2019
|
+
"hasDynamicHelp": false,
|
|
2020
|
+
"multiple": false,
|
|
2021
|
+
"type": "option"
|
|
2022
|
+
},
|
|
1981
2023
|
"workspace": {
|
|
1982
2024
|
"char": "w",
|
|
1983
2025
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -1990,7 +2032,7 @@
|
|
|
1990
2032
|
},
|
|
1991
2033
|
"hasDynamicHelp": false,
|
|
1992
2034
|
"hiddenAliases": [],
|
|
1993
|
-
"id": "release:
|
|
2035
|
+
"id": "release:export",
|
|
1994
2036
|
"pluginAlias": "@xano/cli",
|
|
1995
2037
|
"pluginName": "@xano/cli",
|
|
1996
2038
|
"pluginType": "core",
|
|
@@ -2001,17 +2043,23 @@
|
|
|
2001
2043
|
"dist",
|
|
2002
2044
|
"commands",
|
|
2003
2045
|
"release",
|
|
2004
|
-
"
|
|
2046
|
+
"export",
|
|
2005
2047
|
"index.js"
|
|
2006
2048
|
]
|
|
2007
2049
|
},
|
|
2008
|
-
"release:
|
|
2050
|
+
"release:get": {
|
|
2009
2051
|
"aliases": [],
|
|
2010
|
-
"args": {
|
|
2011
|
-
|
|
2052
|
+
"args": {
|
|
2053
|
+
"release_name": {
|
|
2054
|
+
"description": "Release name to retrieve",
|
|
2055
|
+
"name": "release_name",
|
|
2056
|
+
"required": true
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
"description": "Get details of a specific release",
|
|
2012
2060
|
"examples": [
|
|
2013
|
-
"$ xano release
|
|
2014
|
-
"$ xano release
|
|
2061
|
+
"$ xano release get v1.0\nRelease: v1.0 - ID: 10\n Branch: main\n Description: Initial release\n Hotfix: false\n",
|
|
2062
|
+
"$ xano release get v1.0 -w 5 -o json"
|
|
2015
2063
|
],
|
|
2016
2064
|
"flags": {
|
|
2017
2065
|
"profile": {
|
|
@@ -2059,7 +2107,7 @@
|
|
|
2059
2107
|
},
|
|
2060
2108
|
"hasDynamicHelp": false,
|
|
2061
2109
|
"hiddenAliases": [],
|
|
2062
|
-
"id": "release:
|
|
2110
|
+
"id": "release:get",
|
|
2063
2111
|
"pluginAlias": "@xano/cli",
|
|
2064
2112
|
"pluginName": "@xano/cli",
|
|
2065
2113
|
"pluginType": "core",
|
|
@@ -2070,7 +2118,49 @@
|
|
|
2070
2118
|
"dist",
|
|
2071
2119
|
"commands",
|
|
2072
2120
|
"release",
|
|
2073
|
-
"
|
|
2121
|
+
"get",
|
|
2122
|
+
"index.js"
|
|
2123
|
+
]
|
|
2124
|
+
},
|
|
2125
|
+
"profile:delete": {
|
|
2126
|
+
"aliases": [],
|
|
2127
|
+
"args": {
|
|
2128
|
+
"name": {
|
|
2129
|
+
"description": "Profile name to delete",
|
|
2130
|
+
"name": "name",
|
|
2131
|
+
"required": true
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"description": "Delete a profile configuration",
|
|
2135
|
+
"examples": [
|
|
2136
|
+
"$ 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",
|
|
2137
|
+
"$ xano profile:delete old-profile --force\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n",
|
|
2138
|
+
"$ xano profile:delete old-profile -f\nProfile 'old-profile' deleted successfully from ~/.xano/credentials.yaml\n"
|
|
2139
|
+
],
|
|
2140
|
+
"flags": {
|
|
2141
|
+
"force": {
|
|
2142
|
+
"char": "f",
|
|
2143
|
+
"description": "Skip confirmation prompt",
|
|
2144
|
+
"name": "force",
|
|
2145
|
+
"required": false,
|
|
2146
|
+
"allowNo": false,
|
|
2147
|
+
"type": "boolean"
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
"hasDynamicHelp": false,
|
|
2151
|
+
"hiddenAliases": [],
|
|
2152
|
+
"id": "profile:delete",
|
|
2153
|
+
"pluginAlias": "@xano/cli",
|
|
2154
|
+
"pluginName": "@xano/cli",
|
|
2155
|
+
"pluginType": "core",
|
|
2156
|
+
"strict": true,
|
|
2157
|
+
"enableJsonFlag": false,
|
|
2158
|
+
"isESM": true,
|
|
2159
|
+
"relativePath": [
|
|
2160
|
+
"dist",
|
|
2161
|
+
"commands",
|
|
2162
|
+
"profile",
|
|
2163
|
+
"delete",
|
|
2074
2164
|
"index.js"
|
|
2075
2165
|
]
|
|
2076
2166
|
},
|
|
@@ -2152,19 +2242,13 @@
|
|
|
2152
2242
|
"index.js"
|
|
2153
2243
|
]
|
|
2154
2244
|
},
|
|
2155
|
-
"release:
|
|
2245
|
+
"release:list": {
|
|
2156
2246
|
"aliases": [],
|
|
2157
|
-
"args": {
|
|
2158
|
-
|
|
2159
|
-
"description": "Release name to retrieve",
|
|
2160
|
-
"name": "release_name",
|
|
2161
|
-
"required": true
|
|
2162
|
-
}
|
|
2163
|
-
},
|
|
2164
|
-
"description": "Get details of a specific release",
|
|
2247
|
+
"args": {},
|
|
2248
|
+
"description": "List all releases in a workspace",
|
|
2165
2249
|
"examples": [
|
|
2166
|
-
"$ xano release
|
|
2167
|
-
"$ xano release
|
|
2250
|
+
"$ xano release list\nReleases in workspace 5:\n - v1.0 (ID: 10) - main\n - v1.1-hotfix (ID: 11) - main [hotfix]\n",
|
|
2251
|
+
"$ xano release list -w 5 --output json"
|
|
2168
2252
|
],
|
|
2169
2253
|
"flags": {
|
|
2170
2254
|
"profile": {
|
|
@@ -2212,7 +2296,7 @@
|
|
|
2212
2296
|
},
|
|
2213
2297
|
"hasDynamicHelp": false,
|
|
2214
2298
|
"hiddenAliases": [],
|
|
2215
|
-
"id": "release:
|
|
2299
|
+
"id": "release:list",
|
|
2216
2300
|
"pluginAlias": "@xano/cli",
|
|
2217
2301
|
"pluginName": "@xano/cli",
|
|
2218
2302
|
"pluginType": "core",
|
|
@@ -2223,7 +2307,7 @@
|
|
|
2223
2307
|
"dist",
|
|
2224
2308
|
"commands",
|
|
2225
2309
|
"release",
|
|
2226
|
-
"
|
|
2310
|
+
"list",
|
|
2227
2311
|
"index.js"
|
|
2228
2312
|
]
|
|
2229
2313
|
},
|
|
@@ -2312,20 +2396,15 @@
|
|
|
2312
2396
|
"index.js"
|
|
2313
2397
|
]
|
|
2314
2398
|
},
|
|
2315
|
-
"
|
|
2399
|
+
"static_host:list": {
|
|
2316
2400
|
"aliases": [],
|
|
2317
|
-
"args": {
|
|
2318
|
-
|
|
2319
|
-
"description": "Release name to export",
|
|
2320
|
-
"name": "release_name",
|
|
2321
|
-
"required": true
|
|
2322
|
-
}
|
|
2323
|
-
},
|
|
2324
|
-
"description": "Export (download) a release to a local file",
|
|
2401
|
+
"args": {},
|
|
2402
|
+
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
2325
2403
|
"examples": [
|
|
2326
|
-
"$ xano
|
|
2327
|
-
"$ xano
|
|
2328
|
-
"$ xano
|
|
2404
|
+
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2405
|
+
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
2406
|
+
"$ 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",
|
|
2407
|
+
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
2329
2408
|
],
|
|
2330
2409
|
"flags": {
|
|
2331
2410
|
"profile": {
|
|
@@ -2347,31 +2426,41 @@
|
|
|
2347
2426
|
"allowNo": false,
|
|
2348
2427
|
"type": "boolean"
|
|
2349
2428
|
},
|
|
2350
|
-
"
|
|
2429
|
+
"output": {
|
|
2351
2430
|
"char": "o",
|
|
2352
2431
|
"description": "Output format",
|
|
2353
|
-
"name": "
|
|
2432
|
+
"name": "output",
|
|
2354
2433
|
"required": false,
|
|
2355
2434
|
"default": "summary",
|
|
2356
2435
|
"hasDynamicHelp": false,
|
|
2357
2436
|
"multiple": false,
|
|
2358
|
-
"options": [
|
|
2359
|
-
"summary",
|
|
2360
|
-
"json"
|
|
2361
|
-
],
|
|
2437
|
+
"options": [
|
|
2438
|
+
"summary",
|
|
2439
|
+
"json"
|
|
2440
|
+
],
|
|
2441
|
+
"type": "option"
|
|
2442
|
+
},
|
|
2443
|
+
"page": {
|
|
2444
|
+
"description": "Page number for pagination",
|
|
2445
|
+
"name": "page",
|
|
2446
|
+
"required": false,
|
|
2447
|
+
"default": 1,
|
|
2448
|
+
"hasDynamicHelp": false,
|
|
2449
|
+
"multiple": false,
|
|
2362
2450
|
"type": "option"
|
|
2363
2451
|
},
|
|
2364
|
-
"
|
|
2365
|
-
"description": "
|
|
2366
|
-
"name": "
|
|
2452
|
+
"per_page": {
|
|
2453
|
+
"description": "Number of results per page",
|
|
2454
|
+
"name": "per_page",
|
|
2367
2455
|
"required": false,
|
|
2456
|
+
"default": 50,
|
|
2368
2457
|
"hasDynamicHelp": false,
|
|
2369
2458
|
"multiple": false,
|
|
2370
2459
|
"type": "option"
|
|
2371
2460
|
},
|
|
2372
2461
|
"workspace": {
|
|
2373
2462
|
"char": "w",
|
|
2374
|
-
"description": "Workspace ID (
|
|
2463
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2375
2464
|
"name": "workspace",
|
|
2376
2465
|
"required": false,
|
|
2377
2466
|
"hasDynamicHelp": false,
|
|
@@ -2381,7 +2470,7 @@
|
|
|
2381
2470
|
},
|
|
2382
2471
|
"hasDynamicHelp": false,
|
|
2383
2472
|
"hiddenAliases": [],
|
|
2384
|
-
"id": "
|
|
2473
|
+
"id": "static_host:list",
|
|
2385
2474
|
"pluginAlias": "@xano/cli",
|
|
2386
2475
|
"pluginName": "@xano/cli",
|
|
2387
2476
|
"pluginType": "core",
|
|
@@ -2391,8 +2480,8 @@
|
|
|
2391
2480
|
"relativePath": [
|
|
2392
2481
|
"dist",
|
|
2393
2482
|
"commands",
|
|
2394
|
-
"
|
|
2395
|
-
"
|
|
2483
|
+
"static_host",
|
|
2484
|
+
"list",
|
|
2396
2485
|
"index.js"
|
|
2397
2486
|
]
|
|
2398
2487
|
},
|
|
@@ -2536,124 +2625,6 @@
|
|
|
2536
2625
|
"index.js"
|
|
2537
2626
|
]
|
|
2538
2627
|
},
|
|
2539
|
-
"release:push": {
|
|
2540
|
-
"aliases": [],
|
|
2541
|
-
"args": {
|
|
2542
|
-
"directory": {
|
|
2543
|
-
"description": "Directory containing .xs documents to create the release from",
|
|
2544
|
-
"name": "directory",
|
|
2545
|
-
"required": true
|
|
2546
|
-
}
|
|
2547
|
-
},
|
|
2548
|
-
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2549
|
-
"examples": [
|
|
2550
|
-
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2551
|
-
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2552
|
-
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2553
|
-
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2554
|
-
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2555
|
-
],
|
|
2556
|
-
"flags": {
|
|
2557
|
-
"profile": {
|
|
2558
|
-
"char": "p",
|
|
2559
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2560
|
-
"env": "XANO_PROFILE",
|
|
2561
|
-
"name": "profile",
|
|
2562
|
-
"required": false,
|
|
2563
|
-
"hasDynamicHelp": false,
|
|
2564
|
-
"multiple": false,
|
|
2565
|
-
"type": "option"
|
|
2566
|
-
},
|
|
2567
|
-
"verbose": {
|
|
2568
|
-
"char": "v",
|
|
2569
|
-
"description": "Show detailed request/response information",
|
|
2570
|
-
"env": "XANO_VERBOSE",
|
|
2571
|
-
"name": "verbose",
|
|
2572
|
-
"required": false,
|
|
2573
|
-
"allowNo": false,
|
|
2574
|
-
"type": "boolean"
|
|
2575
|
-
},
|
|
2576
|
-
"description": {
|
|
2577
|
-
"char": "d",
|
|
2578
|
-
"description": "Release description",
|
|
2579
|
-
"name": "description",
|
|
2580
|
-
"required": false,
|
|
2581
|
-
"default": "",
|
|
2582
|
-
"hasDynamicHelp": false,
|
|
2583
|
-
"multiple": false,
|
|
2584
|
-
"type": "option"
|
|
2585
|
-
},
|
|
2586
|
-
"env": {
|
|
2587
|
-
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2588
|
-
"name": "env",
|
|
2589
|
-
"required": false,
|
|
2590
|
-
"allowNo": true,
|
|
2591
|
-
"type": "boolean"
|
|
2592
|
-
},
|
|
2593
|
-
"hotfix": {
|
|
2594
|
-
"description": "Mark as a hotfix release",
|
|
2595
|
-
"name": "hotfix",
|
|
2596
|
-
"required": false,
|
|
2597
|
-
"allowNo": false,
|
|
2598
|
-
"type": "boolean"
|
|
2599
|
-
},
|
|
2600
|
-
"name": {
|
|
2601
|
-
"char": "n",
|
|
2602
|
-
"description": "Name for the release",
|
|
2603
|
-
"name": "name",
|
|
2604
|
-
"required": true,
|
|
2605
|
-
"hasDynamicHelp": false,
|
|
2606
|
-
"multiple": false,
|
|
2607
|
-
"type": "option"
|
|
2608
|
-
},
|
|
2609
|
-
"output": {
|
|
2610
|
-
"char": "o",
|
|
2611
|
-
"description": "Output format",
|
|
2612
|
-
"name": "output",
|
|
2613
|
-
"required": false,
|
|
2614
|
-
"default": "summary",
|
|
2615
|
-
"hasDynamicHelp": false,
|
|
2616
|
-
"multiple": false,
|
|
2617
|
-
"options": [
|
|
2618
|
-
"summary",
|
|
2619
|
-
"json"
|
|
2620
|
-
],
|
|
2621
|
-
"type": "option"
|
|
2622
|
-
},
|
|
2623
|
-
"records": {
|
|
2624
|
-
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2625
|
-
"name": "records",
|
|
2626
|
-
"required": false,
|
|
2627
|
-
"allowNo": true,
|
|
2628
|
-
"type": "boolean"
|
|
2629
|
-
},
|
|
2630
|
-
"workspace": {
|
|
2631
|
-
"char": "w",
|
|
2632
|
-
"description": "Workspace ID (optional if set in profile)",
|
|
2633
|
-
"name": "workspace",
|
|
2634
|
-
"required": false,
|
|
2635
|
-
"hasDynamicHelp": false,
|
|
2636
|
-
"multiple": false,
|
|
2637
|
-
"type": "option"
|
|
2638
|
-
}
|
|
2639
|
-
},
|
|
2640
|
-
"hasDynamicHelp": false,
|
|
2641
|
-
"hiddenAliases": [],
|
|
2642
|
-
"id": "release:push",
|
|
2643
|
-
"pluginAlias": "@xano/cli",
|
|
2644
|
-
"pluginName": "@xano/cli",
|
|
2645
|
-
"pluginType": "core",
|
|
2646
|
-
"strict": true,
|
|
2647
|
-
"enableJsonFlag": false,
|
|
2648
|
-
"isESM": true,
|
|
2649
|
-
"relativePath": [
|
|
2650
|
-
"dist",
|
|
2651
|
-
"commands",
|
|
2652
|
-
"release",
|
|
2653
|
-
"push",
|
|
2654
|
-
"index.js"
|
|
2655
|
-
]
|
|
2656
|
-
},
|
|
2657
2628
|
"tenant:delete": {
|
|
2658
2629
|
"aliases": [],
|
|
2659
2630
|
"args": {
|
|
@@ -2831,19 +2802,22 @@
|
|
|
2831
2802
|
"index.js"
|
|
2832
2803
|
]
|
|
2833
2804
|
},
|
|
2834
|
-
"
|
|
2805
|
+
"release:push": {
|
|
2835
2806
|
"aliases": [],
|
|
2836
2807
|
"args": {
|
|
2837
|
-
"
|
|
2838
|
-
"description": "
|
|
2839
|
-
"name": "
|
|
2808
|
+
"directory": {
|
|
2809
|
+
"description": "Directory containing .xs documents to create the release from",
|
|
2810
|
+
"name": "directory",
|
|
2840
2811
|
"required": true
|
|
2841
2812
|
}
|
|
2842
2813
|
},
|
|
2843
|
-
"description": "
|
|
2814
|
+
"description": "Create a new release from local XanoScript files via the multidoc endpoint",
|
|
2844
2815
|
"examples": [
|
|
2845
|
-
"$ xano
|
|
2846
|
-
"$ xano
|
|
2816
|
+
"$ xano release push ./my-release -n \"v1.0\"\nCreated release: v1.0 - ID: 10\n",
|
|
2817
|
+
"$ xano release push ./output -n \"v2.0\" -w 40 -d \"Major update\"\nCreated release: v2.0 - ID: 15\n",
|
|
2818
|
+
"$ xano release push ./backup -n \"v1.1-hotfix\" --hotfix --profile production\nCreated release: v1.1-hotfix - ID: 20\n",
|
|
2819
|
+
"$ xano release push ./my-release -n \"v1.0\" --no-records --no-env\nCreate release from schema only, skip records and environment variables\n",
|
|
2820
|
+
"$ xano release push ./my-release -n \"v1.0\" -o json\nOutput release details as JSON\n"
|
|
2847
2821
|
],
|
|
2848
2822
|
"flags": {
|
|
2849
2823
|
"profile": {
|
|
@@ -2865,90 +2839,39 @@
|
|
|
2865
2839
|
"allowNo": false,
|
|
2866
2840
|
"type": "boolean"
|
|
2867
2841
|
},
|
|
2868
|
-
"
|
|
2869
|
-
"char": "
|
|
2870
|
-
"description": "
|
|
2871
|
-
"name": "
|
|
2842
|
+
"description": {
|
|
2843
|
+
"char": "d",
|
|
2844
|
+
"description": "Release description",
|
|
2845
|
+
"name": "description",
|
|
2872
2846
|
"required": false,
|
|
2873
|
-
"default": "
|
|
2874
|
-
"hasDynamicHelp": false,
|
|
2875
|
-
"multiple": false,
|
|
2876
|
-
"options": [
|
|
2877
|
-
"summary",
|
|
2878
|
-
"json"
|
|
2879
|
-
],
|
|
2880
|
-
"type": "option"
|
|
2881
|
-
},
|
|
2882
|
-
"release": {
|
|
2883
|
-
"char": "r",
|
|
2884
|
-
"description": "Release name to deploy",
|
|
2885
|
-
"name": "release",
|
|
2886
|
-
"required": true,
|
|
2847
|
+
"default": "",
|
|
2887
2848
|
"hasDynamicHelp": false,
|
|
2888
2849
|
"multiple": false,
|
|
2889
2850
|
"type": "option"
|
|
2890
2851
|
},
|
|
2891
|
-
"
|
|
2892
|
-
"
|
|
2893
|
-
"
|
|
2894
|
-
"name": "workspace",
|
|
2895
|
-
"required": false,
|
|
2896
|
-
"hasDynamicHelp": false,
|
|
2897
|
-
"multiple": false,
|
|
2898
|
-
"type": "option"
|
|
2899
|
-
}
|
|
2900
|
-
},
|
|
2901
|
-
"hasDynamicHelp": false,
|
|
2902
|
-
"hiddenAliases": [],
|
|
2903
|
-
"id": "tenant:deploy_release",
|
|
2904
|
-
"pluginAlias": "@xano/cli",
|
|
2905
|
-
"pluginName": "@xano/cli",
|
|
2906
|
-
"pluginType": "core",
|
|
2907
|
-
"strict": true,
|
|
2908
|
-
"enableJsonFlag": false,
|
|
2909
|
-
"isESM": true,
|
|
2910
|
-
"relativePath": [
|
|
2911
|
-
"dist",
|
|
2912
|
-
"commands",
|
|
2913
|
-
"tenant",
|
|
2914
|
-
"deploy_release",
|
|
2915
|
-
"index.js"
|
|
2916
|
-
]
|
|
2917
|
-
},
|
|
2918
|
-
"tenant:impersonate": {
|
|
2919
|
-
"aliases": [],
|
|
2920
|
-
"args": {
|
|
2921
|
-
"tenant_name": {
|
|
2922
|
-
"description": "Tenant name to impersonate",
|
|
2923
|
-
"name": "tenant_name",
|
|
2924
|
-
"required": true
|
|
2925
|
-
}
|
|
2926
|
-
},
|
|
2927
|
-
"description": "Impersonate a tenant and open it in the browser",
|
|
2928
|
-
"examples": [
|
|
2929
|
-
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
2930
|
-
"$ xano tenant impersonate my-tenant -o json"
|
|
2931
|
-
],
|
|
2932
|
-
"flags": {
|
|
2933
|
-
"profile": {
|
|
2934
|
-
"char": "p",
|
|
2935
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
2936
|
-
"env": "XANO_PROFILE",
|
|
2937
|
-
"name": "profile",
|
|
2852
|
+
"env": {
|
|
2853
|
+
"description": "Include environment variables (default: true, use --no-env to exclude)",
|
|
2854
|
+
"name": "env",
|
|
2938
2855
|
"required": false,
|
|
2939
|
-
"
|
|
2940
|
-
"
|
|
2941
|
-
"type": "option"
|
|
2856
|
+
"allowNo": true,
|
|
2857
|
+
"type": "boolean"
|
|
2942
2858
|
},
|
|
2943
|
-
"
|
|
2944
|
-
"
|
|
2945
|
-
"
|
|
2946
|
-
"env": "XANO_VERBOSE",
|
|
2947
|
-
"name": "verbose",
|
|
2859
|
+
"hotfix": {
|
|
2860
|
+
"description": "Mark as a hotfix release",
|
|
2861
|
+
"name": "hotfix",
|
|
2948
2862
|
"required": false,
|
|
2949
2863
|
"allowNo": false,
|
|
2950
2864
|
"type": "boolean"
|
|
2951
2865
|
},
|
|
2866
|
+
"name": {
|
|
2867
|
+
"char": "n",
|
|
2868
|
+
"description": "Name for the release",
|
|
2869
|
+
"name": "name",
|
|
2870
|
+
"required": true,
|
|
2871
|
+
"hasDynamicHelp": false,
|
|
2872
|
+
"multiple": false,
|
|
2873
|
+
"type": "option"
|
|
2874
|
+
},
|
|
2952
2875
|
"output": {
|
|
2953
2876
|
"char": "o",
|
|
2954
2877
|
"description": "Output format",
|
|
@@ -2960,20 +2883,19 @@
|
|
|
2960
2883
|
"options": [
|
|
2961
2884
|
"summary",
|
|
2962
2885
|
"json"
|
|
2963
|
-
],
|
|
2964
|
-
"type": "option"
|
|
2965
|
-
},
|
|
2966
|
-
"
|
|
2967
|
-
"
|
|
2968
|
-
"
|
|
2969
|
-
"name": "url-only",
|
|
2886
|
+
],
|
|
2887
|
+
"type": "option"
|
|
2888
|
+
},
|
|
2889
|
+
"records": {
|
|
2890
|
+
"description": "Include records (default: true, use --no-records to exclude)",
|
|
2891
|
+
"name": "records",
|
|
2970
2892
|
"required": false,
|
|
2971
|
-
"allowNo":
|
|
2893
|
+
"allowNo": true,
|
|
2972
2894
|
"type": "boolean"
|
|
2973
2895
|
},
|
|
2974
2896
|
"workspace": {
|
|
2975
2897
|
"char": "w",
|
|
2976
|
-
"description": "Workspace ID (
|
|
2898
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
2977
2899
|
"name": "workspace",
|
|
2978
2900
|
"required": false,
|
|
2979
2901
|
"hasDynamicHelp": false,
|
|
@@ -2983,7 +2905,7 @@
|
|
|
2983
2905
|
},
|
|
2984
2906
|
"hasDynamicHelp": false,
|
|
2985
2907
|
"hiddenAliases": [],
|
|
2986
|
-
"id": "
|
|
2908
|
+
"id": "release:push",
|
|
2987
2909
|
"pluginAlias": "@xano/cli",
|
|
2988
2910
|
"pluginName": "@xano/cli",
|
|
2989
2911
|
"pluginType": "core",
|
|
@@ -2993,8 +2915,8 @@
|
|
|
2993
2915
|
"relativePath": [
|
|
2994
2916
|
"dist",
|
|
2995
2917
|
"commands",
|
|
2996
|
-
"
|
|
2997
|
-
"
|
|
2918
|
+
"release",
|
|
2919
|
+
"push",
|
|
2998
2920
|
"index.js"
|
|
2999
2921
|
]
|
|
3000
2922
|
},
|
|
@@ -3127,13 +3049,19 @@
|
|
|
3127
3049
|
"index.js"
|
|
3128
3050
|
]
|
|
3129
3051
|
},
|
|
3130
|
-
"tenant:
|
|
3052
|
+
"tenant:deploy_release": {
|
|
3131
3053
|
"aliases": [],
|
|
3132
|
-
"args": {
|
|
3133
|
-
|
|
3054
|
+
"args": {
|
|
3055
|
+
"tenant_name": {
|
|
3056
|
+
"description": "Tenant name to deploy to",
|
|
3057
|
+
"name": "tenant_name",
|
|
3058
|
+
"required": true
|
|
3059
|
+
}
|
|
3060
|
+
},
|
|
3061
|
+
"description": "Deploy a release to a tenant",
|
|
3134
3062
|
"examples": [
|
|
3135
|
-
"$ xano tenant
|
|
3136
|
-
"$ xano tenant
|
|
3063
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0\nDeployed release \"v1.0\" to tenant: My Tenant (my-tenant)\n",
|
|
3064
|
+
"$ xano tenant deploy_release t1234-abcd-xyz1 --release v1.0 -o json"
|
|
3137
3065
|
],
|
|
3138
3066
|
"flags": {
|
|
3139
3067
|
"profile": {
|
|
@@ -3169,6 +3097,15 @@
|
|
|
3169
3097
|
],
|
|
3170
3098
|
"type": "option"
|
|
3171
3099
|
},
|
|
3100
|
+
"release": {
|
|
3101
|
+
"char": "r",
|
|
3102
|
+
"description": "Release name to deploy",
|
|
3103
|
+
"name": "release",
|
|
3104
|
+
"required": true,
|
|
3105
|
+
"hasDynamicHelp": false,
|
|
3106
|
+
"multiple": false,
|
|
3107
|
+
"type": "option"
|
|
3108
|
+
},
|
|
3172
3109
|
"workspace": {
|
|
3173
3110
|
"char": "w",
|
|
3174
3111
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3181,7 +3118,7 @@
|
|
|
3181
3118
|
},
|
|
3182
3119
|
"hasDynamicHelp": false,
|
|
3183
3120
|
"hiddenAliases": [],
|
|
3184
|
-
"id": "tenant:
|
|
3121
|
+
"id": "tenant:deploy_release",
|
|
3185
3122
|
"pluginAlias": "@xano/cli",
|
|
3186
3123
|
"pluginName": "@xano/cli",
|
|
3187
3124
|
"pluginType": "core",
|
|
@@ -3192,23 +3129,23 @@
|
|
|
3192
3129
|
"dist",
|
|
3193
3130
|
"commands",
|
|
3194
3131
|
"tenant",
|
|
3195
|
-
"
|
|
3132
|
+
"deploy_release",
|
|
3196
3133
|
"index.js"
|
|
3197
3134
|
]
|
|
3198
3135
|
},
|
|
3199
|
-
"tenant:
|
|
3136
|
+
"tenant:impersonate": {
|
|
3200
3137
|
"aliases": [],
|
|
3201
3138
|
"args": {
|
|
3202
3139
|
"tenant_name": {
|
|
3203
|
-
"description": "Tenant name to
|
|
3140
|
+
"description": "Tenant name to impersonate",
|
|
3204
3141
|
"name": "tenant_name",
|
|
3205
3142
|
"required": true
|
|
3206
3143
|
}
|
|
3207
3144
|
},
|
|
3208
|
-
"description": "
|
|
3145
|
+
"description": "Impersonate a tenant and open it in the browser",
|
|
3209
3146
|
"examples": [
|
|
3210
|
-
"$ xano tenant
|
|
3211
|
-
"$ xano tenant
|
|
3147
|
+
"$ xano tenant impersonate my-tenant\nOpening browser...\nImpersonation successful!\n",
|
|
3148
|
+
"$ xano tenant impersonate my-tenant -o json"
|
|
3212
3149
|
],
|
|
3213
3150
|
"flags": {
|
|
3214
3151
|
"profile": {
|
|
@@ -3244,6 +3181,14 @@
|
|
|
3244
3181
|
],
|
|
3245
3182
|
"type": "option"
|
|
3246
3183
|
},
|
|
3184
|
+
"url-only": {
|
|
3185
|
+
"char": "u",
|
|
3186
|
+
"description": "Print the URL without opening the browser",
|
|
3187
|
+
"name": "url-only",
|
|
3188
|
+
"required": false,
|
|
3189
|
+
"allowNo": false,
|
|
3190
|
+
"type": "boolean"
|
|
3191
|
+
},
|
|
3247
3192
|
"workspace": {
|
|
3248
3193
|
"char": "w",
|
|
3249
3194
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -3256,7 +3201,7 @@
|
|
|
3256
3201
|
},
|
|
3257
3202
|
"hasDynamicHelp": false,
|
|
3258
3203
|
"hiddenAliases": [],
|
|
3259
|
-
"id": "tenant:
|
|
3204
|
+
"id": "tenant:impersonate",
|
|
3260
3205
|
"pluginAlias": "@xano/cli",
|
|
3261
3206
|
"pluginName": "@xano/cli",
|
|
3262
3207
|
"pluginType": "core",
|
|
@@ -3267,7 +3212,76 @@
|
|
|
3267
3212
|
"dist",
|
|
3268
3213
|
"commands",
|
|
3269
3214
|
"tenant",
|
|
3270
|
-
"
|
|
3215
|
+
"impersonate",
|
|
3216
|
+
"index.js"
|
|
3217
|
+
]
|
|
3218
|
+
},
|
|
3219
|
+
"tenant:list": {
|
|
3220
|
+
"aliases": [],
|
|
3221
|
+
"args": {},
|
|
3222
|
+
"description": "List all tenants in a workspace",
|
|
3223
|
+
"examples": [
|
|
3224
|
+
"$ xano tenant list\nTenants in workspace 5:\n - My Tenant (my-tenant) [ok] - tier1\n Cluster: us-central\n Release: r1\n Platform: default\n - Staging (staging) [ok] - tier1\n Cluster: us-central\n Release: r1\n",
|
|
3225
|
+
"$ xano tenant list -w 5 --output json"
|
|
3226
|
+
],
|
|
3227
|
+
"flags": {
|
|
3228
|
+
"profile": {
|
|
3229
|
+
"char": "p",
|
|
3230
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
3231
|
+
"env": "XANO_PROFILE",
|
|
3232
|
+
"name": "profile",
|
|
3233
|
+
"required": false,
|
|
3234
|
+
"hasDynamicHelp": false,
|
|
3235
|
+
"multiple": false,
|
|
3236
|
+
"type": "option"
|
|
3237
|
+
},
|
|
3238
|
+
"verbose": {
|
|
3239
|
+
"char": "v",
|
|
3240
|
+
"description": "Show detailed request/response information",
|
|
3241
|
+
"env": "XANO_VERBOSE",
|
|
3242
|
+
"name": "verbose",
|
|
3243
|
+
"required": false,
|
|
3244
|
+
"allowNo": false,
|
|
3245
|
+
"type": "boolean"
|
|
3246
|
+
},
|
|
3247
|
+
"output": {
|
|
3248
|
+
"char": "o",
|
|
3249
|
+
"description": "Output format",
|
|
3250
|
+
"name": "output",
|
|
3251
|
+
"required": false,
|
|
3252
|
+
"default": "summary",
|
|
3253
|
+
"hasDynamicHelp": false,
|
|
3254
|
+
"multiple": false,
|
|
3255
|
+
"options": [
|
|
3256
|
+
"summary",
|
|
3257
|
+
"json"
|
|
3258
|
+
],
|
|
3259
|
+
"type": "option"
|
|
3260
|
+
},
|
|
3261
|
+
"workspace": {
|
|
3262
|
+
"char": "w",
|
|
3263
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3264
|
+
"name": "workspace",
|
|
3265
|
+
"required": false,
|
|
3266
|
+
"hasDynamicHelp": false,
|
|
3267
|
+
"multiple": false,
|
|
3268
|
+
"type": "option"
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
"hasDynamicHelp": false,
|
|
3272
|
+
"hiddenAliases": [],
|
|
3273
|
+
"id": "tenant:list",
|
|
3274
|
+
"pluginAlias": "@xano/cli",
|
|
3275
|
+
"pluginName": "@xano/cli",
|
|
3276
|
+
"pluginType": "core",
|
|
3277
|
+
"strict": true,
|
|
3278
|
+
"enableJsonFlag": false,
|
|
3279
|
+
"isESM": true,
|
|
3280
|
+
"relativePath": [
|
|
3281
|
+
"dist",
|
|
3282
|
+
"commands",
|
|
3283
|
+
"tenant",
|
|
3284
|
+
"list",
|
|
3271
3285
|
"index.js"
|
|
3272
3286
|
]
|
|
3273
3287
|
},
|
|
@@ -3466,13 +3480,14 @@
|
|
|
3466
3480
|
"index.js"
|
|
3467
3481
|
]
|
|
3468
3482
|
},
|
|
3469
|
-
"unit_test:
|
|
3483
|
+
"unit_test:list": {
|
|
3470
3484
|
"aliases": [],
|
|
3471
3485
|
"args": {},
|
|
3472
|
-
"description": "
|
|
3486
|
+
"description": "List all unit tests in a workspace",
|
|
3473
3487
|
"examples": [
|
|
3474
|
-
"$ xano unit-test
|
|
3475
|
-
"$ xano unit-test
|
|
3488
|
+
"$ xano unit-test list\nUnit tests in workspace 5:\n - my-test (ID: abc-123) [function: math]\n - auth-check (ID: def-456) [query: /user/login]\n",
|
|
3489
|
+
"$ xano unit-test list -w 5 --output json",
|
|
3490
|
+
"$ xano unit-test list --obj-type function"
|
|
3476
3491
|
],
|
|
3477
3492
|
"flags": {
|
|
3478
3493
|
"profile": {
|
|
@@ -3542,7 +3557,7 @@
|
|
|
3542
3557
|
},
|
|
3543
3558
|
"hasDynamicHelp": false,
|
|
3544
3559
|
"hiddenAliases": [],
|
|
3545
|
-
"id": "unit_test:
|
|
3560
|
+
"id": "unit_test:list",
|
|
3546
3561
|
"pluginAlias": "@xano/cli",
|
|
3547
3562
|
"pluginName": "@xano/cli",
|
|
3548
3563
|
"pluginType": "core",
|
|
@@ -3553,7 +3568,7 @@
|
|
|
3553
3568
|
"dist",
|
|
3554
3569
|
"commands",
|
|
3555
3570
|
"unit_test",
|
|
3556
|
-
"
|
|
3571
|
+
"list",
|
|
3557
3572
|
"index.js"
|
|
3558
3573
|
]
|
|
3559
3574
|
},
|
|
@@ -3632,14 +3647,19 @@
|
|
|
3632
3647
|
"index.js"
|
|
3633
3648
|
]
|
|
3634
3649
|
},
|
|
3635
|
-
"
|
|
3650
|
+
"workflow_test:delete": {
|
|
3636
3651
|
"aliases": [],
|
|
3637
|
-
"args": {
|
|
3638
|
-
|
|
3652
|
+
"args": {
|
|
3653
|
+
"workflow_test_id": {
|
|
3654
|
+
"description": "ID of the workflow test to delete",
|
|
3655
|
+
"name": "workflow_test_id",
|
|
3656
|
+
"required": true
|
|
3657
|
+
}
|
|
3658
|
+
},
|
|
3659
|
+
"description": "Delete a workflow test",
|
|
3639
3660
|
"examples": [
|
|
3640
|
-
"$ xano
|
|
3641
|
-
"$ xano
|
|
3642
|
-
"$ xano unit-test list --obj-type function"
|
|
3661
|
+
"$ xano workflow-test delete 1\nAre you sure you want to delete workflow test 1? (y/N) y\nDeleted workflow test 1\n",
|
|
3662
|
+
"$ xano workflow-test delete 1 --force"
|
|
3643
3663
|
],
|
|
3644
3664
|
"flags": {
|
|
3645
3665
|
"profile": {
|
|
@@ -3660,96 +3680,11 @@
|
|
|
3660
3680
|
"required": false,
|
|
3661
3681
|
"allowNo": false,
|
|
3662
3682
|
"type": "boolean"
|
|
3663
|
-
},
|
|
3664
|
-
"
|
|
3665
|
-
"char": "
|
|
3666
|
-
"description": "
|
|
3667
|
-
"name": "
|
|
3668
|
-
"required": false,
|
|
3669
|
-
"hasDynamicHelp": false,
|
|
3670
|
-
"multiple": false,
|
|
3671
|
-
"type": "option"
|
|
3672
|
-
},
|
|
3673
|
-
"obj-type": {
|
|
3674
|
-
"description": "Filter by object type",
|
|
3675
|
-
"name": "obj-type",
|
|
3676
|
-
"required": false,
|
|
3677
|
-
"hasDynamicHelp": false,
|
|
3678
|
-
"multiple": false,
|
|
3679
|
-
"options": [
|
|
3680
|
-
"function",
|
|
3681
|
-
"query",
|
|
3682
|
-
"middleware"
|
|
3683
|
-
],
|
|
3684
|
-
"type": "option"
|
|
3685
|
-
},
|
|
3686
|
-
"output": {
|
|
3687
|
-
"char": "o",
|
|
3688
|
-
"description": "Output format",
|
|
3689
|
-
"name": "output",
|
|
3690
|
-
"required": false,
|
|
3691
|
-
"default": "summary",
|
|
3692
|
-
"hasDynamicHelp": false,
|
|
3693
|
-
"multiple": false,
|
|
3694
|
-
"options": [
|
|
3695
|
-
"summary",
|
|
3696
|
-
"json"
|
|
3697
|
-
],
|
|
3698
|
-
"type": "option"
|
|
3699
|
-
},
|
|
3700
|
-
"workspace": {
|
|
3701
|
-
"char": "w",
|
|
3702
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3703
|
-
"name": "workspace",
|
|
3704
|
-
"required": false,
|
|
3705
|
-
"hasDynamicHelp": false,
|
|
3706
|
-
"multiple": false,
|
|
3707
|
-
"type": "option"
|
|
3708
|
-
}
|
|
3709
|
-
},
|
|
3710
|
-
"hasDynamicHelp": false,
|
|
3711
|
-
"hiddenAliases": [],
|
|
3712
|
-
"id": "unit_test:list",
|
|
3713
|
-
"pluginAlias": "@xano/cli",
|
|
3714
|
-
"pluginName": "@xano/cli",
|
|
3715
|
-
"pluginType": "core",
|
|
3716
|
-
"strict": true,
|
|
3717
|
-
"enableJsonFlag": false,
|
|
3718
|
-
"isESM": true,
|
|
3719
|
-
"relativePath": [
|
|
3720
|
-
"dist",
|
|
3721
|
-
"commands",
|
|
3722
|
-
"unit_test",
|
|
3723
|
-
"list",
|
|
3724
|
-
"index.js"
|
|
3725
|
-
]
|
|
3726
|
-
},
|
|
3727
|
-
"static_host:list": {
|
|
3728
|
-
"aliases": [],
|
|
3729
|
-
"args": {},
|
|
3730
|
-
"description": "List all static hosts in a workspace from the Xano Metadata API",
|
|
3731
|
-
"examples": [
|
|
3732
|
-
"$ xano static_host:list -w 40\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
3733
|
-
"$ xano static_host:list --profile production\nAvailable static hosts:\n - my-static-host (ID: 1)\n - another-host (ID: 2)\n",
|
|
3734
|
-
"$ 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",
|
|
3735
|
-
"$ xano static_host:list -p staging -o json --page 2\n[\n {\n \"id\": 3,\n \"name\": \"static-host-3\"\n }\n]\n"
|
|
3736
|
-
],
|
|
3737
|
-
"flags": {
|
|
3738
|
-
"profile": {
|
|
3739
|
-
"char": "p",
|
|
3740
|
-
"description": "Profile to use (uses default profile if not specified)",
|
|
3741
|
-
"env": "XANO_PROFILE",
|
|
3742
|
-
"name": "profile",
|
|
3743
|
-
"required": false,
|
|
3744
|
-
"hasDynamicHelp": false,
|
|
3745
|
-
"multiple": false,
|
|
3746
|
-
"type": "option"
|
|
3747
|
-
},
|
|
3748
|
-
"verbose": {
|
|
3749
|
-
"char": "v",
|
|
3750
|
-
"description": "Show detailed request/response information",
|
|
3751
|
-
"env": "XANO_VERBOSE",
|
|
3752
|
-
"name": "verbose",
|
|
3683
|
+
},
|
|
3684
|
+
"force": {
|
|
3685
|
+
"char": "f",
|
|
3686
|
+
"description": "Skip confirmation prompt",
|
|
3687
|
+
"name": "force",
|
|
3753
3688
|
"required": false,
|
|
3754
3689
|
"allowNo": false,
|
|
3755
3690
|
"type": "boolean"
|
|
@@ -3768,27 +3703,9 @@
|
|
|
3768
3703
|
],
|
|
3769
3704
|
"type": "option"
|
|
3770
3705
|
},
|
|
3771
|
-
"page": {
|
|
3772
|
-
"description": "Page number for pagination",
|
|
3773
|
-
"name": "page",
|
|
3774
|
-
"required": false,
|
|
3775
|
-
"default": 1,
|
|
3776
|
-
"hasDynamicHelp": false,
|
|
3777
|
-
"multiple": false,
|
|
3778
|
-
"type": "option"
|
|
3779
|
-
},
|
|
3780
|
-
"per_page": {
|
|
3781
|
-
"description": "Number of results per page",
|
|
3782
|
-
"name": "per_page",
|
|
3783
|
-
"required": false,
|
|
3784
|
-
"default": 50,
|
|
3785
|
-
"hasDynamicHelp": false,
|
|
3786
|
-
"multiple": false,
|
|
3787
|
-
"type": "option"
|
|
3788
|
-
},
|
|
3789
3706
|
"workspace": {
|
|
3790
3707
|
"char": "w",
|
|
3791
|
-
"description": "Workspace ID (
|
|
3708
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
3792
3709
|
"name": "workspace",
|
|
3793
3710
|
"required": false,
|
|
3794
3711
|
"hasDynamicHelp": false,
|
|
@@ -3798,7 +3715,7 @@
|
|
|
3798
3715
|
},
|
|
3799
3716
|
"hasDynamicHelp": false,
|
|
3800
3717
|
"hiddenAliases": [],
|
|
3801
|
-
"id": "
|
|
3718
|
+
"id": "workflow_test:delete",
|
|
3802
3719
|
"pluginAlias": "@xano/cli",
|
|
3803
3720
|
"pluginName": "@xano/cli",
|
|
3804
3721
|
"pluginType": "core",
|
|
@@ -3808,24 +3725,18 @@
|
|
|
3808
3725
|
"relativePath": [
|
|
3809
3726
|
"dist",
|
|
3810
3727
|
"commands",
|
|
3811
|
-
"
|
|
3812
|
-
"
|
|
3728
|
+
"workflow_test",
|
|
3729
|
+
"delete",
|
|
3813
3730
|
"index.js"
|
|
3814
3731
|
]
|
|
3815
3732
|
},
|
|
3816
|
-
"
|
|
3733
|
+
"unit_test:run_all": {
|
|
3817
3734
|
"aliases": [],
|
|
3818
|
-
"args": {
|
|
3819
|
-
|
|
3820
|
-
"description": "ID of the workflow test to delete",
|
|
3821
|
-
"name": "workflow_test_id",
|
|
3822
|
-
"required": true
|
|
3823
|
-
}
|
|
3824
|
-
},
|
|
3825
|
-
"description": "Delete a workflow test",
|
|
3735
|
+
"args": {},
|
|
3736
|
+
"description": "Run all unit tests in a workspace",
|
|
3826
3737
|
"examples": [
|
|
3827
|
-
"$ xano
|
|
3828
|
-
"$ xano
|
|
3738
|
+
"$ xano unit-test run-all\nRunning 5 unit tests...\n\nPASS my-test [function: math]\nPASS auth-check [query: /user/login]\nFAIL data-validation [function: validate]\n Error: assertion failed\n\nResults: 2 passed, 1 failed\n",
|
|
3739
|
+
"$ xano unit-test run-all --obj-type function -o json"
|
|
3829
3740
|
],
|
|
3830
3741
|
"flags": {
|
|
3831
3742
|
"profile": {
|
|
@@ -3847,13 +3758,27 @@
|
|
|
3847
3758
|
"allowNo": false,
|
|
3848
3759
|
"type": "boolean"
|
|
3849
3760
|
},
|
|
3850
|
-
"
|
|
3851
|
-
"char": "
|
|
3852
|
-
"description": "
|
|
3853
|
-
"name": "
|
|
3761
|
+
"branch": {
|
|
3762
|
+
"char": "b",
|
|
3763
|
+
"description": "Filter by branch name",
|
|
3764
|
+
"name": "branch",
|
|
3854
3765
|
"required": false,
|
|
3855
|
-
"
|
|
3856
|
-
"
|
|
3766
|
+
"hasDynamicHelp": false,
|
|
3767
|
+
"multiple": false,
|
|
3768
|
+
"type": "option"
|
|
3769
|
+
},
|
|
3770
|
+
"obj-type": {
|
|
3771
|
+
"description": "Filter by object type",
|
|
3772
|
+
"name": "obj-type",
|
|
3773
|
+
"required": false,
|
|
3774
|
+
"hasDynamicHelp": false,
|
|
3775
|
+
"multiple": false,
|
|
3776
|
+
"options": [
|
|
3777
|
+
"function",
|
|
3778
|
+
"query",
|
|
3779
|
+
"middleware"
|
|
3780
|
+
],
|
|
3781
|
+
"type": "option"
|
|
3857
3782
|
},
|
|
3858
3783
|
"output": {
|
|
3859
3784
|
"char": "o",
|
|
@@ -3881,7 +3806,7 @@
|
|
|
3881
3806
|
},
|
|
3882
3807
|
"hasDynamicHelp": false,
|
|
3883
3808
|
"hiddenAliases": [],
|
|
3884
|
-
"id": "
|
|
3809
|
+
"id": "unit_test:run_all",
|
|
3885
3810
|
"pluginAlias": "@xano/cli",
|
|
3886
3811
|
"pluginName": "@xano/cli",
|
|
3887
3812
|
"pluginType": "core",
|
|
@@ -3891,8 +3816,8 @@
|
|
|
3891
3816
|
"relativePath": [
|
|
3892
3817
|
"dist",
|
|
3893
3818
|
"commands",
|
|
3894
|
-
"
|
|
3895
|
-
"
|
|
3819
|
+
"unit_test",
|
|
3820
|
+
"run_all",
|
|
3896
3821
|
"index.js"
|
|
3897
3822
|
]
|
|
3898
3823
|
},
|
|
@@ -4055,13 +3980,14 @@
|
|
|
4055
3980
|
"index.js"
|
|
4056
3981
|
]
|
|
4057
3982
|
},
|
|
4058
|
-
"workflow_test:
|
|
3983
|
+
"workflow_test:list": {
|
|
4059
3984
|
"aliases": [],
|
|
4060
3985
|
"args": {},
|
|
4061
|
-
"description": "
|
|
3986
|
+
"description": "List all workflow tests in a workspace",
|
|
4062
3987
|
"examples": [
|
|
4063
|
-
"$ xano workflow-test
|
|
4064
|
-
"$ xano workflow-test
|
|
3988
|
+
"$ xano workflow-test list\nWorkflow tests in workspace 5:\n - my-test (ID: 1)\n - auth-flow (ID: 2) - Validates auth endpoints\n",
|
|
3989
|
+
"$ xano workflow-test list -w 5 --output json",
|
|
3990
|
+
"$ xano workflow-test list --branch main"
|
|
4065
3991
|
],
|
|
4066
3992
|
"flags": {
|
|
4067
3993
|
"profile": {
|
|
@@ -4118,7 +4044,7 @@
|
|
|
4118
4044
|
},
|
|
4119
4045
|
"hasDynamicHelp": false,
|
|
4120
4046
|
"hiddenAliases": [],
|
|
4121
|
-
"id": "workflow_test:
|
|
4047
|
+
"id": "workflow_test:list",
|
|
4122
4048
|
"pluginAlias": "@xano/cli",
|
|
4123
4049
|
"pluginName": "@xano/cli",
|
|
4124
4050
|
"pluginType": "core",
|
|
@@ -4129,24 +4055,17 @@
|
|
|
4129
4055
|
"dist",
|
|
4130
4056
|
"commands",
|
|
4131
4057
|
"workflow_test",
|
|
4132
|
-
"
|
|
4058
|
+
"list",
|
|
4133
4059
|
"index.js"
|
|
4134
4060
|
]
|
|
4135
4061
|
},
|
|
4136
|
-
"
|
|
4062
|
+
"workflow_test:run_all": {
|
|
4137
4063
|
"aliases": [],
|
|
4138
|
-
"args": {
|
|
4139
|
-
|
|
4140
|
-
"description": "Name of the workspace",
|
|
4141
|
-
"name": "name",
|
|
4142
|
-
"required": true
|
|
4143
|
-
}
|
|
4144
|
-
},
|
|
4145
|
-
"description": "Create a new workspace via the Xano Metadata API",
|
|
4064
|
+
"args": {},
|
|
4065
|
+
"description": "Run all workflow tests in a workspace",
|
|
4146
4066
|
"examples": [
|
|
4147
|
-
"$ xano
|
|
4148
|
-
"$ xano
|
|
4149
|
-
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4067
|
+
"$ xano workflow-test run-all\nRunning 3 workflow tests...\n\nPASS my-test (1.234s)\nPASS auth-flow (0.567s)\nFAIL data-validation (0.890s)\n Error: assertion failed at step 3\n\nResults: 2 passed, 1 failed (2.691s total)\n",
|
|
4068
|
+
"$ xano workflow-test run-all --branch main -o json"
|
|
4150
4069
|
],
|
|
4151
4070
|
"flags": {
|
|
4152
4071
|
"profile": {
|
|
@@ -4168,10 +4087,10 @@
|
|
|
4168
4087
|
"allowNo": false,
|
|
4169
4088
|
"type": "boolean"
|
|
4170
4089
|
},
|
|
4171
|
-
"
|
|
4172
|
-
"char": "
|
|
4173
|
-
"description": "
|
|
4174
|
-
"name": "
|
|
4090
|
+
"branch": {
|
|
4091
|
+
"char": "b",
|
|
4092
|
+
"description": "Filter by branch name",
|
|
4093
|
+
"name": "branch",
|
|
4175
4094
|
"required": false,
|
|
4176
4095
|
"hasDynamicHelp": false,
|
|
4177
4096
|
"multiple": false,
|
|
@@ -4190,11 +4109,20 @@
|
|
|
4190
4109
|
"json"
|
|
4191
4110
|
],
|
|
4192
4111
|
"type": "option"
|
|
4112
|
+
},
|
|
4113
|
+
"workspace": {
|
|
4114
|
+
"char": "w",
|
|
4115
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4116
|
+
"name": "workspace",
|
|
4117
|
+
"required": false,
|
|
4118
|
+
"hasDynamicHelp": false,
|
|
4119
|
+
"multiple": false,
|
|
4120
|
+
"type": "option"
|
|
4193
4121
|
}
|
|
4194
4122
|
},
|
|
4195
4123
|
"hasDynamicHelp": false,
|
|
4196
4124
|
"hiddenAliases": [],
|
|
4197
|
-
"id": "
|
|
4125
|
+
"id": "workflow_test:run_all",
|
|
4198
4126
|
"pluginAlias": "@xano/cli",
|
|
4199
4127
|
"pluginName": "@xano/cli",
|
|
4200
4128
|
"pluginType": "core",
|
|
@@ -4204,25 +4132,25 @@
|
|
|
4204
4132
|
"relativePath": [
|
|
4205
4133
|
"dist",
|
|
4206
4134
|
"commands",
|
|
4207
|
-
"
|
|
4208
|
-
"
|
|
4135
|
+
"workflow_test",
|
|
4136
|
+
"run_all",
|
|
4209
4137
|
"index.js"
|
|
4210
4138
|
]
|
|
4211
4139
|
},
|
|
4212
|
-
"workspace:
|
|
4140
|
+
"workspace:create": {
|
|
4213
4141
|
"aliases": [],
|
|
4214
4142
|
"args": {
|
|
4215
|
-
"
|
|
4216
|
-
"description": "
|
|
4217
|
-
"name": "
|
|
4143
|
+
"name": {
|
|
4144
|
+
"description": "Name of the workspace",
|
|
4145
|
+
"name": "name",
|
|
4218
4146
|
"required": true
|
|
4219
4147
|
}
|
|
4220
4148
|
},
|
|
4221
|
-
"description": "
|
|
4149
|
+
"description": "Create a new workspace via the Xano Metadata API",
|
|
4222
4150
|
"examples": [
|
|
4223
|
-
"$ xano workspace
|
|
4224
|
-
"$ xano workspace
|
|
4225
|
-
"$ xano workspace
|
|
4151
|
+
"$ xano workspace create my-workspace\nCreated workspace: my-workspace (ID: 123)\n",
|
|
4152
|
+
"$ xano workspace create my-app --description \"My application workspace\"\nCreated workspace: my-app (ID: 456)\n Description: My application workspace\n",
|
|
4153
|
+
"$ xano workspace create new-project -d \"New project workspace\" -o json\n{\n \"id\": 789,\n \"name\": \"new-project\",\n \"description\": \"New project workspace\"\n}\n"
|
|
4226
4154
|
],
|
|
4227
4155
|
"flags": {
|
|
4228
4156
|
"profile": {
|
|
@@ -4244,13 +4172,14 @@
|
|
|
4244
4172
|
"allowNo": false,
|
|
4245
4173
|
"type": "boolean"
|
|
4246
4174
|
},
|
|
4247
|
-
"
|
|
4248
|
-
"char": "
|
|
4249
|
-
"description": "
|
|
4250
|
-
"name": "
|
|
4175
|
+
"description": {
|
|
4176
|
+
"char": "d",
|
|
4177
|
+
"description": "Description for the workspace",
|
|
4178
|
+
"name": "description",
|
|
4251
4179
|
"required": false,
|
|
4252
|
-
"
|
|
4253
|
-
"
|
|
4180
|
+
"hasDynamicHelp": false,
|
|
4181
|
+
"multiple": false,
|
|
4182
|
+
"type": "option"
|
|
4254
4183
|
},
|
|
4255
4184
|
"output": {
|
|
4256
4185
|
"char": "o",
|
|
@@ -4269,7 +4198,7 @@
|
|
|
4269
4198
|
},
|
|
4270
4199
|
"hasDynamicHelp": false,
|
|
4271
4200
|
"hiddenAliases": [],
|
|
4272
|
-
"id": "workspace:
|
|
4201
|
+
"id": "workspace:create",
|
|
4273
4202
|
"pluginAlias": "@xano/cli",
|
|
4274
4203
|
"pluginName": "@xano/cli",
|
|
4275
4204
|
"pluginType": "core",
|
|
@@ -4280,25 +4209,24 @@
|
|
|
4280
4209
|
"dist",
|
|
4281
4210
|
"commands",
|
|
4282
4211
|
"workspace",
|
|
4283
|
-
"
|
|
4212
|
+
"create",
|
|
4284
4213
|
"index.js"
|
|
4285
4214
|
]
|
|
4286
4215
|
},
|
|
4287
|
-
"workspace:
|
|
4216
|
+
"workspace:delete": {
|
|
4288
4217
|
"aliases": [],
|
|
4289
4218
|
"args": {
|
|
4290
4219
|
"workspace_id": {
|
|
4291
|
-
"description": "Workspace ID to
|
|
4220
|
+
"description": "Workspace ID to delete",
|
|
4292
4221
|
"name": "workspace_id",
|
|
4293
|
-
"required":
|
|
4222
|
+
"required": true
|
|
4294
4223
|
}
|
|
4295
4224
|
},
|
|
4296
|
-
"description": "
|
|
4225
|
+
"description": "Delete a workspace via the Xano Metadata API. Cannot delete workspaces with active tenants.",
|
|
4297
4226
|
"examples": [
|
|
4298
|
-
"$ xano workspace
|
|
4299
|
-
"$ xano workspace
|
|
4300
|
-
"$ xano workspace
|
|
4301
|
-
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4227
|
+
"$ xano workspace delete 123\nAre you sure you want to delete workspace 123? This action cannot be undone. (y/N) y\nDeleted workspace 123\n",
|
|
4228
|
+
"$ xano workspace delete 123 --force\nDeleted workspace 123\n",
|
|
4229
|
+
"$ xano workspace delete 123 -f -o json\n{\n \"deleted\": true,\n \"workspace_id\": 123\n}\n"
|
|
4302
4230
|
],
|
|
4303
4231
|
"flags": {
|
|
4304
4232
|
"profile": {
|
|
@@ -4320,23 +4248,13 @@
|
|
|
4320
4248
|
"allowNo": false,
|
|
4321
4249
|
"type": "boolean"
|
|
4322
4250
|
},
|
|
4323
|
-
"
|
|
4324
|
-
"char": "
|
|
4325
|
-
"description": "
|
|
4326
|
-
"name": "
|
|
4327
|
-
"required": false,
|
|
4328
|
-
"hasDynamicHelp": false,
|
|
4329
|
-
"multiple": false,
|
|
4330
|
-
"type": "option"
|
|
4331
|
-
},
|
|
4332
|
-
"name": {
|
|
4333
|
-
"char": "n",
|
|
4334
|
-
"description": "New name for the workspace",
|
|
4335
|
-
"name": "name",
|
|
4251
|
+
"force": {
|
|
4252
|
+
"char": "f",
|
|
4253
|
+
"description": "Skip confirmation prompt",
|
|
4254
|
+
"name": "force",
|
|
4336
4255
|
"required": false,
|
|
4337
|
-
"
|
|
4338
|
-
"
|
|
4339
|
-
"type": "option"
|
|
4256
|
+
"allowNo": false,
|
|
4257
|
+
"type": "boolean"
|
|
4340
4258
|
},
|
|
4341
4259
|
"output": {
|
|
4342
4260
|
"char": "o",
|
|
@@ -4351,25 +4269,11 @@
|
|
|
4351
4269
|
"json"
|
|
4352
4270
|
],
|
|
4353
4271
|
"type": "option"
|
|
4354
|
-
},
|
|
4355
|
-
"require-token": {
|
|
4356
|
-
"description": "Whether to require a token for documentation access",
|
|
4357
|
-
"name": "require-token",
|
|
4358
|
-
"required": false,
|
|
4359
|
-
"allowNo": true,
|
|
4360
|
-
"type": "boolean"
|
|
4361
|
-
},
|
|
4362
|
-
"swagger": {
|
|
4363
|
-
"description": "Enable or disable swagger documentation",
|
|
4364
|
-
"name": "swagger",
|
|
4365
|
-
"required": false,
|
|
4366
|
-
"allowNo": true,
|
|
4367
|
-
"type": "boolean"
|
|
4368
4272
|
}
|
|
4369
4273
|
},
|
|
4370
4274
|
"hasDynamicHelp": false,
|
|
4371
4275
|
"hiddenAliases": [],
|
|
4372
|
-
"id": "workspace:
|
|
4276
|
+
"id": "workspace:delete",
|
|
4373
4277
|
"pluginAlias": "@xano/cli",
|
|
4374
4278
|
"pluginName": "@xano/cli",
|
|
4375
4279
|
"pluginType": "core",
|
|
@@ -4380,24 +4284,23 @@
|
|
|
4380
4284
|
"dist",
|
|
4381
4285
|
"commands",
|
|
4382
4286
|
"workspace",
|
|
4383
|
-
"
|
|
4287
|
+
"delete",
|
|
4384
4288
|
"index.js"
|
|
4385
4289
|
]
|
|
4386
4290
|
},
|
|
4387
|
-
"
|
|
4291
|
+
"tenant:get": {
|
|
4388
4292
|
"aliases": [],
|
|
4389
4293
|
"args": {
|
|
4390
|
-
"
|
|
4391
|
-
"description": "
|
|
4392
|
-
"name": "
|
|
4393
|
-
"required":
|
|
4294
|
+
"tenant_name": {
|
|
4295
|
+
"description": "Tenant name to retrieve",
|
|
4296
|
+
"name": "tenant_name",
|
|
4297
|
+
"required": true
|
|
4394
4298
|
}
|
|
4395
4299
|
},
|
|
4396
|
-
"description": "Get details of a specific
|
|
4300
|
+
"description": "Get details of a specific tenant",
|
|
4397
4301
|
"examples": [
|
|
4398
|
-
"$ xano
|
|
4399
|
-
"$ xano
|
|
4400
|
-
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4302
|
+
"$ xano tenant get t1234-abcd-xyz1\nTenant: My Tenant (my-tenant)\n State: ok\n License: tier1\n Domain: my-tenant.xano.io\n Cluster: default\n Release: v1.0\n",
|
|
4303
|
+
"$ xano tenant get t1234-abcd-xyz1 -w 5 -o json"
|
|
4401
4304
|
],
|
|
4402
4305
|
"flags": {
|
|
4403
4306
|
"profile": {
|
|
@@ -4432,11 +4335,20 @@
|
|
|
4432
4335
|
"json"
|
|
4433
4336
|
],
|
|
4434
4337
|
"type": "option"
|
|
4338
|
+
},
|
|
4339
|
+
"workspace": {
|
|
4340
|
+
"char": "w",
|
|
4341
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4342
|
+
"name": "workspace",
|
|
4343
|
+
"required": false,
|
|
4344
|
+
"hasDynamicHelp": false,
|
|
4345
|
+
"multiple": false,
|
|
4346
|
+
"type": "option"
|
|
4435
4347
|
}
|
|
4436
4348
|
},
|
|
4437
4349
|
"hasDynamicHelp": false,
|
|
4438
4350
|
"hiddenAliases": [],
|
|
4439
|
-
"id": "
|
|
4351
|
+
"id": "tenant:get",
|
|
4440
4352
|
"pluginAlias": "@xano/cli",
|
|
4441
4353
|
"pluginName": "@xano/cli",
|
|
4442
4354
|
"pluginType": "core",
|
|
@@ -4446,19 +4358,25 @@
|
|
|
4446
4358
|
"relativePath": [
|
|
4447
4359
|
"dist",
|
|
4448
4360
|
"commands",
|
|
4449
|
-
"
|
|
4361
|
+
"tenant",
|
|
4450
4362
|
"get",
|
|
4451
4363
|
"index.js"
|
|
4452
4364
|
]
|
|
4453
4365
|
},
|
|
4454
|
-
"
|
|
4366
|
+
"workspace:get": {
|
|
4455
4367
|
"aliases": [],
|
|
4456
|
-
"args": {
|
|
4457
|
-
|
|
4368
|
+
"args": {
|
|
4369
|
+
"workspace_id": {
|
|
4370
|
+
"description": "Workspace ID to get details for (uses profile workspace if not provided)",
|
|
4371
|
+
"name": "workspace_id",
|
|
4372
|
+
"required": false
|
|
4373
|
+
}
|
|
4374
|
+
},
|
|
4375
|
+
"description": "Get details of a specific workspace from the Xano Metadata API",
|
|
4458
4376
|
"examples": [
|
|
4459
|
-
"$ xano
|
|
4460
|
-
"$ xano
|
|
4461
|
-
"$ xano
|
|
4377
|
+
"$ xano workspace get 123\nWorkspace: my-workspace (ID: 123)\n Description: My workspace description\n Created: 2024-01-15\n",
|
|
4378
|
+
"$ xano workspace get --output json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"description\": \"My workspace description\"\n}\n",
|
|
4379
|
+
"$ xano workspace get 456 -p production -o json\n{\n \"id\": 456,\n \"name\": \"production-workspace\"\n}\n"
|
|
4462
4380
|
],
|
|
4463
4381
|
"flags": {
|
|
4464
4382
|
"profile": {
|
|
@@ -4480,15 +4398,6 @@
|
|
|
4480
4398
|
"allowNo": false,
|
|
4481
4399
|
"type": "boolean"
|
|
4482
4400
|
},
|
|
4483
|
-
"branch": {
|
|
4484
|
-
"char": "b",
|
|
4485
|
-
"description": "Filter by branch name",
|
|
4486
|
-
"name": "branch",
|
|
4487
|
-
"required": false,
|
|
4488
|
-
"hasDynamicHelp": false,
|
|
4489
|
-
"multiple": false,
|
|
4490
|
-
"type": "option"
|
|
4491
|
-
},
|
|
4492
4401
|
"output": {
|
|
4493
4402
|
"char": "o",
|
|
4494
4403
|
"description": "Output format",
|
|
@@ -4502,20 +4411,11 @@
|
|
|
4502
4411
|
"json"
|
|
4503
4412
|
],
|
|
4504
4413
|
"type": "option"
|
|
4505
|
-
},
|
|
4506
|
-
"workspace": {
|
|
4507
|
-
"char": "w",
|
|
4508
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
4509
|
-
"name": "workspace",
|
|
4510
|
-
"required": false,
|
|
4511
|
-
"hasDynamicHelp": false,
|
|
4512
|
-
"multiple": false,
|
|
4513
|
-
"type": "option"
|
|
4514
4414
|
}
|
|
4515
4415
|
},
|
|
4516
4416
|
"hasDynamicHelp": false,
|
|
4517
4417
|
"hiddenAliases": [],
|
|
4518
|
-
"id": "
|
|
4418
|
+
"id": "workspace:get",
|
|
4519
4419
|
"pluginAlias": "@xano/cli",
|
|
4520
4420
|
"pluginName": "@xano/cli",
|
|
4521
4421
|
"pluginType": "core",
|
|
@@ -4525,8 +4425,8 @@
|
|
|
4525
4425
|
"relativePath": [
|
|
4526
4426
|
"dist",
|
|
4527
4427
|
"commands",
|
|
4528
|
-
"
|
|
4529
|
-
"
|
|
4428
|
+
"workspace",
|
|
4429
|
+
"get",
|
|
4530
4430
|
"index.js"
|
|
4531
4431
|
]
|
|
4532
4432
|
},
|
|
@@ -4686,6 +4586,148 @@
|
|
|
4686
4586
|
"index.js"
|
|
4687
4587
|
]
|
|
4688
4588
|
},
|
|
4589
|
+
"workspace:push": {
|
|
4590
|
+
"aliases": [],
|
|
4591
|
+
"args": {
|
|
4592
|
+
"directory": {
|
|
4593
|
+
"description": "Directory containing documents to push (as produced by workspace pull)",
|
|
4594
|
+
"name": "directory",
|
|
4595
|
+
"required": true
|
|
4596
|
+
}
|
|
4597
|
+
},
|
|
4598
|
+
"description": "Push local documents to a workspace. Shows a preview of changes before pushing unless --force is specified. Use --dry-run to preview only.",
|
|
4599
|
+
"examples": [
|
|
4600
|
+
"$ xano workspace push ./my-workspace\nShows preview of changes, requires confirmation\n",
|
|
4601
|
+
"$ xano workspace push ./my-workspace --dry-run\nPreview changes without pushing\n",
|
|
4602
|
+
"$ xano workspace push ./my-workspace --force\nSkip preview and push immediately (for CI/CD)\n",
|
|
4603
|
+
"$ xano workspace push ./my-workspace --delete\nShows preview including deletions, requires confirmation\n",
|
|
4604
|
+
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4605
|
+
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4606
|
+
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4607
|
+
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4608
|
+
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4609
|
+
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4610
|
+
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4611
|
+
],
|
|
4612
|
+
"flags": {
|
|
4613
|
+
"profile": {
|
|
4614
|
+
"char": "p",
|
|
4615
|
+
"description": "Profile to use (uses default profile if not specified)",
|
|
4616
|
+
"env": "XANO_PROFILE",
|
|
4617
|
+
"name": "profile",
|
|
4618
|
+
"required": false,
|
|
4619
|
+
"hasDynamicHelp": false,
|
|
4620
|
+
"multiple": false,
|
|
4621
|
+
"type": "option"
|
|
4622
|
+
},
|
|
4623
|
+
"verbose": {
|
|
4624
|
+
"char": "v",
|
|
4625
|
+
"description": "Show detailed request/response information",
|
|
4626
|
+
"env": "XANO_VERBOSE",
|
|
4627
|
+
"name": "verbose",
|
|
4628
|
+
"required": false,
|
|
4629
|
+
"allowNo": false,
|
|
4630
|
+
"type": "boolean"
|
|
4631
|
+
},
|
|
4632
|
+
"branch": {
|
|
4633
|
+
"char": "b",
|
|
4634
|
+
"description": "Branch name (optional if set in profile, defaults to live)",
|
|
4635
|
+
"name": "branch",
|
|
4636
|
+
"required": false,
|
|
4637
|
+
"hasDynamicHelp": false,
|
|
4638
|
+
"multiple": false,
|
|
4639
|
+
"type": "option"
|
|
4640
|
+
},
|
|
4641
|
+
"delete": {
|
|
4642
|
+
"description": "Delete workspace objects not included in the push",
|
|
4643
|
+
"name": "delete",
|
|
4644
|
+
"required": false,
|
|
4645
|
+
"allowNo": false,
|
|
4646
|
+
"type": "boolean"
|
|
4647
|
+
},
|
|
4648
|
+
"dry-run": {
|
|
4649
|
+
"description": "Show preview of changes without pushing (exit after preview)",
|
|
4650
|
+
"name": "dry-run",
|
|
4651
|
+
"required": false,
|
|
4652
|
+
"allowNo": false,
|
|
4653
|
+
"type": "boolean"
|
|
4654
|
+
},
|
|
4655
|
+
"env": {
|
|
4656
|
+
"description": "Include environment variables in import",
|
|
4657
|
+
"name": "env",
|
|
4658
|
+
"required": false,
|
|
4659
|
+
"allowNo": false,
|
|
4660
|
+
"type": "boolean"
|
|
4661
|
+
},
|
|
4662
|
+
"partial": {
|
|
4663
|
+
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
4664
|
+
"name": "partial",
|
|
4665
|
+
"required": false,
|
|
4666
|
+
"allowNo": false,
|
|
4667
|
+
"type": "boolean"
|
|
4668
|
+
},
|
|
4669
|
+
"records": {
|
|
4670
|
+
"description": "Include records in import",
|
|
4671
|
+
"name": "records",
|
|
4672
|
+
"required": false,
|
|
4673
|
+
"allowNo": false,
|
|
4674
|
+
"type": "boolean"
|
|
4675
|
+
},
|
|
4676
|
+
"sync-guids": {
|
|
4677
|
+
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
4678
|
+
"name": "sync-guids",
|
|
4679
|
+
"required": false,
|
|
4680
|
+
"allowNo": true,
|
|
4681
|
+
"type": "boolean"
|
|
4682
|
+
},
|
|
4683
|
+
"transaction": {
|
|
4684
|
+
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
4685
|
+
"name": "transaction",
|
|
4686
|
+
"required": false,
|
|
4687
|
+
"allowNo": true,
|
|
4688
|
+
"type": "boolean"
|
|
4689
|
+
},
|
|
4690
|
+
"truncate": {
|
|
4691
|
+
"description": "Truncate all table records before importing",
|
|
4692
|
+
"name": "truncate",
|
|
4693
|
+
"required": false,
|
|
4694
|
+
"allowNo": false,
|
|
4695
|
+
"type": "boolean"
|
|
4696
|
+
},
|
|
4697
|
+
"workspace": {
|
|
4698
|
+
"char": "w",
|
|
4699
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4700
|
+
"name": "workspace",
|
|
4701
|
+
"required": false,
|
|
4702
|
+
"hasDynamicHelp": false,
|
|
4703
|
+
"multiple": false,
|
|
4704
|
+
"type": "option"
|
|
4705
|
+
},
|
|
4706
|
+
"force": {
|
|
4707
|
+
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
4708
|
+
"name": "force",
|
|
4709
|
+
"required": false,
|
|
4710
|
+
"allowNo": false,
|
|
4711
|
+
"type": "boolean"
|
|
4712
|
+
}
|
|
4713
|
+
},
|
|
4714
|
+
"hasDynamicHelp": false,
|
|
4715
|
+
"hiddenAliases": [],
|
|
4716
|
+
"id": "workspace:push",
|
|
4717
|
+
"pluginAlias": "@xano/cli",
|
|
4718
|
+
"pluginName": "@xano/cli",
|
|
4719
|
+
"pluginType": "core",
|
|
4720
|
+
"strict": true,
|
|
4721
|
+
"enableJsonFlag": false,
|
|
4722
|
+
"isESM": true,
|
|
4723
|
+
"relativePath": [
|
|
4724
|
+
"dist",
|
|
4725
|
+
"commands",
|
|
4726
|
+
"workspace",
|
|
4727
|
+
"push",
|
|
4728
|
+
"index.js"
|
|
4729
|
+
]
|
|
4730
|
+
},
|
|
4689
4731
|
"profile:workspace:set": {
|
|
4690
4732
|
"aliases": [],
|
|
4691
4733
|
"args": {},
|
|
@@ -4733,13 +4775,20 @@
|
|
|
4733
4775
|
"index.js"
|
|
4734
4776
|
]
|
|
4735
4777
|
},
|
|
4736
|
-
"
|
|
4778
|
+
"static_host:build:create": {
|
|
4737
4779
|
"aliases": [],
|
|
4738
|
-
"args": {
|
|
4739
|
-
|
|
4780
|
+
"args": {
|
|
4781
|
+
"static_host": {
|
|
4782
|
+
"description": "Static Host name",
|
|
4783
|
+
"name": "static_host",
|
|
4784
|
+
"required": true
|
|
4785
|
+
}
|
|
4786
|
+
},
|
|
4787
|
+
"description": "Create a new build for a static host",
|
|
4740
4788
|
"examples": [
|
|
4741
|
-
"$ xano
|
|
4742
|
-
"$ xano
|
|
4789
|
+
"$ 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",
|
|
4790
|
+
"$ 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",
|
|
4791
|
+
"$ 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"
|
|
4743
4792
|
],
|
|
4744
4793
|
"flags": {
|
|
4745
4794
|
"profile": {
|
|
@@ -4761,48 +4810,27 @@
|
|
|
4761
4810
|
"allowNo": false,
|
|
4762
4811
|
"type": "boolean"
|
|
4763
4812
|
},
|
|
4764
|
-
"credentials": {
|
|
4765
|
-
"description": "Kubeconfig credentials (raw text)",
|
|
4766
|
-
"exclusive": [
|
|
4767
|
-
"credentials_file"
|
|
4768
|
-
],
|
|
4769
|
-
"name": "credentials",
|
|
4770
|
-
"required": false,
|
|
4771
|
-
"hasDynamicHelp": false,
|
|
4772
|
-
"multiple": false,
|
|
4773
|
-
"type": "option"
|
|
4774
|
-
},
|
|
4775
|
-
"credentials_file": {
|
|
4776
|
-
"description": "Path to kubeconfig credentials file",
|
|
4777
|
-
"exclusive": [
|
|
4778
|
-
"credentials"
|
|
4779
|
-
],
|
|
4780
|
-
"name": "credentials_file",
|
|
4781
|
-
"required": false,
|
|
4782
|
-
"hasDynamicHelp": false,
|
|
4783
|
-
"multiple": false,
|
|
4784
|
-
"type": "option"
|
|
4785
|
-
},
|
|
4786
4813
|
"description": {
|
|
4787
4814
|
"char": "d",
|
|
4788
|
-
"description": "
|
|
4815
|
+
"description": "Build description",
|
|
4789
4816
|
"name": "description",
|
|
4790
4817
|
"required": false,
|
|
4791
4818
|
"hasDynamicHelp": false,
|
|
4792
4819
|
"multiple": false,
|
|
4793
4820
|
"type": "option"
|
|
4794
4821
|
},
|
|
4795
|
-
"
|
|
4796
|
-
"
|
|
4797
|
-
"
|
|
4798
|
-
"
|
|
4822
|
+
"file": {
|
|
4823
|
+
"char": "f",
|
|
4824
|
+
"description": "Path to zip file to upload",
|
|
4825
|
+
"name": "file",
|
|
4826
|
+
"required": true,
|
|
4799
4827
|
"hasDynamicHelp": false,
|
|
4800
4828
|
"multiple": false,
|
|
4801
4829
|
"type": "option"
|
|
4802
4830
|
},
|
|
4803
4831
|
"name": {
|
|
4804
4832
|
"char": "n",
|
|
4805
|
-
"description": "
|
|
4833
|
+
"description": "Build name",
|
|
4806
4834
|
"name": "name",
|
|
4807
4835
|
"required": true,
|
|
4808
4836
|
"hasDynamicHelp": false,
|
|
@@ -4823,23 +4851,19 @@
|
|
|
4823
4851
|
],
|
|
4824
4852
|
"type": "option"
|
|
4825
4853
|
},
|
|
4826
|
-
"
|
|
4827
|
-
"
|
|
4828
|
-
"
|
|
4854
|
+
"workspace": {
|
|
4855
|
+
"char": "w",
|
|
4856
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
4857
|
+
"name": "workspace",
|
|
4829
4858
|
"required": false,
|
|
4830
|
-
"default": "standard",
|
|
4831
4859
|
"hasDynamicHelp": false,
|
|
4832
4860
|
"multiple": false,
|
|
4833
|
-
"options": [
|
|
4834
|
-
"standard",
|
|
4835
|
-
"run"
|
|
4836
|
-
],
|
|
4837
4861
|
"type": "option"
|
|
4838
4862
|
}
|
|
4839
4863
|
},
|
|
4840
4864
|
"hasDynamicHelp": false,
|
|
4841
4865
|
"hiddenAliases": [],
|
|
4842
|
-
"id": "
|
|
4866
|
+
"id": "static_host:build:create",
|
|
4843
4867
|
"pluginAlias": "@xano/cli",
|
|
4844
4868
|
"pluginName": "@xano/cli",
|
|
4845
4869
|
"pluginType": "core",
|
|
@@ -4849,26 +4873,27 @@
|
|
|
4849
4873
|
"relativePath": [
|
|
4850
4874
|
"dist",
|
|
4851
4875
|
"commands",
|
|
4852
|
-
"
|
|
4853
|
-
"
|
|
4876
|
+
"static_host",
|
|
4877
|
+
"build",
|
|
4854
4878
|
"create",
|
|
4855
4879
|
"index.js"
|
|
4856
4880
|
]
|
|
4857
4881
|
},
|
|
4858
|
-
"
|
|
4882
|
+
"workspace:edit": {
|
|
4859
4883
|
"aliases": [],
|
|
4860
4884
|
"args": {
|
|
4861
|
-
"
|
|
4862
|
-
"description": "
|
|
4863
|
-
"name": "
|
|
4864
|
-
"required":
|
|
4885
|
+
"workspace_id": {
|
|
4886
|
+
"description": "Workspace ID to edit (uses profile workspace if not provided)",
|
|
4887
|
+
"name": "workspace_id",
|
|
4888
|
+
"required": false
|
|
4865
4889
|
}
|
|
4866
4890
|
},
|
|
4867
|
-
"description": "
|
|
4891
|
+
"description": "Edit an existing workspace via the Xano Metadata API",
|
|
4868
4892
|
"examples": [
|
|
4869
|
-
"$ xano
|
|
4870
|
-
"$ xano
|
|
4871
|
-
"$ xano
|
|
4893
|
+
"$ xano workspace edit 123 --name \"new-name\"\nUpdated workspace: new-name (ID: 123)\n",
|
|
4894
|
+
"$ xano workspace edit --name \"updated-workspace\" --description \"Updated description\"\nUpdated workspace: updated-workspace (ID: 123)\n Description: Updated description\n",
|
|
4895
|
+
"$ xano workspace edit 123 --swagger --require-token\nUpdated workspace: my-workspace (ID: 123)\n Swagger: enabled\n Require Token: true\n",
|
|
4896
|
+
"$ xano workspace edit 123 --no-swagger -o json\n{\n \"id\": 123,\n \"name\": \"my-workspace\",\n \"swagger\": false\n}\n"
|
|
4872
4897
|
],
|
|
4873
4898
|
"flags": {
|
|
4874
4899
|
"profile": {
|
|
@@ -4890,13 +4915,23 @@
|
|
|
4890
4915
|
"allowNo": false,
|
|
4891
4916
|
"type": "boolean"
|
|
4892
4917
|
},
|
|
4893
|
-
"
|
|
4894
|
-
"char": "
|
|
4895
|
-
"description": "
|
|
4896
|
-
"name": "
|
|
4918
|
+
"description": {
|
|
4919
|
+
"char": "d",
|
|
4920
|
+
"description": "New description for the workspace",
|
|
4921
|
+
"name": "description",
|
|
4897
4922
|
"required": false,
|
|
4898
|
-
"
|
|
4899
|
-
"
|
|
4923
|
+
"hasDynamicHelp": false,
|
|
4924
|
+
"multiple": false,
|
|
4925
|
+
"type": "option"
|
|
4926
|
+
},
|
|
4927
|
+
"name": {
|
|
4928
|
+
"char": "n",
|
|
4929
|
+
"description": "New name for the workspace",
|
|
4930
|
+
"name": "name",
|
|
4931
|
+
"required": false,
|
|
4932
|
+
"hasDynamicHelp": false,
|
|
4933
|
+
"multiple": false,
|
|
4934
|
+
"type": "option"
|
|
4900
4935
|
},
|
|
4901
4936
|
"output": {
|
|
4902
4937
|
"char": "o",
|
|
@@ -4911,11 +4946,25 @@
|
|
|
4911
4946
|
"json"
|
|
4912
4947
|
],
|
|
4913
4948
|
"type": "option"
|
|
4949
|
+
},
|
|
4950
|
+
"require-token": {
|
|
4951
|
+
"description": "Whether to require a token for documentation access",
|
|
4952
|
+
"name": "require-token",
|
|
4953
|
+
"required": false,
|
|
4954
|
+
"allowNo": true,
|
|
4955
|
+
"type": "boolean"
|
|
4956
|
+
},
|
|
4957
|
+
"swagger": {
|
|
4958
|
+
"description": "Enable or disable swagger documentation",
|
|
4959
|
+
"name": "swagger",
|
|
4960
|
+
"required": false,
|
|
4961
|
+
"allowNo": true,
|
|
4962
|
+
"type": "boolean"
|
|
4914
4963
|
}
|
|
4915
4964
|
},
|
|
4916
4965
|
"hasDynamicHelp": false,
|
|
4917
4966
|
"hiddenAliases": [],
|
|
4918
|
-
"id": "
|
|
4967
|
+
"id": "workspace:edit",
|
|
4919
4968
|
"pluginAlias": "@xano/cli",
|
|
4920
4969
|
"pluginName": "@xano/cli",
|
|
4921
4970
|
"pluginType": "core",
|
|
@@ -4925,34 +4974,31 @@
|
|
|
4925
4974
|
"relativePath": [
|
|
4926
4975
|
"dist",
|
|
4927
4976
|
"commands",
|
|
4928
|
-
"
|
|
4929
|
-
"
|
|
4930
|
-
"delete",
|
|
4977
|
+
"workspace",
|
|
4978
|
+
"edit",
|
|
4931
4979
|
"index.js"
|
|
4932
4980
|
]
|
|
4933
4981
|
},
|
|
4934
|
-
"
|
|
4982
|
+
"static_host:build:get": {
|
|
4935
4983
|
"aliases": [],
|
|
4936
4984
|
"args": {
|
|
4937
|
-
"
|
|
4938
|
-
"description": "
|
|
4939
|
-
"name": "
|
|
4985
|
+
"build_id": {
|
|
4986
|
+
"description": "Build ID",
|
|
4987
|
+
"name": "build_id",
|
|
4988
|
+
"required": true
|
|
4989
|
+
},
|
|
4990
|
+
"static_host": {
|
|
4991
|
+
"description": "Static Host name",
|
|
4992
|
+
"name": "static_host",
|
|
4940
4993
|
"required": true
|
|
4941
4994
|
}
|
|
4942
4995
|
},
|
|
4943
|
-
"description": "
|
|
4996
|
+
"description": "Get details of a specific build for a static host",
|
|
4944
4997
|
"examples": [
|
|
4945
|
-
"$ xano
|
|
4946
|
-
"$ xano
|
|
4947
|
-
"$ xano
|
|
4948
|
-
"$ xano
|
|
4949
|
-
"$ xano workspace push ./output -w 40\nPushed 15 documents from ./output\n",
|
|
4950
|
-
"$ xano workspace push ./backup --profile production\nPushed 58 documents from ./backup\n",
|
|
4951
|
-
"$ xano workspace push ./my-workspace -b dev\nPushed 42 documents from ./my-workspace\n",
|
|
4952
|
-
"$ xano workspace push ./my-functions --partial\nPush some files without a workspace block (implies --no-delete)\n",
|
|
4953
|
-
"$ xano workspace push ./my-workspace --no-records\nPush schema only, skip importing table records\n",
|
|
4954
|
-
"$ xano workspace push ./my-workspace --no-env\nPush without overwriting environment variables\n",
|
|
4955
|
-
"$ xano workspace push ./my-workspace --truncate\nTruncate all table records before importing\n"
|
|
4998
|
+
"$ xano static_host:build:get default 52\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
4999
|
+
"$ xano static_host:build:get default 52 -w 40\nBuild Details:\nID: 52\nName: v1.0.0\nStatus: completed\n",
|
|
5000
|
+
"$ xano static_host:build:get myhost 123 --profile production\nBuild Details:\nID: 123\nName: production-build\n",
|
|
5001
|
+
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
4956
5002
|
],
|
|
4957
5003
|
"flags": {
|
|
4958
5004
|
"profile": {
|
|
@@ -4974,71 +5020,20 @@
|
|
|
4974
5020
|
"allowNo": false,
|
|
4975
5021
|
"type": "boolean"
|
|
4976
5022
|
},
|
|
4977
|
-
"
|
|
4978
|
-
"char": "
|
|
4979
|
-
"description": "
|
|
4980
|
-
"name": "
|
|
5023
|
+
"output": {
|
|
5024
|
+
"char": "o",
|
|
5025
|
+
"description": "Output format",
|
|
5026
|
+
"name": "output",
|
|
4981
5027
|
"required": false,
|
|
5028
|
+
"default": "summary",
|
|
4982
5029
|
"hasDynamicHelp": false,
|
|
4983
5030
|
"multiple": false,
|
|
5031
|
+
"options": [
|
|
5032
|
+
"summary",
|
|
5033
|
+
"json"
|
|
5034
|
+
],
|
|
4984
5035
|
"type": "option"
|
|
4985
5036
|
},
|
|
4986
|
-
"delete": {
|
|
4987
|
-
"description": "Delete workspace objects not included in the push",
|
|
4988
|
-
"name": "delete",
|
|
4989
|
-
"required": false,
|
|
4990
|
-
"allowNo": false,
|
|
4991
|
-
"type": "boolean"
|
|
4992
|
-
},
|
|
4993
|
-
"dry-run": {
|
|
4994
|
-
"description": "Show preview of changes without pushing (exit after preview)",
|
|
4995
|
-
"name": "dry-run",
|
|
4996
|
-
"required": false,
|
|
4997
|
-
"allowNo": false,
|
|
4998
|
-
"type": "boolean"
|
|
4999
|
-
},
|
|
5000
|
-
"env": {
|
|
5001
|
-
"description": "Include environment variables in import",
|
|
5002
|
-
"name": "env",
|
|
5003
|
-
"required": false,
|
|
5004
|
-
"allowNo": false,
|
|
5005
|
-
"type": "boolean"
|
|
5006
|
-
},
|
|
5007
|
-
"partial": {
|
|
5008
|
-
"description": "Partial push — workspace block is not required, existing objects are kept (implies --no-delete)",
|
|
5009
|
-
"name": "partial",
|
|
5010
|
-
"required": false,
|
|
5011
|
-
"allowNo": false,
|
|
5012
|
-
"type": "boolean"
|
|
5013
|
-
},
|
|
5014
|
-
"records": {
|
|
5015
|
-
"description": "Include records in import",
|
|
5016
|
-
"name": "records",
|
|
5017
|
-
"required": false,
|
|
5018
|
-
"allowNo": false,
|
|
5019
|
-
"type": "boolean"
|
|
5020
|
-
},
|
|
5021
|
-
"sync-guids": {
|
|
5022
|
-
"description": "Write server-assigned GUIDs back to local files (use --no-sync-guids to skip)",
|
|
5023
|
-
"name": "sync-guids",
|
|
5024
|
-
"required": false,
|
|
5025
|
-
"allowNo": true,
|
|
5026
|
-
"type": "boolean"
|
|
5027
|
-
},
|
|
5028
|
-
"transaction": {
|
|
5029
|
-
"description": "Wrap import in a database transaction (use --no-transaction for debugging purposes)",
|
|
5030
|
-
"name": "transaction",
|
|
5031
|
-
"required": false,
|
|
5032
|
-
"allowNo": true,
|
|
5033
|
-
"type": "boolean"
|
|
5034
|
-
},
|
|
5035
|
-
"truncate": {
|
|
5036
|
-
"description": "Truncate all table records before importing",
|
|
5037
|
-
"name": "truncate",
|
|
5038
|
-
"required": false,
|
|
5039
|
-
"allowNo": false,
|
|
5040
|
-
"type": "boolean"
|
|
5041
|
-
},
|
|
5042
5037
|
"workspace": {
|
|
5043
5038
|
"char": "w",
|
|
5044
5039
|
"description": "Workspace ID (optional if set in profile)",
|
|
@@ -5047,18 +5042,11 @@
|
|
|
5047
5042
|
"hasDynamicHelp": false,
|
|
5048
5043
|
"multiple": false,
|
|
5049
5044
|
"type": "option"
|
|
5050
|
-
},
|
|
5051
|
-
"force": {
|
|
5052
|
-
"description": "Skip preview and confirmation prompt (for CI/CD pipelines)",
|
|
5053
|
-
"name": "force",
|
|
5054
|
-
"required": false,
|
|
5055
|
-
"allowNo": false,
|
|
5056
|
-
"type": "boolean"
|
|
5057
5045
|
}
|
|
5058
5046
|
},
|
|
5059
5047
|
"hasDynamicHelp": false,
|
|
5060
5048
|
"hiddenAliases": [],
|
|
5061
|
-
"id": "
|
|
5049
|
+
"id": "static_host:build:get",
|
|
5062
5050
|
"pluginAlias": "@xano/cli",
|
|
5063
5051
|
"pluginName": "@xano/cli",
|
|
5064
5052
|
"pluginType": "core",
|
|
@@ -5068,24 +5056,27 @@
|
|
|
5068
5056
|
"relativePath": [
|
|
5069
5057
|
"dist",
|
|
5070
5058
|
"commands",
|
|
5071
|
-
"
|
|
5072
|
-
"
|
|
5059
|
+
"static_host",
|
|
5060
|
+
"build",
|
|
5061
|
+
"get",
|
|
5073
5062
|
"index.js"
|
|
5074
5063
|
]
|
|
5075
5064
|
},
|
|
5076
|
-
"
|
|
5065
|
+
"static_host:build:list": {
|
|
5077
5066
|
"aliases": [],
|
|
5078
5067
|
"args": {
|
|
5079
|
-
"
|
|
5080
|
-
"description": "
|
|
5081
|
-
"name": "
|
|
5068
|
+
"static_host": {
|
|
5069
|
+
"description": "Static Host name",
|
|
5070
|
+
"name": "static_host",
|
|
5082
5071
|
"required": true
|
|
5083
5072
|
}
|
|
5084
5073
|
},
|
|
5085
|
-
"description": "
|
|
5074
|
+
"description": "List all builds for a static host",
|
|
5086
5075
|
"examples": [
|
|
5087
|
-
"$ xano
|
|
5088
|
-
"$ xano
|
|
5076
|
+
"$ 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",
|
|
5077
|
+
"$ xano static_host:build:list myhost --profile production\nAvailable builds:\n - production (ID: 1) - Status: completed\n - staging (ID: 2) - Status: completed\n",
|
|
5078
|
+
"$ 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",
|
|
5079
|
+
"$ 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"
|
|
5089
5080
|
],
|
|
5090
5081
|
"flags": {
|
|
5091
5082
|
"profile": {
|
|
@@ -5120,11 +5111,38 @@
|
|
|
5120
5111
|
"json"
|
|
5121
5112
|
],
|
|
5122
5113
|
"type": "option"
|
|
5114
|
+
},
|
|
5115
|
+
"page": {
|
|
5116
|
+
"description": "Page number for pagination",
|
|
5117
|
+
"name": "page",
|
|
5118
|
+
"required": false,
|
|
5119
|
+
"default": 1,
|
|
5120
|
+
"hasDynamicHelp": false,
|
|
5121
|
+
"multiple": false,
|
|
5122
|
+
"type": "option"
|
|
5123
|
+
},
|
|
5124
|
+
"per_page": {
|
|
5125
|
+
"description": "Number of results per page",
|
|
5126
|
+
"name": "per_page",
|
|
5127
|
+
"required": false,
|
|
5128
|
+
"default": 50,
|
|
5129
|
+
"hasDynamicHelp": false,
|
|
5130
|
+
"multiple": false,
|
|
5131
|
+
"type": "option"
|
|
5132
|
+
},
|
|
5133
|
+
"workspace": {
|
|
5134
|
+
"char": "w",
|
|
5135
|
+
"description": "Workspace ID (optional if set in profile)",
|
|
5136
|
+
"name": "workspace",
|
|
5137
|
+
"required": false,
|
|
5138
|
+
"hasDynamicHelp": false,
|
|
5139
|
+
"multiple": false,
|
|
5140
|
+
"type": "option"
|
|
5123
5141
|
}
|
|
5124
5142
|
},
|
|
5125
5143
|
"hasDynamicHelp": false,
|
|
5126
5144
|
"hiddenAliases": [],
|
|
5127
|
-
"id": "
|
|
5145
|
+
"id": "static_host:build:list",
|
|
5128
5146
|
"pluginAlias": "@xano/cli",
|
|
5129
5147
|
"pluginName": "@xano/cli",
|
|
5130
5148
|
"pluginType": "core",
|
|
@@ -5134,9 +5152,9 @@
|
|
|
5134
5152
|
"relativePath": [
|
|
5135
5153
|
"dist",
|
|
5136
5154
|
"commands",
|
|
5137
|
-
"
|
|
5138
|
-
"
|
|
5139
|
-
"
|
|
5155
|
+
"static_host",
|
|
5156
|
+
"build",
|
|
5157
|
+
"list",
|
|
5140
5158
|
"index.js"
|
|
5141
5159
|
]
|
|
5142
5160
|
},
|
|
@@ -5226,19 +5244,20 @@
|
|
|
5226
5244
|
"index.js"
|
|
5227
5245
|
]
|
|
5228
5246
|
},
|
|
5229
|
-
"tenant:
|
|
5247
|
+
"tenant:backup:delete": {
|
|
5230
5248
|
"aliases": [],
|
|
5231
5249
|
"args": {
|
|
5232
|
-
"
|
|
5233
|
-
"description": "
|
|
5234
|
-
"name": "
|
|
5250
|
+
"tenant_name": {
|
|
5251
|
+
"description": "Tenant name that owns the backup",
|
|
5252
|
+
"name": "tenant_name",
|
|
5235
5253
|
"required": true
|
|
5236
5254
|
}
|
|
5237
5255
|
},
|
|
5238
|
-
"description": "
|
|
5256
|
+
"description": "Delete a tenant backup permanently. This action cannot be undone.",
|
|
5239
5257
|
"examples": [
|
|
5240
|
-
"$ xano tenant
|
|
5241
|
-
"$ xano tenant
|
|
5258
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to delete backup #10? This action cannot be undone. (y/N) y\nDeleted backup #10\n",
|
|
5259
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 --force",
|
|
5260
|
+
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5242
5261
|
],
|
|
5243
5262
|
"flags": {
|
|
5244
5263
|
"profile": {
|
|
@@ -5260,31 +5279,21 @@
|
|
|
5260
5279
|
"allowNo": false,
|
|
5261
5280
|
"type": "boolean"
|
|
5262
5281
|
},
|
|
5263
|
-
"
|
|
5264
|
-
"
|
|
5265
|
-
"
|
|
5266
|
-
"name": "description",
|
|
5267
|
-
"required": true,
|
|
5268
|
-
"hasDynamicHelp": false,
|
|
5269
|
-
"multiple": false,
|
|
5270
|
-
"type": "option"
|
|
5271
|
-
},
|
|
5272
|
-
"domain": {
|
|
5273
|
-
"description": "Custom domain for the cluster",
|
|
5274
|
-
"name": "domain",
|
|
5282
|
+
"backup_id": {
|
|
5283
|
+
"description": "Backup ID to delete",
|
|
5284
|
+
"name": "backup_id",
|
|
5275
5285
|
"required": true,
|
|
5276
5286
|
"hasDynamicHelp": false,
|
|
5277
5287
|
"multiple": false,
|
|
5278
5288
|
"type": "option"
|
|
5279
5289
|
},
|
|
5280
|
-
"
|
|
5281
|
-
"char": "
|
|
5282
|
-
"description": "
|
|
5283
|
-
"name": "
|
|
5284
|
-
"required":
|
|
5285
|
-
"
|
|
5286
|
-
"
|
|
5287
|
-
"type": "option"
|
|
5290
|
+
"force": {
|
|
5291
|
+
"char": "f",
|
|
5292
|
+
"description": "Skip confirmation prompt",
|
|
5293
|
+
"name": "force",
|
|
5294
|
+
"required": false,
|
|
5295
|
+
"allowNo": false,
|
|
5296
|
+
"type": "boolean"
|
|
5288
5297
|
},
|
|
5289
5298
|
"output": {
|
|
5290
5299
|
"char": "o",
|
|
@@ -5300,22 +5309,19 @@
|
|
|
5300
5309
|
],
|
|
5301
5310
|
"type": "option"
|
|
5302
5311
|
},
|
|
5303
|
-
"
|
|
5304
|
-
"
|
|
5305
|
-
"
|
|
5306
|
-
"
|
|
5312
|
+
"workspace": {
|
|
5313
|
+
"char": "w",
|
|
5314
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5315
|
+
"name": "workspace",
|
|
5316
|
+
"required": false,
|
|
5307
5317
|
"hasDynamicHelp": false,
|
|
5308
5318
|
"multiple": false,
|
|
5309
|
-
"options": [
|
|
5310
|
-
"standard",
|
|
5311
|
-
"run"
|
|
5312
|
-
],
|
|
5313
5319
|
"type": "option"
|
|
5314
5320
|
}
|
|
5315
5321
|
},
|
|
5316
5322
|
"hasDynamicHelp": false,
|
|
5317
5323
|
"hiddenAliases": [],
|
|
5318
|
-
"id": "tenant:
|
|
5324
|
+
"id": "tenant:backup:delete",
|
|
5319
5325
|
"pluginAlias": "@xano/cli",
|
|
5320
5326
|
"pluginName": "@xano/cli",
|
|
5321
5327
|
"pluginType": "core",
|
|
@@ -5326,25 +5332,24 @@
|
|
|
5326
5332
|
"dist",
|
|
5327
5333
|
"commands",
|
|
5328
5334
|
"tenant",
|
|
5329
|
-
"
|
|
5330
|
-
"
|
|
5335
|
+
"backup",
|
|
5336
|
+
"delete",
|
|
5331
5337
|
"index.js"
|
|
5332
5338
|
]
|
|
5333
5339
|
},
|
|
5334
|
-
"tenant:backup:
|
|
5340
|
+
"tenant:backup:import": {
|
|
5335
5341
|
"aliases": [],
|
|
5336
5342
|
"args": {
|
|
5337
5343
|
"tenant_name": {
|
|
5338
|
-
"description": "Tenant name
|
|
5344
|
+
"description": "Tenant name to import backup into",
|
|
5339
5345
|
"name": "tenant_name",
|
|
5340
5346
|
"required": true
|
|
5341
5347
|
}
|
|
5342
5348
|
},
|
|
5343
|
-
"description": "
|
|
5349
|
+
"description": "Import a backup file into a tenant",
|
|
5344
5350
|
"examples": [
|
|
5345
|
-
"$ xano tenant backup
|
|
5346
|
-
"$ xano tenant backup
|
|
5347
|
-
"$ xano tenant backup delete t1234-abcd-xyz1 --backup_id 10 -o json"
|
|
5351
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz\nImported backup as #15 for tenant t1234-abcd-xyz1\n",
|
|
5352
|
+
"$ xano tenant backup import t1234-abcd-xyz1 --file ./my-backup.tar.gz --description \"Restored from production\" -o json"
|
|
5348
5353
|
],
|
|
5349
5354
|
"flags": {
|
|
5350
5355
|
"profile": {
|
|
@@ -5366,21 +5371,24 @@
|
|
|
5366
5371
|
"allowNo": false,
|
|
5367
5372
|
"type": "boolean"
|
|
5368
5373
|
},
|
|
5369
|
-
"
|
|
5370
|
-
"
|
|
5371
|
-
"
|
|
5372
|
-
"
|
|
5374
|
+
"description": {
|
|
5375
|
+
"char": "d",
|
|
5376
|
+
"description": "Backup description",
|
|
5377
|
+
"name": "description",
|
|
5378
|
+
"required": false,
|
|
5379
|
+
"default": "",
|
|
5373
5380
|
"hasDynamicHelp": false,
|
|
5374
5381
|
"multiple": false,
|
|
5375
5382
|
"type": "option"
|
|
5376
5383
|
},
|
|
5377
|
-
"
|
|
5384
|
+
"file": {
|
|
5378
5385
|
"char": "f",
|
|
5379
|
-
"description": "
|
|
5380
|
-
"name": "
|
|
5381
|
-
"required":
|
|
5382
|
-
"
|
|
5383
|
-
"
|
|
5386
|
+
"description": "Path to the backup file (.tar.gz)",
|
|
5387
|
+
"name": "file",
|
|
5388
|
+
"required": true,
|
|
5389
|
+
"hasDynamicHelp": false,
|
|
5390
|
+
"multiple": false,
|
|
5391
|
+
"type": "option"
|
|
5384
5392
|
},
|
|
5385
5393
|
"output": {
|
|
5386
5394
|
"char": "o",
|
|
@@ -5408,7 +5416,7 @@
|
|
|
5408
5416
|
},
|
|
5409
5417
|
"hasDynamicHelp": false,
|
|
5410
5418
|
"hiddenAliases": [],
|
|
5411
|
-
"id": "tenant:backup:
|
|
5419
|
+
"id": "tenant:backup:import",
|
|
5412
5420
|
"pluginAlias": "@xano/cli",
|
|
5413
5421
|
"pluginName": "@xano/cli",
|
|
5414
5422
|
"pluginType": "core",
|
|
@@ -5420,7 +5428,7 @@
|
|
|
5420
5428
|
"commands",
|
|
5421
5429
|
"tenant",
|
|
5422
5430
|
"backup",
|
|
5423
|
-
"
|
|
5431
|
+
"import",
|
|
5424
5432
|
"index.js"
|
|
5425
5433
|
]
|
|
5426
5434
|
},
|
|
@@ -5517,13 +5525,19 @@
|
|
|
5517
5525
|
"index.js"
|
|
5518
5526
|
]
|
|
5519
5527
|
},
|
|
5520
|
-
"tenant:
|
|
5528
|
+
"tenant:backup:list": {
|
|
5521
5529
|
"aliases": [],
|
|
5522
|
-
"args": {
|
|
5523
|
-
|
|
5530
|
+
"args": {
|
|
5531
|
+
"tenant_name": {
|
|
5532
|
+
"description": "Tenant name to list backups for",
|
|
5533
|
+
"name": "tenant_name",
|
|
5534
|
+
"required": true
|
|
5535
|
+
}
|
|
5536
|
+
},
|
|
5537
|
+
"description": "List backups for a tenant",
|
|
5524
5538
|
"examples": [
|
|
5525
|
-
"$ xano tenant
|
|
5526
|
-
"$ xano tenant
|
|
5539
|
+
"$ xano tenant backup list t1234-abcd-xyz1\nBackups for tenant t1234-abcd-xyz1:\n - #1 - Pre-deploy backup (2024-01-15)\n - #2 - Daily backup (2024-01-16)\n",
|
|
5540
|
+
"$ xano tenant backup list t1234-abcd-xyz1 -o json"
|
|
5527
5541
|
],
|
|
5528
5542
|
"flags": {
|
|
5529
5543
|
"profile": {
|
|
@@ -5558,11 +5572,29 @@
|
|
|
5558
5572
|
"json"
|
|
5559
5573
|
],
|
|
5560
5574
|
"type": "option"
|
|
5575
|
+
},
|
|
5576
|
+
"page": {
|
|
5577
|
+
"description": "Page number for pagination",
|
|
5578
|
+
"name": "page",
|
|
5579
|
+
"required": false,
|
|
5580
|
+
"default": 1,
|
|
5581
|
+
"hasDynamicHelp": false,
|
|
5582
|
+
"multiple": false,
|
|
5583
|
+
"type": "option"
|
|
5584
|
+
},
|
|
5585
|
+
"workspace": {
|
|
5586
|
+
"char": "w",
|
|
5587
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5588
|
+
"name": "workspace",
|
|
5589
|
+
"required": false,
|
|
5590
|
+
"hasDynamicHelp": false,
|
|
5591
|
+
"multiple": false,
|
|
5592
|
+
"type": "option"
|
|
5561
5593
|
}
|
|
5562
5594
|
},
|
|
5563
5595
|
"hasDynamicHelp": false,
|
|
5564
5596
|
"hiddenAliases": [],
|
|
5565
|
-
"id": "tenant:
|
|
5597
|
+
"id": "tenant:backup:list",
|
|
5566
5598
|
"pluginAlias": "@xano/cli",
|
|
5567
5599
|
"pluginName": "@xano/cli",
|
|
5568
5600
|
"pluginType": "core",
|
|
@@ -5573,24 +5605,24 @@
|
|
|
5573
5605
|
"dist",
|
|
5574
5606
|
"commands",
|
|
5575
5607
|
"tenant",
|
|
5576
|
-
"
|
|
5608
|
+
"backup",
|
|
5577
5609
|
"list",
|
|
5578
5610
|
"index.js"
|
|
5579
5611
|
]
|
|
5580
5612
|
},
|
|
5581
|
-
"tenant:backup:
|
|
5613
|
+
"tenant:backup:restore": {
|
|
5582
5614
|
"aliases": [],
|
|
5583
5615
|
"args": {
|
|
5584
5616
|
"tenant_name": {
|
|
5585
|
-
"description": "Tenant name to
|
|
5617
|
+
"description": "Tenant name to restore",
|
|
5586
5618
|
"name": "tenant_name",
|
|
5587
5619
|
"required": true
|
|
5588
5620
|
}
|
|
5589
5621
|
},
|
|
5590
|
-
"description": "
|
|
5622
|
+
"description": "Restore a tenant from a backup. This replaces the current tenant data.",
|
|
5591
5623
|
"examples": [
|
|
5592
|
-
"$ xano tenant backup
|
|
5593
|
-
"$ xano tenant backup
|
|
5624
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10\nAre you sure you want to restore tenant t1234-abcd-xyz1 from backup 10? This will replace current data. (y/N) y\nRestored tenant t1234-abcd-xyz1 from backup #10\n",
|
|
5625
|
+
"$ xano tenant backup restore t1234-abcd-xyz1 --backup_id 10 --force -o json"
|
|
5594
5626
|
],
|
|
5595
5627
|
"flags": {
|
|
5596
5628
|
"profile": {
|
|
@@ -5612,24 +5644,21 @@
|
|
|
5612
5644
|
"allowNo": false,
|
|
5613
5645
|
"type": "boolean"
|
|
5614
5646
|
},
|
|
5615
|
-
"
|
|
5616
|
-
"
|
|
5617
|
-
"
|
|
5618
|
-
"
|
|
5619
|
-
"required": false,
|
|
5620
|
-
"default": "",
|
|
5647
|
+
"backup_id": {
|
|
5648
|
+
"description": "Backup ID to restore from",
|
|
5649
|
+
"name": "backup_id",
|
|
5650
|
+
"required": true,
|
|
5621
5651
|
"hasDynamicHelp": false,
|
|
5622
5652
|
"multiple": false,
|
|
5623
5653
|
"type": "option"
|
|
5624
5654
|
},
|
|
5625
|
-
"
|
|
5655
|
+
"force": {
|
|
5626
5656
|
"char": "f",
|
|
5627
|
-
"description": "
|
|
5628
|
-
"name": "
|
|
5629
|
-
"required":
|
|
5630
|
-
"
|
|
5631
|
-
"
|
|
5632
|
-
"type": "option"
|
|
5657
|
+
"description": "Skip confirmation prompt",
|
|
5658
|
+
"name": "force",
|
|
5659
|
+
"required": false,
|
|
5660
|
+
"allowNo": false,
|
|
5661
|
+
"type": "boolean"
|
|
5633
5662
|
},
|
|
5634
5663
|
"output": {
|
|
5635
5664
|
"char": "o",
|
|
@@ -5657,7 +5686,7 @@
|
|
|
5657
5686
|
},
|
|
5658
5687
|
"hasDynamicHelp": false,
|
|
5659
5688
|
"hiddenAliases": [],
|
|
5660
|
-
"id": "tenant:backup:
|
|
5689
|
+
"id": "tenant:backup:restore",
|
|
5661
5690
|
"pluginAlias": "@xano/cli",
|
|
5662
5691
|
"pluginName": "@xano/cli",
|
|
5663
5692
|
"pluginType": "core",
|
|
@@ -5669,23 +5698,17 @@
|
|
|
5669
5698
|
"commands",
|
|
5670
5699
|
"tenant",
|
|
5671
5700
|
"backup",
|
|
5672
|
-
"
|
|
5701
|
+
"restore",
|
|
5673
5702
|
"index.js"
|
|
5674
5703
|
]
|
|
5675
5704
|
},
|
|
5676
|
-
"tenant:
|
|
5705
|
+
"tenant:cluster:create": {
|
|
5677
5706
|
"aliases": [],
|
|
5678
|
-
"args": {
|
|
5679
|
-
|
|
5680
|
-
"description": "Tenant name to list backups for",
|
|
5681
|
-
"name": "tenant_name",
|
|
5682
|
-
"required": true
|
|
5683
|
-
}
|
|
5684
|
-
},
|
|
5685
|
-
"description": "List backups for a tenant",
|
|
5707
|
+
"args": {},
|
|
5708
|
+
"description": "Create a new tenant cluster",
|
|
5686
5709
|
"examples": [
|
|
5687
|
-
"$ xano tenant
|
|
5688
|
-
"$ xano tenant
|
|
5710
|
+
"$ xano tenant cluster create --name \"us-east-1\" --credentials_file ./kubeconfig.yaml\nCreated tenant cluster: us-east-1 (standard) - ID: 3\n",
|
|
5711
|
+
"$ xano tenant cluster create --name \"eu-west-1\" --credentials \"...\" --type run --description \"EU run cluster\" -o json"
|
|
5689
5712
|
],
|
|
5690
5713
|
"flags": {
|
|
5691
5714
|
"profile": {
|
|
@@ -5707,6 +5730,54 @@
|
|
|
5707
5730
|
"allowNo": false,
|
|
5708
5731
|
"type": "boolean"
|
|
5709
5732
|
},
|
|
5733
|
+
"credentials": {
|
|
5734
|
+
"description": "Kubeconfig credentials (raw text)",
|
|
5735
|
+
"exclusive": [
|
|
5736
|
+
"credentials_file"
|
|
5737
|
+
],
|
|
5738
|
+
"name": "credentials",
|
|
5739
|
+
"required": false,
|
|
5740
|
+
"hasDynamicHelp": false,
|
|
5741
|
+
"multiple": false,
|
|
5742
|
+
"type": "option"
|
|
5743
|
+
},
|
|
5744
|
+
"credentials_file": {
|
|
5745
|
+
"description": "Path to kubeconfig credentials file",
|
|
5746
|
+
"exclusive": [
|
|
5747
|
+
"credentials"
|
|
5748
|
+
],
|
|
5749
|
+
"name": "credentials_file",
|
|
5750
|
+
"required": false,
|
|
5751
|
+
"hasDynamicHelp": false,
|
|
5752
|
+
"multiple": false,
|
|
5753
|
+
"type": "option"
|
|
5754
|
+
},
|
|
5755
|
+
"description": {
|
|
5756
|
+
"char": "d",
|
|
5757
|
+
"description": "Cluster description",
|
|
5758
|
+
"name": "description",
|
|
5759
|
+
"required": false,
|
|
5760
|
+
"hasDynamicHelp": false,
|
|
5761
|
+
"multiple": false,
|
|
5762
|
+
"type": "option"
|
|
5763
|
+
},
|
|
5764
|
+
"domain": {
|
|
5765
|
+
"description": "Custom domain for the cluster",
|
|
5766
|
+
"name": "domain",
|
|
5767
|
+
"required": false,
|
|
5768
|
+
"hasDynamicHelp": false,
|
|
5769
|
+
"multiple": false,
|
|
5770
|
+
"type": "option"
|
|
5771
|
+
},
|
|
5772
|
+
"name": {
|
|
5773
|
+
"char": "n",
|
|
5774
|
+
"description": "Cluster name",
|
|
5775
|
+
"name": "name",
|
|
5776
|
+
"required": true,
|
|
5777
|
+
"hasDynamicHelp": false,
|
|
5778
|
+
"multiple": false,
|
|
5779
|
+
"type": "option"
|
|
5780
|
+
},
|
|
5710
5781
|
"output": {
|
|
5711
5782
|
"char": "o",
|
|
5712
5783
|
"description": "Output format",
|
|
@@ -5721,28 +5792,23 @@
|
|
|
5721
5792
|
],
|
|
5722
5793
|
"type": "option"
|
|
5723
5794
|
},
|
|
5724
|
-
"
|
|
5725
|
-
"description": "
|
|
5726
|
-
"name": "
|
|
5727
|
-
"required": false,
|
|
5728
|
-
"default": 1,
|
|
5729
|
-
"hasDynamicHelp": false,
|
|
5730
|
-
"multiple": false,
|
|
5731
|
-
"type": "option"
|
|
5732
|
-
},
|
|
5733
|
-
"workspace": {
|
|
5734
|
-
"char": "w",
|
|
5735
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5736
|
-
"name": "workspace",
|
|
5795
|
+
"type": {
|
|
5796
|
+
"description": "Cluster type",
|
|
5797
|
+
"name": "type",
|
|
5737
5798
|
"required": false,
|
|
5799
|
+
"default": "standard",
|
|
5738
5800
|
"hasDynamicHelp": false,
|
|
5739
5801
|
"multiple": false,
|
|
5802
|
+
"options": [
|
|
5803
|
+
"standard",
|
|
5804
|
+
"run"
|
|
5805
|
+
],
|
|
5740
5806
|
"type": "option"
|
|
5741
5807
|
}
|
|
5742
5808
|
},
|
|
5743
5809
|
"hasDynamicHelp": false,
|
|
5744
5810
|
"hiddenAliases": [],
|
|
5745
|
-
"id": "tenant:
|
|
5811
|
+
"id": "tenant:cluster:create",
|
|
5746
5812
|
"pluginAlias": "@xano/cli",
|
|
5747
5813
|
"pluginName": "@xano/cli",
|
|
5748
5814
|
"pluginType": "core",
|
|
@@ -5753,24 +5819,25 @@
|
|
|
5753
5819
|
"dist",
|
|
5754
5820
|
"commands",
|
|
5755
5821
|
"tenant",
|
|
5756
|
-
"
|
|
5757
|
-
"
|
|
5822
|
+
"cluster",
|
|
5823
|
+
"create",
|
|
5758
5824
|
"index.js"
|
|
5759
5825
|
]
|
|
5760
5826
|
},
|
|
5761
|
-
"tenant:
|
|
5827
|
+
"tenant:cluster:delete": {
|
|
5762
5828
|
"aliases": [],
|
|
5763
5829
|
"args": {
|
|
5764
|
-
"
|
|
5765
|
-
"description": "
|
|
5766
|
-
"name": "
|
|
5830
|
+
"cluster_id": {
|
|
5831
|
+
"description": "Cluster ID to delete",
|
|
5832
|
+
"name": "cluster_id",
|
|
5767
5833
|
"required": true
|
|
5768
5834
|
}
|
|
5769
5835
|
},
|
|
5770
|
-
"description": "
|
|
5836
|
+
"description": "Delete a tenant cluster. This action cannot be undone.",
|
|
5771
5837
|
"examples": [
|
|
5772
|
-
"$ xano tenant
|
|
5773
|
-
"$ xano tenant
|
|
5838
|
+
"$ xano tenant cluster delete 3\nAre you sure you want to delete tenant cluster 3? This action cannot be undone. (y/N) y\nTenant cluster 3 deleted successfully\n",
|
|
5839
|
+
"$ xano tenant cluster delete 3 --force\nTenant cluster 3 deleted successfully\n",
|
|
5840
|
+
"$ xano tenant cluster delete 3 -f -o json"
|
|
5774
5841
|
],
|
|
5775
5842
|
"flags": {
|
|
5776
5843
|
"profile": {
|
|
@@ -5788,17 +5855,9 @@
|
|
|
5788
5855
|
"description": "Show detailed request/response information",
|
|
5789
5856
|
"env": "XANO_VERBOSE",
|
|
5790
5857
|
"name": "verbose",
|
|
5791
|
-
"required": false,
|
|
5792
|
-
"allowNo": false,
|
|
5793
|
-
"type": "boolean"
|
|
5794
|
-
},
|
|
5795
|
-
"backup_id": {
|
|
5796
|
-
"description": "Backup ID to restore from",
|
|
5797
|
-
"name": "backup_id",
|
|
5798
|
-
"required": true,
|
|
5799
|
-
"hasDynamicHelp": false,
|
|
5800
|
-
"multiple": false,
|
|
5801
|
-
"type": "option"
|
|
5858
|
+
"required": false,
|
|
5859
|
+
"allowNo": false,
|
|
5860
|
+
"type": "boolean"
|
|
5802
5861
|
},
|
|
5803
5862
|
"force": {
|
|
5804
5863
|
"char": "f",
|
|
@@ -5821,20 +5880,11 @@
|
|
|
5821
5880
|
"json"
|
|
5822
5881
|
],
|
|
5823
5882
|
"type": "option"
|
|
5824
|
-
},
|
|
5825
|
-
"workspace": {
|
|
5826
|
-
"char": "w",
|
|
5827
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
5828
|
-
"name": "workspace",
|
|
5829
|
-
"required": false,
|
|
5830
|
-
"hasDynamicHelp": false,
|
|
5831
|
-
"multiple": false,
|
|
5832
|
-
"type": "option"
|
|
5833
5883
|
}
|
|
5834
5884
|
},
|
|
5835
5885
|
"hasDynamicHelp": false,
|
|
5836
5886
|
"hiddenAliases": [],
|
|
5837
|
-
"id": "tenant:
|
|
5887
|
+
"id": "tenant:cluster:delete",
|
|
5838
5888
|
"pluginAlias": "@xano/cli",
|
|
5839
5889
|
"pluginName": "@xano/cli",
|
|
5840
5890
|
"pluginType": "core",
|
|
@@ -5845,24 +5895,24 @@
|
|
|
5845
5895
|
"dist",
|
|
5846
5896
|
"commands",
|
|
5847
5897
|
"tenant",
|
|
5848
|
-
"
|
|
5849
|
-
"
|
|
5898
|
+
"cluster",
|
|
5899
|
+
"delete",
|
|
5850
5900
|
"index.js"
|
|
5851
5901
|
]
|
|
5852
5902
|
},
|
|
5853
|
-
"tenant:
|
|
5903
|
+
"tenant:cluster:edit": {
|
|
5854
5904
|
"aliases": [],
|
|
5855
5905
|
"args": {
|
|
5856
|
-
"
|
|
5857
|
-
"description": "
|
|
5858
|
-
"name": "
|
|
5906
|
+
"cluster_id": {
|
|
5907
|
+
"description": "Cluster ID to edit",
|
|
5908
|
+
"name": "cluster_id",
|
|
5859
5909
|
"required": true
|
|
5860
5910
|
}
|
|
5861
5911
|
},
|
|
5862
|
-
"description": "
|
|
5912
|
+
"description": "Update an existing tenant cluster",
|
|
5863
5913
|
"examples": [
|
|
5864
|
-
"$ xano tenant
|
|
5865
|
-
"$ xano tenant
|
|
5914
|
+
"$ xano tenant cluster edit 1 --name \"us-east-1-updated\" --description \"Updated cluster\" --domain \"us-east.xano.io\" --type standard\nUpdated tenant cluster: us-east-1-updated (standard) - ID: 1\n",
|
|
5915
|
+
"$ xano tenant cluster edit 1 --name \"eu-west\" --description \"\" --domain \"\" --type run -o json"
|
|
5866
5916
|
],
|
|
5867
5917
|
"flags": {
|
|
5868
5918
|
"profile": {
|
|
@@ -5884,9 +5934,26 @@
|
|
|
5884
5934
|
"allowNo": false,
|
|
5885
5935
|
"type": "boolean"
|
|
5886
5936
|
},
|
|
5937
|
+
"description": {
|
|
5938
|
+
"char": "d",
|
|
5939
|
+
"description": "Cluster description",
|
|
5940
|
+
"name": "description",
|
|
5941
|
+
"required": true,
|
|
5942
|
+
"hasDynamicHelp": false,
|
|
5943
|
+
"multiple": false,
|
|
5944
|
+
"type": "option"
|
|
5945
|
+
},
|
|
5946
|
+
"domain": {
|
|
5947
|
+
"description": "Custom domain for the cluster",
|
|
5948
|
+
"name": "domain",
|
|
5949
|
+
"required": true,
|
|
5950
|
+
"hasDynamicHelp": false,
|
|
5951
|
+
"multiple": false,
|
|
5952
|
+
"type": "option"
|
|
5953
|
+
},
|
|
5887
5954
|
"name": {
|
|
5888
5955
|
"char": "n",
|
|
5889
|
-
"description": "
|
|
5956
|
+
"description": "Cluster name",
|
|
5890
5957
|
"name": "name",
|
|
5891
5958
|
"required": true,
|
|
5892
5959
|
"hasDynamicHelp": false,
|
|
@@ -5907,19 +5974,22 @@
|
|
|
5907
5974
|
],
|
|
5908
5975
|
"type": "option"
|
|
5909
5976
|
},
|
|
5910
|
-
"
|
|
5911
|
-
"
|
|
5912
|
-
"
|
|
5913
|
-
"
|
|
5914
|
-
"required": false,
|
|
5977
|
+
"type": {
|
|
5978
|
+
"description": "Cluster type",
|
|
5979
|
+
"name": "type",
|
|
5980
|
+
"required": true,
|
|
5915
5981
|
"hasDynamicHelp": false,
|
|
5916
5982
|
"multiple": false,
|
|
5983
|
+
"options": [
|
|
5984
|
+
"standard",
|
|
5985
|
+
"run"
|
|
5986
|
+
],
|
|
5917
5987
|
"type": "option"
|
|
5918
5988
|
}
|
|
5919
5989
|
},
|
|
5920
5990
|
"hasDynamicHelp": false,
|
|
5921
5991
|
"hiddenAliases": [],
|
|
5922
|
-
"id": "tenant:
|
|
5992
|
+
"id": "tenant:cluster:edit",
|
|
5923
5993
|
"pluginAlias": "@xano/cli",
|
|
5924
5994
|
"pluginName": "@xano/cli",
|
|
5925
5995
|
"pluginType": "core",
|
|
@@ -5930,26 +6000,24 @@
|
|
|
5930
6000
|
"dist",
|
|
5931
6001
|
"commands",
|
|
5932
6002
|
"tenant",
|
|
5933
|
-
"
|
|
5934
|
-
"
|
|
6003
|
+
"cluster",
|
|
6004
|
+
"edit",
|
|
5935
6005
|
"index.js"
|
|
5936
6006
|
]
|
|
5937
6007
|
},
|
|
5938
|
-
"tenant:
|
|
6008
|
+
"tenant:cluster:get": {
|
|
5939
6009
|
"aliases": [],
|
|
5940
6010
|
"args": {
|
|
5941
|
-
"
|
|
5942
|
-
"description": "
|
|
5943
|
-
"name": "
|
|
6011
|
+
"cluster_id": {
|
|
6012
|
+
"description": "Cluster ID to retrieve",
|
|
6013
|
+
"name": "cluster_id",
|
|
5944
6014
|
"required": true
|
|
5945
6015
|
}
|
|
5946
6016
|
},
|
|
5947
|
-
"description": "Get
|
|
6017
|
+
"description": "Get details of a specific tenant cluster",
|
|
5948
6018
|
"examples": [
|
|
5949
|
-
"$ xano tenant
|
|
5950
|
-
"$ xano tenant
|
|
5951
|
-
"$ xano tenant env get_all my-tenant --view",
|
|
5952
|
-
"$ xano tenant env get_all my-tenant -o json"
|
|
6019
|
+
"$ xano tenant cluster get 1\nCluster: us-east-1\n ID: 1\n Type: standard\n Domain: us-east-1.xano.io\n",
|
|
6020
|
+
"$ xano tenant cluster get 1 -o json"
|
|
5953
6021
|
],
|
|
5954
6022
|
"flags": {
|
|
5955
6023
|
"profile": {
|
|
@@ -5971,15 +6039,6 @@
|
|
|
5971
6039
|
"allowNo": false,
|
|
5972
6040
|
"type": "boolean"
|
|
5973
6041
|
},
|
|
5974
|
-
"file": {
|
|
5975
|
-
"char": "f",
|
|
5976
|
-
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
5977
|
-
"name": "file",
|
|
5978
|
-
"required": false,
|
|
5979
|
-
"hasDynamicHelp": false,
|
|
5980
|
-
"multiple": false,
|
|
5981
|
-
"type": "option"
|
|
5982
|
-
},
|
|
5983
6042
|
"output": {
|
|
5984
6043
|
"char": "o",
|
|
5985
6044
|
"description": "Output format",
|
|
@@ -5993,27 +6052,11 @@
|
|
|
5993
6052
|
"json"
|
|
5994
6053
|
],
|
|
5995
6054
|
"type": "option"
|
|
5996
|
-
},
|
|
5997
|
-
"view": {
|
|
5998
|
-
"description": "Print environment variables to stdout instead of saving to file",
|
|
5999
|
-
"name": "view",
|
|
6000
|
-
"required": false,
|
|
6001
|
-
"allowNo": false,
|
|
6002
|
-
"type": "boolean"
|
|
6003
|
-
},
|
|
6004
|
-
"workspace": {
|
|
6005
|
-
"char": "w",
|
|
6006
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6007
|
-
"name": "workspace",
|
|
6008
|
-
"required": false,
|
|
6009
|
-
"hasDynamicHelp": false,
|
|
6010
|
-
"multiple": false,
|
|
6011
|
-
"type": "option"
|
|
6012
6055
|
}
|
|
6013
6056
|
},
|
|
6014
6057
|
"hasDynamicHelp": false,
|
|
6015
6058
|
"hiddenAliases": [],
|
|
6016
|
-
"id": "tenant:
|
|
6059
|
+
"id": "tenant:cluster:get",
|
|
6017
6060
|
"pluginAlias": "@xano/cli",
|
|
6018
6061
|
"pluginName": "@xano/cli",
|
|
6019
6062
|
"pluginType": "core",
|
|
@@ -6024,12 +6067,12 @@
|
|
|
6024
6067
|
"dist",
|
|
6025
6068
|
"commands",
|
|
6026
6069
|
"tenant",
|
|
6027
|
-
"
|
|
6028
|
-
"
|
|
6070
|
+
"cluster",
|
|
6071
|
+
"get",
|
|
6029
6072
|
"index.js"
|
|
6030
6073
|
]
|
|
6031
6074
|
},
|
|
6032
|
-
"tenant:env:
|
|
6075
|
+
"tenant:env:delete": {
|
|
6033
6076
|
"aliases": [],
|
|
6034
6077
|
"args": {
|
|
6035
6078
|
"tenant_name": {
|
|
@@ -6038,10 +6081,11 @@
|
|
|
6038
6081
|
"required": true
|
|
6039
6082
|
}
|
|
6040
6083
|
},
|
|
6041
|
-
"description": "
|
|
6084
|
+
"description": "Delete an environment variable from a tenant",
|
|
6042
6085
|
"examples": [
|
|
6043
|
-
"$ xano tenant env
|
|
6044
|
-
"$ xano tenant env
|
|
6086
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL\nAre you sure you want to delete environment variable 'DATABASE_URL' from tenant my-tenant? (y/N) y\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6087
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL --force\nEnvironment variable 'DATABASE_URL' deleted from tenant my-tenant\n",
|
|
6088
|
+
"$ xano tenant env delete my-tenant --name DATABASE_URL -f -w 5 -o json"
|
|
6045
6089
|
],
|
|
6046
6090
|
"flags": {
|
|
6047
6091
|
"profile": {
|
|
@@ -6063,6 +6107,23 @@
|
|
|
6063
6107
|
"allowNo": false,
|
|
6064
6108
|
"type": "boolean"
|
|
6065
6109
|
},
|
|
6110
|
+
"force": {
|
|
6111
|
+
"char": "f",
|
|
6112
|
+
"description": "Skip confirmation prompt",
|
|
6113
|
+
"name": "force",
|
|
6114
|
+
"required": false,
|
|
6115
|
+
"allowNo": false,
|
|
6116
|
+
"type": "boolean"
|
|
6117
|
+
},
|
|
6118
|
+
"name": {
|
|
6119
|
+
"char": "n",
|
|
6120
|
+
"description": "Environment variable name",
|
|
6121
|
+
"name": "name",
|
|
6122
|
+
"required": true,
|
|
6123
|
+
"hasDynamicHelp": false,
|
|
6124
|
+
"multiple": false,
|
|
6125
|
+
"type": "option"
|
|
6126
|
+
},
|
|
6066
6127
|
"output": {
|
|
6067
6128
|
"char": "o",
|
|
6068
6129
|
"description": "Output format",
|
|
@@ -6089,7 +6150,7 @@
|
|
|
6089
6150
|
},
|
|
6090
6151
|
"hasDynamicHelp": false,
|
|
6091
6152
|
"hiddenAliases": [],
|
|
6092
|
-
"id": "tenant:env:
|
|
6153
|
+
"id": "tenant:env:delete",
|
|
6093
6154
|
"pluginAlias": "@xano/cli",
|
|
6094
6155
|
"pluginName": "@xano/cli",
|
|
6095
6156
|
"pluginType": "core",
|
|
@@ -6101,23 +6162,17 @@
|
|
|
6101
6162
|
"commands",
|
|
6102
6163
|
"tenant",
|
|
6103
6164
|
"env",
|
|
6104
|
-
"
|
|
6165
|
+
"delete",
|
|
6105
6166
|
"index.js"
|
|
6106
6167
|
]
|
|
6107
6168
|
},
|
|
6108
|
-
"tenant:
|
|
6169
|
+
"tenant:cluster:list": {
|
|
6109
6170
|
"aliases": [],
|
|
6110
|
-
"args": {
|
|
6111
|
-
|
|
6112
|
-
"description": "Tenant name",
|
|
6113
|
-
"name": "tenant_name",
|
|
6114
|
-
"required": true
|
|
6115
|
-
}
|
|
6116
|
-
},
|
|
6117
|
-
"description": "Set (create or update) an environment variable for a tenant",
|
|
6171
|
+
"args": {},
|
|
6172
|
+
"description": "List all tenant clusters",
|
|
6118
6173
|
"examples": [
|
|
6119
|
-
"$ xano tenant
|
|
6120
|
-
"$ xano tenant
|
|
6174
|
+
"$ xano tenant cluster list\nTenant clusters:\n - us-east-1 (standard) [ID: 1]\n - eu-west-1 (run) [ID: 2]\n",
|
|
6175
|
+
"$ xano tenant cluster list --output json"
|
|
6121
6176
|
],
|
|
6122
6177
|
"flags": {
|
|
6123
6178
|
"profile": {
|
|
@@ -6139,15 +6194,6 @@
|
|
|
6139
6194
|
"allowNo": false,
|
|
6140
6195
|
"type": "boolean"
|
|
6141
6196
|
},
|
|
6142
|
-
"name": {
|
|
6143
|
-
"char": "n",
|
|
6144
|
-
"description": "Environment variable name",
|
|
6145
|
-
"name": "name",
|
|
6146
|
-
"required": true,
|
|
6147
|
-
"hasDynamicHelp": false,
|
|
6148
|
-
"multiple": false,
|
|
6149
|
-
"type": "option"
|
|
6150
|
-
},
|
|
6151
6197
|
"output": {
|
|
6152
6198
|
"char": "o",
|
|
6153
6199
|
"description": "Output format",
|
|
@@ -6161,28 +6207,11 @@
|
|
|
6161
6207
|
"json"
|
|
6162
6208
|
],
|
|
6163
6209
|
"type": "option"
|
|
6164
|
-
},
|
|
6165
|
-
"value": {
|
|
6166
|
-
"description": "Environment variable value",
|
|
6167
|
-
"name": "value",
|
|
6168
|
-
"required": true,
|
|
6169
|
-
"hasDynamicHelp": false,
|
|
6170
|
-
"multiple": false,
|
|
6171
|
-
"type": "option"
|
|
6172
|
-
},
|
|
6173
|
-
"workspace": {
|
|
6174
|
-
"char": "w",
|
|
6175
|
-
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6176
|
-
"name": "workspace",
|
|
6177
|
-
"required": false,
|
|
6178
|
-
"hasDynamicHelp": false,
|
|
6179
|
-
"multiple": false,
|
|
6180
|
-
"type": "option"
|
|
6181
6210
|
}
|
|
6182
6211
|
},
|
|
6183
6212
|
"hasDynamicHelp": false,
|
|
6184
6213
|
"hiddenAliases": [],
|
|
6185
|
-
"id": "tenant:
|
|
6214
|
+
"id": "tenant:cluster:list",
|
|
6186
6215
|
"pluginAlias": "@xano/cli",
|
|
6187
6216
|
"pluginName": "@xano/cli",
|
|
6188
6217
|
"pluginType": "core",
|
|
@@ -6193,12 +6222,12 @@
|
|
|
6193
6222
|
"dist",
|
|
6194
6223
|
"commands",
|
|
6195
6224
|
"tenant",
|
|
6196
|
-
"
|
|
6197
|
-
"
|
|
6225
|
+
"cluster",
|
|
6226
|
+
"list",
|
|
6198
6227
|
"index.js"
|
|
6199
6228
|
]
|
|
6200
6229
|
},
|
|
6201
|
-
"tenant:env:
|
|
6230
|
+
"tenant:env:get": {
|
|
6202
6231
|
"aliases": [],
|
|
6203
6232
|
"args": {
|
|
6204
6233
|
"tenant_name": {
|
|
@@ -6207,11 +6236,10 @@
|
|
|
6207
6236
|
"required": true
|
|
6208
6237
|
}
|
|
6209
6238
|
},
|
|
6210
|
-
"description": "
|
|
6239
|
+
"description": "Get a single environment variable for a tenant",
|
|
6211
6240
|
"examples": [
|
|
6212
|
-
"$ xano tenant env
|
|
6213
|
-
"$ xano tenant env
|
|
6214
|
-
"$ xano tenant env set_all my-tenant -o json"
|
|
6241
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL\npostgres://localhost:5432/mydb\n",
|
|
6242
|
+
"$ xano tenant env get my-tenant --name DATABASE_URL -w 5 -o json"
|
|
6215
6243
|
],
|
|
6216
6244
|
"flags": {
|
|
6217
6245
|
"profile": {
|
|
@@ -6233,18 +6261,11 @@
|
|
|
6233
6261
|
"allowNo": false,
|
|
6234
6262
|
"type": "boolean"
|
|
6235
6263
|
},
|
|
6236
|
-
"
|
|
6237
|
-
"
|
|
6238
|
-
"
|
|
6239
|
-
"
|
|
6240
|
-
"
|
|
6241
|
-
"type": "boolean"
|
|
6242
|
-
},
|
|
6243
|
-
"file": {
|
|
6244
|
-
"char": "f",
|
|
6245
|
-
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6246
|
-
"name": "file",
|
|
6247
|
-
"required": false,
|
|
6264
|
+
"name": {
|
|
6265
|
+
"char": "n",
|
|
6266
|
+
"description": "Environment variable name",
|
|
6267
|
+
"name": "name",
|
|
6268
|
+
"required": true,
|
|
6248
6269
|
"hasDynamicHelp": false,
|
|
6249
6270
|
"multiple": false,
|
|
6250
6271
|
"type": "option"
|
|
@@ -6275,7 +6296,7 @@
|
|
|
6275
6296
|
},
|
|
6276
6297
|
"hasDynamicHelp": false,
|
|
6277
6298
|
"hiddenAliases": [],
|
|
6278
|
-
"id": "tenant:env:
|
|
6299
|
+
"id": "tenant:env:get",
|
|
6279
6300
|
"pluginAlias": "@xano/cli",
|
|
6280
6301
|
"pluginName": "@xano/cli",
|
|
6281
6302
|
"pluginType": "core",
|
|
@@ -6287,11 +6308,11 @@
|
|
|
6287
6308
|
"commands",
|
|
6288
6309
|
"tenant",
|
|
6289
6310
|
"env",
|
|
6290
|
-
"
|
|
6311
|
+
"get",
|
|
6291
6312
|
"index.js"
|
|
6292
6313
|
]
|
|
6293
6314
|
},
|
|
6294
|
-
"tenant:
|
|
6315
|
+
"tenant:env:get_all": {
|
|
6295
6316
|
"aliases": [],
|
|
6296
6317
|
"args": {
|
|
6297
6318
|
"tenant_name": {
|
|
@@ -6300,12 +6321,12 @@
|
|
|
6300
6321
|
"required": true
|
|
6301
6322
|
}
|
|
6302
6323
|
},
|
|
6303
|
-
"description": "Get
|
|
6324
|
+
"description": "Get all environment variables for a tenant and save to a YAML file",
|
|
6304
6325
|
"examples": [
|
|
6305
|
-
"$ xano tenant
|
|
6306
|
-
"$ xano tenant
|
|
6307
|
-
"$ xano tenant
|
|
6308
|
-
"$ xano tenant
|
|
6326
|
+
"$ xano tenant env get_all my-tenant\nEnvironment variables saved to env_my-tenant.yaml\n",
|
|
6327
|
+
"$ xano tenant env get_all my-tenant --file ./my-env.yaml",
|
|
6328
|
+
"$ xano tenant env get_all my-tenant --view",
|
|
6329
|
+
"$ xano tenant env get_all my-tenant -o json"
|
|
6309
6330
|
],
|
|
6310
6331
|
"flags": {
|
|
6311
6332
|
"profile": {
|
|
@@ -6329,7 +6350,7 @@
|
|
|
6329
6350
|
},
|
|
6330
6351
|
"file": {
|
|
6331
6352
|
"char": "f",
|
|
6332
|
-
"description": "Output file path (default:
|
|
6353
|
+
"description": "Output file path (default: env_<tenant_name>.yaml)",
|
|
6333
6354
|
"name": "file",
|
|
6334
6355
|
"required": false,
|
|
6335
6356
|
"hasDynamicHelp": false,
|
|
@@ -6351,7 +6372,7 @@
|
|
|
6351
6372
|
"type": "option"
|
|
6352
6373
|
},
|
|
6353
6374
|
"view": {
|
|
6354
|
-
"description": "Print
|
|
6375
|
+
"description": "Print environment variables to stdout instead of saving to file",
|
|
6355
6376
|
"name": "view",
|
|
6356
6377
|
"required": false,
|
|
6357
6378
|
"allowNo": false,
|
|
@@ -6369,7 +6390,7 @@
|
|
|
6369
6390
|
},
|
|
6370
6391
|
"hasDynamicHelp": false,
|
|
6371
6392
|
"hiddenAliases": [],
|
|
6372
|
-
"id": "tenant:
|
|
6393
|
+
"id": "tenant:env:get_all",
|
|
6373
6394
|
"pluginAlias": "@xano/cli",
|
|
6374
6395
|
"pluginName": "@xano/cli",
|
|
6375
6396
|
"pluginType": "core",
|
|
@@ -6380,12 +6401,12 @@
|
|
|
6380
6401
|
"dist",
|
|
6381
6402
|
"commands",
|
|
6382
6403
|
"tenant",
|
|
6383
|
-
"
|
|
6384
|
-
"
|
|
6404
|
+
"env",
|
|
6405
|
+
"get_all",
|
|
6385
6406
|
"index.js"
|
|
6386
6407
|
]
|
|
6387
6408
|
},
|
|
6388
|
-
"tenant:
|
|
6409
|
+
"tenant:env:list": {
|
|
6389
6410
|
"aliases": [],
|
|
6390
6411
|
"args": {
|
|
6391
6412
|
"tenant_name": {
|
|
@@ -6393,13 +6414,11 @@
|
|
|
6393
6414
|
"name": "tenant_name",
|
|
6394
6415
|
"required": true
|
|
6395
6416
|
}
|
|
6396
|
-
},
|
|
6397
|
-
"description": "
|
|
6398
|
-
"examples": [
|
|
6399
|
-
"$ xano tenant
|
|
6400
|
-
"$ xano tenant
|
|
6401
|
-
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6402
|
-
"$ xano tenant license set my-tenant -o json"
|
|
6417
|
+
},
|
|
6418
|
+
"description": "List environment variable keys for a tenant",
|
|
6419
|
+
"examples": [
|
|
6420
|
+
"$ xano tenant env list my-tenant\nEnvironment variables for tenant my-tenant:\n - DATABASE_URL\n - API_KEY\n - SECRET_TOKEN\n",
|
|
6421
|
+
"$ xano tenant env list my-tenant -w 5 -o json"
|
|
6403
6422
|
],
|
|
6404
6423
|
"flags": {
|
|
6405
6424
|
"profile": {
|
|
@@ -6421,28 +6440,6 @@
|
|
|
6421
6440
|
"allowNo": false,
|
|
6422
6441
|
"type": "boolean"
|
|
6423
6442
|
},
|
|
6424
|
-
"clean": {
|
|
6425
|
-
"description": "Remove the source file after successful upload",
|
|
6426
|
-
"exclusive": [
|
|
6427
|
-
"value"
|
|
6428
|
-
],
|
|
6429
|
-
"name": "clean",
|
|
6430
|
-
"required": false,
|
|
6431
|
-
"allowNo": false,
|
|
6432
|
-
"type": "boolean"
|
|
6433
|
-
},
|
|
6434
|
-
"file": {
|
|
6435
|
-
"char": "f",
|
|
6436
|
-
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6437
|
-
"exclusive": [
|
|
6438
|
-
"value"
|
|
6439
|
-
],
|
|
6440
|
-
"name": "file",
|
|
6441
|
-
"required": false,
|
|
6442
|
-
"hasDynamicHelp": false,
|
|
6443
|
-
"multiple": false,
|
|
6444
|
-
"type": "option"
|
|
6445
|
-
},
|
|
6446
6443
|
"output": {
|
|
6447
6444
|
"char": "o",
|
|
6448
6445
|
"description": "Output format",
|
|
@@ -6457,18 +6454,6 @@
|
|
|
6457
6454
|
],
|
|
6458
6455
|
"type": "option"
|
|
6459
6456
|
},
|
|
6460
|
-
"value": {
|
|
6461
|
-
"description": "Inline license value",
|
|
6462
|
-
"exclusive": [
|
|
6463
|
-
"file",
|
|
6464
|
-
"clean"
|
|
6465
|
-
],
|
|
6466
|
-
"name": "value",
|
|
6467
|
-
"required": false,
|
|
6468
|
-
"hasDynamicHelp": false,
|
|
6469
|
-
"multiple": false,
|
|
6470
|
-
"type": "option"
|
|
6471
|
-
},
|
|
6472
6457
|
"workspace": {
|
|
6473
6458
|
"char": "w",
|
|
6474
6459
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6481,7 +6466,7 @@
|
|
|
6481
6466
|
},
|
|
6482
6467
|
"hasDynamicHelp": false,
|
|
6483
6468
|
"hiddenAliases": [],
|
|
6484
|
-
"id": "tenant:
|
|
6469
|
+
"id": "tenant:env:list",
|
|
6485
6470
|
"pluginAlias": "@xano/cli",
|
|
6486
6471
|
"pluginName": "@xano/cli",
|
|
6487
6472
|
"pluginType": "core",
|
|
@@ -6492,25 +6477,24 @@
|
|
|
6492
6477
|
"dist",
|
|
6493
6478
|
"commands",
|
|
6494
6479
|
"tenant",
|
|
6495
|
-
"
|
|
6496
|
-
"
|
|
6480
|
+
"env",
|
|
6481
|
+
"list",
|
|
6497
6482
|
"index.js"
|
|
6498
6483
|
]
|
|
6499
6484
|
},
|
|
6500
|
-
"
|
|
6485
|
+
"tenant:env:set": {
|
|
6501
6486
|
"aliases": [],
|
|
6502
6487
|
"args": {
|
|
6503
|
-
"
|
|
6504
|
-
"description": "
|
|
6505
|
-
"name": "
|
|
6488
|
+
"tenant_name": {
|
|
6489
|
+
"description": "Tenant name",
|
|
6490
|
+
"name": "tenant_name",
|
|
6506
6491
|
"required": true
|
|
6507
6492
|
}
|
|
6508
6493
|
},
|
|
6509
|
-
"description": "
|
|
6494
|
+
"description": "Set (create or update) an environment variable for a tenant",
|
|
6510
6495
|
"examples": [
|
|
6511
|
-
"$ xano
|
|
6512
|
-
"$ xano
|
|
6513
|
-
"$ 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"
|
|
6496
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb\nEnvironment variable 'DATABASE_URL' set for tenant my-tenant\n",
|
|
6497
|
+
"$ xano tenant env set my-tenant --name DATABASE_URL --value postgres://localhost:5432/mydb -w 5 -o json"
|
|
6514
6498
|
],
|
|
6515
6499
|
"flags": {
|
|
6516
6500
|
"profile": {
|
|
@@ -6532,27 +6516,9 @@
|
|
|
6532
6516
|
"allowNo": false,
|
|
6533
6517
|
"type": "boolean"
|
|
6534
6518
|
},
|
|
6535
|
-
"description": {
|
|
6536
|
-
"char": "d",
|
|
6537
|
-
"description": "Build description",
|
|
6538
|
-
"name": "description",
|
|
6539
|
-
"required": false,
|
|
6540
|
-
"hasDynamicHelp": false,
|
|
6541
|
-
"multiple": false,
|
|
6542
|
-
"type": "option"
|
|
6543
|
-
},
|
|
6544
|
-
"file": {
|
|
6545
|
-
"char": "f",
|
|
6546
|
-
"description": "Path to zip file to upload",
|
|
6547
|
-
"name": "file",
|
|
6548
|
-
"required": true,
|
|
6549
|
-
"hasDynamicHelp": false,
|
|
6550
|
-
"multiple": false,
|
|
6551
|
-
"type": "option"
|
|
6552
|
-
},
|
|
6553
6519
|
"name": {
|
|
6554
6520
|
"char": "n",
|
|
6555
|
-
"description": "
|
|
6521
|
+
"description": "Environment variable name",
|
|
6556
6522
|
"name": "name",
|
|
6557
6523
|
"required": true,
|
|
6558
6524
|
"hasDynamicHelp": false,
|
|
@@ -6573,9 +6539,17 @@
|
|
|
6573
6539
|
],
|
|
6574
6540
|
"type": "option"
|
|
6575
6541
|
},
|
|
6542
|
+
"value": {
|
|
6543
|
+
"description": "Environment variable value",
|
|
6544
|
+
"name": "value",
|
|
6545
|
+
"required": true,
|
|
6546
|
+
"hasDynamicHelp": false,
|
|
6547
|
+
"multiple": false,
|
|
6548
|
+
"type": "option"
|
|
6549
|
+
},
|
|
6576
6550
|
"workspace": {
|
|
6577
6551
|
"char": "w",
|
|
6578
|
-
"description": "Workspace ID (
|
|
6552
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6579
6553
|
"name": "workspace",
|
|
6580
6554
|
"required": false,
|
|
6581
6555
|
"hasDynamicHelp": false,
|
|
@@ -6585,7 +6559,7 @@
|
|
|
6585
6559
|
},
|
|
6586
6560
|
"hasDynamicHelp": false,
|
|
6587
6561
|
"hiddenAliases": [],
|
|
6588
|
-
"id": "
|
|
6562
|
+
"id": "tenant:env:set",
|
|
6589
6563
|
"pluginAlias": "@xano/cli",
|
|
6590
6564
|
"pluginName": "@xano/cli",
|
|
6591
6565
|
"pluginType": "core",
|
|
@@ -6595,32 +6569,26 @@
|
|
|
6595
6569
|
"relativePath": [
|
|
6596
6570
|
"dist",
|
|
6597
6571
|
"commands",
|
|
6598
|
-
"
|
|
6599
|
-
"
|
|
6600
|
-
"
|
|
6572
|
+
"tenant",
|
|
6573
|
+
"env",
|
|
6574
|
+
"set",
|
|
6601
6575
|
"index.js"
|
|
6602
6576
|
]
|
|
6603
6577
|
},
|
|
6604
|
-
"
|
|
6578
|
+
"tenant:env:set_all": {
|
|
6605
6579
|
"aliases": [],
|
|
6606
6580
|
"args": {
|
|
6607
|
-
"
|
|
6608
|
-
"description": "
|
|
6609
|
-
"name": "
|
|
6610
|
-
"required": true
|
|
6611
|
-
},
|
|
6612
|
-
"static_host": {
|
|
6613
|
-
"description": "Static Host name",
|
|
6614
|
-
"name": "static_host",
|
|
6581
|
+
"tenant_name": {
|
|
6582
|
+
"description": "Tenant name",
|
|
6583
|
+
"name": "tenant_name",
|
|
6615
6584
|
"required": true
|
|
6616
6585
|
}
|
|
6617
6586
|
},
|
|
6618
|
-
"description": "
|
|
6587
|
+
"description": "Set all environment variables for a tenant from a YAML file (replaces all existing)",
|
|
6619
6588
|
"examples": [
|
|
6620
|
-
"$ xano
|
|
6621
|
-
"$ xano
|
|
6622
|
-
"$ xano
|
|
6623
|
-
"$ xano static_host:build:get default 52 -o json\n{\n \"id\": 52,\n \"name\": \"v1.0.0\",\n \"status\": \"completed\"\n}\n"
|
|
6589
|
+
"$ xano tenant env set_all my-tenant\nReads from env_my-tenant.yaml\n",
|
|
6590
|
+
"$ xano tenant env set_all my-tenant --file ./my-env.yaml",
|
|
6591
|
+
"$ xano tenant env set_all my-tenant -o json"
|
|
6624
6592
|
],
|
|
6625
6593
|
"flags": {
|
|
6626
6594
|
"profile": {
|
|
@@ -6642,6 +6610,22 @@
|
|
|
6642
6610
|
"allowNo": false,
|
|
6643
6611
|
"type": "boolean"
|
|
6644
6612
|
},
|
|
6613
|
+
"clean": {
|
|
6614
|
+
"description": "Remove the source file after successful upload",
|
|
6615
|
+
"name": "clean",
|
|
6616
|
+
"required": false,
|
|
6617
|
+
"allowNo": false,
|
|
6618
|
+
"type": "boolean"
|
|
6619
|
+
},
|
|
6620
|
+
"file": {
|
|
6621
|
+
"char": "f",
|
|
6622
|
+
"description": "Path to env file (default: env_<tenant_name>.yaml)",
|
|
6623
|
+
"name": "file",
|
|
6624
|
+
"required": false,
|
|
6625
|
+
"hasDynamicHelp": false,
|
|
6626
|
+
"multiple": false,
|
|
6627
|
+
"type": "option"
|
|
6628
|
+
},
|
|
6645
6629
|
"output": {
|
|
6646
6630
|
"char": "o",
|
|
6647
6631
|
"description": "Output format",
|
|
@@ -6658,7 +6642,7 @@
|
|
|
6658
6642
|
},
|
|
6659
6643
|
"workspace": {
|
|
6660
6644
|
"char": "w",
|
|
6661
|
-
"description": "Workspace ID (
|
|
6645
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6662
6646
|
"name": "workspace",
|
|
6663
6647
|
"required": false,
|
|
6664
6648
|
"hasDynamicHelp": false,
|
|
@@ -6668,7 +6652,7 @@
|
|
|
6668
6652
|
},
|
|
6669
6653
|
"hasDynamicHelp": false,
|
|
6670
6654
|
"hiddenAliases": [],
|
|
6671
|
-
"id": "
|
|
6655
|
+
"id": "tenant:env:set_all",
|
|
6672
6656
|
"pluginAlias": "@xano/cli",
|
|
6673
6657
|
"pluginName": "@xano/cli",
|
|
6674
6658
|
"pluginType": "core",
|
|
@@ -6678,27 +6662,27 @@
|
|
|
6678
6662
|
"relativePath": [
|
|
6679
6663
|
"dist",
|
|
6680
6664
|
"commands",
|
|
6681
|
-
"
|
|
6682
|
-
"
|
|
6683
|
-
"
|
|
6665
|
+
"tenant",
|
|
6666
|
+
"env",
|
|
6667
|
+
"set_all",
|
|
6684
6668
|
"index.js"
|
|
6685
6669
|
]
|
|
6686
6670
|
},
|
|
6687
|
-
"
|
|
6671
|
+
"tenant:license:get": {
|
|
6688
6672
|
"aliases": [],
|
|
6689
6673
|
"args": {
|
|
6690
|
-
"
|
|
6691
|
-
"description": "
|
|
6692
|
-
"name": "
|
|
6674
|
+
"tenant_name": {
|
|
6675
|
+
"description": "Tenant name",
|
|
6676
|
+
"name": "tenant_name",
|
|
6693
6677
|
"required": true
|
|
6694
6678
|
}
|
|
6695
6679
|
},
|
|
6696
|
-
"description": "
|
|
6680
|
+
"description": "Get the license for a tenant",
|
|
6697
6681
|
"examples": [
|
|
6698
|
-
"$ xano
|
|
6699
|
-
"$ xano
|
|
6700
|
-
"$ xano
|
|
6701
|
-
"$ xano
|
|
6682
|
+
"$ xano tenant license get my-tenant\nLicense saved to license_my-tenant.yaml\n",
|
|
6683
|
+
"$ xano tenant license get my-tenant --file ./my-license.yaml\nLicense saved to my-license.yaml\n",
|
|
6684
|
+
"$ xano tenant license get my-tenant --view",
|
|
6685
|
+
"$ xano tenant license get my-tenant -o json"
|
|
6702
6686
|
],
|
|
6703
6687
|
"flags": {
|
|
6704
6688
|
"profile": {
|
|
@@ -6720,6 +6704,15 @@
|
|
|
6720
6704
|
"allowNo": false,
|
|
6721
6705
|
"type": "boolean"
|
|
6722
6706
|
},
|
|
6707
|
+
"file": {
|
|
6708
|
+
"char": "f",
|
|
6709
|
+
"description": "Output file path (default: license_<tenant_name>.yaml)",
|
|
6710
|
+
"name": "file",
|
|
6711
|
+
"required": false,
|
|
6712
|
+
"hasDynamicHelp": false,
|
|
6713
|
+
"multiple": false,
|
|
6714
|
+
"type": "option"
|
|
6715
|
+
},
|
|
6723
6716
|
"output": {
|
|
6724
6717
|
"char": "o",
|
|
6725
6718
|
"description": "Output format",
|
|
@@ -6734,27 +6727,16 @@
|
|
|
6734
6727
|
],
|
|
6735
6728
|
"type": "option"
|
|
6736
6729
|
},
|
|
6737
|
-
"
|
|
6738
|
-
"description": "
|
|
6739
|
-
"name": "
|
|
6740
|
-
"required": false,
|
|
6741
|
-
"default": 1,
|
|
6742
|
-
"hasDynamicHelp": false,
|
|
6743
|
-
"multiple": false,
|
|
6744
|
-
"type": "option"
|
|
6745
|
-
},
|
|
6746
|
-
"per_page": {
|
|
6747
|
-
"description": "Number of results per page",
|
|
6748
|
-
"name": "per_page",
|
|
6730
|
+
"view": {
|
|
6731
|
+
"description": "Print license to stdout instead of saving to file",
|
|
6732
|
+
"name": "view",
|
|
6749
6733
|
"required": false,
|
|
6750
|
-
"
|
|
6751
|
-
"
|
|
6752
|
-
"multiple": false,
|
|
6753
|
-
"type": "option"
|
|
6734
|
+
"allowNo": false,
|
|
6735
|
+
"type": "boolean"
|
|
6754
6736
|
},
|
|
6755
6737
|
"workspace": {
|
|
6756
6738
|
"char": "w",
|
|
6757
|
-
"description": "Workspace ID (
|
|
6739
|
+
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
6758
6740
|
"name": "workspace",
|
|
6759
6741
|
"required": false,
|
|
6760
6742
|
"hasDynamicHelp": false,
|
|
@@ -6764,7 +6746,7 @@
|
|
|
6764
6746
|
},
|
|
6765
6747
|
"hasDynamicHelp": false,
|
|
6766
6748
|
"hiddenAliases": [],
|
|
6767
|
-
"id": "
|
|
6749
|
+
"id": "tenant:license:get",
|
|
6768
6750
|
"pluginAlias": "@xano/cli",
|
|
6769
6751
|
"pluginName": "@xano/cli",
|
|
6770
6752
|
"pluginType": "core",
|
|
@@ -6774,13 +6756,13 @@
|
|
|
6774
6756
|
"relativePath": [
|
|
6775
6757
|
"dist",
|
|
6776
6758
|
"commands",
|
|
6777
|
-
"
|
|
6778
|
-
"
|
|
6779
|
-
"
|
|
6759
|
+
"tenant",
|
|
6760
|
+
"license",
|
|
6761
|
+
"get",
|
|
6780
6762
|
"index.js"
|
|
6781
6763
|
]
|
|
6782
6764
|
},
|
|
6783
|
-
"tenant:
|
|
6765
|
+
"tenant:license:set": {
|
|
6784
6766
|
"aliases": [],
|
|
6785
6767
|
"args": {
|
|
6786
6768
|
"tenant_name": {
|
|
@@ -6789,11 +6771,12 @@
|
|
|
6789
6771
|
"required": true
|
|
6790
6772
|
}
|
|
6791
6773
|
},
|
|
6792
|
-
"description": "
|
|
6774
|
+
"description": "Set/update the license for a tenant",
|
|
6793
6775
|
"examples": [
|
|
6794
|
-
"$ xano tenant
|
|
6795
|
-
"$ xano tenant
|
|
6796
|
-
"$ xano tenant
|
|
6776
|
+
"$ xano tenant license set my-tenant\nReads from license_my-tenant.yaml\n",
|
|
6777
|
+
"$ xano tenant license set my-tenant --file ./license.yaml",
|
|
6778
|
+
"$ xano tenant license set my-tenant --value 'key: value'",
|
|
6779
|
+
"$ xano tenant license set my-tenant -o json"
|
|
6797
6780
|
],
|
|
6798
6781
|
"flags": {
|
|
6799
6782
|
"profile": {
|
|
@@ -6815,19 +6798,24 @@
|
|
|
6815
6798
|
"allowNo": false,
|
|
6816
6799
|
"type": "boolean"
|
|
6817
6800
|
},
|
|
6818
|
-
"
|
|
6819
|
-
"
|
|
6820
|
-
"
|
|
6821
|
-
|
|
6801
|
+
"clean": {
|
|
6802
|
+
"description": "Remove the source file after successful upload",
|
|
6803
|
+
"exclusive": [
|
|
6804
|
+
"value"
|
|
6805
|
+
],
|
|
6806
|
+
"name": "clean",
|
|
6822
6807
|
"required": false,
|
|
6823
6808
|
"allowNo": false,
|
|
6824
6809
|
"type": "boolean"
|
|
6825
6810
|
},
|
|
6826
|
-
"
|
|
6827
|
-
"char": "
|
|
6828
|
-
"description": "
|
|
6829
|
-
"
|
|
6830
|
-
|
|
6811
|
+
"file": {
|
|
6812
|
+
"char": "f",
|
|
6813
|
+
"description": "Path to license file (default: license_<tenant_name>.yaml)",
|
|
6814
|
+
"exclusive": [
|
|
6815
|
+
"value"
|
|
6816
|
+
],
|
|
6817
|
+
"name": "file",
|
|
6818
|
+
"required": false,
|
|
6831
6819
|
"hasDynamicHelp": false,
|
|
6832
6820
|
"multiple": false,
|
|
6833
6821
|
"type": "option"
|
|
@@ -6846,6 +6834,18 @@
|
|
|
6846
6834
|
],
|
|
6847
6835
|
"type": "option"
|
|
6848
6836
|
},
|
|
6837
|
+
"value": {
|
|
6838
|
+
"description": "Inline license value",
|
|
6839
|
+
"exclusive": [
|
|
6840
|
+
"file",
|
|
6841
|
+
"clean"
|
|
6842
|
+
],
|
|
6843
|
+
"name": "value",
|
|
6844
|
+
"required": false,
|
|
6845
|
+
"hasDynamicHelp": false,
|
|
6846
|
+
"multiple": false,
|
|
6847
|
+
"type": "option"
|
|
6848
|
+
},
|
|
6849
6849
|
"workspace": {
|
|
6850
6850
|
"char": "w",
|
|
6851
6851
|
"description": "Workspace ID (uses profile workspace if not provided)",
|
|
@@ -6858,7 +6858,7 @@
|
|
|
6858
6858
|
},
|
|
6859
6859
|
"hasDynamicHelp": false,
|
|
6860
6860
|
"hiddenAliases": [],
|
|
6861
|
-
"id": "tenant:
|
|
6861
|
+
"id": "tenant:license:set",
|
|
6862
6862
|
"pluginAlias": "@xano/cli",
|
|
6863
6863
|
"pluginName": "@xano/cli",
|
|
6864
6864
|
"pluginType": "core",
|
|
@@ -6869,8 +6869,8 @@
|
|
|
6869
6869
|
"dist",
|
|
6870
6870
|
"commands",
|
|
6871
6871
|
"tenant",
|
|
6872
|
-
"
|
|
6873
|
-
"
|
|
6872
|
+
"license",
|
|
6873
|
+
"set",
|
|
6874
6874
|
"index.js"
|
|
6875
6875
|
]
|
|
6876
6876
|
},
|
|
@@ -7159,5 +7159,5 @@
|
|
|
7159
7159
|
]
|
|
7160
7160
|
}
|
|
7161
7161
|
},
|
|
7162
|
-
"version": "0.0.
|
|
7162
|
+
"version": "0.0.83"
|
|
7163
7163
|
}
|