books-db

Crates.iobooks-db
lib.rsbooks-db
version0.1.0
sourcesrc
created_at2023-06-11 20:58:30.226614
updated_at2023-06-11 20:58:30.226614
descriptionSimple command line application for maintaining a collection of books
homepage
repositoryhttps://github.com/jacderida/books-db
max_upload_size
id887569
size133,352
Chris O'Neil (jacderida)

documentation

README

books-db

This is a simple command line application for maintaining a collection of books. It uses ISBNdb as a data source and SQLite for storage.

Setup

Obtain an API key from ISBNdb and set this using the ISBNDB_KEY environment variable.

Edit-based commands will use an external editor. Use the standard EDITOR or VISUAL environment variables to specify which editor to use.

Use the init command to create the database. On Linux, the file will be created at ~/.local/share/books-db/books.db.

Working with Books

Get the ISBN Record

Use the get command with the ISBN to display the ISBNdb record for the book:

books get 9780517597675

This will print the record without saving it as a book in your local database.

Add a Book to the Database

Use the add command with the ISBN to save a book to your database:

books add 9780517597675

Before the book is saved, you'll get an opportunity to edit any details.

License

This repository is licensed under the MIT license.

See the LICENSE file for more details.

Commit count: 13

cargo fmt