mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Run black and update docs for #457
This commit is contained in:
parent
b80b03ac9a
commit
f825e20121
2 changed files with 4 additions and 5 deletions
|
|
@ -21,9 +21,7 @@ def publish_subcommand(publish):
|
||||||
help="Application name to use when building",
|
help="Application name to use when building",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--service",
|
"--service", default="", help="Cloud Run service to deploy (or over-write)"
|
||||||
default="",
|
|
||||||
help="Cloud Run service to deploy (or over-write)",
|
|
||||||
)
|
)
|
||||||
@click.option("--spatialite", is_flag=True, help="Enable SpatialLite extension")
|
@click.option("--spatialite", is_flag=True, help="Enable SpatialLite extension")
|
||||||
def cloudrun(
|
def cloudrun(
|
||||||
|
|
@ -80,7 +78,7 @@ def publish_subcommand(publish):
|
||||||
check_call("gcloud builds submit --tag {}".format(image_id), shell=True)
|
check_call("gcloud builds submit --tag {}".format(image_id), shell=True)
|
||||||
check_call(
|
check_call(
|
||||||
"gcloud beta run deploy --allow-unauthenticated --image {}{}".format(
|
"gcloud beta run deploy --allow-unauthenticated --image {}{}".format(
|
||||||
image_id, " {}".format(service) if service else "",
|
image_id, " {}".format(service) if service else ""
|
||||||
),
|
),
|
||||||
shell=True,
|
shell=True,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ Options:
|
||||||
--source_url TEXT Source URL for metadata
|
--source_url TEXT Source URL for metadata
|
||||||
--about TEXT About label for metadata
|
--about TEXT About label for metadata
|
||||||
--about_url TEXT About URL for metadata
|
--about_url TEXT About URL for metadata
|
||||||
-n, --name TEXT Application name to use when deploying
|
-n, --name TEXT Application name to use when building
|
||||||
|
--service TEXT Cloud Run service to deploy (or over-write)
|
||||||
--spatialite Enable SpatialLite extension
|
--spatialite Enable SpatialLite extension
|
||||||
--help Show this message and exit.
|
--help Show this message and exit.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue