ee shell

Brings up a shell to run wp-cli, composer etc.


: Name of website to run shell on.

: Set the user to exec into shell.

: Set the service whose shell you want.
default: php

: Command to non-interactively run in the shell.

: Skips tty allocation.


# Open shell for site
$ ee shell

# Open shell with root user
$ ee shell --user=root

# Open shell for some other service
$ ee shell --service=nginx

# Run command non-interactively
$ ee shell --service=nginx --command='nginx -t &amp;&amp; nginx -s reload'


Argument Description
--sites_path=<path> Absolute path to where all sites will be stored.
--locale=<locale> Locale for WordPress.
--le-mail=<le-mail> Mail-id to be used for letsencrypt.
--wp-mail=<wp-mail> Default Mail-id to be used for WordPress site installation.
--sysctl=<true/false> Whether to add sysctl config in docker-compose.
--[no-]color Whether to colorize the output.
--debug[=<group>] Show all PHP errors; add verbosity to EE bootstrap.
--quiet Suppress informational messages.