Last active
June 15, 2016 05:05
-
-
Save mwadon/73e912b07f671b12ca80957423897aa5 to your computer and use it in GitHub Desktop.
Symfony alias for vagrant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Run 'php app/console $1' on vagrant"; | |
ssh -i .vagrant/machines/default/virtualbox/private_key -t vagrant@192.168.11.101 "cd /var/www && php app/console $1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example of usage:
./sf.sh c:c
./sf.sh d:m:m