wp db export
Will output something like
Succes: Exported to 'dbname-2018-09-16-2790c11.sql'
Often you need the filename.
--porcelain flag to the rescue!
wp db export --porcelain
This will work on a lot of commands that have one item output.
wp post create ....
Here is a complete list of commands that have the –porcelain flag
Commands that output more items usually have a
--format flag to handle output.