---
name: "proutes"
section: "1"
platform: "linux"
package: "python-pyramid"
version: "1.10.2+dfsg-2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/proutes"
---

# proutes(1)

Python 2 Pyramid command

## NAME

proutes - Python 2 Pyramid command

## DESCRIPTION

usage: proutes \[-h\] \[-g GLOB\] \[-f FORMAT\]

-

  \[config\_uri\] \[config\_vars \[config\_vars ...\]\]

Print all URL dispatch routes used by a Pyramid application in the order in which they are evaluated.  Each route includes the name of the route, the pattern of the route, and the view callable which will be invoked when the route is matched.

This command accepts one positional argument named 'config\_uri'.  It specifies the PasteDeploy config file to use for the interactive shell. The format is 'inifile#name'. If the name is left off, 'main' will be assumed.  Example: 'proutes myapp.ini'.

### positional arguments:

- config\_uri

  The URI to the configuration file.

- config\_vars

  Variables required by the config file. For example, \`http\_port=%(http\_port)s\` would expect \`http\_port=8080\` to be passed here.

### optional arguments:

- **-h**, **--help**

  show this help message and exit

- **-g** GLOB, **--glob** GLOB

  Display routes matching glob pattern

- **-f** FORMAT, **--format** FORMAT

  Choose which columns to display, this will override the format key in the \[proutes\] ini section
