

def handle(self, *args, **options):
    if (len(args) == 0):
        print('You must provide app name. For example:\n\npython manage.py scallfold my_app\n')
        return
    scaffold = Scaffold(args[0], options['model'], args)
    scaffold.run()

dataset/ETHPy150Open Tivix/django-common/django_common/management/commands/scaffold.py Command.handle/original