https://github.com/stchris/books
command-line book inventory management
https://github.com/stchris/books
book go golang html inventory management web
Last synced: 11 months ago
JSON representation
command-line book inventory management
- Host: GitHub
- URL: https://github.com/stchris/books
- Owner: stchris
- License: mit
- Created: 2014-09-03T08:38:33.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-10-16T08:35:02.000Z (over 8 years ago)
- Last Synced: 2024-12-01T12:44:02.361Z (over 1 year ago)
- Topics: book, go, golang, html, inventory, management, web
- Language: Go
- Size: 298 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
books
=====
command-line book inventory management
**WARNING**: this software is in development. Don't use it unless you know what you're doing. Which is also why I don't write installation instructions, yet.
[](https://travis-ci.org/stchris/books)
Database
--------
When adding your first entry, a Sqlite database will be created in *~/.books/books.db*
Example usage
-------------
$ books add
Author: Frank Herbert
Title: Dune
Comments:
$ books add
Author: Stephen King
Title: The Stand
Comments:
$ books ls
{#1: 'Dune' by 'Frank Herbert', comments: }
{#2: 'The Stand' by 'Stephen King', comments: }
$ books ls sta
{#2: 'The Stand' by 'Stephen King', comments: }
$ books ls herb
{#1: 'Dune' by 'Frank Herbert', comments: }
$ books help
USAGE: books COMMAND argument1 argument2 ...
Available commands:
ls - list books, pass search terms as arguments
add - add books
del - delete book (prompts for id)
web - starts the built-in web server on port 8765
help - display this text
$ books web
2015/05/02 13:32:49 Web server listening at http://127.0.0.1:8765
2015/05/02 13:32:49 Press ^C to stop