Split install and refresh commands

This commit is contained in:
Oliver Davies 2020-10-29 12:13:10 +00:00
parent f42aaab862
commit dd263a6f38

View file

@ -11,11 +11,16 @@ if [ $# -eq 0 ] ; then
fi
case $1 in
install|refresh)
install)
drush site:install -y --account-pass=admin123 --existing-config
drush user:login
;;
refresh)
drush config-import -y
drush cache-rebuild
;;
*)
echo "Invalid argument: $1"
;;