-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Creating plugin system #1711
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
@PriyamvadaShah Can you explain this better what you want to describe in this issue thanks |
Sorry for the late reply, I was trying to research more on what hooks in current cli are present. The only hooks we currently have are generator hooks which work for generation only and are limited in functionality. We do use oclif hooks for things like'command-not-found' error but no plugin system of asyncapi is present. So I was trying to create a plugin system with more hooks like cli:start, cli:exit, generate:before, generate:after and so on at different points in lifecycle. The system will detects hook files from the YAML (or JSON) file and lets users define hooks in that js file. It would be great getting your feedback on this issue. Thank you |
Why do we need this improvement?
Create a plugin system so that when in order to incorporate some added functionality, the user can easily just describe it in their input file and describe the plugin in a file.
We can use hooks to make checks in CLI entry point
How will this change help?
Easy incorporation of some extended user needed functionality.
Screenshots
No response
How could it be implemented/designed?
Using plugin loader & registration functions
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
None
The text was updated successfully, but these errors were encountered: