add --stdin and --quiet command line flags to read from standard input and suppress intermediate results