The ShellCommand class is accessible via the pylons.commands module.
The optional CONFIG_FILE argument specifies the config file to use for the interactive shell. CONFIG_FILE defaults to 'development.ini'.
This allows you to test your mapper, models, and simulate web requests using paste.fixture.
Example:
$ paster shell my-development.ini
"\nOpen an interactive shell with the Pylons app loaded\n\n The optional CONFIG_FILE argument specifies the config file to use for\n the interactive shell. CONFIG_FILE defaults to 'development.ini'.\n\n This allows you to test your mapper, models, and simulate web requests\n using ``paste.fixture``.\n\n Example::\n\n $ paster shell my-development.ini\n "
See the source for more information.