from django.core.management import BaseCommand, call_command


class Command(BaseCommand):

    help = "Seeds the database with random but sensible values."

    def add_arguments(self, parser):
        parser.add_argument(
            "-nc",
            nargs="?",
            default=20,
            type=int,
            help="Number of challenges.",
        )

    def handle(self, *args, **options):
        self.nc = options["nc"]
        self.stdout.write(
            self.style.SUCCESS("Starting the database seeder. Hang on...")
        )
        call_command("runscript", "seed", "--script-args", self.nc)

efaaa4dfaffd000638e7dfe6d942a183b0d8f633
<mask token>


class Command(BaseCommand):
    <mask token>

    def add_arguments(self, parser):
        parser.add_argument('-nc', nargs='?', default=20, type=int, help=
            'Number of challenges.')
    <mask token>

<mask token>


class Command(BaseCommand):
    <mask token>

    def add_arguments(self, parser):
        parser.add_argument('-nc', nargs='?', default=20, type=int, help=
            'Number of challenges.')

    def handle(self, *args, **options):
        self.nc = options['nc']
        self.stdout.write(self.style.SUCCESS(
            'Starting the database seeder. Hang on...'))
        call_command('runscript', 'seed', '--script-args', self.nc)

<mask token>


class Command(BaseCommand):
    help = 'Seeds the database with random but sensible values.'

    def add_arguments(self, parser):
        parser.add_argument('-nc', nargs='?', default=20, type=int, help=
            'Number of challenges.')

    def handle(self, *args, **options):
        self.nc = options['nc']
        self.stdout.write(self.style.SUCCESS(
            'Starting the database seeder. Hang on...'))
        call_command('runscript', 'seed', '--script-args', self.nc)

from django.core.management import BaseCommand, call_command


class Command(BaseCommand):
    help = 'Seeds the database with random but sensible values.'

    def add_arguments(self, parser):
        parser.add_argument('-nc', nargs='?', default=20, type=int, help=
            'Number of challenges.')

    def handle(self, *args, **options):
        self.nc = options['nc']
        self.stdout.write(self.style.SUCCESS(
            'Starting the database seeder. Hang on...'))
        call_command('runscript', 'seed', '--script-args', self.nc)

from django.core.management import BaseCommand, call_command


class Command(BaseCommand):

    help = "Seeds the database with random but sensible values."

    def add_arguments(self, parser):
        parser.add_argument(
            "-nc",
            nargs="?",
            default=20,
            type=int,
            help="Number of challenges.",
        )

    def handle(self, *args, **options):
        self.nc = options["nc"]
        self.stdout.write(
            self.style.SUCCESS("Starting the database seeder. Hang on...")
        )
        call_command("runscript", "seed", "--script-args", self.nc)
