I have OpenAtrium2 instance and I want to check it version from CLI.
How can I do it?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityJust run the following command from the root directory of your Open Atrium installation:
drush status-report
This should give you the output similar to the status report screen in the standard Drupal backend. In my Open Atrium installation, one of the lines reads:
Install profile Info OpenAtrium (openatrium-7.x-2.18)
So in this case I'm running Open Atrium version 2.18.
$ drush st --format=list drupal_version
-> 7.24
drush status-report --fields=description | grep OpenAtrium | cut -c25- | cut -d')' -f1
but it's not ideal