beetbox / beetbox/beets

Prompt user again at ambiguos input

Open
#1,678 5 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Python
Stars
15.7k
Forks
2.1k
Avg merge
4d 21h
Merged PRs (30d)
31

Description

Take for example the following prompt:

```
[A]pply, More candidates, Skip, Use as-is, as Tracks, Group albums,
Enter search, enter Id, aBort?
```

If I now enter `bm` and press enter, beets ignores the second character and aborts (`b`). I would expect beets to ask me again, as it can not be determined if I wanted beets to abort (`b`) or to show me more candidates (`m`).

Contributor guide

Open the contributing guide

Research direction

Reproduce the ambiguous CLI prompt with `bm` and inspect the input-handling entry point that interprets the choices. Confirm how single-character commands are matched and add coverage for ambiguous input if the existing tests cover this prompt. Done means `bm` does not abort immediately and the user is prompted again.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.