Hacker News new | ask | show | jobs
by sneak 4535 days ago
Is there something too involved about an alias in .profile, or a makefile target?
1 comments

Totally forgot about that. Done!
I meant more like:

  alias deployapp="rsync -avP --delete ~/dev/app/ user@remote:app/"
It sort of removes the need for most of this script, no?
True. But if you have lots of apps, it can be tedious to manage. Also, it seems better to abstract away the command to be able to quickly change tools when needed. And you won't get a fancy, readable list with alias :)