Ask HN: Great CLI interfaces / Command-K CLI are nice, but tools like Linear have got me accustomed to typing command-k and then autocompleting my way to success. We just updated ours to be much more interactive and while we've kept the standard CLI argument behavior, I have fully converted and don't see myself going back anytime soon. Basically it meant taking common option sets and adding a descriptions that make them more discoverable, then letting you search. eg $ 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 Then being flexible enough to collect the other pieces of information it needs afterwards (what environment would you like to set the secret in / etc) Are there any CLIs that use this pattern particularly successfully? I'd love to see how far we can take this. |