2 # -*- coding: utf-8 -*-
4 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
5 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
7 from __future__ import unicode_literals
9 from librarian.book2anything import Book2Anything, Option
12 class Book2Mobi(Book2Anything):
16 cover_optional = False
21 '-k', '--use-kindlegen',
22 action='store_true', dest='use_kindlegen', default=False,
23 help='use kindlegen tool instead of Calibre'
26 '-b', '--base-url', dest='base_url', metavar='URL',
27 help='specifies the base URL for relative image references'
32 if __name__ == '__main__':