asyncapi / cli

CLI to work with your AsyncAPI files. You can validate them and in the future use a generator and even bootstrap a new file. Contributions are welcomed!
https://www.asyncapi.com/tools/cli
Apache License 2.0
180 stars 147 forks source link

Micro CLI for each tool #883

Closed jonaslagoni closed 3 weeks ago

jonaslagoni commented 10 months ago

Reason/Context

I have been wondering for some time whether it's possible for us to do micro-CLIs for each individual tool, and then bundle them all together in the AsyncAPI CLI?

For example with Modelina, it supports multiple inputs not just AsyncAPI, but the AsyncAPI CLI is of course solely focused on those type of documents. So we would have to create a separate CLI just for this, but there is gonna be quite big overlap in the generators, as they will 100% be the same across that separated CLI and the AsyncAPI CLI. So my idea was that all Modelina-specific CLI commands where released in Modelina, and all the AsyncAPI CLI would have to do is install the dependency and extend the existing oclif commands 🤔

Do you think that would be possible?

derberg commented 8 months ago

We never tried it so not really sure if this is possible, sorry.

What I definitely think is that it will add complexity here for sure :)

github-actions[bot] commented 4 months ago

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: