Content attachments

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

Commands

attach-file <REPO> --upload <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 detach-file teams/acme/webapp --pull 17 --review 550e8400-... --upload a1b2c3d4-...