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 librarian.book2anything import Book2Anything, Option
10 class Book2Txt(Book2Anything):
16 Option('-i', '--ignore-dublin-core', dest='parse_dublincore',
17 action='store_false', default=True,
18 help='don\'t try to parse dublin core metadata')
21 Option('-w', '--wrap', action='store', type='int', dest='wrapping', default=0,
22 help='set line wrap column')
26 if __name__ == '__main__':