Skip to content

[BUG] Docs reference nonexistent --use-new-generator flag in AsyncAPI/Generator/Usage #1872

@Jatin24062005

Description

@Jatin24062005

Describe the bug.

While following the AsyncAPI documentation, I ran the following command exactly as documented:

asyncapi generate fromTemplate asyncapi.yaml @asyncapi/html-template@3.0.0 \
  --use-new-generator \
  -o ./Test \
  docs \
  -d generate:before generate:after=foo,bar

it throwing an error Error: Nonexistent flag: --use-new-generator

Expected behavior

It should work Proper or there must be no mentioned flag in docs https://www.asyncapi.com/docs/tools/generator/usage#cli-usage-examples

Screenshots

Image

How to Reproduce

  1. follow this https://www.asyncapi.com/docs/tools/generator/usage#cli-usage-examples
  2. Run disabling hook Command

🖥️ Device Information [optional]

  • Operating System (OS):
  • Browser:
  • Browser Version:

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions