Adding export functionality to drush.