Skip to content

Commit fbbce09

Browse files
authored
chore(release): v2.0.0 (#1461)
1 parent 66bf661 commit fbbce09

File tree

3 files changed

+36
-36
lines changed

3 files changed

+36
-36
lines changed

docs/usage.md

+33-33
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $ npm install -g @asyncapi/cli
2727
$ asyncapi COMMAND
2828
running command...
2929
$ asyncapi (--version)
30-
@asyncapi/cli/1.17.0 linux-x64 node-v18.20.3
30+
@asyncapi/cli/1.18.0 linux-x64 node-v18.20.3
3131
$ asyncapi --help [COMMAND]
3232
USAGE
3333
$ asyncapi COMMAND
@@ -98,7 +98,7 @@ EXAMPLES
9898
$ asyncapi bundle ./asyncapi.yaml -o final-asyncapi.yaml --base ../public-api/main.yaml --baseDir ./social-media/comments-service
9999
```
100100

101-
_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/bundle.ts)_
101+
_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/bundle.ts)_
102102

103103
## `asyncapi config`
104104

@@ -112,7 +112,7 @@ DESCRIPTION
112112
CLI config settings
113113
```
114114

115-
_See code: [src/commands/config/index.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/index.ts)_
115+
_See code: [src/commands/config/index.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/index.ts)_
116116

117117
## `asyncapi config analytics`
118118

@@ -132,7 +132,7 @@ DESCRIPTION
132132
Enable or disable analytics for metrics collection
133133
```
134134

135-
_See code: [src/commands/config/analytics.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/analytics.ts)_
135+
_See code: [src/commands/config/analytics.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/analytics.ts)_
136136

137137
## `asyncapi config context`
138138

@@ -146,7 +146,7 @@ DESCRIPTION
146146
Manage short aliases for full paths to AsyncAPI documents
147147
```
148148

149-
_See code: [src/commands/config/context/index.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/context/index.ts)_
149+
_See code: [src/commands/config/context/index.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/context/index.ts)_
150150

151151
## `asyncapi config context add CONTEXT-NAME SPEC-FILE-PATH`
152152

@@ -168,7 +168,7 @@ DESCRIPTION
168168
Add a context to the store
169169
```
170170

171-
_See code: [src/commands/config/context/add.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/context/add.ts)_
171+
_See code: [src/commands/config/context/add.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/context/add.ts)_
172172

173173
## `asyncapi config context current`
174174

@@ -185,7 +185,7 @@ DESCRIPTION
185185
Shows the current context that is being used
186186
```
187187

188-
_See code: [src/commands/config/context/current.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/context/current.ts)_
188+
_See code: [src/commands/config/context/current.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/context/current.ts)_
189189

190190
## `asyncapi config context edit CONTEXT-NAME NEW-SPEC-FILE-PATH`
191191

@@ -206,7 +206,7 @@ DESCRIPTION
206206
Edit a context in the store
207207
```
208208

209-
_See code: [src/commands/config/context/edit.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/context/edit.ts)_
209+
_See code: [src/commands/config/context/edit.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/context/edit.ts)_
210210

211211
## `asyncapi config context init [CONTEXT-FILE-PATH]`
212212

@@ -229,7 +229,7 @@ DESCRIPTION
229229
Initialize context
230230
```
231231

232-
_See code: [src/commands/config/context/init.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/context/init.ts)_
232+
_See code: [src/commands/config/context/init.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/context/init.ts)_
233233

234234
## `asyncapi config context list`
235235

@@ -246,7 +246,7 @@ DESCRIPTION
246246
List all the stored contexts in the store
247247
```
248248

249-
_See code: [src/commands/config/context/list.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/context/list.ts)_
249+
_See code: [src/commands/config/context/list.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/context/list.ts)_
250250

251251
## `asyncapi config context remove CONTEXT-NAME`
252252

@@ -266,7 +266,7 @@ DESCRIPTION
266266
Delete a context from the store
267267
```
268268

269-
_See code: [src/commands/config/context/remove.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/context/remove.ts)_
269+
_See code: [src/commands/config/context/remove.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/context/remove.ts)_
270270

271271
## `asyncapi config context use CONTEXT-NAME`
272272

@@ -286,7 +286,7 @@ DESCRIPTION
286286
Set a context as current
287287
```
288288

289-
_See code: [src/commands/config/context/use.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/context/use.ts)_
289+
_See code: [src/commands/config/context/use.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/context/use.ts)_
290290

291291
## `asyncapi config versions`
292292

@@ -303,7 +303,7 @@ DESCRIPTION
303303
Show versions of AsyncAPI tools used
304304
```
305305

306-
_See code: [src/commands/config/versions.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/config/versions.ts)_
306+
_See code: [src/commands/config/versions.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/config/versions.ts)_
307307

308308
## `asyncapi convert [SPEC-FILE]`
309309

@@ -325,7 +325,7 @@ DESCRIPTION
325325
Convert asyncapi documents older to newer versions
326326
```
327327

328-
_See code: [src/commands/convert.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/convert.ts)_
328+
_See code: [src/commands/convert.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/convert.ts)_
329329

330330
## `asyncapi diff OLD NEW`
331331

@@ -365,7 +365,7 @@ DESCRIPTION
365365
Find diff between two asyncapi files
366366
```
367367

368-
_See code: [src/commands/diff.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/diff.ts)_
368+
_See code: [src/commands/diff.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/diff.ts)_
369369

370370
## `asyncapi generate`
371371

@@ -379,7 +379,7 @@ DESCRIPTION
379379
Generate typed models or other things like clients, applications or docs using AsyncAPI Generator templates.
380380
```
381381

382-
_See code: [src/commands/generate/index.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/generate/index.ts)_
382+
_See code: [src/commands/generate/index.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/generate/index.ts)_
383383

384384
## `asyncapi generate fromTemplate ASYNCAPI TEMPLATE`
385385

@@ -423,25 +423,25 @@ EXAMPLES
423423
$ asyncapi generate fromTemplate asyncapi.yaml @asyncapi/html-template --param version=1.0.0 singleFile=true --output ./docs --force-write
424424
```
425425

426-
_See code: [src/commands/generate/fromTemplate.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/generate/fromTemplate.ts)_
426+
_See code: [src/commands/generate/fromTemplate.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/generate/fromTemplate.ts)_
427427

428428
## `asyncapi generate models LANGUAGE FILE`
429429

430430
Generates typed models
431431

432432
```
433433
USAGE
434-
$ asyncapi generate models LANGUAGE FILE [-h] [--no-interactive] [-o <value>] [--tsModelType class|interface]
435-
[--tsEnumType enum|union] [--tsModuleSystem ESM|CJS] [--tsIncludeComments] [--tsExportType default|named]
436-
[--tsJsonBinPack] [--tsMarshalling] [--tsExampleInstance] [--tsRawPropertyNames] [--packageName <value>]
437-
[--javaIncludeComments] [--javaJackson] [--javaConstraints] [--namespace <value>] [--csharpAutoImplement]
438-
[--csharpNewtonsoft] [--csharpArrayType Array|List] [--csharpHashcode] [--csharpEqual] [--csharpSystemJson]
434+
$ asyncapi generate models LANGUAGE FILE [-h] [-o <value>] [--packageName <value>] [--namespace <value>]
435+
[--tsModelType class|interface] [--tsEnumType enum|union] [--tsModuleSystem ESM|CJS] [--tsIncludeComments]
436+
[--tsExportType default|named] [--tsJsonBinPack] [--tsMarshalling] [--tsExampleInstance] [--tsRawPropertyNames]
437+
[--csharpAutoImplement] [--csharpNewtonsoft] [--csharpArrayType Array|List] [--csharpHashcode] [--csharpEqual]
438+
[--csharpSystemJson] [--javaIncludeComments] [--javaJackson] [--javaConstraints] [--no-interactive]
439439
[--log-diagnostics] [--diagnostics-format json|stylish|junit|html|text|teamcity|pretty] [--fail-severity
440440
error|warn|info|hint]
441441
442442
ARGUMENTS
443-
LANGUAGE (typescript|csharp|golang|java|javascript|dart|python|rust|kotlin|php|cplusplus) The language you want the
444-
typed models generated for.
443+
LANGUAGE (typescript|csharp|golang|java|javascript|dart|python|rust|kotlin|php|cplusplus|scala) The language you want
444+
the typed models generated for.
445445
FILE Path or URL to the AsyncAPI document, or context-name
446446
447447
FLAGS
@@ -472,7 +472,7 @@ FLAGS
472472
--tsEnumType=<option> [default: enum] TypeScript specific, define which type of enums needs to be
473473
generated.
474474
<options: enum|union>
475-
--tsExampleInstance Typescript specific, generate example of the model
475+
--tsExampleInstance Typescript specific, generate example of the model.
476476
--tsExportType=<option> [default: default] TypeScript specific, define which type of export needs to be
477477
generated.
478478
<options: default|named>
@@ -491,7 +491,7 @@ DESCRIPTION
491491
Generates typed models
492492
```
493493

494-
_See code: [src/commands/generate/models.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/generate/models.ts)_
494+
_See code: [src/commands/generate/models.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/generate/models.ts)_
495495

496496
## `asyncapi new`
497497

@@ -548,7 +548,7 @@ EXAMPLES
548548
$ 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
549549
```
550550

551-
_See code: [src/commands/new/index.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/new/index.ts)_
551+
_See code: [src/commands/new/index.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/new/index.ts)_
552552

553553
## `asyncapi new file`
554554

@@ -605,7 +605,7 @@ EXAMPLES
605605
$ 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
606606
```
607607

608-
_See code: [src/commands/new/file.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/new/file.ts)_
608+
_See code: [src/commands/new/file.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/new/file.ts)_
609609

610610
## `asyncapi new glee`
611611

@@ -627,7 +627,7 @@ DESCRIPTION
627627
Creates a new Glee project
628628
```
629629

630-
_See code: [src/commands/new/glee.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/new/glee.ts)_
630+
_See code: [src/commands/new/glee.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/new/glee.ts)_
631631

632632
## `asyncapi optimize [SPEC-FILE]`
633633

@@ -665,7 +665,7 @@ EXAMPLES
665665
$ asyncapi optimize ./asyncapi.yaml --optimization=remove-components --output=terminal --no-tty
666666
```
667667

668-
_See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/optimize.ts)_
668+
_See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/optimize.ts)_
669669

