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

Please don't do that, expect has to die.

I don’t mean that expect should be used. But flags like —no-interactive are unnecessary. CLIs can just check `isatty == false` instead of requiring an explicit flag.