A command line interface for Botastic.
go install github.com/pandodao/botastic-cli@latest
export BOTASTIC_APP_ID=YOUR_APP_ID
export BOTASTIC_SECRET=YOUR_APP_SECRET
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
botastic-cli index --act create --file ./indexes.json
botastic-cli index --act query --query "hello world"