Command line tool for CRUDing book JSON data.
Clone the repo.
git clone https://github.com/cameron-yee/book-list.gitSet up GitHub user.
touch .envAdd 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.jsonBuild the package.
go buildAdd a symlink for the executable.
sudo ln -s <PATH-TO-CLONE>/book-list /usr/local/bin/booklistRun commands.
booklist help