Skip to content

Commit 06cc8a4

Browse files
committed
feature #7375 config:dump-reference now accepts config subpaths (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- config:dump-reference now accepts config subpaths This fixes #7370. Doc maintainers (@weaverryan, @wouterj and @xabbuh) if you think it's not worth it to document this option, please close this as "won't fix". Thanks! Commits ------- a50ccef config:dump-reference now accepts config subpaths
2 parents be79b90 + a50ccef commit 06cc8a4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

bundles/installation.rst

+15
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,21 @@ The output will look like this:
133133
node_paths: []
134134
# ...
135135
136+
.. tip::
137+
138+
For complex bundles that define lots of configuration options, you can pass
139+
a second optional argument to the ``config:dump-reference`` command to only
140+
display a section of the entire configuration:
141+
142+
.. code-block:: terminal
143+
144+
$ bin/console config:dump-reference AsseticBundle use_controller
145+
146+
# Default configuration for "AsseticBundle" at path "use_controller"
147+
use_controller:
148+
enabled: '%kernel.debug%'
149+
profiler: false
150+
136151
Other Setup
137152
-----------
138153

0 commit comments

Comments
 (0)