wp-cli/wp-cli — pull request #898 by westonruter (2013-11-30 01:11:48+00:00)
Title: Allow wp-db-export to write to STDOUT if <file> is -

I often want to grab the SQL dump form a remote server, just outputting the SQL right over the SSH connection without ever writing it to a file. But with `wp db export` right now, it always generates a file for writing to. So this patch allows writing to `STDOUT` if the `result-file` is `-`.