Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 1.84 KB

README.md

File metadata and controls

58 lines (47 loc) · 1.84 KB

Books CLI

Books CLI is a command-line application built in Go that allows users to search for books by author names using the Open Library API. This tool is ideal for quick searches to find books from specific authors directly from your terminal.

Features

  • Search by Author: Enter an author's name to fetch a list of books written by them.
  • Simple CLI: Easy-to-use command line interface.
  • Immediate Results: Quickly obtain a list of books without the need for a GUI.

Prerequisites

Before you begin, ensure you have the Go programming language installed on your system. You can download it from here.

Installation

Clone the repository to your local machine:

git clone https://github.com/yourusername/books-cli.git](https://github.com/BekBrace/Chainguard-Go-App.git
cd Chainguard-Go-App

Build the application:

go build

Usage To search for books by a specific author, run the following command in your terminal:

./go_books_cli search "Author Name"

Replace "Author Name" with the name of the author whose books you want to search.

Examples

Here's how you can search for books by J.K. Rowling:

./go_books_cli search "J.K. Rowling"

Output:

 - Harry Potter and the Sorcerer's Stone
 - Harry Potter and the Chamber of Secrets
 - ...

Contributing Contributions are what make the open-source community such a fantastic place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Fork the Project Create your Feature Branch (git checkout -b feature/AmazingFeature) Commit your Changes (git commit -m 'Add some AmazingFeature') Push to the Branch (git push origin feature/AmazingFeature) Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Twitter - @bekbrace

Happy coding!