patternlab-php-core icon indicating copy to clipboard operation
patternlab-php-core copied to clipboard

Option for disabling keyboard-input and use sensible defaults from the config-file.

Open stmh opened this issue 8 years ago • 0 comments

We are using a CI to deploy our websites. As part of the deployment process we want to build patternlab by running cd <patternlab-folder> && composer install && php core/console --generate. This is currently not possible, as patternlab requires that you press some keys when installing it.

To fix this I added a new config-option called existingPathsPolicy, where you can setup how patternlab should react.

So for a keyless installation of patternlab, all you need to do is to add these two lines to your config/config.yml-file:

overrideConfig: a
existingPathsPolicy: merge

stmh avatar Jan 21 '18 17:01 stmh