kopia lustrzana https://github.com/simonw/datasette
Use type integer for --timeout, refs #1717
rodzic
4bd3a30e1e
commit
e64d14e413
|
@ -43,6 +43,7 @@ def publish_subcommand(publish):
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--timeout",
|
"--timeout",
|
||||||
|
type=int,
|
||||||
help="Build timeout in seconds",
|
help="Build timeout in seconds",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
|
|
|
@ -248,7 +248,7 @@ datasette publish cloudrun --help
|
||||||
metadata.json
|
metadata.json
|
||||||
--memory TEXT Memory to allocate in Cloud Run, e.g. 1Gi
|
--memory TEXT Memory to allocate in Cloud Run, e.g. 1Gi
|
||||||
--cpu [1|2|4] Number of vCPUs to allocate in Cloud Run
|
--cpu [1|2|4] Number of vCPUs to allocate in Cloud Run
|
||||||
--timeout TEXT Build timeout in seconds
|
--timeout INTEGER Build timeout in seconds
|
||||||
--apt-get-install TEXT Additional packages to apt-get install
|
--apt-get-install TEXT Additional packages to apt-get install
|
||||||
--help Show this message and exit.
|
--help Show this message and exit.
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue