Skip to content

feat: made the start studio command interactive along with addition of… - #1765

Merged
Shurtu-gal merged 2 commits into
asyncapi:masterfrom
neoandmatrix:studio-interactive
Apr 9, 2025
Merged

Shurtu-gal merged 2 commits into
asyncapi:masterfrom
neoandmatrix:studio-interactive

Conversation

@neoandmatrix

Copy link
Copy Markdown
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.

image

Thanks.

Related issue(s)
Resolves #1727

@changeset-bot

changeset-bot Bot commented Apr 9, 2025 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8cfbfb8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@asyncapi/cli Patch

Not sure what this means? Click here to learn what changesets are.

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

@github-actions

github-actions Bot commented Apr 9, 2025 •

Copy link
Copy Markdown
Contributor

Changeset has been generated for this PR as part of auto-changeset workflow.

Please review the changeset before merging the PR.
---
'@asyncapi/cli': patch
---

feat: made the start studio command interactive along with addition of…

- 0e8e3c1: feat: made the start studio command inteactive along with addition of a flag to disable prompt.

If you are a maintainer or the author of the PR, you can change the changeset by clicking here

Tip

If you don't want auto-changeset to run on this PR, you can add the label skip-changeset to the PR or remove the changeset and change PR title to something other than fix: or feat:.

@sonarqubecloud

sonarqubecloud Bot commented Apr 9, 2025

Copy link
Copy Markdown

@Shurtu-gal Shurtu-gal left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work.

@github-project-automation github-project-automation Bot moved this from To Triage to Backlog in CLI - Kanban Apr 9, 2025
@Shurtu-gal
Shurtu-gal merged commit 152c272 into asyncapi:master Apr 9, 2025
@github-project-automation github-project-automation Bot moved this from Backlog 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

2 participants