()
| 235 | console = Console() |
| 236 | |
| 237 | def _header(): |
| 238 | console.print(Panel( |
| 239 | Text("StegaPy — 图像隐写与数字水印工具", justify="center", style="bold cyan"), |
| 240 | subtitle="[dim]无参数启动 = 交互模式 | python cli.py --help 查看脚本用法[/dim]", |
| 241 | border_style="cyan", |
| 242 | )) |
| 243 | |
| 244 | def _ask_file(msg: str, must_exist: bool = True) -> str: |
| 245 | while True: |