def _common_import_params(ctx):
    """
    Dictionary containing parameters provided to the dirbs-import command.

    :param ctx: current cli context obj
    :return: dict
    """
    return {'prevalidator_path': ctx.obj['PREVALIDATOR_PATH'],
            'prevalidator_schema_path': ctx.obj['PREVALIDATOR_SCHEMA_PATH'],
            'no_cleanup': ctx.obj['NO_CLEANUP'],
            'extract_dir': ctx.obj['EXTRACT_DIR']}