Closed SassNinja closed 5 years ago
We decided not to include generate hook
. First its not possible to correctly position a call to the hook in serviceName.hooks.?s
. That has to be done by manually. Second, adding hooks manually is trivial.
The most we could do is create an empty module for the hook and require
it in serviceName.hooks.?s
.
The most we could do is create an empty module for the hook and require it in
serviceName.hooks.?s
. - @eddyystop
Then it would be almost the same as feathers cli. It may be trivial but nevertheless I think it's a nice helper, to help not forget the test.
I agree. It seems I discounted this too easily. I'll leave this as a to do.
Sorry, issues under feathers-plus/cli don't get reviewed much at all. Most issues are created under feathers-plus/generator-feathers-plus.
generate hook
was implemented and documented some time ago.
If I've understood correctly feathers-plus is supposed to offer the same features as feathers cli (plus additional ones), isn't it?
I tried to generate a hook via
but this command doesn't seem to be supported
Has it been forgotten?