Skip to content

cameron-yee/book-list

Repository files navigation

book-list

Command line tool for CRUDing book JSON data.

Usage

Clone the repo.

git clone https://github.com/cameron-yee/book-list.git

Set up GitHub user.

touch .env

Add NAME, GITHUB_USER, GITHUB_PASSWORD, and EMAIL environment variables to .env.

Delete and create new files called books.json, users.json, and reading-lists.json to start with new data. The files need an empty array to be valid JSON.

rm books.json && echo "[]" >>  books.json
rm users.json && echo "[]" >> users.json
rm reading-lists.json && echo "[]" >> reading-lists.json

Build the package.

go build

Add a symlink for the executable.

sudo ln -s <PATH-TO-CLONE>/book-list /usr/local/bin/booklist

Run commands.

booklist help

About

Command line tool for CRUDing book JSON data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages