Attachment

The gpp attachment command group provides attachment operations for programs and observations.

Quick Example

List attachments for a program:

gpp attachment list --program-id p-123

List attachments for an observation:

gpp attachment list --observation-id o-123

Selecting Attachments

The list command requires exactly one selector.

Supported selectors:

  • --observation-id

  • --observation-reference

  • --program-id

  • --program-reference

  • --proposal-reference

Warning

Provide exactly one selector. Passing none or more than one will result in an error.

Examples

By observation reference:

gpp attachment list --observation-reference GN-2026A-Q-1-1

By program reference:

gpp attachment list --program-reference GN-2026A-Q-1

By proposal reference:

gpp attachment list --proposal-reference GN-2026A-Q-1

Reference

gpp attachment

 gpp attachment Usage: gpp attachment [OPTIONS] COMMAND [ARGS]... Attachment operations. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Commands ───────────────────────────────────────────────────────────────────╮ listList attachments using exactly one selector.                           ╰──────────────────────────────────────────────────────────────────────────────╯

gpp attachment list

 gpp attachment list Usage: gpp attachment list [OPTIONS] List attachments using exactly one selector. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --observation-idTEXTList attachments by observation ID. --observation-referenceTEXTList attachments by observation         reference.                              --program-idTEXTList attachments by program ID. --program-referenceTEXTList attachments by program reference. --proposal-referenceTEXTList attachments by proposal reference. --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

See also: Attachment