Thanks for your comments. I'm definetely not looking into a CLI interface. What I want is something like calibre, BUT without copying the eBooks. Just manage them (the metadata) like a catalog in Lightroom where images stay where they are but are managed by the application, with all the metadata only in the database.
I can't see why the books have to be copied somewhere else. That's just stupid.