fop_console
fop_console copied to clipboard
fop:add-hook simplier syntax
The command is really verbose and not fun to use.
My first attempt to use this command are always :
./bin/console fop:add-hook MyNewHook
But that's not correct the expected syntax is
./bin/console fop:add-hook --name MyNewHook --title 'who cares?' --description 'not me'
This is long, I have the feelling to loose time providing this information I judge useless.
./bin/console fop:add-hook --name MyNewHook
or
./bin/console fop:add-hook --name MyNewHook --no-interaction
(currently fails)
I suggest to ask for description and title only when no parameters at all are provided.
I strongly agree with that, I'll probably do a PR soon.