# prb org command reference

Manage organizations. This page documents **2 commands** under `prb org`.

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 org`](#prb-org)           | Manage organizations.                  | `prb org <command>` | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/org/org.go#L30)       |
| [`prb org list`](#prb-org-list) | List organizations you have access to. | `prb org list`      | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/org/list/list.go#L83) |

## prb org

Manage organizations.

### Usage

```text
prb org <command>
```

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

## prb org list

List organizations you have access to.

### Usage

```text
prb org list
```

Accepts no positional arguments.

### Flags

| Flag             | Type    | Default | Required | Description                                          |
| ---------------- | ------- | ------- | -------- | ---------------------------------------------------- |
| `--after`        | string  | `""`    | —        | Cursor from the previous page (the Next cursor line) |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)                  |
| `--limit`, `-L`  | integer | `30`    | —        | Maximum number of organizations to list              |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default)                 |

### Examples

```bash
# List all organizations
prb org list

# Output as JSON
prb org ls --output json
```

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