认识
官网:https://wp-cli.org/
文档:https://developer.wordpress.org/cli/commands/
仓库:https://github.com/wp-cli/wp-cli
WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser. 简而言之,WP-CLI 是 WordPress 的命令行工具。
应用
Q:创建 Page 的方法?
A:wp post create –post_type=page
R:How to Create and Delete a WordPress Page Using WP-CLI | InMotion Hosting