INNER CODE UNIT · Python

make_section

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

        def make_section(title: str, commands: list[tuple[str, str]]) -> Panel:
            table = Table(box=None, show_header=False, pad_edge=False)
            table.add_column(style="green bold", no_wrap=True)
            table.add_column(style="white", no_wrap=True)
            for cmd, desc in commands:
                table.add_row(f"  {cmd}", desc)
            return Panel(
                table,
                title=f"[bold cyan]{title}[/]",
                border_style="cyan dim",
                padding=(0, 1),
                title_align="center",
                width=80,
            )

        sections = [
            make_section(
                "🚀 Getting Started",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…