I don't see why the `<filename>` argument is necessary.

To STDOUT by default: `wp post get 123`

Redirect STDOUT to a file: `wp post get 123 > file.txt`