def METHOD_NAME(key, local_only, global_only, default_only):
    """Show current configuration.
    KEY is of the form <group>.<entry>, e.g. 'interactive.default_url'.
    """
    from renku.command.config import read_config
    from renku.domain_model.enums import ConfigFilter
    config_filter = ConfigFilter.ALL
    if local_only:
        config_filter = ConfigFilter.LOCAL_ONLY
    elif global_only:
        config_filter = ConfigFilter.GLOBAL_ONLY
    elif default_only:
        config_filter = ConfigFilter.DEFAULT_ONLY
    value = read_config().build().execute(key, config_filter=config_filter)
    click.secho(value.output)