Skip to content

cub commandrun get

cub commandrun get

Get a command run and its outcome

Synopsis

Get a command run: its request and, once the client has answered, its outcome. With --wait, hold until it reaches a terminal status.

Examples:

  cub commandrun get 3f1c6b2e-8d4a-4f7e-9a21-5c0d7e4b9ab2 --wait
cub commandrun get <id> [flags]

Options

  -h, --help             help for get
  -o, --output string    Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
      --quiet            No default output.
      --select string    Comma-separated list of fields to retrieve and display. Entity IDs and Slug are always included. Example: "DisplayName,CreatedAt,Labels"
      --timeout string   how long to wait, as a duration such as 30s or 2m (default "10m0s")
      --verbose          Detailed output, additive with default output
      --wait             wait for the run to reach a terminal status

Options inherited from parent commands

      --component string   the Component of --variant, when that names the variant alone; --variant <component>/<variant> says the same in one flag
      --context string     The context to use for this command
      --debug              Debug output
      --space string       space to operate in, by slug or UUID. Omitted, a list or bulk operation spans the organization and a single entity is named as <space>/<slug>; "*" means the same as omitting it
      --variant string     variant to operate in, as <component>/<variant>, or as <variant> with --component: the space naming that Component whose Variant label is <variant>. The same scope as --space, named by what it is rather than by the space's slug; the two cannot be combined

SEE ALSO