13 lines
430 B
Python
13 lines
430 B
Python
from django.core.management.base import BaseCommand
|
|
|
|
from ...render import generate_clips, default_prefix
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = 'generate symlinks to clips and clips.json'
|
|
|
|
def add_arguments(self, parser):
|
|
parser.add_argument('--prefix', action='store', dest='prefix', default=default_prefix, help='prefix to build clips in')
|
|
|
|
def handle(self, **options):
|
|
return generate_clips(options)
|