+
+ def add_arguments(self, parser):
+ parser.add_argument(
+ '-q', '--quiet', action='store_false', dest='verbose', default=True,
+ help='Verbosity level; 0=minimal output, 1=normal output, 2=all output')
+ parser.add_argument(
+ '-f', '--force', action='store_true', dest='force',
+ default=False, help='Overwrite works already in the catalogue')
+ parser.add_argument(
+ '-D', '--dont-build', dest='dont_build', metavar="FORMAT,...",
+ help="Skip building specified formats")
+ parser.add_argument(
+ '-S', '--no-search-index', action='store_false',
+ dest='search_index', default=True,
+ help='Skip indexing imported works for search')
+ parser.add_argument(
+ '-F', '--not-findable', action='store_false',
+ dest='findable', default=True,
+ help='Set book as not findable.')
+ parser.add_argument(
+ '-p', '--picture', action='store_true', dest='import_picture',
+ default=False, help='Import pictures')
+ parser.add_argument('directory', nargs='+')