Skip to content

yulia-kh/books-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Books-cli

Command line interface app that consumes Google Books Api and displays list of 5 books according to a query. You can choose what book to save in your reading list. If you don't want to save anything enter 0.

Getting started

You need Node.js installed on your computer.

  • Clone the repository and cd to the folder
  • Run npm install -g books-cli
  • Run npm link to allow runnig the books command (You might need to run it as a super user - sudo npm link)
  • Obtain API Key from Google Books Api
  • Create .env file in the root directory and set API_KEY=yourApiKey

Available commands

books help - list available commands

books version - check app version

books search <your query> - return list of five books that contain the query string

books list - show reading list

Uninstal app

Run sudo npm uninstall to uninstall the app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published