cl interface is a bit half baked.
I was thinking it should iterate over multiple files, but maybe that is not helpful at all and what you are suggesting is best.

It should definitely be able to read from stdin though.
Under the current interface I think that would mean giving '-' as an argument to signify stdin.