[RRFC] add bash/zsh completion to npx
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 777
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
Motivation ("The Why")
It is convenient when you can press tab in the console and get a list of commands. This is how almost all console programs work.
Example
This could simplify the use of npx.
How
Current Behaviour
It not working.
Desired Behaviour
npx rea -> npx react-native
npx react-native r -> npx react-native run-
npx react-native run-android --co -> npx react-native run-android --configuration
References
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 with the desired npx completion examples in this issue and review the linked npm/cli issue 4577; no implementation files or tests are identified. Define completion behavior for bash and zsh, including command and option suggestions, and use the examples as the done criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, javascript, zsh
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100