-
-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd6d6ee
commit 46e6722
Showing
5 changed files
with
30 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ weight: 30 | |
--- | ||
|
||
There are two ways to use the generator: | ||
- [Generator CLI](#generator-cli) | ||
- [AsyncAPI CLI](#generator-cli) | ||
- [Generator library](#using-as-a-modulepackage) | ||
|
||
## Generator CLI | ||
## AsyncAPI CLI | ||
```bash | ||
Usage: asyncapi generate fromTemplate <asyncapi> <template> [<options>] | ||
|
||
|
@@ -43,7 +43,7 @@ npm install <folder> | |
### Global templates installed with `yarn` or `npm` | ||
You can preinstall templates globally before installing the generator CLI. The generator first tries to locate the template in local dependencies; if absent it checks where the global generator packages are installed. | ||
You can preinstall templates globally before installing the AsyncAPI CLI. The generator first tries to locate the template in local dependencies; if absent it checks where the global generator packages are installed. | ||
```bash | ||
npm install -g @asyncapi/[email protected] | ||
|