

def handle(self, *args, **options):
    apps = apps.get('apps').split(',')
    if ('all' in apps):
        apps = self.all_apps
    if options.get('flush', False):
        self.stdout.write('Flush database..')
        call_command('flush', interactive=False)
        self.stdout.write('Flush finished.')
    self.generate_users_and_groups()
    if ('backoffice' in apps):
        self.generate_back_office()
    if ('datacenter' in apps):
        self.generate_data_center()
    if ('supports' in apps):
        self.generate_support()
    if ('licences' in apps):
        self.generate_licence()
    if ('transitions' in apps):
        self.generate_transitions()
    root = UserFactory(username='ralph', is_superuser=True, is_staff=True)
    root.set_password('ralph')
    root.save()
    if options.get('flush', False):
        call_command('sitetree_resync_apps', interactive=False)
    self.stdout.write('done')

dataset/ETHPy150Open allegro/ralph/src/ralph/data_importer/management/commands/demodata.py Command.handle/VarMisuse@18/19 `options`->`apps`