import click


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