Done Bear Docs

Command Reference

Reference the supported Done Bear CLI command groups, global flags, and common workflows.

This reference lists the public CLI command groups and the flags you can rely on today. Use it when you already know what you want to do and need the exact command shape.

Global flags

These flags work at the root level:

FlagPurpose
--jsonOutput machine-readable JSON
--formatChoose text, json, csv, or tsv
--copyCopy the result to the clipboard
--totalPrint only the count
--tokenOverride auth for one command
--api-urlOverride the API base URL
--debugEnable debug logging
--no-colorDisable ANSI colors

Workspace targeting

The CLI supports both explicit workspace flags and the workspace prefix shortcut:

donebear task list --workspace personal --json
donebear workspace=personal task list --json

Authentication commands

CommandPurposeNotes
donebear auth loginStart OAuth login in the browserSupports --port, --timeout, --no-open
donebear auth statusShow the current auth stateUse --json for scripts
donebear auth logoutClear the stored sessionDoes not revoke API keys
donebear whoamiShow the current userAlias: donebear me

Workspace commands

CommandPurposeKey options
donebear workspace listList available workspacesnone
donebear workspace currentShow the current default workspacenone
donebear workspace useSet the default workspaceworkspace id, slug, or exact name
donebear workspace clearClear the default workspacenone
donebear workspace createCreate a workspace--slug, --logo-url, --no-use
donebear workspace joinJoin with an invite code--no-use
donebear workspace members [workspace]List members--format, --total
donebear workspace invitations [workspace]List pending invitationsnone
donebear workspace invite [workspace]Create an invitation--email, --role with member or admin

Task commands

CommandPurposeKey options
donebear task listList tasks--workspace, --state, --limit, --search
donebear task showShow task details--workspace
donebear task readPrint task notes only--workspace
donebear task addCreate a task--when, --notes, --deadline, --project, --team, --workspace
donebear task editUpdate task fields--title, --notes, --clear-notes, --when, --deadline, --clear-deadline, --project, --clear-project, --team, --clear-team, --workspace
donebear task doneComplete a task--workspace
donebear task reopenReopen a task--workspace
donebear task archiveArchive a task--workspace
donebear task unarchiveRestore an archived task--workspace
donebear task appendAppend notes--workspace
donebear task prependPrepend notes--workspace
donebear task randomShow a random task--workspace, --state

Task IDs accept a full UUID or a unique prefix of at least four characters.

Checklist commands

donebear task checklist manages checklist items for one task.

CommandPurpose
donebear task checklistList checklist items
donebear task checklist addAdd a checklist item
donebear task checklist doneComplete a checklist item
donebear task checklist reopenReopen a checklist item
donebear task checklist editRename a checklist item
donebear task checklist removeRemove a checklist item

Project, label, and team commands

Command groupPurpose
donebear projectList, show, create, edit, complete, archive, and restore projects
donebear labelList and show labels
donebear teamList and show teams

Example:

donebear project add "Q2 Launch" --target-date 2026-06-30
donebear label list --json
donebear team show ENG --json

Search, today, history, and context

CommandPurpose
donebear todayList open tasks in the Today bucket
donebear searchSearch task titles and notes
donebear historyShow recent workspace audit history
donebear contextOutput a workspace snapshot in JSON or Markdown
donebear specOutput machine-readable command documentation

Import and API-key commands

CommandPurpose
donebear import thingsImport a Things 3 SQLite export
donebear api-key createCreate an API key
donebear api-key listList API keys
donebear api-key revokeRevoke an API key

Examples

donebear task list --state done --limit 50 --json
donebear search "launch" --format csv
donebear context --markdown
donebear spec task add
donebear import things --dry-run --json

Next steps

On this page