_ _ _
/ \ | (_) __ _ ___
/ _ \ | | |/ _` / __|
/ ___ \| | | (_| \__ \
/_/ \_\_|_|\__,_|___/
The set of alternative names of commands in the style of Assembler commands - abbreviations or other maximally possible short names.
Command | Parameters | Description | Example |
---|---|---|---|
Apache | |||
eap | - | Stop | eap |
ear | - | Restart | ear |
eas | - | Start | eas |
Composer | |||
eci | [any] | Install | eci --no-dev |
ecp | See here | Get the latest versions of packages without packages for development | ecp --no-progress |
ecr | Package name | Add package | ecr lexhouk/d8:^0.14 |
Docker | |||
edrd | - | Deactivate containers | edrd |
edre |
|
Connect to a container or execute any command | edre myproject_web pwd |
edru | - | Activate containers | edru -f compose.local.yml |
Drupal | |||
edlu |
|
Update extension | edlu https://ftp.drupal.org/files/projects/ standwithukraine -7.x-2.3.tar.gz |
Drush | |||
edscd | See here | Drop all tables in a given database | edscd --database=drupal |
edscl | See here | Delete watchdog messages | edscl --type=cron |
edsn | - | Run cron | edsn |
edsf | Module name | Update feature | edsf mymodule_blocks |
edsl | User ID | Generate a one time login link for the user account | edsl 10 |
ei | Module or theme name(s) | Install extension(s) | ei config2php |
edsmi | edsmi config2php | ||
edsmu | Module name(s) | Uninstall module(s) | edsmu ban |
edsq | See here | Returns a list of all defined queues | edsq --format=list |
Git | |||
ega | See here | Add file contents to the index | ega index.php |
egbs | Branch name | Switching to specified or previous branch. | egbs main |
egc |
|
Re-clone repository when the current folder contains the repository. Otherwise, cloning a repository that is defined in a parameter. | egc https://github.com/lexhouk/configs.git configs |
egp | Filename | Apply a patch | egp core.patch |
egrv | Commit hash(es) | Revert some existing commit(s) | egrv 1a4e902815b1619bcf2cc9a284e57c6650ef4098 |
egs | - | Stash the changes in a dirty working directory away | egs |
egsa | - | Apply a single stashed state on top of the current working tree state | egsa |
egsm | - | Add Drupal core as a submodule | egsm |
egsma | Module name | Add a Drupal module as a submodule | egsma mymodule_blocks |
egsmu | - | Update submodules | egsmu |
MySQL | |||
emr |
|
Load database from file or just delete all data and structure if the file is not specified | emr mydatabase dump.sql |
Operating system | |||
esc | - | Edit commands file | esc |
escf | Phrase | Search a phrase in the commands file | escf edit |
esh | - | Edit hosts file | esh |
esp | - | Set the webserver user as the owner of the Drupal default files directory | esp |
platform.sh | |||
epsh | Filename without extension | Creating dump of database | epsh master |
projects.yml
git:
user: <git_username>
mail: <git_email>
<project_name>:
info:
title: <project_title>
local:
directory: <path>
database: <local_database_name>
remote:
host: <ip_or_domain_name_for_remote_mysql_server_host>
user: <remote_database_username>
password: <remote_database_password>
database: <remote_database_name>
[dev|live]:
branch: <git_branch_name>
ssh:
host: <ip_or_domain_name_for_remote_ssh_host>
port: <port_for_remote_ssh_host>
user: <remote_ssh_username>
directory: <path>
docker: <web_server_container_name>
docker_db: <databases_server_container_name>
drush:
uri: <domain_from_multisite_environment>