diff options
author | jmaslek <jmaslek11@gmail.com> | 2021-09-09 19:10:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 00:10:50 +0100 |
commit | 42f5b72ddf7694d8f868f31b50d79755eb5c1703 (patch) | |
tree | 1428f35ec85cd50a7c1e578d079e873a7fa24b04 | |
parent | d9de433e3ab7776b6d178ce5343d17d2bcf4fd5c (diff) |
Simple resources menu refactor (#738)
-rw-r--r-- | gamestonk_terminal/resources/resources_controller.py | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/gamestonk_terminal/resources/resources_controller.py b/gamestonk_terminal/resources/resources_controller.py index df15dc80585..719335d459e 100644 --- a/gamestonk_terminal/resources/resources_controller.py +++ b/gamestonk_terminal/resources/resources_controller.py @@ -46,25 +46,23 @@ class ResourceCollectionController: @staticmethod def print_help(): """Print help""" - print( - "https://github.com/GamestonkTerminal/GamestonkTerminal/tree/main/gamestonk_terminal/resources" - ) - print("") - print(">> RESOURCES <<") - print("") - print("What do you want to do?") - print(" cls clear screen") - print(" ?/help show this menu again") - print(" q quit this menu, and shows back to main menu") - print(" quit quit to abandon program") - print("") - print(" hfletters hedge fund letters or reports") - print(" arxiv open-access archive for academic articles") - print(" finra self-regulatory organization") - print(" edgar online public database from SEC") - print(" fred economic research data") - print(" learn trading analysis, tips and resources") - print("") + help_str = """https://github.com/GamestonkTerminal/GamestonkTerminal/tree/main/gamestonk_terminal/resources" + +>> RESOURCES << +What do you want to do? + cls clear screen + ?/help show this menu again + q quit this menu, and shows back to main menu + quit quit to abandon program + + hfletters hedge fund letters or reports + arxiv open-access archive for academic articles + finra self-regulatory organization + edgar online public database from SEC + fred economic research data + learn trading analysis, tips and resources + """ + print(help_str) def switch(self, an_input: str): """Process and dispatch input |