From 5c2aaefd9511867fc6ab1029938f505f6e43ef83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harold=20Ju=C3=A1rez?= Date: Mon, 5 Aug 2019 14:11:09 -0600 Subject: [PATCH] [service:override] New command (#248) --- translations/service.override.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 translations/service.override.yml diff --git a/translations/service.override.yml b/translations/service.override.yml new file mode 100644 index 0000000..926a274 --- /dev/null +++ b/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 +