Workflow State

The gpp wfs command group manages observation workflow state transitions.

Use it to view and change the workflow state of observations in the GPP database.

gpp wfs

 gpp wfs Usage: gpp wfs [OPTIONS] COMMAND [ARGS]... Manage observation workflow states. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Commands ───────────────────────────────────────────────────────────────────╮ get   Get a workflow state for an observation by ID or reference.          updateUpdate the workflow state for an observation by ID.                  ╰──────────────────────────────────────────────────────────────────────────────╯

gpp wfs get

 gpp wfs get Usage: gpp wfs get [OPTIONS] Get a workflow state for an observation by ID or reference. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --observation-idTEXTObservation ID. --observation-referenceTEXTObservation reference label. --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

gpp wfs update

 gpp wfs update Usage: gpp wfs update [OPTIONS] Update the workflow state for an observation by ID. ╭─ Options ────────────────────────────────────────────────────────────────────╮ *--workflow-state[inactive|undefined|unaThe new workflow state   pproved|defined|ready|oto set.                  ngoing|completed][required]               *--observation-idTEXT                   Observation ID. [required]      --helpShow this message and    exit.                    ╰──────────────────────────────────────────────────────────────────────────────╯