Help: test-attachments-to-json

The "test-attachments-to-json" command:

Usage: fossil test-attachments-to-json TARGET_ID...

Options:

--old
List all versions of attachments. Default is to list only the latest.
--full
Require a full target ID, not a prefix.

Emits a JSON array of attachments for the given attachment targets. The given IDs must be wiki page names, ticket hashes, tech-note hashes, or forum post hashes. By default it accepts hash prefixes but does no detection of ambiguity or cross-type prefix collisions so may emit curious results if given short, colliding IDs.