logoalt Hacker News

wolttamyesterday at 7:11 PM4 repliesview on HN

Getting agents used to using `--force` to bypass prompts seems like a bad idea. `--force` is for when the action failed (or would fail) for some reason and you want it to definitely happen this time.

I think `--yes` or `--yes-do-the-dangerous-thing` is leagues better.


Replies

tekacsyesterday at 7:32 PM

It also in the case of an LLM can bias it towards using that sort of flag more commonly, which is less than ideal when it then uses a more ordinary Unix command that uses that to mean something dangerous.

dimesyesterday at 10:31 PM

CLIs should check isatty and, if it returns false, disable any interactive functionality because it won’t work.

ihswyesterday at 7:29 PM

`--non-interactive` has precedent too.

hajekt2yesterday at 8:00 PM

[flagged]