-
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add initial structure of the project and first feature to valid…
…ate asyncapi files (#5)
- Loading branch information
Showing
21 changed files
with
22,288 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto eol=lf |
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
|
||
.DS_Store | ||
/node_modules/ | ||
/dist/ | ||
.idea |
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 |
---|---|---|
@@ -1,5 +1,31 @@ | ||
WORK IN PROGRESS | ||
<h5 align="center"> | ||
<br> | ||
<a href="https://www.asyncapi.org"><img src="https://github.com/asyncapi/parser-nodejs/raw/master/assets/logo.png" alt="AsyncAPI logo" width="200"></a> | ||
<br> | ||
AsyncAPI CLI | ||
</h5> | ||
<p align="center"> | ||
<em>CLI to work with your AsyncAPI files. Currently supports validation, but it is under development for more features.</em> | ||
</p> | ||
|
||
CLI to work with your AsyncAPI files. You can validate them, use generator and even bootstrap a new file. | ||
### Install | ||
```bash | ||
$ npm install --global @asyncapi/cli | ||
``` | ||
|
||
Feel free to jump into the issues/PRs section and give your feedback on what we want to work on. | ||
### CLI | ||
``` | ||
$ asyncapi --help | ||
Usage | ||
$ asyncapi command options | ||
Commands | ||
validate | ||
Options | ||
-c --context Your AsyncAPI specification | ||
-w --watch Enable watchMode (not implemented yet) | ||
Examples | ||
$ asyncapi validate --context=specification.yml | ||
``` |
Oops, something went wrong.