INNER CODE UNIT · Python

parse

yifanfeng97/Hyper-Extract · hyperextract/cli/cli.py:254

def parse(
    input: str = typer.Argument(
        ..., help="Input file path, directory, or '-' for stdin"
    ),
    output: str = typer.Option(..., "--output", "-o", help="Output directory"),
    template: str | None = typer.Option(
        None, "--template", "-t", help="Template (omit for interactive selection)"
    ),
    method: str | None = typer.Option(
        None, "--method", "-m", help="Method template (e.g., light_rag, hyper_rag)"
    ),
    lang: str | None = typer.Option(
        None,
        "--lang",
        "-l",
        help="Language (zh/en). Required for knowledge templates, optional for methods (default: en)",
    ),
    force: bool = typer.Option(False, "--force", "-f", help="Force overwrite"),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…