Don't do anyting if on the command line. WP cli was getting raw html output.