pystardust / pystardust/ani-cli
feat: --exact flag to only match if exact full string is found (for wrapper scripts)
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 13.8k
- Forks
- 878
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 7
Description
Is your feature request related to a problem? Please describe.
This is related to my problem for #1850. I used a wrapper script which calls ani-cli to play a specific episode from a specific show, but since only one result appeared for the show I searched and it was the wrong show, it was auto selected and started playing without any warning that it wasn't an exact match.
Describe the solution you'd like
For scripting it would be nice to have some flag to force an exact match against the titles of the search results (--exact or --exact-match).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating ani-cli's command-line option parsing and the code that matches or auto-selects search results. Trace how wrapper-script arguments reach title matching, then verify that --exact only accepts a full-string title match and does not automatically select a different result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100