cli
cli copied to clipboard
Add `asyncapi optimize` command
This issue is for https://www.openforce.tech/ participants. If you do not participate in this even please pick up other issue from this repo, there is plenty of help needed 😄
Reason/Context
We need to enable the community to use all AsyncAPI tools in CLI if only possible -> https://github.com/asyncapi/optimizer
Description
- add new command
asyncapi optimizethat uses https://github.com/asyncapi/optimizer and enable users to optimize single AsyncAPI file - user should be able to pass one files to the optimizer
asyncapi optimize <context/filepath/url>(getting file from context or filepath or URL is already provided in CLI, you just useloadfunction) - by default it would optimize the document and print to the terminal, but user should be able to specify to get only the report, with flag
--report - by default full optimization is done, but user should be able to specify
--ruleswhere user can provide rules that should be applied by optimizer
This issue is for https://www.openforce.tech/ participants. If you do not participate in this even please pick up other issue from this repo, there is plenty of help needed 😄
@KhudaDad414 pinging you so you are aware 😄
Hey @derberg , I am Ashish Tom, a contributor to OpenForce 2022. I would like to work on this issue. I would be making a PR as soon as I am done with resolving the issue. Thank you
@alceil that's great. If you have any problems or questions regarding the tool itself, please do let me know.
Thanks @KhudaDad414
Hey @KhudaDad414 I have raised a pull request. Could you please review it?
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart:
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart:
:tada: This issue has been resolved in version 0.31.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: