mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Unit tests now check that docs/*.txt help examples are all up-to-date. I ran into a problem here in that the terminal_width needed to be more accurately defined - so I replaced update-docs-help.sh with update-docs- help.py which hard-codes the terminal width.
31 lines
1.5 KiB
Text
31 lines
1.5 KiB
Text
$ datasette publish --help
|
|
|
|
Usage: cli publish [OPTIONS] PUBLISHER [FILES]...
|
|
|
|
Publish specified SQLite database files to the internet along with a datasette API.
|
|
|
|
Options for PUBLISHER: * 'now' - You must have Zeit Now installed:
|
|
https://zeit.co/now * 'heroku' - You must have Heroku installed:
|
|
https://cli.heroku.com/
|
|
|
|
Example usage: datasette publish now my-database.db
|
|
|
|
Options:
|
|
-n, --name TEXT Application name to use when deploying
|
|
-m, --metadata FILENAME Path to JSON file containing metadata to publish
|
|
--extra-options TEXT Extra options to pass to datasette serve
|
|
--force Pass --force option to now
|
|
--branch TEXT Install datasette from a GitHub branch e.g. master
|
|
--token TEXT Auth token to use for deploy (Now only)
|
|
--template-dir DIRECTORY Path to directory containing custom templates
|
|
--plugins-dir DIRECTORY Path to directory containing custom plugins
|
|
--static STATIC MOUNT mountpoint:path-to-directory for serving static files
|
|
--install TEXT Additional packages (e.g. plugins) to install
|
|
--spatialite Enable SpatialLite extension
|
|
--version-note TEXT Additional note to show on /-/versions
|
|
--title TEXT Title for metadata
|
|
--license TEXT License label for metadata
|
|
--license_url TEXT License URL for metadata
|
|
--source TEXT Source label for metadata
|
|
--source_url TEXT Source URL for metadata
|
|
--help Show this message and exit.
|