-c shortcut for --config - refs #2143, #2149

This commit is contained in:
Simon Willison 2023-08-22 19:33:26 -07:00
commit 2ce7872e3b
2 changed files with 25 additions and 0 deletions

View file

@ -415,6 +415,7 @@ def uninstall(packages, yes):
)
@click.option("--memory", is_flag=True, help="Make /_memory database available")
@click.option(
"-c",
"--config",
type=click.File(mode="r"),
help="Path to JSON/YAML Datasette configuration file",