Check to see if there is a newer version of EE available.
Queries the Github releases API. Returns available versions if there are updates available, or success message if using the latest release.
Unauthenticated GitHub API requests are rate-limited. If the GITHUB_TOKEN environment variable is set, EasyEngine uses it.
SYNOPSIS
ee cli check-update [--patch] [--minor] [--major] [--field=<field>] [--fields=<fields>] [--format=<format>]
OPTIONS
[--patch]
: Only list patch updates.
[--minor]
: Only list minor updates.
[--major]
: Only list major updates.
[--field=<field>]
: Prints the value of a single field for each update.
[--fields=<fields>]
: Limit the output to specific object fields. Defaults to version,update_type,package_url.
[--format=<format>]
: Render output in a particular format.
Default: table
Options:
- table
- csv
- json
- count
- yaml
EXAMPLES
# Check for update.
$ ee cli check-update
Success: EasyEngine is at the latest version.
# Check for update and new version is available.
$ ee cli check-update
+---------+-------------+------------------------------------------------------------------------------------------+
| version | update_type | package_url |
+---------+-------------+------------------------------------------------------------------------------------------+
| 4.13.4 | patch | https://github.com/EasyEngine/easyengine/releases/download/v4.13.4/easyengine.phar |
+---------+-------------+------------------------------------------------------------------------------------------+
SUBCOMMANDS
| Name | Description |
|---|---|
| ee cli info | Print various details about the EE environment. |
| 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. |
GLOBAL PARAMETERS
--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.
--env=<env>
EasyEngine server environment.
--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.
--skip-tty=<true/false>
Skip tty allocation for remote command execution.
--custom-compose=<custom-compose file>
Path to custom compose file.
--[no-]color
Whether to colorize the output.
--debug[=<group>]
Show all PHP errors; add verbosity to EE bootstrap.
--quiet
Suppress informational messages.