and then you launch from the command line into the app’s own console starting with > where no flags work and maybe informative commands are actually function names ending in ()

But no, maybe that doesnt work either

And then you encounter some ancient apps without GNU readline support (oracle sqlplus and mysql, I'm looking at both of you). No history support, cursor keys emit characters on the line, literal hell when trying to quickly fix remote database...

rlwrap [1] may be able to help

[1] https://github.com/hanslub42/rlwrap