Skip to content

feat: made start studio command interactive#1737

Closed
neoandmatrix wants to merge 9 commits intoasyncapi:masterfrom
neoandmatrix:studio-command-interactive
Closed

feat: made start studio command interactive#1737
neoandmatrix wants to merge 9 commits intoasyncapi:masterfrom
neoandmatrix:studio-command-interactive

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

@changeset-bot
Copy link

changeset-bot bot commented Mar 20, 2025

⚠️ No Changeset found

Latest commit: 5a81a19

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

@AayushSaini101
Copy link
Collaborator

/u

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 9, 2025

@neoandmatrix
Copy link
Contributor Author

Closing this as will be doing in correspondent to new changeset automation.

@github-project-automation github-project-automation bot moved this from To Triage to Done in CLI - Kanban Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

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

4 participants