From a50ccefe22860a033ec21d19720d7c5c24df97d4 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 16 Jan 2017 14:55:38 +0100 Subject: [PATCH] config:dump-reference now accepts config subpaths --- bundles/installation.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bundles/installation.rst b/bundles/installation.rst index c0606952bb1..c152dbe75e5 100644 --- a/bundles/installation.rst +++ b/bundles/installation.rst @@ -133,6 +133,21 @@ The output will look like this: node_paths: [] # ... +.. tip:: + + For complex bundles that define lots of configuration options, you can pass + a second optional argument to the ``config:dump-reference`` command to only + display a section of the entire configuration: + + .. code-block:: terminal + + $ bin/console config:dump-reference AsseticBundle use_controller + + # Default configuration for "AsseticBundle" at path "use_controller" + use_controller: + enabled: '%kernel.debug%' + profiler: false + Other Setup -----------