microsoft / microsoft/winget-cli
Allow Tab Completion in Install Root Prompt
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
When InstallLocationRequired is set to true and the user does not have a default install root set, the user is prompted for an install location. However, this field does not support tab completion of the file path, forcing users to type out the entire path manually. For long paths this can be painstakingly tedious. It would be beneficial to allow paths to be tab completed in the prompt by default.
This behavior is also unaffected by the complete command used with the normal tab completion, so even if the user has tab completion for winget commands enabled, this prompt still must be entered manually
Proposed technical implementation details
No response
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 the prompt shown when InstallLocationRequired is enabled and no default install root exists, then trace how its path input is handled. The work is done when users can tab-complete file paths in that prompt independently of the normal complete command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100