#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from librarian.book2anything import Book2Anything, Option
from librarian.formats.html import HtmlFormat


class Book2Html(Book2Anything):
    format_cls = HtmlFormat

    format_options = [
        Option('-r', '--raw', dest='standalone',
                action='store_false', default=True,
                help='output raw text for use in templates')
    ]


if __name__ == '__main__':
    Book2Html.run()