Skip to content

Commit

Permalink
Merge branch 'master' into oclif
Browse files Browse the repository at this point in the history
  • Loading branch information
sambhavgupta0705 authored Jun 21, 2023
2 parents a1584fe + f7995e8 commit d83222a
Show file tree
Hide file tree
Showing 6 changed files with 150 additions and 77 deletions.
25 changes: 13 additions & 12 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.47.8 linux-x64 node-v18.16.0
@asyncapi/cli/0.48.5 linux-x64 node-v18.16.0
$ asyncapi --help [COMMAND]
USAGE
$ asyncapi COMMAND
Expand Down Expand Up @@ -91,7 +91,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.47.8/src/commands/bundle.ts)_
_See code: [src/commands/bundle.ts](https://github.com/asyncapi/cli/blob/v0.48.5/src/commands/bundle.ts)_

## `asyncapi config`

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

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

## `asyncapi config context`

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

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

## `asyncapi diff OLD NEW`

Expand All @@ -243,8 +243,8 @@ Find diff between two asyncapi files
```
USAGE
$ asyncapi diff OLD NEW [-h] [-f json|yaml|yml] [-t breaking|non-breaking|unclassified|all] [-o <value>]
[-w] [--log-diagnostics] [--diagnostics-format json|stylish|junit|html|text|teamcity|pretty] [--fail-severity
error|warn|info|hint]
[--no-error] [-w] [--log-diagnostics] [--diagnostics-format json|stylish|junit|html|text|teamcity|pretty]
[--fail-severity error|warn|info|hint]
ARGUMENTS
OLD old spec path, URL or context-name
Expand All @@ -264,12 +264,13 @@ FLAGS
--fail-severity=(error|warn|info|hint) [default: error] diagnostics of this level or
above will trigger a failure exit code
--[no-]log-diagnostics log validation diagnostics or not
--no-error don't show error on breaking changes
DESCRIPTION
Find diff between two asyncapi files
```

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

## `asyncapi generate`

Expand All @@ -283,7 +284,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.47.8/src/commands/generate/index.ts)_
_See code: [src/commands/generate/index.ts](https://github.com/asyncapi/cli/blob/v0.48.5/src/commands/generate/index.ts)_

## `asyncapi generate fromTemplate ASYNCAPI TEMPLATE`

Expand Down Expand Up @@ -407,7 +408,7 @@ DESCRIPTION
Creates a new asyncapi file
```

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

## `asyncapi new file`

Expand Down Expand Up @@ -495,7 +496,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.47.8/src/commands/optimize.ts)_
_See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v0.48.5/src/commands/optimize.ts)_

## `asyncapi start`

Expand All @@ -509,7 +510,7 @@ DESCRIPTION
Start asyncapi studio
```

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

## `asyncapi start studio`

Expand Down Expand Up @@ -553,5 +554,5 @@ DESCRIPTION
validate asyncapi file
```

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

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

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"name": "@asyncapi/cli",
"description": "All in one CLI for all AsyncAPI tools",
"version": "0.47.9",
"version": "0.48.6",
"author": "@asyncapi",
"bin": {
"asyncapi": "./bin/run"
},
"bugs": "https://github.com/asyncapi/cli/issues",
"dependencies": {
"@asyncapi/avro-schema-parser": "^3.0.1",
"@asyncapi/avro-schema-parser": "^3.0.2",
"@asyncapi/bundler": "^0.3.8",
"@asyncapi/converter": "^1.2.0",
"@asyncapi/diff": "^0.4.1",
"@asyncapi/generator": "^1.10.5",
"@asyncapi/modelina": "^1.8.4",
"@asyncapi/openapi-schema-parser": "^3.0.0",
"@asyncapi/generator": "^1.10.8",
"@asyncapi/modelina": "^1.8.6",
"@asyncapi/openapi-schema-parser": "^3.0.3",
"@asyncapi/optimizer": "^0.1.18",
"@asyncapi/parser": "^2.0.2",
"@asyncapi/raml-dt-schema-parser": "^4.0.2",
"@asyncapi/parser": "^2.0.3",
"@asyncapi/raml-dt-schema-parser": "^4.0.3",
"@asyncapi/studio": "^0.17.3",
"@oclif/core": "^1.26.2",
"@oclif/errors": "^1.3.6",
Expand Down
Loading

0 comments on commit d83222a

Please sign in to comment.