CLI
Neither CLI
Push local docs, watch folders, and verify workspace identity from your terminal. API keys stay in environment variables — never commit sk_ctx_* tokens.
Install & verify
Run from any repo with npx — or install via Homebrew for a global neither binary.
npx -y neither@latest whoami --jsonbrew install WorkspaceAI/WorkspaceAI/neitherneither init
Write .neither/config.json scaffold in the current directory.
npx -y neither@latest initExit codes: 0 success
neither push
Push markdown/text to close a decision or seed ADR files via POST /api/ingest/batch.
npx -y neither@latest push ./docsExit codes: 0 ok, 1 validation error
neither watch
Poll a folder and push when pushable files change.
npx -y neither@latest watch ./docs --poll 2000Exit codes: 0 until SIGINT
neither whoami
Print workspace identity for the configured API key (exit 2 when offline).
npx -y neither@latest whoami --jsonExit codes: 0 online, 2 offline