/ruby-google-cli

Search Google from the command line.

Primary LanguageRuby

// Ruby-Google-cli

Contributors = Cranium1: github.com/Cranium1 // Samj: github.com/Samueljoli

Description

Make Google search queries from the command line.

Installation

Obtain Google search API keys. Edit config/keys.json

Instructions

Enter search query into command line. Using the up and down arrow keys, search through the first 10 search results. Press Enter to be redirected to the link associated with search result. Escape will exit the program.

Search Options:

  1. Run the app using an argument = Skip user prompt and print search results to the screen
  2. -W flag 'search query' = Open google window with search results
  3. -l flag 'search query' = execute Google Feeling lucky feature