Added command line tool to take from stdin.
Merge commit 'fab347327a75fd8a8a81f61d8360ff5eca5e1608'