Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

stmh
Copy link

@stmh stmh commented Jan 21, 2018

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

… input.

Possible values are 'merge' and 'replace'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant