mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
sqlite-utils table_names blah.db is now tables blah.db
Travis tests were failing because on OS X the command was this: sqlite-utils table_names blah.db But in Travis CI the command was this: sqlite-utils table-names blah.db Renaming it to tables fixes this inconsistency.
This commit is contained in:
parent
42b2b4b785
commit
9501ba4bf1
4 changed files with 13 additions and 13 deletions
|
|
@ -22,7 +22,7 @@ def cli():
|
|||
@click.option(
|
||||
"--fts5", help="Just show FTS5 enabled tables", default=False, is_flag=True
|
||||
)
|
||||
def table_names(path, fts4, fts5):
|
||||
def tables(path, fts4, fts5):
|
||||
"""List the tables in the database"""
|
||||
db = sqlite_utils.Database(path)
|
||||
for name in db.table_names(fts4=fts4, fts5=fts5):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue