def parse_list_arg(args):
    """
    Parse a list of newline-delimited arguments, returning a list of strings with leading and
    trailing whitespace stripped.

    Parameters
    ----------
    args : str
        the arguments

    Returns
    -------
    list[str]
        the parsed arguments
    """
    return [u.strip() for u in args.split("\n") if u.strip()]