670670
## `asyncapi start`
671671

@@ -674,7 +674,7 @@ USAGE
674674
$ asyncapi start
675675
```
676676

677-
_See code: [src/commands/start/index.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/start/index.ts)_
677+
_See code: [src/commands/start/index.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/start/index.ts)_
678678

679679
## `asyncapi start studio`
680680

@@ -693,7 +693,7 @@ DESCRIPTION
693693
starts a new local instance of Studio
694694
```
695695

696-
_See code: [src/commands/start/studio.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/start/studio.ts)_
696+
_See code: [src/commands/start/studio.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/start/studio.ts)_
697697

698698
## `asyncapi validate [SPEC-FILE]`
699699

@@ -721,5 +721,5 @@ DESCRIPTION
721721
validate asyncapi file
722722
```
723723

724-
_See code: [src/commands/validate.ts](https://github.com/asyncapi/cli/blob/v1.17.0/src/commands/validate.ts)_
724+
_See code: [src/commands/validate.ts](https://github.com/asyncapi/cli/blob/v1.18.0/src/commands/validate.ts)_
725725
<!-- commandsstop -->

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@asyncapi/cli",
33
"description": "All in one CLI for all AsyncAPI tools",
4-
"version": "1.18.0",
4+
"version": "2.0.0",
55
"author": "@asyncapi",
66
"bin": {
77
"asyncapi": "./bin/run_bin"

0 commit comments

Comments
 (0)