microsoft / microsoft/aspire

Consider changing ergonomics for CLI accepting input values

Open
#17,917 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-cli triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 12h
Merged PRs (30d)
201

Description

![Image](https://github.com/user-attachments/assets/b36c6838-a053-49f7-8f3c-5edcacedc34a)

I feel the CLI when asked for options is auto-accepting to aggressively. In the above image I entered `y` and hit ENTER which then unexpectedly accepted the **next** input question (Redis). I fully expected needing to enter my input **and hit enter to accept it** but the auto-accept felt aggressive and doesn't allow me to change my mind.

In other CLIs I use this is different behavior and requires me to hit enter to accept, which I prefer

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named; start by locating the CLI prompt handling for option questions and reproduce the reported y/Enter flow. Done means entering y and pressing Enter does not unexpectedly accept the following Redis question, with a regression test covering the interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.