There's no specific CocoaLibSpotify documentation for this. However, it's not too bad — either compile CocoaLibSpotify as a static library and link it in or import all the files in the common
folder directly into your app and compile them in directly.
When writing your app, since CocoaLibSpotify maintains its own background thread, you'll need to set up a runloop to your CLI doesn't terminate until you want it to. However, that's not specific to CocoaLibSpotify and a very common task for CLI apps.