@@ -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.4.0 linux-x64 node-v18.20.4
30
+ @asyncapi/cli/2.4.1 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.4.0 /src/commands/bundle.ts ) _
102
+ _ See code: [ src/commands/bundle.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/index.ts ) _
116
+ _ See code: [ src/commands/config/index.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/analytics.ts ) _
136
+ _ See code: [ src/commands/config/analytics.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/context/index.ts ) _
150
+ _ See code: [ src/commands/config/context/index.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/context/add.ts ) _
172
+ _ See code: [ src/commands/config/context/add.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/context/current.ts ) _
189
+ _ See code: [ src/commands/config/context/current.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/context/edit.ts ) _
210
+ _ See code: [ src/commands/config/context/edit.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/context/init.ts ) _
233
+ _ See code: [ src/commands/config/context/init.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/context/list.ts ) _
250
+ _ See code: [ src/commands/config/context/list.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/context/remove.ts ) _
270
+ _ See code: [ src/commands/config/context/remove.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /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.4.0 /src/commands/config/context/use.ts ) _
290
+ _ See code: [ src/commands/config/context/use.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/config/context/use.ts ) _
291
291
292
292
## ` asyncapi config versions `
293
293
@@ -304,7 +304,7 @@ 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.4.0 /src/commands/config/versions.ts ) _
307
+ _ See code: [ src/commands/config/versions.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/config/versions.ts ) _
308
308
309
309
## ` asyncapi convert [SPEC-FILE] `
310
310
@@ -331,7 +331,7 @@ DESCRIPTION
331
331
Convert asyncapi documents older to newer versions or OpenAPI documents to AsyncAPI
332
332
```
333
333
334
- _ See code: [ src/commands/convert.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/convert.ts ) _
334
+ _ See code: [ src/commands/convert.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/convert.ts ) _
335
335
336
336
## ` asyncapi diff OLD NEW `
337
337
@@ -371,7 +371,7 @@ DESCRIPTION
371
371
Find diff between two asyncapi files
372
372
```
373
373
374
- _ See code: [ src/commands/diff.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/diff.ts ) _
374
+ _ See code: [ src/commands/diff.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/diff.ts ) _
375
375
376
376
## ` asyncapi generate `
377
377
@@ -385,7 +385,7 @@ DESCRIPTION
385
385
Generate typed models or other things like clients, applications or docs using AsyncAPI Generator templates.
386
386
```
387
387
388
- _ See code: [ src/commands/generate/index.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/generate/index.ts ) _
388
+ _ See code: [ src/commands/generate/index.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/generate/index.ts ) _
389
389
390
390
## ` asyncapi generate fromTemplate ASYNCAPI TEMPLATE `
391
391
@@ -395,7 +395,7 @@ Generates whatever you want using templates compatible with AsyncAPI Generator.
395
395
USAGE
396
396
$ asyncapi generate fromTemplate ASYNCAPI TEMPLATE [-h] [-d <value>...] [--no-interactive] [-i] [--debug] [-n <value>...]
397
397
[-o <value>] [--force-write] [-w] [-p <value>...] [--map-base-url <value>] [--registry-url <value>] [--registry-auth
398
- <value>] [--registry-token <value>]
398
+ <value>] [--registry-token <value>] [--use-new-generator]
399
399
400
400
ARGUMENTS
401
401
ASYNCAPI - Local path, url or context-name pointing to AsyncAPI file
@@ -421,6 +421,7 @@ FLAGS
421
421
username and password
422
422
--registry-url=<value> [default: https://registry.npmjs.org] Specifies the URL of the private registry for
423
423
fetching templates and dependencies
424
+ --use-new-generator Use v2 generator, for generating from newer templates
424
425
425
426
DESCRIPTION
426
427
Generates whatever you want using templates compatible with AsyncAPI Generator.
@@ -429,7 +430,7 @@ EXAMPLES
429
430
$ asyncapi generate fromTemplate asyncapi.yaml @asyncapi/html-template --param version=1.0.0 singleFile=true --output ./docs --force-write
430
431
```
431
432
432
- _ See code: [ src/commands/generate/fromTemplate.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/generate/fromTemplate.ts ) _
433
+ _ See code: [ src/commands/generate/fromTemplate.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/generate/fromTemplate.ts ) _
433
434
434
435
## ` asyncapi generate models LANGUAGE FILE `
435
436
@@ -500,7 +501,7 @@ DESCRIPTION
500
501
Generates typed models
501
502
```
502
503
503
- _ See code: [ src/commands/generate/models.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/generate/models.ts ) _
504
+ _ See code: [ src/commands/generate/models.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/generate/models.ts ) _
504
505
505
506
## ` asyncapi new `
506
507
@@ -558,7 +559,7 @@ EXAMPLES
558
559
$ 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
559
560
```
560
561
561
- _ See code: [ src/commands/new/index.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/new/index.ts ) _
562
+ _ See code: [ src/commands/new/index.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/new/index.ts ) _
562
563
563
564
## ` asyncapi new file `
564
565
@@ -616,7 +617,7 @@ EXAMPLES
616
617
$ 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
617
618
```
618
619
619
- _ See code: [ src/commands/new/file.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/new/file.ts ) _
620
+ _ See code: [ src/commands/new/file.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/new/file.ts ) _
620
621
621
622
## ` asyncapi new glee `
622
623
@@ -638,7 +639,7 @@ DESCRIPTION
638
639
Creates a new Glee project
639
640
```
640
641
641
- _ See code: [ src/commands/new/glee.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/new/glee.ts ) _
642
+ _ See code: [ src/commands/new/glee.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/new/glee.ts ) _
642
643
643
644
## ` asyncapi new template `
644
645
@@ -662,7 +663,7 @@ DESCRIPTION
662
663
Creates a new template
663
664
```
664
665
665
- _ See code: [ src/commands/new/template.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/new/template.ts ) _
666
+ _ See code: [ src/commands/new/template.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/new/template.ts ) _
666
667
667
668
## ` asyncapi optimize [SPEC-FILE] `
668
669
@@ -704,7 +705,7 @@ EXAMPLES
704
705
$ asyncapi optimize ./asyncapi.yaml --ignore=schema
705
706
```
706
707
707
- _ See code: [ src/commands/optimize.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/optimize.ts ) _
708
+ _ See code: [ src/commands/optimize.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/optimize.ts ) _
708
709
709
710
## ` asyncapi start `
710
711
@@ -713,7 +714,7 @@ USAGE
713
714
$ asyncapi start
714
715
```
715
716
716
- _ See code: [ src/commands/start/index.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/start/index.ts ) _
717
+ _ See code: [ src/commands/start/index.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/start/index.ts ) _
717
718
718
719
## ` asyncapi start studio `
719
720
@@ -732,7 +733,7 @@ DESCRIPTION
732
733
starts a new local instance of Studio
733
734
```
734
735
735
- _ See code: [ src/commands/start/studio.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/start/studio.ts ) _
736
+ _ See code: [ src/commands/start/studio.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/start/studio.ts ) _
736
737
737
738
## ` asyncapi validate [SPEC-FILE] `
738
739
@@ -762,5 +763,5 @@ DESCRIPTION
762
763
validate asyncapi file
763
764
```
764
765
765
- _ See code: [ src/commands/validate.ts] ( https://github.com/asyncapi/cli/blob/v2.4.0 /src/commands/validate.ts ) _
766
+ _ See code: [ src/commands/validate.ts] ( https://github.com/asyncapi/cli/blob/v2.4.1 /src/commands/validate.ts ) _
766
767
<!-- commandsstop -->
0 commit comments