Skip to content

API Reference parrot.sdd.scripts.worktree_root

github-actions[bot] edited this page Nov 10, 2026 · 2 revisions

parrot.sdd.scripts.worktree_root

View source

Print the resolved SDD worktree root for a primary checkout (FEAT-802).

Read-only: never creates directories, never changes the working directory, never loads parrot.conf. Shell workflows capture its stdout: WORKTREES_DIR=$(parrot sdd worktree root --root "$MAIN_ROOT") || exit $?.

Function main

Print worktree_root(--root) and exit 0; argparse usage errors exit 2.

main(argv: Sequence[str] | None = None) -> int

Parameter Type Default Description
argv Sequence[str] | None None

Returns: int

Alias worktree_root

Re-exported from parrot.sdd.config.worktree_root.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally