Is it possible to set the list of CiviCRM components from the command line using drush
Thanks to passing JSON objects to drush cvapi I found a solution:

echo '{"enable_components" :["CiviContribute","CiviMember","CiviMail","CiviReport","CiviEvent"] }' | drush cvapi Setting.create --in=json