Apparently, `yuidoc` exits with a non-zero exit code when the `--version` flag is passed. Will have to actually parse the output...