Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List all routes available #48

Open
sideshowcoder opened this issue Dec 16, 2014 · 0 comments
Open

List all routes available #48

sideshowcoder opened this issue Dec 16, 2014 · 0 comments

Comments

@sideshowcoder
Copy link
Owner

Currently canned resolves the routes on request, which is great since they can be modified while canned is running without any problems, adding new files/folders/etc. One thing missing so is the option to actually list what is available, currently this is mostly done by using tree to show the folder structure of the example folder, which prints something like this:

screen shot 2014-12-16 at 09 55 18

Sadly this does not take into account the rules canned has to resolve the paths, it would be awesome to get something like this:

example(master*)$ canned routes
verb   path
GET  /search
PUT  /comment/1
...

This means crawling the current file tree and resolving the routes and print.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant