Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: made start studio command interactive #1737

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

neoandmatrix
Copy link
Contributor

Description

This PR introduces the changes to make the asyncapi start studio command interactive like rest of the commands. A --no-interactive flag is added which like rest of the commands can be used to disable the interactive mode. Making command interactive this ways makes it consistent with other commands in CLI instead of the suggested Do you need to start the studio from any reference [ Y/ N ] prompt in the issue.

Below are the screenshots for references.

no file is passed in the arguments here prompt is asked

image

a file is passed in the arguments no prompt is there

image

wrong file is passed in the prompt

image

no file is passed in argument but also --no-interactive flag is used

image

output for start studio -h command

image

The docs are also updated to reflect the changes.

@AayushSaini101 Please review.

Thanks.

Related issue(s)
Resolves #1727

Copy link

changeset-bot bot commented Mar 20, 2025

⚠️ No Changeset found

Latest commit: 8f1dffb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@AayushSaini101
Copy link
Collaborator

/u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Triage
Development

Successfully merging this pull request may close these issues.

[Improvement]: Make the steps of Asyncapi start studio command interactive
3 participants