Skip to content

Instantly share code, notes, and snippets.

@HopperMCS
Created July 20, 2020 22:03
Show Gist options
  • Save HopperMCS/64fd0db96d663e4f80d55d28086b464c to your computer and use it in GitHub Desktop.
Save HopperMCS/64fd0db96d663e4f80d55d28086b464c to your computer and use it in GitHub Desktop.
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