drupal 8 custom drush command code example
Example: drupal 8 drush set module version
drush ev "\Drupal::keyValue('system.schema')->set('my_nice_module', (int) 8149)";
drush ev "\Drupal::keyValue('system.schema')->set('my_nice_module', (int) 8149)";