Add hanami plugin inspired by rails

This commit is contained in:
Artem Pyankov 2016-07-31 18:58:50 +05:00 committed by Marc Cornellà
parent a8f3b374d8
commit 0bd9e5d859
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
alias -g HED='HANAMI_ENV=development'
alias -g HEP='HANAMI_ENV=production'
alias -g HET='HANAMI_ENV=test'
alias hc='hanami console'
alias hd='hanami destroy'
alias hg='hanami generate'
alias hgm='hanami generate migration'
alias hs='hanami server'
alias hsp='hanami server -p'
alias hr='hanami routes'
alias hdc='hanami db create'
alias hdd='hanami db drop'
alias hdp='hanami db prepare'
alias hda='hanami db apply'
alias hdv='hanami db version'
alias hdrs='hdd && hdp'
alias hdtp='HET hdp'
alias hrg='hr | grep'