Though there are some really nice OS X command line tools, there is not really much information available on how to write, build and distribute them. This is like in old times when you had to experiment and try out something in order to get it to work. Nevertheless I collected some links that may help in writing command line tools for OS X.