I am using Drupal 7 and drush 7.4.0. How do I handle array variables with drush?
For example, I have a variable, social_sharing
, for which
drush vget social_sharing
Produces:
facebook: facebook
google_plus: google_plus
linkedin: linkedin
twitter: twitter
pininterest: pininterest
Using a drush command,
- How can I get the value of only facebook using drush vget?
- How can I delete one specific variable? for example if I want to remove google_plus from the list using
drush vdel
?