CLI: Only read stdin if there were no files supplied and not in tty mode.

Fixes #563
Oh, you're talking about requiring in the CLI, and supplying an object with args simulating cli usage. Good idea.