title: "Elementor CLI" post_status: publish comment_status: open taxonomy: category: - elementor-developers-docs post_tag: - Cli - Src - Repos
Elementor CLI
Elementor 集成了 WP-CLI,使您能够通过命令行界面运行某些 Elementor 任务,而无需使用网页浏览器。
什么是 WordPress CLI?
WP-CLI 是 WordPress 的命令行界面。它提供了 WordPress 管理栏的替代方案。使用命令行使开发者、代理商和托管服务提供商能够更轻松地以更少的点击次数运行操作、远程运行它们,甚至可以根据特定条件执行复杂的脚本。
什么是 Elementor CLI?
Elementor CLI 是一组集成到 WP-CLI 中的命令,允许开发者从命令行运行某些 Elementor 任务。
语法
CLI 命令语法:
wp elementor <command> [--argument]
或
wp elementor-pro <command> [--argument]
可用命令
目前,以下 Elementor 命令可用:
帮助
要通过命令行查看所有可用 Elementor 命令的列表,请使用 wp help 命令。
要获取单个命令的信息,请使用以下格式:
wp help elementor <command>
或
wp help elementor-pro <command>