def handle(self, *args, **options):
        self.args = args
        self.options = options

        db_alias = getattr(settings, 'FABTASTIC_DIRECT_TO_DB_ALIAS', 'default')
        # Get DB settings from settings.py.
        database = db.util.get_db_setting_dict(db_alias=db_alias)
        # Figure out where to dump the file to.
        dump_path = self.get_dump_path(db_alias)

        # Run the db dump.
        db.dump_db_to_file(dump_path, database)
Handle raw input.
dataset/ETHPy150Open duointeractive/django-fabtastic/fabtastic/management/commands/ft_dump_db.py/Command.handle