调出外壳以运行wp-cli,composer等。
选项
[<site-name>]
: 要运行Shell的网站的名称。
[–user=<user>]
: Set the user to exec into shell.
[–service=<service>]
: Set the service whose shell you want.
—
default: php
—
[–command=<command>]
: Command to non-interactively run in the shell.
[–skip-tty]
: Skips tty allocation.
EXAMPLES
# Open shell for site $ ee shell example.com # Open shell with root user $ ee shell example.com --user=root # Open shell for some other service $ ee shell example.com --service=nginx # Run command non-interactively $ ee shell example.com --service=nginx --command='nginx -t && nginx -s reload'
GLOBAL PARAMETERS
Argument | Description |
---|---|
–sites_path=<path> | 所有站点将被存储的绝对路径。 |
–locale=<locale> | WordPress语言环境。 |
–le-mail=<le-mail> | 用于letsencrypt的Mail-id。 |
–[no-]color | 是否为输出着色。 |
–debug[=<group>] | 显示所有PHP错误;向EE引导程序添加详细信息。 |
–quiet | 禁止显示信息性消息。 |