Created
November 7, 2016 17:08
-
-
Save inri13666/4bddb9904e7a6100b6b201676e0c8d6a to your computer and use it in GitHub Desktop.
Provides simply way to access Symfony's Console
This file contains hidden or 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
@ECHO OFF | |
if exist "app/console" ( | |
SET CONSOLE="app/console" | |
) | |
if exist "bin/console" ( | |
SET CONSOLE="bin/console" | |
) | |
IF NOT DEFINED CONSOLE ( | |
echo "No console found" | |
exit /B 1 | |
) | |
php %CONSOLE% %* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment