public static function createFromTarget(TargetInterface $target, $drush_bin = 'drush')
  {
    $options = [];
    $alias = '@self';
    if ($target instanceof DrushTargetInterface) {
      $alias = $target->getAlias();
    }
    return new static($target, $drush_bin, $options, $alias);
  }