Updated --help output for latest Click, closes #1354

pull/1352/head
Simon Willison 2021-06-01 09:16:58 -07:00
rodzic fd368d3b2c
commit ff45ed0ce5
4 zmienionych plików z 2 dodań i 15 usunięć

Wyświetl plik

@ -7,7 +7,6 @@ Usage: datasette package [OPTIONS] FILES...
Options:
-t, --tag TEXT Name for the resulting Docker container, can optionally use
name:tag format
-m, --metadata FILENAME Path to JSON/YAML file containing metadata to publish
--extra-options TEXT Extra options to pass to datasette serve
--branch TEXT Install datasette from a GitHub branch e.g. main
@ -19,8 +18,7 @@ Options:
--version-note TEXT Additional note to show on /-/versions
--secret TEXT Secret used for signing secure values, such as signed
cookies
-p, --port INTEGER RANGE Port to run the server on, defaults to 8001
-p, --port INTEGER RANGE Port to run the server on, defaults to 8001 [1<=x<=65535]
--title TEXT Title for metadata
--license TEXT License label for metadata
--license_url TEXT License URL for metadata

Wyświetl plik

@ -13,11 +13,9 @@ Options:
--plugin-secret <TEXT TEXT TEXT>...
Secrets to pass to plugins, e.g. --plugin-secret
datasette-auth-github client_id xxx
--version-note TEXT Additional note to show on /-/versions
--secret TEXT Secret used for signing secure values, such as signed
cookies
--title TEXT Title for metadata
--license TEXT License label for metadata
--license_url TEXT License URL for metadata

Wyświetl plik

@ -13,11 +13,9 @@ Options:
--plugin-secret <TEXT TEXT TEXT>...
Secrets to pass to plugins, e.g. --plugin-secret
datasette-auth-github client_id xxx
--version-note TEXT Additional note to show on /-/versions
--secret TEXT Secret used for signing secure values, such as signed
cookies
--title TEXT Title for metadata
--license TEXT License label for metadata
--license_url TEXT License URL for metadata
@ -28,5 +26,4 @@ Options:
-n, --name TEXT Application name to use when deploying
--tar TEXT --tar option to pass to Heroku, e.g.
--tar=/usr/local/bin/gtar
--help Show this message and exit.

Wyświetl plik

@ -10,13 +10,10 @@ Options:
connections from the local machine will be allowed. Use
0.0.0.0 to listen to all IPs and allow access from other
machines.
-p, --port INTEGER RANGE Port for server, defaults to 8001. Use -p 0 to automatically
assign an available port.
assign an available port. [0<=x<=65535]
--reload Automatically reload if code or metadata change detected -
useful for development
--cors Enable CORS by serving Access-Control-Allow-Origin: *
--load-extension TEXT Path to a SQLite extension to load
--inspect-file TEXT Path to JSON file created using "datasette inspect"
@ -27,15 +24,12 @@ Options:
--memory Make /_memory database available
--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
--root Output URL that sets a cookie authenticating the root user
--get TEXT Run an HTTP GET request against this path, print results and
exit
--version-note TEXT Additional note to show on /-/versions
--help-config Show available config options
--pdb Launch debugger on any errors