dockutil

Tool for managing dock items

https://github.com/kcrawford/dockutil

Current versions:

stable 2.0.5

JSON API for dockutil

Formula code on GitHub

Fork me on GitHub