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.

Ask HN: Great CLI interfaces / Command-K

5 pointsby jdwyahover 1 year ago
CLI are nice, but tools like Linear have got me accustomed to typing command-k and then autocompleting my way to success.<p>We just updated ours to be much more interactive and while we&#x27;ve kept the standard CLI argument behavior, I have fully converted and don&#x27;t see myself going back anytime soon.<p>Basically it meant taking common option sets and adding a descriptions that make them more discoverable, then letting you search. eg<p>$ cli ? What would you like to do? c create Create a new config create --env-var Create an ENV Var provided item with --env-var create --secret Create a new secret in Prefab with --secret<p>Then being flexible enough to collect the other pieces of information it needs afterwards (what environment would you like to set the secret in &#x2F; etc)<p>Are there any CLIs that use this pattern particularly successfully? I&#x27;d love to see how far we can take this.

2 comments

nicbouover 1 year ago
I usually use K-bars for known tasks. Sublime Text&#x27;s bar is the one I use the most by far. I like that it matches abbreviations, and bits that are not at the start of the command. It also has different kinds of bars to call projects, files and commands. Sublime Merge has the same feature.<p>I wouldn&#x27;t like an LLM version because the delay would negate the benefits of such an interface. It&#x27;s currently absurdly fast for me to use this bar to do stuff. The response time matters a lot.
评论 #39512741 未加载
jdwyahover 1 year ago
Also: how interesting will it be to leverage local LLM with the CLI. Any good examples of this yet?