Drawing |
---|
QUOTE:POST
– Posts a random quote.QUOTE:GET
– Gets a random quote.QUOTE:LIST
– Lists all quotes.QUOTE:ADD <quote>
– Adds a new quote.QUOTE:REMOVE <quote>
– Removes a quote.QUOTE:UPDATE <quote>
– Updates a quote.
- Clone the repository
- Create a
.env
file in the root directory and add the following:
touch .env
echo "BLUESKY_HANDLE=<your_handle>" >> .env
echo "BLUESKY_PASSWORD=<your_password>" >> .env
- Install the dependencies
go mod download
Build the project
mkdir -p tmp
go build -o ./tmp/quotesky ./...
Run the CLI
./tmp/quotesky --help