INNER CODE UNIT · Python

parse_args

KennethJAllen/proper-pixel-art · proper_pixel_art/cli.py:161

def parse_args() -> argparse.Namespace:
    parser = argparse.ArgumentParser(
        description=(
            "Generate true-resolution pixel art from a source image, video, or GIF. "
            "Video and GIF inputs are auto-detected and dispatched to the video pipeline."
        )
    )
    parser.add_argument(
        "-V",
        "--version",
        action="version",
        version=f"%(prog)s {version('proper-pixel-art')}",
    )
    parser.add_argument(
        "input_path",
        type=Path,
        nargs="?",
        help="Path to the source image, video, or GIF.",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…