Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lexhouk/alias

The set of alternative names of commands in the style of Assembler commands - abbreviations or other maximally possible short names.
https://github.com/lexhouk/alias

apache bash composer docker drupal drush git linux linux-shell macos-shell macosx mysql platform-sh ssh sublime-text-3 tar

Last synced: about 1 month ago
JSON representation

The set of alternative names of commands in the style of Assembler commands - abbreviations or other maximally possible short names.

Awesome Lists containing this project

README

        

```
_ _ _
/ \ | (_) __ _ ___
/ _ \ | | |/ _` / __|
/ ___ \| | | (_| \__ \
/_/ \_\_|_|\__,_|___/
```

# Alias

The set of alternative names of commands in the style of Assembler commands -
abbreviations or other maximally possible short names.

## Commands list



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


  • Container name

  • CLI command



Connect to a container or execute any command
edre myproject_web pwd


edru
-
Activate containers
edru -f compose.local.yml


Drupal


edlu


  • URL prefix

  • Extension name in URL

  • URL suffix



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


  • Repository URL (optional)

  • Folder name (optional)



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


  • Database name (optional)

  • SQL-file (optional)



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 file format

**projects.yml**

```yaml
git:
user:
mail:

:
info:
title:
local:
directory:
database:
remote:
host:
user:
password:
database:
[dev|live]:
branch:
ssh:
host:
port:
user:
directory:
docker:
docker_db:
drush:
uri:
```