mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Updated --help output for latest Click, closes #1354
This commit is contained in:
parent
fd368d3b2c
commit
ff45ed0ce5
4 changed files with 2 additions and 15 deletions
|
|
@ -7,7 +7,6 @@ Usage: datasette package [OPTIONS] FILES...
|
||||||
Options:
|
Options:
|
||||||
-t, --tag TEXT Name for the resulting Docker container, can optionally use
|
-t, --tag TEXT Name for the resulting Docker container, can optionally use
|
||||||
name:tag format
|
name:tag format
|
||||||
|
|
||||||
-m, --metadata FILENAME Path to JSON/YAML file containing metadata to publish
|
-m, --metadata FILENAME Path to JSON/YAML file containing metadata to publish
|
||||||
--extra-options TEXT Extra options to pass to datasette serve
|
--extra-options TEXT Extra options to pass to datasette serve
|
||||||
--branch TEXT Install datasette from a GitHub branch e.g. main
|
--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
|
--version-note TEXT Additional note to show on /-/versions
|
||||||
--secret TEXT Secret used for signing secure values, such as signed
|
--secret TEXT Secret used for signing secure values, such as signed
|
||||||
cookies
|
cookies
|
||||||
|
-p, --port INTEGER RANGE Port to run the server on, defaults to 8001 [1<=x<=65535]
|
||||||
-p, --port INTEGER RANGE Port to run the server on, defaults to 8001
|
|
||||||
--title TEXT Title for metadata
|
--title TEXT Title for metadata
|
||||||
--license TEXT License label for metadata
|
--license TEXT License label for metadata
|
||||||
--license_url TEXT License URL for metadata
|
--license_url TEXT License URL for metadata
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,9 @@ Options:
|
||||||
--plugin-secret <TEXT TEXT TEXT>...
|
--plugin-secret <TEXT TEXT TEXT>...
|
||||||
Secrets to pass to plugins, e.g. --plugin-secret
|
Secrets to pass to plugins, e.g. --plugin-secret
|
||||||
datasette-auth-github client_id xxx
|
datasette-auth-github client_id xxx
|
||||||
|
|
||||||
--version-note TEXT Additional note to show on /-/versions
|
--version-note TEXT Additional note to show on /-/versions
|
||||||
--secret TEXT Secret used for signing secure values, such as signed
|
--secret TEXT Secret used for signing secure values, such as signed
|
||||||
cookies
|
cookies
|
||||||
|
|
||||||
--title TEXT Title for metadata
|
--title TEXT Title for metadata
|
||||||
--license TEXT License label for metadata
|
--license TEXT License label for metadata
|
||||||
--license_url TEXT License URL for metadata
|
--license_url TEXT License URL for metadata
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,9 @@ Options:
|
||||||
--plugin-secret <TEXT TEXT TEXT>...
|
--plugin-secret <TEXT TEXT TEXT>...
|
||||||
Secrets to pass to plugins, e.g. --plugin-secret
|
Secrets to pass to plugins, e.g. --plugin-secret
|
||||||
datasette-auth-github client_id xxx
|
datasette-auth-github client_id xxx
|
||||||
|
|
||||||
--version-note TEXT Additional note to show on /-/versions
|
--version-note TEXT Additional note to show on /-/versions
|
||||||
--secret TEXT Secret used for signing secure values, such as signed
|
--secret TEXT Secret used for signing secure values, such as signed
|
||||||
cookies
|
cookies
|
||||||
|
|
||||||
--title TEXT Title for metadata
|
--title TEXT Title for metadata
|
||||||
--license TEXT License label for metadata
|
--license TEXT License label for metadata
|
||||||
--license_url TEXT License URL for metadata
|
--license_url TEXT License URL for metadata
|
||||||
|
|
@ -28,5 +26,4 @@ Options:
|
||||||
-n, --name TEXT Application name to use when deploying
|
-n, --name TEXT Application name to use when deploying
|
||||||
--tar TEXT --tar option to pass to Heroku, e.g.
|
--tar TEXT --tar option to pass to Heroku, e.g.
|
||||||
--tar=/usr/local/bin/gtar
|
--tar=/usr/local/bin/gtar
|
||||||
|
|
||||||
--help Show this message and exit.
|
--help Show this message and exit.
|
||||||
|
|
|
||||||
|
|
@ -10,13 +10,10 @@ Options:
|
||||||
connections from the local machine will be allowed. Use
|
connections from the local machine will be allowed. Use
|
||||||
0.0.0.0 to listen to all IPs and allow access from other
|
0.0.0.0 to listen to all IPs and allow access from other
|
||||||
machines.
|
machines.
|
||||||
|
|
||||||
-p, --port INTEGER RANGE Port for server, defaults to 8001. Use -p 0 to automatically
|
-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 -
|
--reload Automatically reload if code or metadata change detected -
|
||||||
useful for development
|
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 TEXT Path to a SQLite extension to load
|
||||||
--inspect-file TEXT Path to JSON file created using "datasette inspect"
|
--inspect-file TEXT Path to JSON file created using "datasette inspect"
|
||||||
|
|
@ -27,15 +24,12 @@ Options:
|
||||||
--memory Make /_memory database available
|
--memory Make /_memory database available
|
||||||
--config CONFIG Deprecated: set config option using configname:value. Use
|
--config CONFIG Deprecated: set config option using configname:value. Use
|
||||||
--setting instead.
|
--setting instead.
|
||||||
|
|
||||||
--setting SETTING... Setting, see docs.datasette.io/en/stable/config.html
|
--setting SETTING... Setting, see docs.datasette.io/en/stable/config.html
|
||||||
--secret TEXT Secret used for signing secure values, such as signed
|
--secret TEXT Secret used for signing secure values, such as signed
|
||||||
cookies
|
cookies
|
||||||
|
|
||||||
--root Output URL that sets a cookie authenticating the root user
|
--root Output URL that sets a cookie authenticating the root user
|
||||||
--get TEXT Run an HTTP GET request against this path, print results and
|
--get TEXT Run an HTTP GET request against this path, print results and
|
||||||
exit
|
exit
|
||||||
|
|
||||||
--version-note TEXT Additional note to show on /-/versions
|
--version-note TEXT Additional note to show on /-/versions
|
||||||
--help-config Show available config options
|
--help-config Show available config options
|
||||||
--pdb Launch debugger on any errors
|
--pdb Launch debugger on any errors
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue