cli
cli copied to clipboard
feat: format command to convert asyncapi document to multiple format
Description Added a new format command. used js-yaml which was already a dependency.
-f flag defines the output format.
if -o flag is provided writes output to a file, else logs in the console.
Corner case checks
Help
Related issue(s) #1535
should the tests be included in this PR or i create another one after this is finalized.
Edit: I have added the tests also
@catosaurusrex2003 you have some lint issues, can you have a look.
@Souvikns fixed
Quality Gate passed
Issues
6 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
@Souvikns is something else required in this ?
/rtm
:tada: This PR is included in version 2.10.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: