Feature request: Shell command that invokes "Clear Buffer"

The standard clear command is rather useless, it just prints out a terminal-height's worth of blank lines, to push back any content. It would be nice to have a command we can use to invoke iTerm's Clear Buffer. For example, if I'm frequently running the same command line application to see my changes as I work on it, I might do: runSomething; clear.

As a workaround, I wrote a bash scriptclear.sh which clears the active terminal window (either the native macOS Terminal or iTerm)

Edited by Alexander Momchilov