cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open AayushSaini101 opened this issue 1 year ago • 2 comments
trafficstars

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?

  • Introduce new command asyncapi publish
  • Use proper authentication to connect the registry
  • Publish the generated source.

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • [X] I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

AayushSaini101 avatar May 10 '24 05:05 AayushSaini101