govCMS / scaffold

9 stars 19 forks source link

Prevent output wrapping when running "ahoy drush" #45

Closed klonos closed 2 years ago

klonos commented 2 years ago

This is in order to address this issue:

image

As you can see from the screenshot above, running ahoy drush uinf directly returns a wrapped username/email, which is hard to copy/paste or parse via grep. Whereas first ssh'ing via ahoy cli and then running drush uinf has the correctly-formatted, expected output.

This is not an issue with ahoy, rather than with docker-compose, and it can be fixed is you specify the COLUMNS parameter. I've set it to 120, which basically increases it from the default 80 and seems plenty (should fix the issue in most cases):

image