mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
about and about_url metadata options
This commit is contained in:
parent
41744d7690
commit
bf6b0f918d
12 changed files with 37 additions and 2 deletions
|
|
@ -42,6 +42,8 @@ def add_common_publish_arguments_and_options(subcommand):
|
|||
click.option("--license_url", help="License URL for metadata"),
|
||||
click.option("--source", help="Source label for metadata"),
|
||||
click.option("--source_url", help="Source URL for metadata"),
|
||||
click.option("--about", help="About label for metadata"),
|
||||
click.option("--about_url", help="About URL for metadata"),
|
||||
)):
|
||||
subcommand = decorator(subcommand)
|
||||
return subcommand
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ def publish_subcommand(publish):
|
|||
license_url,
|
||||
source,
|
||||
source_url,
|
||||
about,
|
||||
about_url,
|
||||
name,
|
||||
):
|
||||
fail_if_publish_binary_not_installed(
|
||||
|
|
@ -72,6 +74,8 @@ def publish_subcommand(publish):
|
|||
"license_url": license_url,
|
||||
"source": source,
|
||||
"source_url": source_url,
|
||||
"about": about,
|
||||
"about_url": about_url,
|
||||
},
|
||||
):
|
||||
app_name = None
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ def publish_subcommand(publish):
|
|||
license_url,
|
||||
source,
|
||||
source_url,
|
||||
about,
|
||||
about_url,
|
||||
name,
|
||||
force,
|
||||
token,
|
||||
|
|
@ -70,6 +72,8 @@ def publish_subcommand(publish):
|
|||
"license_url": license_url,
|
||||
"source": source,
|
||||
"source_url": source_url,
|
||||
"about": about,
|
||||
"about_url": about_url,
|
||||
},
|
||||
):
|
||||
now_json = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue