123bri publish --path ./note.md bri publish --stdin --title 'Generated note' bri slug --path ./note.md
bri slug is a local preview. It does not contact Bri or reserve a slug. bri publish requires a key with write permission unless you are using a signed-in web session through the dashboard.12345bri notes list bri notes read <username> <slug> bri notes update <note-id> --path ./replacement.md bri notes delete <note-id> bri notes delete <note-id> --permanent
--permanent removes the note immediately and should be treated as irreversible.123bri notes history <note-id> bri notes version <note-id> <version-id> bri notes restore-version <note-id> <version-id>
--json when a script needs stable structured output.1bri notes ask <username> <slug> --question 'What is the launch date?'
--stdin for a question generated by another process. The endpoint is rate-limited, and it returns an error when AI is not configured or the note cannot be read.1234bri links list bri links create --key docs --target https://bri.fyi/docs --label 'Bri docs' bri links update <link-id> --target https://example.com/new-target bri links delete <link-id>
1234bri config list bri config set siteUrl https://bri.fyi bri doctor bri self-update --check-only
~/.config/bri/config.json. Supported values include apiKey, endpoint, siteUrl, username, timeoutMs, maxBytes, retries, copy, open, and color.1BRI_API_KEY='bri_your-key-here' bri notes list --json