mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 12:24:11 +02:00
Default values for --attach and --param options
This commit is contained in:
parent
fda4dad23a
commit
095fc64c53
1 changed files with 2 additions and 0 deletions
|
|
@ -1136,6 +1136,7 @@ def drop_view(path, view, ignore, load_extension):
|
||||||
"--attach",
|
"--attach",
|
||||||
type=(str, click.Path(file_okay=True, dir_okay=False, allow_dash=False)),
|
type=(str, click.Path(file_okay=True, dir_okay=False, allow_dash=False)),
|
||||||
multiple=True,
|
multiple=True,
|
||||||
|
default=(),
|
||||||
help="Additional databases to attach - specify alias and filepath",
|
help="Additional databases to attach - specify alias and filepath",
|
||||||
)
|
)
|
||||||
@output_options
|
@output_options
|
||||||
|
|
@ -1145,6 +1146,7 @@ def drop_view(path, view, ignore, load_extension):
|
||||||
"--param",
|
"--param",
|
||||||
multiple=True,
|
multiple=True,
|
||||||
type=(str, str),
|
type=(str, str),
|
||||||
|
default=(),
|
||||||
help="Named :parameters for SQL query",
|
help="Named :parameters for SQL query",
|
||||||
)
|
)
|
||||||
@load_extension_option
|
@load_extension_option
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue