Version 1.3.2 - 15 Mar 2013
Command Line Interface(CLI)
Starting with calibre 0.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 EpubMerge -- [options] <input epub> [<input epub>...]
Given list of epubs will be merged together into one new epub.
Options:
-h, --help show this help message and exit
-o OUTPUT, --output=OUTPUT
Set OUTPUT file, Default: merge.epub
-t TITLE, --title=TITLE
Use TITLE as the metadata title. Default: '<first
epub title> Anthology'
-d DESC, --description=DESC
Use DESC as the metadata description. Default: '<epub
title> by <author>' for each epub.
-a AUTHOR, --author=AUTHOR
Use AUTHOR as a metadata author, multiple authors may
be given, Default: <All authors from epubs>
-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
-n, --no-titles-in-toc
Default is to put an entry in the TOC for each epub,
nesting each epub's chapters under it.
-f, --flatten-toc Flatten TOC down to one level only.
-c COVER, --cover=COVER
Path to a jpg to use as cover image.
-k, --keep-meta Keep original metadata files in merged epub. Use for
UnMerging.
-s URL, --source=URL Include URL as dc:source and
dc:identifier(opf:scheme=URL).
-u, --unmerge UnMerge an existing epub that was created by merging
with --keep-meta.
-D OUTPUTDIR, --outputdir=OUTPUTDIR
Set output directory for unmerge, Default: (current
dir)