You know the directory tree in an ide? Surprisingly frequently I find myself wanting that style of hierarchical expandability, but in a standalone tui, and for hierarchical text data. Like, I've got `find` output, or a long md5 dump, or `tar t` output, and I want to page it in my terminal, but the `foo/src` directory is big, so I just want to collapse the whole thing.
Is there a terminal program for that? Cuz I keep thinking of writing one, and I'd rather not have to.