'datasette serve -i immutable.db' option, refs #419

This commit is contained in:
Simon Willison 2019-03-17 16:25:15 -07:00
commit 47032636b5
3 changed files with 22 additions and 4 deletions

View file

@ -5,6 +5,7 @@ Usage: datasette serve [OPTIONS] [FILES]...
Serve up specified SQLite database files with a web UI
Options:
-i, --immutable PATH Database files to open in immutable mode
-h, --host TEXT host for server, defaults to 127.0.0.1
-p, --port INTEGER port for server, defaults to 8001
--debug Enable debug mode - useful for development