mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 20:34:12 +02:00
It's return_db, not _return_db - refs #643
This commit is contained in:
parent
2258b431d4
commit
21e80dfbcf
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ As a special niche feature, if your plugin needs to import some files and then a
|
||||||
)
|
)
|
||||||
def show_schema_for_files(ctx, paths):
|
def show_schema_for_files(ctx, paths):
|
||||||
from sqlite_utils.cli import memory
|
from sqlite_utils.cli import memory
|
||||||
db = ctx.invoke(memory, paths=paths, _return_db=True)
|
db = ctx.invoke(memory, paths=paths, return_db=True)
|
||||||
# Now do something with that database
|
# Now do something with that database
|
||||||
click.echo(db.schema)
|
click.echo(db.schema)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue