# prb context command reference

Manage organization context. This page documents **3 commands** under `prb context`.

Flags and examples below come from the command definitions. A **Required** flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.

Every command also inherits the [global flags](/docs/developers/cli/commands#global-flags). Run `prb <command> --help` to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the [complete CLI command reference](/docs/developers/cli/commands) to browse another command.

## Commands

| Command                                     | Description                  | Usage                   | Source                                                                                                  |
| ------------------------------------------- | ---------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------- |
| [`prb context`](#prb-context)               | Manage organization context. | `prb context <command>` | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/context/context.go#L31)       |
| [`prb context get`](#prb-context-get)       | Get organization context.    | `prb context get`       | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/context/get/get.go#L71)       |
| [`prb context update`](#prb-context-update) | Update organization context. | `prb context update`    | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/context/update/update.go#L70) |

## prb context

Manage organization context.

### Usage

```text
prb context <command>
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/context/context.go#L31).

## prb context get

Get organization context.

### Usage

```text
prb context get
```

Accepts no positional arguments.

### Flags

| Flag             | Type    | Default | Required | Description                          |
| ---------------- | ------- | ------- | -------- | ------------------------------------ |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)  |
| `--org`          | string  | `""`    | —        | Organization ID                      |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default) |

### Examples

```bash
prb context get --org <org-id>
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/context/get/get.go#L71).

## prb context update

Update organization context.

### Usage

```text
prb context update
```

Accepts no positional arguments.

### Flags

| Flag             | Type   | Default | Required | Description                         |
| ---------------- | ------ | ------- | -------- | ----------------------------------- |
| `--architecture` | string | `""`    | —        | Architecture description (markdown) |
| `--customers`    | string | `""`    | —        | Customers description (markdown)    |
| `--org`          | string | `""`    | —        | Organization ID                     |
| `--processes`    | string | `""`    | —        | Processes description (markdown)    |
| `--product`      | string | `""`    | —        | Product description (markdown)      |
| `--team`         | string | `""`    | —        | Team description (markdown)         |

### Examples

```bash
prb context update --org <org-id> --product "We build compliance software"
prb context update --org <org-id> --architecture "Monolith deployed on AWS ECS"
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/context/update/update.go#L70).
