nfroidure / whook

Build strong and efficient REST web services.
https://slides.com/nfroidure/introducing-whook
MIT License
31 stars 7 forks source link

Improve the `whook create` command #162

Open nfroidure opened 1 year ago

nfroidure commented 1 year ago

There is a clear pattern here: https://github.com/nfroidure/whook/blob/2126f07fea694dc7963e79dd91056e57eaec52bd/packages/whook/src/commands/create.ts#L48-L55

We should be able to load all services types from the WHOOK_PLUGINS to help creating handlers smoothly.