You could extend mobile app, or write your own console app which does the same as mobile app + additional required requests. It's fairly simple, but not sure if you want to use our OCF CoAP Client.
This is the library (for now we call it SDK but it will be sooner or later renamed) - https://github.com/plgd-dev/sdk
and here is the simple client using that SDK, which methods are invoked by the mobile app.
https://github.com/plgd-dev/plgd.mobile/blob/master/ocfclient/OCFClient.go