Ran cog, refs #1789

This commit is contained in:
Simon Willison 2022-08-23 11:40:36 -07:00
commit 456dc155d4

View file

@ -85,25 +85,29 @@ Once started you can access it at ``http://localhost:8001``
Options: Options:
-i, --immutable PATH Database files to open in immutable mode -i, --immutable PATH Database files to open in immutable mode
-h, --host TEXT Host for server. Defaults to 127.0.0.1 which means -h, --host TEXT Host for server. Defaults to 127.0.0.1 which
only connections from the local machine will be means only connections from the local machine
allowed. Use 0.0.0.0 to listen to all IPs and allow will be allowed. Use 0.0.0.0 to listen to all
access from other machines. IPs and allow access from other machines.
-p, --port INTEGER RANGE Port for server, defaults to 8001. Use -p 0 to -p, --port INTEGER RANGE Port for server, defaults to 8001. Use -p 0 to
automatically assign an available port. automatically assign an available port.
[0<=x<=65535] [0<=x<=65535]
--uds TEXT Bind to a Unix domain socket --uds TEXT Bind to a Unix domain socket
--reload Automatically reload if code or metadata change --reload Automatically reload if code or metadata
detected - useful for development change detected - useful for development
--cors Enable CORS by serving Access-Control-Allow-Origin: --cors Enable CORS by serving Access-Control-Allow-
* Origin: *
--load-extension TEXT Path to a SQLite extension to load --load-extension PATH:ENTRYPOINT?
--inspect-file TEXT Path to JSON file created using "datasette inspect" Path to a SQLite extension to load, and
-m, --metadata FILENAME Path to JSON/YAML file containing license/source optional entrypoint
metadata --inspect-file TEXT Path to JSON file created using "datasette
inspect"
-m, --metadata FILENAME Path to JSON/YAML file containing
license/source metadata
--template-dir DIRECTORY Path to directory containing custom templates --template-dir DIRECTORY Path to directory containing custom templates
--plugins-dir DIRECTORY Path to directory containing custom plugins --plugins-dir DIRECTORY Path to directory containing custom plugins
--static MOUNT:DIRECTORY Serve static files from this directory at /MOUNT/... --static MOUNT:DIRECTORY Serve static files from this directory at
/MOUNT/...
--memory Make /_memory database available --memory Make /_memory database available
--config CONFIG Deprecated: set config option using --config CONFIG Deprecated: set config option using
configname:value. Use --setting instead. configname:value. Use --setting instead.
@ -111,10 +115,10 @@ Once started you can access it at ``http://localhost:8001``
docs.datasette.io/en/stable/settings.html docs.datasette.io/en/stable/settings.html
--secret TEXT Secret used for signing secure values, such as --secret TEXT Secret used for signing secure values, such as
signed cookies signed cookies
--root Output URL that sets a cookie authenticating the --root Output URL that sets a cookie authenticating
root user the root user
--get TEXT Run an HTTP GET request against this path, print --get TEXT Run an HTTP GET request against this path,
results and exit print results and exit
--version-note TEXT Additional note to show on /-/versions --version-note TEXT Additional note to show on /-/versions
--help-settings Show available settings --help-settings Show available settings
--pdb Launch debugger on any errors --pdb Launch debugger on any errors
@ -122,7 +126,8 @@ Once started you can access it at ``http://localhost:8001``
--create Create database files if they do not exist --create Create database files if they do not exist
--crossdb Enable cross-database joins using the /_memory --crossdb Enable cross-database joins using the /_memory
database database
--nolock Ignore locking, open locked files in read-only mode --nolock Ignore locking, open locked files in read-only
mode
--ssl-keyfile TEXT SSL key file --ssl-keyfile TEXT SSL key file
--ssl-certfile TEXT SSL certificate file --ssl-certfile TEXT SSL certificate file
--help Show this message and exit. --help Show this message and exit.
@ -566,7 +571,9 @@ This performance optimization is used automatically by some of the ``datasette p
Options: Options:
--inspect-file TEXT --inspect-file TEXT
--load-extension TEXT Path to a SQLite extension to load --load-extension PATH:ENTRYPOINT?
Path to a SQLite extension to load, and
optional entrypoint
--help Show this message and exit. --help Show this message and exit.