Git Product home page Git Product logo

alias's Introduction

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

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

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>

alias's People

Contributors

lexhouk avatar

Watchers

 avatar  avatar

alias's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.