diff options
author | Lakindu Akash <Lakinduakash@gmail.com> | 2018-10-07 21:46:02 +0530 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2018-10-07 09:16:02 -0700 |
commit | 5fbd8e4ee127f39f0eaf661a730be3243f210292 (patch) | |
tree | 0c84aebc7354a08ed86170d7b120621a24df28f9 /plugins | |
parent | a0c1eb32306734085ed26e2447f1050768b95d24 (diff) | |
download | zsh-5fbd8e4ee127f39f0eaf661a730be3243f210292.tar.gz zsh-5fbd8e4ee127f39f0eaf661a730be3243f210292.tar.bz2 zsh-5fbd8e4ee127f39f0eaf661a730be3243f210292.zip |
add auto completion on ng update (#7244)
add new option update and add all the options for ng update
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ng/ng.plugin.zsh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/ng/ng.plugin.zsh b/plugins/ng/ng.plugin.zsh index 2488bc230..b802bf617 100644 --- a/plugins/ng/ng.plugin.zsh +++ b/plugins/ng/ng.plugin.zsh @@ -1,5 +1,5 @@ -ng_opts='addon asset-sizes b build completion d destroy doc e2e g generate get github-pages:deploy gh-pages:deploy h help i init install lint make-this-awesome new s serve server set t test v version -h --help' +ng_opts='addon asset-sizes b build completion d destroy doc e2e g generate get github-pages:deploy gh-pages:deploy h help i init install lint make-this-awesome new s serve server set t test update v version -h --help' _ng_completion () { local words cword opts @@ -55,6 +55,10 @@ _ng_completion () { t | test ) opts='--browsers --colors --config-file --environment --filter --host --launch --log-level --module --path --port --query --reporter --server --silent --test-page --test-port --watch -H -c -cf -e -f -m -r -s -tp -w' ;; + + update ) + opts='--all --dryRun --force --from --migrate-only --next --registry --to -d' + ;; v | version ) opts='--verbose' |