Generated Go CLI for the Mosoo Public Thread API.
make buildThis clones or updates the Mosoo repository under .cache/mosoo, exports the
Public Thread API OpenAPI document, runs Lathe code generation, and builds
bin/mosoo.
make installBy default, installation uses go env GOBIN, or $(go env GOPATH)/bin when
GOBIN is empty. Override the destination with BINDIR:
make install BINDIR="$HOME/.bin"Create an access token from the local Mosoo web app:
http://localhost:5173/settings/access-tokens
Then log in against the local API:
mosoo auth login --hostname http://127.0.0.1:8787/api/v1Paste the generated access token when prompted.
mosoo search threads --json
mosoo commands --json
mosoo commands show public-thread-api threads create --jsonUse commands show before executing an unfamiliar generated command so flags,
body shape, auth, and output format are explicit.