用AI把命令行手册自动转成图形界面,让普通人也能轻松用命令工具。
The Command Line GUIde: Graphical Interfaces from Man Pages via AI
- 通过AI将命令行手册(man pages)转化为图形界面描述
- 生成的界面覆盖真实命令任务中的多数选项,可用性良好
- 适合不熟悉命令语法但需使用复杂工具的用户
尽管诞生于电传打字机时代,命令行终端在1980年代图形界面革命后依然存续,并存在于现代桌面操作系统中。它提供了计算机上未被图形界面暴露的强大功能,但要求用户记忆文本语法并仔细查阅文档。相比之下,图形界面通过控件和菜单让用户自然发现并调用操作。为更好展现命令行的潜力,我们展示了一种自动为命令行工具生成图形界面的机制:通过AI将文档(以man页形式)翻译为界面规范。基于这些规范,我们的用户系统GUIde以图形化方式呈现命令选项。我们在一组命令上评估了生成界面的表现,以检验GUIde在真实命令行任务中提供全面图形界面的程度。
原文摘要 · Abstract (English)
Although birthed in the era of teletypes, the command line shell survived the graphical interface revolution of the 1980's and lives on in modern desktop operating systems. The command line provides access to powerful functionality not otherwise exposed on the computer, but requires users to recall textual syntax and carefully scour documentation. In contrast, graphical interfaces let users organically discover and invoke possible actions through widgets and menus. To better expose the power of the command line, we demonstrate a mechanism for automatically creating graphical interfaces for command line tools by translating their documentation (in the form of man pages) into interface specifications via AI. Using these specifications, our user-facing system, called GUIde, presents the command options to the user graphically. We evaluate the generated interfaces on a corpus of commands to show to what degree GUIde offers thorough graphical interfaces for users' real-world command line tasks.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。