You can use `WP_CLI::line()` here, since the return value should always be a string.