13 lines
417 B
Python
13 lines
417 B
Python
from django.core.management.base import BaseCommand
|
|
|
|
from ...render import generate_clips
|
|
|
|
|
|
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="/srv/t_for_time", help='prefix to build clips in')
|
|
|
|
def handle(self, **options):
|
|
return generate_clips(options)
|