@asyncapi/cli 1.6.12 → 1.6.13

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.
Files changed (2) hide show
  1. package/oclif.manifest.json +257 -257
  2. package/package.json +2 -2
@@ -450,262 +450,6 @@
450
450
  "versions.js"
451
451
  ]
452
452
  },
453
- "new:file": {
454
- "aliases": [],
455
- "args": {},
456
- "description": "Creates a new asyncapi file",
457
- "examples": [
458
- "asyncapi new\t - start creation of a file in interactive mode",
459
- "asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode"
460
- ],
461
- "flags": {
462
- "help": {
463
- "char": "h",
464
- "description": "Show CLI help.",
465
- "name": "help",
466
- "allowNo": false,
467
- "type": "boolean"
468
- },
469
- "file-name": {
470
- "char": "n",
471
- "description": "name of the file",
472
- "name": "file-name",
473
- "hasDynamicHelp": false,
474
- "multiple": false,
475
- "type": "option"
476
- },
477
- "example": {
478
- "char": "e",
479
- "description": "name of the example to use. Available examples are:\n\t - simple-asyncapi.yml\n\t - anyof-asyncapi.yml\n\t - application-headers-asyncapi.yml\n\t - correlation-id-asyncapi.yml\n\t - websocket-gemini-asyncapi.yml\n\t - gitter-streaming-asyncapi.yml\n\t - kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml\n\t - kraken-websocket-request-reply-multiple-channels-asyncapi.yml\n\t - mercure-asyncapi.yml\n\t - not-asyncapi.yml\n\t - operation-security-asyncapi.yml\n\t - oneof-asyncapi.yml\n\t - rpc-client-asyncapi.yml\n\t - rpc-server-asyncapi.yml\n\t - slack-rtm-asyncapi.yml\n\t - tutorial.yml\n\t - streetlights-kafka-asyncapi.yml\n\t - streetlights-operation-security-asyncapi.yml\n\t - streetlights-mqtt-asyncapi.yml",
480
- "name": "example",
481
- "hasDynamicHelp": false,
482
- "multiple": false,
483
- "type": "option"
484
- },
485
- "studio": {
486
- "char": "s",
487
- "description": "open in Studio",
488
- "name": "studio",
489
- "allowNo": false,
490
- "type": "boolean"
491
- },
492
- "port": {
493
- "char": "p",
494
- "description": "port in which to start Studio",
495
- "name": "port",
496
- "hasDynamicHelp": false,
497
- "multiple": false,
498
- "type": "option"
499
- },
500
- "no-tty": {
501
- "description": "do not use an interactive terminal",
502
- "name": "no-tty",
503
- "allowNo": false,
504
- "type": "boolean"
505
- }
506
- },
507
- "hasDynamicHelp": false,
508
- "hiddenAliases": [],
509
- "id": "new:file",
510
- "pluginAlias": "@asyncapi/cli",
511
- "pluginName": "@asyncapi/cli",
512
- "pluginType": "core",
513
- "strict": true,
514
- "isESM": false,
515
- "relativePath": [
516
- "lib",
517
- "commands",
518
- "new",
519
- "file.js"
520
- ]
521
- },
522
- "new:glee": {
523
- "aliases": [],
524
- "args": {},
525
- "description": "Creates a new Glee project",
526
- "flags": {
527
- "help": {
528
- "char": "h",
529
- "description": "Show CLI help.",
530
- "name": "help",
531
- "allowNo": false,
532
- "type": "boolean"
533
- },
534
- "name": {
535
- "char": "n",
536
- "description": "Name of the Project",
537
- "name": "name",
538
- "default": "project",
539
- "hasDynamicHelp": false,
540
- "multiple": false,
541
- "type": "option"
542
- },
543
- "template": {
544
- "char": "t",
545
- "description": "Name of the Template",
546
- "name": "template",
547
- "default": "default",
548
- "hasDynamicHelp": false,
549
- "multiple": false,
550
- "type": "option"
551
- },
552
- "file": {
553
- "char": "f",
554
- "description": "The path to the AsyncAPI file for generating a Glee project.",
555
- "name": "file",
556
- "hasDynamicHelp": false,
557
- "multiple": false,
558
- "type": "option"
559
- },
560
- "force-write": {
561
- "description": "Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty dir (defaults to false)",
562
- "name": "force-write",
563
- "allowNo": false,
564
- "type": "boolean"
565
- }
566
- },
567
- "hasDynamicHelp": false,
568
- "hiddenAliases": [],
569
- "id": "new:glee",
570
- "pluginAlias": "@asyncapi/cli",
571
- "pluginName": "@asyncapi/cli",
572
- "pluginType": "core",
573
- "strict": true,
574
- "isESM": false,
575
- "relativePath": [
576
- "lib",
577
- "commands",
578
- "new",
579
- "glee.js"
580
- ]
581
- },
582
- "new": {
583
- "aliases": [],
584
- "args": {},
585
- "description": "Creates a new asyncapi file",
586
- "examples": [
587
- "asyncapi new\t - start creation of a file in interactive mode",
588
- "asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode"
589
- ],
590
- "flags": {
591
- "help": {
592
- "char": "h",
593
- "description": "Show CLI help.",
594
- "name": "help",
595
- "allowNo": false,
596
- "type": "boolean"
597
- },
598
- "file-name": {
599
- "char": "n",
600
- "description": "name of the file",
601
- "name": "file-name",
602
- "hasDynamicHelp": false,
603
- "multiple": false,
604
- "type": "option"
605
- },
606
- "example": {
607
- "char": "e",
608
- "description": "name of the example to use. Available examples are:\n\t - simple-asyncapi.yml\n\t - anyof-asyncapi.yml\n\t - application-headers-asyncapi.yml\n\t - correlation-id-asyncapi.yml\n\t - websocket-gemini-asyncapi.yml\n\t - gitter-streaming-asyncapi.yml\n\t - kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml\n\t - kraken-websocket-request-reply-multiple-channels-asyncapi.yml\n\t - mercure-asyncapi.yml\n\t - not-asyncapi.yml\n\t - operation-security-asyncapi.yml\n\t - oneof-asyncapi.yml\n\t - rpc-client-asyncapi.yml\n\t - rpc-server-asyncapi.yml\n\t - slack-rtm-asyncapi.yml\n\t - tutorial.yml\n\t - streetlights-kafka-asyncapi.yml\n\t - streetlights-operation-security-asyncapi.yml\n\t - streetlights-mqtt-asyncapi.yml",
609
- "name": "example",
610
- "hasDynamicHelp": false,
611
- "multiple": false,
612
- "type": "option"
613
- },
614
- "studio": {
615
- "char": "s",
616
- "description": "open in Studio",
617
- "name": "studio",
618
- "allowNo": false,
619
- "type": "boolean"
620
- },
621
- "port": {
622
- "char": "p",
623
- "description": "port in which to start Studio",
624
- "name": "port",
625
- "hasDynamicHelp": false,
626
- "multiple": false,
627
- "type": "option"
628
- },
629
- "no-tty": {
630
- "description": "do not use an interactive terminal",
631
- "name": "no-tty",
632
- "allowNo": false,
633
- "type": "boolean"
634
- }
635
- },
636
- "hasDynamicHelp": false,
637
- "hiddenAliases": [],
638
- "id": "new",
639
- "pluginAlias": "@asyncapi/cli",
640
- "pluginName": "@asyncapi/cli",
641
- "pluginType": "core",
642
- "isESM": false,
643
- "relativePath": [
644
- "lib",
645
- "commands",
646
- "new",
647
- "index.js"
648
- ]
649
- },
650
- "new:project": {
651
- "aliases": [],
652
- "args": {},
653
- "description": "Creates a new Glee project",
654
- "flags": {
655
- "help": {
656
- "char": "h",
657
- "description": "Show CLI help.",
658
- "name": "help",
659
- "allowNo": false,
660
- "type": "boolean"
661
- },
662
- "name": {
663
- "char": "n",
664
- "description": "Name of the Project",
665
- "name": "name",
666
- "default": "project",
667
- "hasDynamicHelp": false,
668
- "multiple": false,
669
- "type": "option"
670
- },
671
- "template": {
672
- "char": "t",
673
- "description": "Name of the Template",
674
- "name": "template",
675
- "default": "default",
676
- "hasDynamicHelp": false,
677
- "multiple": false,
678
- "type": "option"
679
- },
680
- "file": {
681
- "char": "f",
682
- "description": "The path to the AsyncAPI file for generating a Glee project.",
683
- "name": "file",
684
- "hasDynamicHelp": false,
685
- "multiple": false,
686
- "type": "option"
687
- },
688
- "force-write": {
689
- "description": "Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty dir (defaults to false)",
690
- "name": "force-write",
691
- "allowNo": false,
692
- "type": "boolean"
693
- }
694
- },
695
- "hasDynamicHelp": false,
696
- "hiddenAliases": [],
697
- "id": "new:project",
698
- "pluginAlias": "@asyncapi/cli",
699
- "pluginName": "@asyncapi/cli",
700
- "pluginType": "core",
701
- "isESM": false,
702
- "relativePath": [
703
- "lib",
704
- "commands",
705
- "new",
706
- "project.js"
707
- ]
708
- },
709
453
  "generate:fromTemplate": {
710
454
  "aliases": [],
711
455
  "args": {
@@ -1098,6 +842,262 @@
1098
842
  "models.js"
1099
843
  ]
1100
844
  },
845
+ "new:file": {
846
+ "aliases": [],
847
+ "args": {},
848
+ "description": "Creates a new asyncapi file",
849
+ "examples": [
850
+ "asyncapi new\t - start creation of a file in interactive mode",
851
+ "asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode"
852
+ ],
853
+ "flags": {
854
+ "help": {
855
+ "char": "h",
856
+ "description": "Show CLI help.",
857
+ "name": "help",
858
+ "allowNo": false,
859
+ "type": "boolean"
860
+ },
861
+ "file-name": {
862
+ "char": "n",
863
+ "description": "name of the file",
864
+ "name": "file-name",
865
+ "hasDynamicHelp": false,
866
+ "multiple": false,
867
+ "type": "option"
868
+ },
869
+ "example": {
870
+ "char": "e",
871
+ "description": "name of the example to use. Available examples are:\n\t - simple-asyncapi.yml\n\t - anyof-asyncapi.yml\n\t - application-headers-asyncapi.yml\n\t - correlation-id-asyncapi.yml\n\t - websocket-gemini-asyncapi.yml\n\t - gitter-streaming-asyncapi.yml\n\t - kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml\n\t - kraken-websocket-request-reply-multiple-channels-asyncapi.yml\n\t - mercure-asyncapi.yml\n\t - not-asyncapi.yml\n\t - operation-security-asyncapi.yml\n\t - oneof-asyncapi.yml\n\t - rpc-client-asyncapi.yml\n\t - rpc-server-asyncapi.yml\n\t - slack-rtm-asyncapi.yml\n\t - tutorial.yml\n\t - streetlights-kafka-asyncapi.yml\n\t - streetlights-operation-security-asyncapi.yml\n\t - streetlights-mqtt-asyncapi.yml",
872
+ "name": "example",
873
+ "hasDynamicHelp": false,
874
+ "multiple": false,
875
+ "type": "option"
876
+ },
877
+ "studio": {
878
+ "char": "s",
879
+ "description": "open in Studio",
880
+ "name": "studio",
881
+ "allowNo": false,
882
+ "type": "boolean"
883
+ },
884
+ "port": {
885
+ "char": "p",
886
+ "description": "port in which to start Studio",
887
+ "name": "port",
888
+ "hasDynamicHelp": false,
889
+ "multiple": false,
890
+ "type": "option"
891
+ },
892
+ "no-tty": {
893
+ "description": "do not use an interactive terminal",
894
+ "name": "no-tty",
895
+ "allowNo": false,
896
+ "type": "boolean"
897
+ }
898
+ },
899
+ "hasDynamicHelp": false,
900
+ "hiddenAliases": [],
901
+ "id": "new:file",
902
+ "pluginAlias": "@asyncapi/cli",
903
+ "pluginName": "@asyncapi/cli",
904
+ "pluginType": "core",
905
+ "strict": true,
906
+ "isESM": false,
907
+ "relativePath": [
908
+ "lib",
909
+ "commands",
910
+ "new",
911
+ "file.js"
912
+ ]
913
+ },
914
+ "new:glee": {
915
+ "aliases": [],
916
+ "args": {},
917
+ "description": "Creates a new Glee project",
918
+ "flags": {
919
+ "help": {
920
+ "char": "h",
921
+ "description": "Show CLI help.",
922
+ "name": "help",
923
+ "allowNo": false,
924
+ "type": "boolean"
925
+ },
926
+ "name": {
927
+ "char": "n",
928
+ "description": "Name of the Project",
929
+ "name": "name",
930
+ "default": "project",
931
+ "hasDynamicHelp": false,
932
+ "multiple": false,
933
+ "type": "option"
934
+ },
935
+ "template": {
936
+ "char": "t",
937
+ "description": "Name of the Template",
938
+ "name": "template",
939
+ "default": "default",
940
+ "hasDynamicHelp": false,
941
+ "multiple": false,
942
+ "type": "option"
943
+ },
944
+ "file": {
945
+ "char": "f",
946
+ "description": "The path to the AsyncAPI file for generating a Glee project.",
947
+ "name": "file",
948
+ "hasDynamicHelp": false,
949
+ "multiple": false,
950
+ "type": "option"
951
+ },
952
+ "force-write": {
953
+ "description": "Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty dir (defaults to false)",
954
+ "name": "force-write",
955
+ "allowNo": false,
956
+ "type": "boolean"
957
+ }
958
+ },
959
+ "hasDynamicHelp": false,
960
+ "hiddenAliases": [],
961
+ "id": "new:glee",
962
+ "pluginAlias": "@asyncapi/cli",
963
+ "pluginName": "@asyncapi/cli",
964
+ "pluginType": "core",
965
+ "strict": true,
966
+ "isESM": false,
967
+ "relativePath": [
968
+ "lib",
969
+ "commands",
970
+ "new",
971
+ "glee.js"
972
+ ]
973
+ },
974
+ "new": {
975
+ "aliases": [],
976
+ "args": {},
977
+ "description": "Creates a new asyncapi file",
978
+ "examples": [
979
+ "asyncapi new\t - start creation of a file in interactive mode",
980
+ "asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode"
981
+ ],
982
+ "flags": {
983
+ "help": {
984
+ "char": "h",
985
+ "description": "Show CLI help.",
986
+ "name": "help",
987
+ "allowNo": false,
988
+ "type": "boolean"
989
+ },
990
+ "file-name": {
991
+ "char": "n",
992
+ "description": "name of the file",
993
+ "name": "file-name",
994
+ "hasDynamicHelp": false,
995
+ "multiple": false,
996
+ "type": "option"
997
+ },
998
+ "example": {
999
+ "char": "e",
1000
+ "description": "name of the example to use. Available examples are:\n\t - simple-asyncapi.yml\n\t - anyof-asyncapi.yml\n\t - application-headers-asyncapi.yml\n\t - correlation-id-asyncapi.yml\n\t - websocket-gemini-asyncapi.yml\n\t - gitter-streaming-asyncapi.yml\n\t - kraken-websocket-request-reply-message-filter-in-reply-asyncapi.yml\n\t - kraken-websocket-request-reply-multiple-channels-asyncapi.yml\n\t - mercure-asyncapi.yml\n\t - not-asyncapi.yml\n\t - operation-security-asyncapi.yml\n\t - oneof-asyncapi.yml\n\t - rpc-client-asyncapi.yml\n\t - rpc-server-asyncapi.yml\n\t - slack-rtm-asyncapi.yml\n\t - tutorial.yml\n\t - streetlights-kafka-asyncapi.yml\n\t - streetlights-operation-security-asyncapi.yml\n\t - streetlights-mqtt-asyncapi.yml",
1001
+ "name": "example",
1002
+ "hasDynamicHelp": false,
1003
+ "multiple": false,
1004
+ "type": "option"
1005
+ },
1006
+ "studio": {
1007
+ "char": "s",
1008
+ "description": "open in Studio",
1009
+ "name": "studio",
1010
+ "allowNo": false,
1011
+ "type": "boolean"
1012
+ },
1013
+ "port": {
1014
+ "char": "p",
1015
+ "description": "port in which to start Studio",
1016
+ "name": "port",
1017
+ "hasDynamicHelp": false,
1018
+ "multiple": false,
1019
+ "type": "option"
1020
+ },
1021
+ "no-tty": {
1022
+ "description": "do not use an interactive terminal",
1023
+ "name": "no-tty",
1024
+ "allowNo": false,
1025
+ "type": "boolean"
1026
+ }
1027
+ },
1028
+ "hasDynamicHelp": false,
1029
+ "hiddenAliases": [],
1030
+ "id": "new",
1031
+ "pluginAlias": "@asyncapi/cli",
1032
+ "pluginName": "@asyncapi/cli",
1033
+ "pluginType": "core",
1034
+ "isESM": false,
1035
+ "relativePath": [
1036
+ "lib",
1037
+ "commands",
1038
+ "new",
1039
+ "index.js"
1040
+ ]
1041
+ },
1042
+ "new:project": {
1043
+ "aliases": [],
1044
+ "args": {},
1045
+ "description": "Creates a new Glee project",
1046
+ "flags": {
1047
+ "help": {
1048
+ "char": "h",
1049
+ "description": "Show CLI help.",
1050
+ "name": "help",
1051
+ "allowNo": false,
1052
+ "type": "boolean"
1053
+ },
1054
+ "name": {
1055
+ "char": "n",
1056
+ "description": "Name of the Project",
1057
+ "name": "name",
1058
+ "default": "project",
1059
+ "hasDynamicHelp": false,
1060
+ "multiple": false,
1061
+ "type": "option"
1062
+ },
1063
+ "template": {
1064
+ "char": "t",
1065
+ "description": "Name of the Template",
1066
+ "name": "template",
1067
+ "default": "default",
1068
+ "hasDynamicHelp": false,
1069
+ "multiple": false,
1070
+ "type": "option"
1071
+ },
1072
+ "file": {
1073
+ "char": "f",
1074
+ "description": "The path to the AsyncAPI file for generating a Glee project.",
1075
+ "name": "file",
1076
+ "hasDynamicHelp": false,
1077
+ "multiple": false,
1078
+ "type": "option"
1079
+ },
1080
+ "force-write": {
1081
+ "description": "Force writing of the generated files to given directory even if it is a git repo with unstaged files or not empty dir (defaults to false)",
1082
+ "name": "force-write",
1083
+ "allowNo": false,
1084
+ "type": "boolean"
1085
+ }
1086
+ },
1087
+ "hasDynamicHelp": false,
1088
+ "hiddenAliases": [],
1089
+ "id": "new:project",
1090
+ "pluginAlias": "@asyncapi/cli",
1091
+ "pluginName": "@asyncapi/cli",
1092
+ "pluginType": "core",
1093
+ "isESM": false,
1094
+ "relativePath": [
1095
+ "lib",
1096
+ "commands",
1097
+ "new",
1098
+ "project.js"
1099
+ ]
1100
+ },
1101
1101
  "start": {
1102
1102
  "aliases": [],
1103
1103
  "args": {},
@@ -1436,5 +1436,5 @@
1436
1436
  ]
1437
1437
  }
1438
1438
  },
1439
- "version": "1.6.12"
1439
+ "version": "1.6.13"
1440
1440
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@asyncapi/cli",
3
3
  "description": "All in one CLI for all AsyncAPI tools",
4
- "version": "1.6.12",
4
+ "version": "1.6.13",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run"
@@ -12,7 +12,7 @@
12
12
  "@asyncapi/bundler": "^0.4.0",
13
13
  "@asyncapi/converter": "^1.4.15",
14
14
  "@asyncapi/diff": "^0.4.1",
15
- "@asyncapi/generator": "^1.17.7",
15
+ "@asyncapi/generator": "^1.17.12",
16
16
  "@asyncapi/modelina": "^3.4.5",
17
17
  "@asyncapi/openapi-schema-parser": "^3.0.16",
18
18
  "@asyncapi/optimizer": "^0.2.7",