import click


def option_pid_identifier(required: bool = False):
    """Get parameter options for metadata identifier."""
    return click.option(
        "--pid-identifier",
        "--pid-identifier",
        "pid_identifier",
        required=required,
        help="pid identifier as JSON",
    )