Open SebSept opened 3 years ago
I think we could even create the hook by default if it doesn't exist, WDYT?
Not creating it prevents typo, it's good for safety imo.
Ah yea, I see. So let's add this option. And when hook doesn't exist and the option is not provided, we can ask the user if he wants to create the hook?
yes, that will be more user friendly :)
--create
(?)when I run
fop:modules:hook --module vueseclatees --hook displayTableauVueEclateeDispatch
I have a message that this hook does not exists. So I run the commandfop:add-hook --name displayTableauVueEclateeDispatch
which annoys me with a title and a description (#106) :( Then I run the first command again.Too long :(
Having an option
create
will not break anything and allow just to run the command again with the option to get what I want.