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

non-interactive install

Open stmh opened this issue 9 years ago • 1 comments

Hi,

we are trying to integrate patternlab with our CI, so that on every push the patternlab-files get created automatically. So we don't need to commit all build-files to the repository.

For that we are calling basically the following script:

cd <patternlab-folder> && composer install && php core/console --generate

Now the installer asks some questions if I want to merge stuff. But this needs an interactive shell. Is there some option to disable these questions?

thanks in advance.

stmh avatar Oct 17 '16 16:10 stmh

Rather than simply disable the interactive questions, I’d love to be able to manually set them as command arguments when running composer install or create-project.

As an example: composer create-project --replace --starterkit=4 pattern-lab/edition-drupal-standard pattern-lab

The --replace argument would automatically choose replace when asked to merge or replace and the --starterkit=4 argument would choose option 4 when asked to choose a starterkit.

dcmouyard avatar Jan 13 '17 14:01 dcmouyard