Skip to content

Commit

Permalink
[service:override] New command (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuarez20 authored and enzolutions committed Aug 5, 2019
1 parent 5282008 commit 5c2aaef
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions translations/service.override.yml
Original file line number Diff line number Diff line change
@@ -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.