Skip to content

Commit

Permalink
chore(release): v0.54.0 (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot authored Aug 21, 2023
1 parent 5d34829 commit d9135ae
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 25 deletions.
110 changes: 88 additions & 22 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $ npm install -g @asyncapi/cli
$ asyncapi COMMAND
running command...
$ asyncapi (--version)
@asyncapi/cli/0.52.5 linux-x64 node-v18.17.0
@asyncapi/cli/0.53.0 linux-x64 node-v18.17.0
$ asyncapi --help [COMMAND]
USAGE
$ asyncapi COMMAND
Expand Down Expand Up @@ -93,7 +93,7 @@ EXAMPLES
$ asyncapi bundle ./asyncapi.yaml ./features.yaml --base ./asyncapi.yaml --reference-into-components
```

_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/bundle.ts)_
_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/bundle.ts)_

## `asyncapi config`

Expand All @@ -107,7 +107,7 @@ DESCRIPTION
CLI config settings
```

_See code: [src/commands/config/index.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/config/index.ts)_
_See code: [src/commands/config/index.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/config/index.ts)_

## `asyncapi config context`

Expand Down Expand Up @@ -282,7 +282,7 @@ DESCRIPTION
Convert asyncapi documents older to newer versions
```

_See code: [src/commands/convert.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/convert.ts)_
_See code: [src/commands/convert.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/convert.ts)_

## `asyncapi diff OLD NEW`

Expand Down Expand Up @@ -337,7 +337,7 @@ DESCRIPTION
Find diff between two asyncapi files
```

_See code: [src/commands/diff.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/diff.ts)_
_See code: [src/commands/diff.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/diff.ts)_

## `asyncapi generate`

Expand All @@ -351,7 +351,7 @@ DESCRIPTION
Generate typed models or other things like clients, applications or docs using AsyncAPI Generator templates.
```

_See code: [src/commands/generate/index.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/generate/index.ts)_
_See code: [src/commands/generate/index.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/generate/index.ts)_

## `asyncapi generate fromTemplate ASYNCAPI TEMPLATE`

Expand Down Expand Up @@ -469,18 +469,51 @@ USAGE
$ asyncapi new [-h] [-n <value>] [-e <value>] [-s] [-p <value>] [--no-tty]
FLAGS
-e, --example=<value> name of the example to use
-h, --help Show CLI help.
-n, --file-name=<value> name of the file
-p, --port=<value> port in which to start Studio
-s, --studio open in Studio
--no-tty do not use an interactive terminal
-e, --example=<value>
name of the example to use. Available examples are:
- simple.yml
- anyof.yml
- application-headers.yml
- correlation-id.yml
- websocket-gemini.yml
- gitter-streaming.yml
- mercure.yml
- not.yml
- operation-security.yml
- oneof.yml
- rpc-client.yml
- rpc-server.yml
- slack-rtm.yml
- tutorial.yml
- streetlights-kafka.yml
- streetlights-operation-security.yml
- streetlights-mqtt.yml
-h, --help
Show CLI help.
-n, --file-name=<value>
name of the file
-p, --port=<value>
port in which to start Studio
-s, --studio
open in Studio
--no-tty
do not use an interactive terminal
DESCRIPTION
Creates a new asyncapi file
EXAMPLES
$ asyncapi new - start creation of a file in interactive mode
$ 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
```

_See code: [src/commands/new/index.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/new/index.ts)_
_See code: [src/commands/new/index.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/new/index.ts)_

## `asyncapi new file`

Expand All @@ -491,15 +524,48 @@ USAGE
$ asyncapi new file [-h] [-n <value>] [-e <value>] [-s] [-p <value>] [--no-tty]
FLAGS
-e, --example=<value> name of the example to use
-h, --help Show CLI help.
-n, --file-name=<value> name of the file
-p, --port=<value> port in which to start Studio
-s, --studio open in Studio
--no-tty do not use an interactive terminal
-e, --example=<value>
name of the example to use. Available examples are:
- simple.yml
- anyof.yml
- application-headers.yml
- correlation-id.yml
- websocket-gemini.yml
- gitter-streaming.yml
- mercure.yml
- not.yml
- operation-security.yml
- oneof.yml
- rpc-client.yml
- rpc-server.yml
- slack-rtm.yml
- tutorial.yml
- streetlights-kafka.yml
- streetlights-operation-security.yml
- streetlights-mqtt.yml
-h, --help
Show CLI help.
-n, --file-name=<value>
name of the file
-p, --port=<value>
port in which to start Studio
-s, --studio
open in Studio
--no-tty
do not use an interactive terminal
DESCRIPTION
Creates a new asyncapi file
EXAMPLES
$ asyncapi new - start creation of a file in interactive mode
$ 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
```

## `asyncapi new glee`
Expand Down Expand Up @@ -568,7 +634,7 @@ EXAMPLES
$ asyncapi optimize ./asyncapi.yaml --optimization=remove-components,reuse-components,move-to-components --output=terminal --no-tty
```

_See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/optimize.ts)_
_See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/optimize.ts)_

## `asyncapi start`

Expand All @@ -582,7 +648,7 @@ DESCRIPTION
Start asyncapi studio
```

_See code: [src/commands/start/index.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/start/index.ts)_
_See code: [src/commands/start/index.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/start/index.ts)_

## `asyncapi start studio`

Expand Down Expand Up @@ -626,5 +692,5 @@ DESCRIPTION
validate asyncapi file
```

_See code: [src/commands/validate.ts](https://github.com/asyncapi/cli/blob/v0.52.5/src/commands/validate.ts)_
_See code: [src/commands/validate.ts](https://github.com/asyncapi/cli/blob/v0.53.0/src/commands/validate.ts)_
<!-- commandsstop -->
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@asyncapi/cli",
"description": "All in one CLI for all AsyncAPI tools",
"version": "0.53.0",
"version": "0.54.0",
"author": "@asyncapi",
"bin": {
"asyncapi": "./bin/run"
Expand Down

0 comments on commit d9135ae

Please sign in to comment.