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

[FEATURE] New command to publish the result generated by generate and model command. #1417

Open AayushSaini101 opened 4 months ago

AayushSaini101 commented 4 months ago

Why do we need this improvement?

In the current version of the generator, we can pull the templates from the private registory Reference: https://www.asyncapi.com/docs/tools/generator/using-private-template

It would be good if we introduced the new command is given below and published the generated source to the private templates/space.

asyncapi publish <generatedSource>

The command will ask the username or token or password to publish the generatedSource

How will this change help?

Help the users to pull and push the result via CLI

Screenshots

No response

How could it be implemented/designed?

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

AayushSaini101 commented 3 months ago

Can sync my local AsyncAPI file with a remote system (e.g registry) Can publish my AsyncAPI file in a schema registry We can include these feature improvment in this issue @Amzani