Skip to main content

Context & Export

BlocPad CLI always acts within an explicit scope.

View active context

Output includes the project ID, active task, and PM mode (tasks or traditional) when a project is set.

Set active project

Sets the active project and clears the active task.

Set active task

You can also pass a task number (when your backend includes task_number):

Export combined context

Common options:
  • --no-include-comments
  • --no-include-pages
  • --include-page-content
  • --max-pages <n> (default: 25)
  • --include-linked-tasks
  • --max-linked-depth <n> (default: 5)
  • --max-linked-nodes <n> (default: 500)

Task shortcut

blocpad task <taskNumberOrId> is shorthand for blocpad context export with sensible defaults.