There has been many attempts, but they've universally not gotten things "right enough" to gain much traction. E.g. Mozilla's XMLTerm [1] was one such experiment.
https://en.wikipedia.org/wiki/Archy
Anyways, if i am to speculate then GUI took over because of discoverability and ease of translation. A CLI is damn hard to translate. With a GUI you change the labels, and thats it. And finding something in a menu or similar was, before programs grew into massive behemoths, simpler than trying to guess what command, for most outside the english speaking world, named in a foreign language, to give to get something done.
We should have developed command lines with graphics and hypertext. Thus you could do `ls` and double-click on one of the resulting files to open it. Browse the web with wget.
Of course users don't want to learn lots of commands. But notice how Windows 7 onwards and most linux desktops have a "fuzzy search" that really is a kind of command line.