npm.io
1.0.0 • Published 7 years agoCLI

yarn-completion

Licence
MIT
Version
1.0.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0
Stars
6

Yarn Completion

Completion for yarn scripts from your current projects.

Install

Install the script globally:

$ yarn global add yarn-completion

Copy the file yarn-completion.bash to your user directory then add this script to your ~/.bashrc:

if [ -f ~/yarn-completion.bash ]; then
    . ~/yarn-completion.bash
    __yarn_completion_complete k
fi

Usage

cd into a project with a package.json, then type yarn and tab to see the list of available scripts.

Keywords