def METHOD_NAME(option, silent):
    "Get a configuration option."
    from django.conf import settings
    from sentry.options import default_manager as manager
    from sentry.options.manager import UnknownOption
    try:
        key = manager.lookup_key(option)
    except UnknownOption:
        raise click.ClickException("unknown option: %s" % option)
    value = manager.METHOD_NAME(key.name)
    if silent:
        click.echo(value)
        return
    last_update_channel = manager.get_last_update_channel(option)
    click.echo(f"           type: {key.type.name.upper()}")
    click.echo(f"    from config: {settings.SENTRY_OPTIONS.METHOD_NAME(key.name, '<not set>')}")
    click.echo(f"        current: {value}")
    click.echo(
        f" last update by: {last_update_channel.value if last_update_channel else '<not set>'}"
    )