How to print all routes?


#1

Is there a way to dump all routes?

I would like see a dump like this to help document the
API and help in writing test cases.

GET /account/captcha
GET /account/check-username

POST /account/login


#2

There’s not such a feature currently (unless proven wrong), but it’s something I wanted to add as a Bakery command. Can you open an issue for this feature request on GitHub?


#3

Added issue #902

Added pull request as well


#4

I’ve merged your command in 4.1.20.

I’ve also pumped up the command for the upcoming UF 4.2 ! :muscle:


#5

Very nice!