I am building a little tool in ruby for creating directories and files based on commands that I issue it from the command line. I would like for this to work on Mac, Windows, and Linux.
I am of course new to ruby and I know how to right a simple script and call it to run from the command line. What I would like to do is be able to navigate anywhere on my system call the name of the app and pass args so that I can have it create files and directories based in my current location in the command line.
example $> myapp -create mydirectoryname
So what is the best way to do this. Could you guys point me to a resource that walks me through this? Thanks so much.
-Matthew