Skip to content

Instantly share code, notes, and snippets.

@jtbonhomme
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save jtbonhomme/d8b7b1a3290f4d699aa6 to your computer and use it in GitHub Desktop.

Select an option

Save jtbonhomme/d8b7b1a3290f4d699aa6 to your computer and use it in GitHub Desktop.
List all REST API routes
rm routes.txt
for i in *.py; do cat $i | grep "@.*('\/.*')" >> routes.txt; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment