contributte / console

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

Not able to build without helperSet #38

Closed akadlec closed 4 years ago

akadlec commented 4 years ago

Trying to migrate from kdyby. My conf:

console:
    name: xxx
    version: '1.0'
    catchExceptions: true
    autoExit: true
    url: http://example.com
    lazy: false
    helperSet: null
    helpers: []

And build throw error:

Nette\DI\ServiceCreationException: Service 'console.helperSet': Factory and type are missing in definition of service.

ver:

  - Installing nette/di (v3.0.1): Cloning 4aff517a1c from cache
  - Installing contributte/console (v0.7.1): Cloning a676e1a395 from cache
akadlec commented 4 years ago

and why this ext is not using some default values?

akadlec commented 4 years ago

Had to update config to this:

console:
    helperSet: \Symfony\Component\Console\Helper\HelperSet

with version 0.6 it is working with null

f3l1x commented 4 years ago

Hi, I will take a look, thanks.