drupal-php icon indicating copy to clipboard operation
drupal-php copied to clipboard

Include Chi-teck/drupal-code-generator phar

Open kgaut opened this issue 4 years ago • 2 comments

Chi-teck/drupal-code-generator binary allows to scaffold code for drupal.

Drush embed 1.* branches and commands, but a 2.* version exist and offer new features

DCG could be used as a standalone phar (https://github.com/Chi-teck/drupal-code-generator#installation)

Having it in the path of the php image won't break the existing 1.* drush integration and would also allow use to use new features from the 2.* branch directly.

kgaut avatar Apr 10 '21 20:04 kgaut

What's the point of pre-installing it? Sounds like it's something like console and drush that should be installed via composer, especially since it has multiple versions and depends on the drush version

csandanov avatar Apr 12 '21 03:04 csandanov

Hi,

Drush lock the 1.3.* version of drupal code generator.

Embed the phar as a standalone, like drush launcher for instance, would allow us to use the 2.0.0 version directly.

kgaut avatar Apr 12 '21 05:04 kgaut