Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
entrop- authored Apr 21, 2017
1 parent 483ca42 commit 4a65736
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mage2docker.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ _mage2docker() {
compadd $(_docker_get_container_name)
;;
command)
compadd "$@" bash-www bash logs magento mage mage-cache mage-di mage-upgrade mage-report mage-log grunt watch rename rm restart stop inspect top
compadd "$@" bash-www bash logs magento mage mage-cache mage-reindex mage-di mage-upgrade mage-report mage-log grunt watch rename rm restart stop inspect top
;;
options)
case $words[3] in
Expand Down Expand Up @@ -79,6 +79,9 @@ mage2docker () {
mage-cache)
_mage2docker_mage $1 cache:clean
;;
mage-reindex)
_mage2docker_mage $1 indexer:reindex
;;
mage-upgrade)
_mage2docker_mage $1 setup:upgrade
;;
Expand All @@ -91,9 +94,6 @@ mage2docker () {
grunt)
docker exec -it -u www-data $1 grunt
;;
watch)
docker exec -it -u www-data $1 grunt watch
;;
mage-report)
docker exec -it -u www-data $1 cat var/report/$3
;;
Expand Down

0 comments on commit 4a65736

Please sign in to comment.