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
188 stars 164 forks source link

feat: add flag for using generator v2 #1513

Closed Souvikns closed 2 months ago

Souvikns commented 2 months ago

Description In this PR I am adding a new Flag to use generator v2+, I am trying to change as little as possible from users original version of CLI. Currently most temapltes are not supporting v2 of generator, so it is better to have flag --use-new-generator, once more templates start supporting v2 of generator we can update the flag.

asyncapi generate fromTemaplate ./spec.yaml @asyncapi/html-template --use-new-generator

Related issue(s)

See also #1388

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.1% Duplication on New Code

See analysis details on SonarCloud

Shurtu-gal commented 2 months ago

@Souvikns Please merge if ready.

aeworxet commented 2 months ago

@asyncapi/bounty_team

Souvikns commented 2 months ago

/rtm

asyncapi-bot commented 2 months ago

:tada: This PR is included in version 2.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: