logoalt Hacker News

thatjoeoverthrtoday at 12:19 AM7 repliesview on HN

In game design we used to call this opacity “hunt the verb” in text adventures.

All chat bots suffer this flaw.

GUIs solve it.

CLIs could be said to have it, but there is no invitation to guess, and no one pretends you don’t need the manual.


Replies

QuercusMaxtoday at 12:39 AM

For CLIs - most reasonable commands either have a `-h`, `--help`, `-help`, `/?`, or what have you. And manpages exist. Hunt the verb isn't really a problem for CLIs.

And furthermore - aren't there shells that will give you the --help if you try to tab-complete certain commands? Obviously there's the issue of a lack of standardization for how command-line switches work, but broadly speaking it's not difficult to have a list of common (or even uncommon) commands and how their args work.

(spends a few minutes researching...)

This project evidently exists, and I think it's even fairly well supported in e.g. Debian-based systems: https://github.com/scop/bash-completion.

show 2 replies
esafaktoday at 5:11 AM

It's called discoverability. https://en.wikipedia.org/wiki/Discoverability

PunchyHamstertoday at 1:55 AM

CLI + small LLM (I am aware of the oxymoron) trained on docs could be fun

show 1 reply
xnxtoday at 4:18 AM

The lack of an advertised set of capabilities is intentional so that data can be gathered on what users want the system to do (even if it can't). Unfortunately, this is a terrible experience for the user as they are frustrated over and over again.

show 1 reply
sakesuntoday at 12:52 AM

That's explain why there is a limited set of recommended verbs in PowerShell.

show 1 reply
pxtailtoday at 1:18 AM

Very well written, I'm wondering when current "cli haxxxor assistant" FAD will fade away and focus will move into proper, well thought out and adjusted to changed paradigm IDEs instead of wasting resources. Well, maybe not completely wasting as this is probably still part of discovery process.

banetoday at 3:12 AM

A lot of AI models also suffer this flaw.