Add colours to output of existing CLI commands
Especially since you're already using zsh, I would recommend using the existing highlighter framework (and builtin highlighters) of zsh-syntax-highlighting or fast-syntax-highlighting Based on a preliminary review, both should have sufficient documentation to hopefully allow you to set up your preferred environment.

Here's a screenshot of zsh-syntax-highlighting's default parser operating on the parsing command you provided (meta, right?)