3da2f7ea6a5aa6ea312846e070b534df5aa78baf

Author
Carlo Dapor <catull@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Updated options for generate.  Added gh-pages:deploy / github-pages:deploy.

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/ng/ng.plugin.zsh b/plugins/ng/ng.plugin.zsh
 2index ce34c8b5495f10057c0ba45b701615d63e8f17d4..2488bc230fa40d011827f1510332f980619bc263 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 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 v version -h --help'
 9 
10 _ng_completion () {
11   local words cword opts
12@@ -16,12 +16,8 @@ _ng_completion () {
13       opts='-o --output-path'
14       ;;
15 
16-    completion | i | install)
17-      opts=''
18-      ;;
19-
20     b | build )
21-      opts='--environment --output-path --suppress-sizes --watch --watcher -dev -e -prod'
22+      opts='--environment --output-path --suppress-sizes --target --watch --watcher -dev -e -prod'
23       ;;
24 
25     d | destroy )
26@@ -29,7 +25,11 @@ _ng_completion () {
27       ;;
28 
29     g | generate )
30-      opts='component directive pipe route service --generate -d --dry-run --verbose -v --pod -p --classic -c --dummy -dum -id --in-repo --in-repo-addon -ir'
31+      opts='class component directive enum module pipe route service --generate -d --dry-run --verbose -v --pod -p --classic -c --dummy -dum -id --in-repo --in-repo-addon -ir'
32+      ;;
33+
34+    gh-pages:deploy | github-pages:deploy )
35+      opts='--environment --gh-token --gh-username --skip-build --user-page --message'
36       ;;
37 
38     h | help | -h | --help)
39@@ -45,7 +45,7 @@ _ng_completion () {
40       ;;
41 
42     s | serve | server )
43-      opts='--environment --host --insecure-proxy --inspr --live-reload --live-reload-host --live-reload-port --output-path --port --proxy --ssl --ssl-cert --ssl-key --watcher -H -dev -e -lr -lrbu -lrh -lrp -op -out -p -pr -prod -pxy -w'