Created
July 20, 2020 22:03
-
-
Save HopperMCS/64fd0db96d663e4f80d55d28086b464c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def start | |
API.api_public_key | |
puts "Welcome to the News CLI!" | |
menu | |
@input = "query" | |
while @input != "exit" && @input != "quit" && @input != "q" | |
Article.clear | |
article_search | |
article_navigator | |
end | |
puts "Thank you for using the News CLI!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment