Created
August 26, 2013 18:53
-
-
Save ndastur/6345110 to your computer and use it in GitHub Desktop.
Add this function to your .profile file to ease making alloy controllers and adding to git
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
function alloy_generate_ctrl { | |
alloy generate controller $1 && git add app/controllers/$1.js && git add app/views/$1.xml && git add app/styles/$1.tss | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment