def value_func_with_quote_handling(value):
    """
    To pass values that include spaces through command line arguments, they must be quoted. For instance:
    --parameter='some value with space' or
    --parameter="some value with space".
    In this value parser, we remove the quotes to receive a clean string.

    """
    if value[0] == value[-1] and value[0] in ["'", '"']:
        return value[1:-1]
    return value