sh

drushCommand_php_cli.sh
drush php:cli

drushCommand_php_eval.sh
drush php:eval

drushCommand_php_script.sh
drush php:script

14.04.2026 | Michael Ebert, Lothar Ferreira Neumann

drush php commands

drush_user_information.sh
drush user:information --uid=user_id

 

output.md
 ```
 --------- ----------- ------------------- --------------- -------------
  User ID   User name   User mail           User roles      User status
 --------- ----------- ------------------- --------------- -------------
  1         admin       admin@example.com   authenticated   1
 --------- ----------- ------------------- --------------- -------------
 ```

We ran into a problem with the maillog table in my sql-dump - so we just excluded it from the dump

 

skip-tables.sh
drush sql-dump --skip-tables-list=maillog
25.08.2023 | Dominik Wille

Skip tables in drush sql-dump

calc-release.sh
#!/bin/bash

latest=$(git tag -l | sort -V | tail -n1)
semver_parts=(${latest//./ })
major=${semver_parts[0]}
minor=${semver_parts[1]}
patch=${semver_parts[2]}

patch_version=${major}.${minor}.$((patch+1))
minor_version=${major}.$((minor+1)).0
major_version=$((major+1)).0.0

echo "latest:        $latest"
echo "patch release: $patch_version"
echo "minor release: $minor_version"
echo "major release: $major_version"
13.11.2025 | Marc Hitscherich

Calculate next suitable version tag from git