Skip to content

cub inbox list

cub inbox list

List the reviews that wait for you

Synopsis

List the reviews that wait for you, longest wait first.

A review waits for you when a ChangeOrder or a ChangeSet needs your approval or rejection: a gate names you, or someone asked you to review it. The list is your own; it holds at most 200 items. Run it at the start of a task, then open an item with the command shown for it.

Each row has the reason, the subject as SPACE/slug, the detail (the stage, how many Spaces wait, who asked) and the wait. With CONFIGHUB_AGENT set, each row is followed by the command that opens its subject.

If the server could not check some subjects, the list may miss them: a line on stderr says how many, and the exit code is 0. When the server says the list may be incomplete, because more reviews wait than it holds or there were more subjects to check than one read takes, the last line says so: "Showing the 200 longest waits." when the list holds 200 items, and "Not every review could be checked." when it holds fewer.

Examples:

  # See what waits for you
  cub inbox list

  # Read the subjects as names
  cub inbox list -o jq='.Items[] | .SubjectSpaceSlug + "/" + .SubjectSlug'
cub inbox list [flags]

Options

  -h, --help            help for list
      --no-headers      Don't print headers for table output
  -o, --output string   Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
      --quiet           No default output.
      --verbose         Detailed output, additive with default output

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO