def METHOD_NAME(
    cls: type[EntT],
    all_subcommands: list,
    application_name_dashed: str,
    entry: SettingsEntry,
    settings_file_path: str,
) -> EntT:
    """Create an ``PresentableSettingsEntry`` containing the details for one settings entry.
    :param application_name_dashed: The application name, dashed
    :param all_subcommands: All application subcommands
    :param entry: A settings entry
    :param settings_file_path: The path to the settings file
    :returns: The settings file entry
    """
    cli_parameters = PresentableCliParameters.from_cli_params(
        cli_parameters=entry.cli_parameters,
        name_dashed=entry.name_dashed,
    )
    env_var = entry.environment_variable(application_name_dashed)
    entry_value_resolved = entry.value.resolved
    path = entry.settings_file_path(application_name_dashed)
    settings_file_sample = create_settings_file_sample(path, placeholder="<------")
    if isinstance(entry.subcommands, C):
        if entry.subcommands is C.ALL:
            subcommands = all_subcommands
        else:
            subcommands = [entry.subcommands.value]
    else:
        subcommands = entry.subcommands
    result = cls(
        choices=list(entry.choices),  # May be a tuple e.g. PLUGIN_TYPES
        cli_parameters=cli_parameters,
        current_settings_file=str(settings_file_path),
        current_value=entry_value_resolved.current,
        default=entry_value_resolved.is_default,
        default_value=entry_value_resolved.default,
        description=entry.short_description,
        env_var=env_var,
        name=entry.name.replace("_", " ").capitalize(),
        settings_file_sample=settings_file_sample,
        source=entry.value.source.value,
        subcommands=subcommands,
        version_added=entry.version_added,
    )
    return result