def handle(self, *args, **options): if 'func' not in options: self.parser.print_help() self.parser.exit(1) self.catalog = Catalog() options['func'](options)
def handle(self, *args, **options): self.catalog = Catalog() return super().handle(*args, **options)