Add support for formatting boolean values in `WP_CLI\Formatter` by tfirdaus · Pull Request #5928 · wp-cli/wp-cli
This Pull Request aims to fix issue #5542, where a false value is currently transformed into an empty string.
+----+--------+
| id | status |
+----+--------+
| 1 | 1 |
| 2 | |
+----+--------+
With these updates, the output for boolean values will be transformed into true and false accordingly.
+----+--------+
| id | status |
+----+--------+
| 1 | true |
| 2 | false |
+----+--------+