5fbd8e4ee127f39f0eaf661a730be3243f210292

Author
Lakindu Akash <Lakinduakash@gmail.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

add auto completion on ng update (#7244)

add new option update and add all the options for ng update

Diff

 1diff --git a/plugins/ng/ng.plugin.zsh b/plugins/ng/ng.plugin.zsh
 2index 2488bc230fa40d011827f1510332f980619bc263..b802bf61799a37a35ec7cf0c24a9692d74967628 100644
 3--- a/plugins/ng/ng.plugin.zsh
 4+++ b/plugins/ng/ng.plugin.zsh
 5@@ -1,5 +1,5 @@
 6 
 7-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'
 8+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'
 9 
10 _ng_completion () {
11   local words cword opts
12@@ -55,6 +55,10 @@ _ng_completion () {
13     t | test )
14       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'
15       ;;
16+      
17+    update )
18+      opts='--all --dryRun --force --from --migrate-only --next --registry --to -d'
19+      ;;
20 
21     v | version )
22       opts='--verbose'