Skip to content
Permalink
Browse files

[service:override] New command (#248)

  • Loading branch information...
harold20 authored and enzolutions committed Aug 5, 2019
1 parent 5282008 commit 5c2aaefd9511867fc6ab1029938f505f6e43ef83
Showing with 27 additions and 0 deletions.
  1. +27 −0 translations/service.override.yml
@@ -0,0 +1,27 @@
description: 'Override services value.'
questions:
name: 'Enter service name'
key: 'Enter the service key'
value: 'Enter the "%s" service value'
arguments:
name: 'Service name'
options:
key: 'Key'
value: 'Value'
messages:
service-name: 'Service name'
service-key: 'Service key'
original: 'Original Value'
updated: 'Override Value'
invalid-name: 'Service object "%s" does not exist.'
invalid-config-file: 'Service file does not exist.'
examples:
- description: "Override options from twig.config service"
execution: |
drupal service:override twig.config \
--key='debug' \
--key='cache' \
--value='true' \
--value='false' \
--no-interaction

0 comments on commit 5c2aaef

Please sign in to comment.
You can’t perform that action at this time.