Target

The gpp target command group provides access to target operations.

Quick Example

Get a target:

gpp target get --target-id t-123

List targets:

gpp target list --limit 10

Selecting Targets

The get command requires exactly one selector:

  • --target-id

Warning

Provide exactly one selector.

Reference

gpp target

 gpp target Usage: gpp target [OPTIONS] COMMAND [ARGS]... Target operations. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Commands ───────────────────────────────────────────────────────────────────╮ get Get a target using exactly one selector.                               listList targets.                                                          ╰──────────────────────────────────────────────────────────────────────────────╯

gpp target get

 gpp target get Usage: gpp target get [OPTIONS] Get a target using exactly one selector. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --target-idTEXTGet a target by ID. --include-deletedInclude deleted program data in the result. --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

gpp target list

 gpp target list Usage: gpp target list [OPTIONS] List targets. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --include-deletedInclude deleted targets. --offsetTEXT                Pagination offset. --limitINTEGER RANGE [x>=1]Maximum number of targets to  return.                       --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

See also: Target