22
22
from ibid.db.types import IbidUnicode, IbidUnicodeText
23
23
from ibid.utils import ibid_version
25
27
parser = OptionParser(usage='%prog [options...]', description=
26
28
"""Ibid Database management tool. Used for import, export, and upgrades.
27
29
Export format is JSON. FILE can be - for stdin/stdout or can end
29
33
commands = OptionGroup(parser, 'Modes')
30
34
commands.add_option('-e', '--export', dest='export', metavar='FILE',
31
35
help='Export DB contents to FILE.')