Version 1.2.7 - 15 Mar 2012
Command Line Interface(CLI)
Starting with calibre v0.9.23, calibre offers a command-line interface (CLI) for calling plugins.
This plugin supports that option and allows the user to call the plugin's basic functionality from outside calibre without having to install Python or get the plugin's files separately.
Details:
Code:
Usage: calibre-debug.exe --run-plugin EpubSplit -- [options] <input epub> [line numbers...]
Giving an epub without line numbers will return a list of line numbers: the
possible split points in the input file. Calling with line numbers will
generate an epub with each of the "lines" given included.
Options:
-h, --help show this help message and exit
-o OUTPUT, --output=OUTPUT
Set OUTPUT file, Default: split.epub
-t TITLE, --title=TITLE
Use TITLE as the metadata title. Default: '<original
epub title> Split'
-d DESC, --description=DESC
Use DESC as the metadata description. Default: 'Split
from <epub title> by <author>'.
-a AUTHOR, --author=AUTHOR
Use AUTHOR as a metadata author, multiple authors may
be given, Default: <All authors from original epub>
-g TAG, --tag=TAG Include TAG as dc:subject tag, multiple tags may be
given, Default: None
-l LANG, --language=LANG
Include LANG as dc:language tag, multiple languages
may be given, Default: en
-c COVER, --cover=COVER
Path to a jpg to use as cover image.