Add a new resource from the EPub.
epub add-resource <parameters>
Path to new new EPub resource to add
Path to epub to parse
Type of EPub resource (Html, Css, Font, Image, Other)
Add before this existing EPub resource (name-of-existing.html)
Path to write final epub. If empty, overwrites input epub
If true, writes heaps of logging
Extract the contents of this EPub file
epub extract <parameters>
path to destination directory of where to extract the EPub's files
Path to epub to parse
If true, writes heaps of logging
Generate documentation for the CLI
epub gen-cli-docs <parameters>
File path to write documentation for the CLI
Get details about this EPub file
epub get-details <parameters>
Path to epub to parse
Pipe-delimited filter keys of the data you want to be returned. Filter values include: Uniqueidentifier|Version|Authors|Publishers|Contributors|Titles|Toc|Css|Cover|Images|Fonts|Html
Output format of data (Json or Yaml)
If true, writes heaps of logging
Get contents of html file
epub get-html <parameters>
The nme of the html file for which to fetch the contents
Path to epub to parse
If true, writes heaps of logging
Remove an existing resource from the EPub.
epub remove-resource <parameters>
Name of existing EPub resource (name-of-existing.html)
Path to epub to parse
Type of EPub resource (Html, Css, Font, Image, Other)
Path to write final epub. If empty, overwrites input epub
If true, writes heaps of logging
Replace the cover image in the epub.
epub replace-cover <parameters>
Path to new cover image (.jpg, .png)
Path to epub to parse
Path to write final epub. If empty, overwrites input epub
If true, writes heaps of logging
Replace the contents of an existing css with new css.
epub replace-css-content <parameters>
Path to new stylesheet file (path/to/new.css)
Name of existing EPub stylesheet (name-of-existing.css)
Path to epub to parse
Path to write final epub. If empty, overwrites input epub
If true, writes heaps of logging
Replace the contents of an existing html with new html content.
epub replace-html-content <parameters>
Name of existing EPub html (name-of-existing.html)
Path to new html file (path/to/new.html)
Path to epub to parse
Path to write final epub. If empty, overwrites input epub
If true, writes heaps of logging
Update the author(s) in the epub.
epub update-authors <parameters>
Author to add to your EPub
Path to epub to parse
Clear previous authors
Path to write final epub. If empty, overwrites input epub
If true, writes heaps of logging
Update the publisher(s) in the epub.
epub update-publisher <parameters>
Path to epub to parse
Publisher to add to your EPub
Clear previous publisher
Path to write final epub. If empty, overwrites input epub
If true, writes heaps of logging
Update the title(s) in the epub.
epub update-titles <parameters>
Path to epub to parse
Titles to swap out of our EPub
Path to write final epub. If empty, overwrites input epub
If true, writes heaps of logging