Skip to content

Commit 9b5332f

Browse files
authored
chore(release): v1.13.0 (#1423)
1 parent 254c721 commit 9b5332f

File tree

3 files changed

+35
-32
lines changed

3 files changed

+35
-32
lines changed

docs/usage.md

Lines changed: 32 additions & 29 deletions
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.12.2 linux-x64 node-v18.20.2
30+
@asyncapi/cli/1.12.3 linux-x64 node-v18.20.2
3131
$ asyncapi --help [COMMAND]
3232
USAGE
3333
$ asyncapi COMMAND
@@ -96,7 +96,7 @@ EXAMPLES
9696
$ asyncapi bundle ./asyncapi.yaml -o final-asyncapi.yaml --base ../public-api/main.yaml --baseDir ./social-media/comments-service
9797
```
9898

99-
_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/bundle.ts)_
99+
_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/bundle.ts)_
100100

101101
## `asyncapi config`
102102

@@ -110,7 +110,7 @@ DESCRIPTION
110110
CLI config settings
111111
```
112112

113-
_See code: [src/commands/config/index.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/index.ts)_
113+
_See code: [src/commands/config/index.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/index.ts)_
114114

115115
## `asyncapi config analytics`
116116

@@ -130,7 +130,7 @@ DESCRIPTION
130130
Enable or disable analytics for metrics collection
131131
```
132132

133-
_See code: [src/commands/config/analytics.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/analytics.ts)_
133+
_See code: [src/commands/config/analytics.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/analytics.ts)_
134134

135135
## `asyncapi config context`
136136

@@ -144,7 +144,7 @@ DESCRIPTION
144144
Manage short aliases for full paths to AsyncAPI documents
145145
```
146146

147-
_See code: [src/commands/config/context/index.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/context/index.ts)_
147+
_See code: [src/commands/config/context/index.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/context/index.ts)_
148148

149149
## `asyncapi config context add CONTEXT-NAME SPEC-FILE-PATH`
150150

@@ -166,7 +166,7 @@ DESCRIPTION
166166
Add a context to the store
167167
```
168168

169-
_See code: [src/commands/config/context/add.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/context/add.ts)_
169+
_See code: [src/commands/config/context/add.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/context/add.ts)_
170170

171171
## `asyncapi config context current`
172172

@@ -183,7 +183,7 @@ DESCRIPTION
183183
Shows the current context that is being used
184184
```
185185

186-
_See code: [src/commands/config/context/current.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/context/current.ts)_
186+
_See code: [src/commands/config/context/current.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/context/current.ts)_
187187

188188
## `asyncapi config context edit CONTEXT-NAME NEW-SPEC-FILE-PATH`
189189

@@ -204,7 +204,7 @@ DESCRIPTION
204204
Edit a context in the store
205205
```
206206

207-
_See code: [src/commands/config/context/edit.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/context/edit.ts)_
207+
_See code: [src/commands/config/context/edit.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/context/edit.ts)_
208208

209209
## `asyncapi config context init [CONTEXT-FILE-PATH]`
210210

@@ -227,7 +227,7 @@ DESCRIPTION
227227
Initialize context
228228
```
229229

230-
_See code: [src/commands/config/context/init.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/context/init.ts)_
230+
_See code: [src/commands/config/context/init.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/context/init.ts)_
231231

232232
## `asyncapi config context list`
233233

@@ -244,7 +244,7 @@ DESCRIPTION
244244
List all the stored contexts in the store
245245
```
246246

247-
_See code: [src/commands/config/context/list.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/context/list.ts)_
247+
_See code: [src/commands/config/context/list.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/context/list.ts)_
248248

249249
## `asyncapi config context remove CONTEXT-NAME`
250250

@@ -264,7 +264,7 @@ DESCRIPTION
264264
Delete a context from the store
265265
```
266266

267-
_See code: [src/commands/config/context/remove.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/context/remove.ts)_
267+
_See code: [src/commands/config/context/remove.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/context/remove.ts)_
268268

269269
## `asyncapi config context use CONTEXT-NAME`
270270

@@ -284,7 +284,7 @@ DESCRIPTION
284284
Set a context as current
285285
```
286286

287-
_See code: [src/commands/config/context/use.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/context/use.ts)_
287+
_See code: [src/commands/config/context/use.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/context/use.ts)_
288288

289289
## `asyncapi config versions`
290290

@@ -301,7 +301,7 @@ DESCRIPTION
301301
Show versions of AsyncAPI tools used
302302
```
303303

304-
_See code: [src/commands/config/versions.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/config/versions.ts)_
304+
_See code: [src/commands/config/versions.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/config/versions.ts)_
305305

306306
## `asyncapi convert [SPEC-FILE]`
307307

@@ -323,7 +323,7 @@ DESCRIPTION
323323
Convert asyncapi documents older to newer versions
324324
```
325325

326-
_See code: [src/commands/convert.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/convert.ts)_
326+
_See code: [src/commands/convert.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/convert.ts)_
327327

328328
## `asyncapi diff OLD NEW`
329329

@@ -378,7 +378,7 @@ DESCRIPTION
378378
Find diff between two asyncapi files
379379
```
380380

381-
_See code: [src/commands/diff.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/diff.ts)_
381+
_See code: [src/commands/diff.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/diff.ts)_
382382

383383
## `asyncapi generate`
384384

@@ -392,7 +392,7 @@ DESCRIPTION
392392
Generate typed models or other things like clients, applications or docs using AsyncAPI Generator templates.
393393
```
394394

395-
_See code: [src/commands/generate/index.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/generate/index.ts)_
395+
_See code: [src/commands/generate/index.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/generate/index.ts)_
396396

397397
## `asyncapi generate fromTemplate [ASYNCAPI] [TEMPLATE]`
398398

@@ -401,7 +401,8 @@ Generates whatever you want using templates compatible with AsyncAPI Generator.
401401
```
402402
USAGE
403403
$ asyncapi generate fromTemplate [ASYNCAPI] [TEMPLATE] [-h] [-d <value>] [--no-interactive] [-i] [--debug] [-n <value>]
404-
[-o <value>] [--force-write] [-w] [-p <value>] [--map-base-url <value>]
404+
[-o <value>] [--force-write] [-w] [-p <value>] [--map-base-url <value>] [--registry-url <value>] [--registry-auth
405+
<value>] [--registry-token <value>]
405406
406407
ARGUMENTS
407408
ASYNCAPI - Local path, url or context-name pointing to AsyncAPI file
@@ -422,9 +423,11 @@ FLAGS
422423
unstaged files or not empty dir (defaults to false)
423424
--map-base-url=<value> Maps all schema references from base url to local folder
424425
--no-interactive Disable interactive mode and run with the provided flags.
425-
--registry-url Specifies the URL of the private registry for fetching templates and dependencies
426-
--registry-auth The registry username and password encoded with base64, formatted as username:password
427-
--registry-token The npm registry authentication token, that can be passed instead of base64 encoded username and password
426+
--registry-auth=<value> The registry username and password encoded with base64, formatted as username:password
427+
--registry-token=<value> The npm registry authentication token, that can be passed instead of base64 encoded
428+
username and password
429+
--registry-url=<value> [default: https://registry.npmjs.org] Specifies the URL of the private registry for
430+
fetching templates and dependencies
428431
429432
DESCRIPTION
430433
Generates whatever you want using templates compatible with AsyncAPI Generator.
@@ -433,7 +436,7 @@ EXAMPLES
433436
$ asyncapi generate fromTemplate asyncapi.yaml @asyncapi/html-template --param version=1.0.0 singleFile=true --output ./docs --force-write
434437
```
435438

436-
_See code: [src/commands/generate/fromTemplate.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/generate/fromTemplate.ts)_
439+
_See code: [src/commands/generate/fromTemplate.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/generate/fromTemplate.ts)_
437440

438441
## `asyncapi generate models [LANGUAGE] [FILE]`
439442

@@ -519,7 +522,7 @@ DESCRIPTION
519522
Generates typed models
520523
```
521524

522-
_See code: [src/commands/generate/models.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/generate/models.ts)_
525+
_See code: [src/commands/generate/models.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/generate/models.ts)_
523526

524527
## `asyncapi new`
525528

@@ -576,7 +579,7 @@ EXAMPLES
576579
$ 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
577580
```
578581

579-
_See code: [src/commands/new/index.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/new/index.ts)_
582+
_See code: [src/commands/new/index.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/new/index.ts)_
580583

581584
## `asyncapi new file`
582585

@@ -633,7 +636,7 @@ EXAMPLES
633636
$ 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
634637
```
635638

636-
_See code: [src/commands/new/file.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/new/file.ts)_
639+
_See code: [src/commands/new/file.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/new/file.ts)_
637640

638641
## `asyncapi new glee`
639642

@@ -655,7 +658,7 @@ DESCRIPTION
655658
Creates a new Glee project
656659
```
657660

658-
_See code: [src/commands/new/glee.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/new/glee.ts)_
661+
_See code: [src/commands/new/glee.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/new/glee.ts)_
659662

660663
## `asyncapi optimize [SPEC-FILE]`
661664

@@ -693,7 +696,7 @@ EXAMPLES
693696
$ asyncapi optimize ./asyncapi.yaml --optimization=remove-components --output=terminal --no-tty
694697
```
695698

696-
_See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/optimize.ts)_
699+
_See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/optimize.ts)_
697700

