[FEATURE] asyncapi generate fromTemplate
requires arguments despite interactive mode
#1660
Open
2 tasks done
Labels
enhancement
New feature or request
Why do we need this improvement?
Currently, the asyncapi generate command has a --no-interactive flag, meaning that by default, it should run in interactive mode. However, the arguments ASYNCAPI and TEMPLATE are still required, even though the interactive mode is already designed to prompt the user for these values. This contradicts the purpose of interactive mode.
How will this change help?
asyncapi generate fromTemplate
without needing to remember or type the required arguments.Screenshots
How could it be implemented/designed?
Update the CLI argument parser to make ASYNCAPI and TEMPLATE optional. If these arguments are missing and --no-interactive is not used, prompt the user interactively.
🚧 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!
The text was updated successfully, but these errors were encountered: