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.
- Nice collection of mostly OS X command line tools – from One Thing Well, one of my favourite tumblr blogs.
- Nice example of how to market commmand line tools – nomad-cli tools for iOS development.
- ddcli and ArgumentParser – two open source command line parsing projects.
- GBLCli – a slightly more sophisticated library for writing command line interface tools, including parsing command line arguments, settings handling and help outputs.
- Command Line Tool Tutorial – How to write an OS X command line tool; as far as I know, no more parts of this tutorial were published.
- Cocoa with Love – How to write minimalistic command line tools.
- Bundled command line tools – How to embed a command line tool within a Cocoa application. This is something very useful if one tries to write a GUI-based installer for command line tools.