objective-wp cli 允许您初始化主题和插件

dev-master 2020-10-28 20:48 UTC

This package is auto-updated.

Last update: 2024-08-29 04:54:40 UTC


README

安装

composer global require "objective-wp/cli":dev-master

使用

init

Clones 和 composer 从 github 安装 objective-wp 项目。整个路径可以是 <author>/<repo>,或者如果已运行 set-org,则只需 <repo>

如果 init 在包含 wp-content 文件的目录中运行,owp 将自动将其安装到 themes 目录或包含 plugin 关键字的仓库中的插件关键字。

owp init <author>/<repo>

set-org

使用组织或作者对所有 init 命令进行命名空间。

owp set-org <organization>