def handle(self, *args, **kwargs): database = Database() if len(args) != 3: raise CommandError database.add_setting(args[0], args[1], args[2])