Hello,
Whenever I try to see the exact version of a module/theme with "drush pml --package=name" I get an empty reply with just the heading. Seems like I don't understand the way drush pm-list works. Any ideas?
Thanks
H.S.

Comments

gisle’s picture

If you run it without arguments:

drush pml

You will see the first column headed "Package".

Using a string that appears in this colum, e.g.:

drush pml --package=Core

will give you meaningful output.

What you're looking for is probably:

drush pml | grep project-name

Example:

drush pml | grep bartik
Core      Bartik (bartik)        Theme   Enabled        8.9.3

Maybe somebody else knows about a drush command that does this without piping it through grep.

- gisle

hstoellinger’s picture

Thanks!