mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-26 10:54:32 +02:00
Progress bar for "sqlite-utils extract", closes #169
This commit is contained in:
parent
55cf928f73
commit
5c4d58d152
3 changed files with 26 additions and 3 deletions
|
|
@ -650,6 +650,9 @@ The command takes the following options:
|
|||
``--rename <TEXT TEXT>``
|
||||
Use this option to rename the columns created in the new lookup table.
|
||||
|
||||
``--silent``
|
||||
Don't display the progress bar.
|
||||
|
||||
Here's a more complex example that makes use of these options. It converts `this CSV file <https://github.com/wri/global-power-plant-database/blob/232a666653e14d803ab02717efc01cdd437e7601/output_database/global_power_plant_database.csv>`__ full of global power plants into SQLite, then extracts the ``country`` and ``country_long`` columns into a separate ``countries`` table::
|
||||
|
||||
wget 'https://github.com/wri/global-power-plant-database/blob/232a6666/output_database/global_power_plant_database.csv?raw=true'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue