Python 3 Pyramid command
Open an interactive shell with a Pyramid app loaded. This command accepts one
positional argument named "config_uri" which specifies the PasteDeploy config
file to use for the interactive shell. The format is "inifile#name". If the
name is left off, the Pyramid default application will be assumed. Example:
"pshell myapp.ini#main" If you do not point the loader directly at the
section of the ini file containing your Pyramid application, the command will
attempt to find the app for you. If you are loading a pipeline that contains
more than one Pyramid application within it, the loader will use the last one.
- -h, --help
show this help message and exit
- -p PYTHON_SHELL, --python-shell=,PYTHON_SHELL/
Select the shell to use. A list of possible shells is
available using the --list-shells option.
- -l, --list-shells
List all available shells.
A callable that will be passed the environment before
it is made available to the shell. This option will
override the 'setup' key in the [pshell] ini section.