from __future__ import annotations

import argparse
from pathlib import Path

from .demo import print_demo


def main() -> None:
    parser = argparse.ArgumentParser(description="Run the non-flight DJI Mavic 3M digital-twin research demo")
    parser.add_argument("--root", type=Path, default=Path(__file__).resolve().parents[1])
    parser.add_argument("--seed", type=int, default=20260804)
    parser.add_argument("--output-root", type=Path, default=None)
    parser.add_argument("--mission-config", type=Path, default=None)
    parser.add_argument("--field-config", type=Path, default=None)
    arguments = parser.parse_args()
    print_demo(
        arguments.root,
        arguments.seed,
        output_root=arguments.output_root,
        mission_config=arguments.mission_config,
        field_config=arguments.field_config,
    )
