In recall for nostalgic feelings, I've remembered the .bat files on DOS. :)
Here's the thing: Each time I need to generate a documentation for a given web application I have to:
sudo phpdoc -o HTML:frames:earthli -d public_html/yoursite.dev/application/ -t public_html/yoursite.dev/docs/
is there a way to make a shortcut to the above, so that, we can type only:
sudo generateDoc.sh -a yoursite.dev
or even better:
sudo generateDoc.sh -theVariableThatNeedsTobeChangedOnBashHere
So that, if we have yoursite.dev passed on the command line, the bash will have yoursite.dev, if we write yoursite2.dev then, the bash would have yoursite2.dev and so on...
Thanks a lot.