export_lexemes.py 322 Bytes
# -*- coding: utf-8 -*-
from django.core.management import BaseCommand

from export.lexeme_export import LexemeExport


class Command(BaseCommand):
    help = 'Temporary export script'
    args = 'export_data'

    def handle(self, export_data=None, **options):
        LexemeExport(export_data_name=export_data).export()