from pathlib import Path


def build_args(parser):
    """Constructs the command-line arguments for ``image2mask``."""
    parser.add_argument(
        "--in-dir",
        required=True,
        type=Path,
        help="Path to directory with dataset",
    )
    parser.add_argument(
        "--out-dataset",
        required=True,
        type=Path,
        help="Path to output dataframe",
    )

    return parser