endpoints
endpoints copied to clipboard
if no ENDPOINTS_PREFIX's are defined, go through all modules in cwd?
In an effort to make initial configuration even easier, would it be possible to just load controllers using the current working directory? So if prefixes are set then use those, otherwise go through all the modules of the cwd and find the controllers, in this case endpoints would set prefixes to the modules that contained at least one Controller subclass.
Endpoints should ignore modules/folders that start with an underscore or dot
it could actually just look for a controllers module in the current working directory, or look for all controllers modules in all the PATH
https://github.com/Jaymon/endpoints/issues/123
This was also closed in f19fd6b7d8c4eab4b865e1ebe36b50416ac72ac1 but I forgot to mention it in the commit message