contributte / console

:boom: Best minimal console (symfony/console) to Nette Framework (@nette)
https://contributte.org/packages/contributte/console.html
MIT License
93 stars 32 forks source link

Allow passing custom helper set in configuration #4

Closed jankonas closed 7 years ago

jankonas commented 7 years ago

Use case is for example registering Doctrine commands which require additional helpers to work.

I wanted to find more elegant solution but for now this is the best I found. I cannot set the helper set to individual command when it is created, because it is overwritten when the command is added to the application.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.9%) to 76.667% when pulling 27aff8d3cfcdb11686d15e1dd314a800a0c5d4b0 on jankonas:helper-set into 84d2678f18822a6cae0b0a799461e7a572dc0f47 on contributte:master.

f3l1x commented 7 years ago

Thank you.