private function printModuleSummary($options, $heading = '') {
    // Print module info.
    if (!empty($options)) {
      drush_print("{$heading}");

      $values = [];
      foreach ($options as $status => $modules) {
        $key = dt("!action", ['!action' => ucwords($status)]);
        $value = implode(', ', $modules);
        $values[$key] = $value;
      }

      drush_print_format([$values], 'key-value-list');
    }
  }