{% extends "docs/base.html" %} {% block docs_content %}

Content attachments

Attach existing repo uploads to threads, replies, pulls, and pull reviews.

Commands

attach-file <REPO> --upload <UUID> TARGET
attach-file-upload-group <REPO> --group <UUID> TARGET
detach-file <REPO> --upload <UUID> TARGET

The upload must already exist in the target repo.

Target selectors

TargetSelectors
Thread--thread <NUMBER>
Reply--thread <NUMBER> --reply <NUMBER>
Pull--pull <NUMBER>
Pull review--pull <NUMBER> --review <UUID>

Exactly one target shape is required.

Examples

pearing-cli attach-file teams/acme/webapp --thread 42 --upload a1b2c3d4-...
pearing-cli attach-file teams/acme/webapp --thread 42 --reply 7 --upload a1b2c3d4-...
pearing-cli attach-file teams/acme/webapp --pull 17 --upload a1b2c3d4-...
pearing-cli attach-file-upload-group teams/acme/webapp --pull 17 --group b752d9fb-...
pearing-cli detach-file teams/acme/webapp --pull 17 --review 550e8400-... --upload a1b2c3d4-...

Group attachment resolves active members once and creates every per-file attachment atomically.

{% endblock %}