Skip to content

Instantly share code, notes, and snippets.

@ndastur
Created August 26, 2013 18:53
Show Gist options
  • Save ndastur/6345110 to your computer and use it in GitHub Desktop.
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
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