CLI auto completion
Something npm has always bugged me is auto completion. It requires putting `source <(npm completion)` to my `zshrc`, which is extremely slow and seldom outputs useful completion. A few examples yarn could do: letting `yarn <Tab>` outputs all commands: ``` install -- install package remove -- remove package ...other commands ``` letting each flag output useful information: `yarn install -<Tab>` ``` -g -- install package globally -S -- install package and save as dependency ``` letting `yarn install <Tab>` prompt a list of cached packages: `yarn install r<Tab>` ``` react@0.14 redux@3.0 ``` letting `yarn rm <Tab>` list packages installed locally `yarn rm r<Tab>` ``` react@0.14 redux@3.0 ``` Thanks for the good work!
Posted by octref on Oct 11, 2016, 3:48 PM
Tags
Related issues
- I just invented a simple upgrade script for my father's ancient Fedora install.
- Weekly limit is draining like the old 5-hour limit
- Rather people unable to setup a static websites where needed.
- Besides the general awfulness of Windows that you describe, have you looked at C:\Windows recently?
- Does your work involves using teams or ms office or docker?
- Meta: Sorry, no response was returned
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
onboarding (Other)
I just invented a simple upgrade script for my father's ancient Fedora install.
Weekly limit is draining like the old 5-hour limit
Rather people unable to setup a static websites where needed.
Besides the general awfulness of Windows that you describe, have you looked at C:\Windows recently?
Does your work involves using teams or ms office or docker?
Meta: Sorry, no response was returned
Recent FrankerFaceZ Issues with Firefox
Allow creating a `python` shim on `python install`
CLI auto completion
Something npm has always bugged me is auto completion. It requires putting `source <(npm completion)` to my `zshrc`, which is extremely slow and seldom outputs useful completion. A few examples yarn could do: letting `yarn <Tab>` outputs all commands: ``` install -- install package remove -- remove package ...other commands ``` letting each flag output useful information: `yarn install -<Tab>` ``` -g -- install package globally -S -- install package and save as dependency ``` letting `yarn install <Tab>` prompt a list of cached packages: `yarn install r<Tab>` ``` react@0.14 redux@3.0 ``` letting `yarn rm <Tab>` list packages installed locally `yarn rm r<Tab>` ``` react@0.14 redux@3.0 ``` Thanks for the good work!
Comments (0)
No comments yet. Start the discussion.