Hacker News | 📄 原文链接 | 2026-07-16 收录

命令行界面设计指南

来源:clig.dev — 2026-07-16

📋 概述

CLIG(Command Line Interface Guidelines)是由 Docker Compose 的联合创作者 Aanand Prasad 和 Ben Firshman 等人发起的开源指南,旨在将传统 UNIX 哲学与现代用户体验设计原则融合。这份指南系统性地覆盖了 CLI 设计的方方面面——从帮助信息、错误处理到交互模式和命名规范,强调"以人为本"的设计理念,认为命令行工具应该像对话一样自然流畅。

🔑 核心要点

💡 金句

The command line is still the most versatile corner of the computer — it lets you pull back the curtain and creatively interact with the machine at a level of sophistication that GUIs cannot afford.
← 返回 Hacker News 首页