Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions pgsqlite/pgsqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,32 +542,27 @@ async def create_all_indexes():
parser.add_argument(
"-d",
"--debug",
type=bool,
default=False,
action='store_true',
help="Set log level to DEBUG",
)
parser.add_argument(
"--show_sample_data",
type=bool,
default=False,
action='store_true',
help="After import, show up to 10 rows of the imported data in each table.",
)
parser.add_argument(
"--drop_tables",
type=bool,
default=False,
action='store_true',
help="Prior to import, drop tables in the target database that have the same name as tables in the source database",
)
parser.add_argument(
"--drop_everything",
type=bool,
default=False,
action='store_true',
help="Prior to import, drop everything (tables, views, triggers, etc, etc) in the target database before the import",
)
parser.add_argument(
"--drop_tables_after_import",
type=bool,
default=False,
action='store_true',
help="Drop all tables in the target database after import; useful for testing",
)
args = parser.parse_args()
Expand Down