def METHOD_NAME() -> argparse.Namespace:
    """Parse command line arguments. Returns ``args`` object.
    Returns
    -------
    args : obj
        An argparse object containing all of the arguments
    """
    # Create help strings
    path_help = 'The path to the input file.'  # type: str
    filter_help = 'The filter to process (e.g. "F606W").'  # type: str
    # Add arguments
    parser = argparse.ArgumentParser()  # type: argparse.ArgumentParser
    parser.add_argument('path',
                        type=str,
                        default=os.getcwd(),
                        help=path_help)
    parser.add_argument('-f --filter',
                        dest='filter',
                        type=str,
                        required=False,
                        default='F606W',
                        help=filter_help)
    # Parse args
    args = parser.METHOD_NAME()  # type: argparse.Namespace
    return args