698701
## `asyncapi start`
699702

@@ -707,7 +710,7 @@ DESCRIPTION
707710
Start asyncapi studio
708711
```
709712

710-
_See code: [src/commands/start/index.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/start/index.ts)_
713+
_See code: [src/commands/start/index.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/start/index.ts)_
711714

712715
## `asyncapi start studio`
713716

@@ -726,7 +729,7 @@ DESCRIPTION
726729
starts a new local instance of Studio
727730
```
728731

729-
_See code: [src/commands/start/studio.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/start/studio.ts)_
732+
_See code: [src/commands/start/studio.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/start/studio.ts)_
730733

731734
## `asyncapi validate [SPEC-FILE]`
732735

@@ -753,5 +756,5 @@ DESCRIPTION
753756
validate asyncapi file
754757
```
755758

756-
_See code: [src/commands/validate.ts](https://github.com/asyncapi/cli/blob/v1.12.2/src/commands/validate.ts)_
759+
_See code: [src/commands/validate.ts](https://github.com/asyncapi/cli/blob/v1.12.3/src/commands/validate.ts)_
757760
<!-- commandsstop -->

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
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.12.3",
4+
"version": "1.13.0",
55
"author": "@asyncapi",
66
"bin": {
77
"asyncapi": "./bin/run_bin"

0 commit comments

Comments
 (0)