Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions pokemonterminal/command_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,7 @@
' name',
nargs='?',
default=0, const=0)
either.add_argument(
'--list',
help='list all pokemons',
action='store_true')
5 changes: 5 additions & 0 deletions pokemonterminal/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ def main(argv=None):
scripter.clear_terminal()
return

if options.list:
for p in Filter.POKEMON_LIST:
print(p.get_name())
return

if is_slideshow and options.id <= 0 and size > 1:
if options.slideshow <= 0:
print("Time has to be greater than 0. You can use decimal values.")
Expand Down