Add Yarn upgrade-ineractive CLI command
This commit is contained in:
parent
d2725d44fc
commit
dcbe2cd649
@ -21,6 +21,11 @@ _yarn ()
|
|||||||
|
|
||||||
_production=('(--production)--production[Do not install project devDependencies]')
|
_production=('(--production)--production[Do not install project devDependencies]')
|
||||||
|
|
||||||
|
_upgrade=(
|
||||||
|
'(--exact)--exact[Install exact version]'
|
||||||
|
'(--tilde)--tilde[Install most recent release with the same minor version]'
|
||||||
|
)
|
||||||
|
|
||||||
_1st_arguments=(
|
_1st_arguments=(
|
||||||
'help:Display help information about yarn' \
|
'help:Display help information about yarn' \
|
||||||
'init:Initialize for the development of a package.' \
|
'init:Initialize for the development of a package.' \
|
||||||
@ -38,6 +43,7 @@ _yarn ()
|
|||||||
'run:Runs a defined package script.' \
|
'run:Runs a defined package script.' \
|
||||||
'self-update:Updates Yarn to the latest version.' \
|
'self-update:Updates Yarn to the latest version.' \
|
||||||
'upgrade:Upgrades packages to their latest version based on the specified range.' \
|
'upgrade:Upgrades packages to their latest version based on the specified range.' \
|
||||||
|
'upgrade-interactive:Selectively upgrades specific packages in a simple way' \
|
||||||
'why:<query> - Show information about why a package is installed.'
|
'why:<query> - Show information about why a package is installed.'
|
||||||
)
|
)
|
||||||
_arguments \
|
_arguments \
|
||||||
@ -71,6 +77,10 @@ _yarn ()
|
|||||||
_arguments \
|
_arguments \
|
||||||
$_dopts
|
$_dopts
|
||||||
;;
|
;;
|
||||||
|
upgrade-interactive)
|
||||||
|
_arguments \
|
||||||
|
$_upgrade
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
_arguments \
|
_arguments \
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user