websauna.system.devop.scripts.createtable module

ws-create-table script.

Print out sql statements needed to construct all the currently configured models.

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

Print out sql statements needed to construct currently configured models.

Parameters

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

Raises

sys.SystemExit