weaverryan / the-open-source-list

Ryan's ongoing list of things that he things he'd love someone (or himself) to do in the open source world
12 stars 1 forks source link

config:dump-reference should be debug:config #9

Closed weaverryan closed 8 years ago

weaverryan commented 8 years ago

Enough said: config:dump-reference should be debug:config

voronkovich commented 8 years ago

I don't understand this. We already have the debug:config command. For example: debug:config framework outputs the current FrameworkBundle configuration, config:dump-reference framework outputs the default FrameworkBundle configuration What's wrong here?

weaverryan commented 8 years ago

@voronkovich ha! Nice, I actually didn't know that! config:dump-reference was the original name, and so basically, somebody already did this, and I didn't even know it.

This is exactly why I wanted to publish my list somewhere public :).

Thanks!

mablae commented 8 years ago

I also didn't know that! Also I never read symfony2 issues, cause it so messed up and cluttered.

Hard to get an overview. Thanks, @voronkovich

wouterj commented 8 years ago

Symfony top tip: You can already use config:dump to execute the command, which is way shorter and easier to type (not having to search for the - key, etc.).

Disclamer: I don't want to propose renaming the command to this, as having config:dump and config:debug would be too confusing.

weaverryan commented 8 years ago

Yea, good tip - I often forget about being able to shorten commands like this!