ee cli has-command

Detects if a command exists

This commands checks if a command is registered with EE. If the command is found then it returns with exit status 0. If the command doesn't exist, then it will exit with status 1.


: The command


# The "site delete" command is registered.
$ ee cli has-command "site delete"
$ echo $?

# The "foo bar" command is not registered.
$ ee cli has-command "foo bar"
$ echo $?


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.


ee cli alias

List available EE aliases.

ee cli check-update

Check to see if there is a newer version of EE available.

ee cli cmd-dump

Dump the list of installed commands, as JSON.

ee cli completions

Generate tab completion strings.

ee cli info

Print various details about the EE environment.

ee cli param-dump

Dump the list of global parameters, as JSON or in var_export format.

ee cli self-uninstall

Uninstalls easyengine completely along with all sites

ee cli update

Update EE to the latest release.

ee cli version

Print EE version.