用于检查指定插件是否已安装,返回退出码0表示已安装,1表示未安装。
适合在脚本或自动化流程中判断插件状态时使用。
<plugin>
$ wp plugin is-installed hello $ echo $? 1