Commit 5fbd8e4e authored by Lakindu Akash's avatar Lakindu Akash Committed by Robby Russell
Browse files

add auto completion on ng update (#7244)

add new option update and add all the options for ng update
parent a0c1eb32
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
......@@ -56,6 +56,10 @@ _ng_completion () {
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'
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment