Created
September 21, 2015 08:59
-
-
Save meysampg/dcf8bb0bd4ba65b53b7c to your computer and use it in GitHub Desktop.
Generate interface for model file on models folder
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
for fileName in $(ls ../models); | |
do | |
modelName=$(echo $fileName | cut -d "." -f 1); | |
echo "I${modelName}Interface.php generated."; | |
touch "I${modelName}Interface.php"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment