Skip to content

List all routes available #48

Description

@sideshowcoder

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions