@@ -27,7 +27,7 @@ $ npm install -g @asyncapi/cli
27
27
$ asyncapi COMMAND
28
28
running command...
29
29
$ asyncapi (--version)
30
- @asyncapi/cli/2.3.12 linux-x64 node-v18.20.4
30
+ @asyncapi/cli/2.3.13 linux-x64 node-v18.20.4
31
31
$ asyncapi --help [COMMAND]
32
32
USAGE
33
33
$ asyncapi COMMAND
@@ -99,7 +99,7 @@ EXAMPLES
99
99
$ asyncapi bundle ./asyncapi.yaml -o final-asyncapi.yaml --base ../public-api/main.yaml --baseDir ./social-media/comments-service
100
100
```
101
101
102
- _ See code: [ src/commands/bundle.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/bundle.ts ) _
102
+ _ See code: [ src/commands/bundle.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/bundle.ts ) _
103
103
104
104
## ` asyncapi config `
105
105
@@ -113,7 +113,7 @@ DESCRIPTION
113
113
CLI config settings
114
114
```
115
115
116
- _ See code: [ src/commands/config/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/index.ts ) _
116
+ _ See code: [ src/commands/config/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/index.ts ) _
117
117
118
118
## ` asyncapi config analytics `
119
119
@@ -133,7 +133,7 @@ DESCRIPTION
133
133
Enable or disable analytics for metrics collection
134
134
```
135
135
136
- _ See code: [ src/commands/config/analytics.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/analytics.ts ) _
136
+ _ See code: [ src/commands/config/analytics.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/analytics.ts ) _
137
137
138
138
## ` asyncapi config context `
139
139
@@ -147,7 +147,7 @@ DESCRIPTION
147
147
Manage short aliases for full paths to AsyncAPI documents
148
148
```
149
149
150
- _ See code: [ src/commands/config/context/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/context/index.ts ) _
150
+ _ See code: [ src/commands/config/context/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/context/index.ts ) _
151
151
152
152
## ` asyncapi config context add CONTEXT-NAME SPEC-FILE-PATH `
153
153
@@ -169,7 +169,7 @@ DESCRIPTION
169
169
Add a context to the store
170
170
```
171
171
172
- _ See code: [ src/commands/config/context/add.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/context/add.ts ) _
172
+ _ See code: [ src/commands/config/context/add.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/context/add.ts ) _
173
173
174
174
## ` asyncapi config context current `
175
175
@@ -186,7 +186,7 @@ DESCRIPTION
186
186
Shows the current context that is being used
187
187
```
188
188
189
- _ See code: [ src/commands/config/context/current.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/context/current.ts ) _
189
+ _ See code: [ src/commands/config/context/current.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/context/current.ts ) _
190
190
191
191
## ` asyncapi config context edit CONTEXT-NAME NEW-SPEC-FILE-PATH `
192
192
@@ -207,7 +207,7 @@ DESCRIPTION
207
207
Edit a context in the store
208
208
```
209
209
210
- _ See code: [ src/commands/config/context/edit.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/context/edit.ts ) _
210
+ _ See code: [ src/commands/config/context/edit.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/context/edit.ts ) _
211
211
212
212
## ` asyncapi config context init [CONTEXT-FILE-PATH] `
213
213
@@ -230,7 +230,7 @@ DESCRIPTION
230
230
Initialize context
231
231
```
232
232
233
- _ See code: [ src/commands/config/context/init.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/context/init.ts ) _
233
+ _ See code: [ src/commands/config/context/init.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/context/init.ts ) _
234
234
235
235
## ` asyncapi config context list `
236
236
@@ -247,7 +247,7 @@ DESCRIPTION
247
247
List all the stored contexts in the store
248
248
```
249
249
250
- _ See code: [ src/commands/config/context/list.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/context/list.ts ) _
250
+ _ See code: [ src/commands/config/context/list.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/context/list.ts ) _
251
251
252
252
## ` asyncapi config context remove CONTEXT-NAME `
253
253
@@ -267,7 +267,7 @@ DESCRIPTION
267
267
Delete a context from the store
268
268
```
269
269
270
- _ See code: [ src/commands/config/context/remove.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/context/remove.ts ) _
270
+ _ See code: [ src/commands/config/context/remove.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/context/remove.ts ) _
271
271
272
272
## ` asyncapi config context use CONTEXT-NAME `
273
273
@@ -287,7 +287,7 @@ DESCRIPTION
287
287
Set a context as current
288
288
```
289
289
290
- _ See code: [ src/commands/config/context/use.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/context/use.ts ) _
290
+ _ See code: [ src/commands/config/context/use.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/context/use.ts ) _
291
291
292
292
## ` asyncapi config versions `
293
293
@@ -304,31 +304,34 @@ DESCRIPTION
304
304
Show versions of AsyncAPI tools used
305
305
```
306
306
307
- _ See code: [ src/commands/config/versions.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/config/versions.ts ) _
307
+ _ See code: [ src/commands/config/versions.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/config/versions.ts ) _
308
308
309
309
## ` asyncapi convert [SPEC-FILE] `
310
310
311
- Convert asyncapi documents older to newer versions or or OpenAPI documents to AsyncAPI
311
+ Convert asyncapi documents older to newer versions or OpenAPI documents to AsyncAPI
312
312
313
313
```
314
314
USAGE
315
- $ asyncapi convert [SPEC-FILE] [-h] [-o <value>] [-t <value>] [-p <value> ]
315
+ $ asyncapi convert [SPEC-FILE] -f openapi|asyncapi [-h] [-o <value>] [-t <value>] [-p client|server ]
316
316
317
317
ARGUMENTS
318
318
SPEC-FILE spec path, url, or context-name
319
319
320
320
FLAGS
321
+ -f, --format=<option> (required) [default: asyncapi] Specify the format to convert from (openapi or asyncapi)
322
+ <options: openapi|asyncapi>
321
323
-h, --help Show CLI help.
322
324
-o, --output=<value> path to the file where the result is saved
323
- -p, --perspective=<option> [default: server] Perspective to use when converting OpenAPI to AsyncAPI (client or server). Note: This option is only applicable for OpenAPI to AsyncAPI conversions.
325
+ -p, --perspective=<option> [default: server] Perspective to use when converting OpenAPI to AsyncAPI (client or
326
+ server). Note: This option is only applicable for OpenAPI to AsyncAPI conversions.
324
327
<options: client|server>
325
328
-t, --target-version=<value> [default: 3.0.0] asyncapi version to convert to
326
329
327
330
DESCRIPTION
328
- Convert asyncapi documents older to newer versions or or OpenAPI documents to AsyncAPI
331
+ Convert asyncapi documents older to newer versions or OpenAPI documents to AsyncAPI
329
332
```
330
333
331
- _ See code: [ src/commands/convert.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/convert.ts ) _
334
+ _ See code: [ src/commands/convert.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/convert.ts ) _
332
335
333
336
## ` asyncapi diff OLD NEW `
334
337
@@ -368,7 +371,7 @@ DESCRIPTION
368
371
Find diff between two asyncapi files
369
372
```
370
373
371
- _ See code: [ src/commands/diff.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/diff.ts ) _
374
+ _ See code: [ src/commands/diff.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/diff.ts ) _
372
375
373
376
## ` asyncapi generate `
374
377
@@ -382,7 +385,7 @@ DESCRIPTION
382
385
Generate typed models or other things like clients, applications or docs using AsyncAPI Generator templates.
383
386
```
384
387
385
- _ See code: [ src/commands/generate/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/generate/index.ts ) _
388
+ _ See code: [ src/commands/generate/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/generate/index.ts ) _
386
389
387
390
## ` asyncapi generate fromTemplate ASYNCAPI TEMPLATE `
388
391
@@ -426,7 +429,7 @@ EXAMPLES
426
429
$ asyncapi generate fromTemplate asyncapi.yaml @asyncapi/html-template --param version=1.0.0 singleFile=true --output ./docs --force-write
427
430
```
428
431
429
- _ See code: [ src/commands/generate/fromTemplate.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/generate/fromTemplate.ts ) _
432
+ _ See code: [ src/commands/generate/fromTemplate.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/generate/fromTemplate.ts ) _
430
433
431
434
## ` asyncapi generate models LANGUAGE FILE `
432
435
@@ -497,7 +500,7 @@ DESCRIPTION
497
500
Generates typed models
498
501
```
499
502
500
- _ See code: [ src/commands/generate/models.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/generate/models.ts ) _
503
+ _ See code: [ src/commands/generate/models.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/generate/models.ts ) _
501
504
502
505
## ` asyncapi new `
503
506
@@ -555,7 +558,7 @@ EXAMPLES
555
558
$ asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty - create a new file with a specific name, using one of the examples and without interactive mode
556
559
```
557
560
558
- _ See code: [ src/commands/new/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/new/index.ts ) _
561
+ _ See code: [ src/commands/new/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/new/index.ts ) _
559
562
560
563
## ` asyncapi new file `
561
564
@@ -613,7 +616,7 @@ EXAMPLES
613
616
$ asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty - create a new file with a specific name, using one of the examples and without interactive mode
614
617
```
615
618
616
- _ See code: [ src/commands/new/file.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/new/file.ts ) _
619
+ _ See code: [ src/commands/new/file.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/new/file.ts ) _
617
620
618
621
## ` asyncapi new glee `
619
622
@@ -635,7 +638,7 @@ DESCRIPTION
635
638
Creates a new Glee project
636
639
```
637
640
638
- _ See code: [ src/commands/new/glee.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/new/glee.ts ) _
641
+ _ See code: [ src/commands/new/glee.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/new/glee.ts ) _
639
642
640
643
## ` asyncapi new template `
641
644
@@ -659,7 +662,7 @@ DESCRIPTION
659
662
Creates a new template
660
663
```
661
664
662
- _ See code: [ src/commands/new/template.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/new/template.ts ) _
665
+ _ See code: [ src/commands/new/template.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/new/template.ts ) _
663
666
664
667
## ` asyncapi optimize [SPEC-FILE] `
665
668
@@ -701,7 +704,7 @@ EXAMPLES
701
704
$ asyncapi optimize ./asyncapi.yaml --ignore=schema
702
705
```
703
706
704
- _ See code: [ src/commands/optimize.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/optimize.ts ) _
707
+ _ See code: [ src/commands/optimize.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/optimize.ts ) _
705
708
706
709
## ` asyncapi start `
707
710
@@ -710,7 +713,7 @@ USAGE
710
713
$ asyncapi start
711
714
```
712
715
713
- _ See code: [ src/commands/start/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/start/index.ts ) _
716
+ _ See code: [ src/commands/start/index.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/start/index.ts ) _
714
717
715
718
## ` asyncapi start studio `
716
719
@@ -729,7 +732,7 @@ DESCRIPTION
729
732
starts a new local instance of Studio
730
733
```
731
734
732
- _ See code: [ src/commands/start/studio.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/start/studio.ts ) _
735
+ _ See code: [ src/commands/start/studio.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/start/studio.ts ) _
733
736
734
737
## ` asyncapi validate [SPEC-FILE] `
735
738
@@ -759,5 +762,5 @@ DESCRIPTION
759
762
validate asyncapi file
760
763
```
761
764
762
- _ See code: [ src/commands/validate.ts] ( https://github.com/asyncapi/cli/blob/v2.3.12 /src/commands/validate.ts ) _
765
+ _ See code: [ src/commands/validate.ts] ( https://github.com/asyncapi/cli/blob/v2.3.13 /src/commands/validate.ts ) _
763
766
<!-- commandsstop -->
0 commit comments