mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-15 21:14:10 +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",
|
||||
type=(str, click.Path(file_okay=True, dir_okay=False, allow_dash=False)),
|
||||
multiple=True,
|
||||
default=(),
|
||||
help="Additional databases to attach - specify alias and filepath",
|
||||
)
|
||||
@output_options
|
||||
|
|
@ -1145,6 +1146,7 @@ def drop_view(path, view, ignore, load_extension):
|
|||
"--param",
|
||||
multiple=True,
|
||||
type=(str, str),
|
||||
default=(),
|
||||
help="Named :parameters for SQL query",
|
||||
)
|
||||
@load_extension_option
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue