<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cli_certify_core_integer( config, min_value, max_value, value, ):
 """Console script for certify_int"""


    def parser(v):
        # Attempt a json/pickle decode:
        try:
            v = load_json_pickle(v, config)
        except Exception:
            pass

        # Attempt a straight conversion to integer:
        try:
            return int(v)
        except Exception as err:
            six.raise_from(
                CertifierTypeError(
                    message='Not integer: {x}'.format(
                        x=v,
                    ),
                    value=v,
                ),
                err,
            )

    execute_cli_command(
        'integer',
        config,
        parser,
        certify_int,
        value[0] if value else None,
        min_value=min_value,
        max_value=max_value,
        required=config['required'],
    )