From 61257a10620430ad7f059367bf239fefde36b461 Mon Sep 17 00:00:00 2001 From: Ahmed Jabar Date: Sun, 4 Sep 2022 08:41:37 +1000 Subject: [PATCH 1/3] Revert "Prevent output wrapping when running "ahoy drush"" --- .ahoy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ahoy.yml b/.ahoy.yml index 3bbdf0c5..872e4584 100644 --- a/.ahoy.yml +++ b/.ahoy.yml @@ -48,7 +48,7 @@ commands: drush: usage: Run drush commands in cli container. - cmd: docker-compose exec -e -T cli drush "$@" + cmd: docker-compose exec -T cli drush "$@" logs: usage: Show Docker logs. From a7683b3aebb18c6fad6b8f275022df38a4c69d27 Mon Sep 17 00:00:00 2001 From: Ahmed Jabar Date: Mon, 12 Sep 2022 07:07:38 +1000 Subject: [PATCH 2/3] Add a custom drush command. --- custom/ahoy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom/ahoy.yml b/custom/ahoy.yml index 0eae5ef5..899c40d6 100644 --- a/custom/ahoy.yml +++ b/custom/ahoy.yml @@ -11,6 +11,10 @@ commands: echo -e "Type \`\033[0;32mahoy my\033[0m\` for a list of custom commmands." echo + drush-wo-line-wrap: + usage: Return the output without line wrapping. + cmd: docker-compose exec -e 120 -T cli drush "$@" + # mycustomcommand: # cmd: | # echo "Anything complex you can do on the command line, you can make available for all developers in your project." From 90491c8e21e13a209f07375b32b3bf666d28199e Mon Sep 17 00:00:00 2001 From: Steve Worley Date: Mon, 12 Sep 2022 09:20:03 +1000 Subject: [PATCH 3/3] Update custom/ahoy.yml --- custom/ahoy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/ahoy.yml b/custom/ahoy.yml index 899c40d6..207f0005 100644 --- a/custom/ahoy.yml +++ b/custom/ahoy.yml @@ -11,7 +11,7 @@ commands: echo -e "Type \`\033[0;32mahoy my\033[0m\` for a list of custom commmands." echo - drush-wo-line-wrap: + drush-local: usage: Return the output without line wrapping. cmd: docker-compose exec -e 120 -T cli drush "$@"