mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-24 04:43:10 +00:00
Formatted help menu + added search system info
This commit is contained in:
parent
49b59804e5
commit
088f5859e9
3 changed files with 15 additions and 5 deletions
|
@ -81,7 +81,7 @@ Other Parameters:
|
||||||
pokemon random-kanto - Change the terminal background to a random Pokemon from the specified region.
|
pokemon random-kanto - Change the terminal background to a random Pokemon from the specified region.
|
||||||
pokemon slideshow [time] - Iterate through each Pokemon. Optional time (in seconds) between Pokemon.
|
pokemon slideshow [time] - Iterate through each Pokemon. Optional time (in seconds) between Pokemon.
|
||||||
pokemon slideshow-kanto [time] - Iterate through each Pokemon in the specified region. Optional time (in seconds) between Pokemon.
|
pokemon slideshow-kanto [time] - Iterate through each Pokemon in the specified region. Optional time (in seconds) between Pokemon.
|
||||||
pokemon clear - Clear the Pokemon in the terminal.
|
pokemon clear | disable | off - Clear the Pokemon in the terminal.
|
||||||
pokemon help - Display this menu.
|
pokemon help - Display this menu.
|
||||||
|
|
||||||
Wallpaper Parameters:
|
Wallpaper Parameters:
|
||||||
|
@ -89,6 +89,11 @@ Wallpaper Parameters:
|
||||||
pokemon _random - Change the wallpaper to a random Pokemon.
|
pokemon _random - Change the wallpaper to a random Pokemon.
|
||||||
pokemon _random-kanto - Change the wallpaper to a random Pokemon from the specified region.
|
pokemon _random-kanto - Change the wallpaper to a random Pokemon from the specified region.
|
||||||
|
|
||||||
|
Search System Information:
|
||||||
|
Any input containing 3 or more characters triggers the internal search system. Examples:
|
||||||
|
"pokemon pika" changes the terminal background to Pikachu.
|
||||||
|
"pokemon dos" changes the terminal background to Gyarados.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
tell application "iTerm"
|
tell application "iTerm"
|
||||||
tell current session of current window
|
tell current session of current window
|
||||||
set background image to "/Users/Laki/Documents/GitHub/Pokemon-Terminal/./Images/Generation IV - Sinnoh/493.png"
|
set background image to ""
|
||||||
end tell
|
end tell
|
||||||
end tell
|
end tell
|
11
main.py
11
main.py
|
@ -78,13 +78,18 @@ Other Parameters:
|
||||||
pokemon random-kanto - Change the terminal background to a random Pokemon from the specified region.
|
pokemon random-kanto - Change the terminal background to a random Pokemon from the specified region.
|
||||||
pokemon slideshow [time] - Iterate through each Pokemon. Optional time (in seconds) between Pokemon.
|
pokemon slideshow [time] - Iterate through each Pokemon. Optional time (in seconds) between Pokemon.
|
||||||
pokemon slideshow-kanto [time] - Iterate through each Pokemon in the specified region. Optional time (in seconds) between Pokemon.
|
pokemon slideshow-kanto [time] - Iterate through each Pokemon in the specified region. Optional time (in seconds) between Pokemon.
|
||||||
pokemon clear - Clear the Pokemon in the terminal.
|
pokemon clear | disable | off - Clear the Pokemon in the terminal.
|
||||||
pokemon help - Display this menu.
|
pokemon help - Display this menu.
|
||||||
|
|
||||||
Wallpaper Parameters:
|
Wallpaper Parameters:
|
||||||
pokemon _pikachu - Change the wallpaper to the specified Pokemon.
|
pokemon _pikachu - Change the wallpaper to the specified Pokemon.
|
||||||
pokemon _random - Change the wallpaper to a random Pokemon.
|
pokemon _random - Change the wallpaper to a random Pokemon.
|
||||||
pokemon _random-kanto - Change the wallpaper to a random Pokemon from the specified region.
|
pokemon _random-kanto - Change the wallpaper to a random Pokemon from the specified region.
|
||||||
|
|
||||||
|
Search System Information:
|
||||||
|
Any input containing 3 or more characters triggers the internal search system. Examples:
|
||||||
|
"pokemon pika" changes the terminal background to Pikachu.
|
||||||
|
"pokemon dos" changes the terminal background to Gyarados.
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
|
||||||
|
@ -185,7 +190,7 @@ def single_argument_handler(arg):
|
||||||
print_extra(db)
|
print_extra(db)
|
||||||
elif arg == "regions":
|
elif arg == "regions":
|
||||||
print_list(db.get_regions())
|
print_list(db.get_regions())
|
||||||
elif arg == "help":
|
elif arg == "help" or arg.startswith("-h"):
|
||||||
print_usage()
|
print_usage()
|
||||||
elif arg == "kanto":
|
elif arg == "kanto":
|
||||||
print_columns(db.get_kanto())
|
print_columns(db.get_kanto())
|
||||||
|
@ -197,7 +202,7 @@ def single_argument_handler(arg):
|
||||||
print_columns(db.get_sinnoh())
|
print_columns(db.get_sinnoh())
|
||||||
elif arg == "all":
|
elif arg == "all":
|
||||||
print_columns(db.get_all())
|
print_columns(db.get_all())
|
||||||
elif arg == "clear":
|
elif arg == "clear" or arg == "disable" or arg == "off":
|
||||||
scripter.clear_terminal()
|
scripter.clear_terminal()
|
||||||
elif arg == "random" and escape_code:
|
elif arg == "random" and escape_code:
|
||||||
change_wallpaper(db, db.get_random().get_name())
|
change_wallpaper(db, db.get_random().get_name())
|
||||||
|
|
Loading…
Reference in a new issue