On Tuesday, Daniel Bachhuber published a list of advanced tips on using WP-CLI. My favourites in his list are wp rewrite list --match=
(for debugging rewrite rules) and --prompt
(when you don’t remember the arguments). If you’re a WordPress developer and don’t know what WP-CLI is, stop everything right now and go to wp-cli.org.
https://danielbachhuber.com/2017/05/16/10-advanced-wp-cli-tricks/