用于检查指定主题是否已安装。如果已安装,返回退出码0;否则返回1。
适合在脚本或自动化流程中快速验证主题状态。
<theme>
$ wp theme is-installed hello $ echo $? 1