New --setting to replace --config, closes #992

This commit is contained in:
Simon Willison 2020-11-24 12:01:47 -08:00
commit 3159263f05
3 changed files with 93 additions and 4 deletions

View file

@ -25,9 +25,10 @@ Options:
--plugins-dir DIRECTORY Path to directory containing custom plugins
--static MOUNT:DIRECTORY Serve static files from this directory at /MOUNT/...
--memory Make :memory: database available
--config CONFIG Set config option using configname:value
docs.datasette.io/en/stable/config.html
--config CONFIG Deprecated: set config option using configname:value. Use
--setting instead.
--setting SETTING... Setting, see docs.datasette.io/en/stable/config.html
--secret TEXT Secret used for signing secure values, such as signed
cookies