Research-Stack/5-Applications/text-to-cad/skills/cad/scripts/gen_dxf/cli.py

15 lines
475 B
Python

from __future__ import annotations
from collections.abc import Sequence
from common.generation import generate_dxf_targets, run_tool_cli
def main(argv: Sequence[str] | None = None) -> int:
return run_tool_cli(
argv,
prog="gen_dxf",
description="Generate explicit DXF targets from envelope-returning Python sources.",
action=generate_dxf_targets,
target_help="Explicit Python source file defining gen_dxf() to generate.",
)