TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Designing Command-Line Experiences

24 pointsby neovintageover 9 years ago

2 comments

kazinatorover 9 years ago
&quot;Progressive enhancement&quot; doesn&#x27;t need to be borrowed back from web design. In user interface design, catering to multiple levels of user expertise is an ancient concept. This can be an actual mode variable in the UI. In expert mode, you see more options. In command lines, you don&#x27;t see <i>anything</i>, so this doesn&#x27;t seem to apply directly. The program being given command line inputs isn&#x27;t even running until you hit Enter. An expertise variable could be used to adjust the language and level of detail in the help strings and man pages, and to influence what is available when you invoke Tab completion (i.e. don&#x27;t complete on options or sub commands that the novice wouldn&#x27;t know about).<p>Since man pages are driven by nroff macros, the man page aspect of this seems within reach. A macro could expand a section of text only if some user expert level is greater than 2, and that could come from an environment variable.
评论 #10316814 未加载
qewrffewqwfqewover 9 years ago
Tenants are not tenets.
评论 #10316799 未加载