# README
botastic-cli
A command line interface for Botastic.
Installation
go install github.com/pandodao/botastic-cli@latest
Set Environment Variables
export BOTASTIC_APP_ID=YOUR_APP_ID
export BOTASTIC_SECRET=YOUR_APP_SECRET
Usage
Build indexes from Markdown files
botastic-cli scan --dir ./docs --type md --mode paragraph
in which,
--dir
is the directory of your markdown files--type
is the type of your markdown files, currently onlymd
is supported--mode
is the mode of building indexes, currently supportsparagraph
andline
Create indexes
botastic-cli index --act create --file ./indexes.json
Query
botastic-cli index --act query --query "hello world"
# Packages
No description provided by the author