jackd248 / ddev-commands-collection

Collection of reusable DDEV commands
MIT License
3 stars 1 forks source link

fix: composer commands without param should display composer script options instead of throwing an error #8

Open tgaertner opened 6 months ago

tgaertner commented 6 months ago

replace -d with --working-dir= to prevent error and correctly display composer script list when called without param like 'ddev composer:app'

jackd248 commented 6 months ago

What kind of error do you mentioned?

tgaertner commented 6 months ago

Can not reproduce this one. Probably it was a problem with an earlier composer version. Calling ddev coposer:app resulted in executing composer -d /some/path which produces an error. Somthing like "-d is not a valid composer command". Using --working-dir prevended this error.

Since this is obviously fixed in composer - we can close this issue.

We could still change the param for better readability.