fop_console icon indicating copy to clipboard operation
fop_console copied to clipboard

fop:add-hook simplier syntax

Open SebSept opened this issue 3 years ago • 1 comments

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.

SebSept avatar Mar 18 '21 16:03 SebSept

I strongly agree with that, I'll probably do a PR soon.

tom-combet avatar Sep 21 '22 14:09 tom-combet