X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f318053fb3349c5364cfb866b2a3d33c2423e12a..9123398bd03d1e08256bdc97959cf981cc1a5f76:/scripts/book2epub?ds=inline diff --git a/scripts/book2epub b/scripts/book2epub index 01ca79a..f87bf05 100755 --- a/scripts/book2epub +++ b/scripts/book2epub @@ -15,7 +15,15 @@ class Book2Epub(Book2Anything): transform_flags = [ Option('-w', '--working-copy', dest='working-copy', action='store_true', default=False, - help='mark the output as a working copy') + help='mark the output as a working copy'), + ] + transform_options = [ + Option('-R', '--resources', dest='resources', metavar='DIR', + help='a directory with additional resources'), + Option('-I', '--intro', dest='intro_file', metavar='FILE', + help='HTML file containing intro'), + Option('-e', '--cover-file', dest='cover_file', metavar='FILE', + help='Cover image file'), ]