mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
cc3d5d7aaf
### pokedex/main.py - #### create_parser() - - Change the default in the the help text for the `-l` argument in the `pokedex dump` parser. #### command_dump() - - Change the functionality of `pokedex dump -l none` to be the same as entering `pokedex dump`. --- ### pokedex/db/load.py - #### dump() - - Change the functionality of the dump command to work the way that the help text says it should. - Tables always dump official languages. - If there were any `langs` passed, then the official languages plus the specified `langs` will be dumped from the tables that have a 'local_language_id' column. - If `pokedex dump -l all` is passed then all the languages (official and unofficial) will be dumped. - If the table doesn't have a 'local_language_id' column, then all the rows will be dumped. |
||
---|---|---|
.. | ||
__init__.py | ||
dependencies.py | ||
load.py | ||
markdown.py | ||
multilang.py | ||
oracle.py | ||
tables.py | ||
translations.py | ||
util.py |