CLI commands and flags

--metadata

Applies key-value metadata tags to an environment-based session for matching orchestrator hook labels.

Syntax

--metadata <key=value>

Example

Terminal
claude -p "Run the build" --environment ccpool_abc123 --metadata size=large

Type to search the reference, templates and lessons.