veekun_pokedex/pokedex
rluzuriaga cc3d5d7aaf Fix pokedex dump -l argument error - PR Changes
### 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.
2020-04-10 12:05:29 -07:00
..
cli Stub out a CLI search interface, which can also work with JSON and strings 2016-02-02 10:13:38 -08:00
data/csv Load/dump dance 2020-03-04 16:19:29 -08:00
db Fix pokedex dump -l argument error - PR Changes 2020-04-10 12:05:29 -07:00
doc Addressed all of pyflakes3's complaints 2016-11-24 21:29:58 +00:00
struct Unbreak SaveFilePokemon slightly 2018-06-26 23:53:59 -07:00
tests Fix Roserade's Central Kalos dex number and add tests 2019-07-16 18:12:58 -07:00
util Addressed all of pyflakes3's complaints 2016-11-24 21:29:58 +00:00
__init__.py Speed up import pokedex.db slightly. 2011-04-03 03:13:07 -07:00
__main__.py Make the library work with python -m. 2013-08-09 13:00:37 -07:00
compatibility.py Addressed all of pyflakes3's complaints 2016-11-24 21:29:58 +00:00
defaults.py Speed up import pokedex.db slightly. 2011-04-03 03:13:07 -07:00
formulae.py Addressed all of pyflakes3's complaints 2016-11-24 21:29:58 +00:00
lookup.py Fix references to "ja" (which is now ja-Hrkt) 2017-06-18 00:15:05 -07:00
main.py Fix pokedex dump -l argument error - PR Changes 2020-04-10 12:05:29 -07:00
roomaji.py Compat with Python 3.3+ 2015-10-05 08:12:23 -07:00
search.py Stub out a CLI search interface, which can also work with JSON and strings 2016-02-02 10:13:38 -08:00