Skip to content

Commit

Permalink
align completions with yarn 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dsifford committed Jul 30, 2018
1 parent f1fa78f commit a4aa262
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions yarn-completion.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# shellcheck shell=bash disable=2207
#
# Version: 0.7.4
# Yarn Version: 1.7.0
# Version: 0.8.0
# Yarn Version: 1.9.2
#
# bash completion for Yarn (https://github.com/yarnpkg/yarn)
#
Expand Down Expand Up @@ -460,6 +460,7 @@ _yarn_publish() {
declare flags=(
--access
--new-version
--non-interactive
--tag
)
case "$prev" in
Expand Down Expand Up @@ -590,8 +591,12 @@ _yarn_upgrade_interactive() {

_yarn_version() {
declare flags=(
--major
--minor
--new-version
--no-commit-hooks
--no-git-tag-version
--patch
)
case "$cur" in
-*)
Expand Down Expand Up @@ -741,6 +746,7 @@ _yarn() {
--network-concurrency
--network-timeout
--no-bin-links
--no-default-rc
--no-emoji
--no-lockfile
--no-progress
Expand All @@ -756,6 +762,7 @@ _yarn() {
--silent
--skip-integrity-check
--strict-semver
--use-rc
--verbose
--version
)
Expand Down

0 comments on commit a4aa262

Please sign in to comment.