Mercurial > piecrust2
diff piecrust/commands/builtin/info.py @ 731:dafb7d76c2ba
routes: Show the route template function.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 01 Jun 2016 22:11:05 -0700 |
parents | ab5c6a8ae90a |
children | f9d926669d7a |
line wrap: on
line diff
--- a/piecrust/commands/builtin/info.py Wed Jun 01 22:10:47 2016 -0700 +++ b/piecrust/commands/builtin/info.py Wed Jun 01 22:11:05 2016 -0700 @@ -84,6 +84,9 @@ logger.info(" source: %s" % (route.source_name or '')) logger.info(" generator: %s" % (route.generator_name or '')) logger.info(" regex: %s" % route.uri_re.pattern) + logger.info(" function: %s(%s)" % ( + route.template_func_name, + ', '.join(route.template_func_args))) class ShowPathsCommand(ChefCommand):