websauna.system.devop.scripts.dbshell module

ws-db-shell script.

Run pgcli shell on the configured database.

websauna.system.devop.scripts.dbshell.main(argv=['/Users/moo/code/websauna/websauna/venv/bin/sphinx-build', '-b', 'html', '-d', 'build/doctrees', 'source', 'build/html'])[source]

Run pgcli shell on the database specified on the configuration file.

Parameters

argv (List[str]) – Command line arguments, second one needs to be the uri to a configuration file.