Example #1
0
    def handle(self, *args, **options):
        if 'func' not in options:
            self.parser.print_help()
            self.parser.exit(1)

        self.catalog = Catalog()
        options['func'](options)
Example #2
0
    def handle(self, *args, **options):
        self.catalog = Catalog()

        return super().handle(*args, **options)