Skip to content

Commit

Permalink
feat: added additional version flag -v (#1658)
Browse files Browse the repository at this point in the history
Co-authored-by: asyncapi-bot <[email protected]>
  • Loading branch information
Adi-204 and asyncapi-bot authored Feb 14, 2025
1 parent 755339a commit 5becbe3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ The AsyncAPI CLI makes it easier to work with AsyncAPI documents.
$ npm install -g @asyncapi/cli
$ asyncapi COMMAND
running command...
$ asyncapi (--version)
@asyncapi/cli/2.14.1 linux-x64 node-v18.20.5
$ asyncapi (--version | --v)
@asyncapi/cli/2.16.1 linux-x64 node-v18.20.5
$ asyncapi --help [COMMAND]
USAGE
$ asyncapi COMMAND
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
"oclif": {
"commands": "./lib/commands",
"bin": "asyncapi",
"additionalVersionFlags": ["--v"],
"hooks": {
"command_not_found": [
"./lib/hooks/command_not_found/myhook"
Expand Down

0 comments on commit 5becbe3

Please sign in to comment.