from typing import List


def get_name_parts(name: str) -> List[str]:
    """
    Get name parts from name of argument for constructing internal arg name or
    flag identity.

    Args:
        name (str): String of name for arugment (ex: "My Argument").

    Returns:
        List[str]
    """
    return (
        name.lower()
        .replace("--", " ")
        .strip()
        .replace("-", " ")
        .replace("_", " ")
        .split(" ")
    )