Scroll to navigation

PVIEWS3(1) User Commands PVIEWS3(1)

NAME

pviews3 - Python 3 Pyramid command

DESCRIPTION

usage: pviews3 [-h] [config_uri] [url] [config_vars ...]

Print, for a given URL, the views that might match. Underneath each potentially matching route, list the predicates required. Underneath each route+predicate set, print each view that might match and its predicates.

This command accepts two positional arguments: 'config_uri' 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. 'url' specifies the path info portion of a URL that will be used to find matching views. Example: 'proutes myapp.ini#main /url'

positional arguments:

The URI to the configuration file.
The path info portion of the URL.
Variables required by the config file. For example, `http_port=%(http_port)s` would expect `http_port=8080` to be passed here.

options:

show this help message and exit
December 2022 pviews3 2.0+dfsg-2